summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Make [info globals ::foo] work. [Bug 1057461]dkf2004-10-311-0/+6
|
* Fixed conversion between FILETIME and Tcl time -Bug 926106Kevin B Kenny2004-10-301-0/+4
|
* replaced WIN32 with __WIN32__ [Bug 1054357] (Gravereaux)Kevin B Kenny2004-10-301-0/+5
|
* * library/tcltest/tcltest.tcl: Correct reaction to errors in thedgp2004-10-301-0/+8
| | | | | | | obsolete processCmdLineArgsHook. [Bug 1055673] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7 * unix/Makefile.in: * tests/all.tcl: Update to use [tcltest::configure].
* Allow ensembles to rewrite their subcommands' error messages to be moredkf2004-10-291-0/+27
| | | | | | relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage
* fix for execution stack corruption [Bug 1055676]. Credit dgp for detectiveMiguel Sofer2004-10-281-0/+6
| | | | work and fix.
* no messagedavygrvy2004-10-281-0/+5
|
* * tests/socket.test (socket-13.1): Balanced [makeFile] anddgp2004-10-281-1/+3
| | | | [removeFile] commands.
* * tests/clock.test: Correct duplicate test names.dgp2004-10-281-0/+8
| | | | | | * tests/namespace.test: * tests/string.test: * tests/io.test (io-50.4): Use namespace variables.
* no messagedavygrvy2004-10-271-0/+4
|
* more clarity added to my last entrydavygrvy2004-10-271-1/+1
|
* * win/tclWinThrd.c (TclFinalizeLock): release the critical sectiondavygrvy2004-10-271-0/+3
| | | | before deleting it. [Bug 731778]
* * tests/registry.test: Fixed test files to load the correctdavygrvy2004-10-271-0/+8
| | | | | | | | | * tests/winDde.test: registry and dde packages by using the info * win/Makefile.in: from makefiles to tell tcltest where to load * win/makefile.vc: them from. This avoids grabbing the wrong package from $auto_path which might be the install point rather than the dev location. Kudos to Jennifer Hom for adding -load and -loadfile to the tcltest package. [Bug 926088]
* no messagedavygrvy2004-10-271-0/+14
|
* * tests/tm.test: Expanded on the testsuite entered by Donal.andreas_kupries2004-10-271-0/+5
| | | | * library/tm.tcl: Even found bugs, these have been corrected.
* 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.