summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TIP#136 IMPLEMENTATION. We now have an [lrepeat] command!dkf2003-08-117-9/+226
|
* * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus.hobbs2003-08-062-3/+14
|
* * library/msgcat/msgcat.tcl: Added escape so that non-Windowsdgp2003-08-063-5/+19
| | | | | | * library/msgcat/pkgIndex.tcl: platforms do not try to use the registry package. This can save a costly and pointless package search. Bumped to 1.3.1. Thanks to "imdave1". [Bug 781609].
* * generic/tclexecute.c (INST_INVOKE, INST_EVAL, INST_PUSH_RESULT):Miguel Sofer2003-08-052-4/+39
| | | | | | | | added a Tcl_ResetResult(interp) at each point where the interp's result is pushed onto the stack, to avoid keeping an extra reference that may cause costly Tcl_Obj duplication [Bug 781585] Detected by Franco Violi, analyzed by Peter Spjuth and Donal Fellows.
* documentation fix, bug 775220vincentdarley2003-07-283-6/+26
|
* * generic/tcl.h: Revert change made on 2003-07-21mdejong2003-07-244-26/+128
| | | | | | | | | | | | | | | since it made the sizeof(Tcl_Obj) different for regular vs mem debug builds. * generic/tclInt.h: Define TclDecrRefCount in terms of Tcl_DbDecrRefCount which removes one layer of inderection. * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount, Tcl_DbDecrRefCount, Tcl_DbIsShared): Define ThreadSpecificData that contains a hashtable. The table is used to ensure that a Tcl_Obj is only acted upon in the thread that allocated it. This checking code is enabled only when mem debug and threads are enabled.
* * tests/async.test: Added several tests that demonstrate Tcldgp2003-07-248-12/+159
| | | | | | | | | | * tests/basic.test: Bug 489537, Tcl's longstanding failure to * tests/dict.test: properly quote any leading '#' character * tests/dstring.test: when generating the string rep of a list * tests/list.test: so that the comment-power of that character * tests/parse.test: is hidden from any [eval], in order to * tests/util.test: satisfy the documentation that [list] does [eval]-safe quoting.
* * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.rmax2003-07-243-3/+14
| | | | * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
* Split off ChangeLog.2002rmax2003-07-242-4863/+4843
|
* * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-233-4/+5
| | | | * library/reg/pkgIndex.tcl:
* * unix/Makefile.in: changes to html-tcl & html-tkdas2003-07-232-5/+12
| | | | targets for compatibility with non-gnu makes.
* * unix/Makefile.in: added macosx/README to dist target.das2003-07-232-1/+6
|
* * win/tclWinReg.c (OpenSubKey): Fixed bug 775976 which causes thepatthoyts2003-07-222-2/+7
| | | | registry set command to fail when built with VC7.
* update fixes to changes from core-8-4-branchdgp2003-07-221-4/+4
|
* Check that the thread incrementing or decrementingmdejong2003-07-224-24/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the ref count of a Tcl_Obj is the thread that originally allocated the thread. This fail fast behavior will catch programming errors that allow a single Tcl_Obj to be accessed from multiple threads. * generic/tcl.h (Tcl_Obj): Add allocThread member to Tcl_Obj. This member records the thread id the Tcl_Obj was allocated. It is used to check that any future ref count incr or decr is done from the same thread that allocated the Tcl_Obj. This member is defined only when threads and mem debug are enabled. * generic/tclInt.h (TclNewObj, TclDbNewObj, TclDecrRefCount): Define TclNewObj and TclDbNewObj using TclDbInitNewObj when mem debug is enabled. This fixes a problem where TclNewObj calls did not work the same as TclDbNewObj when mem debug was enabled. * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount, Tcl_DbDecrRefCount): Add new helper to init Tcl_Obj members when mem debug is enabled. Init the allocThread member in TclDbInitNewObj and check it in Tcl_DbIncrRefCount and Tcl_DbDecrRefCount to make sure a Tcl_Obj allocated in one thread is not being acted upon in another thread.
* Updated changes with entries up through 8.4.4 release.dgp2003-07-211-1/+124
|
* test suite on afs fixvincentdarley2003-07-212-3/+18
|
* * macosx/Makefile: added option to allow installing manpagesdas2003-07-192-6/+20
| | | | in addition to default html help.
* Tightened up Tcl_Utf{Next,Prev} docs. [Bug 769895]dkf2003-07-182-5/+13
|
* * doc/tcltest.n: Restored the [Eval] proc to replacedgp2003-07-183-35/+34
| | | | | | | | | | * library/tcltest/tcltest.tcl: the [::puts] command when either the -output or -error option for [test] is in use, in order to capture data written to the output or error channels for comparison against what is expected. This is easier to document and agrees better with most user expectations than the previous attempt to replace [puts] only in the caller's namespace. Documentation made more precise on the subject. [Bug 706359]
* * library/http/pkgIndex.tcl: upped to http v2.4.4hobbs2003-07-184-6/+20
| | | | | * library/http/http.tcl: add support for user:pass info in URL. * tests/http.test: [Bug 759888] (shiobara)
* * doc/AddErrInfo.3: Improved consistency of documentationdgp2003-07-1813-39/+52
| | | | | | | | | | | | | | * doc/CrtTrace.3: by using "null" everywhere to refer to * doc/Encoding.3: the character '\0', and using "NULL" * doc/Eval.3: everywhere to refer to the value of a * doc/GetIndex.3: pointer that points to nowhere. * doc/Hash.3: Also dropped references to ASCII that * doc/LinkVar.3: are no longer true, and standardized on * doc/Macintosh.3: the hyphenated spelling of "null-terminated". * doc/OpenFileChnl.3: * doc/SetVar.3: * doc/StringObj.3: * doc/Utf.3:
* * doc/CrtSlave.3 (Tcl_MakeSafe): Removed warning about possibledgp2003-07-182-5/+9
| | | | deprecation (no TIP on that).
* * unix/tclUnixFCmd.c: fix for compilation errors on platforms wheredas2003-07-189-811/+499
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configure detects non-functional chflags(). [Bug 748946] * macosx/Makefile: Rewrote buildsystem for Mac OS X framework build to be purely make driven; in order to become independent of Apple's closed-source IDE and build tool. The changes are intended to be transparent to the Makefile user, all existing make targets and cmd line variable overrides should continue to work. Changed build to only include tcl specific html help in Tcl.framework, the tk specific html help is now included in Tk.framework. Added var to allow overriding of tclsh used during html help building (Landon Fuller). * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through to the make driven buildsystem; Tcl.framework is no longer assembled by ProjectBuilder. Set default SYMROOT in target options to simplify setting up PB (manually setting common build folder for tcl & tk no longer needed). * tools/tcltk-man2html.tcl: Added options to allow building only the tcl or tk html help files; the default behaviour with none of the new options is to build both, as before. * unix/Makefile.in: Added targets for building only the tcl or tk help. * macosx/README (new): Tcl specific excerpts of tk/macosx/README. * generic/tcl.h: Updated reminder comment about editing macosx/Tcl.pbproj/project.pbxproj when version number changes.
* 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-174-42/+59
| | | | | | | | | * generic/tclPathObj.c (SetFsPathFromAny): Add Cygwin specific code to convert POSIX filename to native format. * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here. (TclDoGlob): Adjust for cygwin and append / for dirs instead of \ * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin. [Patch 679315]
* * library/safe.tcl (FileInAccessPath): normalize paths beforehobbs2003-07-162-2/+13
| | | | comparison. [Bug 759607] (myers)
* * unix/tclUnixNotfy.c (NotifierThreadProc): correct size of foundhobbs2003-07-162-2/+6
| | | | and word vars from int to long. [Bug 767578] (hgo)
* * generic/tcl.h: add recognition of -DTCL_UTF_MAX=6 on thehobbs2003-07-163-3/+36
| | | | | * generic/regcustom.h: make line to support UCS-4 mode. No config arg at this time, as it is not the recommended build mode.
* Tcl_MakeSafe is a nasty function; document it as such. [Bug 655300]dkf2003-07-162-5/+17
|
* * generic/tclPreserve.c: In Result and Preserve'd routines, do nothobbs2003-07-164-43/+34
| | | | | * generic/tclUtil.c: assume that ckfree == free, as that is not * generic/tclResult.c: always true. [Bug 756791] (fuller)
* * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]dgp2003-07-164-6/+10
| | | | | | * generic/tclPathObj.c (Tcl_FSConvertToPathType):[Bug 771947] * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949] Silence compiler warnings about unreached lines.
* * library/tcltest/tcltest.tcl (ProcessFlags): Corrected broken calldgp2003-07-163-4/+10
| | | | | * library/tcltest/pkgIndex.tcl: to [lrange]. Bumped to version 2.2.4. [Bug 772333]
* Removed trivially-unreachable line [Bug 771939]dkf2003-07-161-2/+1
|
* * doc/http.n: Updated SYNOPSIS to match actual syntax ofdgp2003-07-162-3/+6
| | | | commands. [Bug 756112]
* * unix/dltest/pkga.c (Pkga_EqObjCmd): Fix typomdejong2003-07-162-2/+7
| | | | that was causing a crash in load.test.
* * unix/dltest/pkga.c: Updated to not use Tcl_UtfNcmp and counteddgp2003-07-152-2/+14
| | | | | strings instead of strcmp (not defined in any #include'd header) and presumed NULL-terminated strings.
* D'oh! Forgot one of the examples...dkf2003-07-151-1/+9
|
* Doc fixes related to Patch 763312dkf2003-07-152-7/+33
|
* * generic/tclCompCmds.c (TclCompileIfCmd): Prior fix of Bug 711371dgp2003-07-152-3/+11
| | | | on 2003-04-07 introduced a buffer overflow. Corrected. [Bug 771613]
* Added a missing $(OPTDEFINES) which broke the build if Kevin B Kenny2003-07-152-2/+7
| | | | STATS=memdbg was specified.
* Fixed error message to be less confusing [Bug 771539]dkf2003-07-153-4/+9
|
* missing .hobbs2003-07-141-2/+2
|
* typo fixesdgp2003-07-111-5/+5
| | | | ( my nroff is not happy with \b -- replaced with \\ )
* Documented and tested for the current behaviour of [binary format a] anddkf2003-07-113-3/+43
| | | | [binary scan ? a]. This is what they've been doing all along. [Bug 735364]
* * library/package.tcl: Corrected [pkg_mkIndex] bug reported ondgp2003-07-112-3/+13
| | | | | comp.lang.tcl. The indexer was searching for newly indexed packages instead of newly provided packages.
* winFCmd.test fixvincentdarley2003-07-082-6/+24
|
* doc/array.n: add examples from Weltonhobbs2003-07-072-3/+31
|
* file tail documentation clarificationvincentdarley2003-07-072-4/+10
|
* Tighened up wording of several expr operations to make them less inclined todkf2003-07-042-12/+16
| | | | misinterpretation. [Bug 758488]
* * tests/cmdAH.test: Made tests of [file mtime] work better on FATdkf2003-07-042-29/+79
| | | | filesystems. [Patch 760768] Also a little general cleanup.