summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBinary.c (Tcl_SetByteArrayLength): Replaced ckalloc() /dgp2007-03-191-0/+3
| | | | memcpy() sequence with ckrealloc() call.
* * generic/tclBasic.c (Tcl_CreateMathFunc): Replaced somedgp2007-03-191-0/+8
| | | | | | | * generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc() * generic/tclObj.c (UpdateStringOfBignum): with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging.
* Fixed bug in regsub example.dkf2007-03-191-20/+25
|
* * win/tclWinReg.c (GetKeyNames): Size the buffer for enumeratingKevin B Kenny2007-03-171-0/+8
| | | | | | | key names correctly, so that Unicode names exceeding 127 chars can be retrieved without crashing. [Bug 1682211] * tests/registry.test (registry-4.9): Added test case for the above bug.
* * generic/tclIOUtil.c (Tcl_Stat): Reimplement workaroundmdejong2007-03-161-0/+7
| | | | | | to avoid gcc warning by using local variables. When the macro argument is of type long long instead of long, the incorrect warning is not generated.
* * win/Makefile.in: Fully qualify LIBRARY_DIR somdejong2007-03-151-0/+5
| | | | that `make test` does not depend on working dir.
* * tests/parse.test: Add two backslash newline parse tests.mdejong2007-03-151-0/+4
|
* * generic/tclExecute.c (INST_FOREACH_STEP4): Make private copydgp2007-03-121-0/+5
| | | | | | * tests/foreach.test (foreach-10.1): of value list to be assigned to variables so that shimmering of that list doesn't lead to invalid pointers. [Bug 1671087]
* * generic/tclEvent.c (HandleBgErrors): Make efficient private copydgp2007-03-121-0/+5
| | | | | | * tests/event.test (event-5.3): of the command prefix for the interp's background error handling command to avoid panics due to pointers to memory invalid after shimmering. [Bug 1670155]
* * generic/tclNamesp.c (NsEnsembleImplementationCmd): Make efficientdgp2007-03-121-0/+6
| | | | | | | * tests/namespace.test (namespace-42.8): private copy of the command prefix as we invoke the command appropriate to a particular subcommand of a particular ensemble to avoid panic due to shimmering of the List intrep. [Bug 1670091]
* * generic/tclVar.c (TclArraySet): Make efficient private copy ofdgp2007-03-121-0/+6
| | | | | * tests/var.test (var-17.1): the "list" argument to [array set] to avoid crash due to shimmering invalidating pointers. [Bug 1669489].
* Fix [Bug 1679072]dkf2007-03-121-3/+8
|
* Fix [Bug 1675044]dkf2007-03-111-3/+9
|
* * generic/tclCmdIL (Tcl_LsortObjCmd): changed fix to [Bug 1675116]Miguel Sofer2007-03-101-0/+5
| | | | to use the cheaper TclListObjCopy() instead of Tcl_DuplicateObj()
* * library/platform/shell.tcl: Made more robust if an older platformandreas_kupries2007-03-091-0/+8
| | | | | | | * library/platform/pkgIndex.tcl: package is present in the inspected * unix/Makefile.in: shell. Package forget it to prevent errors. Bumped * win/Makefile.in: package version to 1.1.3, and updated the makefiles installing it as Tcl Module.
* Fix [Bug 1675116]dkf2007-03-091-7/+13
|
* Modified test initialisation to use theKevin B Kenny2007-03-091-2/+4
| | | | | 'loadTestedCommands' function of tcltest to bring in the correct path for the registry library.
* * library/clock.tcl (ReadZoneinfoFile): Added Y2038 compliance toKevin B Kenny2007-03-091-0/+7
| | | | | | the code for version-2 'zoneinfo' files. * tests/clock.test (clock-56.3): Added a test case for Y2038 and 'zoneinfo'.
* * generic/tclListObj.c (TclLsetList): Rewrite so that the routinedgp2007-03-081-0/+6
| | | | | itself does not do any direct intrep surgery. Better isolates those things into the implementation of the "list" Tcl_ObjType.
* Moved [lindex] guts to tclListObj.c, same as [lset] guts.dkf2007-03-081-0/+6
|
* Tidy up formattingdkf2007-03-081-11/+12
|
* * library/clock.tcl: Further tweaks to the Windows time zone tableKevin B Kenny2007-03-081-18/+28
| | | | | | | | | (restoring missing Mexican time zones). Added rudimentary handling of version-2 'zoneinfo' files. Update US DST rules so that zones such as 'EST5EDT' get the correct transition dates. * tests/clock.test: Added rudimentary test cases for 'zoneinfo' parsing. Adjusted several tests that depended on obsolete US DST transition rules.
* * macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.das2007-03-071-1/+13
| | | | | | | | | | * macosx/Tcl.xcodeproj/project.pbxproj: ensure gcc version used by * macosx/Tcl.xcodeproj/default.pbxuser: Xcode and configure/make are * macosx/Tcl-Common.xcconfig: consistent and independent of gcc_select default and CC env var; fixes for Xcode 3.0. * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.59
* * generic/tclCmdIL.c (TclLindex*): Rewrites to make efficient ↵dgp2007-03-071-0/+7
| | | | | | | | | | private copies of the list and indexlist arguments, so we can operate on the list elements directly with no fear of shimmering effects. Replaces defensive coding schemes that are otherwise required. End result is that TclLindexList is entirely a wrapper around TclLindexFlat, which is now the core engine of all [lindex] operations.
* * generic/tclObj.c (Tcl_AppendAllObjTypes): Converted to simplerdgp2007-03-071-0/+5
| | | | list validity test.
* Make [regexp -about] produce its result using Tcl_Objs instead of strings.dkf2007-03-071-5/+10
|
* New US DST rules on Windows; Olson's tzdata2007cKevin B Kenny2007-03-071-0/+11
|
* * library/platform/shell.tcl (::platform::shell::RUN): In the caseandreas_kupries2007-03-051-0/+8
| | | | | | | * library/platform/pkgIndex.tcl: of a failure put the captured stderr * unix/Makefile.in: into the error message to aid in debugging. Bumped * win/Makefile.in: package version to 1.1.2, and updated the makefiles installing it as Tcl Module.
* Split the ChangeLog to separate out the (static) 2005 entriesdkf2007-03-031-3814/+1
|
* Added macro to conceal at least some of the pointer hackery.dkf2007-03-031-6/+11
|
* * generic/tclCmdIL.c (Tcl_LreverseObjCmd): Added missingdgp2007-03-021-0/+4
| | | | | TclInvalidateStringRep() call when we directly manipulate the intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
* * generic/tclCmdIL.c (Tcl_JoinObjCmd): Revised [join] implementationdgp2007-03-021-0/+3
| | | | to append Tcl_Obj's instead of strings. [RFE 1669420]
* * generic/tclCmdIL.c (Info*Cmd): Code simplifications anddgp2007-03-021-0/+5
| | | | optimizations.
* D'uh! Forgot to save the ChangeLog...dkf2007-03-021-1/+1
|
* Added a scheme to allow aux-data to be printed out for debugging. For this ↵dkf2007-03-021-1/+16
| | | | | | to work, immediate operands referring to aux-data must be identified as such in the instruction descriptor table using OPERAND_AUX4 (all are always 4 bytes). Rewrote the compiled [dict update] so that it stores critical non-varying data in an aux-data value instead of a (shimmerable) literal. [Bug 1671001]
* * generic/tclCmdIL.c (Tcl_LinsertObjCmd): Code simplificationsdgp2007-03-011-0/+3
| | | | and optimizations.
* * generic/tclCmdIL.c (Tcl_LreplaceObjCmd): Code simplificationsdgp2007-03-011-0/+3
| | | | and optimizations.
* * generic/tclCmdIL.c (Tcl_LrangeObjCmd): Rewrite in the samedgp2007-03-011-0/+3
| | | | spirit; avoid shimmer effects rather than react to them.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Stop throwing awaydgp2007-03-011-0/+4
| | | | | * tests/foreach.test (foreach-1.14): useful error information when loop variable sets fail.
* * generic/tclCmdIL.c (Tcl_LassignObjCmd): Rewrite to make andgp2007-03-011-0/+5
| | | | | | efficient private copy of the list argument, so we can operate on the list elements directly with no fear of shimmering effects. Replaces defensive coding schemes that are otherwise required.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Rewrite to makedgp2007-03-011-0/+6
| | | | | efficient private copies of the variable and value lists, so we can operate on them without any special shimmer defense coding schemes.
* Fix [Bug 1671138]dkf2007-03-011-23/+29
|
* typodgp2007-02-281-1/+1
|
* * generic/tclIORChan.c (FreeReflectedChannel): Added the missingandreas_kupries2007-02-261-0/+6
| | | | | refcount release between NewRC and FreeRC for the channel handle object, spotted by Don Porter. This fixes the bug 1667990.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Removed surplus copyingdgp2007-02-261-0/+6
| | | | | of the objv array that used to be a workaround for Bug 404865. That bug is long fixed.
* * generic/tclBasic.c: Use new interface in Tcl_EvalObjEx so thatdgp2007-02-241-0/+13
| | | | | | | | | | | | the recounting logic of the List internal rep need not be repeated there. Better encapsulation of internal details. * generic/tclInt.h: New internal routine TclListObjCopy() used * generic/tclListObj.c: to efficiently do the equivalent of [lrange $list 0 end]. After some experience with this, might be a good candidate for exposure as a public interface. It's useful for callers of Tcl_ListObjGetElements() who want to control the ongoing validity of the returned objv pointer.
* * tests/pkg.test: Added tests for the case of an alpha packageandreas_kupries2007-02-221-0/+7
| | | | | | satisfying a require for the regular package, demonstrating a corner case specified in TIP#280. More notes in the comments to the test.
* various "const" additions, in line with TIP #27nijtmans2007-02-201-0/+10
|
* * doc/tcltest.n: Typo fix. [Bug 1663539]dgp2007-02-201-0/+4
|
* Bug #1479814. Handle extended paths on Windows NT and above.patthoyts2007-02-201-0/+7
|