summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * tests/safe.test: Trim auto_path to improve performance [1080039]dgp2004-12-063-5/+12
|
* * generic/tclEncoding.c: Different fix for [Bug 1077005].dgp2004-12-046-11/+34
| | | | | | | | | * generic/tclEvent.c: Broke apart TclpSetInitialEncodings() on * generic/tclInt.h: Windows into TclpSetInterfaces(), that is * unix/tclUnixInit.c: fundamentally essential, and the initialization * win/tclWinInit.c: of the system encoding, which is not. Made the TclpSetInterfaces call part of TclInitSubsystems so it cannot be overlooked.
* updated changes for 8.5a2 releasehobbs2004-12-042-14/+59
|
* * generic/tclUtil.c (TclSetProcessGlobalValue): Handle the casedgp2004-12-023-6/+16
| | | | | | | | where a ProcessGlobalValue might be assigned to itself. * generic/tclEncoding.c (MakeFileMap): Correct refcounting errors managing values returned by TclPathPart (with refCount of 1!) that led to a memory leak. [Bug 1077474].
* filesystem, glob, tilde fixvincentdarley2004-12-023-1/+74
|
* workaround for a bug in cygpath that made safe-8.5-8.7 failKevin B Kenny2004-12-022-2/+8
|
* Remove a global mutex/state by using lists instead of hashtables to store thedkf2004-12-022-50/+56
| | | | collection of aliases that refer to an interpreter. [FRQ 1077210]
* Upgrade more of the file to tcltest2, and collect constraint definitions to ↵dkf2004-12-021-51/+53
| | | | the top.
* Convert mutex-protected global state into thread-local state. [FRQ 1077210]dkf2004-12-022-9/+23
|
* * generic/tclUtil.c (TclGetProcessGlobalValue): Narrowed the scopedgp2004-12-022-50/+61
| | | | of mutex locks.
* .dgp2004-12-011-0/+23
|
* * generic/tclUtil.c: Updated Tcl_GetNameOfExecutable() todgp2004-12-0112-193/+163
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c: make use of a ProcessGlobalValue for * generic/tclEvent.c: storing the executable name. Added internal routines Tcl(Get|Set)ObjNameOfExecutable() to access that storage in Tcl_Obj, rather than string format. * unix/tclUnixFile.c: Rewrote TclpFindExecutable() to use * win/tclWinFile.c: TclSetObjNameOfExecutable to store the executable name it computes. * generic/tclInt.h: Added internal stub entries for * generic/tclInt.decls: TclpFindExecutable and Tcl(Get|Set)ObjNameOfExecutable. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclCmdIL.c: Retrieve executable name in Tcl_Obj form * win/tclWinPipe.c: instead of string form. * unix/tclUnixTest.c: Update [testfindexecutable] command to use new internal interfaces.
* added comment about freewrap difficultiesdgp2004-12-011-1/+5
|
* * generic/tclEncoding.c: Moved TclpSetInitialEncodings()dgp2004-12-012-3/+11
| | | | | | | | 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]
* Oops! <:^)dkf2004-12-011-2/+2
|
* Fix reported problems with tests for dde error messages. Also use more tcltest2dkf2004-12-012-81/+66
| | | | features to reduce [catch] count...
* D'oh! Deal with missing ::errorCode or ::errorInfo.dgp2004-11-301-5/+5
|
* * library/init.tcl ([unknown]): Restored the save/restore ofdgp2004-11-302-1/+9
| | | | | 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-3021-1157/+1556
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-3/+6
|
* * library/clock.tcl: Corrected the regular expressions that matchKevin B Kenny2004-11-303-9/+22
| | | | | 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-292-17/+15
| | | | | | 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-262-2/+13
| | | | | | | | | | 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-262-2/+7
| | | | operations on the search path does not also normalize. [Bug 1072136]
* Oops! Got the test sense wrong.dkf2004-11-261-1/+1
|
* Spread the goodness of AC_CACHE_VAL a bit further. [Patch 1073524]dkf2004-11-263-56/+58
|
* Added simple foreach example. [FRQ 1073334]dkf2004-11-262-7/+22
|
* Fix [Bug 1066837] without reopening other bugs... What a horrid hack! :^/dkf2004-11-254-5/+47
|
* * tests/tcltest.test: The order in which [glob] returns the filermax2004-11-252-3/+8
| | | | names is undefined, so tests should not depend on it.
* See filevasiljevic2004-11-251-0/+5
|
* Added changes from core-8-4-branchvasiljevic2004-11-252-3/+6
|
* Fix ordering of AC_MSG_RESULT/AC_CHECK_FUNCS so messages are simpler.dkf2004-11-251-1/+1
|
* Assorted cleanup and doc-fixes for the dde package.dkf2004-11-253-903/+874
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected failure to determinedgp2004-11-253-4/+44
| | | | | | the number of arguments for readdir_r on SunOS systems. [Bug 1071701] * unix/configure: autoconf-2.57
* no messagedavygrvy2004-11-241-0/+7
|
* * generic/tclPort.h: Relative include of tclWinPort.h returned as it was ↵davygrvy2004-11-241-2/+2
| | | | | | | requiring me set -I$(tcl_root)/win for my extensions that need to include tclInt.h and doesn't appear to serve any purpose on windows builds.
* Fixed compilation error in tclWinInit.c on VC++ --enable-symbolsKevin B Kenny2004-11-242-3/+5
|
* * unix/tcl.m4 (SC_ENABLE_THREADS): Corrected bad check forKevin B Kenny2004-11-244-85/+132
| | | | | | | | | 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-243-7/+22
| | | | * tests/info.test (info-19.6): trivial matching branch [Bug 1072654]
* Fix various problems with man2html converter reported by AKudkf2004-11-244-124/+135
| | | | Also updated to use [package require Tcl 8.4]
* Fix [Bug 1068171] though the fix is commented out for now.dkf2004-11-242-2/+8
|
* Remove call to Tcl_GetStringResult to speed up processing of [$canv postscript]dkf2004-11-232-1/+21
| | | | and other repeated callers of Tcl_AppendResult(). [Patch 1041072]
* Whitespace fixesdkf2004-11-221-59/+60
|
* * unix/configure: Regen.mdejong2004-11-223-5/+110
| | | | | | | * 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-224-1/+137
| | | | | | | | | * 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-223-217/+11
| | | | | | * 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-223-21/+45
| | | | | | | | * 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-223-4/+25
|
* * doc/AddErrInfo.3: Typo corrections (Thanks Daniel South).dgp2004-11-213-5/+10
| | | | * doc/interp.n: