summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclEncoding.c: Plugged some memory leaks. Thanks todgp2004-12-133-3/+10
| | | | * generic/tclUtil.c: Rolf Ade for reports and testing [Bug 1083082]
* Add note to clock.n disclaiming full ISO8601 supportKevin B Kenny2004-12-132-2/+12
|
* * generic/tclVar.c (TclArrayObjCmd - ARRAY_NAMES): leaking an object [BugMiguel Sofer2004-12-132-1/+7
| | | | 1084111] - thanks to Rolf Ade.
* * generic/tclObj.c (TclSetCmdNameObj): special handling for fully qualifiedMiguel Sofer2004-12-122-1/+24
| | | | command names (as in fix [Patch 456668]).
* converting the static function GetNamespaceFromObj() to MODULE_SCOPEMiguel Sofer2004-12-113-13/+21
| | | | TclGetNamespaceFromObj().
* ran autoconf-2.57dgp2004-12-111-1/+1
|
* Bump to a3 to prevent confusion with a2 release.dkf2004-12-108-14/+21
|
* optimised loops that initialise a proc's arguments and compiled localMiguel Sofer2004-12-105-114/+170
| | | | variables, removing tests from inner loops.
* Make ensemble API available to rest of Tcl core.dkf2004-12-103-36/+40
|
* Provide an internal API for manipulating ensembles.dkf2004-12-092-133/+640
|
* regen with autoconf 2.57das2004-12-091-193/+206
|
* Minor doc fixesdkf2004-12-092-6/+11
|
* * tests/unixInit.test (2.1-4): Added constraints so that when adgp2004-12-082-5/+21
| | | | | value of TCL_LIBRARY is required for process initialization, we skip the tests that mess with that value.
* add library/tzdata,msgs to dist targetcore_8_5_a2hobbs2004-12-072-3/+11
|
* Some HTML converters prefer distances in inches to ems. [Bug 1078760]dkf2004-12-072-2/+7
|
* see ChangeLoghobbs2004-12-071-0/+9
|
* * unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBitshobbs2004-12-071-2/+2
| | | | [Bug 1079286]
* minor nroff typoshobbs2004-12-073-16/+15
|
* * tests/msgcat.test: makeFile/removeFile cleanup [1079117]dgp2004-12-062-4/+5
|
* * 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
|