summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Convert mutex-protected global state into thread-local state. [FRQ 1077210]dkf2004-12-021-0/+5
|
* * generic/tclUtil.c (TclGetProcessGlobalValue): Narrowed the scopedgp2004-12-021-0/+3
| | | | of mutex locks.
* .dgp2004-12-011-0/+23
|
* * generic/tclEncoding.c: Moved TclpSetInitialEncodings()dgp2004-12-011-0/+9
| | | | | | | | call from Tcl_FindExecutable() into TclInitEncodingSubsystem(). This is important on Windows where it establishes whether the "ascii" or "unicode" set of system routines will be used, and that needs to be done earlier to support filesystem operations. [Bug 1077005]
* Fix reported problems with tests for dde error messages. Also use more tcltest2dkf2004-12-011-0/+6
| | | | features to reduce [catch] count...
* * library/init.tcl ([unknown]): Restored the save/restore ofdgp2004-11-301-0/+4
| | | | | the variables ::errorCode and ::errorInfo. This is needed when the [::bgerror] command is auto-loaded (as it is by Tk).
* Patch 976520 reworks several of the details involved withdgp2004-11-301-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | startup/initialization of the Tcl library, focused on the activities of Tcl_FindExecutable(). * generic/tclIO.c: Removed bogus claim in comment that encoding "iso8859-1" is "built-in" to Tcl. * generic/tclInt.h: Created a new struct ProcessGlobalValue, * generic/tclUtil.c: routines Tcl(Get|Set)ProcessGlobalValue, and function type TclInitProcessGlobalValueProc. Together, these take care of the housekeeping for "values" (things that can be held in a Tcl_Obj) that are global across a whole process. That is, they are shared among multiple threads, and epoch and mutex protection must govern the validity of cached copies maintained in each thread. * generic/tclNotify.c: Modified TclInitNotifier() to tolerate being called multiple times in the same thread. * generic/tclEvent.c: Dropped the unused argv0 argument to TclInitSubsystems(). Removed machinery to unsure only one TclInitNotifier() call per thread, now that that is safe. Converted Tcl(Get|Set)LibraryPath to use a ProcessGlobalValue, and moved them to tclEncoding.c. * generic/tclBasic.c: Updated caller. * generic/tclInt.h: TclpFindExecutable now returns void. * unix/tclUnixFile.c: * win/tclWinFile.c: * win/tclWinPipe.c: * generic/tclEncoding.c: Built new encoding search initialization on a foundation of ProcessGlobalValues, exposing new routines Tcl(Get|Set)EncodingSearchPath. A cache of a map from encoding name to directory pathname keeps track of where encodings are available for loading. Tcl_FindExecutable greatly simplified into just three function calls. The "library path" is now misnamed, as its only remaining purpose is as a foundation for the default encoding search path. * generic/tclInterp.c: Inlined the initScript that is evaluated by Tcl_Init(). Added verification after initScript evaluation that Tcl can find its installed *.enc files, and that it has initialized [encoding system] in agreement with what the environment expects. [tclInit] no longer driven by the value of $::tcl_libPath; it largely constructs its own search path now, rather than attempt to share one with the encoding system. * unix/tclUnixInit.c: TclpSetInitialEncodings factored so that a new * win/tclWinInit.c: routine TclpGetEncodingNameFromEnvironment can reveal that Tcl thinks the [encoding system] should be, even when an incomplete encoding search path, or a missing *.enc file won't allow that initialization to succeed. TclpInitLibraryPath reworked as an initializer of a ProcessGlobalValue. * unix/tclUnixTest.c: Update implementations of [testfindexecutable], [testgetdefenc], and [testsetdefenc]. * tests/unixInit.test: Corrected tests to operate properly even when a value of TCL_LIBRARY is required to find encodings. * generic/tclInt.decls: New internal stubs: TclGetEncodingSearchPath, TclSetEncodingSearchPath, TclpGetEncodingNameFromEnvironment. These are candidates for public exposure by future TIPs. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclTest.c: Updated [testencoding] to use * tests/encoding.test: Tcl(Get|Set)EncodingSearchPath. Updated tests.
* corrected a typo that caused a compilation failure on VC++Kevin B Kenny2004-11-301-1/+4
|
* * library/clock.tcl: Corrected the regular expressions that matchKevin B Kenny2004-11-301-0/+7
| | | | | a time zone to allow for time zones specified as +HH or -HH. * tests/clock.test: Added regression test case for the above issue.
* Whitespace fixesdkf2004-11-301-2/+2
|
* * win/Makefile.in (install-libraries): Brought entry '2004-10-26andreas_kupries2004-11-291-0/+7
| | | | | | Don Porter (Tcl Modules)' into the windows world, actually the win/configure buildsystem. The other windows buildsystems (.vc, .bc) still have to be updated as well.
* * win/tclWinDde.c (ExecuteRemoteObject): Removed bogus semicolonandreas_kupries2004-11-261-0/+11
| | | | | | | | | | found at the end of the header for the function definition, terminating it early and preventing a compile. This is likely a fix for '2004-11-25 Donal'. I have to conclude that it is also unknown if the other changes to this file actually pass the testsuite. Running testsuite ... They don't. winDde-6.1 fails. This is only a message discrepance, i.e. not too bad. Leaving resolution of that to Pat and Donal.
* * library/auto.tcl (tcl_findLibrary): Made sure the uniquifyingdgp2004-11-261-0/+5
| | | | operations on the search path does not also normalize. [Bug 1072136]
* Spread the goodness of AC_CACHE_VAL a bit further. [Patch 1073524]dkf2004-11-261-0/+7
|
* Added simple foreach example. [FRQ 1073334]dkf2004-11-261-0/+4
|
* Fix [Bug 1066837] without reopening other bugs... What a horrid hack! :^/dkf2004-11-251-0/+9
|
* * tests/tcltest.test: The order in which [glob] returns the filermax2004-11-251-0/+5
| | | | names is undefined, so tests should not depend on it.
* See filevasiljevic2004-11-251-0/+5
|
* Assorted cleanup and doc-fixes for the dde package.dkf2004-11-251-0/+8
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determinedgp2004-11-251-0/+5
| | | | | | the number of arguments for readdir_r on SunOS systems. [Bug 1071701] * unix/configure: autoconf-2.57
* no messagedavygrvy2004-11-241-0/+7
|
* Fixed compilation error in tclWinInit.c on VC++ --enable-symbolsKevin B Kenny2004-11-241-0/+3
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check forKevin B Kenny2004-11-241-0/+10
| | | | | | | | | 3-argument readdir_r [Bug 1001325]. * unix/configure: Regenerated. * unix/tclUnixNotfy.c: Corrected all uses of 'select' to manage their masks using the FD_CLR, FD_ISSET, FD_SET, and FD_ZERO macros rather than bit-whacking that failed under Solaris-Sparc-64. [Bug 1071807]
* * generic/tclCmdIL.c (InfoVarsCmd): Corrected segfault in newdgp2004-11-241-0/+5
| | | | * tests/info.test (info-19.6): trivial matching branch [Bug 1072654]
* Fix various problems with man2html converter reported by AKudkf2004-11-241-0/+5
| | | | Also updated to use [package require Tcl 8.4]
* Fix [Bug 1068171] though the fix is commented out for now.dkf2004-11-241-0/+3
|
* Remove call to Tcl_GetStringResult to speed up processing of [$canv postscript]dkf2004-11-231-0/+8
| | | | and other repeated callers of Tcl_AppendResult(). [Patch 1041072]
* Whitespace fixesdkf2004-11-221-59/+60
|
* * unix/configure: Regen.mdejong2004-11-221-0/+8
| | | | | | | * unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Define HAVE_TYPE_OFF64_T only when off64_t, open64(), and lseek64() are defined. IRIX 5.3 is known to not include an open64 function. [Bug 1030465]
* * unix/configure: Regen.mdejong2004-11-221-0/+10
| | | | | | | | | * unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2 argument version of readdir_r that is known to exists under IRIX 5.3. * unix/tclUnixThrd.c (TclpReaddir): Use either 2 arg or 3 arg version of readdir_r. [Bug 1001325]
* * unix/tclUnixInit.c (TclpInitLibraryPath): Purged dead code thatdgp2004-11-221-0/+5
| | | | | | * win/tclWinInit.c (TclpInitLibraryPath): used to extend the "library path". Search path construction for init.tcl is now done within the [tclInit] proc.
* * generic/tclInterp.c: Restored several directories to the searchdgp2004-11-221-0/+9
| | | | | | | | * tests/unixInit.test: path used to locate init.tcl within [tclInit]. This change does not restore any directories to the encoding search path, so should still avoid the price of an unreasonably large number of filesystem accesses during encoding initialization at startup [Bug 976438]
* fix to windows file join bugvincentdarley2004-11-221-0/+6
|
* * doc/AddErrInfo.3: Typo corrections (Thanks Daniel South).dgp2004-11-211-0/+5
| | | | * doc/interp.n:
* * doc/AddErrInfo.3: Docs for Tcl_(Get|Set)ReturnOptions. [TIP 227]dgp2004-11-201-0/+17
| | | | | | | | | | | | | | | | | * doc/AddErrInfo.3: * doc/Async.3: Documentation updates to replace references * doc/BackgdErr.3: to global variable ::errorInfo and ::errorCode * doc/SaveResult.3: and to the ::bgerror command with references * doc/after.n: to their preferred replacements, the * doc/bgerror.n: -errorinfo and -errorcode return options, * doc/error.n: the Tcl_*InterpState routines, and the * doc/exec.n: [interp bgerror] command. * doc/exit.n: * doc/fileevent.n: * doc/interp.n: * doc/return.n: * doc/tclvars.n: * doc/update.n:
* * tests/unixInit.test: Removed "knownBug" constraints to promptdgp2004-11-191-0/+5
| | | | bug fixing before 8.5a2 release.
* * macosx/Makefile:das2004-11-191-0/+11
| | | | | | | | | | * unix/configure.in: * unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection of tcl framework build when determining tclLibPath from overloaded TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088] * unix/configure: autoconf-2.57 * unix/tclConfig.h.in: autoheader-2.57
* * doc/SaveResult.3: Documentation for Tcl_*InterpState (TIP 226).dgp2004-11-181-0/+2
|
* * tests/interp.test (interp-36.*): [interp bgerror] tests.dgp2004-11-181-1/+3
| | | | * generic/tclInterp.c: Corrected [interp bgerror] error messages.
* * generic/tclEvent.c (HandleBgErrors): Simplified program flow.dgp2004-11-181-0/+2
|
* * tests/basic.test: Updated functional (not testing) uses ofdgp2004-11-181-0/+9
| | | | | | | | * tests/io.test: [bgerror] to make use of [interp bgerror]. * tests/socket.test: * tests/timer.test: * generic/tclInterp.c: Corrected [interp bgerror] error message.
* generated configure and fixed manpage installatonrmax2004-11-181-0/+3
|
* 2004-11-18 Reinhard Max <max@suse.de>rmax2004-11-181-1/+11
| | | | | | | | | | * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of * unix/configure.in: patch #996085, that introduces * unix/Makefile.in: --enable-man-suffix. * unix/installManPage: added * unix/mkLinks.tcl: removed * unix/mkLinks: removed
* * unix/configure.in: The change below reveals that the publicdgp2004-11-171-0/+15
| | | | | | | | | | | | | | data type Tcl_StatBuf relies on config information. For now, disabled the use of the tclConfig.h file until its full impact on Tcl's interface can be assessed. * unix/configure: autoconf-2.57 * generic/tcl.h: Moved the #include "tclConfig.h" out of * generic/tclInt.h: tcl.h. The config settings are not part of * generic/tclPort.: the public interface, and having it there breaks compiled against uninstalled Tcl and extensions using autoconf-2.5*.
* * unix/tclUnixChan.c (TtySetOptionProc): fixed crash configuringhobbs2004-11-171-0/+5
| | | | -ttycontrol on a channel. [Bug 1067708]
* * generic/tclIOUtil.c (TclFSEpochOk): There were two code pathsdgp2004-11-171-0/+8
| | | | | | | via which the thread copy of filesystemEpoch could be synched with the master copy, but only one kept the filesystem list cache up to date. Fix routes everything through a single code path. [Bug 1035775].
* Stop architecture flags to 'ld' from going missing when [load] is disabled.dkf2004-11-161-0/+5
|
* * generic/tcl.h:das2004-11-161-0/+7
| | | | | | * unix/configure.in: changed HAVE_CONFIG_H to HAVE_TCL_CONFIG_H. * unix/configure: autoconf-2.57
* * generic/tclInt.h: Added comment warning that the olddgp2004-11-151-0/+11
| | | | | | | | | | ERR_IN_PROGRESS and ERROR_CODE_SET flag values should not be re-used for the sake of those extensions that have accessed them. * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which failed * tests/trace.test (trace-33.1): to permit a variable trace created with [trace variable] to be destroyed with [trace remove]. Thanks to Keith Vetter for the report.
* Added listing of shell-specific variables to general tclvars page [Patch ↵dkf2004-11-151-0/+5
| | | | 1065732]