1 2003-12-25 Mo DeJong <mdejong@users.sourceforge.net>
3 * win/tclWin32Dll.c (DllMain): Add HAVE_NO_SEH blocks in place of
4 __try and __except statements to support gcc builds. This is needed
5 after David's changes on 2003-12-21. [Patch 858493]
7 2003-12-23 David Gravereaux <davygrvy@pobox.com>
9 * generic/tclAlloc.c: All uses of 'panic' (the macro) changed to
10 * generic/tclBasic.c: 'Tcl_Panic' (the function). The #define of
11 * generic/tclBinary.c: panic in tcl.h clearly states it is deprecated
12 * generic/tclCkalloc.c: in the comments. [Patch 865264]
16 * generic/tclCompCmds.c:
17 * generic/tclCompExpr.c:
18 * generic/tclCompile.c:
19 * generic/tclConfig.c:
20 * generic/tclDictObj.c:
21 * generic/tclEncoding.c:
23 * generic/tclExecute.c:
25 * generic/tclInterp.c:
28 * generic/tclIOUtil.c:
29 * generic/tclListObj.c:
30 * generic/tclLiteral.c:
31 * generic/tclNamesp.c:
34 * generic/tclPathObj.c:
36 * generic/tclPreserve.c:
38 * generic/tclStringObj.c:
40 * generic/tclThreadAlloc.c:
46 * mac/tclMacResource.c:
50 * unix/tclUnixNotfy.c:
61 * generic/tclInt.h: Deprecated use of Tcl_Ckalloc changed to
62 Tcl_Alloc in the TclAllocObjStorage macro.
64 2003-12-22 David Gravereaux <davygrvy@pobox.com>
67 * win/rules.vc: New feature for extensions that use rules.vc. Now
68 reads header files for version strings. No more hard coding
69 TCL_VERSION = 8.5 and having to edit it when you swap cores.
71 * win/makefile.vc: VERSION macro now set by reading tcl.h for it.
73 * generic/tcl.h: Removed note that makefile.vc needs to have a version
76 2003-12-21 David Gravereaux <davygrvy@pobox.com>
78 * win/tclWin32Dll.c: Structured Exception Handling added around
79 Tcl_Finalize called from DllMain's DLL_PROCESS_DETACH. We can't be
80 100% assured that Tcl is being unloaded by the OS in a stable
81 condition and we need to protect the exit handlers should the stack be
82 in a hosed state. AT&T style assembly for SEH under MinGW has not been
83 added yet. This is a first part change for [Patch 858493]
85 2003-12-17 Daniel Steffen <das@users.sourceforge.net>
87 * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bug when
88 numeric scan-value cache contains NULL value.
90 2003-12-17 Vince Darley <vincentdarley@users.sourceforge.net>
96 * tests/fileSystem.test:
97 * doc/file.n: final fix to support for relative links and its
98 implications on normalization and other parts of the filesystem code.
99 Fixes [Bug 859251] and some Windows problems with recursive file
100 delete/copy and symbolic links.
102 2003-12-17 Vince Darley <vincentdarley@users.sourceforge.net>
104 * generic/tclPathObj.c:
105 * tests/fileSystem.test: fix and tests for [Bug 860402] in new file
108 2003-12-17 Zoran Vasiljevic <zv@archiware.com>
110 * generic/tclIOUtil.c: fixed 2 memory (object) leaks. [Bug 839519]
112 * generic/tclPathObj.c: fixed Tcl_FSGetTranslatedPath to always return
113 properly refcounted path object. [Bug 861515]
115 2003-12-16 Vince Darley <vincentdarley@users.sourceforge.net>
117 * tests/fCmd.test: marking fCmd-9.14.2, as nonPortable, since on
118 Solaris one can change the name of the current directory with 'file
120 * doc/FileSystem.3: clarified documentation on ownership of return
121 objects/strings of some Tcl_FS* calls.
123 2003-12-16 Donal K. Fellows <donal.k.fellows@man.ac.uk>
125 * generic/tclThreadAlloc.c (binfo): Made variable file-local.
127 2003-12-15 David Gravereaux <davygrvy@pobox.com>
130 * win/tclsh.rc: Slight modification to the STRINGIFY macro to support
133 * win/tclWinFile.c (TclpUtime) : utimbuf struct not a problem with
136 * win/tclWinTime.c (TclpGetDate) : Borland's localtime() has a slight
137 behavioral difference.
139 From Helmut Giese <hgiese@ratiosoft.com> [Patch 758097].
141 2003-12-14 David Gravereaux <davygrvy@pobox.com>
143 * generic/tclInt.decls: commented-out entry for TclpCheckStackSpace,
144 removing it from the Stubs table. It's already declared in tclInt.h
145 and labeled as a function that is not to be exported. Regened tables.
147 2003-12-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
149 * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): TIP#75 Implementation
150 * tests/switch.test: Can now get submatch information when using
151 * doc/switch.n: -regexp matching in [switch].
153 2003-12-14 Vince Darley <vincentdarley@users.sourceforge.net>
155 * generic/tclPathObj.c: complete rewrite of generic file normalization
156 code to cope with links followed by '..'. [Bug 849514], and parts of
159 2003-12-12 David Gravereaux <davygrvy@pobox.com>
161 * win/tclWinChan.c: Win32's SetFilePointer() takes LONGs not DWORDs (a
162 signed/unsigned mismatch). Redid local vars to avoid all casting
163 except where truly required.
165 2003-12-12 Vince Darley <vincentdarley@users.sourceforge.net>
167 * generic/tclCmdAH.c: fix to normalization of non-existent user name
168 ('file normalize ~nobody') [Bug 858937]
169 * doc/file.n: clarify behaviour of 'file link' when the target is not
171 * doc/filename.n: correct documentation to say that Windows Tcl does
172 handle '~user', for recent Windows releases, and clarified distinction
173 between MacOS 'classic' and MacOS X.
174 * doc/glob.n: clarification of glob's behaviour when returning
175 filenames starting with a '~'.
177 * tests/fileSystem.test:
178 * tests/fileName.test: new tests added for the normalization problem
179 above and other recentlt reported issues.
181 * win/tclWinFile.c: corrected unclear comments
183 * unix/tclUnixFile.c: allow creation of relative links. [Bug 833713]
185 2003-12-11 David Gravereaux <davygrvy@pobox.com>
187 * win/tclWinSock.c (SocketThreadExitHandler) : added a TerminateThread
188 fallback just in case the socket handler thread is really in a paused
189 state. This can happen when Tcl is being unloaded by the OS from an
190 exception handler. See MSDN docs on DllMain, it states this behavior.
192 2003-12-09 Jeff Hobbs <jeffh@ActiveState.com>
195 * unix/tcl.m4: updated OpenBSD build configuration based on
196 [Patch #775246] (cassoff)
198 2003-12-09 Donal K. Fellows <donal.k.fellows@man.ac.uk>
200 * unix/tclUnixPort.h: #ifdef'd out declarations of errno which are
201 * tools/man2tcl.c: known to cause problems with recent glibc.
204 2003-12-09 Vince Darley <vincentdarley@users.sourceforge.net>
206 * win/tclWinFile.c: fix to NT file permissions code [Bug 855923]
207 * tests/winFile.test: added tests for NT file permissions - patch and
208 test scripts supplied by Benny.
210 * tests/winFCmd.test: fixed one test for when not running in C:/
212 2003-12-02 Donal K. Fellows <donal.k.fellows@man.ac.uk>
214 * generic/tclBinary.c (DeleteScanNumberCache, ScanNumber): Made the
215 numeric scan-value cache have proper references to the objects within
216 it so strange patterns of writes won't cause references to freed
217 objects. Thanks to Paul Obermeir for the report. [Bug 851747]
219 2003-12-01 Miguel Sofer <msofer@users.sf.net>
221 * doc/lset.n: fix typo [Bug 852224]
223 2003-11-24 Don Porter <dgp@users.sourceforge.net>
225 * generic/tclParse.c: Corrected faulty check for trailing white
226 space in {expand} parsing. Thanks Andreas Leitgeb. [Bug 848262]
227 * tests/parse.test: New tests for the bug.
229 2003-11-24 Vince Darley <vincentdarley@users.sourceforge.net>
231 * generic/tclPathObj.c: fix to [Bug 845778] - Infinite recursion on
232 [cd] (Windows only bug), for which new tests have just been added.
234 2003-11-21 Don Porter <dgp@users.sourceforge.net>
236 * tests/winFCmd.test (winFCmd-16.10,11): Merged new tests from
239 2003-11-20 Miguel Sofer <msofer@users.sf.net>
241 * generic/tclVar.c: fix flag bit collision between LOOKUP_FOR_UPVAR
242 and TCL_PARSE_PART1 (deprecated) [Bug 835020]
244 2003-11-19 Don Porter <dgp@users.sourceforge.net>
246 * tests/compile.test (compile-16.22.0): Improved test for the recent
249 2003-11-19 Donal K. Fellows <donal.k.fellows@man.ac.uk>
251 * generic/tclCompile.c (TclCompileScript): Added a guard for the
252 expansion code so that long non-expanding commands don't get expansion
253 infrastructure inserted in them, especially when that infrastructure
254 isn't initialised. [Bug 845412]
256 2003-11-18 David Gravereaux <davygrvy@pobox.com>
258 * contrib/djgpp/Makefile: Changes from Victor Wagner
259 * contrib/djgpp/langinfo.c (new): <vitus@45.free.net> for better
260 * contrib/djgpp/langinfo.h (new): DJGPP support.
261 * unix/tclUnixInit.c: .
262 * unix/tclUnixChan.c: .
263 * unix/tclUnixFCmd.c: .
265 2003-11-17 Don Porter <dgp@users.sourceforge.net>
267 * tests/reg.test: Added tests for [Bugs 230589, 504785, 505048, 840258]
268 recently fixed by 2003-11-15 commit to regcomp.c by Pavel Goran. His
269 notes on the fix: This bug results from an error in code that splits
270 states into "progress" and "no-progress" ones. This error causes an
271 interesting situation with the pre-collected single-linked list of
272 states to be splitted: many items were added to the list, but only
273 several of them are accessible from the list beginning, since the
274 "tmp" member of struct state (which is used here to hold a pointer to
275 the next list item) gets overwritten, which results in a "looped"
276 chain. As a result, not all of states are splitted, and one state is
277 splitted two times, causing incorrect "no-progress" flag values.
279 2003-11-16 Donal K. Fellows <donal.k.fellows@man.ac.uk>
281 * generic/tclExecute.c (TclExecuteByteCode): Make sure that
282 Tcl_AsyncInvoke is called regularly when processing bytecodes.
283 * generic/tclTest.c (AsyncThreadProc, TestasyncCmd): Extended testing
284 harness to send an asynchronous marking without relying on UNIX
286 * tests/async.test (async-4.*): Tests to check that async events are
287 handled by the bytecode core. [Bug 746722]
289 2003-11-15 Donal K. Fellows <donal.k.fellows@man.ac.uk>
291 * generic/tclTest.c (TestHashSystemHashCmd): Removed 'const' modifier
292 from hash type structure; it should be const and the hash code assumes
293 it behaves like const, but that's not how the API is defined. Like
294 this, we are following in the same footsteps as Tcl_RegisterObjType()
295 which has the same conditions on its argument. Stops VC++5.2 warning.
298 2003-11-14 Donal K. Fellows <donal.k.fellows@man.ac.uk>
300 * generic/tclHash.c (Tcl_DeleteHashTable,Tcl_HashStats,RebuildTable):
301 * generic/tclTest.c (TestHashSystemHashCmd): TIP#138 implementation,
302 * tests/misc.test: plus a new chunk of stuff to test the hash
303 functions more thoroughly in the test suite.
304 [Patch 731356, modified]
306 * doc/Tcl.n: Updated Tcl version number and changebars.
308 2003-11-14 Don Porter <dgp@users.sourceforge.net>
310 * doc/ParseCmd.3: Implementation of TIP 157. Adds recognition
311 * doc/Tcl.n: of the new leading {expand} syntax on words.
312 * generic/tcl.h: Parses such words as the new Tcl_Token type
313 * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx and
314 * generic/tclCompile.c: the bytecode compiler/execution engine to
315 * generic/tclCompile.h: recognize the new token type. New opcodes
316 * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new
317 * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs
318 * generic/tclTest.c: and tests are included.
320 * tests/compile.test:
323 * library/auto.tcl: Replaced several [eval]s used to perform
324 * library/package.tcl: argument expansion with the new syntax. In the
325 * library/safe.tcl: test files lindex.test and lset.test, replaced
326 * tests/cmdInfo.test: use of [eval] to force direct string
327 * tests/encoding.test: evaluation with use of [testevalex] which more
328 * tests/execute.test: directly and robustly serves the same purpose.
338 * tests/namespace-old.test:
339 * tests/namespace.test:
341 * tests/pkgMkIndex.test:
346 * tests/winConsole.test:
347 * tests/winFCmd.test:
349 2003-11-12 Jeff Hobbs <jeffh@ActiveState.com>
351 * tests/cmdMZ.test (cmdMZ-1.4): change to nonPortable as more systems
352 are using permissions caching, and this isn't really a Tcl controlled
355 2003-11-11 Jeff Hobbs <jeffh@ActiveState.com>
358 * unix/tcl.m4: improve AIX --enable-64bit handling
359 remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from CFLAGS_OPTIMIZE
360 on Linux. Make default opt -O2 (was -O).
362 2003-11-11 David Gravereaux <davygrvy@pobox.com>
364 * contrib/djgpp/Makefile: Suggested changes from vitus@45.free.net
367 * unix/tclUnixPort.h: added socklen_t typedef for DJGPP
369 2003-11-10 Don Porter <dgp@users.sourceforge.net>
371 * unix/tclUnixInit.c (TclpInitLibraryPath):
372 * win/tclWinInit.c (TclpInitLibraryPath): Fix for [Bug 832657]
373 that should not run afoul of startup constraints.
375 * library/dde/pkgIndex.tcl: Added safeguards so that registry and
376 * library/reg/pkgIndex.tcl: dde packages are not offered on
377 * win/tclWinDde.c: non-Windows platforms. Bumped to
378 * win/tclWinReg.c: registry 1.1.3 and dde 1.3.
384 * win/configure: autoconf (2.57)
386 2003-11-10 Donal K. Fellows <donal.k.fellows@man.ac.uk>
388 * tests/cmdIL.test: Stopped cmdIL-5.5 from stomping over the test
389 command, and updated the tests to use some tcltest2 features in
390 relation to cleanup. [Bug 838384]
392 2003-11-10 Vince Darley <vincentdarley@users.sourceforge.net>
394 * generic/tclCmdAH.c:
395 * tests/fCmd.test: fix to misleading error message in 'file link'.
398 2003-11-07 Vince Darley <vincentdarley@users.sourceforge.net>
400 * generic/tclIOUtil.c: fix to compiler warning/error with some
401 compilers. [Bug 835918]
403 2003-11-07 Daniel Steffen <das@users.sourceforge.net>
405 * macosx/Makefile: optimized builds define NDEBUG to turn off
406 ThreadAlloc range checking.
408 2003-11-05 Don Porter <dgp@users.sourceforge.net>
410 * tests/unixInit.test (unixInit-2.10): New test to expose [Bug 832657]
411 failure of TclpInitLibraryPath() to properly handle .. in the path
414 2003-11-04 Daniel Steffen <das@users.sourceforge.net>
416 * macosx/Makefile: added 'test' target.
418 2003-11-03 Vince Darley <vincentdarley@users.sourceforge.net>
420 * generic/tclIOUtil.c
421 * generic/tclInt.h: added comments and re-arranged code to clarify
422 distinction between Tcl_LoadHandle, ClientData for 'load'ed code, and
423 point out limitations of the design introduced with Tcl 8.4.
425 * unix/tclUnixFile.c: fix to memory leak
427 * generic/tclCmdIL.c: removed warning on Windows.
429 2003-11-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
431 * generic/tclCmdIL.c (Tcl_LrepeatObjCmd): Check for sensible list
432 lengths and allow for soft failure of the memory subsystem in the
433 [lconcat] command [Bug 829027]. Uses direct list creation to avoid
434 extra copies when working near the limit of available memory. Also
435 reorganized to encourage optimizing compilers to optimize heavily.
436 * generic/tclListObj.c (TclNewListObjDirect): New list constructor
437 that does not copy the array of objects. Useful for creating
438 potentially very large lists or where you are about to throw away the
439 array argument which is being used in its entirety.
441 2003-10-28 Miguel Sofer <msofer@users.sf.net>
443 * generic/tclExecute.c (NEXT_INST macros): replaced macro variable
444 "result" by "resultHandling" to avoid confusion.
446 2003-10-23 Andreas Kupries <andreask@activestate.com>
448 * unix/tclUnixChan.c (Tcl_MakeFileChannel): Applied [Patch 813606]
449 fixing [Bug 813087]. Detection of sockets was off for Mac OS X which
450 implements pipes as local sockets. The new code ensures that only IP
451 sockets are detected as such.
453 * win/tclWinSock.c (TcpWatchProc): Watch for FD_CLOSE too when asked
454 for writable events by the generic layer.
455 (SocketEventProc): Generate a writable event too when a close is
458 Together the changes fix [Bug 599468].
460 2003-10-23 Vince Darley <vincentdarley@users.sourceforge.net>
462 * tests/resource.test:
463 * mac/tclMacResource.c: fix to resource freeing problem in 'resource'
464 command reported by Bernard Desgraupes.
466 * doc/FileSystem.3: updated documentation for 'glob' fix on 2003-10-13
469 2003-10-22 Donal K. Fellows <fellowsd@cs.man.ac.uk>
471 * generic/tclCmdAH.c (Tcl_FileObjCmd): Changed FILE_ prefix to FCMD_
472 to stop symbol/#def clashes on Cygwin/Mingw32 on NT. [Bug 822528]
474 2003-10-21 Daniel Steffen <das@users.sourceforge.net>
476 * tools/tcltk-man2html.tcl: fixed incorrect html generated for
477 .IP/.TP lists, now use <DL><DT>...<DD>...<P><DT>...<DD>...</DL>
478 instead of illegal <DL><P><DT>...<DD>...<P><DT>...<DD>...</DL>.
479 Added skipping of directives directly after .TP to avoid them being
480 used as item descriptions, e.g. .TP\n.VS in clock.n.
482 2003-10-21 Andreas Kupries <andreask@pliers.activestate.com>
484 * win/tclWinPipe.c (BuildCommandLine): Applied the patch coming with
485 [Bug 805605] to the code, fixing the incorrect use of ispace noted by
486 Ronald Dauster <ronaldd@users.sourceforge.net>.
488 2003-10-20 Kevin B. Kenny <kennykb@users.sourceforge.net>
491 * library/msgcat/msgcat.tcl (mclocale,mcload):
493 * unix/Makefile.in: Implementation of TIP#156, add a "root locale"
494 * win/makefile.bc: to the 'msgcat' package. Advanced msgcat
495 * win/Makefile.in: version number to 1.4
498 2003-10-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
500 * generic/tclCmdIL.c (SortInfo,etc): Reorganized so that SortInfo
501 carries an array of integer indices instead of a Tcl list. This nips
502 shimmering problems in the bud and simplifies SelectObjFromSublist at
503 the cost of making setup slightly more complex. [Bug 823768]
505 2003-10-14 David Gravereaux <davygrvy@pobox.com>
507 * win/tclAppInit.c (sigHandler): Punt gracefully if exitToken has
508 already been destroyed.
510 2003-10-14 Vince Darley <vincentdarley@users.sourceforge.net>
512 * generic/tclCmdMZ.c:
513 * tests/regexp.test: fix to [Bug 823524] in regsub; added three new
516 2003-10-14 Don Porter <dgp@users.sourceforge.net>
518 * generic/tclBasic.c (TclAppendObjToErrorInfo): New internal routine
519 that appends a Tcl_Obj to the errorInfo, saving the caller the trouble
520 of extracting the string rep.
522 * generic/tclStringObj.c (TclAppendLimitedToObj): New internal
523 routine that supports truncated appends with optional ellipsis marking.
524 This single routine supports UTF-8-safe truncated appends needed in
525 several places throughout the Tcl source code, mostly for error and
526 stack messages. Clean fix for [Bug 760872].
528 * generic/tclInt.h: Declarations for new internal routines.
530 * generic/tclCmdMZ.c: Updated callers to use the new routines.
531 * generic/tclCompExpr.c:
532 * generic/tclCompile.c:
533 * generic/tclExecute.c:
534 * generic/tclIOUtil.c:
535 * generic/tclNamesp.c:
537 * generic/tclParseExpr.c:
539 * generic/tclStringObj.c:
540 * mac/tclMacResource.c:
542 * library/init.tcl: Updated ::errorInfo cleanup in [unknown] to
543 reflect slight modifications to Tcl_LogCommandInfo(). Corrects failing
546 2003-10-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
548 TIP#127 IMPLEMENTATION FROM JOE MICHAEL SCHLENKER
550 * generic/tclCmdIL.c (SelectObjFromSublist): Element selection engine.
551 * generic/tclCmdIL.c (Tcl_LsearchObjCmd, Tcl_LsortObjCmd):
552 * tests/lsearch.test: Set up and use of element selection engine,
553 * tests/cmdIL.test: plus tests and documentation.
554 * doc/lsearch.n: Based on [Patch 693836]
557 2003-10-13 Vince Darley <vincentdarley@users.sourceforge.net>
560 * generic/tclFileName.c:
561 * generic/tclIOUtil.c:
562 * generic/tclPathObj.c:
565 * tests/fileName.test: better tests for [Bug 813273]
566 * unix/tclUnixFCmd.c:
567 * unix/tclUnixFile.c:
573 Fixed [Bug 800106] in which 'glob' was incapable of merging the
574 results of a directory listing (real or virtual) and any virtual
575 filesystem mountpoints in that directory (the latter were ignored).
576 This meant boundaries between different filesystems were not seamless
577 (e.g. 'glob */*' across a filesystem boundary was wrong). Added new
578 entry to Tcl_GlobTypeData in a totally backwards compatible way. To
579 allow listing of mounts, registered filesystems must support the
580 'TCL_GLOB_TYPE_MOUNT' flag. If this is not supported (e.g. in tclvfs
581 1.2) then mounts will simply not be listed for that filesystem.
583 Fixed [Bug 749876] 'file writable/readable/etc' (NativeAccess) using
584 correct permission checking code for Windows NT/2000/XP where more
585 complex user-based security/access priveleges are available,
586 particularly on shared volumes. The performance impact of this extra
587 checking will need further investigation. Note: Win 95,98,ME have no
590 Also made better use of normalized rather than translated paths in the
591 platform specific code.
593 2003-10-12 Jeff Hobbs <jeffh@ActiveState.com>
595 * unix/tclUnixTest.c (TestalarmCmd): don't bother checking return
596 value of alarm. [Bug #664755] (english)
598 2003-10-09 Pat Thoyts <patthoyts@users.sourceforge.net>
600 * win/makefile.vc: Applied patches for bug #801467 by Joe Mistachkin
601 * win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in
602 * generic/tclObj.c: Win32 VC builds.
604 2003-10-08 Don Porter <dgp@users.sourceforge.net>
606 * generic/tclBasic.c: Save and restore the iPtr->flag bits that
607 control the state of errorCode and errorInfo management when calling
608 "leave" execution traces, so that all error information of the traced
609 command is still available whether traced or not. [Bug 760947]
610 Thanks to Yahalom Emet.
612 2003-10-08 Donal K. Fellows <fellowsd@cs.man.ac.uk>
614 * generic/tclTest.c (TestNumUtfCharsCmd): Command to allow finer
615 access to Tcl_NumUtfChars for testing.
616 * generic/tclUtf.c (Tcl_NumUtfChars): Corrected string length
617 determining when the length parameter is negative; the terminator is a
618 zero byte, not (necessarily) a \u0000 character. [Bug 769812]
620 2003-10-07 Don Porter <dgp@users.sourceforge.net>
623 * tests/exec.test: Corrected temporary file management
624 * tests/fileSystem.test: issues uncovered by -debug 1 test
625 * tests/io.test: operations. Also backported some
626 * tests/ioCmd.test: other fixes from the HEAD.
628 * tests/pid.test: [Bugs 675605, 675655, 675659]
632 * tests/fCmd.test: Run tests with the [temporaryDirectory] as the
633 current directory, so that tests can depend on ability to write files.
636 * doc/OpenFileChnl.3: Updated Tcl_Tell and Tcl_Seek documentation to
637 reflect that they now return Tcl_WideInt (TIP 72). [Bug 787537]
639 * tests/io.test: Corrected several tests that failed when paths
640 * tests/ioCmd.test: included regexp-special chars. [Bug 775394]
642 2003-10-06 Jeff Hobbs <jeffh@ActiveState.com>
645 * win/tcl.m4: removed incorrect checks for existence of optimization.
646 TCL_CFG_OPTIMIZED is now defined whenever the user does not build with
649 2003-10-06 Don Porter <dgp@users.sourceforge.net>
651 * tests/regexp.test: Matched [makeFile] with [removeFile].
652 * tests/regexpComp.test: [Bug 675652]
654 * tests/fCmd.test (fCmd-8.2): Test only that tilde-substitution
655 happens, not for any particular result. [Bug 685991]
657 * unix/tcl.m4 (SC_PATH_TCLCONFIG): Corrected search path so that
658 alpha and beta releases of Tcl are not favored. [Bug 608698]
660 * tests/reg.test: Corrected duplicate test names.
661 * tests/resource.test: [Bugs 710370, 710358]
664 * tests/dict.test: Updated [package require tcltest] lines to
665 * tests/fileSystem.test: indiciate that these test files
666 * tests/lrepeat.test: use features of tcltest 2. [Bug 706114]
668 * tests/parseExpr.test:
669 * tests/unixNotfy.test:
672 2003-10-04 Miguel Sofer <msofer@users.sf.net>
674 * generic/tclExecute.c (TEBC):
675 * tests/execute.test (execute-8.2): fix for [Bug 816641] - faulty
676 execution and catch stack management.
678 2003-10-03 Don Porter <dgp@users.sourceforge.net>
680 * generic/tclBasic.c: Fixed error in ref count management of command
681 * generic/tclCmdMZ.c: and execution traces that caused access to
682 freed memory in trace-32.1. [Bug 811483]
684 2003-10-02 Don Porter <dgp@users.sourceforge.net>
686 * generic/tclTrace.c: Corrected comingling of introspection results of
687 [trace info command] and [trace info execution]. [Bug 807243]
690 2003-10-01 Daniel Steffen <das@users.sourceforge.net>
692 * macosx/Makefile: fixed redo prebinding bug when DESTDIR="".
693 * mac/tclMacResource.c: fixed possible NULL dereference (bdesgraupes).
695 2003-09-29 Vince Darley <vincentdarley@users.sourceforge.net>
697 * generic/tclPathObj.c:
698 * tests/fileName.test: fix to inconsistent handling of backslash
699 path separators on Windows in 'file join' [Bug 813273]
701 2003-09-29 Donal K. Fellows <fellowsd@cs.man.ac.uk>
703 * generic/tclPathObj.c (TclNativePathInFilesystem,TclFSGetPathType):
704 * generic/tclIOUtil.c (TclNativeDupInternalRep,TclGetPathType): Rename
705 to make sure function names won't interfere with other non-Tcl code
706 (reported by George Staplin)
708 TIP#121 IMPLEMENTATION FROM JOE MISTACHKIN
710 * generic/tclEvent.c (Tcl_SetExitProc,Tcl_Exit): Implementation of
711 application exit handler scheme.
712 * generic/tcl.decls (Tcl_SetExitProc): Public declaration.
713 * doc/Exit.3: Documentation of new API function.
715 TIP#112 IMPLEMENTATION
717 * generic/tclNamesp.c: Core of implementation.
718 * generic/tclInt.h (Namespace,TclInvalidateNsCmdLookup): Add command
719 list epoch counter and list of ensembles to namespace structure, and
720 define a macro to ease update of the epoch counter.
721 * generic/tclBasic.c (Tcl_CreateObjCommand,etc.): Update epoch counter
722 when list of commands in a namespace changes.
723 * generic/tclObj.c (TclInitObjSubsystem): Register ensemble subcommand
725 * tests/namespace.test (42.1-47.6): Tests.
726 * doc/namespace.n: Documentation.
728 * library/http/http.tcl (geturl): Correctly check the type of
729 boolean-valued options. [Bug 811170]
731 * unix/tcl.m4 (SC_ENABLE_FRAMEWORK): Added note to make it clearer
732 that this is an OSX feature, not a general Unix feature. [Bug 619440]
734 2003-09-28 David Gravereaux <davygrvy@pobox.com>
736 * win/tclWinPipe.c: The windows port of expect can call
737 TclWinAddProcess before any of the other pipe functions. Added a
738 missing PipeInit() call to make sure the initialization happens.
740 2003-09-25 Daniel Steffen <das@users.sourceforge.net>
742 * macosx/Makefile: ensure SYMROOT exists if OBJROOT is overridden on
743 command line. Replaced explict use of /usr/bin by ${BINDIR}.
745 2003-09-24 Vince Darley <vincentdarley@users.sourceforge.net>
747 * library/package.tcl (tcl::MacPkgUnknown, tcl::MacOSXPkgUnknown):
748 Minor performance tweaks to reduce the number of [file] invocations.
749 Meant to improve startup times, at least a little bit. (The generic
750 equivalent patch was applied on 2003-02-21).
752 2003-09-24 Vince Darley <vincentdarley@users.sourceforge.net>
754 * trace.test: removed 'knownBug' from a test which doesn't illustrate
755 a bug, just a bad test.
757 2003-09-23 Miguel Sofer <msofer@users.sf.net>
759 * generic/tclExecute.c:
760 * generic/tclInt.h: changed the evaluation-stack addressing mode, from
761 array-style to pointer-style; the catch stack and evaluation stack are
762 now contiguous in memory. [Patch 457449]
764 2003-09-23 Don Porter <dgp@users.sourceforge.net>
766 * tests/trace.test (trace-31,32-*): Added tests for [Bug 807243] and
769 * library/init.tcl (auto_load, auto_import): Expanded Eric Melski's
770 2000-01-28 fix for [Bug 218871] to all potentially troubled uses of
771 [info commands] on input data, where glob-special characters could
774 2003-09-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
776 * tests/expr.test (expr-23.4): Prevented accidental wrapping round of
777 exponential operation; it isn't portable, and not what I intended to
778 test either. [Bug 808244]
780 2003-09-19 Miguel Sofer <msofer@users.sf.net>
782 * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs to protect
783 all calls that may cause traces on ::errorInfo or ::errorCode to
784 corrupt the stack. [Bug 804681]
786 2003-09-17 Vince Darley <vincentdarley@users.sourceforge.net>
788 * tclPathObj.c: fix to test-suite problem introduced by the bug fix
789 below. No problem in ordinary code, just test suite code which
790 manually adjusts tclPlatform. [Bug 808247]
792 2003-09-16 Vince Darley <vincentdarley@users.sourceforge.net>
794 * doc/filename.n: documentation of Windows-specific feature as
795 discussed in [Bug 541989]
796 * generic/tclPathObj.c: fix for normalization of volume-relative paths
798 * tests/winFCmd.test: new tests for both of the above.
799 * tests/cmdAH.test: fix for AFS problem in test suite [Bug 748960]
801 2003-09-13 Donal K. Fellows <fellowsd@cs.man.ac.uk>
803 TIP#123 IMPLEMENTATION BASED ON WORK BY ARJEN MARKUS
805 * generic/tclCompile.h (INST_EXPON): Implementation of
806 * generic/tclCompile.c (tclInstructionTable): exponential operator.
807 * generic/tclCompExpr.c (operatorTable):
808 * generic/tclParseExpr.c (ParseExponentialExpr, GetLexeme):
809 * generic/tclExecute.c (TclExecuteByteCode, ExponWide, ExponLong):
810 (IllegalExprOperandType):
812 * tests/compExpr-old.test:
815 2003-09-10 Don Porter <dgp@users.sourceforge.net>
817 * library/opt/optparse.tcl: Latest revisions caused [OptGuessType]
818 to guess "int" instead of "string" for empty strings. Missed the
819 required "-strict" option to [string is]. Thanks to Revar Desmera.
822 2003-09-08 David Gravereaux <davygrvy@pobox.com>
824 * win/tclWinLoad.c (TclpDlopen): Changed the error message for
825 ERROR_PROC_NOT_FOUND to be a bit more helpful in giving us clues.
826 "can't find specified procedure" means a function in the import table,
827 for implicit loading, couldn't be resolved and that's why the load
830 2003-09-04 Don Porter <dgp@users.sourceforge.net>
833 * doc/FileSystem.3: Implementation of
834 * doc/source.n: TIPs 137/151. Adds a
835 * doc/tclsh.1: -encoding option to
836 * generic/tcl.decls: the [source] command
837 * generic/tclCmdMZ.c (Tcl_SourceObjCmd): and a new C routine,
838 * generic/tclIOUtil.c (Tcl_FSEvalFileEx): Tcl_FSEvalFileEx(),
839 * generic/tclMain.c (Tcl_Main): that provides C access
840 * mac/tclMacResource.c (Tcl_MacSourceObjCmd): to the same function.
841 * tests/cmdMZ.test: Also adds command line
842 * tests/main.test: option handling in Tcl_Main() so that tclsh
843 * tests/source.test: and other apps built on Tcl_Main() respect a
844 -encoding command line option before a script filename. Docs and tests
845 updated as well. [Patch 742683]
846 This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs
847 that embed Tcl, build on Tcl_Main(), and make use of Tcl_Main's former
848 ability to pass a leading "-encoding" option to interactive shell
851 * generic/tclInt.decls: Added internal stub
852 * generic/tclMain.c (Tcl*StartupScript*): table entries for two
853 new functions Tcl_SetStartupScript() and Tcl_GetStartupScript() that
854 set/get the path and encoding for the startup script to be evaluated
855 by either Tcl_Main() or Tk_Main(). Given public names in anticipation
856 of their exposure by a followup TIP.
858 * generic/tclDecls.h: make genstubs
859 * generic/tclIntDecls.h:
860 * generic/tclStubInit.c:
862 2003-09-04 Don Porter <dgp@users.sourceforge.net>
864 * doc/SplitList.3: Implementation of TIP 148. Fixes [Bug 489537].
865 * generic/tcl.h: Updated Tcl_ConvertCountedElement() to quote
866 * generic/tclUtil.c: the leading "#" character of all list elements
867 unless the TCL_DONT_QUOTE_HASH flag is passed in.
869 * generic/tclDictObj.c: Updated Tcl_ConvertCountedElement() callers
870 * generic/tclListObj.c: to pass in the TCL_DONT_QUOTE_HASH flags
871 * generic/tclResult.c: when appropriate.
873 2003-08-31 Don Porter <dgp@users.sourceforge.net>
875 * doc/return.n: Updated [return] docs to cover new TIP 90 features.
877 * doc/break.n: Added SEE ALSO references to return.n
880 2003-09-01 Donal K. Fellows <fellowsd@cs.man.ac.uk>
882 * doc/Namespace.3: Basic documentation for the TIP#139 functions. This
883 will need improving, but the basic bits are there at least.
885 2003-08-31 Don Porter <dgp@users.sourceforge.net>
887 * doc/catch.n: Updated [catch] docs to cover new TIP 90 features.
889 2003-08-29 Don Porter <dgp@users.sourceforge.net>
891 * generic/tclCmdAH.c: Corrected bug in TIP 90 implementation where
892 * tests/cmdMZ.test: the default -errorcode NONE value was not
893 copied into the return options dictionary. This correction modified
896 2003-08-27 David Gravereaux <davygrvy@pobox.com>
898 * compat/strftime.c (_fmt): Removed syst array intializer that
899 couldn't take variables within it under the watcom compiler:
900 'Initializers must be constant'. I believe Borland has this strictness
901 as well. VC++ must be non-standard about this.
903 Changed Win32 platform #ifdef from 'WIN32' to '__WIN32__' as this is
904 the correct one to use across the Tcl sources. Even though we do force
905 it in tcl.h, the true parent one is __WIN32__.
907 Added missing CONST'ification usage to match prototype listed in
910 * win/tclWinPort.h: Added a block for OpenWatcom adjustments that
911 fixes 1) the same issue Mo did for MinGW lack of missing LPFN_*
912 typedefs in their WINE derived <winsock2.h> and 2) The need to be
913 strict about how the char type needs to be signed by default.
915 * win/tclWinSock.c: Added OpenWatcom to the commentary about the
916 #ifdef HAVE_NO_LPFN_DECLS block.
918 * win/tclWinTime.c: Changed use of '_timezone' to 'timezone' as this
919 difference is already adjusted for in tclWinPort.h. Removed
920 unreferenced posixEpoch file-scope global.
922 * win/tclWinFile.c (WinReadLinkDirectory): Fix for 'Initializers must
923 be constant' with the driveSpec array using OpenWatcom.
925 2003-08-27 Don Porter <dgp@users.sourceforge.net>
927 * generic/tclUtil.c: Corrected [Bug 411825] and other bugs in
928 TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped
929 spaces were handled incorrectly.
930 * tests/util.test: Added new tests util-8.[2-6].
932 2003-08-26 David Gravereaux <davygrvy@pobox.com>
934 * generic/tcl.h: Added some support for the LCC-Win32 compiler.
935 Unfortunetly, this compiler has a bug in its preprocessor and can't
936 build Tcl even with this minor patch. Also added some support for the
937 OpenWatcom compiler. A new win/makefile.wc to follow soon.
939 2003-08-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
941 * tools/genStubs.tcl (genStubs::makeDecl): A more subtle way of
942 generating stubbed declarations allows us to have declarations of a
943 function in multiple interfaces simultaneously.
945 * generic/tcl.decls: Duplicated some namespace declarations from
946 tclInt.decls here, as mandated by TIP #139. This is OK since the
947 declarations match and will end up using the declarations in the
948 public code from now on because of #include ordering. Keeping the old
949 declarations in tclInt.decls; there's no need to gratuitously break
950 compatibility for those extensions which are already clients of the
953 2003-08-23 Zoran Vasiljevic <zoran@archiwrae.com>
955 * generic/tclIOUtil.c: merged fixes for thread-unsafe handling of
956 filesystem records [Bug 753315]. This also fixed the [Bug 788780]
957 * generic/tclPathObj.c: merged fixes for thread-unsafe handling of
958 filesystem records. [Bug 753315]
960 * generic/tclFileSystem.h: merged fixes for thread-unsafe handling of
961 filesystem records. [Bug 753315]
963 2003-08-19 Pat Thoyts <patthoyts@users.sourceforge.net>
965 * win/tclWinSerial.c (SerialErrorStr): Fixed a syntax error created in
966 the previous code cleanup.
968 2003-08-19 Donal K. Fellows <fellowsd@cs.man.ac.uk>
970 * win/tclWinSerial.c: Adjusted commenting and spacing usage to follow
971 the principles of the Style Guide better.
973 2003-08-18 Mo DeJong <mdejong@users.sourceforge.net>
975 * win/configure: Regen.
976 * win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead of -eq, which does
977 not work. [Bug 781109]
979 2003-08-13 Chengye Mao <chengye.geo@yahoo.com>
981 * win/tclWinPipe.c: fixed a bug in BuildCommandLine. This bug built a
982 command line with a missing space between tclpipe.dll and the
983 following arguments. It caused error in Windows 98 when exec
984 command.com (e.g. dir). [Bug 789040]
986 2003-08-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
988 TIP #136 IMPLEMENTATION from Simon Geard <simon.geard@ntlworld.com>
989 * generic/tclCmdIL.c (Tcl_LrepeatObjCmd): Adapted version of Simon's
990 * doc/lrepeat.n: patch, updated to the HEAD
991 * tests/lrepeat.test: and matching the core style.
992 * generic/tclBasic.c (buildIntCmds): Splice into core.
994 * doc/list.n: Cross-reference.
996 2003-08-06 Jeff Hobbs <jeffh@ActiveState.com>
998 * win/tclWinInit.c: recognize amd64 and ia32_on_win64 cpus.
1000 2003-08-06 Don Porter <dgp@users.sourceforge.net>
1002 * library/msgcat/msgcat.tcl: Added escape so that non-Windows
1003 * library/msgcat/pkgIndex.tcl: platforms do not try to use the
1004 registry package. This can save a costly and pointless package search.
1005 Bumped to 1.3.1. Thanks to Dave Bodenstab. [Bug 781609]
1007 2003-08-05 Miguel Sofer <msofer@users.sf.net>
1009 * generic/tclExecute.c (INST_INVOKE, INST_EVAL, INST_PUSH_RESULT):
1010 added a Tcl_ResetResult(interp) at each point where the interp's
1011 result is pushed onto the stack, to avoid keeping an extra reference
1012 that may cause costly Tcl_Obj duplication. Detected by Franco Violi,
1013 analyzed by Peter Spjuth and Donal Fellows. [Bug 781585]
1015 2003-07-28 Vince Darley <vincentdarley@users.sourceforge.net>
1018 * doc/Translate.3: better documentation of Tcl_TranslateFileName and
1019 related functions. [Bug 775220]
1021 2003-07-24 Mo DeJong <mdejong@users.sourceforge.net>
1023 * generic/tcl.h: Revert change made on 2003-07-21 since it made the
1024 sizeof(Tcl_Obj) different for regular vs mem debug builds.
1025 * generic/tclInt.h: Define TclDecrRefCount in terms of
1026 Tcl_DbDecrRefCount which removes one layer of inderection.
1027 * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount,
1028 (Tcl_DbDecrRefCount, Tcl_DbIsShared): Define ThreadSpecificData that
1029 contains a hashtable. The table is used to ensure that a Tcl_Obj is
1030 only acted upon in the thread that allocated it. This checking code is
1031 enabled only when mem debug and threads are enabled.
1033 2003-07-24 Don Porter <dgp@users.sourceforge.net>
1035 * tests/async.test: Added several tests that demonstrate [Bug
1036 * tests/basic.test: 489537], Tcl's longstanding failure to
1037 * tests/dict.test: properly quote any leading '#' character when
1038 * tests/dstring.test: generating the string rep of a list so that
1039 * tests/list.test: the comment-power of that character is hidden
1040 * tests/parse.test: from any [eval], in order to satisfy the
1041 * tests/util.test: documentation that [list] does [eval]-safe
1044 2003-07-24 Reinhard Max <max@suse.de>
1046 * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.
1047 * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
1049 * ChangeLog.2002 (new file):
1050 * ChangeLog: broke changes from 2002 into ChangeLog.2002 to reduce
1051 size of the main ChangeLog.
1053 2003-07-23 Daniel Steffen <das@users.sourceforge.net>
1055 * unix/Makefile.in: changes to html-tcl & html-tk targets for
1056 compatibility with non-gnu makes.
1058 * unix/Makefile.in: added macosx/README to dist target.
1060 2003-07-23 Pat Thoyts <patthoyts@users.sourceforge.net>
1062 * win/tclWinReg.c (OpenSubKey): Fixed bug 775976 which causes the
1063 registry set command to fail when built with VC7.
1064 * library/reg/pkgIndex.tcl: Incremented the version to 1.1.2.
1066 2003-07-21 Mo DeJong <mdejong@users.sourceforge.net>
1068 Check that the thread incrementing or decrementing the ref count of a
1069 Tcl_Obj is the thread that originally allocated the thread. This fail
1070 fast behavior will catch programming errors that allow a single
1071 Tcl_Obj to be accessed from multiple threads.
1073 * generic/tcl.h (Tcl_Obj): Add allocThread member to Tcl_Obj. This
1074 member records the thread id the Tcl_Obj was allocated. It is used to
1075 check that any future ref count incr or decr is done from the same
1076 thread that allocated the Tcl_Obj. This member is defined only when
1077 threads and mem debug are enabled.
1078 * generic/tclInt.h (TclNewObj, TclDbNewObj, TclDecrRefCount):
1079 Define TclNewObj and TclDbNewObj using TclDbInitNewObj when mem debug
1080 is enabled. This fixes a problem where TclNewObj calls did not work
1081 the same as TclDbNewObj when mem debug was enabled.
1082 * generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount,
1083 (Tcl_DbDecrRefCount): Add new helper to init Tcl_Obj members when mem
1084 debug is enabled. Init the allocThread member in TclDbInitNewObj and
1085 check it in Tcl_DbIncrRefCount and Tcl_DbDecrRefCount to make sure a
1086 Tcl_Obj allocated in one thread is not being acted upon in another
1089 2003-07-21 Vince Darley <vincentdarley@users.sourceforge.net>
1091 * test/cmdAH.test: ensure certain tests run in local filesystem. [Bug
1094 2003-07-18 Daniel Steffen <das@users.sourceforge.net>
1096 * macosx/Makefile: added option to allow installing manpages in
1097 addition to default html help.
1099 2003-07-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1101 * doc/Utf.3: Tightened up documentation of Tcl_UtfNext and Tcl_UtfPrev
1102 to better match the behaviour. [Bug 769895]
1104 2003-07-18 Jeff Hobbs <jeffh@ActiveState.com>
1106 * library/http/pkgIndex.tcl: upped to http v2.4.4
1107 * library/http/http.tcl: add support for user:pass info in URL.
1108 * tests/http.test: [Bug 759888] (shiobara)
1110 2003-07-18 Don Porter <dgp@users.sourceforge.net>
1112 * doc/tcltest.n: Restored the [Eval] proc to replace
1113 * library/tcltest/tcltest.tcl: the [::puts] command when either the
1114 -output or -error option for [test] is in use, in order to capture
1115 data written to the output or error channels for comparison against
1116 what is expected. This is easier to document and agrees better with
1117 most user expectations than the previous attempt to replace [puts]
1118 only in the caller's namespace. Documentation made more precise on
1119 the subject. [Bug 706359]
1121 * doc/AddErrInfo.3: Improved consistency of documentation by
1122 * doc/CrtTrace.3: using "null" everywhere to refer to the
1123 * doc/Encoding.3: character '\0', and using "NULL" everywhere
1124 * doc/Eval.3: to refer to the value of a pointer that points
1125 * doc/GetIndex.3: to nowhere. Also dropped references to ASCII
1126 * doc/Hash.3: that are no longer true, and standardized on
1127 * doc/LinkVar.3: the hyphenated spelling of "null-terminated".
1129 * doc/OpenFileChnl.3:
1134 * doc/CrtSlave.3 (Tcl_MakeSafe): Removed warning about possible
1135 deprecation (no TIP on that).
1137 2003-07-17 Daniel Steffen <das@users.sourceforge.net>
1139 * unix/tclUnixFCmd.c: fix for compilation errors on platforms where
1140 configure detects non-functional chflags(). [Bug 748946]
1142 * macosx/Makefile: Rewrote buildsystem for Mac OS X framework build
1143 to be purely make driven; in order to become independent of Apple's
1144 closed-source IDE and build tool. The changes are intended to be
1145 transparent to the Makefile user, all existing make targets and cmd
1146 line variable overrides should continue to work. Changed build to only
1147 include tcl specific html help in Tcl.framework, the tk specific html
1148 help is now included in Tk.framework. Added var to allow overriding of
1149 tclsh used during html help building (Landon Fuller).
1151 * macosx/Tcl.pbproj/project.pbxproj:
1152 * macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through to
1153 the make driven buildsystem; Tcl.framework is no longer assembled by
1155 Set default SYMROOT in target options to simplify setting up PB
1156 (manually setting common build folder for tcl & tk no longer needed).
1158 * tools/tcltk-man2html.tcl: Added options to allow building only the
1159 tcl or tk html help files; the default behaviour with none of the new
1160 options is to build both, as before.
1162 * unix/Makefile.in: Added targets for building only the tcl or tk help
1164 * macosx/README (new): Tcl specific excerpts of tk/macosx/README.
1166 * generic/tcl.h: Updated reminder comment about editing
1167 macosx/Tcl.pbproj/project.pbxproj when version number changes.
1169 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>
1171 * generic/tclPathObj.c (SetFsPathFromAny): Add Cygwin specific code to
1172 convert POSIX filename to native format.
1173 * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here.
1174 (TclDoGlob): Adjust for cygwin and append / for dirs instead of \
1175 * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin.
1178 2003-07-16 Jeff Hobbs <jeffh@ActiveState.com>
1180 * library/safe.tcl (FileInAccessPath): normalize paths before
1181 comparison. [Bug 759607] (myers)
1183 * unix/tclUnixNotfy.c (NotifierThreadProc): correct size of found and
1184 word vars from int to long. [Bug 767578] (hgo)
1186 * generic/tcl.h: Add recognition of -DTCL_UTF_MAX=6 on the make
1187 * generic/regcustom.h: line to support UCS-4 mode. No config arg at
1188 this time, as it is not the recommended build mode.
1190 * generic/tclPreserve.c: In Result and Preserve'd routines, do not
1191 * generic/tclUtil.c: assume that ckfree == free, as that is not
1192 * generic/tclResult.c: always true. [Bug 756791] (fuller)
1194 2003-07-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1196 * doc/CrtSlave.3 (Tcl_MakeSafe): Updated documentation to strongly
1197 discourage use. IMHO code outside the core that uses this function is
1198 a bug... [Bug 655300]
1200 2003-07-16 Don Porter <dgp@users.sourceforge.net>
1202 * generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]
1203 * generic/tclPathObj.c (Tcl_FSConvertToPathType):[Bug 771947]
1204 * unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949]
1205 Silence compiler warnings about unreached lines.
1207 * library/tcltest/tcltest.tcl (ProcessFlags): Corrected broken call
1208 * library/tcltest/pkgIndex.tcl: to [lrange]. Bumped to
1209 version 2.2.4. [Bug 772333]
1211 2003-07-15 Mo DeJong <mdejong@users.sourceforge.net>
1213 * unix/dltest/pkga.c (Pkga_EqObjCmd): Fix typo that was causing a
1216 2003-07-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1218 * doc/array.n: Make sure docs are synched with the 8.4 release.
1220 2003-07-15 Don Porter <dgp@users.sourceforge.net>
1222 * doc/http.n: Updated SYNOPSIS to match actual syntax of commands.
1225 * unix/dltest/pkga.c: Updated to not use Tcl_UtfNcmp and counted
1226 strings instead of strcmp (not defined in any #include'd header) and
1227 presumed NULL-terminated strings.
1229 * generic/tclCompCmds.c (TclCompileIfCmd): Prior fix of Bug 711371 on
1230 2003-04-07 introduced a buffer overflow. Corrected. [Bug 771613]
1232 2003-07-15 Kevin B. Kenny <kennykb@acm.org>
1234 * win/rules.vc: Added a missing $(OPTDEFINES) which broke the build if
1235 STATS=memdbg was specified.
1237 2003-07-15 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1239 * generic/tclCmdIL.c (SortCompare): Cleared up confusing error
1240 message. [Bug 771539]
1242 2003-07-11 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1244 * tests/binary.test (binary-46.*): Tests to help enforce the current
1246 * doc/binary.n: Documented that [binary format a] and [binary scan a]
1247 do encoding conversion by dropping high bytes, unlike the rest of the
1250 2003-07-11 Don Porter <dgp@users.sourceforge.net>
1252 * library/package.tcl: Corrected [pkg_mkIndex] bug reported on
1253 comp.lang.tcl. The indexer was searching for newly indexed packages
1254 instead of newly provided packages.
1256 2003-07-08 Vince Darley <vincentdarley@users.sourceforge.net>
1258 * tests/winFCmd.test: fix for five tests under win98 [Bug 767679]
1260 2003-07-07 Jeff Hobbs <jeffh@ActiveState.com>
1262 * doc/array.n: add examples from Welton
1264 2003-06-23 Vince Darley <vincentdarley@users.sourceforge.net>
1266 * doc/file.n: clarification of 'file tail' behaviour [Bug 737977]
1268 2003-07-04 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1270 * doc/expr.n: Tighten up the wording of some operations. [Bug 758488]
1272 * tests/cmdAH.test: Made tests of [file mtime] work better on FAT
1273 filesystems. [Patch 760768] Also a little general cleanup.
1275 * generic/tclCmdMZ.c (Tcl_StringObjCmd): Made [string map] accept
1276 dictionaries for maps. This is much trickier than it looks, since map
1277 entry ordering is significant. [Bug 759936]
1279 * generic/tclVar.c (Tcl_ArrayObjCmd, TclArraySet): Made [array get]
1280 and [array set] work with dictionaries, producing them and consuming
1281 them. Note that for compatibility reasons, you will never get a dict
1282 from feeding a string literal to [array set] since that alters the
1283 trace behaviour of "multi-key" sets. [Bug 759935]
1285 2003-06-23 Vince Darley <vincentdarley@users.sourceforge.net>
1287 * generic/tclTrace.c: fix to Window debug build compilation error.
1289 2003-06-27 Don Porter <dgp@users.sourceforge.net>
1291 * tests/init.test: Added [cleanupTests] to report results of tests
1292 * tests/pkg.test: that run in slave interps. [Bugs 761334,761344]
1294 * tests/http.test: Used more reliable path to find httpd script.
1296 2003-06-25 Don Porter <dgp@users.sourceforge.net>
1298 * tests/init.test: Added tests init-4.6.* to illustrate [Bug 760872]
1300 2003-06-25 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1302 * generic/tclTrace.c: New file, factoring out of virtually all the
1303 various trace-related things from tclBasic.c and tclCmdMZ.c with the
1304 goal of making this a separate maintenance area.
1306 2003-06-25 Mo DeJong <mdejong@users.sourceforge.net>
1308 * unix/configure: Regen.
1309 * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when compiling with cc and
1310 add -mieee when compiling with gcc under OSF1-V5 "Tru64" systems. [Bug
1313 2003-06-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1315 * doc/encoding.n: Corrected the docs to say that [source] uses the
1316 system encoding, which it always did anyway (since 8.1) [Bug 742100]
1318 2003-06-24 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1320 * generic/tclHash.c (Tcl_HashStats): Prevented occurrence of
1321 division-by-zero problems. [Bug 759749]
1323 2003-06-24 Mo DeJong <mdejong@users.sourceforge.net>
1325 * unix/tclUnixPort.h: #undef inet_ntoa before #define to avoid
1326 compiler warning under freebsd. [Bug 745844]
1328 2003-06-23 Pat Thoyts <patthoyts@users.sourceforge.net>
1330 * doc/dde.n: Committed TIP #135 which changes the
1331 * win/tclWinDde.c: -exact option to -force. Also cleaned a
1332 * tests/winDde.test: bug in the tests.
1333 * library/dde/pkgIndex.tcl: Incremented version to 1.2.5
1335 * doc/dde.n: Committed TIP #120 which provides the
1336 * win/tclWinDde.c: dde package for safe interpreters.
1337 * tests/winDde.test: Incremented package version to 1.2.4
1338 * library/dde/pkgIndex.tcl:
1340 2003-06-23 Vince Darley <vincentdarley@users.sourceforge.net>
1342 * generic/tclFCmd.c: fix to bad error message when trying to do 'file
1343 copy foo ""'. [Bug 756951]
1344 * tests/fCmd.test: added two new tests for the bug.
1347 * win/tclWin32Dll.c: recommitted some filesystem globbing speed-ups,
1348 but disabled some on the older Win 95/98/ME where they don't seem to
1351 * doc/FileSystem.3: documentation fix [Bug 720634]
1353 2003-06-18 Miguel Sofer <msofer@users.sf.net>
1355 * generic/tclNamesp.c (Tcl_Export): removed erroneous comments. [Bug
1358 2003-06-17 Vince Darley <vincentdarley@users.sourceforge.net>
1360 * win/makefile.vc: fixes to check-in below so compilation now works
1363 * generic/tclCmdMZ.c:
1364 * tests/regexp.test: fixing of bugs related to regexp and regsub
1365 matching of empty strings. Addition of a number of new tests. [Bug
1368 2003-06-16 Andreas Kupries <andreask@activestate.com>
1370 * win/Makefile.in: Haven't heard back from David for a week. Now
1371 * win/configure: committing the remaining changes.
1372 * win/configure.in: Note: In active contact with Helmut Giese about
1373 * win/makefile.vc: the borland relatedchanges. This part will see
1374 * win/rules.vc: future updates.
1378 2003-06-10 Andreas Kupries <andreask@activestate.com>
1380 * generic/tclConfig.c (ASSOC_KEY): Changed the key to
1381 "tclPackageAboutDict" (tcl prefix) to make collisions with the keys of
1382 other packages more unlikely.
1384 2003-06-10 Miguel Sofer <msofer@users.sf.net>
1386 * generic/tclBasic.c:
1387 * generic/tclExecute.c: let TclExecuteObjvInternal call
1388 TclInterpReady instead of relying on its callers to do so; fix for the
1389 part of [Bug 495830] that is new in 8.4.
1390 * tests/interp.test: Added tests 18.9 (knownbug) and 18.10
1392 2003-06-09 Andreas Kupries <andreask@activestate.com>
1394 * generic/tcl.decls: Ported the changes from the
1395 * generic/tcl.h: 'tip-59-implementation' branch into the CVS
1396 * generic/tclBasic.c: head. Regenerated stub table. Regenerated the
1397 * generic/tclInt.h: configure's scripts, with help from Joe English.
1398 * generic/tclDecls.h:
1399 * generic/tclStubInit.c:
1400 * generic/tclConfig.c:
1401 * generic/tclPkgConfig.c:
1403 * unix/configure.in: The changes in the windows section are not yet
1404 * unix/tcl.m4: committed, they await feedback from David
1405 * unix/mkLinks: Gravereaux.
1407 * mac/tclMacPkgConfig.c:
1408 * tests/config.test:
1410 2003-06-09 Don Porter <dgp@users.sourceforge.net>
1412 * string.test (string-4.15): Added test for [string first] bug
1413 reported in Tcl 8.3, where test for all-single-byte-encoded strings
1416 2003-06-04 Joe Mistachkin <joe@mistachkin.com>
1418 * tools/man2help.tcl: Added duplicate help section checking and
1419 * tools/index.tcl: corrected a comment typo for the getTopics proc
1420 in index.tcl. [Bug 748700]
1422 2003-06-02 Vince Darley <vincentdarley@users.sourceforge.net>
1425 * tests/fCmd.test: fix to [Bug #747575] in which a bad error message
1426 is given when trying to rename a busy directory to one with the same
1427 prefix, but not the same name. Added three new tests.
1429 2003-05-23 D. Richard Hipp <drh@hwaci.com>
1431 * win/tclWinTime.c: Add tests to detect and avoid a division by zero
1432 in the windows precision timer calibration logic.
1434 2003-05-23 Don Porter <dgp@users.sourceforge.net>
1436 * generic/tclObj.c (tclCmdNameType): Converted internal rep
1437 management of the cmdName Tcl_ObjType the opposite way, to always use
1438 the twoPtrValue instead of always using the otherValuePtr. Previous
1439 fix on 2003-05-12 broke several extensions that wanted to poke around
1440 with the twoPtrValue.ptr2 value of a cmdName Tcl_Obj, like TclBlend
1441 and e4graph. [Bug 726018]
1442 Thanks to George Petasis for the bug report and Jacob Levy for testing
1445 2003-05-23 Mo DeJong <mdejong@users.sourceforge.net>
1447 * unix/mkLinks: Set the var S to "" at the top of the file to avoid
1448 error when user has set S to something. [Tk Bug 739833]
1450 2003-05-22 Daniel Steffen <das@users.sourceforge.net>
1452 * macosx/Tcl.pbproj/project.pbxproj: added missing references to new
1453 source files tclPathObj.c and tclMacOSXFCmd.c.
1455 * macosx/tclMacOSXBundle.c: fixed a problem that caused only the first
1456 call to Tcl_MacOSXOpenVersionedBundleResources() for a given bundle
1457 identifier to succeed. This caused the tcl runtime library not to be
1458 found in all interps created after the inital one.
1460 2003-05-19 Kevin B. Kenny <kennykb@hippolyta>
1462 * unix/tclUnixTime.c: Corrected a bug in conversion of non-ASCII
1463 chars in the format string.
1465 2003-05-19 Daniel Steffen <das@users.sourceforge.net>
1467 * macosx/Tcl.pbproj/project.pbxproj: changed tclConfig.sh location in
1468 versioned framework subdirectories to be identical to location in
1469 framework toplevel; fixed stub library symbolic links to be tcl
1472 * unix/tclUnixTime.c: fixed typo.
1474 2003-05-18 Kevin Kenny <kennykb@acm.org>
1476 * compat/strftime.c: Modified TclpStrftime to return its result in
1477 * generic/tclClock.c: UTF-8 encoding, and removed the conversion from
1478 * mac/tclMacTime.c: system encoding to UTF-8 from [clock format].
1479 * unix/tclUnixTime.c: Needed to avoid double conversion of the
1480 * win/tclWinTime.c: timezone name on Windows systems. [Bug 624408]
1482 2003-05-16 Pat Thoyts <patthoyts@users.sourceforge.net>
1484 * library/dde/pkgIndex.tcl: Applied TIP #130 which provides for
1485 * tests/winDde.test: unique dde server names. Added some more
1486 * win/tclWinDde.c: tests. Fixes [Bug 219293]
1488 * doc/dde.n: Updated documentation re TIP #130.
1489 * tests/winDde.test: Applied patch for [Bug 738929] by KKB and changed
1492 2003-05-16 Kevin B. Kenny <kennykb@acm.org>
1494 * unix/Makefile.in: Removed one excess source file tclDToA.c
1496 2003-05-16 Daniel Steffen <das@users.sourceforge.net>
1498 * macosx/Tcl.pbproj/project.pbxproj: updated copyright year.
1500 2003-05-15 Kevin B. Kenny <kennykb@acm.org>
1502 * generic/tclGetDate.y: added further hackery to the yacc
1503 * generic/tclDate.c: post-processing to arrange for the code to set
1504 * unix/Makefile.in: up exit handlers to free the stacks. [Bug
1507 2003-05-15 Jeff Hobbs <jeffh@ActiveState.com>
1509 * win/tclWinFile.c (TclpMatchInDirectory): revert glob code to r1.44
1510 as 2003-04-11 optimizations broke Windows98 glob'ing.
1512 * doc/socket.n: nroff font handling correction
1514 * library/encoding/gb2312-raw.enc (new): This is the original
1515 gb2312.enc renamed to allow for it to still be used. This is needed by
1516 Tk (unix) because X fonts with gb2312* charsets really do want the
1517 original gb2312 encoding. [Bug 557030]
1519 2003-05-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1521 * generic/tclCmdAH.c (Tcl_FormatObjCmd): Stop unwarranted demotion of
1522 wide values to longs by formatting of int values. [Bug 699060]
1524 2003-05-14 Jeff Hobbs <jeffh@ActiveState.com>
1526 * library/encoding/gb2312.enc: copy euc-cn.enc over original
1527 gb2312.enc. gb2312.enc appeared to not work as expected, and most uses
1528 of gb2312 really mean euc-cn (which may be the cause of the problem).
1531 2003-05-14 Daniel Steffen <das@users.sourceforge.net>
1533 Implementation of TIP 118:
1535 * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes
1536 that can be retrieved without error for a given file, instead of
1537 aborting the whole command when any error occurs.
1539 * unix/tclUnixFCmd.c: added support for new file attributes and for
1540 copying Mac OS X file attributes & resource fork during [file copy].
1542 * generic/tclInt.decls: added declarations of new external commands
1543 needed by new file attributes support in tclUnixFCmd.c.
1545 * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of
1546 new file attributes and of attribute & resource fork copying.
1548 * mac/tclMacFCmd.c: added implementation of -rsrclength attribute &
1549 fixes to other attributes for consistency with OSX implementation.
1551 * mac/tclMacResource.c: fixes to OSType handling.
1553 * doc/file.n: documentation of [file attributes] changes.
1555 * unix/configure.in: check for APIs needed by new file attributes.
1558 * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source.
1561 * generic/tclStubInit.c:
1562 * generic/tclIntPlatDecls.h: regen.
1564 * tools/genStubs.tcl: fixes to completely broken code trying to
1565 prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries.
1567 * tests/unixFCmd.test: added tests of -readonly attribute.
1569 * tests/macOSXFCmd.test (new): tests of macosx file attributes and of
1570 preservation of attributes & resource fork during [file copy].
1572 * tests/macFCmd.test: restore -readonly attribute of test dir, as
1573 otherwise its removal can fail on unices supporting -readonly.
1575 2003-05-13 David Gravereaux <davygrvy@pobox.com>
1577 * generic/tclEnv.c: Another putenv() copy behavior problem repaired
1578 when compiling on windows and using microsoft's runtime. [Bug 736421]
1580 2003-05-13 Jeff Hobbs <jeffh@ActiveState.com>
1582 * generic/tclIOUtil.c: ensure cd is thread-safe.
1583 [Bug 710642] (vasiljevic)
1585 2003-05-13 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1587 * generic/tclEvent.c (Tcl_Finalize): Removed unused variable to reduce
1588 compiler warnings. [Bug 664745]
1590 2003-05-13 Joe Mistachkin <joe@mistachkin.com>
1592 * generic/tcl.decls: Changed Tcl_JoinThread parameter name from
1593 * generic/tclDecls.h: "id" to "threadId". [Bug 732477]
1594 * unix/tclUnixThrd.c:
1598 2003-05-13 Daniel Steffen <das@users.sourceforge.net>
1600 * generic/tcl.decls:
1601 * macosx/tclMacOSXBundle.c: added extended version of the
1602 Tcl_MacOSXOpenBundleResources() API taking an extra version number
1603 argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to
1604 be able to access bundle resources in versioned frameworks such as Tcl
1605 and Tk, otherwise if multiple versions were installed, only the latest
1606 version's resources could be accessed. [Bug 736774]
1608 * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned
1609 bundle resource API to get tcl runtime library for TCL_VERSION. [Bug
1612 * generic/tclPlatDecls.h:
1613 * generic/tclStubInit.c: regen.
1615 * unix/tclUnixPort.h: worked around the issue of realpath() not
1616 being thread-safe on Mac OS X by defining NO_REALPATH for threaded
1617 builds on Mac OS X. [Bug 711232]
1619 2003-05-12 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1621 * tests/cmdAH.test: General clean-up of tests so that all
1622 tcltest-specific commands are protected by constraints and all
1623 platforms see the same number of tests. [Bug 736431]
1625 2003-05-12 Don Porter <dgp@users.sourceforge.net>
1627 * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the words
1628 * tests/interp.test (interp-33.1): of the target of an interp
1629 alias during its execution. Also added test. [Bug 730244]
1631 * generic/tclBasic.c (TclInvokeObjectCommand): objv[argc] is no
1632 longer set to NULL (Tcl_CreateObjCommand docs already say that it
1633 should not be accessed).
1635 * tests/cmdMZ.test: Forgot to import [temporaryDirectory].
1637 * generic/tclObj.c (tclCmdNameType): Corrected variable use of the
1638 otherValuePtr or the twoPtrValue.ptr1 fields to store a
1639 (ResolvedCmdName *) as the internal rep. [Bug 726018]
1641 * doc/Eval.3: Corrected prototype for Tcl_GlobalEvalObj [Bug 727622].
1643 2003-05-12 Miguel Sofer <msofer@users.sf.net>
1645 * generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,
1646 disabling usage of tclNsVarNameType.
1647 * tests/var.test (var-15.1): test for [Bug 735335]
1649 2003-05-10 Jeff Hobbs <jeffh@ActiveState.com>
1651 * win/tclWinSerial.c (SerialCloseProc): correct mem leak on closing a
1652 Windows serial port [Bug 718002] (schroedter)
1654 * generic/tclCmdMZ.c (Tcl_StringObjCmd): prevent string repeat crash
1655 when overflow sizes were given (throws error). [Bug 714106]
1657 2003-05-09 Joe Mistachkin <joe@mistachkin.com>
1659 * generic/tclThreadAlloc.c (TclFreeAllocCache): Fixed memory leak
1660 caused by treating cachePtr as a TLS index. [Bug 731754]
1662 * win/tclAppInit.c (Tcl_AppInit): Fixed memory leaks caused by not
1663 freeing the memory allocated by setargv and the async handler created
1664 by Tcl_AppInit. An exit handler has been created that takes care of
1665 both leaks. In addition, Tcl_AppInit now uses ckalloc instead of
1666 Tcl_Alloc to allow for easier leak tracking and to be more consistent
1667 with the rest of the Tcl core. [Bugs 733156, 733221]
1669 * tools/encoding/txt2enc.c (main): Fixed memory leak caused by failing
1670 to free the memory used by the toUnicode array of strings [Bug 733221]
1672 2003-05-09 Miguel Sofer <msofer@users.sf.net>
1674 * generic/tclCompile.c (TclCompileScript):
1675 * tests/compile.test (compile-3.5): corrected wrong test and
1676 behaviour in the earlier fix for [Bug 705406]; Don Porter reported
1677 this as [Bug 735055], and provided the solution.
1679 2003-05-09 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1681 * generic/tclCmdMZ.c (Tcl_ReturnObjCmd): The array of strings passed
1682 to Tcl_GetIndexFromObj must be NULL terminated. [Bug 735186]
1683 Thanks to Joe Mistachkin for spotting this.
1685 2003-05-07 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1687 * doc/trace.n: Fixed very strange language in the documentation for
1688 'trace add execution'. [Bug 729821]
1690 * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Made error message for 'trace
1691 info' more consistent with documentation. [Bug 706961]
1693 * generic/tclDictObj.c (DictInfoCmd): Fixed memory leak caused by
1694 confusion about string ownership. [Bug 731706]
1696 2003-05-05 Don Porter <dgp@users.sourceforge.net>
1698 * generic/tclBasic.c: Implementation of TIP 90, which
1699 * generic/tclCmdAH.c: extends the [catch] and [return]
1700 * generic/tclCompCmds.c: commands to enable creation of a
1701 * generic/tclExecute.c: proc that is a replacement for
1702 * generic/tclInt.h: [return]. [Patch 531640]
1703 * generic/tclProc.c:
1704 * generic/tclResult.c:
1708 * tests/proc-old.test:
1710 * library/tcltest/tcltest.tcl: The -returnCodes option to [test]
1711 failed to recognize the symbolic name "ok" for return code 0.
1713 2003-05-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1715 * generic/tclBasic.c (Tcl_HideCommand): Fixed error message for
1716 grammar and spelling.
1718 2003-04-28 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1720 * generic/tclDictObj.c (DictIncrCmd): Updated to reflect the behaviour
1721 with wide increments of the normal [incr] command.
1722 * generic/tclInt.decls: Added TclIncrWideVar2 to internal stub table
1724 * tests/incr.test (incr-3.*):
1725 * generic/tclVar.c (TclIncrWideVar2, TclPtrIncrWideVar):
1726 * generic/tclExecute.c (TclExecuteByteCode):
1727 * generic/tclCmdIL.c (Tcl_IncrObjCmd): Make [incr] work when trying to
1728 increment by wide values. [Bug 728838]
1730 * generic/tclCompCmds.c (TclCompileSwitchCmd): Default mode of
1731 operation of [switch] is exact matching. [Bug 727563]
1733 2003-04-25 Don Porter <dgp@users.sourceforge.net>
1735 * generic/tclBasic.c: Tcl_EvalObjv() failed to honor the
1736 TCL_EVAL_GLOBAL flag when resolving command names. Tcl_EvalEx passed a
1737 string rep including leading whitespace and comments to
1738 TclEvalObjvInternal().
1740 2003-04-25 Andreas Kupries <andreask@activestate.com>
1742 * win/tclWinThrd.c: Applied SF patch #727271. This patch changes the
1743 code to catch any errors returned by the windows functions handling
1744 TLS ASAP instead of waiting to get some mysterious crash later on due
1745 to bogus pointers. Patch provided by Joe Mistachkin.
1747 This is a stop-gap measure to deal with the low number of ?TLS slots
1748 provided by some of the variants of Windows (60-80).
1750 2003-04-24 Vince Darley <vincentdarley@users.sourceforge.net>
1752 * generic/tclFileName.c: fix to bug reported privately by Jeff where,
1753 for example, 'glob -path {[tcl]} *' gets confused by the leading
1754 special character (which is escaped internally), and instead lists
1755 files in '/'. Bug only occurs on Windows where '\' is also a directory
1757 * tests/fileName.test: added test for the above bug.
1759 2003-04-22 Andreas Kupries <andreask@activestate.com>
1761 * The changes below fix SF bugs [593810], and [718045].
1763 * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke
1764 TclpCutSockChannel and TclpSpliceSockChannel.
1766 * generic/tclInt.h: Declare TclpCutSockChannel and
1767 TclpSpliceSockChannel.
1769 * unix/tclUnixSock.c (TclpCutSockChannel, TclpSpliceSockChannel):
1770 Dummy functions, on unix the sockets are _not_ handled specially.
1772 * mac/tclMacSock.c (TclpCutSockChannel, TclpSpliceSockChannel):
1773 * win/tclWinSock.c (TclpCutSockChannel, TclpSpliceSockChannel): New
1774 functions to handle socket specific cut/splice operations: auto-init
1775 of socket system for thread on splice, management of the module
1776 internal per-thread list of sockets, management of association of
1777 sockets with HWNDs for event notification.
1779 * win/tclWinSock.c (NewSocketInfo): Extended initialization
1780 assignments to cover all items of the structure. During debugging of
1781 the new code mentioned above I found that two fileds could contain
1784 * win/tclWinFile.c: Added #undef HAVE_NO_FINDEX_ENUMS before
1785 definition because when compiling in debug mode the compiler complains
1786 about a redefinition, and this warning is also treated as an error.
1788 2003-04-21 Don Porter <dgp@users.sourceforge.net>
1790 * library/tcltest/tcltest.tcl: When the return code of a test does
1791 not meet expectations, report that as the reason for test failure, and
1792 do not attempt to check the test result for correctness. [Bug 725253]
1794 2003-04-18 Jeff Hobbs <jeffh@ActiveState.com>
1796 * win/tclWinInt.h (VER_PLATFORM_WIN32_CE): conditionally define.
1797 * win/tclWinInit.c: recognize Windows CE as a Win platform. This just
1798 recognizes CE - full support will come later.
1800 * win/configure: regen
1801 * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x
1802 uses /bin/bash, which can fail to find exes in the path (ie: lib).
1804 * generic/tclExecute.c (ExprCallMathFunc): remove incorrect
1805 extraneous cast from Tcl_WideAsDouble.
1807 2003-04-18 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1809 * doc/open.n: Moved serial port options from [fconfigure] to
1810 * doc/fconfigure.n: [open] as it is up to the creator of a channel
1811 to describe the channel's special config
1812 options. [Bug 679010]
1814 2003-04-16 Don Porter <dgp@users.sourceforge.net>
1816 * generic/tcl.h: Made changes so that the "wideInt" Tcl_ObjType
1817 * generic/tclObj.c: is defined on all platforms, even those where
1818 * generic/tclPort.h: TCL_WIDE_INT_IS_LONG is defined. Also made the
1819 Tcl_Value struct have a wideValue field on all platforms. This is a
1820 ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms
1821 because that struct changes size. This is the same TIP 72
1822 incompatibility that was seen on other platforms at the 8.4.0 release,
1823 when this change should have happened as well. [Bug 713562]
1825 * generic/tclInt.h: New internal macros TclGetWide() and
1826 TclGetLongFromWide() to deal with both forms of the "wideInt"
1827 Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined
1830 * generic/tclCmdAH.c: Replaced most coding that was conditional
1831 * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that
1832 * generic/tclExecute.c: works across platforms, sometimes using
1833 * generic/tclTest.c: the new macros above to do it.
1834 * generic/tclUtil.c:
1837 2003-04-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1839 * doc/socket.n: Added a paragraph to remind people to specify their
1840 encodings when using sockets. [Bug 630621]
1842 2003-04-16 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1844 * doc/CrtMathFnc.3: Functions also have to deal with wide ints, but
1845 this was not documented. [Bug 709720]
1847 2003-04-16 Vince Darley <vincentdarley@users.sourceforge.net>
1849 * generic/tclPathObj.c: removed undesired 'static' for function which
1850 is now shared (previously it was duplicated).
1852 2003-04-15 Joe English <jenglish@users.sourceforge.net>
1854 * doc/namespace.n: added example section "SCOPED SCRIPTS", supplied by
1855 Kevin Kenny. [Bug 219183]
1857 2003-04-15 Kevin Kenny <kennykb@acm.org>
1859 * makefile.vc: Updated makefile.vc to conform with Mo DeJong's changes
1860 to Makefile.in and tclWinPipe.c on 2003-04-14. Now passes TCL_PIPE_DLL
1861 in place of TCL_DBGX.
1862 * win/tclWinTime.c: Corrected use of types to make compilation
1863 compatible with VC++5.
1865 2003-04-15 Vince Darley <vincentdarley@users.sourceforge.net>
1867 * generic/tclIOUtil.c: finished check-in from yesterday, removing
1868 duplicate function definition.
1870 2003-04-14 Don Porter <dgp@users.sourceforge.net>
1872 * generic/tclClock.c: Corrected compiler warnings.
1873 * generic/tclTest.c:
1875 2003-04-14 Mo DeJong <mdejong@users.sourceforge.net>
1877 * win/Makefile.in: Don't define TCL_DBGX symbol for every compile.
1878 Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This
1879 will break other build systems, so they will need to remove the
1880 TCL_DBGX define and replace it with a define for TCL_PIPE_DLL.
1881 * win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and
1882 DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build
1883 env instead of trying to construct the dll name from already defined
1884 symbols. This approach is more flexible and better in the long run.
1886 2003-04-14 Kevin Kenny <kennykb@acm.org>
1888 * win/tclWinFile.c: added conditionals to restore compilation on
1889 VC++6, which was broken by recent changes.
1891 2003-04-14 Vince Darley <vincentdarley@users.sourceforge.net>
1893 * generic/tclIOUtil.c:
1894 * generic/tclPathObj.c:
1895 * generic/tclFileSystem.h: overlooked one function which was
1896 duplicated, so this is now shared between modules.
1897 * win/tclWinFile.c: allow this file to compile with VC++ 5.2 again
1898 since Mingw build fixes broke that.
1900 2003-04-13 Mo DeJong <mdejong@users.sourceforge.net>
1902 * win/configure: Regen.
1903 * win/configure.in: Add check for FINDEX_INFO_LEVELS from winbase.h,
1904 known to be a problem in VC++ 5.2. Define HAVE_NO_FINDEX_ENUMS if the
1905 define does not exist.
1906 * win/tclWinFile.c: Put declarations for FINDEX_INFO_LEVELS and
1907 FINDEX_SEARCH_OPS inside a check for HAVE_NO_FINDEX_ENUMS so that
1908 these are not declared twice. This fixes the Mingw build.
1909 * win/tclWinTime.c: Rework the init of timeInfo so that the number or
1910 initializers matches the declaration. This was broken under Mingw. Add
1911 cast to avoid compile warning when calling the AccumulateSample
1914 2003-04-12 Jeff Hobbs <jeffh@ActiveState.com>
1916 * win/Makefile.in (GENERIC_OBJS): add missing tclPathObj.c
1918 2003-04-12 Kevin Kenny <kennykb@acm.org>
1921 * generic/tclClock.c (Tcl_ClockObjCmd):
1922 * tests/clock.test: Implementation of TIP #124. Also renumbered test
1923 cases to avoid duplicates. [Bug 710310]
1924 * tests/winTime.test:
1925 * win/tclWinTest.c (TestwinclockCmd, TestwinsleepCmd):
1926 * win/tclWinTime.c (Tcl_WinTime, UpdateTimeEachSecond,
1927 (ResetCounterSamples, AccumulateSample, SAMPLES, TimeInfo): Made
1928 substantial changes to the phase-locked loop (replaced an IIR filter
1929 with an FIR one) in a quest for improved loop stability (Bug not
1930 logged at SF, but cited in private communication from Jeff Hobbs).
1932 2003-04-11 Don Porter <dgp@users.sourceforge.net>
1934 * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Corrected
1935 inconsistent results of [string is integer] observed on systems where
1936 sizeof(long) != sizeof(int). [Bug 718878]
1937 * tests/string.test: Added tests for Bug 718878.
1938 * doc/string.n: Clarified that [string is integer] accepts 32-bit
1941 2003-04-11 Andreas Kupries <andreask@activestate.com>
1943 * generic/tclIO.c (UpdateInterest): When dropping interest in
1944 TCL_READABLE now dropping interest in TCL_EXCEPTION too. This fixes a
1945 bug where Expect detects eof on a file prematurely on solaris 2.6 and
1946 higher. A much more complete explanation is in the code itself (40
1947 lines of comments for a one-line change :)
1949 2003-04-11 Vince Darley <vincentdarley@users.sourceforge.net>
1951 * tests/cmdAH.test: fix test suite problem if /home is a symlink. [Bug
1953 * generic/tclIOUtil.c: fix bad error message with 'cd ""'. [Bug
1955 * win/tclWinFile.c, win/tclWin32Dll.c:
1956 * win/tclWinInt.h: allow Tcl to differentiate between reparse points
1957 which are symlinks and mounted volumes, and correctly handle the
1958 latter. This involves some elaborate code to find the actual drive
1959 letter (if possible) corresponding to a mounted volume. [Bug 697862]
1960 * tests/fileSystem.test: add constraints to stop tests running in
1961 ordinary tcl interpreter. [Bug 705675]
1963 * generic/tclIOUtil.c:
1964 * generic/tclPathObj.c: (new file)
1965 * generic/tclFileSystem.h: (new file)
1967 Split path object handling out of the virtual filesystem layer, into
1968 tclPathObj.c. This refactoring cleans up the internal filesystem code,
1969 and will make any future optimisations and forthcoming better
1970 thread-safety much easier.
1972 * generic/tclTest.c:
1973 * tests/reg.test: added some 'knownBug' tests for problems in Tcl's
1974 regexp code with the TCL_REG_CAN_MATCH flag (see Bug 703709). Code too
1975 impenetrable to fix right now, but a fix is needed for tip113 to work
1979 * win/tclWinFile.c: added some filesystem optimisation to the 'glob'
1980 implementation, and some new tests.
1982 * generic/tclCmdMZ.c: fix typo in comment
1984 * tests/winFile.test:
1985 * tests/ioUtil.test:
1986 * tests/unixFCmd.test: renumbered tests with duplicate numbers. [Bug
1989 2003-04-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1991 * doc/binary.n: Fixed typo in [binary format w] desc. [Bug 718543]
1993 2003-04-08 Donal K. Fellows <fellowsd@cs.man.ac.uk>
1995 * generic/tclCmdAH.c (Tcl_ErrorObjCmd): Strings are only empty if
1996 they have zero length, not if their first byte is zero, so fix test
1997 guarding Tcl_AddObjErrorInfo to take this into account. [Bug
1998 reported by Don Porter; no bug-id.]
2000 2003-04-07 Don Porter <dgp@users.sourceforge.net>
2002 * generic/tclCompCmds.c (TclCompileIfCmd): Corrected string limits of
2003 arguments interpolated in error messages. [Bug 711371]
2005 * generic/tclCmdMZ.c (TraceExecutionProc): Added missing
2006 Tcl_DiscardResult() call to avoid memory leak.
2008 2003-04-07 Donal K. Fellows <zzcgudf@ernie.mvc.mcc.ac.uk>
2010 * generic/tclDictObj.c (Tcl_DictObjCmd): Stopped compilers from
2011 moaning about switch fall-through. [Bug 716327]
2012 (DictFilterCmd): Yet more warning killing, this time reported by
2013 Miguel Sofer by private chat.
2015 2003-04-07 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2017 * tests/dict.test (dict-2.6):
2018 * generic/tclDictObj.c (Tcl_NewDictObj, Tcl_DbNewDictObj): Oops!
2019 Failed to fully initialise the Dict structure.
2020 (DictIncrCmd): Moved valueAlreadyInDictionary label to stop compiler
2021 complaints. [Bug 715751]
2023 * generic/tclDictObj.c (DictIncrCmd): Followed style in the rest of
2024 the core by commenting out wide-specific operations on platforms where
2025 wides are longs, and used longs more thoroughly than ints through
2026 [dict incr] anyway to forestall further bugs.
2027 * generic/tclObj.c: Made sure there's always a tclWideIntType
2028 implementation available, not that it is always useful. [Bug 713562]
2030 2003-04-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2032 * generic/tclDictObj.c: Removed commented out notes on declarations to
2033 be moved to elsewhere in the Tcl core.
2035 * generic/tclInt.h: Final stages of plumbing in.
2036 * generic/tclBasic.c:
2037 * generic/tclObj.c (TclInitObjSubsystem):
2039 * unix/Makefile.in, win/Makefile.in, win/makefile.[bv]c: Build support.
2040 * generic/tcl.decls: Added dict public API to stubs table.
2041 * generic/tcl.h (Tcl_DictSearch): Added declaration of structure to
2042 allow user code to iterate over dictionaries.
2044 * doc/DictObj.3: New files containing dictionary implementation
2045 * doc/dict.n: documentation and tests as as mandated by TIP
2046 * generic/tclDictObj.c: #111.
2049 2003-04-03 Mo DeJong <mdejong@users.sourceforge.net>
2052 * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't set TCL_LIBS if it is already
2053 set to support use of TCL_LIBS var from tclConfig.sh in the Tk
2056 2003-04-03 Mo DeJong <mdejong@users.sourceforge.net>
2058 * unix/Makefile.in: Don't subst MATH_LIBS, LIBS, and DL_LIBS
2059 separately. Instead, just subst TCL_LIBS since it includes the
2061 * unix/configure: Regen.
2062 * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Set and subst
2063 TCL_LIBS in SC_CONFIG_CFLAGS instead of SC_TCL_LINK_LIBS. Don't subst
2064 MATH_LIBS since it is now covered by TCL_LIBS.
2065 * unix/tclConfig.sh.in: Use TCL_LIBS instead of DL_LIBS, LIBS, and
2067 * unix/dltest/Makefile.in: Ditto.
2069 2003-04-03 Don Porter <dgp@users.sourceforge.net>
2071 * generic/tclCompCmds.c (TclCompileReturnCmd): Now that [return]
2072 compiles to INST_RETURN, it is safe to compile even outside a proc.
2074 2003-04-02 Mo DeJong <mdejong@users.sourceforge.net>
2076 * win/configure: Regen.
2077 * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX
2079 * win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like
2080 LIBSUFFIX, it is used when creating library names. The previous
2081 implementation would generate -ltclstub85 instead of -ltclstub85s when
2082 configured with --disable-shared.
2084 2003-04-02 Don Porter <dgp@users.sourceforge.net>
2086 * generic/tclParse.c (TclSubstTokens): Moved declaration of
2087 utfCharBytes to beginning of procedure so that it does not go out of
2088 scope (get free()d) while append is still pointing to it. [Bugs
2091 2003-04-01 Mo DeJong <mdejong@users.sourceforge.net>
2093 * unix/configure: Regen.
2094 * unix/tcl.m4 (SC_CONFIG_CFLAGS): Check for inet_ntoa in -lbind inside
2095 the BeOS block since doing it later broke the build under SuSE 7.3.
2098 2003-04-01 Don Porter <dgp@users.sourceforge.net>
2100 * tests/README: Direct [source] of *.test files is no longer
2101 recommended. The tests/*.test files should only be evaluated under the
2102 control of the [runAllTests] command in tests/all.tcl.
2104 * generic/tclExecute.c (INST_RETURN): Bytecompiled [return] failed to
2105 reset iPtr->returnCode, causing tests parse-18.17 and parse-18.21 to
2107 * tests/parse.test (parse-18.21): Corrected now functioning test.
2108 Added further coverage tests.
2110 2003-03-31 Don Porter <dgp@users.sourceforge.net>
2112 * tests/parse.test (parse-18.*): Coverage tests for the new
2113 implementation of Tcl_SubstObj(). Note that tests parse-18.17 and
2114 parse-18.21 demonstrate some bugs left to fix in the current code.
2116 2003-03-27 Mo DeJong <mdejong@users.sourceforge.net>
2118 * unix/configure: Regen.
2119 * unix/tcl.m4 (SC_CONFIG_CFLAGS): Use -Wl,--export-dynamic instead of
2120 -rdynamic for LDFLAGS. The -rdynamic is not documented so it seems
2121 better to pass the --export-dynamic flag to the linker. [Patch 573395]
2123 2003-03-27 Miguel Sofer <msofer@users.sf.net>
2125 * tests/encoding.test:
2126 * tests/proc-old.test:
2127 * tests/set-old.test: Altered test numers to eliminate duplicates,
2128 [Bugs 710313, 710320, 710352]
2130 2003-03-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2132 * tests/parseOld.test: Altered test numers to eliminate duplicates.
2133 * tests/parse.test: [Bugs 710365, 710369]
2134 * tests/expr-old.test:
2137 * tests/utf.test: Altered test numers to eliminate duplicates.
2138 * tests/trace.test: [Bugs 710322, 710327, 710349, 710363]
2139 * tests/lsearch.test:
2142 * tests/incr-old.test:
2143 * tests/if-old.test:
2144 * tests/format.test:
2145 * tests/foreach.test:
2147 2003-03-26 Mo DeJong <mdejong@users.sourceforge.net>
2149 * unix/configure: Regen.
2150 * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Add BeOS system to
2151 SC_CONFIG_CFLAGS. Check for inet_ntoa in -lbind, needed for BeOS.
2153 2003-03-26 Don Porter <dgp@users.sourceforge.net>
2156 * library/tcltest/tcltest.tcl: Added reporting during [configure
2157 -debug 1] operations to warn about multiple uses of the same test
2160 * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid
2161 duplication. [Bug 710356]
2163 * unix/dltest/pkg?.c: Changed all Tcl_InitStubs calls to pass
2164 argument exact = 0, so that rebuilds are not required when Tcl
2165 bumps to a new version. [Bug 701926]
2167 2003-03-24 Miguel Sofer <msofer@users.sf.net>
2170 * tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the
2171 created local variable. [Bug 631741] (Chris Darroch) and [Bug 696893]
2174 2003-03-24 Pat Thoyts <patthoyts@users.sourceforge.net>
2176 * library/dde/pkgIndex.tcl: bumped version to 1.2.2 in tclWinDde.c,
2177 now adding here too.
2179 2003-03-22 Kevin Kenny <kennykb@acm.org>
2181 * library/dde/pkgIndex.tcl:
2182 * library/reg/pkgIndex.tcl: Fixed a bug where [package require dde]
2183 or [package require registry] attempted to load the release version
2184 of the DLL into a debug build. [Bug 708218] Thanks to Joe Mistachkin
2186 * win/makefile.vc: Added quoting around the script name in the 'test'
2187 target; Joe Mistachkin insists that he has a configuration that fails
2188 to launch tcltest without it, and it appears harmless otherwise.
2190 2003-03-22 Pat Thoyts <patthoyts@users.sourceforge.net>
2192 * win/tclWinDde.c: Make dde services conform the the documentation
2193 such that giving only a topic name really returns all services with
2194 that topic. [Bug 219155]
2195 Prevent hangup caused by dde server applications failing to process
2196 messages. [Bug 707822]
2197 * tests/winDde.test: Corrected labels and added a test for search by
2200 2003-03-20 Don Porter <dgp@users.sourceforge.net>
2202 * generic/tclInt.h (tclOriginalNotifier):
2203 * generic/tclStubInit.c (tclOriginalNotifier):
2204 * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent):
2205 * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent,
2206 (Tcl_CreateFileHandler,Tcl_DeleteFileHandler):
2207 * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers
2208 apparently use a different representation for a pointer to a function
2209 within the same compilation unit and a pointer to a function in a
2210 different compilation unit. This causes checks like those in the
2211 original notifier procedures to fall into infinite loops. The fix is
2212 to store pointers to the original notifier procedures in a struct
2213 defined in the same compilation unit as the stubs tables, and compare
2214 against those values. [Bug 707174]
2216 * generic/tclInt.h: Removed definition of ParseValue struct that is
2219 2003-03-19 Miguel Sofer <msofer@users.sf.net>
2221 * generic/tclCompile.c:
2222 * tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE.
2223 [Bug 705406] (Don Porter)
2225 2003-03-19 Don Porter <dgp@users.sourceforge.net>
2227 * library/auto.tcl: Replaced [regexp] and [regsub] with
2228 * library/history.tcl: [string map] where possible. Thanks
2229 * library/ldAout.tcl: to David Welton. [Bugs 667456,667558]
2230 * library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and
2231 * library/http/http.tcl: tcltest 2.2.3.
2232 * library/http/pkgIndex.tcl:
2233 * library/opt/optparse.tcl:
2234 * library/opt/pkgIndex.tcl:
2235 * library/tcltest/tcltest.tcl:
2236 * library/tcltest/pkgIndex.tcl:
2237 * tools/genStubs.tcl:
2238 * tools/tcltk-man2html.tcl:
2241 * doc/Eval.3 (Tcl_EvalObjEx): Corrected CONST and
2242 * doc/ParseCmd.3 (Tcl_EvalTokensStandard): return type errors in
2243 documentation. [Bug 683994]
2245 * generic/tclCompCmds.c (TclCompileReturnCmd): Alternative fix for
2246 * generic/tclCompile.c (INST_RETURN): [Bug 633204] that uses a new
2247 * generic/tclCompile.h (INST_RETURN): bytecode INST_RETURN to
2248 * generic/tclExecute.c (INST_RETURN): properly bytecode the [return]
2249 command to something that returns TCL_RETURN.
2251 2003-03-18 Mo DeJong <mdejong@users.sourceforge.net>
2253 * win/configure: Regen.
2254 * win/configure.in: Don't run the AC_CYGWIN macro since it uses
2255 AC_CANONICAL_HOST under autoconf 2.5X. Just check to see if __CYGWIN__
2256 is defined by the compiler and set the ac_cv_cygwin variable based on
2259 2003-03-18 Kevin Kenny <kennykb@users.sourceforge.net>
2261 * tests/registry.test: Changed the conditionals to avoid an abort if
2262 [testlocale] is missing, as when running the test in tclsh rather than
2263 tcltest. [Bug 705677]
2265 2003-03-18 Daniel Steffen <das@users.sourceforge.net>
2267 * tools/tcltk-man2html.tcl: added support for building 'make html'
2268 from inside distribution directories named with 8.x.x version numbers.
2269 tcltk-man2html now uses the latest tcl8.x.x resp. tk8.x.x directories
2270 found inside its --srcdir argument.
2272 2003-03-17 Mo DeJong <mdejong@users.sourceforge.net>
2274 * tests/format.test: Renumber tests, a bunch of tests all had the same
2277 2003-03-17 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2279 * doc/lsearch.n: Altered documentation of -ascii options so
2280 * doc/lsort.n: they don't specify that they operate on ASCII
2281 strings, which they never did anyway. [Bug
2284 2003-03-14 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2286 * generic/tclCmdAH.c (Tcl_FormatObjCmd): Only add the modifier that
2287 indicates we've got a wide int when we're formatting in an integer
2288 style. Stops some libc's from going mad. [Bug 702622] Also tidied
2291 2003-03-13 Mo DeJong <mdejong@users.sourceforge.net>
2293 * win/tcl.m4 (SC_WITH_TCL): Port version number fix that was made in
2294 tk instead of tcl sources.
2296 2003-03-13 Mo DeJong <mdejong@users.sourceforge.net>
2298 Require autoconf 2.57 or newer, see TIP 34 for a detailed explanation
2299 of why this is good. This will no doubt break the build on some
2300 platforms, let the flaming begin.
2302 * tools/configure: Regen with autoconf 2.57.
2303 * tools/configure.in: Require autoconf 2.57.
2304 * unix/configure: Regen with autoconf 2.57.
2305 * unix/configure.in: Require autoconf 2.57.
2306 Apply AC_LIBOBJ changes from patch 529884.
2307 * unix/tcl.m4: Ditto.
2308 * win/configure: Regen with autoconf 2.57.
2309 * win/configure.in: Require autoconf 2.57.
2310 Don't subst LIBOBJS since this happens by default, this avoids an
2313 2003-03-12 Don Porter <dgp@users.sourceforge.net>
2315 * generic/tclBasic.c (Tcl_EvalTokensStandard):
2316 * generic/tclCmdMZ.c (Tcl_SubstObj):
2317 * generic/tclCompCmds.c (TclCompileSwitchCmd):
2318 * generic/tclCompExpr.c (CompileSubExpr):
2319 * generic/tclCompile.c (TclSetByteCodeFromAny,TclCompileScript,
2320 (TclCompileTokens,TclCompileCmdWord):
2321 * generic/tclCompile.h (TclCompileScript):
2322 * generic/tclExecute.c (TclCompEvalObj):
2323 * generic/tclInt.h (Interp,TCL_BRACKET_TERM,TclSubstTokens):
2324 * generic/tclParse.c (ParseTokens,Tcl_SubstObj,TclSubstTokens):
2325 * tests/subst.test (2.4, 8.7, 8.8, 11.4, 11.5):
2326 Substantial refactoring of Tcl_SubstObj to make use of the same
2327 parsing and substitution procedures as normal script evaluation.
2328 Tcl_SubstObj() moved to tclParse.c. New routine TclSubstTokens()
2329 created in tclParse.c which implements all substantial functioning of
2330 Tcl_EvalTokensStandard(). TclCompileScript() loses its "nested"
2331 argument, the Tcl_Interp struct loses its termOffset field and the
2332 TCL_BRACKET_TERM flag in the evalFlags field, all of which were only
2333 used (indirectly) by Tcl_SubstObj(). Tests subst-8.7,8.8,11.4,11.5
2334 modified to accomodate the only behavior change: reporting of parse
2335 errors now takes precedence over [return] and [continue] exceptions.
2336 All other behavior should remain compatible. [RFE 536831,684982] [Bug
2339 * generic/tcl.h: Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENT
2340 * win/tclWinPipe.c: from tcl.h -- they are not part of Tcl's
2341 public interface. Put them in win/tclWinPipe.c where they are used.
2343 * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected and added
2344 * tests/interp.test (interp-2.13): test for option
2345 parsing beyond objc for [interp create --]. Thanks to Marco Maggi.
2348 2003-03-11 Kevin Kenny <kennykb@users.sourceforge.net>
2350 * win/makefile.vc: Added two missing uses of $(DBGX) so that
2351 tclpip8x.dll loads without panicking on Win9x.
2353 2003-03-09 Kevin Kenny <kennykb@users.sourceforge.net>
2355 * generic/tclTest.c (TestChannelCmd): Removed an unused local variable
2356 that caused compilation problems on some platforms.
2358 2003-03-08 Don Porter <dgp@users.sourceforge.net>
2360 * doc/tcltest.n: Added missing "-body" to example. Thanks to Helmut
2363 2003-03-07 Mo DeJong <mdejong@users.sourceforge.net>
2366 * tests/ioCmd.test: Define a fcopy constraint and add it to the
2367 constraint list of any test that depends on the fcopy command. This is
2368 only useful to Jacl which does not support fcopy.
2370 2003-03-07 Mo DeJong <mdejong@users.sourceforge.net>
2372 * tests/encoding.test: Name temp files *.tcltestout instead of *.out
2373 so that when they are removed later, we don't accidently toast any
2374 files named *.out that the user has created in the build directory.
2376 2003-03-07 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2378 * generic/tclCmdAH.c (Tcl_FileObjCmd): Fix the setting of a file's
2379 mtime and atime on 64-bit platforms. [Bug 698146]
2381 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2383 * tests/io.test: Doh! Undo accidental commenting out of a couple of
2386 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2388 * tests/io.test: Define a fileevent constraint and add it to the
2389 constraint list of any test that depends on the fileevent command.
2390 This is only useful to Jacl which does not support fileevent.
2392 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2394 * tests/io.test: Define an openpipe constraint and add it to the
2395 constraint list of any test that creates a pipe using the open
2396 command. This is only useful to Jacl which does not support pipes.
2398 2003-03-06 Don Porter <dgp@users.sourceforge.net>
2400 * generic/TclUtf.c (Tcl_UniCharNcasecmp): Corrected failure to
2401 * tests/utf.test (utf-25.*): properly compare Unicode strings of
2402 different case in a case insensitive manner. [Bug 699042]
2404 2003-03-06 Kevin Kenny <kennykb@users.sourceforge.net>
2406 * generic/tclCompCmds.c (TclCompileSwitchCmd):
2407 Replaced a non-portable 'bzero' with a portable 'memset'. [Bug 698442]
2409 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2411 * generic/tclIO.c (Tcl_Seek, Tcl_OutputBuffered): If there is data
2412 buffered in the statePtr->curOutPtr member then set the BUFFER_READY
2413 flag in Tcl_Seek. This is needed so that the next call to FlushChannel
2414 will write any buffered bytes before doing the seek. The existing code
2415 would set the BUFFER_READY flag inside the Tcl_OutputBuffered
2416 function. This was a programming error made when Tcl_OutputBuffered
2417 was originally created in CVS revision 1.35. The setting of the
2418 BUFFER_READY flag should not have been included in the
2419 Tcl_OutputBuffered function.
2420 * generic/tclTest.c (TestChannelCmd): Use the Tcl_InputBuffered and
2421 Tcl_OutputBuffered util methods to query the amount of buffered input
2424 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2426 * generic/tclIO.c (Tcl_Flush): Compare the nextAdded member of the
2427 ChannelBuffer to the nextRemoved member to determine if any output has
2428 been buffered. The previous check against the value 0 seems to have
2429 just been a coding error. See other methods like Tcl_OutputBuffered
2430 for examples where nextAdded is compared to nextRemoved to find the
2431 number of bytes buffered.
2433 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2435 * generic/tclIO.c (Tcl_GetsObj): Check that the eol pointer has not
2436 gone past the end of the string when in auto translation mode and the
2437 INPUT_SAW_CR flag is set. The previous code worked because the end of
2438 string value \0 was being compared to \n, this patch just skips that
2441 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2443 * generic/tclIO.c (WriteBytes, WriteChars, Tcl_GetsObj, ReadBytes):
2444 Rework calls to TranslateOutputEOL to make it clear that a boolean
2445 value is being returned. Add some comments in an effort to make the
2446 code more clear. This patch makes no functional changes.
2448 2003-03-06 Mo DeJong <mdejong@users.sourceforge.net>
2450 * generic/tclIO.c (Tcl_SetChannelOption): Invoke the
2451 Tcl_SetChannelBufferSize method as a result of changing the
2452 -buffersize option to fconfigure. The previous implementation used
2453 some inlined code that reset the buffer size to the default size
2454 instead of ignoring the request as implemented in
2455 Tcl_SetChannelBufferSize.
2456 * tests/io.test: Update test case so that it actually checks the
2457 implementation of Tcl_SetChannelBufferSize.
2459 2003-03-05 David Gravereaux <davygrvy@pobox.com>
2461 * win/rules.vc: updated default tcl version to 8.5.
2463 2003-03-05 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2465 * generic/tclCompCmds.c (TclCompileSwitchCmd): First attempt at a
2466 bytecode-compiled switch command. It only handles the most common case
2467 of switching, but that should be enough for this to speed up a lot of
2468 people's code. It is expected that the speed gains come from two
2469 things: better handling of the switch itself, and integrated
2470 compilation of the arms instead of embedding separate bytecode
2471 sequences (i.e. better local variable handling.)
2472 * tests/switch.test (switch-10.*): Tests of both uncompiled and
2473 compiled switch behaviour. [Patch #644819]
2475 * generic/tclCompile.h (TclFixupForwardJumpToHere): Additional macro
2476 to make the most common kind of jump fixup a bit easier.
2478 2003-03-04 Don Porter <dgp@users.sourceforge.net>
2480 * README: Bumped version number of
2481 * generic/tcl.h: Tcl to 8.5a0.
2484 * macosx/Tcl.pbproj/project.pbxproj:
2486 * tools/configure.in:
2489 * unix/configure.in:
2492 * win/README.binary:
2498 * tools/configure: autoconf
2502 2003-03-03 Jeff Hobbs <jeffh@ActiveState.com>
2504 *** 8.4.2 TAGGED FOR RELEASE ***
2506 2003-03-03 Daniel Steffen <das@users.sourceforge.net>
2508 Mac OS Classic specific fixes:
2509 * generic/tclIOUtil.c (TclNewFSPathObj): on TCL_PLATFORM_MAC, skip
2510 potential directory separator at the beginning of addStrRep.
2511 * mac/tclMacChan.c (OpenFileChannel, CommonWatch): followup fixes to
2512 cut and splice implementation for file channels.
2513 * mac/tclMacFile.c (TclpUtime): pass native path to utime().
2514 * mac/tclMacFile.c (TclpObjLink): correctly implemented creation of
2515 alias files via new static proc CreateAliasFile().
2516 * mac/tclMacPort.h: define S_ISLNK macro to fix stat'ing of links.
2517 * mac/tclMacUtil.c (FSpLocationFromPathAlias): fix to enable stat'ing
2520 2003-03-03 Kevin Kenny <kennykb@users.sourceforge.net>
2522 * win/Makefile.vc: corrected bug introduced by 'g' for debug builds.
2524 2003-03-03 Don Porter <dgp@users.sourceforge.net>
2526 * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 for
2527 * win/tclWinDde.c: bundled release with Tcl 8.4.2
2529 * library/reg/pkgIndex.tcl: registry bumped to version 1.1.1 for
2530 * win/tclWinReg.c: bundled release with Tcl 8.4.2
2532 * library/opt/pkgIndex.tcl: updated package index to version 0.4.4
2534 2003-02-28 Jeff Hobbs <jeffh@ActiveState.com>
2537 * win/configure.in: check for 'g' for debug build type, not 'd'.
2538 * win/rules.vc (DBGX): correct to use 'g' for nmake win makefile to
2539 match the cygwin makefile for debug builds. [Bug 635107]
2541 2003-02-28 Vince Darley <vincentdarley@users.sourceforge.net>
2543 * doc/file.n: subcommand is 'file volumes' not 'file volume'
2545 2003-02-27 Jeff Hobbs <jeffh@ActiveState.com>
2547 * generic/tclIOUtil.c (MakeFsPathFromRelative): removed dead code
2548 check of typePtr (darley).
2550 * tests/winTime.test: added note about PCI hardware dependency issues
2551 with high performance clock.
2553 2003-02-27 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2555 * tests/lsearch.test (lsearch-10.7):
2556 * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Stopped -start option from
2557 causing an option when used with an empty list. [Bug 694232]
2559 2003-02-26 Chengye Mao <chengye.geo@yahoo.com>
2561 * win/tclWinInit.c: fixed a bug in TclpSetVariables by initializing
2562 dwUserNameLen with the sizeof(szUserName) before calling GetUserName.
2563 Don't know if this bug has been recorded: it caused crash in starting
2564 Tcl or wish in Windows.
2566 2003-02-26 Jeff Hobbs <jeffh@ActiveState.com>
2568 * generic/tclCmdMZ.c (TraceCommandProc): Fix mem leak when deleting a
2569 command that had trace on it. [Bug 693564] (sofer)
2571 2003-02-25 Don Porter <dgp@users.sourceforge.net>
2573 * doc/pkgMkIndex.n: Modified [pkg_mkIndex] to use -nocase matching
2574 * library/package.tcl: of -load patterns, to better accomodate common
2575 user errors due to confusion between [package names] names and [info
2578 2003-02-25 Andreas Kupries <andreask@pliers.activestate.com>
2580 * tests/pid.test: See below [Bug 678412].
2581 * tests/io.test: Made more robust against spaces in paths [Bug 678400]
2583 2003-02-25 Miguel Sofer <msofer@users.sf.net>
2585 * tests/execute.test: cleaning up testobj's at the end, to avoid
2586 leak warning by valgrind.
2588 2003-02-22 Zoran Vasiljevic <zoran@archiwrae.com>
2590 * generic/tclEvent.c (Tcl_FinalizeThread): Fix [Bug 571002]
2592 2003-02-21 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2594 * tests/binary.test (binary-44.[34]):
2595 * generic/tclBinary.c (ScanNumber): Fixed problem with unwanted
2596 sign-bit propagation when scanning wide ints. [Bug 690774]
2598 2003-02-21 Daniel Steffen <das@users.sourceforge.net>
2600 * mac/tclMacChan.c (TclpCutFileChannel, TclpSpliceFileChannel):
2601 Implemented missing cut and splice procs for file channels.
2603 2003-02-21 Don Porter <dgp@users.sourceforge.net>
2605 * library/package.tcl (tclPkgUnknown): Minor performance tweaks to
2606 reduce the number of [file] invocations. Meant to improve startup
2607 times, at least a little bit. [Patch 687906]
2609 2003-02-20 Daniel Steffen <das@users.sourceforge.net>
2612 * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to create
2613 new processes, as recommended by Apple (vfork can be up to 100 times
2614 faster thank fork on macosx).
2615 * unix/configure: regen.
2617 2003-02-20 Jeff Hobbs <jeffh@ActiveState.com>
2619 * generic/tclEncoding.c (LoadTableEncoding):
2620 * library/encoding/cp932.enc: Correct jis round-trip encoding
2621 * library/encoding/euc-jp.enc: by adding 'R' type to .enc files.
2622 * library/encoding/iso2022-jp.enc: [Patch 689341] (koboyasi, taguchi)
2623 * library/encoding/jis0208.enc:
2624 * library/encoding/shiftjis.enc:
2625 * tests/encoding.test:
2627 * unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): add
2628 MakeTcpClientChannelMode that takes actual mode flags to avoid hang on
2629 OS X (may be OS X bug, but patch works x-plat). [Bug 689835] (steffen)
2631 2003-02-20 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2633 * doc/regsub.n: Typo fix [Bug 688943]
2635 2003-02-19 Jeff Hobbs <jeffh@ActiveState.com>
2637 * unix/tclUnixThrd.c (TclpReaddir):
2638 * unix/tclUnixPort.h: update to Bug 689100 patch to ensure that there
2639 is a defined value of MAXNAMLEN (aka NAME_MAX in POSIX) and that we
2640 have some buffer allocated.
2642 2003-02-19 Daniel Steffen <das@users.sourceforge.net>
2644 * generic/tclStringObj.c: restored Tcl_SetObjLength() side-effect of
2645 always invalidating unicode rep (if the obj has a string rep). Added
2646 hasUnicode flag to String struct, allows decoupling of validity of
2647 unicode rep from buffer size allocated to it (improves memory
2648 allocation efficiency). [Bugs 686782, 671138, 635200]
2650 * macosx/Tcl.pbproj/project.pbxproj:
2651 * macosx/Makefile: reworked embedded build to no longer require
2652 relinking but to use install_name_tool instead to change the
2653 install_names for embedded frameworks. [Bug 644510]
2655 * macosx/Tcl.pbproj/project.pbxproj: preserve mod dates when running
2656 'make install' to build framework (avoids bogus rebuilds of dependent
2657 frameworks because tcl headers appear changed).
2659 * tests/ioCmd.test (iocmd-1.8): fix failure when system encoding is
2660 utf-8: use iso8859-1 encoding explicitly.
2662 2003-02-18 Miguel Sofer <msofer@users.sf.net>
2664 * generic/tclCompile.c (TclCompileExprWords): remove unused variable
2665 "range" [Bug 664743]
2666 * generic/tclExecute.c (ExprSrandFunc): remove unused variable
2667 "result" [Bug 664743]
2668 * generic/tclStringObj.c (UpdateStringOfString): remove unused
2669 variable "length" [Bug 664751]
2670 * tests/execute.test (execute-7.30): fix for [Bug 664775]
2672 2003-02-18 Andreas Kupries <andreask@activestate.com>
2674 * unix/tcl.m4: [Bug #651811] Added definition of _XOPEN_SOURCE and
2675 linkage of 'xnet' library to HP 11 branch. This kills a lot of
2676 socket-related failures in the testsuite when Tcl was compiled in 64
2677 bit mode (both PA-RISC 2.0W, and IA 64).
2679 * unix/configure: Regenerated.
2681 2003-02-18 Jeff Hobbs <jeffh@ActiveState.com>
2683 * generic/tclIO.c (HaveVersion): correctly decl static
2685 * unix/tclUnixThrd.c (TclpReaddir): reduce size of name string in tsd
2686 to NAME_MAX instead of PATH_MAX. [Bug 689100] (waters)
2688 2003-02-18 Mo DeJong <mdejong@users.sourceforge.net>
2690 * unix/configure: Regen.
2691 * unix/tcl.m4 (SC_ENABLE_THREADS): Make sure -lpthread gets passed on
2692 the link line when checking for the pthread_attr_setstacksize symbol.
2694 2003-02-18 Vince Darley <vincentdarley@users.sourceforge.net>
2696 * generic/tclTest.c: cleanup of new 'simplefs' test code, and better
2699 2003-02-17 Miguel Sofer <msofer@users.sf.net>
2701 * generic/tclBasic.c (TclRenameCommand): fixing error in previous
2704 2003-02-17 Jeff Hobbs <jeffh@ActiveState.com>
2706 * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):
2707 * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH):
2708 * generic/tclUtf.c (TclUniCharMatch):
2709 * generic/tclInt.decls: add private TclUniCharMatch function that
2710 * generic/tclIntDecls.h: does string match on counted unicode
2711 * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the failing
2712 * tests/string.test: that it can't handle strings or patterns with
2713 * tests/stringComp.test: embedded NULLs. Added tests that actually try
2714 strings/pats with NULLs. TclUniCharMatch should be TIPed and made
2715 public in the next minor version rev.
2717 2003-02-17 Miguel Sofer <msofer@users.sf.net>
2719 * generic/tclBasic.c (TclRenameCommand): 'oldFullName' object was not
2720 being freed on all function exits, causing a memory leak. [Bug 684756]
2722 2003-02-17 Mo DeJong <mdejong@users.sourceforge.net>
2724 * generic/tclIO.c (Tcl_GetsObj): Minor change so that eol is only
2725 assigned at the top of the TCL_TRANSLATE_AUTO case block. The other
2726 cases assign eol so this does not change any functionality.
2728 2003-02-17 Kevin Kenny <kennykb@users.sourceforge.net>
2730 * tests/notify.test: Removed Windows line terminators. [Bug 687913].
2732 2003-02-15 Miguel Sofer <msofer@users.sf.net>
2734 * generic/tclBasic.c (Tcl_EvalEx):
2735 * generic/tclCompExpr.c (CompileSubExpr):
2736 * generic/tclCompile.c (TclCompileScript):
2737 * generic/tclParse.c (Tcl_ParseCommand, ParseTokens):
2738 * generic/tclParseExpr.c (ParsePrimaryExpr):
2739 * tests/basic.test (47.1):
2740 * tests/main.test (3.4):
2741 * tests/misc.test (1.2):
2742 * tests/parse.test (6.18):
2743 * tests/parseExpr.test (15.35):
2744 * tests/subst.test (8.6): Don Porter's fix for bad parsing of nested
2745 scripts. [Bug 681841]
2747 2003-02-15 Kevin Kenny <kennykb@users.sourceforge.net>
2749 * tests/notify.test (new-file):
2750 * generic/tclTest.c (TclTest_Init, EventtestObjCmd, EventtestProc,
2751 (EventTestDeleteProc):
2752 * generic/tclNotify.c (Tcl_DeleteEvents): Fixed Tcl_DeleteEvents not
2753 to get a pointer smash when deleting the last event in the queue.
2754 Added test code in 'tcltest' and a new file of test cases
2755 'notify.test' to exercise this functionality; several of the new test
2756 cases fail for the original code and pass for the corrected code. [Bug
2759 * unix/tclUnixTest.c (TestfilehandlerCmd): Corrected a couple of typos
2760 in error messages. [Bug 596027]
2762 2003-02-14 Jeff Hobbs <jeffh@ActiveState.com>
2764 * README: Bumped to version 8.4.2.
2768 * unix/configure.in:
2771 * win/README.binary:
2774 * macosx/Tcl.pbproj/project.pbxproj:
2776 * generic/tclStringObj.c (Tcl_GetCharLength): perf tweak
2778 * unix/tcl.m4: correct HP-UX ia64 --enable-64bit build flags
2780 2003-02-14 Kevin Kenny <kennykb@users.sourceforge.net>
2782 * win/tclWinTime.c: Added code to test and compensate for forward
2783 leaps of the performance counter. See the MSDN Knowledge Base article
2784 Q274323 for the hardware problem that makes this necessary on certain
2786 * tests/winTime.test: Revised winTime-2.1 - it had a tolerance of
2787 thousands of seconds, rather than milliseconds. (What's six orders of
2788 magnitude among friends?) Both the above changes are triggered by a
2789 problem reported at:
2790 http://aspn.activestate.com/ASPN/Mail/Message/ActiveTcl/1536811
2791 although the developers find it difficult to believe that it accounts
2792 for the observed behavior and suspect a fault in the RTC chip.
2794 2003-02-13 Kevin Kenny <kennykb@users.sourceforge.net>
2796 * win/tclWinInit.c: Added conversion from the system encoding to
2797 tcl_platform(user), so that it works with non-ASCII7 user names. [Bug
2800 * doc/tclsh.1: Added language to describe the handling of the
2801 end-of-file character \u001a embedded in a script file. [Bug 685485]
2803 2003-02-11 Vince Darley <vincentdarley@users.sourceforge.net>
2805 * tests/fileName.test:
2806 * unix/tclUnixFile.c: fix for [Bug 685445] when using 'glob -l' on
2807 broken symbolic links. Added two new tests for this bug.
2809 2003-02-11 Kevin Kenny <kennykb@users.sourceforge.net>
2811 * tests/http.test: Corrected a problem where http-4.14 would fail when
2812 run in an environment with a proxy server. Replaced references to
2813 scriptics.com by tcl.tk.
2815 2003-02-11 Jeff Hobbs <jeffh@ActiveState.com>
2817 * tests/lsearch.test:
2818 * generic/tclCmdIL.c (Tcl_LsearchObjCmd): protect against the case
2819 that lsearch -regepx list and pattern objects are equal.
2821 * tests/stringObj.test:
2822 * generic/tclStringObj.c (Tcl_GetCharLength): correct ascii char opt
2823 of 2002-11-11 to not stop early on \x00. [Bug 684699]
2825 * tests.parse.test: remove excess EOF whitespace
2827 * generic/tclParse.c (CommandComplete): more paranoid check to break
2828 on (p >= end) instead of just (p == end).
2830 2003-02-11 Miguel Sofer <msofer@users.sf.net>
2832 * generic/tclParse.c (CommandComplete):
2833 * tests/parse.test: fix for [Bug 684744], by Don Porter.
2835 2003-02-11 Jeff Hobbs <jeffh@ActiveState.com>
2837 * generic/tclIOUtil.c (Tcl_FSJoinPath, Tcl_FSGetNormalizedPath):
2838 (UpdateStringOfFsPath): revert the cwdLen == 0 check and instead
2839 follow a different code path in Tcl_FSJoinPath.
2840 (Tcl_FSConvertToPathType, Tcl_FSGetNormalizedPath):
2841 (Tcl_FSGetFileSystemForPath): Update string rep of path objects before
2842 freeing the internal object. (darley)
2844 * tests/fileSystem.test: added test 8.3
2845 * generic/tclIOUtil.c (Tcl_FSGetNormalizedPath):
2846 (UpdateStringOfFsPath): handle the cwdLen == 0 case
2848 * unix/tclUnixFile.c (TclpMatchInDirectory): simplify the hidden file
2851 2003-02-10 Mo DeJong <mdejong@users.sourceforge.net>
2854 * win/configure.in: Generate error when attempting to build under
2855 Cygwin. The Cygwin port of Tcl/Tk does not build and people are filing
2856 bug reports under the mistaken impression that someone is actually
2857 maintaining the Cygwin port. A post to comp.lang.tcl asking someone to
2858 volunteer as an area maintainer has generated no results. Closing bugs
2859 680840, 630199, and 634772 and marking as "Won't fix".
2861 2003-02-10 Donal K. Fellows <fellowsd@cs.man.ac.uk>
2863 * doc/append.n: Return value was not documented. [Bug 683188]
2865 2003-02-10 Vince Darley <vincentdarley@users.sourceforge.net>
2868 * generic/tclIOUtil.c:
2870 * tests/fileSystem.test:
2871 * unix/tclUnixFCmd.c:
2872 * unix/tclUnixFile.c:
2873 * win/tclWinFile.c: further filesystem optimization, applying [Patch
2874 682500]. In particular, these code examples are faster now:
2875 foreach f $flist { if {[file exists $f]} {file stat $f arr;...}}
2876 foreach f [glob -dir $dir *] { # action and/or recursion on $f }
2878 foreach f [glob *] { # action and/or recursion on $f }
2881 * generic/tclTest.c: Fix for [Bug 683181] where test suite left files
2884 2003-02-08 Jeff Hobbs <jeffh@ActiveState.com>
2886 * library/safe.tcl: code cleanup of eval and string comp use.
2888 2003-02-07 Vince Darley <vincentdarley@users.sourceforge.net>
2890 * win/tclWinFCmd.c: cleanup long lines
2891 * win/tclWinFile.c: sped up pure 'glob' by a factor of 2.5
2892 ('foreach f [glob *] { file exists $f }' is still slow)
2893 * tests/fileSystem.text:
2894 * tests/fileName.test: added new tests to ensure correct behaviour in
2895 optimized filesystem code.
2897 2003-02-07 Vince Darley <vincentdarley@users.sourceforge.net>
2899 * generic/tclTest.c:
2900 * tests/fileSystem.text: fixed test 7.2 to avoid a possible crash, and
2903 * tests/http.text: added comment to test 4.15, that it may fail if you
2906 2003-02-06 Mo DeJong <mdejong@users.sourceforge.net>
2908 * generic/tclCompCmds.c (TclCompileIncrCmd):
2909 * tests/incr.test: Don't include the text "(increment expression)" in
2910 the errorInfo generated by the compiled version of the incr command
2911 since it does not match the message generated by the non-compiled
2912 version of incr. It is also not possible to match this error output
2913 under Jacl, which does not support a compiler.
2915 2003-02-06 Mo DeJong <mdejong@users.sourceforge.net>
2917 * generic/tclExecute.c (TclExecuteByteCode): When an error is
2918 encountered reading the increment value during a compiled call to
2919 incr, add a "(reading increment)" error string to the errorInfo
2920 variable. This makes the errorInfo variable set by the compiled incr
2921 command match the value set by the non-compiled version.
2922 * tests/incr-old.test: Change errorInfo result for the compiled incr
2923 command case to match the modified implementation.
2924 * tests/incr.test: Add tests to make sure the compiled and
2925 non-compiled errorInfo messages are the same.
2927 2003-02-06 Don Porter <dgp@users.sourceforge.net>
2929 * library/tcltest/tcltest.tcl: Filename arguments to [outputChannel]
2930 and [errorChannel] (also -outfile and -errfile) were [open]ed but
2931 never [closed]. Also, [cleanupTests] could remove output or error
2932 files. [Bug 676978].
2933 * library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
2935 2003-02-05 Mo DeJong <mdejong@users.sourceforge.net>
2937 * tests/interp.test:
2938 * tests/set-old.test: Run test cases that depend on hash order through
2939 lsort so that the tests also pass under Jacl. Does not change test
2942 2003-02-04 Vince Darley <vincentdarley@users.sourceforge.net>
2944 * generic/tclIOUtil.c:
2945 * generic/tclEvent.c:
2948 * unix/tclUnixFCmd.c:
2949 * win/tclWin32Dll.c:
2953 * tests/fileSystem.test: fix to finalization/unloading/encoding issues
2954 to make filesystem much less dependent on encodings for its cleanup,
2955 and therefore allow it to be finalized later in the exit process. This
2956 fixes fileSystem.test-7.1. Also fixed one more bug in setting of
2957 modification dates of files which have undergone cross-platform
2958 copies. [Patch 676271]
2962 * tests/fileName.test:
2963 * tests/io.test: fixed some test failures when tests are run from a
2964 directory containing spaces.
2966 * tests/fileSystem.test:
2967 * generic/tclTest.c: added regression test for the modification date
2968 setting of cross-platform file copies.
2970 2003-02-03 Kevin Kenny <kennykb@users.sourceforge.net>
2972 * generic/tclBasic.c: Changed [trace add command] so that 'rename'
2973 callbacks get fully qualified names of the command. [Bug 651271].
2974 ***POTENTIAL INCOMPATIBILITY***
2975 * tests/trace.test: Modified the test cases for [trace add command] to
2976 expect fully qualified names on the 'rename' callbacks. Added a case
2977 for renaming a proc within a namespace.
2978 * doc/trace.n: Added language about use of fully qualified names in
2981 2003-02-01 Kevin Kenny <kennykb@users.sourceforge.net>
2983 * generic/tclCompCmds.c: Removed an unused variable that caused
2984 compiler warnings on SGI. [Bug 664379]
2986 * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage is
2987 called to report the same package as being loaded in two interps, it
2988 shows up in [info loaded {}] in both of them (previously, it didn't
2989 appear in the static package list in the second).
2991 * tests/load.test Added regression test for the above bug. [Bug
2994 * generic/tclClock.c: Fixed a bug that incorrectly allowed [clock
2995 clicks {}] and [clock clicks -] to be accepted as if they were [clock
2996 clicks -milliseconds].
2998 * tests/clock.test: Added regression tests for the above bug. [Bug
3001 * tests/unixNotfy.test: Added cleanup of working files. [Bug 675609]
3003 * doc/Tcl.n: Added headings to the eleven paragraphs, to improve
3004 formatting in the tools that attempt to extract tables of contents
3005 from the manual pages. [Bug 627455]
3007 * generic/tclClock.c: Expanded mutex protection around the setting of
3008 env(TZ) and the thread-unsafe call to tzset(). [Bug 656660]
3010 2003-01-31 Don Porter <dgp@users.sourceforge.net>
3012 * tests/tcltest.test: Cleaned up management of file/directory
3013 creation/deletion to improve "-debug 1" output. [Bug 675614]
3014 The utility [slave] command failed to properly [list]-quote a
3015 constructed [open] command, causing failure when the pathname
3016 contained whitespace. [Bug 678415]
3018 * tests/main.test: Stopped main.test from deleting existing file. Test
3019 suite should not delete files that already exist. [Bug 675660]
3021 2003-01-28 Don Porter <dgp@users.sourceforge.net>
3023 * tests/main.test: Constrain tests that do not work on Windows. [Bug
3026 2003-01-28 Vince Darley <vincentdarley@users.sourceforge.net>
3028 * generic/tclIOUtil.c: fix to setting modification date in
3029 TclCrossFilesystemCopy. Also added 'panic' in
3030 Tcl_FSGetFileSystemForPath under illegal calling circumstances which
3031 lead to hard-to-track-down bugs.
3033 * generic/tclTest.c: added test suite code to allow exercising a
3034 vfs-crash-on-exit bug in Tcl's finalization caused by the encodings
3035 being cleaned up before unloading occurs.
3036 * tests/fileSystem.test: added new 'knownBug' test 7.1 to demonstrate
3039 2003-01-28 Mo DeJong <mdejong@users.sourceforge.net>
3041 * generic/tcl.h: Add TCL_PREFIX_IDENT and TCL_DEBUG_IDENT, used only
3042 by TclpCreateProcess.
3043 * unix/Makefile.in: Define TCL_DBGX.
3044 * win/Makefile.in: Define TCL_DBGX.
3045 * win/tclWinPipe.c (TclpCreateProcess): Check that the Tcl pipe dll
3046 actually exists in the Tcl bin directory and panic if it is not found.
3047 Incorporate TCL_DBGX into the Tcl pipe dll name. This fixes a really
3048 mysterious error that would show up when exec'ing a 16 bit application
3049 under Win95 or Win98 when Tcl was compiled with symbols. The error
3050 seemed to indicate that the executable could not be found, but it was
3051 actually the Tcl pipe dll that could not be found.
3053 2003-01-26 Mo DeJong <mdejong@users.sourceforge.net>
3055 * win/README: Update msys+mingw URL to release 6. This version bundles
3058 2003-01-26 Mo DeJong <mdejong@users.sourceforge.net>
3060 * win/configure: Regen.
3061 * win/configure.in: Add test that checks to see if the compiler can
3062 cast to a union type.
3063 * win/tclWinTime.c: Squelch compiler warning about union initializer
3064 by casting to union type when compiling with gcc.
3066 2003-01-25 Mo DeJong <mdejong@users.sourceforge.net>
3068 * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke
3069 TclpCutFileChannel and TclpSpliceFileChannel.
3070 * generic/tclInt.h: Declare TclpCutFileChannel and
3071 TclpSpliceFileChannel.
3072 * unix/tclUnixChan.c (FileCloseProc, TclpOpenFileChannel,
3073 (Tcl_MakeFileChannel, TclpCutFileChannel, TclpSpliceFileChannel):
3074 Implement thread load data cut and splice for file channels. This
3075 avoids an invalid memory ref when compiled with -DDEPRECATED.
3076 * win/tclWinChan.c (FileCloseProc, TclpCutFileChannel,
3077 (TclpSpliceFileChannel): Implement thread load data cut and splice for
3078 file channels. This avoids an invalid memory ref that was showing up
3079 in the thread extension.
3081 2003-01-25 Mo DeJong <mdejong@users.sourceforge.net>
3083 * win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):
3084 * win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings):
3085 * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings):
3086 Re-implement inline ASM SEH handlers for gcc. The esp and ebp
3087 registers are now saved on the stack instead of in global variables so
3088 that the code is thread safe. Add additional checks when TCL_MEM_DEBUG
3089 is defined to be sure the values were recovered from the stack
3090 properly. Remove squelch_warnings functions and add a dummy call in
3091 the handler methods to squelch compiler warnings.
3093 2003-01-25 Mo DeJong <mdejong@users.sourceforge.net>
3096 * win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that
3097 no alloca function is found in malloc.h and we are compiling with GCC.
3098 Remove HAVE_NO_ALLOC_DECL define.
3099 * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a
3100 cdecl function. Doing this caused a tricky runtime bug because the
3101 _alloca function expects the size argument to be passed in a register
3102 and not on the stack. To fix this problem, we use inline ASM when
3103 compiling with gcc to invoke _alloca with the size argument loaded
3106 2003-01-24 Jeff Hobbs <jeffh@ActiveState.com>
3108 * win/tclWinDde.c (Dde_Init): clarified use of tsdPtr.
3109 (DdeServerProc): better refcount handling of returnPackagePtr.
3111 * generic/tclEvent.c (Tcl_Finalize): revert finalize change on
3112 2002-12-04 to correct the issue with extensions that have TSD needing
3113 to finalize that before they are unloaded. This issue needs further
3116 * tests/unixFCmd.test: only do groups check on unix
3118 2003-01-24 Vince Darley <vincentdarley@users.sourceforge.net>
3120 * generic/tclStringObj.c: proper fixes for Tcl_SetObjLength and
3121 Tcl_AttemptSetObjectLength dealing with string objects with both
3122 pure-unicode and normal internal representations. Previous fix didn't
3123 handle all cases correctly.
3124 * generic/tclIO.c: Add 'Tcl_GetString()' to ensure the object has a
3125 valid 'objPtr->bytes' field before manipulating it directly.
3127 This fixes [Bug 635200] and [Bug 671138], but may reduce performance
3128 of Unicode string handling in some cases. A further patch will be
3129 applied to address this, once the code is known to be correct.
3131 2003-01-24 Mo DeJong <mdejong@users.sourceforge.net>
3133 * win/configure: Regen.
3134 * win/configure.in: Add test to see if alloca is undefined in
3136 * win/tclWin32Dll.c (TclpCheckStackSpace): Rework the SEH exception
3137 handler logic to avoid using the stack since alloca will modify the
3138 stack. This was causing a nasty bug that would set the exception
3139 handler to 0 because it tried to pop the previous exception handler
3140 off the top of the stack.
3142 2003-01-23 Donal K. Fellows <fellowsd@cs.man.ac.uk>
3144 * doc/lset.n: Fixed fault in return values from lset in documentation
3145 examples [SF Bug #658463] and tidied up a bit at the same time.
3147 2003-01-21 Joe English <jenglish@users.sourceforge.net>
3149 * doc/namespace.n (namespace inscope): Clarified documentation
3152 2003-01-21 Mo DeJong <mdejong@users.sourceforge.net>
3154 * win/configure: Regen.
3155 * win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX so that
3156 TCL_SHLIB_SUFFIX will be set to a useful value in the generated
3157 tclConfig.sh. Set SHLIB_LD_LIBS to "" or '${LIBS}' based on the
3158 --enable-shared flag. This matches the UNIX implementation.
3160 2003-01-18 Jeff Hobbs <jeffh@ActiveState.com>
3162 * generic/tclCkalloc.c: change %ud to %u as appropriate.
3164 2003-01-17 Mo DeJong <mdejong@users.sourceforge.net>
3166 * win/tclWinDde.c (DdeServerProc): Deallocate the Tcl_Obj returned by
3167 ExecuteRemoteObject if it was not saved in a connection object.
3169 2003-01-17 Mo DeJong <mdejong@users.sourceforge.net>
3171 * generic/tcl.h: Revert earlier change that defined TCL_WIDE_INT_TYPE
3172 as long long and TCL_LL_MODIFIER as L when compiling with mingw. This
3173 change ended up causing some test case failures when compiling with
3175 * generic/tclObj.c (UpdateStringOfWideInt): Describe the warning
3176 generated by mingw and why it needs to be ignored so that someone is
3177 not tempted to "fix" this problem again in the future.
3179 2003-01-16 Vince Darley <vincentdarley@users.sourceforge.net>
3181 * generic/tclStringObj.c: Tcl_SetObjLength fix for when the object has
3182 a unicode string rep. [Bug 635200]
3183 * tests/stringObj.test: removed 'knownBug' constraint from test 14.1
3184 now that this bug is fixed.
3187 * generic/tclBasic.c:
3188 * generic/tclCmdMZ.z:
3189 * tests/trace.test: execution and command tracing bug fixes and
3190 cleanup. In particular fixed [Bug 655645], [Bug 615043], [Bug 571385]
3191 - fixed some subtle cleanup problems with tracing. This required
3192 replacing Tcl_Preserve/Tcl_Release with a more robust refCount
3193 approach. Solves at least one known crash caused by memory
3195 - fixed some confusion in the code between new style traces (Tcl
3196 8.4) and the very limited 'Tcl_CreateTrace' which existed before.
3197 - made behaviour consistent with documentation (several tests even
3198 contradicted the documentation before).
3199 - fixed some minor error message details
3200 - added a number of new tests
3202 2003-01-16 Jeff Hobbs <jeffh@ActiveState.com>
3204 * win/tclWinSerial.c (SerialOutputProc): add casts for bytesWritten to
3205 allow strict compilation (no warnings).
3207 * tests/winDde.test:
3208 * win/tclWinDde.c (Tcl_DdeObjCmd): Prevent crash when empty service
3209 name is passed to 'dde eval' and goto errorNoResult in request and
3210 poke error cases to free up any allocated data.
3212 2003-01-16 Mo DeJong <mdejong@users.sourceforge.net>
3214 * win/tclWin32Dll.c (squelch_warnings): Squelch compiler warnings from
3216 * win/tclWinChan.c (squelch_warnings): Squelch compiler warnings from
3218 * win/tclWinDde.c: Add casts to avoid compiler warnings. Pass pointer
3219 to DWORD instead of int to avoid compiler warnings.
3220 * win/tclWinFCmd.c (squelch_warnings): Add casts and fixup decls to
3221 avoid compiler warnings. Squelch compiler warnings from SEH ASM code.
3222 * win/tclWinFile.c: Add casts and fixup decls to avoid compiler
3223 warnings. Remove unused variable.
3224 * win/tclWinNotify.c: Declare as DWORD instead of int to avoid
3226 * win/tclWinReg.c: Add casts to avoid compiler warning. Fix assignment
3227 in if expression bug.
3228 * win/tclWinSerial.c: Add casts to avoid compiler warnings. Remove
3230 * win/tclWinSock.c: Add casts and fixup decls to avoid compiler
3233 2003-01-14 Jeff Hobbs <jeffh@ActiveState.com>
3235 * generic/tclClock.c (FormatClock): corrected typo that incorrectly
3236 conditionally defined savedTZEnv and savedTimeZone.
3238 2003-01-13 Mo DeJong <mdejong@users.sourceforge.net>
3240 Fix mingw build problems and compiler warnings.
3242 * generic/tcl.h: Add if defined(__MINGW32__) check to code that sets
3243 the TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER.
3244 * generic/tclClock.c (FormatClock): Don't define savedTimeZone and
3245 savedTZEnv if we are not going to use them.
3246 * generic/tclEnv.c: Add cast to avoid warning.
3247 * win/tclWinChan.c: Use DWORD instead of int to avoid compiler warning
3248 * win/tclWinThrd.c: Only define allocLock, allocLockPtr, and dataKey
3249 when TCL_THREADS is defined. This avoid a compiler warning about
3252 2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
3254 * win/README: Update msys + mingw URL, the new release includes the
3255 released 1.0.8 version of msys which includes a number of bug fixes.
3257 2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
3259 * win/configure: Regen.
3260 * win/tcl.m4 (SC_CONFIG_CFLAGS): Pull in addition of shell32.lib to
3261 LIBS_GUI that was added to the Tk tcl.m4 but never made it back into
3264 2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
3266 * generic/tcl.h: Skip Tcl's define of CHAR, SHORT, and LONG when
3267 HAVE_WINNT_IGNORE_VOID is defined. This avoids a bunch of compiler
3268 warnings when building with Cygwin or Mingw.
3269 * win/configure: Regen.
3270 * win/configure.in: Define HAVE_WINNT_IGNORE_VOID when we detect a
3271 winnt.h that still defines CHAR, SHORT, and LONG when VOID has already
3273 * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst the TCL_DEFS loaded from
3274 tclConfig.sh so that Tcl defines can make it into the Tk Makefile.
3276 2003-01-12 Mo DeJong <mdejong@users.sourceforge.net>
3278 * win/configure: Regen.
3279 * win/configure.in: Check for typedefs like LPFN_ACCEPT in winsock2.h
3280 and define HAVE_NO_LPFN_DECLS if not found.
3281 * win/tclWinSock.c: Define LPFN_* typedefs if HAVE_NO_LPFN_DECLS is
3282 defined. This fixes the build under Mingw and Cygwin, it was broken by
3283 the changes made on 2002-11-26.
3285 2003-01-10 Vince Darley <vincentdarley@users.sourceforge.net>
3287 * generic/tclIOUtil.c:
3289 * win/tclWinInit.c: fix to new WinTcl crash on exit with vfs,
3290 introduced on 2002-12-06. Encodings must be cleaned up after the
3293 * win/makefile.vc: fix to minor VC++ 5.2 syntax problem
3295 2003-01-09 Don Porter <dgp@users.sourceforge.net>
3297 * generic/tclCompCmds.c (TclCompileReturnCmd): Corrected off-by-one
3298 problem with recent commit. [Bug 633204]
3300 2003-01-09 Vince Darley <vincentdarley@users.sourceforge.net>
3302 * generic/tclFileName.c: remove unused variable 'macSpecialCase'
3305 * generic/tclIOUtil.c:
3307 * unix/tclUnixFile.c:
3311 * win/tclWin32Dll.c:
3312 * tests/cmdAH.test: fix to non-ascii chars in paths when setting mtime
3313 and atime through 'file (a|m)time $path $time'. [Bug 634151]
3315 2003-01-08 Don Porter <dgp@users.sourceforge.net>
3317 * generic/tclExecute.c (TclExprFloatError): Use the IS_NAN macro for
3318 greater clarity of code.
3320 2003-01-07 Don Porter <dgp@users.sourceforge.net>
3322 * generic/tclCompCmds.c (TclCompileReturnCmd):
3323 * tests/compile.test: Corrects failure of bytecompiled [catch
3324 {return}] to have result TCL_RETURN (not TCL_OK) [Bug 633204]. This
3325 patch is a workaround for 8.4.X. A new opcode INST_RETURN is a better
3326 long term solution for 8.5 and later.
3328 2003-01-04 David Gravereaux <davygrvy@pobox.com>
3331 * win/rules.vc: Fixed INSTALLDIR macro problem that blanked itself by
3332 accident causing the install target to put the tree at the root of the
3333 drive built on. Whoops..
3335 Renamed the 'linkexten' option to be 'staticpkg'. Added 'thrdalloc' to
3336 allow the switching _on_ of the thread allocator. Under testing, I
3337 found it not to be benificial under windows for the purpose of the
3338 application I was using it for. It was more important for this app
3339 that resources for tcl threads be returned to the system rather than
3340 saved/moved to the global recycler. Be extra clean or extra fast for
3341 the default threaded build? Let's move to clean and allow it to be
3342 switched on for users who find it benificial for their use of threads.
3344 ******************************************************************
3345 *** CHANGELOG ENTRIES FOR 2002 IN "ChangeLog.2002" ***
3346 *** CHANGELOG ENTRIES FOR 2001 IN "ChangeLog.2001" ***
3347 *** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000" ***
3348 *** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
3349 ******************************************************************