summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* additional regression test for Bug 868489Kevin B Kenny2004-10-271-0/+5
|
* Yet more small fixesdkf2004-10-271-1/+1
|
* More minor doc fixesdkf2004-10-271-1/+1
|
* More minor doc fixesdkf2004-10-271-1/+1
|
* Many minor doc fixesdkf2004-10-271-0/+4
|
* * generic/tclParse.c (Tcl_SubstObj): Fix for failed subst-12.3 test.dgp2004-10-261-1/+2
| | | | * tests/subst.test (subst-12.3-5): More tests for Bug 1036649.
* * tests/subst.test (subst-12.3,4): More tests for Bug 1036649.dgp2004-10-261-1/+4
|
* * unix/Makefile.in (install-libraries): Updated the installationdgp2004-10-261-0/+4
| | | | | | of the http, msgcat, and tcltest packages to install as Tcl Modules on Unix systems. Other platform Makefiles still need updating. [Patch 1054370]
* no messagedavygrvy2004-10-261-0/+7
|
* * library/tm.tcl (::tcl::tm::Defaults): Added a second [fileandreas_kupries2004-10-261-0/+7
| | | | | | dirname] around the location of the executable. This fixes [Tcl SF Bug 1038705]. Instable of a bogus "foo/bin/lib" we now have the correct "foo/lib" as a base path for modules.
* * tests/basic.test: Added missing constraints.dgp2004-10-261-0/+8
| | | | | | | * tests/compile.test: * tests/fileSystem.test: * tests/init.test (init-2.8): Updated to not rely on http package.
* removed more direct references to the VAR flags, replaced with accessMiguel Sofer2004-10-261-0/+6
| | | | macros.
* Tighten up expr(n) wording. [Bug 1027849]dkf2004-10-261-0/+5
|
* fixes for Bug 1054101Kevin B Kenny2004-10-261-0/+11
|
* Clarify [string map] docs to remove char/string ambiguity. [Bug 1048005]dkf2004-10-251-0/+2
|
* Clarified meaning of pattern arg to [info procs]dkf2004-10-251-0/+3
|
* Remove some of the contortions from cmdAH-8.45dkf2004-10-251-0/+5
|
* * generic/tclExecute.c (IllegalExprOperandType,TclExecuteByteCode):dgp2004-10-251-0/+12
| | | | | | | | | | | | | Removed several DECACHE_INFO/CACHE_INFO pairs that are no longer needed for protection because routines like Tcl_SetErrorCode() and Tcl_AddErrorInfo() can no longer re-enter bytecode execution. * generic/tclResult.c (TclProcessReturn): Bug fix. Be sure that a missing -errorinfo option when code == TCL_ERROR causes the errorInfo field to get reset. * tests/thread.test (thread-4.4): Test depended on a ::errorInfo value initialized to "". Added code to test to setup that requirement.
* * library/auto.tcl Purged Tcl's script library of alldgp2004-10-251-0/+12
| | | | | | | | | | | * library/clock.tcl remaining references to global vars * library/init.tcl ::errorInfo and ::errorCode. * generic/tclMain.c (Tcl_Main): Updated to make use of TclGetReturnOptions instead of ::errorInfo variable. * generic/tclInterp.c (tclInit): Bug fix. Access dict variables with [dict get], not array syntax.
* Flesh out tests and transform the TM manager API into an ensembledkf2004-10-251-0/+8
|
* defined new macros to get/set the flags of variables.Miguel Sofer2004-10-251-0/+9
|
* * generic/tclBasic.c (Tcl_LogCommandInfo,Tcl_AddObjErrorInfo):dgp2004-10-241-0/+15
| | | | | | | | | | | | | | Shift the initialization of errorCode to NONE to more central location. * generic/tclEvent.c (BgError,Tcl_BackgroundError,HandleBgErrors): Rewrite to build on the new TclGet/SetReturnOptions routines. * generic/tclResult.c (TclGetReturnOptions): Add call to Tcl_AddObjErrorInfo to be sure error fields are initialized. * generic/tclResult.c (TclTransferResult): Rewrite to build on the new TclGet/SetReturnOptions routines.
* Add *very* basic test suite for modules, and tighten up the doc styledkf2004-10-221-0/+4
|
* Make ensembles report shorter error traces that conceal more of how thedkf2004-10-221-0/+6
| | | | ensemble implements itself. This is usually the right thing to do.
* * library/clock.tcl: Fixed a typo where the fallback time zoneKevin B Kenny2004-10-221-0/+10
| | | | | | | | | became ::localtime instead of :localtime. Fixed a bug where time zone names containing hyphens could not be loaded. Thanks to Todd M. Helfter <tmh@jumpgate.itsp.purdue.edu> for finding these bugs. * tests/clock.test: Added regression test cases that covers both bugs.
* Standardize way of calling object freeIntRepProcs...dkf2004-10-221-0/+6
|
* * generic/tclVar.c: fixed bug in commit of 2004-07-23, which wasMiguel Sofer2004-10-221-0/+7
| | | | | | causing a leak of Proc structures and failure of compile-12.1. Two lines were 'zombies' from the previous way localVarNames worked. Credit dgp for finding this.
* * generic/tclInt.h (Interp):dgp2004-10-211-0/+7
| | | | | | | | * generic/tclBasic.c (Tcl_CreateInterp,Tcl_DeleteInterp): * generic/tclResult.c (GetKeys,ReleaseKeys,etc.): Moved the key values of the return options dictionary out of private fields of the Interp struct and into thread-static values managed in tclResult.c.
* * generic/tclCmdAH.c (Tcl_CatchObjCmd, Tcl_ErrorObjCmd):dgp2004-10-211-0/+23
| | | | | | | | | | | | | | | | | | | | | | Updated to call the new TclGet/SetReturnOptions routines to do much of their work. * generic/tclInt.h (TclGetReturnOptions,TclSetReturnOptions): * generic/tclResult.c (TclGetReturnOptions,TclSetReturnOptions): New utility routines to get/set the return options of an interp. Intent is that these routines will be converted to public routines after TIP approval. * generic/tclCmdMZ.c (TclProcessReturn,TclMergeReturnOptions): * generic/tclResult.c (TclProcessReturn,TclMergeReturnOptions): Move internal utility routines from tclCmdMZ.c to tclResult.c. * generic/tclBasic.c (Tcl_CreateInterp, Tcl_DeleteInterp): * generic/tclResult.c (TclTransferResult): Rework so that iPtr->returnOpts can be NULL when there are no special options. * generic/tclResult.c (TclRestoreInterpState): Plug potential memory leak.
* doubled speed of clock formatKevin B Kenny2004-10-211-0/+7
|
* * win/Makefile.in (install-msgs): Fixed a problem with theandreas_kupries2004-10-201-0/+9
| | | | | | | | * win/Makefile.in (install-tzdata): installation of timezone data and message catalogs. They used the installed tcl library directory, not the source library. Before it was installed. Switched to source lib dir. Thanks to Kevin for the help in figuring this out.
* * generic/tclThreadTest.c (ThreadEventProc): Corrected subtledgp2004-10-201-0/+9
| | | | | | | | bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued. That's not safe, and recent changes demonstrated the lack of safety with failing tests thread-4.3 and thread-4.5.
* Stop losing result codes in [dict with] in some circumstancesdkf2004-10-191-0/+5
|
* Added Itcl acknowledgment.dgp2004-10-191-0/+1
|
* * generic/tclInt.h (Tcl*InterpState): New internal routinesdgp2004-10-191-0/+22
| | | | | | | | | | | | | | | | | | | | | * generic/tclResult.c (Tcl*InterpState): TclSaveInterpState, TclRestoreInterpState, and TclDiscardInterpState are superior replacements for Tcl_(Save|Restore|Discard)Result. Intent is that these routines will be converted to public routines after TIP approval. * generic/tclBasic.c (TclEvalObjvInternal): * generic/tclDictObj.c (DictUpdateCmd, DictWithCmd): * generic/tclIOGT.c (ExecuteCallback): * generic/tclTrace.c (Trace*Proc,TclCheck*Traces,TclCallVarTraces): Callers of Tcl_*Result updated to call the new routines. The calls were relocated in several cases to perform save/restore operations only when needed. * generic/tclEvent.c (HandleBgErrors): * generic/tclFCmd.c (CopyRenameOneFile): Calls to Tcl_*Result that were eliminated because they appeared to serve no useful purpose, typically saving/restoring an error message, only to throw it away.
* * generic/tclBasic.c (Tcl_CreateInterp,Tcl_DeleteInterp):dgp2004-10-181-0/+13
| | | | | | | | | | | | * generic/tclCmdAH.c (Tcl_CatchObjCmd): * generic/tclCmdMZ.c (TclMergeReturnOptions,TclProcessReturn): * generic/tclCompCmds.c (TclCompileReturnCmd): * generic/tclExecute.c (TclCompEvalObj): * generic/tclInt.h (Interp): * generic/tclProc.c (TclUpdateReturnInfo): Place primary storage of the -level and -code information in private fields of the Interp struct, rather than in a DictObj. This should significantly improve performance of TclUpdateReturnInfo.
* generic/tclResult.c: removed unused variable [Bug 1048588].Miguel Sofer2004-10-171-0/+5
|
* * generic/tclCmdMZ.c (TclProcessReturn): Now that primarydgp2004-10-151-0/+6
| | | | | | | * generic/tclProc.c (TclUpdateReturnInfo): storage for the errorInfo and errorCode values are internal fields, we can set them at the time of the [return] command, and not have to wait until the specified number of "-level"s have popped.
* * generic/tclBasic.c (Tcl_CreateInterp,Tcl_DeleteInterp,dgp2004-10-151-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclEvalObjvInternal,Tcl_LogCommandInfo,TclAddObjErrorInfo): * generic/tclCmdAH.c (Tcl_CatchObjCmd): * generic/tclEvent.c (BgError,ErrAssocData,Tcl_BackgroundError, HandleBgErrors,BgErrorDeleteProc): * generic/tclExecute.c (TclCreateExecEnv,TclDeleteExecEnv): * generic/tclIOUtil.c (comments only): * generic/tclInt.h (ExecEnv,Interp, ERR_IN_PROGRESS): * generic/tclInterp.c ([tclInit]): * generic/tclMain.c (comments only): * generic/tclNamesp.c (Tcl_CreateNamespace,Tcl_DeleteNamespace,TclTeardownNamespace): * generic/tclProc.c (TclUpdateReturnInfo): * generic/tclResult.c (Tcl_ResetResult,TclTransferResult): * generic/tclTrace.c (CallVarTraces): Reworked management of the "errorInfo" data of an interp. That information is now primarily stored in a new private (Tcl_Obj *) field of the Interp struct, rather than using a global variable ::errorInfo as the primary storage. The ERR_IN_PROGRESS flag bit value is no longer required to manage the value in its new location, and is removed. Variable traces are established to support compatibility for any code expecting the ::errorInfo variable to hold the information. ***POTENTIAL INCOMPATIBILITY*** Code that sets traces on the ::errorInfo variable may notice a difference in timing of the firing of those traces. Code that uses the value ERR_IN_PROGRESS.
* TIP#217 implementationdkf2004-10-141-0/+5
|
* Speed up [info <thing> <simplePattern>]dkf2004-10-141-0/+7
|
* synchronized to Olson's tzdata2004eKevin B Kenny2004-10-121-0/+9
|
* Docs for TIP#201 and TIP#212; this allows these TIPs to become Finaldkf2004-10-081-3/+3
|
* Basic tests for TIPs #201 and #212dkf2004-10-081-0/+5
|
* Core of implementation of TIP#201 ('in' and 'ni' operators)dkf2004-10-081-0/+5
|
* Core of implementation of TIP#212dkf2004-10-081-0/+5
|
* * generic/tclTest.c (TestsetobjerrorcodeCmd): Simplified.dgp2004-10-071-0/+4
|
* Convert CONST to const, VOID to void so we document how we want the API used.dkf2004-10-071-0/+4
|
* filesystem generic/platform code splittingvincentdarley2004-10-071-0/+14
|
* Update the .AS macro definition and take advantage of it's new-found power.dkf2004-10-071-0/+4
|