diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-12-19 10:09:49 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-12-19 10:09:49 (GMT) |
commit | 21c03fc34322665a9ad0ad91173c9a14a6bcae15 (patch) | |
tree | cf562d1e3372f5ac5196ae3232fc0207b09a5ffd | |
parent | bba716a40a6dbb184d2752d0051a9fad7b35efe0 (diff) | |
download | tcl-21c03fc34322665a9ad0ad91173c9a14a6bcae15.zip tcl-21c03fc34322665a9ad0ad91173c9a14a6bcae15.tar.gz tcl-21c03fc34322665a9ad0ad91173c9a14a6bcae15.tar.bz2 |
Clarify specification of variable substitution
-rw-r--r-- | ChangeLog | 767 | ||||
-rw-r--r-- | doc/Tcl.n | 5 |
2 files changed, 389 insertions, 383 deletions
@@ -1,11 +1,16 @@ +2005-12-19 Donal K. Fellows <donal.k.fellows@man.ac.uk> + + * doc/Tcl.n: Clarify what is going on in variable substitution + following thread on comp.lang.tcl. + 2005-12-14 Daniel Steffen <das@users.sourceforge.net> - * generic/tclIOUtil.c: workaround gcc warning "comparison is always + * generic/tclIOUtil.c: workaround gcc warning "comparison is always * generic/tclTest.c: false due to limited range of data type". - - * unix/configure.in: run check for fts API on all platforms, since Linux - glibc2 and *BSDs also have this and using fts is more efficient than - recursive opendir/readdir (sync with HEAD). + + * unix/configure.in: run check for fts API on all platforms, since + Linux glibc2 and *BSDs also have this and using fts is more efficient + than recursive opendir/readdir (sync with HEAD). * unix/configure: regen. 2005-12-12 Jeff Hobbs <jeffh@ActiveState.com> @@ -34,7 +39,7 @@ 2005-12-05 Don Porter <dgp@users.sourceforge.net> - * unix/configure.in: Revised fix for [Bug 1034337] from Daniel + * unix/configure.in: Revised fix for [Bug 1034337] from Daniel * unix/tclUnixFCmd.c: Steffen. Uses fts_*() routines. * unix/configure: autoconf-2.13 * changes: Update changes for 8.4.12 release @@ -163,14 +168,14 @@ * tests/trace.test (trace-34.5): [Bug 1047286], added a second test illustrating the role of "ns in callStack" in the ns's - visibility during deletion traces. + visibility during deletion traces. * generic/tclBasic.c (Tcl_DeleteCommandFromToken): * generic/tclCmdMZ.c (TraceCommandProc): * generic/tclInt.h (NS_KILLED): * generic/tclNamesp.c (Tcl_DeleteNamespace * tests/namespace.test (namespace-7.3-6): - * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342]. + * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342]. 2005-11-18 Jeff Hobbs <jeffh@ActiveState.com> @@ -208,7 +213,7 @@ * win/configure.in: * unix/configure: autoconf-2.13 - * win/configure: + * win/configure: 2005-11-15 Don Porter <dgp@users.sourceforge.net> @@ -229,7 +234,7 @@ * generic/tclTimer.c: Changed [after] so that it behaves correctly * tests/timer.test: with negative arguments [Bug 1350293]. - + 2005-11-08 Jeff Hobbs <jeffh@ActiveState.com> * unix/tclUnixFCmd.c (MAX_READDIR_UNLINK_THRESHOLD): reduce to 130 @@ -261,18 +266,18 @@ 2005-11-07 Miguel Sofer <msofer@users.sf.net> * tests/trace.test (trace-13.2-4): added tests to detect leak, see [Bug - 1348775]. + 1348775]. 2005-11-04 Don Porter <dgp@users.sourceforge.net> * unix/tcl.m4: Added code to enable [load] on LynxOS. Thanks to - heidibr@users.sf.net for the patch. [Bug 1163896]. + heidibr@users.sf.net for the patch. [Bug 1163896]. * unix/configure: autoconf-2.13. 2005-11-04 Pat Thoyts <patthoyts@users.sourceforge.net> - * win/tclWinPipe.c: Applied patch #1267871 by Matt Newman which + * win/tclWinPipe.c: Applied patch #1267871 by Matt Newman which * win/tclWinPort.h: provides extended error code support. * tests/exec.test: Wrote some tests for this feature. @@ -281,19 +286,19 @@ * generic/tclGetDate.y: Added abbreviations for the Korean timezone. * generic/tclDate.c: Regenerated. - + * compat/strftime.c: Fixed a problem where the name of the time zone was double-converted from system encoding to UTF-8. Thanks to the anonymous submitter of [Bug 1317477] for the report and the patch. - + 2005-11-04 Miguel Sofer <msofer@users.sf.net> * generic/tclInt.h: - * generic/tclNamesp.c: + * generic/tclNamesp.c: * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don. - - * tests/trace.test: fix duplicate test numbers + + * tests/trace.test: fix duplicate test numbers 2005-11-03 Don Porter <dgp@users.sourceforge.net> @@ -305,7 +310,7 @@ 2005-11-03 Pat Thoyts <patthoyts@users.sourceforge.net> * win/tclWin32Dll.c: Backported Anton Kovalenko's patch #1256872 - * win/tclWinConsole.c: to give unicode console support on + * win/tclWinConsole.c: to give unicode console support on * win/tclWinInt.h: suitable systems (eg: NT/XP) 2005-11-01 Don Porter <dgp@users.sourceforge.net> @@ -371,12 +376,12 @@ * generic/tclExecute.c (INST_CONCAT): disable the optimisation for wide integers, [Bug 1251791]. - + 2005-10-14 Zoran Vasiljevic <vasiljevic@users.sourceforge.net> * generic/tclIO.c (Tcl_ClearChannelHandlers): removed change dated 2005-10-04 below. Look into Bug# 1323992 - for detailed discussion. + for detailed discussion. 2005-10-13 Donal K. Fellows <donal.k.fellows@man.ac.uk> @@ -387,7 +392,7 @@ * generic/tclIO.c (Tcl_ClearChannelHandlers): temporary ifdef TCL_THREADS changes done to de-activate pending - event processing when channel is being closed/cutted. + event processing when channel is being closed/cutted. 2005-10-10 Jeff Hobbs <jeffh@ActiveState.com> @@ -475,10 +480,10 @@ * generic/tclBasic.c (ExprMathFunc): Restored "round away from * tests/expr.test (expr-46.*): zero" behaviour to the - "round" function. Added + "round" function. Added test cases for the behavior, including the awkward case of a number whose fractional part is 1/2-1/2ulp. [Bug 1275043] - + 2005-08-25 Donal K. Fellows <donal.k.fellows@man.ac.uk> * generic/tclListObj.c (UpdateStringOfList): Stop uncontrolled and @@ -496,7 +501,7 @@ Tcl_ResetFilesystem down after Tcl_FinalizeThreadAlloc because unloading DLLs can't happen while they still own TSD keys. (This is a backport of changes made in the HEAD on 2005-08-10.) - + 2005-08-05 Donal K. Fellows <donal.k.fellows@man.ac.uk> * unix/tclUnixInit.c (localeTable): Solaris uses a non-standard @@ -509,7 +514,7 @@ * tests/expr.test (expr-38.1): where applying abs to MIN_INT failed to promote the result to a wide integer. [Bug #1241572] - + 2005-08-04 Don Porter <dgp@users.sourceforge.net> * generic/tclObj.c: Simplified routines that manage the typeTable. @@ -524,7 +529,7 @@ 2005-07-30 Daniel Steffen <das@users.sourceforge.net> * unix/configure, unix/tcl.m4: revert 2005-07-28 change. - + * unix/tclLoadDyld.c (TclpDlopen, TclpLoadMemory): workarounds for bugs/changes in behaviour in Mac OS X 10.4 Tiger, sync formatting changes from HEAD. @@ -590,7 +595,7 @@ 2005-07-22 Don Porter <dgp@users.sourceforge.net> * library/auto.tcl: Updates to the Tcl script library to make - * library/history.tcl: use of Tcl 8.4 feautures. Thanks to + * library/history.tcl: use of Tcl 8.4 feautures. Thanks to * library/init.tcl: Patrick Fradin for prompting on this. * library/package.tcl: [Patch 1237755]. * library/safe.tcl: @@ -605,7 +610,7 @@ 2005-07-05 Don Porter <dgp@users.sourceforge.net> * generic/tclCmdAH.c: New "encoding" Tcl_ObjType (not registered) - * generic/tclEncoding.c: that permits longer lifetimes of the + * generic/tclEncoding.c: that permits longer lifetimes of the * generic/tclInt.h: Tcl_Encoding values kept as intreps of Tcl_Obj's. Reduces the need for repeated reading of encoding definition files from the filesystem. [Bug 1077262] @@ -643,7 +648,7 @@ handler. Also, made the assertion check that no exit handlers are created in Tcl_Finalize conditional on TCL_MEM_DEBUG to avoid spurious panics in the "stable" release. - + 2005-06-24 Don Porter <dgp@users.sourceforge.net> * library/auto.tcl: Make file safe to re-[source] without @@ -653,14 +658,14 @@ * tools/tcltk-man2html.tcl: fixed useversion glob pattern to accept multi-digit patchlevels. - + 2005-06-23 Kevin Kenny <kennykb@acm.org> * win/tclWinChan.c: More rewriting of __asm__ blocks that * win/tclWinFCmd.c: implement SEH in GCC, because mingw's gcc 3.4.2 is not as forgiving of violations committed by the old code and caused panics. [Bug #1225957] - + 2005-06-23 Daniel Steffen <das@users.sourceforge.net> * unix/Makefile.in (install-private-headers): rewrite tclPort.h when @@ -681,7 +686,7 @@ Corrected a read of uninitialized memory in PipeCloseProc2, which (at least on certain configurations) caused a great number of tests to either fail or hang [Bug #1225044]. - + 2005-06-22 Andreas Kupries <andreask@activestate.com> * generic/tclInt.h: Followup to change made on 2005-06-18 by @@ -695,7 +700,7 @@ * win/tclWinFile.c: Potential buffer overflow. [Bug 1225571] Thanks to Pat Thoyts for discovery and fix. - * tests/safe.test: Backport performance improvement from + * tests/safe.test: Backport performance improvement from reduced $::auto_path. 2005-06-21 Pat Thoyts <patthoyts@users.sourceforge.net> @@ -713,7 +718,7 @@ [file join] with a name containing a colon. * win/tclWinPipe.c: Reverted davygrvy's changes of 2005-04-19; they cause multiple failures in io.test. [Bug 1225044, still open]. - + 2005-06-21 Don Porter <dgp@users.sourceforge.net> * generic/tclBasic.c: Made the walk of the active trace list aware @@ -755,7 +760,7 @@ * win/configure.in: * unix/configure: autoconf - * win/configure: + * win/configure: 2005-06-18 Donal K. Fellows <donal.k.fellows@man.ac.uk> @@ -778,7 +783,7 @@ * unix/tclLoadDyld.c: fixed header conflict when building this file with USE_TCL_STUBS. - + * macosx/Makefile: fixed 'embedded' target. 2005-06-02 Jeff Hobbs <jeffh@ActiveState.com> @@ -804,14 +809,14 @@ * README: Bumped patchlevel to 8.4.10 * generic/tcl.h: - * tools/tcl.wse.in: + * tools/tcl.wse.in: * unix/tcl.spec, unix/configure, unix/configure.in: * win/configure, win/configure.in: 2005-05-26 Daniel Steffen <das@users.sourceforge.net> * macosx/Makefile: moved & corrected EMBEDDED_BUILD check. - + * unix/configure.in: corrected framework finalization to softlink stub library to Versions/8.x subdir instead of Versions/Current. * unix/configure: autoconf-2.13 @@ -875,7 +880,7 @@ 2005-05-14 Daniel Steffen <das@users.sourceforge.net> * macosx/tclMacOSXBundle.c: - * unix/tclUnixInit.c: + * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for @@ -887,7 +892,7 @@ available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead - of TkAqua upon loading having to finalize the exsting notifier and + of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin @@ -946,7 +951,7 @@ AC_REPLACE_FUNCS(strstr) hasn't already determined that strstr is unavailable, otherwise compat/strstr.o will be used twice (resulting in duplicate symbol link errors on Mac OS X 10.1) - + * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use @@ -995,7 +1000,7 @@ UNIX side) set -blocking to 1 before calling [close] to receive the exit status. - * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f + * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking 1' so the exit status can be acquired. 2005-04-13 David Gravereaux <davygrvy@pobox.com> @@ -1007,14 +1012,14 @@ 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for - the native read() caused by [read]. + the native read() caused by [read]. 2005-04-12 Kevin B. Kenny <kennykb@acm.org> * compat/strstr.c: Added default definition of NULL to accommodate building on systems with badly broken headers. [Bug #1175161] - + 2005-04-09 Daniel Steffen <das@users.sourceforge.net> * macosx/README: updated requirements for OS & developer tool @@ -1037,7 +1042,7 @@ and TclFreeAllocCache() * generic/tclThreadAlloc.c: modified TclFinalizeThreadAlloc() - to explicitly call TclpFreeAllocCache with the NULL-ptr as + to explicitly call TclpFreeAllocCache with the NULL-ptr as argument signalling cleanup of private tsd key used only by the threading allocator. @@ -1082,9 +1087,9 @@ 2005-03-15 Vince Darley <vincentdarley@users.sourceforge.net> - * generic/tclFileName.c: + * generic/tclFileName.c: * win/tclWinFile.c: - * tests/winFCMd.test: fix to 'file pathtype' and 'file norm' + * tests/winFCMd.test: fix to 'file pathtype' and 'file norm' failures on reserved filenames like 'COM1:', etc. 2005-03-15 Kevin B. Kenny <kennykb@acm.org> @@ -1098,7 +1103,7 @@ times with 'Tcl_WideInt', to cope with systems on which a time_t is wider than a long (Win64) [Bug 1163422] * generic/tclIntDecls.h: Regen - + 2005-03-15 Pat Thoyts <patthoyts@users.sourceforge.net> * unix/tcl.m4: Make it work on OpenBSD again. Imported patch @@ -1168,7 +1173,7 @@ 2005-01-27 Jeff Hobbs <jeffh@ActiveState.com> - * generic/tclBasic.c (Tcl_ExprBoolean, Tcl_ExprDouble) + * generic/tclBasic.c (Tcl_ExprBoolean, Tcl_ExprDouble) (Tcl_ExprLong): Fix to recognize Tcl_WideInt type. [Bug 1109484] 2005-01-27 Andreas Kupries <andreask@activestate.com> @@ -1176,7 +1181,7 @@ TIP#218 IMPLEMENTATION * generic/tclDecls.h: Regenerated from tcl.decls. - * generic/tclStubInit.c: + * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and @@ -1186,12 +1191,12 @@ * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. - * unix/tclUnixSock.c: Windows drivers extended to + * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. - * win/tclWinPipe.c: - * win/tclWinSerial.c: - * win/tclWinSock.c: + * win/tclWinPipe.c: + * win/tclWinSerial.c: + * win/tclWinSock.c: * mac/tclMacChan.c: 2005-01-25 Don Porter <dgp@users.sourceforge.net> @@ -1204,7 +1209,7 @@ * unix/tcl.m4 (Darwin): fixed bug with static build linking to dynamic library in /usr/lib etc instead of linking to static library earlier in search path. [Tcl Bug 956908] - Removed obsolete references to Rhapsody. + Removed obsolete references to Rhapsody. * unix/configure: autoconf-2.13 2005-01-19 Mo DeJong <mdejong@users.sourceforge.net> @@ -1254,7 +1259,7 @@ * doc/clock.n: Clarify that the [clock scan] command does not accept the full range of ISO8601 point-in-time formats [Bug 1075433]. - + 2004-12-09 Donal K. Fellows <donal.k.fellows@man.ac.uk> * doc/Async.3: Reword for better grammar, better nroff and get the @@ -1296,7 +1301,7 @@ 2004-11-25 Zoran Vasiljevic <vasiljevic@users.sf.net> - * doc/Notify.3: + * doc/Notify.3: * doc/Thread.3: Added doc fixes and hints from Tcl Bug #1068077. 2004-11-25 Reinhard Max <max@suse.de> @@ -1315,7 +1320,7 @@ * README: Bumped patchlevel to 8.4.9 * generic/tcl.h: - * tools/tcl.wse.in: + * tools/tcl.wse.in: * unix/tcl.spec, unix/configure, unix/configure.in: * win/configure, win/configure.in: @@ -1328,7 +1333,7 @@ manage their masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807] - + 2004-11-23 Don Porter <dgp@users.sourceforge.net> * generic/tclCmdIL.c (InfoVarsCmd): Corrected segfault in new @@ -1366,8 +1371,8 @@ 2004-11-19 Daniel Steffen <das@users.sourceforge.net> - * macosx/Makefile: - * unix/configure.in: + * macosx/Makefile: + * unix/configure.in: * unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection of tcl framework build when determining tclLibPath from overloaded TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088] @@ -1401,13 +1406,13 @@ * win/makefile.vc: Fixed bug in installation of http 2.5. * win/makefile.bc: Was installed into directory http2.4. * win/Makefile.in: This has been corrected. - * unix/Makefile.in: + * unix/Makefile.in: * tools/tcl.wse.in: * tools/tclmin.wse: 2004-11-16 Don Porter <dgp@users.sourceforge.net> - * library/auto.tcl: Updated [tcl_findLibrary] search path + * library/auto.tcl: Updated [tcl_findLibrary] search path to include the $::auto_path. [RFE 695441]. 2004-11-16 Donal K. Fellows <donal.k.fellows@man.ac.uk> @@ -1438,7 +1443,7 @@ * doc/clock.n: * doc/registry.n: * doc/upvar.n: fixed *roff errors uncovered by running 'make html'. - + * tools/tcltk-man2html.tcl: added faked support for bullet point lists, i.e. *nroff ".IP \(bu" syntax. Synced other changes from HEAD. @@ -1498,7 +1503,7 @@ 2004-10-31 Donal K. Fellows <donal.k.fellows@man.ac.uk> - * generic/tclCmdIL.c (InfoGlobalsCmd): + * generic/tclCmdIL.c (InfoGlobalsCmd): * tests/info.test (info-8.4): Strip leading global-namespace specifiers from the pattern argument. [Bug 1057461] @@ -1532,19 +1537,19 @@ * win/configure.in: * unix/configure: autoconf (2.13) - * win/configure: + * win/configure: 2004-10-28 Kevin B. Kenny <kennykb@acm.org> * generic/tclInt.decls: * unix/tclUnixTime.c (TclpGmtime, TclpLocaltime): - * win/tclWinTime.c (TclpGmtime, TclpLocaltime): + * win/tclWinTime.c (TclpGmtime, TclpLocaltime): Changed type signatures of TclpGmtime and TclpLocaltime to accept CONST TclpTime_t throughout, to avoid any possible confusion in pedantic compilers. [Bug 1001319] * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: Regenerated. - + 2004-10-27 Don Porter <dgp@users.sourceforge.net> * generic/tclCmdAH.c (Tcl_FormatObjCmd): Restored missing @@ -1565,13 +1570,13 @@ 2004-10-26 Kevin B. Kenny <kennykb@acm.org> - * generic/tclCmdAH.c (Tcl_FormatObjCmd): Backport a missing bit + * generic/tclCmdAH.c (Tcl_FormatObjCmd): Backport a missing bit of the bug 868489 fix. * generic/tclObj.c (SetBooleanFromAny): Backport fix for Bug 1026125. * tests/format.test (format-19.1): Additional regression test for Bug 868489. - + 2004-10-26 Donal K. Fellows <donal.k.fellows@man.ac.uk> * doc/*.n: Backporting of documentation updates. @@ -1711,7 +1716,7 @@ attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167] - + 2004-09-02 Donal K. Fellows <donal.k.fellows@man.ac.uk> * doc/lsearch.n: Clarified meaning of -dictionary. [Bug 759545] @@ -1720,7 +1725,7 @@ * win/tclWinReg.c (BroadcastValue): WIN64 cast corrections - * win/tclWinDde.c (DdeClientWindowProc): + * win/tclWinDde.c (DdeClientWindowProc): (DdeServicesOnAck, DdeEnumWindowsCallback): WIN64 corrections * win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium), @@ -1770,7 +1775,7 @@ 2004-07-30 Daniel Steffen <das@users.sourceforge.net> * unix/configure: - * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var. * unix/Makefile.in: added MAC_OSX_OBJS variable. @@ -1816,7 +1821,7 @@ * unix/tcl.m4: fixed Darwin autoconf breakage caused by recent CFLAGS reordering. * unix/configure: regen - + * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS. * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS. @@ -1928,13 +1933,13 @@ * generic/tclEvent.c (NewThreadProc): Fixed broken build on Windows caused by missing TCL_THREAD_CREATE_RETURN. This is - backported from head. Thnx to Kevin Kenny for spotting this. + backported from head. Thnx to Kevin Kenny for spotting this. 2004-07-03 Miguel Sofer <msofer@users.sf.net> * generic/tclExecute.c (ExprRoundFunc): * tests/expr-old.test (39.1): added support for wide integers to - round(); [Bug 908375], reported by Hemang Lavana. + round(); [Bug 908375], reported by Hemang Lavana. 2004-07-02 Jeff Hobbs <jeffh@ActiveState.com> @@ -2010,7 +2015,7 @@ * generic/tclCompile.c: handle warning [Bug 969066] 2004-06-05 Kevin B. Kenny <kennykb@acm.org> - + * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw build works again. * generic/tclDecls.h: Changes to the tests for @@ -2021,15 +2026,15 @@ * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. - * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a - * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code + * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a + * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722] - + 2004-05-27 Kevin B. Kenny <kennykb@acm.org> * tests/clock.test: Added a single test for the presence of %G @@ -2039,7 +2044,7 @@ 2004-05-27 Reinhard Max <max@suse.de> - * generic/tclEncoding.c: + * generic/tclEncoding.c: * tests/encoding.test: added support and tests for translating embedded null characters between real nullbytes and the internal representation on input/output (Bug #949905). @@ -2069,7 +2074,7 @@ that it doesn't misdetect some other sort of filesystem with a write-protected root as being a CD-ROM drive. [Bug 918267] - + 2004-05-24 Jeff Hobbs <jeffh@ActiveState.com> * generic/tclExecute.c (VerifyExprObjType): use GET_WIDE_OR_INT to @@ -2121,7 +2126,7 @@ * tests/clock.test: Major rework to the handling of ISO8601 week numbers. Now passes all the %G and %V test cases on Windows, Linux and Solaris [Bugs #500285, #500389, and #852944] - + 2004-05-17 Kevin B. Kenny <kennykb.@acm.org> * generic/tclInt.decls: Restored TclpTime_t kludge to all @@ -2129,7 +2134,7 @@ * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146] - + 2004-05-17 Donal K. Fellows <donal.k.fellows@man.ac.uk> * doc/OpenFileChnl.3: Documented type of 'offset' argument to @@ -2145,7 +2150,7 @@ * generic/tclClock.c: Changed a buggy 'GMT' timezone specification to the correct 'GMT0'. [Bug #922848] - + * unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to unix/tclUnixTime.c where they belong. @@ -2164,7 +2169,7 @@ * tests/clock.test (clock-3.14): Added test to make sure that changes to $env(TZ) take effect immediately. - + * win/tclWinTime.c (TclpLocaltime, TclpGmtime): Added porting layer for 'localtime' and 'gmtime' calls. @@ -2320,7 +2325,7 @@ 2004-03-29 Jeff Hobbs <jeffh@ActiveState.com> * generic/tclInt.h: - * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): + * generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable): * mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF * unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually * win/tclWinFile.c (TclpFindExecutable): "clean", allowing the @@ -2414,17 +2419,17 @@ 2004-02-17 Jeff Hobbs <jeffh@ActiveState.com> (reverted due to test failures on Solaris, but not Win/Lin :/) - * generic/tclIOUtil.c: backport of rewrite of generic file + * generic/tclIOUtil.c: backport of rewrite of generic file normalization code to cope with links followed by '..'. [Bug 849514], and parts of [859251] - + * tests/unixInit.test: unixInit-7.1 * unix/tclUnixInit.c (TclpInitPlatform): ensure the std fds exist to prevent crash condition [Bug #772288] 2004-02-16 Jeff Hobbs <jeffh@ActiveState.com> - * generic/tclCmdMZ.c (TclTraceExecutionObjCmd) + * generic/tclCmdMZ.c (TclTraceExecutionObjCmd) (TclTraceCommandObjCmd): fix possible mem leak in trace info. 2004-02-12 Jeff Hobbs <jeffh@ActiveState.com> @@ -2475,7 +2480,7 @@ 2004-01-09 Vince Darley <vincentdarley@users.sourceforge.net> - * generic/tclIOUtil.c: fix to infinite loop in + * generic/tclIOUtil.c: fix to infinite loop in TclFinalizeFilesystem [Bug 873311] 2003-12-17 Daniel Steffen <das@users.sourceforge.net> @@ -2530,14 +2535,14 @@ 2003-11-20 Miguel Sofer <msofer@users.sf.net> * generic/tclVar.c: fix flag bit collision between - LOOKUP_FOR_UPVAR and TCL_PARSE_PART1 (deprecated) [Bug 835020] - + LOOKUP_FOR_UPVAR and TCL_PARSE_PART1 (deprecated) [Bug 835020] + 2003-11-20 Vince Darley <vincentdarley@users.sourceforge.net> * generic/tclIOUtil.c: - * tests/winFCmd.test: fix to [Bug 845778] - Infinite recursion + * tests/winFCmd.test: fix to [Bug 845778] - Infinite recursion on [cd] (Windows only bug). - + 2003-11-18 Jeff Hobbs <jeffh@ActiveState.com> * changes: updated for 8.4.5 release @@ -2599,7 +2604,7 @@ * generic/tclTest.c: fix test suite memory leak (backport error) * unix/tclUnixFile.c: ensure translated path (required for correct error messages) is freed in both code paths. - + 2003-10-23 Andreas Kupries <andreask@activestate.com> * unix/tclUnixChan.c (Tcl_MakeFileChannel): Applied [Patch 813606] @@ -2688,7 +2693,7 @@ * tests/ioCmd.test: other fixes from the HEAD. * tests/pid.test: [Bugs 675605, 675655, 675659] * tests/socket.test: - * tests/source.test: + * tests/source.test: * tests/fCmd.test: Run tests with the [temporaryDirectory] as the current directory, so that tests can depend on ability to write @@ -2757,7 +2762,7 @@ * win/configure.in: * unix/configure: autoconf (2.13) - * win/configure: + * win/configure: * library/http/http.tcl: Bumped to http 2.4.5 * library/http/pkgIndex.tcl: @@ -2793,7 +2798,7 @@ 2003-09-25 Daniel Steffen <das@users.sourceforge.net> - * macosx/Makefile: ensure SYMROOT exists if OBJROOT is overridden + * macosx/Makefile: ensure SYMROOT exists if OBJROOT is overridden on command line. Replaced explict use of /usr/bin by ${BINDIR}. 2003-09-23 Don Porter <dgp@users.sourceforge.net> @@ -2827,7 +2832,7 @@ * generic/tclUtil.c: Corrected [Bug 411825] and other bugs in TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped - spaces were handled incorrectly. + spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6]. 2003-08-06 Jeff Hobbs <jeffh@ActiveState.com> @@ -2849,12 +2854,12 @@ 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. + Fellows. 2003-07-24 Reinhard Max <max@suse.de> * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose. - + * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose]. 2003-07-23 Daniel Steffen <das@users.sourceforge.net> @@ -3054,7 +3059,7 @@ * unix/Makefile.in: Added targets for building only the tcl or tk help. - * macosx/README (new): Tcl specific excerpts of tk/macosx/README. + * 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. @@ -3117,7 +3122,7 @@ * generic/tclBasic.c: * generic/tclExecute.c: let TclEvalObjvInternal call TclInterpReady instead of relying on its callers to do so; fix for - the part of [Bug 495830] that is new in 8.4. + the part of [Bug 495830] that is new in 8.4. * tests/interp.test: Added tests 18.9 (knownbug) and 18.10 2003-06-09 Don Porter <dgp@users.sourceforge.net> @@ -3128,8 +3133,8 @@ 2003-06-04 Joe Mistachkin <joe@mistachkin.com> - * tools/man2help.tcl: Added duplicate help section checking - * tools/index.tcl: and corrected a comment typo for the + * tools/man2help.tcl: Added duplicate help section checking + * tools/index.tcl: and corrected a comment typo for the getTopics proc in index.tcl [Bug #748700]. 2003-05-23 Don Porter <dgp@users.sourceforge.net> @@ -3151,7 +3156,7 @@ first call to Tcl_MacOSXOpenVersionedBundleResources() for a given bundle identifier to succeed. This caused the tcl runtime library not to be found in all interps created after the inital one. - + 2003-05-20 Jeff Hobbs <jeffh@ActiveState.com> * changes: updated for 8.4.3 @@ -3169,7 +3174,7 @@ 2003-05-16 Daniel Steffen <das@users.sourceforge.net> * macosx/Tcl.pbproj/project.pbxproj: updated copyright year. - + 2003-05-15 Jeff Hobbs <jeffh@ActiveState.com> * win/tclWinFile.c (TclpMatchInDirectory): revert glob code to @@ -3222,27 +3227,27 @@ 2003-05-13 Joe Mistachkin <joe@mistachkin.com> - * generic/tcl.decls: Changed Tcl_JoinThread parameter name from + * generic/tcl.decls: Changed Tcl_JoinThread parameter name from * generic/tclDecls.h: "id" to "threadId". [Bug 732477] * unix/tclUnixThrd.c: - * win/tclWinThrd.c: + * win/tclWinThrd.c: * mac/tclMacThrd.c: 2003-05-13 Daniel Steffen <das@users.sourceforge.net> * generic/tcl.decls: - * macosx/tclMacOSXBundle.c: added extended version of the + * macosx/tclMacOSXBundle.c: added extended version of the Tcl_MacOSXOpenBundleResources() API taking an extra version number argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to be able to access bundle resources in versioned frameworks such as Tcl and Tk, otherwise if multiple versions were installed, only the latest version's resources could be accessed. [Bug 736774] - + * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned bundle resource API to get tcl runtime library for TCL_VERSION. [Bug 736774] - + * generic/tclPlatDecls.h: * generic/tclStubInit.c: regen. @@ -3317,11 +3322,11 @@ * generic/tclFileName.c: fix to bug reported privately by Jeff where, for example, 'glob -path {[tcl]} *' gets confused by the leading special character (which is escaped internally), - and instead lists files in '/'. Bug only occurs on Windows + and instead lists files in '/'. Bug only occurs on Windows where '\' is also a directory separator. (Bug has been around at least since Tcl 8.3). * tests/fileName.test: added test for the above bug. - + 2003-04-25 Don Porter <dgp@users.sourceforge.net> * generic/tclBasic.c: Tcl_EvalObjv() failed to honor the @@ -3357,7 +3362,7 @@ * doc/open.n: Moved serial port options from [fconfigure] * doc/fconfigure.n: to [open] as it is up to the creator of a channel to describe the channel's special - config options. [Bug 679010] + config options. [Bug 679010] 2003-04-16 Don Porter <dgp@users.sourceforge.net> @@ -3381,7 +3386,7 @@ * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c: - + 2003-04-17 Donal K. Fellows <fellowsd@cs.man.ac.uk> * doc/socket.n: Added a paragraph to remind people to specify @@ -3393,7 +3398,7 @@ but this was not documented. [Bug 709720] 2003-04-15 Kevin Kenny <kennykb@acm.org> - + * win/tclWinTime.c: Corrected use of types to make compilation compatible with VC++5. @@ -3401,18 +3406,18 @@ * win/tclWinFile.c: added conditionals to restore compilation on VC++6, which was broken by recent changes. - + 2003-04-14 Vince Darley <vincentdarley@users.sourceforge.net> Merged various bug fixes from current cvs head: - - * tests/cmdAH.test: better fix to test suite problem + + * tests/cmdAH.test: better fix to test suite problem if /home is a symlink [Bug #703264] - + * generic/tclIOUtil.c: fix bad error message with 'cd ""' [Bug #704917] - * win/tclWinFile.c: - * win/tclWin32Dll.c: + * win/tclWinFile.c: + * win/tclWin32Dll.c: * win/tclWinInt.h: allow Tcl to differentiate between reparse points which are symlinks and mounted volumes, and correctly handle the latter. This involves some elaborate code to find @@ -3422,19 +3427,19 @@ in ordinary tcl interpreter. [Bug #705675] * generic/tclIOUtil.c: Some re-arrangement of code to bring it closer to cvs head. No functional changes. - - * tests/fCmd.test: + + * tests/fCmd.test: * win/tclWinFile.c: added some filesystem optimisation to the 'glob' implementation, and some new tests. - + * tests/winFile.test: * tests/ioUtil.test: * tests/unixFCmd.test: renumbered tests with duplicate numbers. (Bug #710361) - + 2003-04-12 Kevin Kenny <kennykb@acm.org> - * tests/clock.test: Renumbered test cases to avoid + * tests/clock.test: Renumbered test cases to avoid duplicates [Bug 710310]. * tests/winTime.test: * win/tclWinTest.c (TestwinclockCmd, TestwinsleepCmd): @@ -3444,7 +3449,7 @@ to the phase-locked loop (replaced an IIR filter with an FIR one) in a quest for improved loop stability (Bug not logged at SF, but cited in private communication from Jeff Hobbs). - + 2003-04-11 Don Porter <dgp@users.sourceforge.net> * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Corrected @@ -3551,7 +3556,7 @@ * generic/tclVar.c: * tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the created local variable, bugs #631741 (Chris Darroch) and #696893 - (David Hilker). + (David Hilker). 2003-03-22 Kevin Kenny <kennykb@acm.org> @@ -3562,9 +3567,9 @@ for the patch. * win/makefile.vc: Added quoting around the script name in the 'test' target; Joe Mistachkin insists that he has a configuration - that fails to launch tcltest without it, and it appears harmless + that fails to launch tcltest without it, and it appears harmless otherwise. - + 2003-03-20 Don Porter <dgp@users.sourceforge.net> * generic/tclInt.h (tclOriginalNotifier): @@ -3601,7 +3606,7 @@ * tests/registry.test: Changed the conditionals to avoid an abort if [testlocale] is missing, as when running the test in tclsh rather than tcltest. [Bug #705677] - + 2003-03-18 Daniel Steffen <das@users.sourceforge.net> * tools/tcltk-man2html.tcl: added support for building 'make html' @@ -3615,7 +3620,7 @@ * generic/tclIOUtil.c: fix bad error message with 'cd ""' * win/tclWinFile.c: allow Tcl to differentiate between reparse points which are symlinks and mounted drives. - + These changes fix [Bug #703264], [Bug #704917], [Bug #697862] respectively. @@ -3642,7 +3647,7 @@ * win/makefile.vc: Backed the version to 8.4 on the 8.4 branch. (I just loathe sticky tags). - + 2003-03-12 Don Porter <dgp@users.sourceforge.net> * generic/tcl.h: Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENT @@ -3695,7 +3700,7 @@ 2003-03-03 Kevin Kenny <kennykb@users.sourceforge.net> * win/Makefile.vc: corrected bug introduced by 'g' for debug builds. - + 2003-03-03 Don Porter <dgp@users.sourceforge.net> * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 for @@ -3727,7 +3732,7 @@ 2003-02-27 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * tests/lsearch.test (lsearch-10.7): + * tests/lsearch.test (lsearch-10.7): * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Stopped -start option from causing an option when used with an empty list. [Bug #694232] @@ -3763,11 +3768,11 @@ 2003-02-22 Zoran Vasiljevic <zoran@archiwrae.com> - * generic/tclEvent.c (Tcl_FinalizeThread): Fix [Bug #571002] + * generic/tclEvent.c (Tcl_FinalizeThread): Fix [Bug #571002] 2003-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * tests/binary.test (binary-44.[34]): + * tests/binary.test (binary-44.[34]): * generic/tclBinary.c (ScanNumber): Fixed problem with unwanted sign-bit propagation when scanning wide ints. [Bug #690774] @@ -3821,7 +3826,7 @@ * generic/tclStringObj.c: restored Tcl_SetObjLength() side-effect of always invalidating unicode rep (if the obj has a string rep). Added hasUnicode flag to String struct, allows decoupling of - validity of unicode rep from buffer size allocated to it (improves + validity of unicode rep from buffer size allocated to it (improves memory allocation efficiency). [Bugs #686782, #671138, #635200] * macosx/Tcl.pbproj/project.pbxproj: @@ -3844,7 +3849,7 @@ variable "result" [Bug 664743] * generic/tclStringObj.c (UpdateStringOfString): remove unused variable "length" [Bug 664751] - * tests/execute.test (execute-7.30): fix for [Bug 664775] + * tests/execute.test (execute-7.30): fix for [Bug 664775] 2003-02-18 Andreas Kupries <andreask@activestate.com> @@ -3877,7 +3882,7 @@ 2003-02-17 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c (TclRenameCommand): fixing error in previous - commit. + commit. 2003-02-17 Jeff Hobbs <jeffh@ActiveState.com> @@ -3895,9 +3900,9 @@ 2003-02-17 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c (TclRenameCommand): 'oldFullName' object was - not being freed on all function exits, causing a memory leak + not being freed on all function exits, causing a memory leak [Bug 684756] - + 2003-02-17 Mo DeJong <mdejong@users.sourceforge.net> * generic/tclIO.c (Tcl_GetsObj): Minor change @@ -3908,7 +3913,7 @@ 2003-02-17 Kevin Kenny <kennykb@users.sourceforge.net> * tests/notify.test: Removed Windows line terminators. [Bug 687913]. - + 2003-02-15 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c (Tcl_EvalEx): @@ -3926,7 +3931,7 @@ 2003-02-15 Kevin Kenny <kennykb@users.sourceforge.net> - * tests/notify.test (new-file): + * tests/notify.test (new-file): * generic/tclTest.c (TclTest_Init, EventtestObjCmd, EventtestProc, EventTestDeleteProc): * generic/tclNotify.c (Tcl_DeleteEvents): Fixed Tcl_DeleteEvents @@ -3938,7 +3943,7 @@ * unix/tclUnixTest.c (TestfilehandlerCmd): Corrected a couple of typos in error messages. [Bug 596027] - + 2003-02-14 Jeff Hobbs <jeffh@ActiveState.com> * README: Bumped to version 8.4.2. @@ -3977,11 +3982,11 @@ * win/tclWinInit.c: Added conversion from the system encoding to tcl_platform(user), so that it works with non-ASCII7 user names. [Bug 685926] - + * doc/tclsh.1: Added language to describe the handling of the end-of-file character \u001a embedded in a script file. [Bug 685485] - + 2003-02-11 Vince Darley <vincentdarley@users.sourceforge.net> * tests/fileName.test: @@ -3993,7 +3998,7 @@ * tests/http.test: Corrected a problem where http-4.14 would fail when run in an environment with a proxy server. Replaced references to scriptics.com by tcl.tk. - + 2003-02-11 Jeff Hobbs <jeffh@ActiveState.com> * tests/lsearch.test: @@ -4011,12 +4016,12 @@ 2003-02-11 Miguel Sofer <msofer@users.sf.net> - * generic/tclParse.c (CommandComplete): + * generic/tclParse.c (CommandComplete): * tests/parse.test: fix for [Bug 684744], by Don Porter. 2003-02-11 Jeff Hobbs <jeffh@ActiveState.com> - * generic/tclIOUtil.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath): + * generic/tclIOUtil.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath): (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead follow a different code path in Tcl_FSJoinPath. (Tcl_FSConvertToPathType, Tcl_FSGetNormalizedPath): @@ -4024,8 +4029,8 @@ before freeing the internal object. (darley) * tests/fileSystem.test: added test 8.3 - * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath): - (UpdateStringOfFsPath): handle the cwdLen == 0 case + * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath): + (UpdateStringOfFsPath): handle the cwdLen == 0 case * unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hidden file match check. @@ -4085,10 +4090,10 @@ * generic/tclTest.c: * tests/fileSystem.text: fixed test 7.2 to avoid a possible crash, and not change the pwd. - + * tests/http.text: added comment to test 4.15, that it may fail if you use a proxy server. - + 2003-02-06 Mo DeJong <mdejong@users.sourceforge.net> * generic/tclCompCmds.c (TclCompileIncrCmd): @@ -4146,19 +4151,19 @@ issues to make filesystem much less dependent on encodings for its cleanup, and therefore allow it to be finalized later in the exit process. This fixes fileSystem.test-7.1. Also fixed one - more bug in setting of modification dates of files which have + more bug in setting of modification dates of files which have undergone cross-platform copies. [Patch 676271] - + * tests/basic.test: * tests/exec.test: * tests/fileName.test: - * tests/io.test: fixed some test failures when tests are run + * tests/io.test: fixed some test failures when tests are run from a directory containing spaces. - + * tests/fileSystem.test: * generic/tclTest.c: added regression test for the modification date setting of cross-platform file copies. - + 2003-02-03 Kevin Kenny <kennykb@users.sourceforge.net> * generic/tclBasic.c: Changed [trace add command] so that 'rename' @@ -4169,12 +4174,12 @@ callbacks. Added a case for renaming a proc within a namespace. * doc/trace.n: Added language about use of fully qualified names in trace callbacks. - + 2003-02-01 Kevin Kenny <kennykb@users.sourceforge.net> * generic/tclCompCmds.c: Removed an unused variable that caused compiler warnings on SGI. [Bug 664379] - + * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage is called to report the same package as being loaded in two interps, it shows up in [info loaded {}] in both of them (previously, @@ -4182,24 +4187,24 @@ * tests/load.test Added regression test for the above bug. [Bug 670042] - + * generic/tclClock.c: Fixed a bug that incorrectly allowed [clock clicks {}] and [clock clicks -] to be accepted as if they were [clock clicks -milliseconds]. - + * tests/clock.test: Added regression tests for the above bug. [Bug 675356] - + * tests/unixNotfy.test: Added cleanup of working files [Bug 675609] - + * doc/Tcl.n: Added headings to the eleven paragraphs, to improve formatting in the tools that attempt to extract tables of contents from the manual pages. [Bug 627455] * generic/tclClock.c: Expanded mutex protection around the setting of env(TZ) and the thread-unsafe call to tzset(). [Bug 656660] - + 2003-01-31 Don Porter <dgp@users.sourceforge.net> * tests/tcltest.test: Cleaned up management of file/directory @@ -4219,10 +4224,10 @@ 2003-01-28 Vince Darley <vincentdarley@users.sourceforge.net> * generic/tclIOUtil.c: fix to setting modification date - in TclCrossFilesystemCopy. Also added 'panic' in + in TclCrossFilesystemCopy. Also added 'panic' in Tcl_FSGetFileSystemForPath under illegal calling circumstances which lead to hard-to-track-down bugs. - + * generic/tclTest.c: added test suite code to allow exercising a vfs-crash-on-exit bug in Tcl's finalization caused by the encodings being cleaned up before unloading occurs. @@ -4323,13 +4328,13 @@ 2003-01-24 Vince Darley <vincentdarley@users.sourceforge.net> - * generic/tclStringObj.c: proper fixes for Tcl_SetObjLength and + * generic/tclStringObj.c: proper fixes for Tcl_SetObjLength and Tcl_AttemptSetObjectLength dealing with string objects with - both pure-unicode and normal internal representations. + both pure-unicode and normal internal representations. Previous fix didn't handle all cases correctly. * generic/tclIO.c: Add 'Tcl_GetString()' to ensure the object has a valid 'objPtr->bytes' field before manipulating it directly. - + This fixes [Bug 635200] and [Bug 671138], but may reduce performance of Unicode string handling in some cases. A further patch will be applied to address this, once the code is known to be correct. @@ -4396,15 +4401,15 @@ the object has a unicode string rep. Fixes [Bug 635200] * tests/stringObj.test: removed 'knownBug' constraint from test 14.1 now that this bug is fixed. - + * generic/tclInt.h: * generic/tclBasic.c: * generic/tclCmdMZ.z: * tests/trace.test: execution and command tracing bug fixes and - cleanup. In particular fixed [Bug 655645], [Bug 615043], + cleanup. In particular fixed [Bug 655645], [Bug 615043], [Bug 571385] - - fixed some subtle cleanup problems with tracing. This - required replacing Tcl_Preserve/Tcl_Release with a more + - fixed some subtle cleanup problems with tracing. This + required replacing Tcl_Preserve/Tcl_Release with a more robust refCount approach. Solves at least one known crash caused by memory corruption. - fixed some confusion in the code between new style traces @@ -4513,14 +4518,14 @@ 2003-01-10 Vince Darley <vincentdarley@users.sourceforge.net> - * generic/tclIOUtil.c: + * generic/tclIOUtil.c: * win/tclWinInt.h: * win/tclWinInit.c: fix to new WinTcl crash on exit with vfs, introduced on 2002-12-06. Encodings must be cleaned up after the filesystem. - + * win/makefile.vc: fix to minor VC++ 5.2 syntax problem - + 2003-01-09 Don Porter <dgp@users.sourceforge.net> * generic/tclCompCmds.c (TclCompilerReturnCmd): Corrected off-by-one @@ -4530,14 +4535,14 @@ * generic/tclFileName.c: remove unused variable 'macSpecialCase' [Bug 664749] - + * generic/tclIOUtil.c: * generic/tclInt.h: * unix/tclUnixFile.c: * mac/tclMacFile.c: * win/tclWinFile.c: * win/tclWinInt.h: - * win/tclWin32Dll.c: + * win/tclWin32Dll.c: * tests/cmdAH.test: fix to non-ascii chars in paths when setting mtime and atime through 'file (a|m)time $path $time' [Bug 634151] @@ -4549,8 +4554,8 @@ 2003-01-07 Don Porter <dgp@users.sourceforge.net> - * generic/tclCompCmds.c (TclCompileReturnCmd): - * tests/compile.test: Corrects failure of bytecompiled + * generic/tclCompCmds.c (TclCompileReturnCmd): + * tests/compile.test: Corrects failure of bytecompiled [catch {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better long term solution for 8.5 and later. @@ -4579,7 +4584,7 @@ 2002-12-17 Jeff Hobbs <jeffh@ActiveState.com> - * generic/tclNotify.c (TclFinalizeNotifier, Tcl_SetServiceMode): + * generic/tclNotify.c (TclFinalizeNotifier, Tcl_SetServiceMode): (Tcl_ThreadAlert): Check that the stub functions are non-NULL before calling them. They could be set to NULL by Tcl_SetNotifier. @@ -4652,7 +4657,7 @@ * win/tclWinPipe.c: reverted back to -r1.27 due to numerous test failures that need to be resolved first. The idea was good, but the details aren't. - + 2002-12-04 David Gravereaux <davygrvy@pobox.com> * win/tclWinPipe.c (Tcl_WaitPid): When a process exits with an @@ -4678,7 +4683,7 @@ * generic/tclTestObj.c: patch omitted from previous change of 2002-11-13 - + 2002-12-03 Jeff Hobbs <jeffh@ActiveState.com> * generic/tclStubLib.c (Tcl_InitStubs): prevent the cached check of @@ -4794,7 +4799,7 @@ * generic/get.test: * generic/string.test: - * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): + * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling before calling strtoul(l). [Bug #634856] @@ -4819,7 +4824,7 @@ * generic/tclCmdMZ.c: * tests/trace.test: applied patch from Hemang Levana to fix [Bug #615043] in execution traces with 'return -code error'. - + * generic/tclTestObj.c: * tests/stringObj.test: added 'knownBug' test for [Bug 635200] * generic/tclStringObj.c: corrected typos in comments @@ -4857,7 +4862,7 @@ to use memcmp in the one-byte/char case, also use direct index for INST_STR_INDEX in that case. - * generic/tclEncoding.c (UtfToUtfProc, UtfToUnicodeProc): + * generic/tclEncoding.c (UtfToUtfProc, UtfToUnicodeProc): (TableFromUtfProc, EscapeFromUtfProc): Use TclUtfToUniChar. (UnicodeToUtfProc, TableToUtfProc): add 1-byte char optimizations for Tcl_UniCharToUtf call. These improve encoded channel @@ -4882,7 +4887,7 @@ 2002-11-11 Kevin Kenny <kennykb@acm.org> * doc/Tcl.n: Corrected indentation of the new language. Oops. - + 2002-11-10 Kevin Kenny <kennykb@acm.org> * doc/Tcl.n: Added language to the Endekalogue to make it clear @@ -4947,7 +4952,7 @@ pointers which will be filled in when Tcl_FindExecutable is called, so that users don't report invalid bugs on this topic. (No code changes at all). - + 2002-10-29 Daniel Steffen <das@users.sourceforge.net> * unix/tclLoadDyld.c (TclpFindSymbol): pass all dyld error @@ -5076,7 +5081,7 @@ * doc/Tcl.n: Clarified that namespace separators are legal in the variable names during $-subtitution. [Bug 615139] - + * doc/regexp.n: Typo correction. Thanks Ronnie Brunner. [Bug 606826] 2002-10-10 Vince Darley <vincentdarley@users.sourceforge.net> @@ -5127,7 +5132,7 @@ * mac/tclMacPort.h: removed incorrect <fcntl.h> definitions and obsolete <stat.h> definitions. - * mac/tclMacChan.c: removed obsolete GetOpenMode() and replaced + * mac/tclMacChan.c: removed obsolete GetOpenMode() and replaced associated constants with the <fcntl.h> analogues (they existing defs were inconsistent with <fcntl.h> which was causing havoc when Tcl_GetOpenMode was used instead of private GetOpenMode). @@ -5137,7 +5142,7 @@ * mac/tclMacLoad.c: CONSTification, fixes to Vince's last changes. - * mac/tclMacFile.c: + * mac/tclMacFile.c: * mac/tclMacTest.c: * mac/tclMacUnix.c: CONSTification. @@ -5145,7 +5150,7 @@ fix for missing autoname token from TclOSACompileCmd. (bdesgraupes) * mac/AppleScript.html(AppleScript delete): doc fix. (bdesgraupes) - * mac/tcltkMacBuildSupport.sea.hqx: updated MoreFiles to 1.5.3, + * mac/tcltkMacBuildSupport.sea.hqx: updated MoreFiles to 1.5.3, updated build instructions for 8.4. * mac/tclMacProjects.sea.hqx: rebuilt archive. @@ -5168,9 +5173,9 @@ 2002-10-03 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * tools/man2help2.tcl: - * tests/http.test, tests/httpd, tests/httpold.test: - * tests/env.test, tests/binary.test, tests/autoMkindex.test: + * tools/man2help2.tcl: + * tests/http.test, tests/httpd, tests/httpold.test: + * tests/env.test, tests/binary.test, tests/autoMkindex.test: * library/init.tcl, library/http/http.tcl: [info exist] should really be [info exists]. [Bug 602566] @@ -5243,7 +5248,7 @@ * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. - (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin + (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure.in: Allow Cygwin build. @@ -5257,11 +5262,11 @@ for Cygwin. * generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin. - * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX + * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to native format. (TclDoGlob): Likewise. * generic/tclPlatDecls.h (TCHAR): Define for Cygwin. - * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree, + * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree, TclpSysRealloc): Define for Cygwin. 2002-09-26 Daniel Steffen <das@users.sourceforge.net> @@ -5320,9 +5325,9 @@ * generic/tcl.h: * mac/tclMacApplication.r: * mac/tclMacLibrary.r: - * mac/tclMacResource.r: unified use of the two equivalent + * mac/tclMacResource.r: unified use of the two equivalent resource compiler header inclusion defines RC_INVOKED and - RESOURCE_INCLUDED, now use RC_INVOKED throughout. + RESOURCE_INCLUDED, now use RC_INVOKED throughout. 2002-09-10 Mo DeJong <mdejong@users.sourceforge.net> @@ -5348,7 +5353,7 @@ framework, i.e. using an dyld install_name containing @executable_path/../Frameworks via the new DYLIB_INSTALL_DIR unix/Makefile variable. - + 2002-09-10 Jeff Hobbs <jeffh@ActiveState.com> *** 8.4.0 TAGGED FOR RELEASE *** @@ -5392,7 +5397,7 @@ * generic/tclInterp.c (AliasCreate): a Tcl_Obj was leaked on error return from TclPreventAliasLoop. - + 2002-09-03 Daniel Steffen <das@users.sourceforge.net> * macosx/Tcl.pbproj/project.pbxproj: Bumped version number to @@ -5465,10 +5470,10 @@ unfortunately, Tk uses "unix" to mean X11. So added platform keys for macosx (the little added to "unix"), "aqua" and "x11" to distinguish these for Tk. - + * generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h can be passed to the resource compiler. - + * generic/tcl.h: * generic/tclNotify.c: added a few Notifier procs, to be able to modify more bits of the Tcl notifier dynamically. Required to get @@ -5551,10 +5556,10 @@ * generic/tclThreadAlloc.c: small optimisation, reducing the new allocator's overhead. - + 2002-08-23 Miguel Sofer <msofer@users.sourceforge.net> - * generic/tclObj.c (USE_THREAD_ALLOC): fixed leak [Bug 597936]. + * generic/tclObj.c (USE_THREAD_ALLOC): fixed leak [Bug 597936]. Thanks to Zoran Vasiljevic. 2002-08-23 Miguel Sofer <msofer@users.sourceforge.net> @@ -5570,7 +5575,7 @@ 2002-08-20 Andreas Kupries <andreas_kupries@users.sourceforge.net> - * win/Makefile.in (CFLAGS): + * win/Makefile.in (CFLAGS): * unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@. * win/configure.in: * unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG. @@ -5597,7 +5602,7 @@ * library/http/http.tcl: Corrected installation directory of * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added * library/opt/optparse.tcl: comments in other packages to remind - * library/tcltest/tcltest.tcl: that installation directories need + * library/tcltest/tcltest.tcl: that installation directories need * unix/Makefile.in: updates to match increasing version * win/Makefile.in: numbers. [Bug 597450] * win/makefile.bc: @@ -5627,17 +5632,17 @@ 2002-08-14 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclInt.h: - * generic/tclObj.c: (code cleanup) factored the parts in the macros + * generic/tclObj.c: (code cleanup) factored the parts in the macros TclNewObj() / TclDecrRefCount() into a common part for all memory allocators and two new macros TclAllocObjStorage() / TclFreeObjStorage() that are specific to each allocator and fully describe the differences. Removed allocator-specific code from tclObj.c by using the macros. - + 2002-08-12 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclCmdMZ.c: fixing UMR in delete traces, [Bug 589863]. - + 2002-08-08 David Gravereaux <davygrvy@pobox.com> * tools/man2help.tcl: Fixed $argv handling bug where if -bitmap @@ -5648,7 +5653,7 @@ * tests/uplevel.test: added 6.1 to test [uplevel] with shadowed commands [Bug 524383] - * tests/subst.test: added 5.8-10 as further tests for [Bug 495207] + * tests/subst.test: added 5.8-10 as further tests for [Bug 495207] 2002-08-08 Don Porter <dgp@users.sourceforge.net> @@ -5680,19 +5685,19 @@ * generic/tclObj.c: optimised Tcl_GetBooleanFromObj and SetBooleanFromAny to avoid parsing the string rep when it can be avoided [Bugs 584650, 472576] - + 2002-08-07 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclCompile.h: * generic/tclObj.c: making tclCmdNameType static ([Bug 584567], Don Porter). - + 2002-08-07 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclObj.c (Tcl_NewObj): added conditional code for USE_THREAD_ALLOC; objects allocated through Tcl_NewObj() were otherwise being leaked. [Bug 587488] reported by Sven Sass. - + 2002-08-06 Daniel Steffen <das@users.sourceforge.net> * generic/tclInt.decls: @@ -5700,7 +5705,7 @@ non-threaded build for the tclUnixThrd.c procs TclpReaddir, TclpLocaltime, TclpGmtime and TclpInetNtoa. Fixes link errors in stubbed & threaded extensions that include - tclUnixPort.h and use any of the procs readdir, localtime, + tclUnixPort.h and use any of the procs readdir, localtime, gmtime or inet_ntoa (e.g. TclX 8.4) [Bug 589526] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: Regen. @@ -5720,7 +5725,7 @@ * doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ify * doc/Concat.3: all remaining public interfaces of Tcl. - * doc/CrtCommand.3: Notably, the parser no longer writes on + * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the @@ -5740,7 +5745,7 @@ * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] - * generic/tclEvent.c + * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h @@ -5769,7 +5774,7 @@ 2002-08-01 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclExecute.c: added a reference count for the complete - execution stack, instead of Tcl_Preserve/Tcl_Release. + execution stack, instead of Tcl_Preserve/Tcl_Release. 2002-08-01 Mo DeJong <mdejong@users.sourceforge.net> @@ -5789,7 +5794,7 @@ * generic/tclInt.h (USE_THREAD_ALLOC): for unshared objects, TclDecrRefCount now frees the internal rep before the string rep - - just like the non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802]. + just like the non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802]. For the other allocators the fix was done on 2002-03-06. 2002-07-31 Miguel Sofer <msofer@users.sourceforge.net> @@ -5810,7 +5815,7 @@ 2002-07-30 Andreas Kupries <andreas_kupries@users.sourceforge.net> - * tests/io.test: + * tests/io.test: * generic/tclIO.c (WriteChars): Added flag to break out of loop if nothing of the input is consumed at all, to prevent infinite looping of called with a non-UTF-8 string. Fixes Bug 584603 @@ -5833,25 +5838,25 @@ * unix/tcl.m4 (SC_SERIAL_PORT): Fixed detection for cases when configure's stdin is not a tty. - - * unix/tclUnixPort.h: + + * unix/tclUnixPort.h: * generic/tclIOSock.c: Changed size_t to socklen_t in socket-related function calls. * unix/configure.in: Added test and fallback definition for socklen_t. - + * unix/configure: generated. 2002-07-29 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclObj.c: fixed a comment - * generic/tcl.h: - * generic/tclBasic.c: + * generic/tcl.h: + * generic/tclBasic.c: * generic/tclInterp.c: added the new flag TCL_EVAL_INVOKE to the interface of the Tcl_Eval* functions, removing the - TCL_EVAL_NO_TRACEBACK added yesterday: alias invocations not only + TCL_EVAL_NO_TRACEBACK added yesterday: alias invocations not only require no tracebacks, but also look up the command name in the global scope - see new test interp-9.4 * tests/interp.test: added 9.3 to test for safety of aliases to @@ -5869,7 +5874,7 @@ 2002-07-28 Miguel Sofer <msofer@users.sourceforge.net> - * generic/tcl.h: + * generic/tcl.h: * generic/tclBasic.c: added the new flag TCL_EVAL_NO_TRACEBACK to the interface of the Tcl_Eval* functions. Modified the error message for too many nested evaluations. @@ -5881,7 +5886,7 @@ * tests/interp.test: * tests/stack.test: adapted to the new error message. * tests/trace.test: added tests for aliases firing the exec - traces. + traces. 2002-07-27 Mo DeJong <mdejong@users.sourceforge.net> @@ -5911,11 +5916,11 @@ * generic/tclExecute.c: fixed Tcl_Obj leak in code corresponding to the macro NEXT_INST_V(x, 0, 1) [Bug 587495]. - + 2002-07-26 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclVar.c (TclObjLookupVar): leak fix and improved - comments. + comments. 2002-07-26 Jeff Hobbs <jeffh@ActiveState.com> @@ -5925,12 +5930,12 @@ 2002-07-24 Miguel Sofer <msofer@users.sourceforge.net> - * generic/tclExecute.c: + * generic/tclExecute.c: * tests/expr-old.test: fix for erroneous error messages in [expr], [Bug 587140] reported by Martin Lemburg. 2002-07-25 Joe English <jenglish@users.sourceforge.net> - * generic/tclProc.c: fix for Tk Bug #219218 "error handling + * generic/tclProc.c: fix for Tk Bug #219218 "error handling with bgerror in Tk" 2002-07-24 Miguel Sofer <msofer@users.sourceforge.net> @@ -5964,7 +5969,7 @@ * doc/OpenFileChnl.3: (Updates from Larry Virden) * doc/open.n: * doc/tclsh.1: Fix section numbers in Unix man page references. - * doc/lset.n: In EXAMPLES section, include command to set the + * doc/lset.n: In EXAMPLES section, include command to set the initial value used in subsequent examples. * doc/http.n: Package version updated to 2.4. @@ -5993,14 +5998,14 @@ added comments about its usage. * generic/tclLoad.c: * generic/tcl.h: - * generic/tcl.decls: + * generic/tcl.decls: * doc/FileSystem.3: converted last load-related ClientData - parameter to Tcl_LoadHandle opaque structure, removing a + parameter to Tcl_LoadHandle opaque structure, removing a couple of casts in the process. - + * generic/tclInt.h: removed tclNativeFilesystem declaration since it is now static again. - + 2002-07-22 Donal K. Fellows <fellowsd@cs.man.ac.uk> * tests/expr.test (expr-22.*): Added tests to help detect the @@ -6040,12 +6045,12 @@ * win/tclWinSerial.c (no_timeout): Made this variable static. - * generic/tclExecute.c, generic/tclCompile.c, generic/tclBasic.c: + * generic/tclExecute.c, generic/tclCompile.c, generic/tclBasic.c: * generic/tclCompile.h (builtinFuncTable, instructionTable): Added prefix to these symbols because they are visible outside the Tcl library. - * generic/tclCompExpr.c (operatorTable): + * generic/tclCompExpr.c (operatorTable): * unix/tclUnixTime.c (tmKey): * generic/tclIOUtil.c (theFilesystemEpoch, filesystemWantToModify, filesystemIteratorsInProgress, filesystemOkToModify): Made these @@ -6054,7 +6059,7 @@ * unix/tclUnixFile.c: Renamed nativeFilesystem to * win/tclWinFile.c: tclNativeFilesystem and declared * generic/tclIOUtil.c: it properly in tclInt.h - * generic/tclInt.h: + * generic/tclInt.h: * generic/tclUtf.c (totalBytes): Made this array static and const. @@ -6073,30 +6078,30 @@ * generic/tclInt.h: * generic/tcl.h: - * */*Load*.c: added comments on changes of 07/17 and + * */*Load*.c: added comments on changes of 07/17 and replaced clientData with Tcl_LoadHandle in all locations. * generic/tclFCmd.c: * tests/fileSystem.test: fixed a 'knownBug' with 'file attributes ""' - * tests/winFCmd.test: + * tests/winFCmd.test: * tests/winPipe.test: * tests/fCmd.test: * tessts/winFile.test: added 'pcOnly' constraint to some - tests to make for more useful 'tests skipped' log from + tests to make for more useful 'tests skipped' log from running all tests on non-Windows platforms. - + 2002-07-17 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclBasic.c (CallCommandTraces): delete traces now - receive the FQ old name of the command. + receive the FQ old name of the command. [Bug 582532] (Don Porter) 2002-07-18 Vince Darley <vincentdarley@users.sourceforge.net> * tests/ioUtil.test: added constraints to 1.4,2.4 so they don't run outside of tcltest. [Bugs 583276,583277] - + 2002-07-17 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclVar.c (DupParsedVarName): nasty bug fixed, reported @@ -6107,7 +6112,7 @@ * generic/tclVar.c (TclPtrIncrVar): missing CONST in declarations, inconsistent with tclInt.h. Thanks to Vince Darley for reporting, boo to gcc for not complaining. - + 2002-07-17 Vince Darley <vincentdarley@users.sourceforge.net> * generic/tclInt.h: @@ -6139,7 +6144,7 @@ * generic/tclStubInit.c: * generic/tclVar.c: removing the now redundant functions to access indexed variables: Tcl(Get|Set|Incr)IndexedScalar() and - Tcl(Get|Set|Incr)ElementOfIndexedArray(). + Tcl(Get|Set|Incr)ElementOfIndexedArray(). 2002-07-17 Donal K. Fellows <fellowsd@cs.man.ac.uk> @@ -6160,7 +6165,7 @@ ** WARNING FOR BYTECODE MAINTAINERS ** TCL_COMPILE_DEBUG is currently not functional; will be fixed ASAP. - + 2002-07-16 Mo DeJong <mdejong@users.sourceforge.net> * unix/Makefile.in: @@ -6184,26 +6189,26 @@ 2002-07-15 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclVar.c: inaccurate comment fixed - + 2002-07-15 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclBasic.c (Tcl_AddObjErrorInfo): * generic/tclExecute.c (TclUpdateReturnInfo): - * generic/tclInt.h: - * generic/tclProc.c: + * generic/tclInt.h: + * generic/tclProc.c: Added two Tcl_Obj to the ExecEnv structure to hold the fully qualified names "::errorInfo" and "::errorCode" to cache the addresses of the corresponding variables. The two most frequent setters of these variables now profit from the new variable name - caching. + caching. 2002-07-15 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclVar.c: refactorisation to reuse already looked-up Var pointers; definition of three new Tcl_Obj types to cache variable name parsing and lookup for later reuse; modification of internal - functions to profit from the caching. - + functions to profit from the caching. + * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: @@ -6218,7 +6223,7 @@ 2002-07-15 Don Porter <dgp@users.sourceforge.net> - * tests/unixInit.test: Improved constraints to protect /tmp. + * tests/unixInit.test: Improved constraints to protect /tmp. [Bug 581403] 2002-07-15 Vince Darley <vincentdarley@users.sourceforge.net> @@ -6231,12 +6236,12 @@ * mac/tclMacFile.c: completed TclpObjLink implementation which was previously lacking. * generic/tclIOUtil.c: comment cleanup and code speedup. - + 2002-07-14 Don Porter <dgp@users.sourceforge.net> * generic/tclInt.h: Removed declarations that duplicated entries in the (internal) stub table. - + * library/tcltest/tcltest.tcl: Corrected errors in handling of configuration options -constraints and -limitconstraints. @@ -6273,7 +6278,7 @@ 2002-07-11 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclCompile.c: now setting local vars undefined at - compile time, instead of waiting until the proc is initialized. + compile time, instead of waiting until the proc is initialized. * generic/tclProc.c: use macro TclSetVarUndefined instead of directly etting the flag. @@ -6284,7 +6289,7 @@ 2002-07-10 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * tests/unixFCmd.test, tests/fileName.test: + * tests/unixFCmd.test, tests/fileName.test: * tests/fCmd.test: Removed [exec] of Unix utilities that have equivalents in standard Tcl. [Bug 579268] Also simplified some of unixFCmd.test while I was at it. @@ -6352,7 +6357,7 @@ functionality change. Also clarify that objects with refCount zero should not be passed in to the Tcl_FS API, and prevent segfaults from occuring on such user errors. [Bug 578617] - + 2002-07-06 Don Porter <dgp@users.sourceforge.net> * tests/pkgMkIndex.test: Constrained tests of [load] package indexing @@ -6384,10 +6389,10 @@ * tests/event.test: Stop these tests from failing * tests/ioUtil.test: when the current directory is * tests/regexp.test: not writable... - * tests/regexpComp.test: - * tests/source.test: - * tests/unixFile.test: - * tests/unixNotfy.test: + * tests/regexpComp.test: + * tests/source.test: + * tests/unixFile.test: + * tests/unixNotfy.test: * tests/unixFCmd.test: Trying to make these test-files * tests/macFCmd.test: not bomb out with an error when @@ -6401,18 +6406,18 @@ 2002-07-04 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * tests/cmdMZ.test (cmdMZ-1.4): + * tests/cmdMZ.test (cmdMZ-1.4): * tests/cmdAH.test: More fixing of writable-current-dir assumption. [Bug 575824] 2002-07-04 Miguel Sofer <msofer@users.sourceforge.net> * tests/basic.test: Same issue as below; fixed [Bug 575817] - + 2002-07-04 Andreas Kupries <andreas_kupries@users.sourceforge.net> - * tests/socket.test: - * tests/winPipe.test: + * tests/socket.test: + * tests/winPipe.test: * tests/pid.test: Fixed SF Bug #575848. See below for a description the general problem. @@ -6421,7 +6426,7 @@ * tests/iogt.test: Fixed bug #575860. * tests/io.test: Fixed bug #575862. - * tests/exec.test: + * tests/exec.test: * tests/ioCmd.test: Fixed bug #575836. 2002-07-03 Don Porter <dgp@users.sourceforge.net> @@ -6494,7 +6499,7 @@ 2002-07-02 Vince Darley <vincentdarley@users.sourceforge.net> - * tests/fCmd.test: + * tests/fCmd.test: * generic/tclCmdAH.c: clearer error msgs for 'file link', as per the man page. @@ -6542,7 +6547,7 @@ when building with gcc to resolve problems with undefined symbols being present when tcl library used with non-gcc linker at later stage. Symbols were compiler-generated, so it is the compiler's - business to define them. [Bug #541181] + business to define them. [Bug #541181] 2002-07-01 Don Porter <dgp@users.sourceforge.net> @@ -6633,14 +6638,14 @@ 2002-06-26 Vince Darley <vincentdarley@users.sourceforge.net> - * tests/fileSystem.test: + * tests/fileSystem.test: * generic/tclIOUtil.c: fix to handling of empty paths "" which are not claimed by any filesystem (Bug #573758). Ensure good error messages are given in all cases. * tests/cmdAH.test: * unix/tclUnixFCmd.c: fix to bug reported as part of (Patch #566669). Thanks to Taguchi, Takeshi for the report. - + 2002-06-26 Reinhard Max <max@suse.de> * unix/tclUnixTime.c: Make [clock format] respect locale settings. @@ -6650,8 +6655,8 @@ * doc/CrtInterp.3: * doc/StringObj.3: clarifications by Don Porter, bugs #493995 and - #500930. - + #500930. + 2002-06-24 Don Porter <dgp@users.sourceforge.net> * library/tcltest/tcltest.tcl: Corrected suppression of -verbose skip @@ -6718,18 +6723,18 @@ 2002-06-22 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * tools/tcl.wse.in (Disk Label), unix/tcl.spec (version): - * win/README.binary, README, win/configure.in, unix/configure.in: + * tools/tcl.wse.in (Disk Label), unix/tcl.spec (version): + * win/README.binary, README, win/configure.in, unix/configure.in: * generic/tcl.h (TCL_RELEASE_*, TCL_PATCH_LEVEL): Bump to beta1. 2002-06-21 Joe English <jenglish@users.sourceforge.net> * generic/tclCompExpr.c: - * generic/tclParseExpr.c: LogSyntaxError() should reset - the interpreter result [Bug 550142 "Tcl_ExprObj -> abort"] + * generic/tclParseExpr.c: LogSyntaxError() should reset + the interpreter result [Bug 550142 "Tcl_ExprObj -> abort"] 2002-06-21 Don Porter <dgp@users.sourceforge.net> - + * unix/Makefile.in: Updated all package install directories * win/Makefile.in: to match current Major.minor versions * win/makefile.bc: of the packages. Added tcltest package @@ -6746,7 +6751,7 @@ * tests/fileSystem.test: native filesystems and in vfs's, * generic/tclTest.c: when the individual filesystem * generic/tclCmdAH.c: supports the concept. - * generic/tclIOUtil.c: + * generic/tclIOUtil.c: * generic/tcl.h: * generic/tcl.decls: * doc/FileSystem.3: @@ -6783,9 +6788,9 @@ 2002-06-18 Miguel Sofer <msofer@users.sourceforge.net> - * generic/tclExecute.c (TEBC): + * generic/tclExecute.c (TEBC): - elimination of duplicated code in the non-immediate INST_INCR - instructions. + instructions. - elimination of 103 (!) TclDecrRefCount macros. The different instructions now jump back to a common "DecrRefCount zone" at the top of the loop. The macro "ADJUST_PC" was replaced by two @@ -6860,7 +6865,7 @@ * tests/msgcat.test: Revised locale initialization to interpret environment variable locale values according to XPG4, and to recognize the LC_ALL and LC_MESSAGES values over that of LANG. - Also added many Windows Registry locale values to those + Also added many Windows Registry locale values to those recognized by msgcat. Revised tests and docs. Bumped to version 1.3. Thanks to Bruno Haible for the report and assistance crafting the solution. [Bug 525522, 525525] @@ -6872,10 +6877,10 @@ 2002-06-16 Miguel Sofer <msofer@users.sourceforge.net> - * generic/tclCompile.c (TclCompileTokens): + * generic/tclCompile.c (TclCompileTokens): * tests/compile.test: [Bug 569438] in the processing of dollar - variables; report by Georgios Petasis. - + variables; report by Georgios Petasis. + 2002-06-16 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclExecute.c: bug in the consolidation of the @@ -6902,7 +6907,7 @@ 2002-06-14 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * doc/trace.n, tests/trace.test: + * doc/trace.n, tests/trace.test: * generic/tclCmdMZ.c (Tcl_TraceObjCmd,TclTraceCommandObjCmd) (TclTraceVariableObjCmd): Changed references to "trace list" to "trace info" as mandated by TIP#102. @@ -6938,7 +6943,7 @@ not documented; there, it causes the call to create the variable if it does not exist. The new usage in Tcl_(Obj)?SetVar.* remains undocumented too ... - + 2002-06-13 Vince Darley <vincentdarley@users.sourceforge.net> * tests/fCmd.test: @@ -6952,7 +6957,7 @@ * unix/tclUnixFile.c: * win/tclWinFile.c: fixed up further so both compiles and actually works with VC++ 5 or 6. - * win/tclWinInt.h: + * win/tclWinInt.h: * win/tclWin32Dll.c: cleaned up code and vfs tests and added tests for the internal changes of 2002-06-12, to see whether WinTcl on NTFS can coexist peacefully with links @@ -6965,7 +6970,7 @@ * tclBasic.c (Tcl_DeleteTrace): fixed [Bug 568123] (thanks to Hemang Lavana) - + 2002-06-12 Jeff Hobbs <jeffh@ActiveState.com> * win/tclWinFile.c: corrected the symbolic link handling code to @@ -6980,25 +6985,25 @@ * generic/tcl.decls: * generic/tclDecls.h: made code for Tcl_FSNewNativePath agree with man pages. - + * doc/FileSystem.3: clarified the circumstances under which certain functions are called in the presence of symlinks. - + * win/tclWinFile.c: - * win/tclWinPort.h: - * win/tclWinInt.h: - * win/tclWinFCmd.c: Fix for Windows to allow 'file lstat', - 'file type', 'glob -type l', 'file copy', 'file delete', - 'file normalize', and all VFS code to work correctly in the - presence of symlinks (previously Tcl's behaviour was not very - well defined). This also fixes possible serious problems in - all versions of WinTcl where 'file delete' on a NTFS symlink + * win/tclWinPort.h: + * win/tclWinInt.h: + * win/tclWinFCmd.c: Fix for Windows to allow 'file lstat', + 'file type', 'glob -type l', 'file copy', 'file delete', + 'file normalize', and all VFS code to work correctly in the + presence of symlinks (previously Tcl's behaviour was not very + well defined). This also fixes possible serious problems in + all versions of WinTcl where 'file delete' on a NTFS symlink could delete the original, not the symlink. Note: symlinks cannot yet be created in pure Tcl. 2002-06-11 Miguel Sofer <msofer@users.sourceforge.net> - * generic/tclBasic.c: + * generic/tclBasic.c: * generic/tclCompCmds.c: * generic/tclInt.h: reverted the new compilation functions; replaced by a more general approach described below. @@ -7017,8 +7022,8 @@ * test/info.test: * generic/tclCmdIL.c: fix for [Bug 567386], [info locals] was reporting some linked variables. - - * generic/tclBasic.c: + + * generic/tclBasic.c: * generic/tclCompCmds.c: * generic/tclInt.h: added compile functions for [global], [variable] and [upvar]. They just declare the new local variables, @@ -7036,7 +7041,7 @@ * generic/tclIOUtil.c: improved and sped up handling of native paths (duplication and conversion to normalized paths), particularly on Windows. - * modified part of above commit, due to problems on Linux. + * modified part of above commit, due to problems on Linux. Will re-examine bug report and evaluate more closely. 2002-06-07 Don Porter <dgp@users.sourceforge.net> @@ -7089,9 +7094,9 @@ case their thread-safe *_r counterparts are not available. * unix/tcl.m4: added configure check for readdir_r * unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on - MacOSX (where posix file apis expect utf-8, not iso8859-1). + MacOSX (where posix file apis expect utf-8, not iso8859-1). * unix/configure: regen - * unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel + * unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel to LD_LIBRARY_PATH for MacOSX dynamic linker. * generic/tclEnv.c (TclSetEnv): fix env var setting on MacOSX (adapted from patch #524352 by jkbonfield). @@ -7144,7 +7149,7 @@ * generic/tclExecute.c: reverting an accidental modification in the last commit. - + 2002-06-03 Miguel Sofer <msofer@users.sourceforge.net> * doc/Tcl.n: clarify the empty variable name issue ([Bug 549285] @@ -7189,14 +7194,14 @@ Tcl 8.4 bug in certain uses of 'glob -tails'. * tests/fileName.test: removed 'knownBug' flag from some tests, added some new tests for above bugs. - + 2002-05-29 Jeff Hobbs <jeffh@ActiveState.com> * unix/configure: regen'ed * unix/configure.in: replaced bigendian check with autoconf standard AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on bigendian systems. - * generic/tclUtf.c (Tcl_UniCharNcmp): + * generic/tclUtf.c (Tcl_UniCharNcmp): * generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative. @@ -7214,7 +7219,7 @@ 2002-05-29 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * generic/tclExecute.c (TclExecuteByteCode): + * generic/tclExecute.c (TclExecuteByteCode): * generic/tclCmdMZ.c (Tcl_StringObjCmd): Use the macro version. * generic/tclInt.h (TclUniCharNcmp): Optimised still further with a macro for use in sensitive places like tclExecute.c @@ -7278,9 +7283,9 @@ 2002-05-28 Vince Darley <vincentdarley@users.sourceforge.net> * generic/tclIOUtil.c: fixes to Tcl_FSLoadFile when called on - a file inside a vfs. This should avoid leaving temporary + a file inside a vfs. This should avoid leaving temporary files sitting around on exit. [Bug #545579] - + 2002-05-27 Donal K. Fellows <fellowsd@cs.man.ac.uk> * win/tclWinError.c: Added comment on conversion of @@ -7323,7 +7328,7 @@ (TCL_CHANNEL_VERSION_3): New channel version. 2002-05-24 Andreas Kupries <andreas_kupries@users.sourceforge.net> - + * tests/winPipe.test: Applied patch for SF Tcl Bug #549617. Patch and bug report by Kevin Kenny <kennykb@users.sourceforge.net>. @@ -7350,7 +7355,7 @@ 2002-05-16 Joe English <jenglish@users.sf.net> - * doc/CrtObjCmd.3: + * doc/CrtObjCmd.3: Added Tcl_GetCommandFromObj, Tcl_GetCommandFullName (Tcl Bug #547987, #414921) @@ -7369,7 +7374,7 @@ 2002-05-13 Vince Darley <vincentdarley@users.sourceforge.net> - * generic/tclEvent.c: + * generic/tclEvent.c: * generic/tclIOUtil.c: * generic/tclInt.h: clean up all memory allocated by the filesystem, via introduction of 'TclFinalizeFilesystem'. @@ -7377,7 +7382,7 @@ be sure it is called at just the right time. Fix bad comment also. [Bug #555078 and 'fs' part of #543549] * win/tclWinChan.c: fix comment referring to wrong function. - + 2002-05-10 Don Porter <dgp@users.sourceforge.net> * tests/load.test: @@ -7414,7 +7419,7 @@ * tests/fileName.test: * tests/load.test: * tests/main.test: - * tests/tcltest.test: + * tests/tcltest.test: * tests/unixInit.test: Fixes to test suite when there's a space in the working path. Thanks to Kevin Kenny. @@ -7435,9 +7440,9 @@ 2002-05-07 Vince Darley <vincentdarley@users.sourceforge.net> - * generic/tclFileName.c: fix to similar segfault when using + * generic/tclFileName.c: fix to similar segfault when using 'glob -types nonsense -dir dirname -join * *'. [Bug 553320] - + * doc/FileSystem.3: further documentation on vfs. * tests/cmdAH.test: * tests/fileSystem.test: @@ -7453,9 +7458,9 @@ 2002-05-02 Vince Darley <vincentdarley@users.sourceforge.net> - * generic/tclFileName.c: fix to freeing a bad object + * generic/tclFileName.c: fix to freeing a bad object (i.e. segfault) when using 'glob -types nonsense -dir dirname'. - * generic/tclWinFile.c: fix to [Bug 551306], also wrapped some + * generic/tclWinFile.c: fix to [Bug 551306], also wrapped some long lines. * tests/fileName.test: added several tests for the above bugs. * doc/FileSystem.3: clarified documentation on refCount @@ -7465,15 +7470,15 @@ * unix/tclUnixFile.c: * mac/tclMacFile.c: moved TclpFilesystemPathType to the platform specific directories, so we can add missing platform- - specific implementations. On Windows, 'file system' now returns - useful results like "native NTFS", "native FAT" for that system. + specific implementations. On Windows, 'file system' now returns + useful results like "native NTFS", "native FAT" for that system. Unix and MacOS still only return "native". * doc/file.n: clarified documentation. * tests/winFile.test: test for 'file system' returning correct values. * tests/fileSystem.test: test for 'file system' returning correct values. Clean up after failed previous test run. - + 2002-04-26 Jeff Hobbs <jeffh@ActiveState.com> * unix/configure: @@ -7495,7 +7500,7 @@ 2002-04-23 Jeff Hobbs <jeffh@ActiveState.com> - * doc/exec.n: + * doc/exec.n: * doc/tclvars.n: doc updates [Patch #509426] (gravereaux) 2002-04-24 Daniel Steffen <das@users.sourceforge.net> @@ -7574,7 +7579,7 @@ 2002-04-19 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * tests/lindex.test (lindex-3.7): + * tests/lindex.test (lindex-3.7): * generic/tclUtil.c (TclGetIntForIndex): Stopped indexes from hitting wide ints. [Bug #526717] @@ -7592,7 +7597,7 @@ 2002-04-18 Donal K. Fellows <fellowsd@cs.man.ac.uk> - * generic/tclCmdIL.c (InfoBodyCmd): + * generic/tclCmdIL.c (InfoBodyCmd): * tests/info.test (info-2.6): Proc bodies without string reps would report as empty [Bug #545644] @@ -7610,7 +7615,7 @@ 2002-04-17 Jeff Hobbs <jeffh@ActiveState.com> - * generic/tclEncoding.c (EscapeFromUtfProc): + * generic/tclEncoding.c (EscapeFromUtfProc): * generic/tclIO.c (WriteChars, Tcl_Close): corrected the handling of outputting end escapes for escape-based encodings. [Bug #526524] (yamamoto) @@ -7637,11 +7642,11 @@ * generic/tclProc.c: * tests/proc-old.test: Improved stack trace for TCL_BREAK and TCL_CONTINUE returns from procs. Patch by Don Porter - [Bug 536955]. - + [Bug 536955]. + * generic/tclExecute.c: * tests/compile.test: made bytecodes check for a catch before - returning; the compiled [return] is otherwise non-catchable. + returning; the compiled [return] is otherwise non-catchable. [Bug 542142] reported by Andreas Kupries. 2002-04-15 Don Porter <dgp@users.sourceforge.net> @@ -7688,7 +7693,7 @@ * tests/cmdAH.test: * tests/encoding.test: * tests/fileSystem.test: - * tests/ioCmd.test: fixed tests failing on mac: check for + * tests/ioCmd.test: fixed tests failing on mac: check for existence of [exec], changed some result strings. 2002-04-06 Jeff Hobbs <jeffh@ActiveState.com> @@ -7719,14 +7724,14 @@ user changes env(HOME). Fixes [Bug #535621]. Also cleaned up some of the documentation. * tests/fileSystem.test: added test for bug just fixed. - + 2002-04-01 Kevin Kenny <kennykb@acm.org> * win/tclWinTime.c (Tcl_GetTime): made the checks of clock frequency more permissive to cope with the fact that Win98SE is observed to return 1.19318 in place of 1.193182 for the performance counter frequency. - + 2002-03-29 Jeff Hobbs <jeffh@ActiveState.com> * generic/tclCmdMZ.c (Tcl_TraceObjCmd, TraceVarProc) @@ -7789,7 +7794,7 @@ errors in the man files. Having the contents of tcl.hpj(.in) inside makefile.vc allows for version numbers to be replaced with macros. - + The new nmakehlp.c is built by rules.vc in preprocessing and removes the need to use tricky shell syntax that wasn't compatible on Win9x systems. Clean targets made Win9x complient. This is a first draft @@ -7803,8 +7808,8 @@ 2002-03-28 Miguel Sofer <msofer@users.sourceforge.net> * generic/tclBasic.c (Tcl_EvalEx): - * tests/basic.test: avoid exceptional returns at level 0 - [Bug 219181] + * tests/basic.test: avoid exceptional returns at level 0 + [Bug 219181] 2002-03-27 Don Porter <dgp@users.sourceforge.net> @@ -7865,20 +7870,20 @@ * doc/file.n: * tests/cmdAH.test: * tests/fileName.test: - * tests/fileSystem.test: (new file) + * tests/fileSystem.test: (new file) * tests/winFCmd.test: fix [Bug 511666] and [Bug 511658], and improved documentation of some aspects of the filesystem, particularly 'Tcl_FSMatchInDirectory' which now might match a single file/directory only, and 'file normalize' which wasn't very clear before. Removed inconsistency betweens - docs and the Tcl_Filesystem structure. Also fixed - [Bug 523217] and corrected file normalization on Unix so that - it expands symbolic links. Added some new tests of the - filesystem code (in the new file 'fileSystem.test'), and + docs and the Tcl_Filesystem structure. Also fixed + [Bug 523217] and corrected file normalization on Unix so that + it expands symbolic links. Added some new tests of the + filesystem code (in the new file 'fileSystem.test'), and some extra tests for correct handling of symbolic links. Fix to [Bug 530960] which shows up on Win98. Made comparison with ".com" case insensitive in tclWinPipe.c - + ***POTENTIAL INCOMPATIBILITY***: But only between alpha releases (users of the new Tcl_Filesystem lookup table in Tcl 8.4a4 need to handle the new way in which Tcl may call @@ -7890,7 +7895,7 @@ * tests/basic.test (basic-46.1): adding test for [Bug 533758], fixed earlier today. - + 2002-03-22 Jeff Hobbs <jeffh@ActiveState.com> * win/tclWinInt.h: moved undef of TCL_STORAGE_CLASS. [Bug #478579] @@ -7899,7 +7904,7 @@ * generic/tclBasic.c (Tcl_EvalObjEx): * generic/tclExecute.c (TclCompEvalObj): fixed the errorInfo for - return codes other than (TCL_OK, TCL_ERROR) to runLevel 0 + return codes other than (TCL_OK, TCL_ERROR) to runLevel 0 [Bug 533758]. Removed the static RecordTracebackInfo(), as its functionality is easily replicated by Tcl_LogCommandInfo. Bug and redundancy noted by Don Porter. @@ -7929,7 +7934,7 @@ TclSetVar2Ex): Updated interfaces of generic/tclVar.c according to TIP 27. In particular, the "part2" arguments were CONSTified. [Patch 532642] - * generic/tclDecls.h: + * generic/tclDecls.h: * generic/tclIntDecls.h: make genstubs 2002-03-15 Donal K. Fellows <fellowsd@cs.man.ac.uk> @@ -8029,7 +8034,7 @@ * generic/tclInt.h: for unshared objects, TclDecrRefCount now frees the internal rep before the string rep - just like the - non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802]. + non-macro Tcl_DecrRefCount/TclFreeObj [Bug 524802]. 2002-03-06 Donal K. Fellows <fellowsd@cs.man.ac.uk> @@ -8073,8 +8078,8 @@ 2002-03-01 Jeff Hobbs <jeffh@ActiveState.com> - * library/encoding/iso2022-jp.enc: - * library/encoding/iso2022.enc: + * library/encoding/iso2022-jp.enc: + * library/encoding/iso2022.enc: * tools/encoding/iso2022-jp.esc: * tools/encoding/iso2022.esc: gave <ESC>$B precedence over <ESC>$@, based on comments (point 1) in [Bug #219283] (rfc 1468) @@ -8101,11 +8106,11 @@ * generic/tclNamesp.c: allow cached fully-qualified namespace names to be usable from different namespaces within the same - interpreter without forcing a new lookup [Patch 458872]. + interpreter without forcing a new lookup [Patch 458872]. 2002-02-28 Miguel Sofer <msofer@users.sourceforge.net> - * generic/tclExecute.c: Replaced a few direct stack accesses + * generic/tclExecute.c: Replaced a few direct stack accesses with the POP_OBJECT() macro [Bug 507181] (Don Porter). 2002-02-27 Don Porter <dgp@users.sourceforge.net> @@ -8229,9 +8234,9 @@ bodies, the exception range parameters were badly computed. Tests forthcoming: I still can't reproduce the conditions in the testsuite (!), although the bug (with assorted segfault or panic!) - can be triggered from the console or with the new parse.bench in + can be triggered from the console or with the new parse.bench in tclbench. - + 2002-02-25 Donal K. Fellows <fellowsd@cs.man.ac.uk> * compat/strtoul.c, compat/strtol.c, compat/strtod.c: Added UCHAR, @@ -8280,7 +8285,7 @@ * generic/tclCompCmds: [FR 465811]. Optimising [if], [for] and [while] for constant conditions; in addition, [for] and [while] are now compiled with the "loop rotation" optimisation (thanks to - Kevin Kenny). + Kevin Kenny). 2002-02-22 Donal K. Fellows <fellowsd@cs.man.ac.uk> @@ -8290,8 +8295,8 @@ * doc/regsub.n: Updated docs. * tests/regexp.test: Updated and added tests. - * compat/strtoll.c (strtoll): - * compat/strtoull.c (strtoull): + * compat/strtoll.c (strtoll): + * compat/strtoull.c (strtoull): * unix/tclUnixPort.h: * win/tclWinPort.h: Const-ing 64-bit compatability declarations. Note that the return pointer is non-const because it is entirely @@ -8416,7 +8421,7 @@ * tests/get.test: * win/Makefile.vc: Further tweaks to the TIP 72 patch to make it compile under VC++. - + 2002-02-15 Andreas Kupries <andreas_kupries@users.sourceforge.net> * tclExecute.c: @@ -8468,7 +8473,7 @@ ***POTENTIAL INCOMPATIBILITY***: Extracted from the TIP - SUMMARY OF INCOMPATIBILITIES AND FIXES + SUMMARY OF INCOMPATIBILITIES AND FIXES ====================================== The behaviour of expressions containing constants that appear @@ -8531,7 +8536,7 @@ * generic/tclDecls.h: * generic/tclStubInit.c: Regenerated Stubs tables. - + 2002-02-08 Jeff Hobbs <jeffh@ActiveState.com> * unix/configure: @@ -8574,7 +8579,7 @@ Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also - restored Tcl_WinUtfToTChar to return (TCHAR *) and + restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. @@ -8747,7 +8752,7 @@ Make -eofchar and -translation options read only for server sockets. [Bug 496733] - + * generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption): Instead of returning nothing for the -translation option on a server socket, always return "auto". Return the empty @@ -8853,7 +8858,7 @@ Tcl_ExternalToUtfDString,Tcl_UtfToExternalDString, OpenEncodingFile, LoadEscapeEncoding): * generic/tclFileName.c (DoTildeSubst,Tcl_JoinPath,Tcl_SplitPath, - Tcl_TranslateFileName): + Tcl_TranslateFileName): * generic/tclIOUtil.c (Tcl_FSMatchInDirectory): * generic/tclPipe.c (FileForRedirect,TclCreatePipeline, Tcl_OpenCommandChannel): @@ -8866,11 +8871,11 @@ generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. - ***POTENTIAL INCOMPATIBILITY*** + ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath. - * generic/tclDecls.h: + * generic/tclDecls.h: * generic/tclIntDecls.h: make genstubs * generic/tclCkalloc.c (MemoryCmd): @@ -8990,7 +8995,7 @@ * generic/tcl.decls (Tcl_TraceCommand,Tcl_UntraceCommand, Tcl_CommandTraceInfo): * generic/tclCmdMZ.c (Tcl_TraceCommand,Tcl_UntraceCommand, - Tcl_CommandTraceInfo): Updated APIs in generic/tclCmdMZ.c + Tcl_CommandTraceInfo): Updated APIs in generic/tclCmdMZ.c according to the guidelines of TIP 27. * generic/tclDecls.h: make genstubs @@ -9053,7 +9058,7 @@ * generic/tclIndexObj.c (Tcl_GetIndexFromObj,Tcl_GetIndexFromObjStruct): More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were overlooked before. [Patch 504671] - ***POTENTIAL INCOMPATIBILITY*** + ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines. * generic/tclDecls.h: make genstubs @@ -9103,7 +9108,7 @@ * mac/tclMacLoad.c (TclpLoadFile): * win/tclWinFile.c (TclpGetUserHome): Updated callers. - * generic/tclDecls.h: + * generic/tclDecls.h: * generic/tclIntDecls.h: make genstubs * doc/ParseCmd.3 (Tcl_ParseVar): @@ -9127,7 +9132,7 @@ Tcl_CreateSlave, Tcl_GetAlias, Tcl_GetAliasObj, Tcl_GetSlave): Updated APIs in the file generic/tclInterp.c according to the guidelines of TIP 27. [Patch 501371] - ***POTENTIAL INCOMPATIBILITY*** + ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the targetCmdPtr arguments of the Tcl_GetAlias* routines. @@ -9230,7 +9235,7 @@ * win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib to properly support the --libdir option to configure. [Bug 489370] -2002-01-11 Andreas Kupries <andreas_kupries@users.sourceforge.net> +2002-01-11 Andreas Kupries <andreas_kupries@users.sourceforge.net> * win/tclWinSerial.c (SerialSetOptionProc): Applied patch for SF bug #500348 supplied by Rolf Schroedter @@ -9254,12 +9259,12 @@ 2002-01-10 Don Porter <dgp@users.sourceforge.net>, Kevin Kenny <kennykb@users.sourceforge.net> - + * unix/tclLoadDld.c (TclpLoadFile): syntax error: unbalanced parens. Kevin notes that it's far from clear that this file is ever included in an actual build; Linux without dlopen appears to be a nonexistent configuration. - + 2002-01-08 Don Porter <dgp@users.sourceforge.net>, Kevin Kenny <kennykb@users.sourceforge.net> @@ -9278,7 +9283,7 @@ * unix/tclLoadNext.c (TclGuessPackageName): * unix/tclLoadOSF.c (TclGuessPackageName): * unix/tclLoadShl.c (TclGuessPackageName): - * win/tclWinLoad.c (TclGuessPackageName): Updated APIs in + * win/tclWinLoad.c (TclGuessPackageName): Updated APIs in the files */tcl*Load*.c according to the guidelines of TIP 27. [Patch 501096] @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: Tcl.n,v 1.9 2003/02/01 19:48:23 kennykb Exp $ +'\" RCS: @(#) $Id: Tcl.n,v 1.9.2.1 2005/12/19 10:09:50 dkf Exp $ '\" .so man.macros .TH Tcl n "8.1" Tcl "Tcl Built-In Commands" @@ -76,7 +76,8 @@ characters between them. There may be any number of command substitutions in a single word. Command substitution is not performed on words enclosed in braces. .IP "[7] \fBVariable substitution.\fR" -If a word contains a dollar-sign (``$'') then Tcl performs \fIvariable +If a word contains a dollar-sign (``$'') followed by one of the forms +described below, then Tcl performs \fIvariable substitution\fR: the dollar-sign and the following characters are replaced in the word by the value of a variable. Variable substitution may take any of the following forms: |