summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bugs 1090413, 1092789 fixedKevin B Kenny2004-12-296-114/+149
|
* Avoid sharing cmdName literals accross namespaces, and generalise usage ofMiguel Sofer2004-12-247-37/+85
| | | | the TclRegisterNewLiteral macro [Patch 1090905]
* fix for last commit; thanks dgp and tclguy for catch/classify/throwMiguel Sofer2004-12-202-5/+7
|
* * generic/tclCompile.c: moved TclInitCompiledLocals to tclProc.cMiguel Sofer2004-12-203-170/+242
| | | | | | | | * generic/tclProc.c: new static InitCompiledLocals to allow for a single pass over the proc's arguments at proc load time (instead of two as previously). TclObjInterpProc() now allocates the compiledLocals on the tcl execution stack, using the new TclStackAlloc/Free functions.
* Upgrade the capabilities of time limits by allowing them to fire in the midstdkf2004-12-166-21/+188
| | | | of the processing of the event loop or during a blocking [after]. [Bug 1085023]
* * generic/tclTest.c: Added two new functions to allocate memoryMiguel Sofer2004-12-159-33/+247
| | | | | | | | | | from the execution stack (TclStackAlloc, TclStackFree). Added functions TclPushStackFrame and TclPopStackFrame that do the work of Tcl_PushCallFrame and Tcl_PopCallFrame, but using frames allocated in the execution stack - i.e., heap instead of C-stack. The core uses these two new functions exclusively; the old ones remain for backwards compat, as at least two popular extensions (itcl, xotcl) are known to use them.
* bad date in ChangelogMiguel Sofer2004-12-141-1/+1
|
* changing the isProcCallFrame field of the CallFrame struct from a 0/1 fieldMiguel Sofer2004-12-145-23/+36
| | | | to flags. Should be perfectly backwards compatible.
* * unix/configure.in: Added special processing to remove "$U"dgp2004-12-143-17/+14
| | | | | | | from libraries in the LIBOBJS value. This is an auto-make-ism we need to avoid. [Bug 1081541] * unix/configure: autoconf-2.57
* * generic/tcl.h: Restored extern "C" guards so that C++ codedgp2004-12-132-1/+21
| | | | | sees function pointer typedef linkage consistent with earlier Tcl releases. [Bug 1082349].
* * 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.