Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/ChangeLog.2001 @ 64

Last change on this file since 64 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 134.9 KB
Line 
12001-12-28  Jeff Hobbs  <jeffh@ActiveState.com>
2
3        * library/init.tcl: make sure env(COMSPEC) on Windows is executed with
4        the right case, as it may otherwise fail inexplicably.
5
62001-12-28  Don Porter <dgp@users.sourceforge.net>
7
8        * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem): Added
9        the [memory onexit] command, intended to replace [checkmem].
10
11        * doc/DumpActiveMemory.3:
12        * doc/memory.n: Updated documentation for [memory] and related
13        matters. [Bug 487677]
14
15        * mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the
16        machinery for the [checkmem] command that is completely duplicated by
17        code in generic/tclCkalloc.c.
18
19        * generic/tclBinary.c:
20        * generic/tclListObj.c:
21        * generic/tclObj.c:
22        * generic/tclStringObj.c: Removed references to [checkmem] in
23        comments, referencing [memory active] instead, since it is
24        documented.
25
262001-12-28  Daniel Steffen <das@users.sourceforge.net>
27
28        * mac/tclMacInit.c:
29        * mac/tclMacTclCode.r: synced up tclInit features to unix/win:
30        implemented TclSetPreInitScript support, use of existing tclInit proc
31        if defined, check of default encoding dir if set. Changed script
32        library resource names to lowercase (i.e. same as corresponding
33        files). Used Tcl_JoinPath instead of string append. Check that system
34        encoding could be loaded before utf translating the LibraryPath.
35        * mac/tclMacApplication.r:
36        * mac/tclMacLibrary.r:
37        * mac/tclMacOSA.r:
38        * mac/tclMacResource.r: minor version resources cleanup
39
402001-12-21  Mo DeJong  <mdejong@users.sourceforge.net>
41
42        * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):
43        Search for config file using exec_prefix instead of prefix when no
44        --with-tcl or --with-tk argument is used. [Bug 492418]
45
462001-12-21  Daniel Steffen <das@users.sourceforge.net>
47
48        * unix/tcl.m4: fixed incorrect SHLIB_LD_LIBS setting for MacOSX /
49        Darwin.
50        * unix/configure: Regen.
51        * unix/mkLinks.tcl: improved case-insensitive filesystem support.
52        * unix/mkLinks: Regen.
53
542001-12-19  Don Porter <dgp@users.sourceforge.net>
55
56        * unix/Makefile.in (dist): corrected use of eolFix.tcl on working
57        files. It should operate on distributed files. [Bug 495120]
58
592001-12-19  David Gravereaux <davygrvy@pobox.com>
60
61        * tools/tcl.wse.in: Fix for [Bug 495120]. tcl.wse.in was stored in cvs
62        with improper <eol>. This resulted in corrupted <eol> when checked-out
63        on translating CVS clients such as windows (CRCRLF) and mac (CRCR).
64
652001-12-19  Mo DeJong  <mdejong@users.sourceforge.net>
66
67        * unix/configure:
68        * unix/tcl.m4 (SC_CONFIG_CFLAGS): Update SunOS 5.[0-6] target so that
69        correct linker options are passed to gcc or ld. [Tk Bug 220863]
70
712001-12-19  Mo DeJong  <mdejong@users.sourceforge.net>
72
73        * unix/README: Update to account for changes in the unix/dltest
74        directory, the way autoconf is run, and the new "make shell" target.
75
762001-12-19  Mo DeJong  <mdejong@users.sourceforge.net>
77
78        * unix/Makefile.in: Rename dltest to dlpkgs to fix problem where lib
79        files were not getting built because dltest/ directory already
80        existed.
81
822001-12-19  Jeff Hobbs  <jeffh@ActiveState.com>
83
84        * win/tclWinSerial.c (SerialCheckProc): corrected time calculations to
85        be unsigned. (schroedter)
86
872001-12-18  Mo DeJong  <mdejong@users.sourceforge.net>
88
89        * unix/Makefile.in: Define new dltest target that simply does a cd to
90        dltest/ before running make. There is no need for the separate
91        configure script that was previously being used.
92        * unix/configure: Regen.
93        * unix/configure.in: Subst into dltest/Makefile.
94        * unix/dltest/Makefile.in: Define LIBS using DL_LIBS, LIBS, and
95        MATH_LIBS variables instead of TCL_LIBS variable from tclConfig.sh.
96        * unix/dltest/README: Update readme to account for new configure free
97        implementation.
98        * unix/dltest/configure: Removed.
99        * unix/dltest/configure.in: Removed.
100
1012001-12-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
102
103        * generic/tcl.h (TCL_STUB_MAGIC): Added cast to force type to be an
104        int and get rid of a persistent and pointless warning with SunPro
105        compiler.
106
107        * generic/tclCkalloc.c (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc):
108        * generic/tcl.decls (Tcl_AttemptDbCkalloc,Tcl_AttemptDbCkrealloc):
109        Made the file parameters to these functions into CONST char *, like
110        they always should have been to match the other Tcl*Db* API functions.
111
1122001-12-17  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
113
114        * Applied [Bug 219311] on behalf of Rolf Schroedter
115        <schroedter@users.sourceforge.net> to prevent fcopy on serial ports
116        from flooding the event queue.
117
1182001-12-11  Miguel Sofer  <msofer@users.sourceforge.net>
119
120        * doc/CrtInterp.3:
121        * generic/tclBasic.c: docs and comments corrections. [Bug 493412]
122        Bug & patch by Don Porter.
123
1242001-12-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
125
126        * win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windows from
127        crashing when shutdown from a non-Tcl thread. Fixes [Bug 217982]
128        [orig. 5804] reported by Hugh Vu and Gene Leache. I'm not convinced
129        that the shutdown process is right even with this, but it was
130        definitely wrong without...
131
1322001-12-13  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
133
134        * win/tclWinSock.c (TcpGetOptionProc): Fix for [Bug 478565] reported
135        by an unknown person. Bypasses all calls to "gethostbyaddr" for
136        address "0.0.0.0" to prevent delays on Win/NT.
137
1382001-12-12  Jeff Hobbs  <jeffh@ActiveState.com>
139
140        * doc/Preserve.3: doc'd TCL_DYNAMIC use. [Patch 483989] (porter)
141
1422001-12-12  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
143
144        * generic/tclIO.c (Tcl_GetsObj): Applied patch for [Bug 491341] as
145        provided by Don Porter <dgp@users.sourceforge.net>. Fixes the
146        assumption of having an empty Tcl_Obj to work with.
147
1482001-12-11  Miguel Sofer  <msofer@users.sourceforge.net>
149
150        * generic/tclCompCmds.c:
151        * generic/tclCompile.c:
152        * generic/tclExecute.c: consistency patch, to make all instructions
153        that pop a variable number of Tcl_Obj's off the execution stack take
154        the number of popped objects as first operand. Modified *only* the new
155        instructions INST_LIST_INDEX_MULTI and INST_LSET_FLAT, so this has no
156        effect on bytecodes generated up to tcl8.4a3 inclusive.
157
158        * generic/tclExecute.c: fix debug messages in INST_LSET_LIST.
159
160        * generic/tclCompCmds.c (TclCompileLindexCmd):
161        * generic/tclCompExpr.c (CompileMathFuncCall): removed the last two
162        overestimates of the necessary stack depth for bytecodes in the fix of
163        [Bug 483611]
164
1652001-12-10  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
166
167        * unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter's patch
168        fixing [Bug 437489].
169
1702001-12-10  Miguel Sofer  <msofer@users.sourceforge.net>
171
172        * generic/tclEvent.c:
173        * tests/event.test: fix background error reporting in the absence of a
174        bgerror proc [Bug 219142].
175
1762001-12-10  Don Porter <dgp@users.sourceforge.net>
177
178        * doc/Access.3:
179        * doc/CrtChannel.3:
180        * doc/DString.3:
181        * doc/ExprLong.3:
182        * doc/FileSystem.3:
183        * doc/GetStdChan.3:
184        * doc/OpenFileChnl.3:
185        * doc/StdChannels.3:
186        * doc/TCL_MEM_DEBUG.3:
187        * doc/Tcl_Main.3:
188        * doc/Utf.3:
189        * doc/file.n:
190        * doc/tclsh.1:  Several typo and formatting corrections discovered
191        during conversion to TMML. Thanks to Joe English. [Patch 490514]
192        * unix/mkLinks: 'make mklinks'
193
1942001-12-10  Miguel Sofer  <msofer@users.sourceforge.net>
195
196        * generic/tclCompCmds.c:
197        * generic/tclCompExpr.c:
198        * generic/tclCompile.c:
199        * generic/tclCompile.h:
200        * generic/tclExecute.c:
201        * generic/tclProc.c: fixed the calculation of the maximal stack depth
202        required by bytecodes. [Bug 483611]
203
2042001-12-07  Miguel Sofer  <msofer@users.sourceforge.net>
205
206        * generic/tclVar.c:
207        * tests/trace.test: restored consistency in refCount accounting by
208        array traces [Bug 4484339], submitted by Don Porter.
209
2102001-12-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
211
212        * tests/parseExpr.test, tests/for.test, tests/expr.test:
213        * tests/expr-old.test, tests/compile.test, tests/compExpr.test
214        * tests/compExpr-old.test: Kept up to date with syntax errors.
215        * generic/tclParseExpr.c (ParsePrimaryExpr): Rewrote to give even
216        better syntax errors in the fairly common case of an identifier
217        without decorations by guessing based on the currently available
218        functions. Also made messages consistent between memdebug and ordinary
219        builds.
220
2212001-12-05  Miguel Sofer  <msofer@users.sourceforge.net>
222
223        * generic/tclVar.c:
224        * tests/trace.test: new algorithm for [array get], safe when there are
225        traces that modify the array. [Bug 449893]
226
2272001-12-04  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
228
229        * tests/compExpr-old.test, tests/compExpr.test, tests/compile.test:
230        * tests/expr-old.test, tests/expr.test, tests/for.test:
231        * tests/while.test, tests/if.test: Rewrite to handle more specific
232        syntax errors.
233        * tests/parseExpr.test: Rewrite to get rid of dup test numbers and
234        handle more specific syntax errors.
235        * generic/tclParseExpr.c (LogSyntaxError): Added a detail message
236        argument to help explain what the syntax error is.
237        (Tcl_ParseExpr, ParseCondExpr, ParsePrimaryExpr): Added detail
238        messages.
239        (UNKNOWN_CHAR): New lexeme for characters that are always illegal in
240        expressions outside strings.
241
2422001-12-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
243
244        * doc/expr.n: Various documentation improvements in relation to the
245        function calls. Includes fix for [Bug 487704] submitted by Devin Eyre.
246
2472001-12-03  David Gravereaux <davygrvy@pobox.com>
248
249        * win/makefile.vc: Some install target bugs repaired along with
250        $(TCLSTUBLIB) added to the dependencies rather than implicit through
251        the dde and reg extensions which don't happen to always require it for
252        some build types.
253
2542001-11-30  Miguel Sofer  <msofer@users.sourceforge.net>
255
256        * generic/tclVar.c: Tcl_Preserve'ing VarTrace structures to avoid
257        memory corruption. Patch for [Bug 484334] provided by Don Porter
258
2592001-11-29  Miguel Sofer  <msofer@users.sourceforge.net>
260
261        * tests/namespace.test: modified namespace-41.2, added 41.3
262        {knownbug} after discussion with Don Porter and Kevin Kenny.
263
2642001-11-29  Miguel Sofer  <msofer@users.sourceforge.net>
265
266        * tests/namespace.test: added namespace-41.2, a simpler test for
267        [Bug 231259]
268
2692001-11-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
270
271        * generic/tclBinary.c (BINARY_SCAN_MAX_CACHE, Tcl_BinaryObjCmd,
272        (ScanNumber): Added caching scheme to reduce number of object
273        allocations when doing scans of large repetitive binary strings. See
274        comments in file for reasoning behind implementation. Suggested by
275        Miguel Sofer in [Patch 429916], but independently implemented.
276
2772001-11-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
278
279        * doc/regsub.n, doc/regexp.n: Converted dangling references to
280        METASYNTAX section into references to the re_syntax manual page.
281
2822001-11-27  D. Richard Hipp   <drh@hwaci.com>
283
284        * win/tclWinFCmd.c: Fix a coredump in the filename normalizer code for
285        Win95/98.
286
2872001-11-27  David Gravereaux <davygrvy@pobox.com>
288
289        * win/makefile.vc: Removed the Tk reference for the 'winhelp' target.
290        Converge at install will need to be the solution for Tk and all other
291        extensions.
292
2932001-11-27  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
294
295        * tests/cmdAH.test (cmdAH-24.2): Made test less sensitive to OS
296        preemption, but perfection isn't practical. [Bug 463189, reported by
297        Don Porter]
298
299        * tests/switch.test (switch-9.*): Added tests to exercise more of the
300        argument checking.  (switch-7.2,switch-7.3): Test changed behaviour
301        slightly.
302        * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Reworked argument parsing to
303        be stricter about what it accepts. This should make uses of the
304        [switch] command be more maintainable. [Bug 475397, reported by Don
305        Porter]
306
3072001-11-26  Don Porter <dgp@users.sourceforge.net>
308
309        * generic/tclIntPlatDecls.h: 'make genstubs' after changes in
310        2001-11-23 commit from Daniel Steffen.
311
3122001-11-24  Mo DeJong  <mdejong@users.sourceforge.net>
313
314        * unix/Makefile.in: Add comments to better describe TCL_EXE and when
315        it should be available.
316        * win/Makefile.in: Add TCL_EXE variable to be used by rules like `make
317        genstubs`. Don't set TCL_LIBRARY before running `make genstubs` since
318        we will be running with a tclsh from the PATH not the one we build.
319
3202001-11-24  Mo DeJong  <mdejong@users.sourceforge.net>
321
322        * win/configure: Regen.
323        * win/tcl.m4 (SC_CONFIG_CFLAGS): Add comctl32.lib to wish link libs.
324        This change was originally added to Tk on 2001-11-09 but was not
325        committed to Tcl.
326
3272001-11-23  Daniel Steffen <das@users.sourceforge.net>
328
329        * unix/Makefile.in:
330        * unix/configure.in:
331        * unix/install-sh:
332        * unix/mkLinks:
333        * unix/mkLinks.tcl:
334        * unix/tclLoadDyld.c:
335        * unix/tclMtherr.c: Mac OSX support: build system, dynamic code loading
336        and support for case-insensitive filesystems in mkLinks. [Patch 435258]
337
3382001-11-23  Daniel Steffen <das@users.sourceforge.net>
339
340        Up-port to 8.4 of mac code changes for 8.3.3 & various new changes for
341        8.4, some already backported to 8.3.4. [Patch 435658]
342
343        * generic/tclObj.c: added #include to fix missing prototype errors
344
345        * generic/tcl.h: MAC_TCL: addition of ConditionalMacros.h and use of
346        DLLIMPORT and DLLEXPORT like on other platforms. ( => no longer need
347        the .exp files and can remove use of #pragma export that never worked
348        well)
349        removed line continuation in #if clause as this breaks the mac
350        resource compiler (note that *.r files include tcl.h)
351
352        * mac/tclMacFile.c: fixed bug in permission checking code
353
354        * mac/tclMacLoad.c: corrected utf8 handling, comparison of package
355        names to code fragment names changed to only match on the length of
356        package name, this allows for fragment names with version numbers
357        appended.
358
359        * mac/tclMacInt.h:
360        * generic/tclInt.h:
361        * mac/tclMacTime.c:
362        * generic/tclIOUtil.c: moved declaration of TclpGetGMTOffset()
363
364        * mac/tclMacShLib.exp:
365        * mac/tclMacOSA.exp:
366        * mac/tclMacMSLPrefix.h: removed files
367
368        * unix/Makefile.in: removed reference to .exp files
369
370        * mac/MW_TclBuildLibHeader.h:
371        * mac/MW_TclBuildLibHeader.pch:
372        * mac/MW_TclHeaderCommon.h:
373        * mac/MW_TclStaticHeader.h:
374        * mac/MW_TclStaticHeader.pch: new precompiled header files
375
376        * mac/MW_TclAppleScriptHeader.pch:
377        * mac/MW_TclHeader.pch:
378        * mac/MW_TclTestHeader.pch:
379        * mac/tclMacCommonPch.h: revised precompiled header handling: now
380        include a common header file 'MW_TclHeaderCommon.h' from all .pch
381        files, the .pch files themselves now only setup #defines (e.g.
382        BUILD_tcl, STATIC_BUILD, TCL_DEBUG, TCL_THREADS) like in makefiles on
383        other platforms.
384
385        * mac/tclMac.h:
386        * mac/tclMacPort.h:
387        * mac/tclMacInt.h: use of BUILD_tcl and TCL_STORAGE_CLASS like on other
388        platforms, standardize #include'd files to what's done on other
389        platforms, removed use of #pragma export.
390
391        * mac/tcltkMacBuildSupport.sea.hqx: new archive of mac build support
392        files & suggested build environment directory hierarchy:
393        'Building MacTclTk' & 'CW Pro6 changes' readme's.
394        projects for MoreFiles 1.5.2 static & shared libraries.
395        project & sources for 'pseudoCarbonSupport', see below.
396        included XML versions of the projects for CW Pro5 or Pro7 users.
397
398        * mac/tclMacProjects.sea.hqx: updated mac build project files:
399        build support for CodeWarrior Pro6, UnivIntf 3.4 & shared runtime
400        libraries: the MSL libraries and MoreFiles are no longer compiled into
401        Tcl.shlb, all non-static binaries now use the Pro6 shared runtime
402        libraries and MoreFiles.shlb.  These shlbs are merged into the standard
403        Wish and TclShell, but 3rd party applications linking with Tcl.shlb or
404        Tk.shlb need to setup access to them.  (see the "(sh-ppc)" targets
405        for how to do this.)
406        included XML versions of the projects for CW Pro5 or Pro7 users.
407        use compat/strtod.c instead of MSL's strtod()
408        use WASTE versions of MSL for tcl test target to avoid text buffer
409        cutoff at 32k.
410        Merging the full MSL.shlb and the other shlbs into Wish & TclShell
411        makes them a bit larger than before, use unmerged binaries to avoid
412        copying the shared code with every application, e.g. when deploying
413        numerous Wish based droplets.
414        Note that using CW Pro5 to compile extensions is in principle still
415        possible, but need to link with Pro6 runtime libraries.
416        Tclapplescript now loads and runs on CFM68k.
417        Highly experimental "pseudoCarbon" support for Tcl only on OS 8/9:
418        binaries in "Build:(Carbon):" link against CarbonLib instead of
419        InterfaceLib, however the actual code has not been carbonized! i.e. it
420        will not run on OSX and may not even run properly with CarbonLib.
421        This should in principle allow you to build & test OS9 CFM Carbon
422        binaries that need to link with Tcl.shlb. On OSX you can use the
423        native Tcl.framework, but you have to build a MachO binary as there
424        is no CFM glue lib for Tcl.framework.
425        the library pseudoCarbonSupport.shlb manually loads the symbols from
426        InterfaceLib that are not in CarbonLib but are needed by the
427        uncarbonized code in Tcl.shlb and TclShell.
428
429        * generic/tclMain.c: MAC_TCL: workaround for broken/non-standard isatty
430        on MW Pro6, #include <unistd.h> instead of defining isatty
431
432        * mac/tclMacPort.h: MW Pro6 changes for MSL fcntl.h, stat.h & isatty
433
434        * mac/tclMacAppInit.c: add EXTERN to InstallConsole to enable DLL
435        export via the TCL_STORAGE_CLASS mechanism.
436
437        * mac/tclMacFCmd.c: fix for FSpDirectoryCopy API change
438
439        * mac/tclMacLibrary.c: emit compile time error when
440        TCL_REGISTER_LIBRARY and USE_TCL_STUBS are both defined at the same
441        time in an extension, this use is not currently supported and will
442        result in a crash when dynamically loading the extension.
443
444        * mac/tclMacApplication.r:
445        * mac/tclMacLibrary.r:
446        * mac/tclMacOSA.r:
447        * mac/tclMacResource.r: fixed obsolete copyrights/dates in version
448        strings; updated version strings to standard usage; added support for
449        '(Support Libraries)' subfolder for shared runtime libraries in
450        unmerged binaries; commented out demo setting of "Tcl Environment
451        Variables"; reorganized resources among these files to avoid multiple
452        copies in applications and shared libraries, the script libraries are
453        now no longer duplicated in Tclsh but are only included in the
454        resources of Tcl.shlb.
455
456        * mac/tclMacChan.c:
457        * mac/tclMacSock.c: cast for *BlockMode
458
459        * mac/tclMacUtil.c:
460        * mac/tclMacMath.h: removed obsolete hypot() definition
461
462        * generic/tclIntPlatDecls.h:
463        * generic/tclInt.decls:
464        * generic/tclStubInit.c:
465        * mac/tclMacNotify.c:
466        * mac/tclMacOSA.c:
467        * mac/tclMacUtil.c:
468        * generic/tclThreadTest.c: renamed routines conflicting with standard
469        Apple or MoreFiles headers (at compile or link time):
470        GetGlobalMouse         -> GetGlobalMouseTcl
471        FSpGetDirectoryID      -> FSpGetDirectoryIDTcl
472        FSpOpenResFileCompat   -> FSpOpenResFileCompatTcl
473        FSpCreateResFileCompat -> FSpCreateResFileCompatTcl
474        NewThread              -> NewTestThread
475        the renamed MoreFiles *Tcl routines are just wrappers calling into the
476        MoreFiles DLL.
477
478        * mac/tclMacCommonPch.h:
479        * mac/tclMacThrd.c:
480        * mac/tclMacPanic.c: removed OLDROUTINENAMES define, renamed obsolete
481        apple API names to modern equivalents; UH3.4 support: added #include
482        <ControlDefinitions.h>, updated New*Proc() calls to New*UPP().
483
484        * mac/tclMacUnix.c: added missing (Tcl_Obj ***) cast to
485        Tcl_ListObjGetElements call
486
487        * mac/tclMacAlloc.c: modernized TclpSysAlloc() to use temporary memory
488        instead of system heap memory when available (MacOS >= 7.5 and
489        possibly earlier, use of system heap has been discouraged for a long
490        time and has many disadvantages, e.g. memory isn't paged out, and
491        errors can very easily bring the system down); fixed crashing bug in
492        TclpSysRealloc() and CleanUpExitProc() where memory was being accessed
493        after having been deallocated; fixed memory leak in (de)allocation
494        code (for every block ever allocated with TclpSysAlloc, a Ptr was
495        leaked), if temporary memory is available, don't track allocated
496        memory, instead use RecoverHandle() to get Handle from Ptr, otherwise
497        use doubly linked list to correctly track memory and free all
498        allocated memory; added new option for ConfigureMemory:
499        MEMORY_DONT_USE_TEMPMEM, disables use of temporary memory even when it
500        would be available, only necessary when writing e.g. a driver (using
501        tcl??); increased fraction of application heap reserved for OS
502        routines to 512K
503
504        * compat/strftime.c:
505        * mac/tclMacTime.c:
506        * mac/tclMacPort.h:
507        * generic/tclInt.decls:
508        * generic/tclIntPlatDecls.h:
509        * generic/tclStubInit.c: timezone support for mac via TclpGetTZName()
510        like on windows, using an inverse timezone table adapted from
511        tclDate.c to map gmtoffset in seconds gotten from the MacOS APIs to a
512        timezone string, as there is no good way to get this info from MacOS.
513        I had to make up some unusual timezones and arbitrarily decide on the
514        most standard of the multiple choices available for every timezone.
515
516        * generic/tclExecute.c: workaround for a MSL bug/misfeature: for very
517        small floats, MSL can return errno ERANGE but a non-zero value (<
518        LDBL_MIN however)
519
520        * mac/tclMacAppInit.c: support for WASTE text library using temporary
521        memory, setting has no effect if WASTE is not used.
522
523        * mac/tclMacPanic.c: removed duplicate code from generic/tclPanic.c
524        and added that file to projects instead.
525
526        * tests/all.tcl: set tcltest::singleProcess 1 as multiple processes
527        are not available on the mac.
528
529        * tests/cmdAH.test: access time not available on the mac, skip the
530        atime touch test
531
532        * tests/appendComp.test:
533        * tests/cmdMZ.test:
534        * tests/compile.test:
535        * tests/exec.test:
536        * tests/fileName.test:
537        * tests/lset.test:
538        * tests/namespace.test:
539        * tests/tcltest.test: added missing cleanups/tests/catches that caused
540        tests to fail on the mac.
541
542        * doc/tclvars.n: doc bug, env(PWD) should be env(HOME) [Bug 463834]
543
5442001-11-21  Don Porter  <dgp@users.sourceforge.net>
545
546        * tests/trace.test (trace-8.8): Corrected test for Bug 219393.
547
548        * generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces):
549        * generic/tclCmdMZ>c (Tcl_UntraceCommand):  Added Tcl_Preserve and
550        Tcl_Release calls to prevent deletion of CommandTrace structures until
551        all callers are done using them, preventing memory corruption. [Bug
552        453805]
553
5542001-11-20  Kevin B. Kenny  <kennykb@users.sourceforge.net>
555
556        * doc/GetTime.3 (Tcl_GetTime):
557        * generic/tcl.decls (Tcl_GetTime):
558        * generic/tclClock.c (Tcl_ClockObjCmd):
559        * generic/tclCompile.c (TclCleanupByteCode, TclInitByteCodeObj):
560        * generic/tclCmdMZ.c (Tcl_TimeObjCmd):
561        * generic/tclUtil.c (TclpGetTime):
562        * generic/tclTest.c (GetTimesCmd):
563        * generic/tclTimer.c (Tcl_CreateTimerHandler, TimerSetupProc,
564        (TimerCheckProc, TimerHandlerEventProc):
565        * mac/tclMacNotify.c (Tcl_SetTimer):
566        * mac/tclMacShLib.exp (Tcl_GetTime):
567        * mac/tclMacTime.c (Tcl_GetTime):
568        * unix/tclUnixChan.c (TclUnixWaitForFile):
569        * unix/tclUnixEvent.c (Tcl_Sleep):
570        * unix/tclUnixThrd.c (Tcl_ConditionWait):
571        * unix/tclUnixTime.c (Tcl_GetTime):
572        * win/tclWinNotify.c (Tcl_Sleep):
573        * win/tclWinTest.c (TestwinclockCmd):
574        * win/tclWinTime.c (TclpGetSeconds, TclpGetClicks, Tcl_GetTime):
575        Changed all uses of TclpGetTime to Tcl_GetTime. Added Tcl_GetTime to
576        the Stubs table and the library documentation. Added a TclpGetTime in
577        tclUtil.c for backward compatibility of extensions. [Patch 483500,
578        TIP#73]
579
580        * generic/tclCmdMZ.c (Tcl_TimeObjCmd): Corrected an error in the
581        [time] command that caused incorrect results to be returned if the
582        total duration of all iterations exceeded 2**31 microseconds. [Bug
583        478847]
584
585        * generic/tclInt.decls:
586        * generic/tclInt.h:
587        * generic/tclStubInit.h: Reran 'make genstubs'
588
5892001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
590
591        * generic/tclBasic.c
592        * generic/tclCompile.h:
593        * generic/tclExecute.c: moving all code relative to bytecodes from
594        tclBasic.c to tclExecute.c - the functions RecordTracebackInfo and
595        Tcl_ExprObj went to tclExecute.c, and new interface function was
596        defined (TclCompEvalObj).
597        The final objective of this sequence of moves is to provide a clean,
598        clear-cut interface between Tcl's core and the compiler/engine
599        subsystem.
600
6012001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
602
603        * generic/tclBasic.c
604        * generic/tclCompile.h:
605        * generic/tclExecute.c: factoring out of common code in tclBasic.c
606        (new function TclInterpReady defined: it resets the interp's result,
607        then checks that it hasn't been deleted and that the nesting level is
608        acceptable). Passed the responsibility of calling it to the *callers*
609        of TclEvalObjvInternal.
610
6112001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
612
613        * generic/tclBasic.c
614        * generic/tclExecute.c: a better variant of the previous-to-last
615        commit (restoring numLevels computations). The managing of the levels
616        now has to be done by the *callers* of TclEvalObjvInternal
617
6182001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
619
620        * generic/tclExecute.c: missing variable declaration under
621        TCL_COMPILE_DEBUG.
622
6232001-11-20  Miguel Sofer  <msofer@users.sourceforge.net>
624
625        * generic/tclExecute.c:
626        * generic/tclProc.c: restoring the computations of iPtr->numLevels to
627        the original logic (previous to buggy modifs on 2001-11-16).
628
6292001-11-20  Jeff Hobbs  <jeffh@ActiveState.com>
630
631        * tools/eolFix.tcl (new-file):
632        * unix/Makefile.in: added EOL correction for Windows bat files to
633        dist target. [Bug 219409] (davygrvy)
634
635        * unix/tclUnixInit.c (TclpSetInitialEncodings): update of patch from
636        2001-11-16 that uses the old Tcl encoding check mechanism as a
637        fallback to the original. Also added a TCL_DEFAULT_ENCODING #define
638        (defaults to iso8859-1). Tcl will first try setlocale and nl_langinfo,
639        and if that fails, guess based on certain LANG|LC_* env vars. [Patch
640        418645]
641
6422001-11-19  David Gravereaux <davygrvy@pobox.com>
643
644        * win/buildall.vc.bat:  Added useful comments.
645
6462001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>
647
648        * tests/compile.test: added a test for bug [Bug 483309]
649
6502001-11-19  Vince Darley  <vincentdarley@users.sourceforge.net>
651
652        * win/tclWinFile.c:
653        * win/tclWinFCmd.c:
654        * win/tclWin32Dll.c:
655        * doc/file.n:
656        * tests/winFCmd.test: improved speed of file normalization for
657        Win95/98, and clarified docs on differences in file normalization
658        between NT/2000 and the older operating systems. Added test to ensure
659        normalization is correct.
660
6612001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>
662
663        * generic/tclBasic.c:
664        * generic/tclParse.c: Code reorganisation. Moved all evaluation
665        functions from tclParse.c to tclBasic.c, so that now tclParse.c deals
666        exclusively with parsing and all evaluations are done by code in
667        tclBasic.c. The functions moved are: TclEvalObjvInternal,
668        Tcl_EvalObjv, Tcl_LogCommandInfo, Tcl_EvalTokensStandard,
669        Tcl_EvalTokens, Tcl_EvalEx, Tcl_Eval, Tcl_EvalObj and
670        Tcl_GlobalEvalObj.
671
6722001-11-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
673
674        * tests/trace.test (trace-8.8): Added adapted version of [Bug 219393]
675        as new test; the test won't reliably show up the old problem unless it
676        is being run under something like Purify, but something is better than
677        nothing...
678
679        * generic/tclVar.c (Tcl_TraceVar2, Tcl_UntraceVar2): Added missing
680        mask bits for trace result type and a check for a nonsense flag
681        combination.
682        * generic/tclCmdMZ.c (TraceVarProc): Added missing test for NULL when
683        deleting a trace that doesn't cause an error.
684
685        * doc/TraceVar.3: Added documentation for change due to TIP#68.
686
687        * generic/tclCmdMZ.c (TraceVarInfo): Removed problematic errMsg field
688        from structure.
689        (TraceVarProc): Removed references to errMsg field and changed
690        handling of errors so that they returned a Tcl_Obj* containing the
691        error string. This minimizes the number of calls to the memory
692        management subsystem.
693        (TclTraceCommandObjCmd, TraceCommandProc): Removed references to
694        errMsg field which was never used in command traces in any case.
695        (Tcl_TraceObjCmd, TclTraceVariableObjCmd): Removed references to
696        errMsg field and made variable traces register with
697        TCL_TRACE_RESULT_OBJECT bit set.
698
699        * generic/tcl.h (TCL_TRACE_RESULT_DYNAMIC,TCL_TRACE_RESULT_OBJECT):
700        New constants to define how to handle the strings returned from trace
701        callbacks [TIP#68]
702        * generic/tclVar.c (CallTraces, Tcl_GetVar2Ex, TclGetIndexedScalar,
703        (TclGetElementOfIndexedArray, Tcl_SetVar2Ex, TclSetIndexedScalar,
704        (TclSetElementOfIndexedArray, Tcl_UnsetVar2, Tcl_ArrayObjCmd,
705        (TclDeleteVars, TclDeleteCompiledLocalVars, DeleteArray,
706        (TclVarTraceExists): Support for those new trace flags.
707
7082001-11-19  Miguel Sofer  <msofer@users.sourceforge.net>
709
710        * generic/tclCompCmds.c: patch for [Bug 483309] (petasis).
711
7122001-11-16  Kevin B. Kenny  <kennykb@users.sourceforge.net>
713
714        * generic/tclListObj.c: removed a C++-style comment that was
715        inadvertently left in the source code.
716
7172001-11-16  Jeff Hobbs  <jeffh@ActiveState.com>
718
719        * tests/interp.test:
720        * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking for
721        '$interp alias|aliases|issafe'. [Patch 479560] (thoyts, hobbs)
722
723        * unix/tclUnixInit.c: added HAVE_LANGINFO code block.
724        * unix/configure: regened
725        * unix/configure.in: added SC_ENABLE_LANGINFO call
726        * unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer)
727        Added modified version of Wagner patch to make use of nl_langinfo
728        where possible to determine Unix platform encoding, instead of the
729        inflexible built-in system. This is used by default when possible, and
730        can be disabled with --enable-langinfo=no. [Patch 418645] (hobbs,
731        wagner)
732
7332001-11-16  Miguel Sofer  <msofer@users.sourceforge.net>
734
735        * generic/tclCompile.h:
736        * generic/tclExecute.c:
737        * generic/tclObj.c: moved Tcl_GetCommandFromObj and all defining code
738        for tclCmdNameType objects to tclObj.c (from tclExecute.c). This code
739        has nothing to do with bytecodes.
740
7412001-11-16  Miguel Sofer  <msofer@users.sourceforge.net>
742
743        * generic/tclBasic.c:
744        * generic/tclCompile.h:
745        * generic/tclExecute.c:
746        * generic/tclParse.c:
747        * generic/tclProc.c:
748        * tests/stack.test: consolidation of duplicated code (in
749        TclExecuteByteCode and EvalObjv); renaming of EvalObjv to TclEvalObjv
750        as it is not static anymore; restored consistency of level counts
751        between compiled and directly evaled code. [Bug 480896]
752
7532001-11-12  David Gravereaux <davygrvy@pobox.com>
754
755        * win/makefile.vc:
756        * win/rules.vc:  Small bug fixes.
757
758        * win/README: added some docs pointing to the docs in makefile.vc for
759        it's use.
760
7612001-10-17  Kevin B. Kenny  <kennykb@users.sourceforge.net>
762
763        * doc/lappend.n:
764        * doc/lindex.n:
765        * doc/linsert.n:
766        * doc/list.n:
767        * doc/llength.n:
768        * doc/lrange.n:
769        * doc/lsearch.n:
770        * doc/lset.n (new-file):
771        * doc/lsort.n:
772        * generic/tclBasic.c (builtInCmds, Tcl_EvalObjEx):
773        * generic/tclCmdIL.c (Tcl_LindexObjCmd, Tcl_LindexList):
774        (Tcl_LindexFlat, Tcl_LsetObjCmd):
775        * generic/tclCompCmds.c (Tcl_CompileLindexCmd, Tcl_CompileLsetCmd):
776        * generic/tclCompile.c:
777        * generic/tclCompile.h:
778        * generic/tclExecute.c (TclExecuteByteCode):
779        * generic/tclInt.decls:
780        * generic/tclInt.h:
781        * generic/tclIntDecls.h:
782        * generic/tclListObj.c (TclLsetList, TclLsetFlat, TclSetListElement):
783        * generic/tclObj.c (TclInitObjSubsystem):
784        * generic/tclStubInit.c:
785        * generic/tclTestObj.c (TestobjCmd):
786        * generic/tclUtil.c (TclGetIntForIndex, SetEndOffsetFromAny):
787        * generic/tclVar.c (Tcl_LappendObjCmd):
788        * tests/lindex.test:
789        * tests/lset.test (new-file):
790        * tests/lsetComp.test (new-file):
791        * tests/obj.test:
792        * tests/string.test:
793        * tests/stringComp.test:
794        Reference implementation of TIP's #22, #33 and #45. Adds the ability
795        of the [lindex] command to have multiple index arguments, and adds the
796        [lset] command. Both commands are byte-code compiled. [Patch 471874]
797        (work by Kenny, commited by Hobbs)
798
7992001-11-12  David Gravereaux <davygrvy@pobox.com>
800
801        * win/buildall.vc.bat(new):
802        * win/makefile.vc:  Small fix with deriving the "OriginalFilename"
803        string in the .rc scripts. Added a quick batchfile for building the
804        entire thing.
805
8062001-11-12  Jeff Hobbs  <jeffh@ActiveState.com>
807
808        * doc/FileSystem.3:
809        * doc/file.n:
810        * doc/tcltest.n: converted use of \' to more reasonable format.
811
8122001-11-10  Mo DeJong  <mdejong@users.sourceforge.net>
813
814        * unix/Makefile.in:
815        * win/Makefile.in: Add "make gdb" target. This target can run tclsh
816        inside either gdb or insight.
817
8182001-11-10  David Gravereaux <davygrvy@pobox.com>
819
820        * win/makefile.vc:  Added a check to make sure one runs the makefile
821        from the /win directory only.
822
823        * win/mkd.bat:
824        * win/rmd.bat:  Changes from Llyod Lim for better stability.
825        [Patch 456759]
826
8272001-11-09  David Gravereaux <davygrvy@pobox.com>
828
829        * win/makefile.vc:
830        * win/tcl.dsp:  winhelp target fixes for non-NT systems. It seems
831        NMAKE under these remembers changed directories during commands. A new
832        tcltest feature from Peter Spjuth <peter.spjuth@space.se> to specify a
833        pattern file from the commandline and redirecting output to a file
834        when not under NT with it's scrollback console. Then it replays it,
835        piped through more. Added 2 new static "configurations" to tcl.dsp.
836        I could keep adding more, but I think we should leave it up to the
837        user for customizing it.
838
839        Sticky-points left:  'profile' option.
840
8412001-11-09  Jeff Hobbs  <jeffh@ActiveState.com>
842
843        * doc/FileSystem.3:
844        * doc/StdChannels.3:
845        * doc/file.n:
846        * doc/tcltest.n:
847        * tools/man2help.tcl:
848        * tools/man2help2.tcl: fixed winhelp generation problems
849        [Patch 480268]
850
851        * unix/configure:
852        * unix/tcl.m4: added -lc to AIX libs, fixed path to ldAix
853
8542001-11-09  Don Porter  <dgp@users.sourceforge.net>
855
856        * tests/var.test:
857        * generic/tclVar.c: Corrected bug in [global] when dealing with
858        variable names matching :*. [Bug 480176]
859
8602001-11-08  Mo DeJong  <mdejong@users.sourceforge.net>
861
862        Fixup stack size under OSF1. [Patch 474790]
863
864        * unix/configure: Regen.
865        * unix/tcl.m4: Add HAVE_PTHREAD_ATTR_SETSTACKSIZE define to
866        EXTRA_CFLAGS to adjust initial stack size.
867
8682001-11-08  Mo DeJong  <mdejong@users.sourceforge.net>
869
870        Enable thread support under FreeBSD. [Bug 473708]
871
872        * unix/configure: Regen.
873        * unix/tcl.m4 (SC_ENABLE_THREADS): Check for pthread functions in
874        libc_r and enable thread support if found.
875        * unix/dltest/Makefile.in: Set SHLIB_LD_LIBS and use it in the
876        Makefile to properly link a shared library.
877
8782001-11-08  Mo DeJong  <mdejong@users.sourceforge.net>
879
880        * unix/Makefile.in:
881        * unix/dltest/Makefile.in: Avoid adding libc to the LIBS variable
882        since it is not needed when linking with CC. If required when linking
883        with LD it should be done on a case by case basis in tcl.m4.
884
8852001-11-08  David Gravereaux <davygrvy@pobox.com>
886
887        * win/rules.vc:
888        * win/makefile.vc:  Fixed install target to adjust for the different
889        build types. Added a 'linkexten' option to link the win extensions
890        inside the shell when built static. Placed win/tclAppInit.c patch in
891        SF patch DB for approval. 'profile' option not hooked in yet.
892        Everything else know is done.
893
894        * win/tcl.dsp(new):
895        * win/tcl.dsw(new):  Simple MsDev stub project files that calls
896        makefile.vc. Will help run Tcl in the debugger easier without
897        confusing MsDev for where the .pdb files are.
898
8992001-11-07  Mo DeJong  <mdejong@users.sourceforge.net>
900
901        * unix/Makefile.in:
902        * win/Makefile.in: Print a message indicating that the user should run
903        "make genstubs" when the generated tclStubInit.c file is out of date.
904        We can't regenerate automatically since there may be no tclsh on the
905        system and that would cause bootstrap problems. [Bug 465874]
906
9072001-11-07  Mo DeJong  <mdejong@users.sourceforge.net>
908
909        Define TCL_INCLUDE_SPEC in tclConfig.sh. It should be included by
910        extensions that need to find Tcl include headers in the install
911        location. The user can override the include install dir with
912        --includedir so we need to record this information for extensions.
913        [Bug 421835]
914
915        * unix/configure: Regen.
916        * unix/configure.in: Define TCL_INCLUDE_SPEC.
917        * unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
918        * win/configure: Regen.
919        * win/configure.in: Define TCL_INCLUDE_SPEC.
920        * win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
921
9222001-11-07  David Gravereaux <davygrvy@pobox.com>
923
924        * win/rules.vc:
925        * win/makefile.vc: Dropped the NOMSVCRT macro and put it on the option
926        list instead. It makes more sense to me this way as NOMSVCRT=0 would
927        only be the valid setting. Fixed the dde and reg extension for
928        building static. Improved, but not perfected, the winhelp target.
929
9302001-11-07  Mo DeJong  <mdejong@users.sourceforge.net>
931
932        * win/README: Change minimum VC++ version to 5.X since 4.X is known
933        not to work.
934        Indicate that Mingw is required and building with Cygwin gcc is not
935        supported. Include instructions that indicate how to install Mingw and
936        what URLs folks should use to download the supported version of Mingw.
937        * win/configure: Regen.
938        * win/configure.in: Error out if user tries to compile the Windows
939        version of Tcl with Cygwin gcc. Users should compile with Mingw gcc
940        instead.
941
9422001-11-06  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
943
944        * generic/tclIO.c (ReadChars): Fixed [Bug 478856] reported by Stuart
945        Cassoff <stwo@users.sourceforge.net>. The bug caused loss of
946        fileevents when [read]ing less data from the channel than buffered.
947        Due to an empty input buffer the flag CHANNEL_NEED_MORE_DATA was set
948        but never reset, causing the I/O system to wait for more data instead
949        of using a timer to synthesize fileevents and to flush the pending
950        data out of the buffers.
951
9522001-11-06  David Gravereaux <davygrvy@pobox.com>
953
954        * win/rules.vc (new):
955        * win/makefile.vc:  Complete over/under rewrite to support numerous
956        build options all from the commandline itself without needing to edit
957        the makefile. Now requires vcvars32.bat to be run prior to running
958        nmake for bootstraping the environment. Fully doc'd usage for it is in
959        makefile.vc. Commentary welcome. Sticky points left are:
960
961        1) winhelp target shows errors in the converting script.
962        2) .rc scripts aren't getting the right #defines to build the correct
963           "OriginalFilename" strings. (have patch, won't commit yet)
964        3) Naming convention with suffixes describing the buildtype are 'tsdx'
965           which will need public acceptance. ie. tclsh84tsx.exe is a (t)
966           threaded shell (s) statically linked to the core and (x) uses
967           msvcrt instead of libcmt.
968
9692001-11-04  Vince Darley  <vincentdarley@users.sourceforge.net>
970
971        * library/init.tcl: made filesystem fallback proc ::tcl::CopyDirectory
972        more robust to vagaries of non-native filesystems.
973
9742001-11-02  Vince Darley  <vincentdarley@users.sourceforge.net>
975
976        * doc/file.n:
977        * generic/tclIOUtil.c: updated documentation and comments to clarify
978        behaviour of 'file copy' wrt soft links.
979
9802001-10-29  Vince Darley  <vincentdarley@users.sourceforge.net>
981
982        * win/tclWinFile.c: fix to '-types {f r}' bug in TclpMatchInDirectory
983        (which could cause a UMR, as well as returning wrong results). Also
984        improved API for 'stat' to resolve [Bug 219258].
985        * win/tclWin32Dll.c
986        * win/tclWinInt.h: addition of improved stat API to internal lookup
987        table.
988        * tests/fileName.test: two new tests for the above bug.
989        * generic/tclIOUtil.c: some cleanup of comments and #ifdefs
990
9912001-10-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
992
993        * unix/tclUnixFile.c (TclpMatchInDirectory): Argument to access() was
994        entryPtr->d_name instead of nativeEntry which failed when trying to
995        check access for files in other than the current directory. [Bug
996        475941, reported by Georgios Petasis]
997
9982001-10-25  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
999
1000        * unix/tclUnixChan.c: Added stateUpdated member to struct TtyState.
1001        (TtyCloseProc,TtySetOptionProc,TtyInit): Use stateUpdated member of
1002        TtyState to decide whether it is necessary to reset a serial port when
1003        Tcl closes it. Blindly resetting can cause Tcl to be sent an
1004        unexpected SIGTSTP when it is executing in the background [Bug 471374,
1005        reported by Chris Nelson]
1006
10072001-10-22  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1008
1009        * doc/ObjectType.3: Minor documentation fix, reported by David N.
1010        Welton <davidw@users.sourceforge.net> directly to me.
1011
10122001-10-22  Vince Darley  <vincentdarley@users.sourceforge.net>
1013
1014        * win/tclWinFCmd.c: fix to stop test suite from hanging process under
1015        some versions of WinNT. [Bug 466102] (Kevin Kenny)
1016
10172001-10-18  Jeff Hobbs  <jeffh@ActiveState.com>
1018
1019        * tests/clock.test (clock-8.1):
1020        * generic/tclDate.c (RelativeMonth):
1021        * generic/tclGetDate.y (RelativeMonth): corrected off-by-one-day error
1022        in clock scan with relative months and years during swing hours. [Bug
1023        413397, Patch 414024] (lavana)
1024
10252001-10-18  Vince Darley  <vincentdarley@users.sourceforge.net>
1026
1027        * generic/tclIOUtil.c: fix to bug in Tcl_FSChdir shown up by recent
1028        tclkit builds.
1029
10302001-10-17  Jeff Hobbs  <jeffh@ActiveState.com>
1031
1032        * unix/tclUnixPipe.c (PipeInputProc, PipeOutputProc): do immediate
1033        retry when error is returned with errno == EINTR. [Bug 415131] (leger)
1034
10352001-10-16  Jeff Hobbs  <jeffh@ActiveState.com>
1036
1037        * unix/tclLoadAout.c (TclGuessPackageName): removed unused vars and
1038        fixed warnings. [Bug 446622] (lim)
1039
10402001-10-15  Miguel Sofer  <msofer@users.sourceforge.net>
1041
1042        * generic/tclProc.c: changing a memcmp to strncmp to avoid a memory
1043        error detected by purify (thanks Jeff); modify style to agrre with the
1044        style guide.
1045
10462001-10-15  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1047
1048        * generic/tclInt.decls (TclExpandCodeArray,TclGetInstructionTable):
1049        Added to internal stubs table. Tclcompiler (Tclpro project) needs them
1050        if used as loadable package under Windows. Changed signatures. We
1051        don't want to describe compiler internal structures in "tclInt.h".
1052
1053        * generic/tclCompile.h: S.a. Removed function declarations.
1054        * generic/tclCompile.c: S.a. Adapted to changed signatures.
1055
10562001-10-15  Jeff Hobbs  <jeffh@ActiveState.com>
1057
1058        * unix/configure:
1059        * unix/configure.in:
1060        * win/configure:
1061        * win/configure.in:
1062        * win/tcl.m4: reworked to be a little cleaner in comparison to each
1063        other, and to AC_SUBST even empty vars for win/tclConfig.sh
1064
1065        * generic/tclFileName.c: minor code cleanup
1066
1067        * generic/tcl.h: moved #define of WIN32 to tcl.h where __WIN32__ is
1068        defined and added #ifndef check.
1069
1070        * doc/open.n: moved all fconfigure option docs to fconfigure.n
1071        * doc/fconfigure.n: added serial config options
1072
1073        * win/tclWinChan.c:
1074        * win/tclWinPort.h:
1075        * win/tclWinSerial.c: added TIP #35 Windows enhancements for serial
1076        configuration. [Patch 438509] (schroedter)
1077
10782001-10-15  Vince Darley  <vincentdarley@users.sourceforge.net>
1079
1080        * generic/tclFCmd.c: fix to memory leak in TclFileDeleteCmd on
1081        certain error conditions.
1082        * doc/FileSystem.3: fix to typo.
1083
10842001-10-12  Jeff Hobbs  <jeffh@ActiveState.com>
1085
1086        * library/encoding/ebcdic.enc:
1087        * tools/encoding/ebcdic.txt: EBCDIC charset mapping.
1088        [Patch 219323] (nijtmans)
1089
1090        * library/encoding/tis-620.enc:
1091        * tools/encoding/tis-620.txt: TIS-620 charset mapping.
1092        [Patch 467423] (poonlap)
1093
1094        * tests/http.test: added removeFile for outdata
1095
1096        * tests/ioCmd.test: added catch around file removal, as Windows file
1097        locking throws errors.
1098
1099        * tests/socket.test (socket-7.2): corrected to work on Win2K.
1100
11012001-10-12  Miguel Sofer  <msofer@users.sourceforge.net>
1102
1103        * tests/compile.test: new tests for [Bug 467523]; they are only
1104        effective if TCL_MEM_DEBUG was set during compilation.
1105
11062001-10-11  Miguel Sofer  <msofer@users.sourceforge.net>
1107
1108        * generic/tclLiteral.c (TclReleaseLiteral): insured that
1109        self-referential bytecodes are properly cleaned up on interpreter
1110        deletion [Bug 467523] (Ronnie Brunner)
1111
11122001-10-10  David Gravereaux  <davygrvy@pobox.com>
1113
1114        * win/tclWinPort.h:  #include <winsock2.h> needed to get moved to
1115        after #include <windows.h> or wierd misunderstandings took place when
1116        -D_WIN32_WINNT=0x0400 is set for outside code that requires knowledge
1117        of Tcl innards. General header macro magic applied liberally...
1118
11192001-10-10  Don Porter  <dgp@users.sourceforge.net>
1120
1121        * tests/unixInit.test:  Corrected restore of ::env(LANG).
1122
11232001-10-09  Jeff Hobbs  <jeffh@ActiveState.com>
1124
1125        * generic/tclFileName.c (Tcl_SplitPath): corrected mem leak intro'd
1126        with VFS code where the result obj from Tcl_FSSplitPath was not
1127        getting freed.
1128
11292001-10-09  Miguel Sofer  <msofer@users.sourceforge.net>
1130
1131        * generic/tclLiteral.c: (TclReleaseLiteral) reverted previous patch
1132        for [Bug 467523] - cure is worse than the illness.
1133
11342001-10-05  Miguel Sofer  <msofer@users.sourceforge.net>
1135
1136        * generic/tclLiteral.c: (TclReleaseLiteral) insured that
1137        self-referential bytecodes are properly cleaned up on interpreter
1138        deletion. [Bug 467523] (Ronnie Brunner)
1139
11402001-10-04  Jeff Hobbs  <jeffh@ActiveState.com>
1141
1142        * tools/configure:
1143        * tools/configure.in: noted 8.4 as default Tcl version
1144
1145        * library/encoding/cp936.enc:
1146        * library/encoding/cp949.enc:
1147        * library/encoding/cp950.enc:
1148        * library/encoding/iso8859-16.enc:
1149        * library/encoding/macCroatian.enc:
1150        * library/encoding/macCyrillic.enc:
1151        * library/encoding/macGreek.enc:
1152        * library/encoding/macIceland.enc:
1153        * library/encoding/macRoman.enc:
1154        * library/encoding/macTurkish.enc:
1155        * tools/encoding/cp1250.txt:
1156        * tools/encoding/cp1251.txt:
1157        * tools/encoding/cp1252.txt:
1158        * tools/encoding/cp1253.txt:
1159        * tools/encoding/cp1254.txt:
1160        * tools/encoding/cp1255.txt:
1161        * tools/encoding/cp1256.txt:
1162        * tools/encoding/cp1257.txt:
1163        * tools/encoding/cp1258.txt:
1164        * tools/encoding/cp874.txt:
1165        * tools/encoding/cp932.txt:
1166        * tools/encoding/cp936.txt:
1167        * tools/encoding/cp949.txt:
1168        * tools/encoding/cp950.txt:
1169        * tools/encoding/iso8859-1.txt:
1170        * tools/encoding/iso8859-10.txt:
1171        * tools/encoding/iso8859-13.txt:
1172        * tools/encoding/iso8859-14.txt:
1173        * tools/encoding/iso8859-15.txt:
1174        * tools/encoding/iso8859-16.txt:
1175        * tools/encoding/iso8859-2.txt:
1176        * tools/encoding/iso8859-3.txt:
1177        * tools/encoding/iso8859-4.txt:
1178        * tools/encoding/iso8859-5.txt:
1179        * tools/encoding/iso8859-6.txt:
1180        * tools/encoding/iso8859-7.txt:
1181        * tools/encoding/iso8859-8.txt:
1182        * tools/encoding/iso8859-9.txt:
1183        * tools/encoding/koi8-r.txt:
1184        * tools/encoding/macCentEuro.txt:
1185        * tools/encoding/macCroatian.txt:
1186        * tools/encoding/macCyrillic.txt:
1187        * tools/encoding/macGreek.txt:
1188        * tools/encoding/macIceland.txt:
1189        * tools/encoding/macRoman.txt:
1190        * tools/encoding/macTurkish.txt:
1191        Updated encodings with latest mappings from www.unicode.org. This did
1192        not include some Mac encodings that have special multi-unichar
1193        translations now (like symbols, dingbats and japanese). Also does not
1194        include big5, gb or euc* as those have different formats in the latest
1195        Unicode version that need new conversion tools. Not all related .enc
1196        files changed as some had been updates separately.
1197
11982001-10-03  Jeff Hobbs  <jeffh@ActiveState.com>
1199
1200        * generic/tclEvent.c (Tcl_FinalizeThread): moved freeing of
1201        tclLibraryPath to before the thread exit handlers are called. Slight
1202        modification to change on 2001-09-24.
1203
12042001-10-01  Jeff Hobbs  <jeffh@ActiveState.com>
1205
1206        * win/configure: regen'ed
1207        * win/tcl.m4:
1208        * win/makefile.vc: added Win64 SDK RC1 compilation support
1209        * win/Makefile.in: added $(LDFLAGS_CONSOLE) to TCLSH, TCLTEST and
1210        PIPE_DLL_FILE targets to get the link flags
1211
1212        * win/tclWinInit.c: minor 64bit casts
1213
12142001-10-01  Miguel Sofer  <msofer@users.sourceforge.net>
1215
1216        * generic/tclCmdIL.c:
1217        * generic/tclCmdMZ.c:
1218        * generic/tclParseExpr.c: removed unnecessary inclusion of
1219        tclCompile.h and made a small modification in (InfoBodyCmd) to improve
1220        the isolation of the compiler/engine subsystem.
1221
12222001-09-29  Vince Darley  <vincentdarley@users.sourceforge.net>
1223
1224        * generic/tclIOUtil.c:
1225        * doc/FileSystem.3: corrected and clarified documentation for
1226        'Tcl_FSListVolumes(Proc)'. No code changes.
1227
12282001-09-28  Miguel Sofer  <msofer@users.sourceforge.net>
1229
1230        * doc/FindExec.3: added a comment not to change the working directory
1231        before calling Tcl_GetNameOfExecutable. [Bug 219215]
1232
12332001-09-28  Kevin Kenny   <kennykb@users.sourceforge.net>
1234
1235        * generic/tclIO.c: added two more '(ClientData)' casts on calls to
1236        Tcl_Preserve and Tcl_Release -- ones that Vince apparently missed.
1237
12382001-09-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1239
1240        * doc/lsort.n: Improved doc...
1241        * generic/tclCmdIL.c (Tcl_LsortObjCmd, SortCompare): Made
1242        offset-from-end indexing work, and factored out some "magic numbers"
1243        for easier understanding. [Bug 465674]
1244        * tests/cmdIL.test (cmdIL-1.26): Added test for offset-from-end
1245        indexing for lsort.
1246
12472001-09-28  Vince Darley  <vincentdarley@users.sourceforge.net>
1248
1249        * win/tclWinFCmd.c:
1250        * unix/tclUnixFCmd.c: fix to performance issue reported by jcw in
1251        which 'access("")' is called unnecessarily when normalizing any
1252        absolute path.
1253        * generic/tclIO.c: added '(ClientData)' cast to calls to
1254        Tcl_(Preserve|Release) newly introduced, fixing compile error on
1255        Windows.
1256
12572001-09-27  Don Porter  <dgp@users.sourceforge.net>
1258
1259        * doc/FileSystem.3 (Tcl_FSLoadFile):
1260        * generic/tcl.decls (Tcl_FSLoadFile):
1261        * generic/tcl.h (Tcl_FSLoadFileProc):
1262        * generic/tclInt.h (TclpLoadFile):
1263        * generic/tclIOUtil.c (Tcl_FSLoadFile):
1264        * generic/tclLoadNone.c (TclpLoadFile):
1265        * generic/tclTest.c (TestReportLoadFile):
1266        * library/ldAout.tcl:
1267        * mac/tclMacLoad.c (TclpLoadFile):
1268        * unix/tclLoadAix.c (TclpLoadFile):
1269        * unix/tclLoadAout.c (TclpLoadFile):
1270        * unix/tclLoadDl.c (TclpLoadFile):
1271        * unix/tclLoadDld.c (TclpLoadFile):
1272        * unix/tclLoadDyld.c (TclpLoadFile):
1273        * unix/tclLoadNext.c (TclpLoadFile):
1274        * unix/tclLoadOSF.c (TclpLoadFile):
1275        * unix/tclLoadShl.c (TclpLoadFile):
1276        * win/tclWinLoad.c (TclpLoadFile):
1277        * win/tclWinFCmd.c (DoRemoveJustDirectory):  More CONST poisoning
1278        fixes from the 2001-09-24 TIP 27 changes. CONST-ified Tcl_FSLoadFile
1279        and TclpLoadFile. Report and patch from Kevin Kenny. [Bug 465833]
1280
1281        * generic/tclIO.c (ChannelTimerProc):  Added Tcl_Preserve() and
1282        Tcl_Release() to fix segfault introduced by the 2001-09-26 changes.
1283        [Bug 465494]
1284
1285        * doc/TCL_MEM_DEBUG.3:  Updated out-of-date reference to #define
1286        GUARD_SIZE.
1287
1288        * doc/UpVar.3 (Tcl_UpVar,Tcl_UpVar2):
1289        * generic/tcl.decls (Tcl_UpVar,Tcl_UpVar2):
1290        * generic/tclInt.decls (TclFindProc,TclGetFrame):
1291        * generic/tclInt.h (TclFindProc,TclGetFrame,TclLookupVar,
1292        (TclPrecTraceProc,TclProcInterpProc}):
1293        * generic/tclProc.c (TclGetFrame,TclFindProc):
1294        * generic/tclVar.c (Tcl_UpVar,Tcl_UpVar2,MakeUpvar):  Updated APIs in
1295        generic/tclProc.c and generic/tclVar.c according to the guidelines of
1296        TIP 27. [Patch 465442]
1297
1298        * generic/tclDecls.h:
1299        * generic/tclIntDecls.h: make genstubs
1300
13012001-09-26  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1302
1303        * doc/fileevent.n: Accepted [Patch 465279] adding an example to the
1304        fileevent manpage. Minor modifications to get a better formatting.
1305        Report and patch by David N. Welton <davidw@users.sourceforge.net>.
1306
1307        * The changes below fix [Bug 462317] where Expect tried to read more
1308        than was in the buffers and then blocked in the OS call as its pty
1309        channel driver provides no blockmodeproc through which the OS could be
1310        notified of blocking-behaviour. Because of this the general I/O core
1311        has to take more care than usual to preserve the semantics of
1312        non-blocking channels.
1313
1314        The problem was reported by "Kevin O'Gorman" <kevin@kosmanor.com>.
1315
1316        * generic/tclIO.c (Tcl_ReadRaw): Do not read from the driver if the
1317        channel is non-blocking and the fileevent causing the read was
1318        generated by a timer. We do not know if there is data available from
1319        the OS. Instead of going to the OS for more and potentially blocking
1320        we simply signal EWOULDBLOCK to the higher levels to cause the system
1321        to wait for true fileevents.
1322        (GetInput): Same as before.
1323        (ChannelTimerProc): Added set and clear of CHANNEL_TIMER_FEV.
1324
1325        * generic/tclIO.h (CHANNEL_TIMER_FEV): New flag for channels. Is set
1326        if a fileevent was generated by a timer, the channel is not blocking
1327        and the driver did not provide a blockmodeproc. In that case the I/O
1328        core has to be especially careful about going to the driver for more
1329        data.
1330
13312001-09-26  Don Porter  <dgp@users.sourceforge.net>
1332
1333        * doc/SplitPath.3 (Tcl_GetPathType):
1334        * generic/tcl.decls (Tcl_GetPathType):
1335        * generic/tclFileName.c (Tcl_GetPathType):
1336        * win/tclWinFile.c (TclpMatchInDirectory, NativeStat):  Vince Darley
1337        reports the 2001-09-24 TIP 27 changes left the win directory CONST
1338        poisoned. These changes should fix that.
1339
1340        * generic/tclDecls.h: make genstubs
1341
13422001-09-25  Don Porter  <dgp@users.sourceforge.net>
1343
1344        * doc/GetInt.3:
1345        * generic/tclInt.h (TclGetLong deleted):
1346        * generic/tcl.decls:
1347        * generic/tclInt.decls:
1348        * generic/tclGet.c:  Updated APIs in generic/tclGet.c according to the
1349        guidelines of TIP 27. [Patch 464674]
1350
1351        * generic/tclDecls.h:
1352        * generic/tclIntDecls.h: make genstubs
1353
13542001-09-25  Miguel Sofer  <msofer@users.sourceforge.net>
1355
1356        * generic/tclVar.c: removed comments referring to unused flag
1357        TCL_PARSE_PART1.
1358
13592001-09-24  Don Porter  <dgp@users.sourceforge.net>
1360
1361        * doc/Concat.3:
1362        * doc/DString.3:
1363        * doc/SplitList.3:
1364        * generic/tclInt.h (TclCheckBadOctal):
1365        * generic/tcl.decls:
1366        * generic/tclInt.decls:
1367        * generic/tclEncoding.c (OpenEncodingFile):
1368        * generic/tclMain.c (Tcl_Main):
1369        * generic/tclUtil.c:
1370        * unix/tclLoadDl.c (TclpLoadFile):  Updated APIs in generic/tclUtil.c
1371        according to the guidelines of TIP 27. [Patch 464553]
1372
1373        * generic/tclDecls.h:
1374        * generic/tclIntDecls.h: make genstubs
1375
13762001-09-24  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1377
1378        The change below fixes [Bug 464380]. The bug was reported by Ronnie
1379        Brunner <rbrunner@users.sourceforge.net>. He also provided the patch.
1380
1381        * generic/tclEvent.c (Tcl_Finalize): Moved release of 'tclLibraryPath'
1382        to Tcl_FinalizeThread.
1383        (Tcl_FinalizeThread): See above, new place for release of
1384        'tclLibraryPath'.
1385
13862001-09-24  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1387
1388        * tools/encoding/cp1252.txt: File was missing part of the encoding
1389        [euro, ZCaron and zcaron].
1390
1391        * doc/OpenFileChnl.3: Add docs for Tcl_OutputBuffered; remove some old
1392        changebars.
1393
13942001-09-21  Jeff Hobbs  <jeffh@ActiveState.com>
1395
1396        * generic/tclExecute.c (TclExecuteByteCode): corrected INST_STR_CMP
1397        else case for strings to pass true utf char length to Tcl_UtfNCmp.
1398
13992001-09-20  Jeff Hobbs  <jeffh@ActiveState.com>
1400
1401        * win/tclWinInit.c: added extra processor definitions. (mstacy)
1402
1403        * win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.
1404
1405        * win/tclWinNotify.c: removed unnecessary winsock include (it is
1406        already in from tclWinPort.h).
1407
1408        * win/tclWinPort.h: changed winsock.h include to winsock2.h. Reverses
1409        change from 2000-11-16, but is necessary for WIN64. Extensions should
1410        comply with defined OS words, or use #ifndef.
1411
14122001-09-20  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1413
1414        * tests/socket.test: removed dependence on being run from same dir as
1415        remote.tcl, which only now needs to be in the same dir as this file.
1416        [Bug 219326]
1417
14182001-09-19  Jeff Hobbs  <jeffh@ActiveState.com>
1419
1420        * generic/tclTest.c (TestcmdtokenCmd): corrected pointer
1421        storage/retrieval for 64bit machines.
1422
1423        * generic/tclCmdAH.c (Tcl_FormatObjCmd):
1424        * generic/tclScan.c (Tcl_ScanObjCmd): corrected handling of format and
1425        scan on 64-bit machines. [Bug 412696] (rmax)
1426
1427        * unix/configure: regen'ed
1428        * unix/tcl.m4: added --enable-64bit support for HP-11 with the 64-bit
1429        kernel.
1430
1431        * tests/basic.test:
1432        * tests/cmdInfo.test: improved skip reporting of missing commands
1433
1434        * tests/winFCmd.test: simplified error check for winFCmd-7.9
1435
1436        * tests/winPipe.test: removed obsolete cat16 tests
1437
1438        * generic/tclExecute.c (TclExecuteByteCode): fixed invalid usage of
1439        valuePtr in TRACE_WITH_OBJ in INST_EVAL_STK case. [Bug 462594] Changed
1440        INST_STR_CMP instruction to promote to Unicode strings only when one
1441        of the strings is already of Unicode type.
1442
1443        * generic/tclExecute.c (TclExecuteByteCode):
1444        * generic/tclCompile.c (instructionTable):
1445        * generic/tclCompCmds.c (TclCompileStringCmd): INST_STR_MATCH -
1446        Updated to Int1 instruction type and added special case to use
1447        INST_STR_EQ instead when no glob chars are specified in a static
1448        string.
1449
1450        * tests/{for.test,foreach.test,if.test,while.test}:
1451        * generic/tclCompCmds.c (TclCompileForCmd, TclCompileForeachCmd,
1452        TclCompileIfCmd, TclCompileWhileCmd): Corrected the overaggressive
1453        compiling of loop bodies enclosed in ""s.  [Bug 219166] (msofer)
1454
14552001-09-19  Miguel Sofer  <msofer@users.sourceforge.net>
1456
1457        * generic/tclExecute.c: insured that execution stack errors are also
1458        detected at abnormal returns.
1459
14602001-09-19  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1461
1462        * doc/socket.n: Added documentation to mention what happens when a
1463        server socket is created with port=0. Removed an old change bar, and
1464        no new change bar because Tcl has always behaved this way as it is
1465        really a poorly-documented standards-defined OS feature.
1466
1467        * tests/util.test (util-8.1): Test derived from code to detect the
1468        problem, but the test always works in the C locale, so beware if you
1469        are maintaining the code.
1470        * generic/tclUtil.c (TclNeedSpace): Rewrote to be UTF-8 aware. [Bug
1471        411825, but not that patch which would have added extra spaces if
1472        there was a real non-ASCII space involved.]
1473
14742001-09-18 Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1475
1476        * generic/tclIOCmd.c (Tcl_PutsObjCmd): Rewritten to have saner and
1477        faster argument handling. [Bug 123552], [Patch 402564] (fellows)
1478
14792001-09-18  Don Porter  <dgp@users.sourceforge.net>
1480
1481        * unix/configure: Regen.
1482        * unix/tcl.m4 (SC_CONFIG_CFLAGS): On Linux, disable inlining when one
1483        of the compat/*.c routines is to be linked in. [Patch 440891]
1484
14852001-09-17  Jeff Hobbs  <jeffh@ActiveState.com>
1486
1487        * generic/tcl.h: removed forced #define USE_TCLALLOC 1 for Windows.
1488        This means the native system allocator will be used by default. This
1489        should be binary and source compatible with extensions, as Tcl_Alloc
1490        is a properly stubbed function.
1491
14922001-09-17  Miguel Sofer  <msofer@users.sourceforge.net>
1493
1494        * generic/tclExecute.c: corrected small bug in [Patch 456668] - the
1495        varFramePtr was not restored in one possible exit.
1496
14972001-09-17  Miguel Sofer  <msofer@users.sourceforge.net>
1498
1499        * doc/tclvars.n:
1500        * generic/tclCompile.c:
1501        * generic/tclCompile.h:
1502        * generic/tclExecute.c:
1503        * generic/tclProc.c: disabled all compile and execution tracing
1504        functionality in standard builds; TCL_COMPILE_DEBUG is now necessary
1505        to enable it. [Bug 451858]
1506
15072001-09-14  Andreas Kupries <andreas_kupries@users.sourceforge.net>
1508
1509        * doc/gets.n:
1510        * doc/read.n:
1511        * doc/puts.n:
1512        * doc/flush.n:
1513        * doc/fconfigure.n:
1514        * doc/flush.n:
1515        * doc/eof.n:
1516        * doc/seek.n:
1517        * doc/tell.n:
1518        * doc/close.n:
1519        * doc/fileevent.n: Added references to the Tcl standard channels. Item
1520        [219250], reported by David LeBlanc <whisper@oz.net>. Thanks to
1521        Christopher Nelson <chris@pinebush.com> for doing editorial work.
1522
15232001-09-13  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
1524
1525        * win/Makefile.in:
1526        * win/configure.in:
1527        * win/makefile.bc:
1528        * win/makefile.vc:
1529        * library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl
1530        versions to independent versions for dde and registry packages.
1531
15322001-09-13  Jeff Hobbs  <jeffh@ActiveState.com>
1533
1534        * tests/regexp.test (regexp-20.1):
1535        * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): had to adjust fix from
1536        2001-08-06 to actually duplicate the objects in certain cases. This is
1537        really a place where feather would have been essential. [Bug 461322]
1538
1539        * generic/tclUtf.c (Tcl_UtfPrev): corrected to return the proper
1540        location when the middle of a UTF-8 byte was passed in [Tk Bug 450504]
1541
1542        * ChangeLog.1999:
1543        * ChangeLog: broke changes from 199x into ChangeLog.1999 to reduce
1544        size of the main ChangeLog.
1545
15462001-09-13  Andreas Kupries <andreas_kupries@users.sourceforge.net>
1547
1548        * tests/ioCmd.test: Changed the computation of the result for
1549        iocmd-8.1[123] so that the tests work for single- and multi-process
1550        execution of the testsuite. Depending on the choice of the user stdout
1551        is a tty or not and thus reports different channel options. Fixes
1552        [460993] reported by Don Porter.
1553
15542001-09-13  Miguel Sofer  <msofer@users.sourceforge.net>
1555
1556        * doc/ParseCmd.3:
1557        * generic/tcl.decls:
1558        * generic/tclCmdMZ.c (Tcl_SubstObjCmd):
1559        * generic/tclDecls.h:
1560        * generic/tclParse.c:
1561        * generic/tclStubInit.c:
1562        * tests/parse.test: Deprecate the use of Tcl_EvalTokens, replaced by
1563        the new Tcl_EvalTokensStandard. The new function performs the same
1564        duties but adheres to the standard return convention for Tcl
1565        evaluations; the deprecated function could only return TCL_OK or
1566        TCL_ERROR, which caused [Bug 219384] and [Bug 455151]. This patch
1567        implements [TIP 56].
1568
15692001-09-12  Mo DeJong  <mdejong@users.sourceforge.net>
1570
1571        * unix/configure: Regen.
1572        * unix/tcl.m4: Invert the logic that checks for $GCC. Instead of
1573        checking for "$GCC" = "no" we check for "$GCC" != "yes" or simply swap
1574        the true and false blocks of code in an if statement. That way if GCC
1575        is set to "" everything will still work. [Bug 460991]
1576
15772001-09-12  Don Porter <msofer@users.sourceforge.net>
1578
1579        * tests/appendComp.test:
1580        * tests/lsearch.test:
1581        * tests/namespace.test:
1582        * tests/rename.test:
1583        * tests/split.test:  Corrected tests to better isolate tests in one
1584        file from influencing tests in other files. [Bug 460591]
1585
15862001-09-12  Miguel Sofer  <msofer@users.sourceforge.net>
1587
1588        * generic/tcl.decls: reserved stub #481 for the implementation of
1589        [TIP 56]
1590
15912001-09-11  Andreas Kupries <andreas_kupries@users.sourceforge.net>
1592
1593        * doc/OpenFileChnl.3: Added documentation for Tcl_WriteRaw and
1594        Tcl_ReadRaw [Bug 414929].
1595
1596        * doc/CrtChannel.3: Added documentation for Tcl_ChannelBuffered and
1597        Tcl_GetTopChannel [Bug 414929].
1598
1599        * The changes below are a fix for [Bug 219253].
1600
1601        * tests/socket.test: Removed _most_ instances of hardwired port
1602        numbers for listening sockets. Remaining are the ports in all tests
1603        with constraint 'doTestsWithRemoteServer'. These seem to be designed
1604        for a more controlled environment and are usually skipped when running
1605        the testsuite.
1606
1607        * tests/io.test: Removed all instances of hardwired port numbers for
1608        listening sockets.
1609
16102001-09-10  Jeff Hobbs  <jeffh@ActiveState.com>
1611
1612        * generic/tclEvent.c (TclInExit): Corrected handling of tsd in late
1613        stages of finalization. [Bug 419449] (darley)
1614
1615        * tests/stack.test:
1616        * generic/tclInterp.c (AliasObjCmd): Check the numLevels to ensure
1617        that we aren't hitting some alias loop condition. [Bug 443184]
1618
16192001-09-10  Mo DeJong  <mdejong@users.sourceforge.net>
1620
1621        * unix/configure: Regen.
1622        * unix/tcl.m4 (SC_CONFIG_CFLAGS): Don't include . characters in the
1623        Tcl library name when building on FreeBSD 3.X and later systems.
1624        [Patch 450725]
1625
16262001-09-10  Andreas Kupries <andreas_kupries@users.sourceforge.net>
1627
1628        * doc/tclsh.1:
1629        * doc/Tcl_Main.3:
1630        * doc/CrtChannel.3:
1631        * doc/OpenFileChnl.3:
1632        * doc/GetStdChan.3: Enhanced the manpages with cross-references to
1633        the new manpage and more explanations how these functions deal with
1634        the standard channels in various situations.
1635
1636        * doc/StdChannels.3: New manpage describing handling of the standard
1637        channels by the Tcl library. [Bug 402725]
1638
16392001-09-10  Don Porter <dgp@users.sourceforge.net>
1640
1641        * unix/mkLinks (Tcl_FSLink): Updated to reflect 2001-08-23 file system
1642        changes.
1643
1644        * unix/tclLoadShl.c:  Added #include of tclInt.h; access to Tcl
1645        internals, notably TclpUnloadFile(), is required. Thanks to Bob
1646        Techentin for report and patch. [Bug 459305]
1647
1648        * generic/tclInitScript.h (initScript):
1649        * win/tclWinInit.c (TCL_REGISTRY_KEY, TclpSetVariables):  Removed
1650        vestiges of Tcl's old initialization from registry variables. [Bug
1651        455645]
1652
16532001-09-10  Andreas Kupries <andreas_kupries@users.sourceforge.net>
1654
1655        * generic/tclInt.decls: Also added 'TclWinFlushDirtyChannels' to the
1656          internal platform specific stub table.
1657
1658        * win/tclWinFile.c (TclpObjStat): Now added the call to
1659        'TclWinFlushDirtyChannels' to this function. I don't know where my
1660        head was last thursday (2001-09-06), but the call was actually added
1661        to 'TclpObjChdir', i.e. the implementation of [cd]. Corrected this
1662        now. Thanks to Vince Darley for spotting this.
1663
16642001-09-10  Miguel Sofer  <msofer@users.sourceforge.net>
1665
1666        * generic/tclProc.c:
1667        * tests/proc.test: made [proc] bytecompile a no-op for procs defined
1668        with _args_ as single argument and an empty body. [FRQ 451441]
1669
16702001-09-09  Mo DeJong  <mdejong@users.sourceforge.net>
1671
1672        * unix/Makefile.in:
1673        * win/Makefile.in: Use () around variable name instead of {}. Use
1674        TCLTEST variable directly instead of depending on the tcltest alias.
1675
16762001-09-09  David Gravereaux <davygrvy@pobox.com>
1677
1678        * generic/tcl.h:
1679        * generic/tclPlatDecls.h: Reminder from David Cuthbert
1680        <dacut@kanga.org> that I hadn't finished the Borland compatibility
1681        stuff. [Patch 436116]
1682
16832001-09-09  Mo DeJong  <mdejong@users.sourceforge.net>
1684
1685        * tests/cmdAH.test: Modify cmdAH-20.5 and cmdAH-24.8 to display the
1686        file atime or mtime results if the test fails.
1687
16882001-09-08  David Gravereaux <davygrvy@pobox.com>
1689
1690        * win/mkd.bat:
1691        * win/rmd.bat: made these text files, text files again. [Patch 451333]
1692
16932001-09-08  Mo DeJong  <mdejong@users.sourceforge.net>
1694
1695        * win/mkd.bat:
1696        * win/rmd.bat: Apply binary property (cvs admin -kb) to files and
1697        convert to CRLF linefeed format to fix the VC++ build. [Bug 219409]
1698
16992001-09-08 Vince Darley <vincentdarley@users.sourceforge.net>
1700
1701        * generic/tclInt.h:
1702        * generic/tclFCmd.c:
1703        * doc/FileSystem.3:
1704        * generic/tclIOUtil.c: removed Tcl_FSCopyFile fallback to channel
1705        copying, since the channels will not have access to interpreters and
1706        the channel copying currently requires an interp. Code which required
1707        cross-platform copies always has interpreters, so that solves the
1708        problem. Fixes bug in TclKit.
1709
17102001-09-07  David Gravereaux <davygrvy@pobox.com>
1711
1712        * win/tcl.m4: Added -link50compat option so a VC6 linker makes a VC5
1713        (pre sp3) compatible import library. [Bug 219257]
1714
17152001-09-07  Mo DeJong  <mdejong@users.sourceforge.net>
1716
1717        * win/tclWinThrd.c (TclpThreadExit): Cast status argument to
1718        _endthreadex to unsigned instead of DWORD to match the Win32 function
1719        prototype.
1720
17212001-09-06  Andreas Kupries <andreas_kupries@users.sourceforge.net>
1722
1723        * All the changes below serve to fix bug [219148] which reports a 80x
1724        performance hit for file I/O on Win* systems. On my system it was
1725        closer to a 120x hit. Problem report by Uwe Traum <no email address
1726        available>.
1727
1728        The fix goes like this: The obstacle is 'FlushFileBuffers', executed
1729        whenever Tcl writes data to the OS, as Tcl has to wait for the disk to
1730        complete I/O, and disks are slow. We remove that obstacle. This opens
1731        another problem, [file size] reports back wrong numbers. So for [file
1732        size] we add the call back in. As optimization we keep track of the
1733        channels which were written to and flush only these.
1734
1735        * win/tclWinFile.c (TclpObjStat): Added a call to
1736        'TclWinFlushDirtyChannels'. This ensures that [file size] and related
1737        commands report the correct size of a file even if Tcl has recently
1738        written to it. Unixoid OS's always report the correct size even for
1739        files with pending data, but Win* syssystem don't. They only report
1740        what is actually on disk.
1741
1742        * win/tclWinInt.h: Added declaration of 'TclWinFlushDirtyChannels',
1743        making it available to other parts of the tcl core.
1744
1745        * win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal,
1746        procedure. Goes through the list of open file channels and forces the
1747        OS to flush its file buffers for all which were written to since the
1748        last call of this function. This is an expensive operation as Tcl has
1749        to wait for the OS to complete actual writes to the disk.
1750
1751        (FileInfo): Added dirty flag required by the procedure above.
1752
1753        (FileOutputProc): Removed flushing of file buffers, setting the dirty
1754        flag instead. This means that the previously incurred delays do not
1755        happen anymore.
1756
1757        (TclWinOpenFileChannel): Added initialization of 'dirty' flag.
1758
17592001-09-06  Jeff Hobbs  <jeffh@ActiveState.com>
1760
1761        * doc/http.n: noted -binary, charset and coding state keys.
1762        * tests/http.test:
1763        * library/http/pkgIndex.tcl:
1764        * library/http/http.tcl (geturl): correctly get charset parameter
1765        and convert text according to specified encoding (if known). RFC
1766        iso8859-1 is used by default. Also recognize Content-encoding to see
1767        if we should do binary translation. Added a CYA -binary switch for the
1768        cases that were missed. [Bugs 219211, 219399]
1769
1770        * tests/ioUtil.test: changed to make better use of constraints and
1771        remove knownBug constraints that weren't valid.
1772
17732001-09-06  Don Porter  <dgp@users.sourceforge.net>
1774
1775        * tests/unixInit.test (unixInit-3.2): Updated test to support newer
1776        HP-UX releases that properly report euc-jp as the system encoding for
1777        Japanese. Bug report and patch verification by Bob Techentin. [Bug
1778        453883]
1779
1780        * doc/http.n:
1781        * library/http/*.tcl:
1782        * tools/tcl.wse.in:
1783        * tools/tclmin.wse:
1784        * unix/Makefile.in:
1785        * win/{Mm}akefile.*:  Updated http package to version 2.4, reflecting
1786        the new features just added.
1787
17882001-09-06 Vince Darley <vincentdarley@users.sourceforge.net>
1789
1790        * generic/tclTest.c: tests of old-fs hooks no longer cause problems in
1791        threaded builds. Also removed unused unload proc.
1792        * generic/tcl.decls:
1793        * generic/tclIOUtilc: added Tcl_FSMountsChanged so that a vfs can
1794        inform the filesystem that the filesystem epoch must be changed (since
1795        cached filesystems may now be incorrect). Fixes problem running tclvfs
1796        extension.
1797        * library/tcltest/tcltest.tcl: if tests aren't in a native filesystem,
1798        then don't use pipes to run them. [Bug 458741]
1799
18002001-09-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1801
1802        * generic/tcl.decls (479 generic):
1803        * generic/tclIO.c (Tcl_Seek,Tcl_Tell,Tcl_OutputBuffered): Added public
1804        function to return the size of the output buffer and reworked other
1805        channel functions to use this shared functionality and that of
1806        Tcl_InputBuffered() too. [TIP#49, Rolf Schroedter]
1807
18082001-09-05  David Gravereaux <davygrvy@pobox.com>
1809
1810        * generic/tclPlatDecls.h:  Another small trim finalizing Borland
1811        support.
1812
1813        * win/tclWinPipe.c:
1814        * win/tclWinPort.h:  More Borland compatibility fixes. Changed EDQUOT
1815        #define from 49 to 69. Borland had a clash as it was already using
1816        this number. Upon advice from Helmut Giese, EDQUOT has been found in
1817        other header files #defined as 69. [Patch 436116]
1818
1819        * win/.cvsignore:  A few more glob patterns added.
1820
1821        * win/makefile.bc (new):  Borland lives once more! rejoice..
1822        * generic/tclAlloc.c: Small Borland compatibility fix.
1823        * win/tclWinTime.c:  More Borland compatibility fixes. [Patch 436116]
1824
18252001-09-05 Vince Darley <vincentdarley@users.sourceforge.net>
1826
1827        * tests/winFCmd.test: made notWin2000 constraint false if not running
1828        on Windows at all.
1829
18302001-09-04  David Gravereaux <davygrvy@pobox.com>
1831
1832        * win/tclWinThrd.c:  Revisited _beginthreadex() stuff. Instead of
1833        assuming a c-runtime implimentation of _beginthreadex normal, I
1834        reversed the logic to not assume, and use when is by explicitly
1835        needing to add runtimes that support it such as Borland.
1836
1837        * generic/tcl.h:
1838        * generic/tclPlatDecls.h:  Borland compatibility change so ClientData
1839        was properly typed as a void* and TCHAR would not be defined twice.
1840
1841        * generic/tcl.h:  Removed a small mistake from before. Changes to the
1842        EXTERN macro for proper Borland compatibility will have to see a TIP.
1843        What's this with the MS compiler:
1844
1845                __declspec(dllexport) int func (int a, int b);
1846
1847        will have to be this with Borland:
1848
1849                int __cdecl __export func (int a, int b);
1850
1851        The order of the attribute needs to be after the return type.
1852
18532001-09-04  Don Porter  <dgp@users.sourceforge.net>
1854
1855        * compat/strtod.c (strtod):  Fixed failure to handle expressions like
1856        3eq2 and failure to set errno on overflow. [Bug 440894]
1857
18582001-09-04  Miguel Sofer  <msofer@users.sourceforge.net>
1859
1860        * generic/tclProc.c:
1861        * tests/proc.test: made [proc] check that formal args have simple
1862        names. [Bug 458548]
1863
18642001-09-04 Vince Darley <vincentdarley@users.sourceforge.net>
1865
1866        Minor bug fixes in filesystem, plus small vfs changes as a result of
1867        enabling the test filesystem to work properly.
1868        * tests/fileName.test: ensure new test cleans up after itself
1869        * doc/filename.n:
1870        * generic/tclFileName.c: improved Mac path handling and document why
1871        [Bug 421842] on Windows handling of UNC paths is not valid.
1872        Documentation and code now much clearer on what is and is not a UNC
1873        path.
1874        * doc/FileSystem.3:
1875        * unix/tclUnixPipe.c:
1876        * generic/tclFCmd.c:
1877        * generic/tclIOUtil.c: fixed error message, fixed [Bug 453512] about
1878        dangerous use of tmpnam, replaced with mkstemp. Documented all the
1879        changes.
1880        * generic/tclTest.c: made test vfs fully functional as a 'reporting
1881        filesystem'.
1882        * generic/tcl.stubs:
1883        * generic/tcl.h:
1884        * generic/tclInt.h:
1885        * generic/tclIOUtil.c:
1886        * doc/file.n:
1887        * various platform-specific 'TclpLoadFile': fixed comments about
1888        unload behaviour, and completed objectification of loading. Required
1889        change to Tcl_Filesystem lookup table, so incompatible with 8.4a3, but
1890        not older versions of Tcl. The change also allows 'link' and
1891        'reporting' filesystems to function correctly when loading files.
1892        Implementation of 'file delete -force' copes with case where cwd is
1893        inside the directory. Moved overlooked Tcl_FSGetPathType from internal
1894        to external API. Made sure filesystems which are registered and then
1895        unregistered are only freed when all references to them are gone.
1896        Documented changes.
1897        * unix/tclUnixFCmd.c: when deleting directories recursively, make sure
1898        permissions are ok. Together with the above, this fixes [Bug 219139]
1899        * tests/winFCmd.test: differentiated test results for win2k versus
1900        not. This fixes [Bug: 219239]
1901        * tests/fCmd.test: added tests for 'file delete -force' where the cwd
1902        is inside, and when permissions are inadequate.
1903
19042001-09-04  Miguel Sofer  <msofer@users.sourceforge.net>
1905
1906        * generic/tclCompile.c: fixed incorrect operands for INST_LIST [Bug
1907        458241] (David Cuthbert, dacut@users.sourceforge.net)
1908
19092001-09-03  Jeff Hobbs  <jeffh@ActiveState.com>
1910
1911        * generic/tclExecute.c (TclExecuteByteCode): fixed missing comma in
1912        debug macro.
1913
19142001-09-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
1915
1916        * doc/ExprLongObj.3: Fixed error in documentation of argument type to
1917        Tcl_ExprObj [Bug 457435]
1918
19192001-09-02  David Gravereaux <davygrvy@pobox.com>
1920
1921        * win/tclWinThrd.c:  Portability fix for Cygwin who's c-runtime,
1922        not surprisingly, doesn't have the MSVCRT specific _beginthreadex /
1923        _endthreadex pair. This might have to be revisited for proper Borland,
1924        lcc32, Watcom and other support as well. [Patch 444255]
1925
1926        * win/tclWinThrd.c:  Moved FinalizeConditionEvent() proto to within
1927        the main #ifdef TCL_THREADS block to avoid mingw warning about it
1928        being there but unused.
1929
1930        * win/makefile.vc:  Added -Zl (zee el) to tclStubLib.c compile line to
1931        make sure the tclstub84.lib static library is built without requiring
1932        a specific C-runtime library at link-time for the end-use developer.
1933        It has been noted on c.l.t that this trips many first time users
1934        trying to make extensions. [Patch 403533]
1935
19362001-08-31  Jeff Hobbs  <jeffh@ActiveState.com>
1937
1938        * generic/tclInt.h: added TclCompileListCmd header
1939        * generic/tclBasic.c: added TclCompileListCmd compile proc
1940        * generic/tclCompCmds.c (TclCompileListCmd): function to compile the
1941        'list' command at parse time.
1942        * generic/tclExecute.c (TclExecuteByteCode): definition of INST_LIST
1943        bytecode.
1944
1945        * doc/StringObj.3: added words of warning to use Tcl_ResetResult with
1946        the Tcl_Append* functions.
1947
1948        * tests/compile.test: added compile-11.* interp result checks
1949        * generic/tclUtil.c (TclGetIntForIndex): added Tcl_ResetResult before
1950        Tcl_AppendStringsToObj to prevent shared object crash when called from
1951        bcc instruction. The Tcl_Append* calls that append to the result
1952        object that are invoked by bcc insts must remember to call
1953        Tcl_ResetResult because the bcc doesn't do this for us. [Bug 456892]
1954
19552001-08-30  Jeff Hobbs  <jeffh@ActiveState.com>
1956
1957        * generic/tclIndexObj.c: fixed some casting problems that upset Crays.
1958        [Bug 419528] (andreasen)
1959
19602001-08-30  Don Porter  <dgp@users.sourceforge.net>
1961
1962        * generic/tcl.h: Silence warning from Sun compiler. [Bug 454374]
1963
19642001-08-30  Miguel Sofer  <msofer@users.sourceforge.net>
1965
1966        * generic/tclExecute.c: allow cached fully-qualified command names to
1967        be usable from different namespaces within the same interpreter
1968        without forcing a new lookup. This speeds up scripts that pass command
1969        names in variables ("this" in some OO packages). [Patch 456668]
1970
19712001-08-30 Vince Darley <vincentdarley@users.sourceforge.net>
1972
1973        Further fs updates. After examining the most common Tcl extensions
1974        (TclX, BLT, Tk, TclPro, Mktclapp), it has been determined that only
1975        TclpGetCwd and the Access/Stat/Open insert/delete hooks of the
1976        internal fs functions are ever used. The remaining functions from
1977        Tcl's internal interfaces have therefore been removed, since Tcl now
1978        exports a more suitable public API (Tcl_FS...)
1979
1980        * generic/tclInt.stubs:
1981        * generic/tclInt.h: updated for removed internal functions. Some new
1982        internal functions have been put in tclInt.h (and not exported in the
1983        stub table because good public equivalents exist).
1984        * generic/tclTest.c: some test functions used the internal private
1985        APIs. These tests have been retained, but modified to use public APIs.
1986        Also objectified the internal filesystem tests.
1987        * win/tclWinFile.c: removed TclpStat, TclpAccess and refactored code
1988        to use NativeAccess, NativeStat. This should speed up stat, access and
1989        glob commands.
1990        * win/tclWinFCmd.c: removed all TclpCopy/Rename/Delete File/Directory
1991        string-based procedures which aren't used any more. Improved
1992        efficiency of some other procedures. Ensure that filename conversions
1993        with a NULL interp do not crash Tcl.
1994        * mac/tclMacFCmd.c: wrapped long lines and cleaned up
1995        TclpObjNormalizePath, removed all TclpCopy/Rename/Delete
1996        File/Directory string-based procedures which aren't used any more.
1997        * mac/tclMacFile.c: removed obsolete TclpStat, TclpAccess, TclpChdir,
1998        etc.
1999        * unix/tclUnixFCmd.c: removed use of TclpAccess, removed all
2000        TclpCopy/Rename/Delete File/Directory string-based procedures which
2001        aren't used any more.
2002        * unix/tclUnixFile.c: removed obsolete TclpStat, TclpAccess,
2003        TclpChdir, etc.
2004        * tcl(Unix|Mac|Win)Chan.c: objectified TclpOpenFileChannel.
2005        * various 'load' implementations all objectified.
2006        * generic/tclFileName.c: removed redundant code.
2007        * generic/tclIOUtil.c: removed TclStat, TclAccess, TclpListVolumes.
2008        Fix to MatchInDirectory at the root of a volume. Also improved some
2009        documentation, and improved default path joining behaviour for virtual
2010        filesystems, especially regarding '~'.
2011        * tests/fileName.test: added tests to check for bugs fixed above.
2012        * doc/FileName.3: improved documentation
2013
20142001-08-30  David Gravereaux <davygrvy@pobox.com>
2015
2016        * generic/tclAsync.c:
2017        * generic/tclEvent.c:
2018        * generic/tclInt.h: Improper cleanup of asyncMutex in tclAsync.c
2019        repaired. TclFinalizeSynchronization() was trying to remove a
2020        registered mutex that was dumped earlier when the TSD it was stored in
2021        was cleared. This was only surfacing on *nix. Windows was being masked
2022        by mutexes not actually being returned to the system! That was
2023        repaired in a previous patch. Needed to add a private
2024        TclFinalizeAsync() to tclAsync.c and called from Tcl_FinalizeThread().
2025        Pheww.. Is this done yet? [Bug 414419] requested by Rob Ratcliff
2026        <rrr6399@futuretek.com>
2027
20282001-08-28  Jeff Hobbs  <jeffh@ActiveState.com>
2029
2030        * generic/tclCompCmds.c (TclPushVarName): noted 'static' defn.
2031        [Bug 453872]
2032
20332001-08-26  Don Porter <dgp@users.sourceforge.net>
2034
2035        * library/auto.tcl (tcl_findLibrary):
2036        * tests/unixInit.test (unixInit-2.{1,9}):
2037        * unix/tclUnixInit.c (TclpInitLibraryPath):
2038        * win/tclWinInit.c (TclpInitLibraryPath):  Corrected inconsistency
2039        between  the search path for script libraries and the directory name
2040        $DISTNAME into which distributions built by 'make test' unpack. [Bug
2041        455642]
2042
20432001-08-24  Jeff Hobbs  <jeffh@ActiveState.com>
2044
2045        * tests/stringComp.test: added string-1.3
2046        * generic/tclCompCmds.c (TclCompileStringCmd): changed to return
2047        TCL_OUT_LINE_COMPILE instead of TCL_ERROR when compiling and an
2048        unknown string method is called. This is necessary as the string
2049        command may be never called, or not until 'string' is redefined.
2050
20512001-08-24 Vince Darley <vincentdarley@users.sourceforge.net>
2052
2053        * doc/glob.n: documented windows-style path issue with glob.
2054        [Bug 219392]
2055        * doc/filename.n: documented windows path/file length limitation.
2056        [Bug 454597]
2057
20582001-08-24  Don Porter <dgp@users.sourceforge.net>
2059
2060        * tests/unixInit.test (unixInit-2.9): Corrected expected result to
2061        match Tcl's quirky construction of its init library path.
2062
20632001-08-23  Andreas Kupries <andreas_kupries@users.sourceforge.net>
2064
2065        * win/tclWinPipe.c (BuildCommandLine): Fixed [Bug 432499]. Part of the
2066        code used the non-absolute path to the executable to determine
2067        quoting. This failed if the absolute path contained spaces, but the
2068        application name itself not. This bug caused no trouble on Win NT 5,
2069        but does for other variants in the Win* family. Report and fix due to
2070        Ken Poole <kenpoole@users.sourceforge.net>.
2071
20722001-08-23  Jeff Hobbs  <jeffh@ActiveState.com>
2073
2074        * unix/configure:
2075        * unix/tcl.m4: added QNX-6 build support. [Bug 219410] (loverso)
2076
2077        * unix/tclUnixFCmd.c:
2078        * generic/tclIOUtil.c:
2079        * generic/tclFileName.c: corrected minor compiler warnings.
2080
20812001-08-23 Vince Darley <vincentdarley@users.sourceforge.net>
2082
2083        Variety of small filesystem and vfs issues fixed or improved. The new
2084        fs code allows many new opportunities for efficiency improvements
2085        through the objectified API. The main changes integrated here are such
2086        efficiency improvements. Some limitations of the original
2087        implementation have also now been lifted. Meanwhile a variety of fs
2088        bugs (some old, some new) have also been fixed.
2089
2090        * generic/tclFileName.c: Made Tcl_FSSplitPath more efficient, and
2091        removed some static string-based procedures which are no longer used.
2092        Much more objectification. Tcl_FSJoinPath is now very efficient and
2093        more aware of virtual filesystems. Clarified where the Mac-specific
2094        code attempts to interpret Unix-style paths. Modified TclDoGlob to use
2095        lstat not access to fix [Bug 434876] (L. Virden)
2096
2097        * tcl(Win|Unix|Mac)FCmd.c:
2098        * tcl(Win|Unix|Mac)File.c: replaced TclpListVolumes with
2099        TclpObjListVolumes with different signature, updated code due to more
2100        efficient signature of Tcl_FSGetTranslatedPath. Used cached native
2101        paths where possible to improve efficiency -- this was completed on
2102        MacOS, but on Unix and Win the traversal functions make the task much
2103        more complex, so there are still some improvements possible there.
2104        Removed unused TclpNormalizePath which had been left in tclWinFCmd.c.
2105        Objectified all 'file attributes' functions. Fixed the new [Bug
2106        451571, Bruce Stephens] which is most obvious on Unix, but could occur
2107        on MacOS or Windows. This bug actually existed in Tcl 8.3.x but was
2108        only made obvious by the recent filesystem overhaul when the code was
2109        exercised more heavily.
2110        * tests/fileName.test: Three new tests to exercise the above bug, and
2111        make sure it is fixed correctly.
2112        * unix/tclUnixFile.c: avoid panic in glob when a link doesn't point
2113        anywhere. It would probably be good to define exactly what Tcl should
2114        do in circumstances like these, and make sure mac/win/unix all behave
2115        accordingly. [Bug 417111] (Hemang Lavana). Also fixed
2116        misleading/obsolete comment in the code.
2117        * generic/tcl.stubs: changed signature of Tcl_FSGetTranslatedPath and
2118        added Tcl_FSGetTranslatedStringPath.
2119        These changes allow further optimisations in the FS code.
2120        * generic/tcl.h: changed signature of Tcl_FSListVolumes so that it
2121        doesn't require a Tcl interpreter plus result. Renamed Tcl_FSReadLink
2122        to Tcl_FSLink with additional argument so we can support making links
2123        in the future. [Patch: 450340]
2124        * generic/tclInt.h: added declaration for TclpObjListVolumes.
2125        Objectified internal call signatures for 'file attributes' functions,
2126        and added an internal objectified get path type function.
2127        * generic/tclIOUtil.c: added the moved function TclpListVolumes which
2128        calls platform specific code (needed for backwards compatibility), and
2129        improved efficiency of parts of the FS (particularly file
2130        normalization). Much less copying and memory allocation is required
2131        now. added new GetPathType so that changes in 'file volumes' can
2132        actually affect files' types, and objectified more code. Made current
2133        code work with test suite artificially changing current platform.
2134        Added 'static' keywords where required.
2135        * generic/tclIO.c:
2136        * generic/tclTest.c: Added 'static' keywords, fixing [Bug 453872] (Bob
2137        Techentin)
2138        * generic/tclCmdAH.c: file command implementation updated for API
2139        changes, removed unnecessary special-case SplitPath static function,
2140        since it no longer helps prevent code duplication. Moved setting of
2141        interpreter result to each individual location that actually required
2142        it, to avoid very large code separation between reading and setting
2143        the result.
2144        * doc/FileSystem.3: updated documentation for the new or changed APIs,
2145        and clarified some issues.
2146        * doc/SplitPath.3: added pointer to newer APIs in FileSystem.3
2147        * doc/filename.n: clarified current implementation of tilde support on
2148        Mac/Win.  [Bug 453514] (Sergey Kuzmin)
2149        * doc/glob.n: improved documentation for '-directory' and '-path'
2150        options.
2151
2152        There are now many private, obsolete, platform-specific 'Tclp'
2153        string-based filesystem APIs which could be removed. We should check
2154        whether any of these are used by extensions and, at least in Tcl 9,
2155        remove them.
2156
2157        The above changes signify a ***POTENTIAL INCOMPATIBILITY*** with
2158        8.4a3, since signatures of two functions in the new API have changed,
2159        but not with older versions of Tcl.
2160
21612001-08-23  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2162
2163        * generic/tclBinary.c (FormatNumber): Extract a long from the object
2164        and not an int, to stop [binary format] from being unable to format
2165        some input numbers on architectures where sizeof(int) is less than
2166        sizeof(long) (particularly Alpha). [tiprender Bug 441861]
2167
2168        * tests/format.test: Converted conditional execution of tests into a
2169        test constraint.
2170
21712001-08-22  Jeff Hobbs  <jeffh@ActiveState.com>
2172
2173        * win/Makefile.in:
2174        * win/makefile.vc: updated install target for dde1.2
2175        * doc/dde.n: fixed dde man page (which was totally incorrect).
2176        * tests/winDde.test:
2177        * win/tclWinDde.c (Tcl_DdeObjCmd): added -binary option to dde request
2178        command to allow for returning binary data. [Bug 227482]
2179        Updated dde to 1.2
2180
2181        * tests/tcltest.test: added unixExecs constraint to files that used
2182        'grep' in the test. [Bug 453143]
2183
2184        * library/tcltest/tcltest.tcl: fixed stdio constraint test. [Patch
2185        454050] (stanton)
2186        Simplified unixExecs constraint test.
2187
21882001-08-22  Don Porter <dgp@users.sourceforge.net>
2189
2190        * tests/ioUtil.test (ioUtil-3.*): Corrected errors in tests revealed
2191        by fix of overagressive compiler. [Bug 451200]
2192
21932001-08-21  Miguel Sofer  <msofer@users.sourceforge.net>
2194
2195        * generic/tclCompCmds.c:
2196        * tests/compile.test: Fixed overagressive compilation of [catch]: it
2197        was catching errors at substitution time. [Bug 219184]
2198
21992001-08-21  Jeff Hobbs  <jeffh@ActiveState.com>
2200
2201        * tests/tcltest.test (tcltest-12.2): fixed test that would break when
2202        env vars weren't Tcl list friendly [Patch 454046] (stanton)
2203
22042001-08-20  Jeff Hobbs  <jeffh@ActiveState.com>
2205
2206        * library/http/http.tcl (geturl): added port number to Host: header to
2207        comply with HTTP/1.1 spec (RFC 2068). [Bug 452217]
2208
22092001-08-16  David Gravereaux <davygrvy@pobox.com>
2210
2211        * tools/tcl.wse.in:
2212        * tools/tcl.hpj.in:
2213        * win/tcl.hpj.in:  Removed -kb storage in CVS to ensure these text
2214        files are checked-out in the translation mode CVS is in. Setting these
2215        as binary as part of an effort to make sure they are always in CRLF,
2216        no matter what the CVS translation, is bypassing how CVS works and is
2217        confusing.
2218
2219        * tools/genStubs.tcl:  Removed LF-only output. Having to reconvert
2220        back to CRLF before committing to CVS was giving me a headache. [Bug
2221        451333]
2222
2223        * win/makefile.vc: replaced $(WINDIR) with $(include32) for the
2224        .rc.res inference rule. winver.h wasn't getting included. [Bug 445630]
2225
22262001-08-14  Miguel Sofer  <msofer@users.sourceforge.net>
2227
2228        * generic/tclBasic.c: make the intial maxNestingDepth of an
2229        interpreter be MAX_NESTING_DEPTH instead of a hardwired value. [Bug
2230        232564]
2231
22322001-08-13  Miguel Sofer  <msofer@users.sourceforge.net>
2233
2234        * tests/trace.test: Corrected test numbers. [Bug 449794]
2235
22362001-08-12  Mo DeJong  <mdejong@redhat.com>
2237
2238        * unix/configure: Regen.
2239        * unix/configure.in:
2240        * unix/tcl.m4: Use GCC variable set by AC_PROG_CC instead of defining
2241        our own using_gcc variable.
2242
22432001-08-11  Vince Darley <vincentdarley@users.sourceforge.net>
2244
2245        Variety of small issues introduced by the vfs code fixed:
2246        * generic/tclIOUtil.c: uninitialised read.
2247        * generic/tclFCmd.c: possible memory leak in file delete with error
2248        condition.
2249
22502001-08-10  Miguel Sofer  <msofer@users.sourceforge.net>
2251
2252        * generic/tclVar.c:
2253        * tests/trace.test: Insure that [array] traces work correctly for
2254        undefined variables. [Bug 449094]
2255
22562001-08-09  Mo DeJong  <mdejong@redhat.com>
2257
2258        * unix/Makefile.in: Delete the unused getcwd.o target. [Bug 440942]
2259
22602001-08-08  Don Porter <dgp@users.sourceforge.net>
2261
2262        * library/dde/pkgIndex.tcl:
2263        * library/http/http.tcl:
2264        * library/http/pkgIndex.tcl:
2265        * library/msgcat/msgcat.tcl:
2266        * library/msgcat/pkgIndex.tcl:
2267        * library/opt/optparse.tcl:
2268        * library/opt/pkgIndex.tcl:
2269        * library/reg/pkgIndex.tcl:
2270        * library/tcltest/tcltest.tcl:
2271        * library/tcltest/pkgIndex.tcl: Added checks for package dependencies.
2272        Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2,
2273        opt 0.4.3, tcltest 2.0.1. [Patch 448931]
2274
2275        * README:
2276        * generic/tcl.h:
2277        * tools/tcl.wse.in:
2278        * unix/configure:
2279        * unix/configure.in:
2280        * unix/tcl.spec:
2281        * win/README.binary:
2282        * win/configure:
2283        * win/configure.in: Bumped up patchlevel to 8.4a4 to distinguish CVS
2284        snapshots from the 8.4a3 release. This does not necessarily mean there
2285        will be an 8.4a4 release. [Bug 448938]
2286
22872001-08-06  Jeff Hobbs  <jeffh@ActiveState.com>
2288
2289        8.4a3 RELEASE
2290
2291        * changes:
2292        * README:
2293        * mac/README:
2294        * unix/README:
2295        * win/README.binary: updated for 8.4a3 release
2296
2297        * generic/tclFileName.c (Tcl_FSSplitPath): update to Tcl style guide.
2298
2299        * generic/tclFCmd.c (FileCopyRename): fixed mem leak in introduction
2300        of vfs code where a new Tcl_Obj wasn't freed.
2301
2302        * generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd): reordered
2303        the retrieval of arguments to avoid shimmering bug when the pattern
2304        and string referenced the same object.
2305
2306        * unix/configure: regenerated
2307        * unixE/tcl.m4: added GNU (HURD) configuration target.
2308        [Patch 442974] (brinkmann)
2309
2310        * win/README: made note of URL for Windows compilation notes
2311
2312        * win/tclWinThrd.c (TclpFinalizeMutex, TclpFinalizeCondition): added
2313        DeleteCriticalSection calls for cleanup [Patch 419683]
2314
2315        * unix/tclUnixPipe.c (TclpCreateTempFile): fixed use of tmpnam,
2316        which is dangerous. [Patch 442636] (lim)
2317        The use of tmpnam in TclpTempFileName must still be changed.
2318
2319        * tests/http.test (http-4.14): fixed variable error return.
2320        [Bug 424252]
2321
23222001-08-03  Jeff Hobbs  <jeffh@ActiveState.com>
2323
2324        * win/configure: regenerated
2325        * win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
2326        This is necessary for TEA compliant builds that build shared against a
2327        static-built Tcl.
2328        * win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build
2329        target, otherwise it wouldn't get generated in a static build.
2330
23312001-08-06  Andreas Kupries <andreas_kupries@users.sourceforge.net>
2332
2333        * generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from [Bug 442665]
2334        to fix the bug reported by it. The function can corrupt a freed object
2335        if it is called with objc == 3. This is because it retrieves resultPtr
2336        and does not increment its reference count, but then calls
2337        Tcl_ObjSetVar2, which causes the retrieved resultPtr object to be
2338        released.
2339
23402001-08-06  Don Porter <dgp@users.sourceforge.net>
2341
2342        * doc/tclsh.1: Added note that the tclsh program is frequently
2343        installed with the Tcl version numer as part of the name. [Patch
2344        402725]
2345
2346        * generic/tclPkg.c:
2347        * tests/pkg.test:  [package forget] now forgets all of the package
2348        arguments it receives, not stopping when a package is not found. [Bug
2349        415273]
2350
23512001-08-02  Jeff Hobbs  <jeffh@ActiveState.com>
2352
2353        * generic/tclIOUtil.c (Tcl_FSMatchInDirectory): corrected
2354        uninitialized value.
2355
23562001-08-02  Mo DeJong  <mdejong@redhat.com>
2357
2358        * generic/tclPlatDecls.h:
2359        * win/tclWinPort.h: Revert <tchar.h> related changes made to improve
2360        Cygwin support on 2001-07-18. This change ended up breaking the VC++
2361        build because of conflicts between Windows APIs and internal Tk APIs.
2362
23632001-08-01  Jeff Hobbs  <jeffh@ActiveState.com>
2364
2365        * unix/tclUnixFCmd.c: minor casts to eliminate warnings. (lim)
2366        [Patch 440218]
2367
2368        * tests/parseOld.test: changed some tests that required testwordend to
2369        exist to skip in a proper tcltest manner. [Bug 442663]
2370
2371        * library/http/http.tcl (http::mapReply): the regsub'ing of \n and \t
2372        to escape them was unnecessary.
2373
23742001-07-31  Vince Darley <vincentdarley@users.sourceforge.net>
2375
2376        Changes from TIP#17 "Redo Tcl's filesystem"
2377        The following files were impacted:
2378        * doc/Access.3:
2379        * doc/FileSystem.3:
2380        * doc/OpenFileChnl.3:
2381        * doc/file.n:
2382        * doc/glob.n:
2383        * generic/tcl.decls:
2384        * generic/tcl.h:
2385        * generic/tclCmdAH.c:
2386        * generic/tclCmdIL.c:
2387        * generic/tclCmdMZ.c:
2388        * generic/tclDate.c:
2389        * generic/tclDecls.h:
2390        * generic/tclEncoding.c:
2391        * generic/tclFCmd.c:
2392        * generic/tclFileName.c:
2393        * generic/tclGetDate.y:
2394        * generic/tclIO.c:
2395        * generic/tclIOCmd.c:
2396        * generic/tclIOUtil.c:
2397        * generic/tclInt.decls:
2398        * generic/tclInt.h:
2399        * generic/tclIntDecls.h:
2400        * generic/tclLoad.c:
2401        * generic/tclStubInit.c:
2402        * generic/tclTest.c:
2403        * generic/tclUtil.c:
2404        * library/init.tcl:
2405        * mac/tclMacFCmd.c:
2406        * mac/tclMacFile.c:
2407        * mac/tclMacInit.c:
2408        * mac/tclMacPort.h:
2409        * mac/tclMacResource.c:
2410        * mac/tclMacTime.c:
2411        * tests/cmdAH.test:
2412        * tests/event.test:
2413        * tests/fCmd.test:
2414        * tests/fileName.test:
2415        * tests/io.test:
2416        * tests/ioCmd.test:
2417        * tests/proc-old.test:
2418        * tests/registry.test:
2419        * tests/unixFCmd.test:
2420        * tests/winDde.test:
2421        * tests/winFCmd.test:
2422        * unix/mkLinks:
2423        * unix/tclUnixFCmd.c:
2424        * unix/tclUnixFile.c:
2425        * unix/tclUnixInit.c:
2426        * unix/tclUnixPipe.c:
2427        * win/tclWinFCmd.c:
2428        * win/tclWinFile.c:
2429        * win/tclWinInit.c:
2430        * win/tclWinPipe.c:
2431
24322001-07-24  Mo DeJong  <mdejong@redhat.com>
2433
2434        * win/tclWinThrd.c (Tcl_CreateThread): Close Windows HANDLE returned
2435        by _beginthreadex. The MS documentation states that this handle is not
2436        closed by a later call to _endthreadex.
2437
24382001-07-21  Don Porter  <dgp@users.sourceforge.net>
2439
2440        * doc/pkgMkindex.n:
2441        * library/package.tcl:  Corrected documentation and usage message of
2442        [pkg_mkIndex].
2443
24442001-07-18  Mo DeJong  <mdejong@redhat.com>
2445
2446        * generic/tclPlatDecls.h: Define TCHAR by including windows.h instead
2447        of tchar.h since Cygwin does not support the tchar.h header. Include
2448        CHECK_UNICODE_CALLS logic from tclWinPort.h.
2449        * win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic. Remove include
2450        of windows.h since this now done it tclPlatDecls.h.
2451        * win/tclWinReg.c: Remove duplicate include of windows.h.
2452
24532001-07-18  Andreas Kupries <andreas_kupries@users.sourceforge.net>
2454
2455        * generic/tclIO.c: Aftermath to [Bug 427196]. Squash empty buffers if
2456        they are smaller than the requested buffersize, to prevent reusage of
2457        old buffers and to honor changes in the requested buffersize made by
2458        the user.
2459
24602001-07-17  Mo DeJong  <mdejong@redhat.com>
2461
2462        * win/tclWinFile.c (TclpReadlink): Add Cygwin specific definition for
2463        the TclpReadlink function. This method implements reading of symbolic
2464        links when build with Cygwin.
2465
24662001-07-17  Mo DeJong  <mdejong@redhat.com>
2467
2468        * win/tclWinPort.h: Add Cygwin specific defines for environ and
2469        timezone variables.
2470
24712001-07-17  Andreas Kupries <andreas_kupries@users.sourceforge.net>
2472
2473        * generic/tclIO.c (GetInput): Fixed [Bug 427196]. Memory was
2474        overwritten because a buffer was used after a change of the requested
2475        buffersize together with that requested buffersize and not its actual
2476        size, which was smaller. Note that the continous reuse of the smaller
2477        buffer negatively impacts performance. The system never allocates a
2478        buffer with the newly requested bigger buffersize.
2479
24802001-07-16  Mo DeJong  <mdejong@redhat.com>
2481
2482        * generic/tcl.h: Define __WIN32__ when __CYGWIN__ or __MINGW32__ is
2483        defined.
2484        * generic/tclAlloc.c: Define caddr_t when compiling with VC++ or
2485        mingw. This type is already defined when compiling with Cygwin.
2486
24872001-07-16  Mo DeJong  <mdejong@redhat.com>
2488
2489        * win/tclWinConsole.c:
2490        * win/tclWinPipe.c:
2491        * win/tclWinPort.h:
2492        * win/tclWinSerial.c:
2493        * win/tclWinThrd.c:
2494        Remove unnecessary #includes of dos.h, direct.h, and tchar.h. This
2495        will help the Cygwin porting effort since these headers do not exist
2496        under Cygwin.
2497
24982001-07-16  Jeff Hobbs  <jeffh@ActiveState.com>
2499
2500        * win/tclWinPipe.c (PipeClose2Proc): constrained the mutex lock to
2501        just the TerminateThread call and waiting for termination. (jsmith)
2502
2503        * generic/tclCmdMZ.c: Removed extra copy of the SCAN_* macros
2504        #defined in generic/tclScan.c. [Bug 441230] (porter)
2505
25062001-07-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2507
2508        * tests/unixInit.test (unixInit-2.8): Added extra constraint,
2509        notInstalledInTmp, to stop this test from damaging installations in
2510        /tmp; not much fun to have to reinstall the Tcl library every time you
2511        run the test suite!
2512
2513        * tests/subst.test (subst-10.*): Updated tests to check new behaviour
2514        for 'break' in command substitutions.
2515        (subst-1.2,subst-7.1): Error messages changed.
2516        * doc/SubstObj.3: New file, to document Tcl_SubstObj.
2517        * doc/subst.n: Improved and updated documentation for 'subst' to help
2518        support the changed behaviour.
2519        * generic/tcl.decls (generic-437): Declaration for Tcl_SubstObj
2520        * generic/tcl.h (TCL_SUBST_*): Added flags for Tcl_SubstObj.
2521        * generic/tclCmdMZ.c (Tcl_SubstObj,Tcl_SubstObjCmd): Divided into two
2522        parts to allow people to access the innards of 'subst' and changed the
2523        behaviour when command substitutions do a 'break' to be different from
2524        'continue'. Also now works with objects, which allows for some nifty
2525        optimisations with variable substitutions and a slight improvement
2526        with command substitutions. [TIP#36]
2527
25282001-07-10  Mo DeJong  <mdejong@redhat.com>
2529
2530        * unix/Makefile.in: Add AR variable for use in STLIB_LD.
2531        * unix/configure: Regen.
2532        * unix/configure.in: Use STLIB_LD when defining MAKE_LIB and
2533        MAKE_STUB_LIB. Subst RANLIB and AR.
2534        * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about STLIB_LD
2535        command. Check ${AR} env var when setting STLIB_LD and delay
2536        evaluation until make time.
2537        * win/configure: Regen.
2538        * win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of ${AR} in STLIB_LD
2539        and add flags to better match the Unix implementation. Don't bother
2540        defining AR when using VC++ since it is not used.
2541
25422001-07-06  Mo DeJong  <mdejong@redhat.com>
2543
2544        * win/configure: Regen.
2545        * win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in addition to
2546        the -mwindows flag to work around a problem with ld when it
2547        incorrectly use main() as the executable entry point when both
2548        WinMain() and main() are available.
2549
25502001-07-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2551
2552        * tests/cmdAH.test: Added leading zero to file modes to work around
2553        fault in HPUX strtol() which ignores the base parameter. [Bug 438808]
2554
25552001-07-05  Mo DeJong  <mdejong@redhat.com>
2556
2557        * win/Makefile.in: Subst DEPARG directly instead of relying on a
2558        variable. This will make Cygwin builds faster since an extra exec will
2559        be avoided.
2560        * win/configure: Regen.
2561        * win/configure.in: Subst DEPARG.
2562        * win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING after the
2563        AC_CHECK_PROG so that status messages do not get mixed together. Set
2564        DEPARG based on the results of the cygpath check so that we avoid
2565        using an extra exec when it is not needed. Use ac_cv_cygwin status
2566        flag instead of looking at the output of gcc -v, which works in the
2567        case where -mno-cygwin is set in the CFLAGS.
2568
25692001-07-04  Jeff Hobbs  <jeffh@ActiveState.com>
2570
2571        * README:
2572        * mac/README:
2573        * unix/README:
2574        * win/README:
2575        * win/README.binary: updated READMEs with purls
2576
25772001-07-03  Mo DeJong  <mdejong@redhat.com>
2578
2579        * win/Makefile.in: Remove PATHTYPE variable.
2580        * win/configure: Regen.
2581        * win/configure.in: Don't subst PATHTYPE.
2582        * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE variable. Set CYGPATH
2583        to "cygpath -w" if the cygpath executable is found on the path. This
2584        approach works for native Cygwin builds and cross compiles.
2585
25862001-07-03  Jeff Hobbs  <jeffh@ActiveState.com>
2587
2588        * tests/var.test:
2589        * generic/tclVar.c (Tcl_VariableObjCmd): added patch to check for
2590        number of args. [Patch 426038]
2591
2592        * generic/tclVar.c (Tcl_GetVar2Ex): added ability to recognize
2593        TCL_TRACE_READS flags to cause creation of part1 in TclLookupVar to
2594        make sure newly created array will get read traces triggered
2595        appropriately. This is called by Tcl_ObjGetVar2, Tcl_GetVar, and
2596        Tcl_GetVar2.
2597        (TclSetIndexedScalar, TclSetElementOfIndexedArray): added read trace
2598        triggering for lappend case.
2599        (Tcl_LappendObjCmd): pass TCL_TRACE_READS to Tcl_ObjGetVar2 to trigger
2600        possible read traces for new arrays.
2601
2602        * generic/tclExecute.c (TclExecuteByteCode): added TCL_TRACE_READS
2603        flag to INST_LAPPEND(_ARRAY)_STK case to trigger read traces for newly
2604        created arrays. Removed unnecessary #ifdef for TCL_COMPILE_DEBUG in
2605        INST_LOAD_SCALAR1 case.
2606
2607        * tests/append.test:
2608        * tests/appendComp.test: added tests for read trace triggering for
2609        append and lappend.
2610
26112001-07-03  Mo DeJong  <mdejong@redhat.com>
2612
2613        * tests/clock.test (clock-2.5): Adjust test so that it passes when the
2614        time slice is 60 msecs, now passes under Windows 98.
2615
26162001-07-03  Mo DeJong  <mdejong@redhat.com>
2617
2618        * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass the v flag to ${AR} when
2619        using gcc, verbose output is not needed.
2620
26212001-07-03  Don Porter  <dgp@users.sourceforge.net>
2622
2623        * tests/unixInit.test (unixInit-2.8):  Changed test back to using
2624        installation layout, adding comments explaining why the test writes to
2625        the directories it does, and checks to avoid destroying other files in
2626        /tmp.
2627
26282001-07-03  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2629
2630        * tests/unixInit.test (unixInit-1.2): Fixed faults reported in
2631        [Bug 438070] - well, at least enough to work on Solaris - and added
2632        comments that should make what is going on in the test clearer.
2633
26342001-07-02  Jeff Hobbs  <jeffh@ActiveState.com>
2635
2636        * tests/util.test: added util-4.6
2637        * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards over
2638        utf-8 chars. [Bug 227512]
2639
26402001-07-02  Don Porter  <dgp@users.sourceforge.net>
2641
2642        * tests/unixInit.test (unixInit-2.8):  Corrected test for all absolute
2643        pathnames in library path when executable is installed near root
2644        directory to use correct development directory layout. [Bug 438014]
2645
2646        * tests/unixInit.test (unixInit-2.9):
2647        * unix/tclUnixInit.c (TclpInitLibraryPath):
2648        * win/tclWinInit.c (TclpInitLibraryPath):  Corrected buggy
2649        construction of search path entries relative to executable. Added test
2650        for bad construction. [Bug 438014]
2651
26522001-06-28  Miguel Sofer  <msofer@users.sourceforge.net>
2653
2654        * generic/tclNamesp.c: Correction to faulty patch from [Bug 231259]
2655
26562001-06-28  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2657
2658        * tests/unixInit.test (unixInit-1.2): Modified so as not to require a
2659        local echo service, which fails on many systems which have that turned
2660        off for security reasons...
2661
26622001-06-27  Jeff Hobbs  <jeffh@ActiveState.com>
2663
2664        * generic/tclInt.h:
2665        * generic/tclObj.c:
2666        * unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's
2667        allocated and free singularly (instead of in alloc in blocks and never
2668        free) to allow checkers like Purify to operate better.
2669
2670        * library/encoding/koi8-u.enc: added koi8-u (Ukranian variant)
2671        encoding.
2672
2673        * tests/subst.test:
2674        * generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash handling of
2675        multibyte utf-8 chars. [Bug 217987]
2676
2677        * generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak in info
2678        procs that created objects without using them.
2679
2680        * generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak when
2681        string command failed to parse the subcommand.
2682
2683        * doc/interp.n:
2684        * doc/unknown.n: updated notes about what is in a safe interp. [Bug
2685        218605]
2686
26872001-06-27  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2688
2689        * tests/event.test (event-11.5): Removed hard-coded port number which
2690        could fail on some systems. [Bug 436727]
2691
26922001-06-26  Mo DeJong  <mdejong@redhat.com>
2693
2694        * unix/Makefile.in:
2695        * win/Makefile.in: Add `make shell` target. This target will set the
2696        proper env vars before invoking tclsh from the build directory.
2697
26982001-06-26  Mo DeJong  <mdejong@redhat.com>
2699
2700        * win/Makefile.in: Use : to separate VPATH entries. This works for
2701        both Cygwin builds and cross builds, the VPSEP variable is simply
2702        unneeded complexity.
2703        * win/configure: Regen.
2704        * win/configure.in: Don't subst VPSEP.
2705        * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
2706
27072001-06-26  Mo DeJong  <mdejong@redhat.com>
2708
2709        * unix/configure: Regen.
2710        * unix/configure.in: Fix last checkin by removing export since that
2711        only works in bash.
2712        * win/configure: Regen.
2713        * win/configure.in: Ditto.
2714
27152001-06-26  Mo DeJong  <mdejong@redhat.com>
2716
2717        * unix/configure: Regen.
2718        * unix/configure.in: Set CFLAGS to "" if the user did not set CFLAGS
2719        in the env. This keeps AC_PROG_CC from adding "-g -O2" to the CFLAGS
2720        by default.
2721        * win/configure: Regen.
2722        * win/configure.in: Ditto.
2723
27242001-06-25  Mo DeJong  <mdejong@redhat.com>
2725
2726        * win/configure: Regen.
2727        * win/configure.in: Use RC_DEFINE flag from tcl.m4.
2728        * win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE flag based on the
2729        compiler in use.
2730
27312001-06-25  Mo DeJong  <mdejong@redhat.com>
2732
2733        * win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the imm32 library when
2734        building with mingw gcc.
2735
27362001-06-25  Mo DeJong  <mdejong@redhat.com>
2737
2738        * win/configure: Regen.
2739        * win/tcl.m4 (SC_CONFIG_CFLAGS): When building with gcc, don't attempt
2740        to link with LD or support dllwrap. Simply require a recent version of
2741        Cygwin gcc or Mingw gcc that supports -shared. When linking, use gcc
2742        instead of ld since gcc automatically includes libs like -lmsvcrt.
2743
27442001-06-22  Mo DeJong  <mdejong@redhat.com>
2745
2746        * win/configure: Regen.
2747        * win/configure.in: Add resource compiler fix from 8.3.3 to fix
2748        compiling with mingw.
2749
27502001-06-22  Mo DeJong  <mdejong@redhat.com>
2751
2752        * win/configure: Regen.
2753        * win/tcl.m4: Fix silly typo in last checkin.
2754
27552001-06-22  Mo DeJong  <mdejong@redhat.com>
2756
2757        * unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set
2758        LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG and
2759        LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. This will
2760        support user set CFLAGS or LDFLAGS at configure time.
2761        * unix/configure: Regen.
2762        * unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
2763        subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for
2764        CFLAGS_DEFAULT, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
2765        * unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it
2766        uses a Makefile variable just like CFLAGS_DEFAULT.
2767        * win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@. Set
2768        LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. This will support user set
2769        CFLAGS or LDFLAGS at configure time.
2770        * win/configure: Regen.
2771        * win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
2772        CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
2773        * win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that it
2774        uses a Makefile variable just like CFLAGS_DEFAULT.
2775
27762001-06-22  Mo DeJong  <mdejong@redhat.com>
2777
2778        * win/configure:
2779        * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG to -g or
2780        LDFLAGS_OPTIMIZE to -O when compiling with gcc. These flags are not
2781        needed and can cause problems with the Cygwin version of ld.
2782
27832001-06-18  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2784
2785        * tests/unixInit.test (unixInit-1.2,unixInit-2.8): Added test for code
2786        described below, and fixed a couple of errors that caused problems
2787        during testing; the code to determine the installedTcl constraint was
2788        wrong, and test unixInit-2.8 assumed that /tmp/lib was free for use
2789        and could be deleted, which clashed nastily with my installation and
2790        made other tests fail unnecessarily!
2791
2792        * unix/tclUnixChan.c (TtyInit,TclpOpenFileChannel,
2793        (Tcl_MakeFileChannel,TclpGetDefaultStdChannel): Alterations so that
2794        the standard channels - stdin, stdout and stderr - have the correct
2795        type and fconfigure options. This required making the initialisation
2796        of serial lines a little more sophisticated to make the console behave
2797        correctly in interactive mode... [Bug 219137 and duplicates]
2798
27992001-06-16  Don Porter  <dgp@users.sourceforge.net>
2800
2801        * generic/tclInt.decls:
2802        * generic/tclInt.h:
2803        * generic/tclPanic.c (Tcl_PanicVA):
2804        * mac/tclMacAppInit.c (main):
2805        * mac/tclMacPanic.c (TclpPanic):
2806        * unix/tclUnixPort.h:
2807        * win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic for setting
2808        a platform-specific panic handler. TclpPanic is NULL on Unix and
2809        Windows. Fixes broken wish on Mac due to earlier patches. [Patch
2810        415648]
2811
2812        * generic/tclIntPlatDecls.h:
2813        * generic/tclStubInit.c: `make gentubs` after above changes.
2814
28152001-06-13  Don Porter  <dgp@users.sourceforge.net>
2816
2817        * mac/tclMacAppInit.c (main, Macintosh_Init):
2818        * mac/tclMacBOAAppInit.c (main):
2819        * mac/tclMacPanic.c: Applied patches from Dan Steffen correcting
2820        problems on the Macintosh in the 2001-06-08 changes.
2821
28222001-06-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2823
2824        * tests/regexp.test (regexp-18.12):
2825        * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): Fixed so that submatches
2826        that do not match always have index pair {-1 -1} [Bug 219232]
2827
28282001-06-08  Don Porter  <dgp@users.sourceforge.net>
2829
2830        * generic/tcl.h:
2831        * generic/tcl.decls:
2832        * generic/tclPanic.c: Added CONST to Tcl_*Panic* public interfaces.
2833        [Patch 415648, TIP 27]
2834
2835        * generic/tclInt.decls:
2836        * mac/tclMacAppInit.c (main):
2837        * mac/tclMacBOAAppInit.c (main):
2838        * mac/tclMacPanic.c: Modified special Mac implementations of
2839        Tcl_*Panic* to be exact copies of the generic implementations. Added
2840        TclMacSetPanic. The generic implementations should be used directly,
2841        rather than copies, but that requires further changes by someone
2842        familiar with the Mac build systems. [Patch 415648]
2843
2844        * generic/tclDecls.h:
2845        * generic/tclIntPlatDecls.h:
2846        * generic/tclStubInit.c: `make gentubs` after above changes.
2847
2848        * doc/Panic.3:
2849        * unix/mkLinks:  New file documenting Tcl_*Panic* public interfaces,
2850        followed by `make mklinks`. [Patch 415648, Bug 219170, Bug 414936]
2851
28522001-06-03  Jeff Hobbs  <jeffh@ActiveState.com>
2853
2854        * generic/tclUtil.c (Tcl_DStringAppendElement): patch to save an
2855        extra strlen call. [Bug 428572]
2856
28572001-05-30  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2858
2859        * generic/tclExecute.c (TclExecuteByteCode): Added two casts to
2860        INST_STR_CMP implementation to get rid of a couple warnings from the
2861        SUNWspro C compiler.
2862
2863        * generic/tclBasic.c (Tcl_GetMathFuncInfo,Tcl_ListMathFuncs):
2864        * generic/tclCmdIL.c (Tcl_InfoObjCmd,InfoFunctionsCmd):
2865        * generic/tcl.decls (generic table, positions 435+436):
2866        * tests/info.test:
2867        * doc/CrtMathFnc.3:
2868        * doc/info.n: Changes due to TIP #15 "Functions to List and Detail
2869        Math Functions"
2870
28712001-05-28  Jeff Hobbs  <jeffh@ActiveState.com>
2872
2873        * library/init.tcl (unknown): removed errant " in error message
2874
28752001-05-27  Jeff Hobbs  <jeffh@ActiveState.com>
2876
2877        * generic/regc_locale.c: updated character class range data for
2878        Unicode v3.1.0 compliance.
2879        * generic/tclUniData.c: regenerated from Unicode v3.1.0 data file (new
2880        as of 2001-05-16). This brings Tcl to current unicode compliance.
2881
2882        * tests/utf.test: added tests to check unicode 3 compliance
2883
2884        * unix/Makefile.in (tclUtf.o): added tclUniData.c dependency.
2885
2886        * tools/uniClass.tcl: added comments to output format and the script
2887        for clarification.
2888
2889        * tools/uniParse.tcl: corrected filename output and GetDelta macro to
2890        use 'info' as param (was 'infO')
2891
28922001-05-26  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
2893
2894        * generic/tclVar.c (tclArraySearchType,SetArraySearchObj,
2895        (ParseSearchId): Added code to speed up array searching by reducing
2896        the amount of parsing needed for searchIds.
2897
2898        * generic/tclObj.c (TclInitObjSubsystem):
2899        * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct):
2900        * generic/tclNamesp.c (TclInitNamespaceSubsystem):
2901        * generic/tclInt.h: Moved some Tcl_ObjType initialisation to
2902        TclInitObjSubsystem to be with the bulk of the rest. [Patch 424851]
2903        Committed by Miguel Sofer <mig@utdt.edu>
2904
29052001-05-23  Jeff Hobbs  <jeffh@ActiveState.com>
2906
2907        * tests/io.test: changed io-52.[9-11] to not be platform sensitive
2908        with EOL translation.
2909
2910        * library/encoding/cp1250.enc:
2911        * library/encoding/cp1251.enc:
2912        * library/encoding/cp1252.enc:
2913        * library/encoding/cp1253.enc:
2914        * library/encoding/cp1254.enc:
2915        * library/encoding/cp1255.enc:
2916        * library/encoding/cp1256.enc:
2917        * library/encoding/cp1257.enc:
2918        * library/encoding/cp1258.enc:
2919        * library/encoding/cp874.enc:
2920        * library/encoding/iso8859-6.enc:
2921        * library/encoding/iso8859-7.enc:
2922        * library/encoding/iso8859-8.enc:
2923        * library/encoding/iso8859-10.enc (new):
2924        * library/encoding/iso8859-13.enc (new):
2925        * library/encoding/iso8859-14.enc (new): updated encoding tables based
2926        on http://www.unicode.org/Public/MAPPINGS/. (kuhn)
2927
29282001-05-23  Mo DeJong  <mdejong@redhat.com>
2929
2930        * unix/tcl.m4 (SC_PATH_TCLCONFIG): Fix comments, and typo in cached
2931        variable name.
2932
29332001-05-23  Mo DeJong  <mdejong@redhat.com>
2934
2935        * unix/tcl.m4 (SC_LOAD_TKCONFIG): Remove use of undefined TCLCONFIG
2936        variable and call AC_MSG_RESULT to print the checking result.
2937        * win/tcl.m4: Ditto.
2938
29392001-05-22  Jeff Hobbs  <jeffh@ActiveState.com>
2940
2941        * generic/tclObj.c (TclAllocateFreeObjects): simplified
2942        objSizePlusPadding to use sizeof(Tcl_Obj) (max) Corrected use of
2943        tclObjsAlloced/Freed/Shared in TCL_MEM_DEBUG compile.
2944
29452001-05-22  Miguel Sofer  <msofer@users.sourceforge.net>
2946
2947        * generic/tclExecute.c: removed Tcl_DuplicateObj in INST_DUP
2948
29492001-05-21  Jeff Hobbs  <jeffh@ActiveState.com>
2950
2951        * tests/tcltest.test (tcltest-19.1): fixed failing test that was
2952        getting affected by Windows env handling of empty valued elements.
2953
2954        * unix/tcl.m4: added more common install directories in which to
2955        search for *Config.sh. [Bug 419812]
2956
2957        * tests/cmdMZ.test (cmdMZ-1.4): added notLinux constraint to test to
2958        prevent failure message on Linux due to OS caching bug.
2959
2960        * tests/httpd (httpdRespond): added response to timeout value in query
2961        string.
2962
2963        * tests/http.test: removed unused notLinux constraint setting
2964
2965        * generic/tclRegexp.c (Tcl_RegExpExecObj): added use of
2966        Tcl_GetUnicodeFromObj.
2967
29682001-05-19  Andreas Kupries <andreas_kupries@users.sourceforge.net>
2969
2970        * Note that "tclbench" (see project "tcllib") was extended with
2971        performance benchmarks for [fcopy] too.
2972
2973        * doc/fcopy.n: Updated to reflect the extended behaviour of 'fcopy'.
2974
2975        * tests/io.test: Added tests 'io-52.9', 'io-52.10' and 'io-52.11' to
2976        test the handling of encodings by 'fcopy' / 'TclCopychannel'. [Bug
2977        209210]
2978
2979        * generic/tclIO.c: Split of both 'Tcl_ReadChars' and 'Tcl_WriteChars'
2980        into a public error checking and an internal working part. The public
2981        functions now use the new internal ones. The new functions are
2982        'DoReadChars' and 'DoWriteChars'. Extended 'CopyData' to use the new
2983        functions 'DoXChars' when required by the encodings on the input and
2984        output channels. [Bug 209210]
2985
29862001-05-16  Jeff Hobbs  <jeffh@ActiveState.com>
2987
2988        * library/history.tcl (tcl::HistAdd): prevent empty calls from being
2989        added to the history (arndt)
2990
2991        * tests/error.test: updated error-1.3 message to account for string
2992        index being compiled at toplevel.
2993        * tests/appendComp.test:
2994        * tests/stringComp.test: new files for extended bytecode testing
2995
2996        * generic/tclBasic.c: added new CompileProc invocations to basic
2997        command initialization.
2998        * generic/tclCompCmds.c: added new compile commands for append,
2999        lappend, lindex and llength. Refactored set and incr compile commands
3000        to use new TclPushVarName function for handling the varname component
3001        during compilation (also used by append and lappend). Changed string
3002        compile command to compile toplevel code as well (when possible).
3003        * generic/tclCompile.c: added new instruction enums
3004        * generic/tclCompile.h: added debug info for new instructions
3005        * generic/tclExecute.c (TclExecuteByteCode): moved elemPtr to toplevel
3006        var (oft-used). Added definitions for new bytecode instructions
3007        INST_LIST_INDEX, INST_LIST_LENGTH, INST_APPEND_SCALAR1,
3008        INST_APPEND_SCALAR4, INST_APPEND_ARRAY1, INST_APPEND_ARRAY4,
3009        INST_APPEND_ARRAY_STK, INST_APPEND_STK, INST_LAPPEND_SCALAR1,
3010        INST_LAPPEND_SCALAR4, INST_LAPPEND_ARRAY1, INST_LAPPEND_ARRAY4,
3011        INST_LAPPEND_ARRAY_STK, INST_LAPPEND_STK.
3012        Refactored repititious code for reuse with INST_LOAD_STK (same as
3013        INST_LOAD_SCALAR_STK), INST_STORE_STK (same as INST_STORE_SCALAR_STK).
3014        Updated INST_STR_CMP with style of fix of 2001-04-06 Fellows
3015        [Bug 219201] as that fix only affected the runtime eval'ed "string"
3016        (string compare is normally byte-compiled now). We may want to back
3017        these out for speed in the future, noting the problems with \x00
3018        comparisons in the docs.
3019        * generic/tclInt.h: declarations for new compile commands.
3020        * generic/tclVar.c: change TclGetIndexedScalar,
3021        TclGetElementOfIndexedArray, TclSetElementOfIndexedArray and
3022        TclSetIndexedScalar to use flags. The Set functions now support
3023        TCL_APPEND_ELEMENT and TCL_LIST_ELEMENT as well.
3024        * generic/tclInt.decls:
3025        * generic/tclIntDecls.h: minor signature changes for above.
3026
3027        * generic/tclCmdMZ.c: made use of new Tcl_GetUnicodeFromObj.
3028
30292001-05-16  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3030
3031        * doc/console.n: Deleted. Put it in the wrong source tree! D'oh!
3032
30332001-05-15  Jeff Hobbs  <jeffh@ActiveState.com>
3034
3035        * generic/tcl.decls:
3036        * generic/tclDecls.h:
3037        * generic/tclStubInit.c:
3038        * generic/tclStringObj.c (Tcl_GetUnicodeFromObj): new function to
3039        parallel Tcl_GetStringFromObj (fix of an API oversight).
3040
3041        * unix/tclUnixPipe.c: updated pipeChannelType to TCL_CHANNEL_VERSION_2
3042        type specification.
3043
3044        * tests/fileName.test: corrected tests not to fail on win when a
3045        C:/test dir exists.
3046
3047        * generic/tclFileName.c (ExtractWinRoot): corrected ABR error
3048
30492001-05-15  Miguel Sofer  <msofer@users.sourceforge.net>
3050
3051        * tests/lindex.test: added test for nested braces [Patch 423617]
3052
30532001-05-15  Miguel Sofer  <msofer@users.sourceforge.net>
3054
3055        * generic/tclInt.h:
3056        * generic/tclNamesp.c: invalidate all bytecodes in a namespace if a
3057        new command shadows a bytecoded command.
3058        * tests/namespace.test:
3059        Patched from [Bug 231259]
3060
30612001-05-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3062
3063        * doc/console.n: Created. It seems very odd to me that the console
3064        implementation is part of the Tcl distribution and not part of Tk, but
3065        given the location of the source, the documentation must obviously
3066        match up...
3067
30682001-05-14  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3069
3070        * generic/tclCmdMZ.c (Tcl_StringObjCmd):
3071        * tests/string.test (string-4.14): Negative string indices should not
3072        be added as offsets to the result of [string first] but instead be
3073        treated as referring to the start of the string. [Bug 423581]
3074
30752001-05-11  Mo DeJong  <mdejong@redhat.com>
3076
3077        * unix/Makefile.in: Add a LDFLAGS variable to the Makefile instead of
3078        directly substing @LDFLAGS@.
3079        * unix/configure: Regen.
3080        * unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile
3081        variable is passed as @CFLAGS@.
3082        * win/Makefile.in: Move the setting of CFLAGS higher up in the
3083        Makefile.
3084        * win/configure: Regen.
3085        * win/configure.in: Use dnl to comment out macros so that they are not
3086        accidently expanded.
3087        * win/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile
3088        variable is passed as @CFLAGS@.
3089
30902001-05-07  Miguel Sofer  <msofer@users.sourceforge.net>
3091
3092        * generic/tclExecute.c: insure different rand() seeds in different
3093        threads. [Bug 416643]
3094
30952001-05-03  Jeff Hobbs  <jeffh@ActiveState.com>
3096
3097        * tests/tcltest.test: removed extraneous 'c' (doh!) [Bug: 414031]
3098
3099        * tools/tcltk-man2html.tcl: removed use of 'exec' for portability and
3100        fixed up code.
3101
31022001-05-03  Don Porter  <dgp@users.sourceforge.net>
3103
3104        * doc/library.n:
3105        * library/init.tcl:
3106        * tests/autoMkindex.t*: Modified [auto_import] to apply pattern
3107        matching in the [namespace import] style. [Bug 420186]
3108        ***POTENTIAL INCOMPATIBILITY*** for any callers of [auto_import] from
3109        outside Tcl that expect the pattern matching to be like that of
3110        [string match].
3111
31122001-05-03  Miguel Sofer  <msofer@users.sourceforge.net>
3113
3114        * generic/tclParse.c:
3115        * tests/namespace.test: Insure consistent behaviour of the [unknown]
3116        command: when a command is unknown, it is always processed by
3117        [::unknown], ignoring any namespace proc which happens to be called
3118        "unknown" [Patch 421166, Bug 420507]
3119
31202001-05-02  Don Porter  <dgp@users.sourceforge.net>
3121
3122        * tools/genStubs.tcl: Add a package require of Tcl 8 at the beginning
3123        of the script so that the script will print a descriptive error
3124        message when run in an old Tcl 7 shell.
3125
31262001-04-27  Kevin Kenny <kennykb@crd.ge.com>
3127
3128        * generic/tclInt.decls:
3129        * generic/tclInt.h:
3130        * generic/tclCmdIL.c:
3131        * generic/tclProc.c:
3132        * generic/tclVar.c: Added another collection of missing CONSTs related
3133        to TclGetNamespaceForQualName.
3134        * generic/tclIntDecls.h: Regenerated.
3135
31362001-04-25  Mo DeJong  <mdejong@redhat.com>
3137
3138        * unix/configure: Regen.
3139        * unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
3140        * unix/tclConfig.sh.in: Add TCL_THREADS variable.
3141        * win/configure: Regen.
3142        * win/tcl.m4: Subst TCL_THREADS into tclConfig.sh.
3143        * win/tclConfig.sh.in: Add TCL_THREADS variable.
3144
31452001-04-25  Mo DeJong  <mdejong@redhat.com>
3146
3147        * unix/configure: Regen.
3148        * unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB commands
3149        instead of using a delayed subst variable. Replace instances of
3150        STUB_LIB_FILE with TCL_STUB_LIB_FILE.
3151
31522001-04-25  Mo DeJong  <mdejong@redhat.com>
3153
3154        * unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.
3155        * unix/configure: Regen.
3156        * unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
3157        instead.
3158
31592001-04-25  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3160
3161        * tools/encoding/iso8859-15.txt:
3162        * library/encoding/iso8859-15.enc: Oops! Got the full encoding wrong.
3163        Should be fixed now...
3164
3165        * tools/encoding/iso8859-15.txt:
3166        * library/encoding/iso8859-15.enc:
3167        * tools/tcl.wse.in: Added ISO 8859-15 (a.k.a. Latin-1 + Euro currency
3168        symbol) support.
3169
3170        * generic/tclNamesp.c:
3171        * generic/tclBasic.c (TclRenameCommand): Missing CONST from several
3172        declarations relating to use of TclGetNamespaceForQualName
3173
31742001-04-24  Kevin B. Kenny    <kennykb@acm.org>
3175
3176        * doc/AssocData.3:
3177        * doc/CrtCommand.3:
3178        * doc/CrtMathFnc.3:
3179        * doc/CrtObjCmd.3:
3180        * doc/ExprLong.3:
3181        * generic/tclBasic.c:
3182        * generic/tclCmdMZ.c:
3183        * doc/CrtSlave.3:
3184        * generic/tclNamesp.c:
3185        * generic/tcl.decls:
3186        * generic/tcl.h:
3187        * generic/tclInt.decls:
3188        * generic/tclInt.h: (TIP #27) Another round of CONST changes, this
3189        time adding CONST to the API's exported from tclBasic.c. [Patch
3190        415179]
3191        ***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince Darley's
3192        changes to command tracing were added. A const has been added to the
3193        type signature of one of the parameters to Tcl_CommandTraceProc.
3194
31952001-04-10  Kevin B. Kenny    <kennykb@acm.org>
3196
3197        * unix/tclUnixTime.c: Altered code to use memcpy instead of
3198        structure assigments in an effort to achieve better K&R
3199        compatibility.
3200
32012001-04-10  Kevin B. Kenny    <kennykb@acm.org>
3202
3203        * unix/tclUnixTime.c: Fixed silly typo in calls to 'gmtime' and
3204        'localtime' that broke the Linux build.
3205
32062001-04-09  Kevin B. Kenny    <kennykb@acm.org>
3207
3208        * unix/tclLoadShl.c: Added DYNAMIC_PATH to the load flags so that the
3209        SHLIB_PATH will be searched for other libraries. [Bug 219140]
3210
32112001-04-09  Kevin B. Kenny    <kennykb@acm.org>
3212
3213        * unix/tcl.m4: Added _REENTRANT to Solaris build so that thread safe
3214        library routines are included.
3215        * unix/configure: Re-ran 'autoconf' with changed tcl.m4
3216        * tclUnixTime.c: Modified for thread safety of 'gmtime' and
3217        'localtime' system calls. [Bugs 219136 and 232558]
3218
32192001-04-09  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3220
3221        * tests/expr.test (expr-21.*): Tests to check below fix.
3222        * generic/tclParseExpr.c (GetLexeme): Now recognises the
3223        non-numeric boolean literals for what they are. It no longer makes
3224        sense for anyone to create functions with the same name as one of
3225        them, but this was true in 7.* as well [Bug 217777; finally!]
3226
32272001-04-07  Miguel Sofer <msofer@users.sourceforge.net>
3228
3229        * generic/tclExecute.c: Avoid panic when there are extra items in the
3230        tcl stack. [Bug 406709, Patch 414470]
3231        * tests/foreach.test: test to exercise the patch
3232
32332001-04-07  Miguel Sofer <msofer@users.sourceforge.net>
3234
3235        * doc/namespace.n: document correct functionality
3236        * generic/tclNamesp.c: corrected behaviour of [namespace code]
3237        [Bug 219385, Patch 403530]
3238        * library/init.tcl:
3239        * tests/namespace-old.test: test correct functionality
3240        * tests/namespace.test: test correct functionality
3241
32422001-04-07  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3243
3244        * unix/Makefile.in (checkdoc): New target, checking the definitions as
3245        found in the compiled library against the manpages to find
3246        undocumented public functionality.
3247
3248        * unix/mkLinks: Updated to include the new manpage.
3249
3250        * doc/UniCharIsAlpha.3: New manpage documenting the Unicode
3251        character classification APIs. [Bug 218720]
3252
32532001-04-07  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3254
3255        * unix/mkLinks: Updated to incorporate the changes below.
3256
3257        * doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME
3258        section. [Bug 414435]
3259
3260        * doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and 'Tcl_AttemptRealloc'
3261        to the NAME section. [Bug 414435]
3262
3263        * doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and
3264        'Tcl_UniCharNcasecmp' to the NAME section. [Bug 414435]
3265
32662001-04-06  Don Porter  <dgp@users.sourceforge.net>
3267
3268        * library/init.tcl:
3269        * tests/init.test:  Modified processing of $::errorInfo by [unknown]
3270        when the auto-loaded command throws an error to better cover the
3271        tracks of auto-loading. [Bug 219280, Patch 403551]
3272
32732001-04-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3274
3275        * doc/read.n: Added section on "USE WITH SERIAL PORTS" to resolve
3276        [Bug 219402]
3277
3278        * tests/string.test (string-2.30): Test for this case
3279        * generic/tclCmdMZ.c (Tcl_StringObjCmd, STR_COMPARE branch): Fixed
3280        problem caused by Utf-rep of \x00 being more than Utf-rep of \x01
3281        fooling memcmp by forcing everything through Utf-based comparisons.
3282        Added optimizations for case where objects have a string/unicode-rep
3283        or a bytearray-rep (i.e. where we can perform comparisons on
3284        fixed-size units). [Bug 219201]
3285        * generic/tclUtf.c (Tcl_UtfNcmp): Corrected seriously erroneous
3286        comment.
3287
32882001-04-05  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3289
3290        * doc/Macintosh.3: Removed duplicates from .SH line. [Bug 413983]
3291
32922001-04-05  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3293
3294        * generic/tclCmdMZ.c (Tcl_StringObjCmd): Fixed so will compile
3295        with K&R compilers. [Patch 413844, Bug 413847]
3296
32972001-04-04  Don Porter  <dgp@users.sourceforge.net>
3298
3299        * generic/tclMain.c:  Patch from Kevin Kenny to restore support of
3300        pre-ANSI compilers. [Bug 413846, Patch 413842]
3301
33022001-04-04  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3303
3304        * unix/mkLinks: Updated to contain the new manpage.
3305
3306        * doc/Environment.3: New manpage, describes Tcl_PutEnv. [Bug 219171]
3307
3308        * doc/Macintosh.3: New manpage describing the macintosh specific parts
3309        of the public API. [Bug 219169]
3310
33112001-04-04  Jeff Hobbs  <jeffh@ActiveState.com>
3312
3313        * unix/configure:
3314        * unix/tcl.m4: extended test of termios vs. termio vs. sgtty to
3315        better detect result on Linux and when certain configure
3316        redirections are being used. [Patch 402923; Bug 227412, 219194] (max)
3317
33182001-04-04  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3319
3320        * generic/tclTest.c:
3321        * tests/io.tests: TIP #10 followup correcting a problem with the
3322        original patch because of the lack of 'testthread id' for a
3323        non-threaded compilation.
3324
33252001-04-04  Kevin Kenny <kennykb@acm.org>
3326
3327        * doc/ByteArrObj.3:
3328        * doc/DumpActiveMemory.3:
3329        * doc/InitStubs.3:
3330        * doc/PkgRequire.3:
3331        * doc/StringObj.3:
3332        * generic/tcl.decls:
3333        * generic/tcl.h:
3334        * generic/tclBinary.c:
3335        * generic/tclCkalloc.c:
3336        * generic/tclDecls.h:
3337        * generic/tclListObj.c:
3338        * generic/tclObj.c:
3339        * generic/tclPkg.c:
3340        * generic/tclStringObj.c:
3341        * generic/tclStubLib.c: (TIP#27) Changed a number of Tcl API's to
3342        accept "CONST char*" in place of simple "char*". (kennykb) [Patch
3343        404026]
3344
33452001-04-04  Jeff Hobbs  <jeffh@ActiveState.com>
3346
3347        * generic/tclListObj.c (Tcl_SetListObj): set objPtr->length = 0 in
3348        empty object case to maintain sanctity of Tcl_Obj bytes/length
3349        pairing. [Patch 405998] (porter)
3350
33512001-04-03  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3352
3353        * unix/mkLinks: Added 'Signal.3', 'Tcl_WaitPid'.
3354
3355        * doc/DetachPids.3: Added description of 'Tcl_WaitPid' [Bug 219173].
3356
3357        * doc/Signal.3: New man page describing the public API procedures
3358        'Tcl_SignalId' and 'Tcl_SignalMsg'. [Bug 219172]
3359
33602001-04-02  Jeff Hobbs  <jeffh@ActiveState.com>
3361
3362        * README:
3363        * win/README:
3364        * win/README.binary: further notes corrections.
3365
3366        * win/configure:
3367        * win/tcl.m4 (SHLIB_LD):  added -incremental:no. [Bug 219381]
3368
33692001-04-01  Jeff Hobbs  <jeffh@ActiveState.com>
3370
3371        * README:
3372        * mac/README:
3373        * win/README:
3374        * win/README.binary:
3375        * unix/README: updated patchlevel information to 8.4a3 and updated
3376        links and notes.
3377
3378        * generic/tcl.h:
3379        * tools/tcl.wse.in:
3380        * win/configure.in (VER):
3381        * win/configure:
3382        * unix/configure:
3383        * unix/configure.in (VER):
3384        * unix/tcl.spec: updated patchlevel information to 8.4a3
3385
33862001-03-30  Jeff Hobbs  <jeffh@ActiveState.com>
3387
3388        * generic/tclCkalloc.c (TclFinalizeMemorySubsystem): set curTagPtr
3389        to NULL to allow for reuse.
3390        * generic/tclEvent.c (Tcl_Finalize): moved the tsdPtr initialization
3391        inside the subsystemsInitialized check to prevent it potentially
3392        getting called twice during finalization.
3393        [Patch 403532, Bug 219391] (wu)
3394
3395        * generic/tclThreadTest.c (Tcl_ThreadObjCmd): cast fixes
3396        * generic/tclTest.c (TestChannelCmd): added cast to mollify Windows
3397        debug build.
3398
3399        * win/tclWinSock.c (SocketEventProc): Fixed race condition in
3400        readability of socket on Windows. [Patch 410674, Bug 219205, 219333]
3401
3402        * win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
3403
3404        * win/Makefile.in (install-libraries): removed extra \s that broke
3405        the target.
3406        (install-doc): improved install-* targets to use their base build
3407        dependency.
3408
34092001-03-30  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
3410
3411        * All of the changes below belong to TIP #10 [Tcl I/O Enhancement:
3412        Thread-Aware Channels]. See also [Patch 403358] at SF.
3413
3414        * generic/tclIO.h (struct ChannelState, line 236f): Extended the
3415        structure with a new field of type 'Tcl_ThreadId' to hold the id of
3416        the thread currently managing all channels with this state.
3417
3418        Note: This structure is shared by all channels in a stack of
3419        transformations.
3420
3421        * generic/tclIO.c (Tcl_CreateChannel, lines 1058-1065): Modified to
3422        store the Id of the current thread in the 'ChannelState' of the new
3423        channel.
3424
3425        * generic/tclIO.c (Tcl_SpliceChannel, lines 2265-2270): Modified in
3426        the same manner as 'Tcl_CreateChannel' as the channel will be managed
3427        by the current thread afterward.
3428
3429        * generic/tclIO.c   (Tcl_GetChannelThread, lines 1478-1503):
3430        * generic/tcl.decls (Tcl_GetChannelThread, lines 1504-1506): New API
3431        function to retrieve the Id of the managing thread from a channel.
3432        Implementation and declaration.
3433
3434        * generic/tclTest.c (TestChannelCmd, lines 4520-4532): Added
3435        subcommand 'mthread' to query a channel about its managing thread.
3436
34372001-03-29  Mo DeJong  <mdejong@redhat.com>
3438
3439        * tests/interp.test: Print out warning when testinterpdelete command
3440        is not defined. Add tests that checks to make sure a child interp
3441        inherits the parent's cwd.
3442
34432001-03-29  Jeff Hobbs  <jeffh@gimlet.activestate.com>
3444
3445        * doc/tcltest.n: corrected incorrect macro usage.
3446
3447        * doc/lsort.n: corrected unbalanced nroff macros.
3448
3449        * unix/tclUnixPipe.c (TclpCreateTempFile): prevent potential race
3450        condition and security leak in tmp filename creation.
3451        [Patch 402924] (max)
3452
3453        * unix/configure:
3454        * unix/tcl.m4: corrected IRIX-5.x config to not use -n32.
3455        [Patch 403626] (english)
3456
3457        * unix/tclUnixThrd.c (Tcl_ConditionWait): fixed handling of timeout
3458        for threads (corrects excessive CPU usage issue for Tk on Unix in
3459        threaded Tcl environment). [Bug 411603] (ruppert)
3460
34612001-03-29  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3462
3463        * doc/lsort.n: Added some notes that clarify the behaviour of
3464        [lsort] as well as a whole bunch of examples.  [Bug 219202]
3465
34662001-03-27  Jeff Hobbs  <jeffh@gimlet.activestate.com>
3467
3468        * doc/Alloc.3: corrected docs to note that Tcl_Attempt* return char
3469        *'s, not ints. [Bug 411388]
3470
3471        * tests/regexp.test (regexp-19.1):
3472        * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): fixed handling of nulls in
3473        subspec value.
3474
34752001-03-26  Don Porter  <dgp@users.sourceforge.net>
3476
3477        * generic/tclDecls.h (Tcl_InitCustomHashTable):  Correction to patch
3478        from 2001-01-18;  tclDecls.h was not generated using 'make genstubs'.
3479
34802001-03-26  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3481
3482        * win/tclWinInt.h (tclWinTCharEncoding): Removed as now a static
3483        variable in win/tclWin32Dll.c instead.
3484
34852001-03-23  Jeff Hobbs  <jeffh@activestate.com>
3486
3487        * generic/tclVar.c (Tcl_ArrayObjCmd): Corrected retrieval of resultPtr
3488        to prevent possible corruption.
3489
3490        * generic/tclNamesp.c (Tcl_Import): Correctly freed a DString.
3491        [Patch 403755] (lavana)
3492
34932001-03-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3494
3495        * tests/set-old.test (set-old-7.2): Changed error behaviour of
3496        [unset] to agree with documentation, so must change test as well.
3497
34982001-03-14  Don Porter  <dgp@users.sourceforge.net>
3499
3500        * library/package.tcl (pkg_mkIndex):  Added patch from Vince Darley to
3501        make [pkg_mkIndex -verbose] even more verbose. [Bug 219349, Patch
3502        403529]
3503
35042001-03-13  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3505
3506        * doc/info.n: Improved documentation for [info hostname]. [Bug 403840]
3507
3508        * generic/tclVar.c (Tcl_UnsetObjCmd): Made command behave as
3509        documented [issue remaining from Bug 405769]
3510
3511        * generic/tclCmdMZ.c (Tcl_StringObjCmd): A missing {return TCL_OK;}
3512        was causing memory corruption. [Bug 408002]
3513
3514        * generic/tclExecute.c (TclDeleteExecEnv, GrowEvaluationStack,
3515        (TclExecuteByteCode): Added some casts to ClientData that are
3516        apparently needed on some architectures.
3517
35182001-03-12  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3519
3520        * tests/string.test: Fixed some test numberings and added a test.
3521        [Patch 403229]
3522
35232001-03-06  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3524
3525        * generic/tclVar.c (Tcl_UnsetObjCmd): Rewrote argument parser to avoid
3526        a read off the end of the argument array that could occur when
3527        executing something like [unset -nocomplain] was executed. Improved
3528        the error message given when too few arguments are given (-nocomplain
3529        should obviously be *before* --, not after it) and also modified the
3530        test suite to take account of that and the documentation to use the
3531        same improvement. [Bug 405769]
3532
35332001-03-02  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3534
3535        * generic/tclExecute.c (TclExecuteByteCode): Fixed bug that could pass
3536        pointers to freed memory to command implementations, which most
3537        obviously caused some weird behaviour with [info level], but could
3538        have caused problems with user code and command traces too. [Bug
3539        404865, Patch 405436]
3540
35412001-02-23  msofer  <msofer@users.sourceforge.net>
3542
3543        * no changes; fixing up the missing comment in the previous one.
3544        Sorry.
3545
35462001-02-23  msofer  <msofer@ant.utdt>
3547
3548        * /cvsroot/tcl/tcl/tests/execute.test: added test for evaluation of an
3549        expression in a variable; evals once by compiling, second time using
3550        the previous compilation
3551
35522001-02-18  Kevin B. Kenny  <kennykb@acm.org>
3553
3554        * doc/clock.n: Updated documentation to reflect the addition of
3555        compat/strftime.c, including the correct formatting of ISO-8601:1988
3556        fiscal week number (%V).
3557
35582001-02-15  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3559
3560        * generic/tclCmdMZ.c (Tcl_SplitObjCmd): Improved efficiency of
3561        splitting strings into individual characters by adding hash so that
3562        only one Tcl_Obj per character is created. Improves performance of
3563        splitting of short strings and makes a huge difference to splitting of
3564        long strings, such as is done in the mime package in tcllib. [Bug
3565        131523]
3566
35672001-01-31  Don Porter  <dgp@users.sourceforge.net>
3568
3569        * win/makefile.vc (install-libraries):  Corrected misdirected install
3570        directory for the msgcat 1.2 package.
3571
35722001-01-30  Don Porter  <dgp@users.sourceforge.net>
3573
3574        * generic/tclIO.c (CopyData): Moved code that updates the count of how
3575        many bytes are left to copy. Corrects bug that when writing occurs in
3576        the background, the copy loop could be escaped without updating the
3577        count, causing CopyData() to try to copy more bytes than the toRead
3578        value originally passed to TclCopyChannel(), leading to hangs and
3579        misreporting of number of bytes copied. [Bug 118203, Patch 103432]
3580
35812001-01-18  Andreas Kupries  <a.kupries@westend.com>
3582
3583        Everything below belongs together, it fixes [Bug 123153]
3584
3585        * generic/tcl.h (line 342): A bit more explanation about the default
3586        value for TCL_PRESERVE_BINARY_COMPATABILITY.
3587
3588        * generic/tcl.h (line 1208): Define the macro 'Tcl_InitHashTable' only
3589        when TCL_PRESERVE_BINARY_COMPATIBILITY is not set as it kills binary
3590        compatibility to 8.3 and earlier versions. This is the main part of
3591        the patch/change.
3592
3593        * generic/tcl.decls (line 1469):
3594        * generic/tclHash.c (Tcl_InitHashTable):
3595        * generic/tclHash.c (Tcl_InitHashTableEx):
3596        * generic/tclObj.c (Tcl_InitObjHashTable): Changed
3597        'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. This change is
3598        more of an estethical nature, replacing the ubiquitous 'Ex' suffix
3599        with a more meaningful name. The introduced binary incompatibility is
3600        deemed acceptable as it is between alpha versions.  Updated callers.
3601
3602        * doc/Hash.3:
3603        * unix/mkLinks: Changed 'Tcl_InitHashTableEx' to
3604        'Tcl_InitCustomHashTable'.
3605
36062001-01-10  Donal K. Fellows  <fellowsd@cs.man.ac.uk>
3607
3608        * tests/winPipe.test (winpipe-1.20):
3609        * tests/winDde.test (createChildProcess):
3610        * tests/pkgMkIndex.test (pkgtest::createIndex): Removed assumption
3611        that paths contain no spaces which causes problems with both [eval]
3612        and [open |...] due to the well-known differences between lists and
3613        strings. Fixes [Bug 119406]
3614
36152001-01-04  Don Porter  <dgp@users.sourceforge.net>
3616
3617        * tests/unixInit.test:
3618        * unix/tclUnixInit.c (TclpInitLibraryPath):
3619        * win/tclWinInit.c (TclpInitLibraryPath):  Several entries in the
3620        library path ($tcl_libPath) are determined relative to the absolute
3621        path of the executable. When the executable is installed in or near
3622        the root directory of the file system, relative pathnames were being
3623        incorrectly generated, and in the worst case, memory access violations
3624        were crashing the program. [Bug 119416, Patch 102972]
3625
3626        ******************************************************************
3627        *** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000"             ***
3628        *** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
3629        ******************************************************************
Note: See TracBrowser for help on using the repository browser.