summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix for execution stack corruption [Bug 1055676]. Credit dgp for detectiveMiguel Sofer2004-10-283-2/+32
| | | | work and fix.
* no messagedavygrvy2004-10-281-0/+5
|
* D'oh!dgp2004-10-281-2/+2
|
* * unix/tclAppInit.c: When built as tcltest, TclThread_Init was getting calleddavygrvy2004-10-282-28/+11
| | | | | * win/tclAppInit.c: twice. First by TclTest_Init, then again in Tcl_AppInit. The call from Tcl_AppInit now removed.
* * tests/socket.test (socket-13.1): Balanced [makeFile] anddgp2004-10-282-26/+28
| | | | [removeFile] commands.
* * tests/clock.test: Correct duplicate test names.dgp2004-10-285-12/+20
| | | | | | * tests/namespace.test: * tests/string.test: * tests/io.test (io-50.4): Use namespace variables.
* no messagedavygrvy2004-10-271-0/+4
|
* * generic/tcl.h: Removed the file level 'extern "C" {' and thedavygrvy2004-10-271-17/+1
| | | | | coresponding closing block as it serves no purpose given that all the function prototypes have the proper extern usage already.
* 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-276-155/+170
| | | | | | | | | * 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]
* fixed format-19.1 for 64 bit machinesKevin B Kenny2004-10-271-3/+3
|
* no messagedavygrvy2004-10-271-0/+14
|
* * generic/tclInt.decls: The following 9 functions were moved fromdavygrvy2004-10-274-21/+145
| | | | | | | | | | | | | * generic/tclInt.h: tclInt.h to the internal Stubs table for * generic/tclIntDecls.h: use by the test suite. As tclTest.obj is * generic/tclStubInit.c: linked to the shell, these functions need "blessed" status so as to always be exported from the library. Being placed in the Stubs table guarantees this [Bug 1054748]: TclpObjRemoveDirectory, TclpObjCopyDirectory, TclpObjCreateDirectory, TclpObjDeleteFile, TclpObjCopyFile, TclpObjRenameFile, TclpObjStat, TclpObjAccess, TclpOpenFileChannel
* * tests/tm.test: Expanded on the testsuite entered by Donal.andreas_kupries2004-10-273-23/+229
| | | | * library/tm.tcl: Even found bugs, these have been corrected.
* additional regression test for Bug 868489Kevin B Kenny2004-10-272-1/+14
|
* Yet more small fixesdkf2004-10-2712-72/+69
|
* More minor doc fixesdkf2004-10-2733-390/+359
|
* More minor doc fixesdkf2004-10-2727-211/+202
|
* Many minor doc fixesdkf2004-10-2720-98/+118
|
* * generic/tclParse.c (Tcl_SubstObj): Fix for failed subst-12.3 test.dgp2004-10-263-4/+13
| | | | * tests/subst.test (subst-12.3-5): More tests for Bug 1036649.
* Reversed expected result from test subst-12.3.dgp2004-10-261-2/+2
|
* * tests/subst.test (subst-12.3,4): More tests for Bug 1036649.dgp2004-10-262-2/+21
|
* * unix/Makefile.in (install-libraries): Updated the installationdgp2004-10-262-17/+12
| | | | | | 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
|
* * generic/tclPipe.c (TclCleanupChildren): bad cast of resolvedPid causeddavygrvy2004-10-261-3/+3
| | | | | PIDs on win95 to go negative. winpipe-4.2 brought this to the surface. Fixed with sprintf in place of TclFormatInt. Thanks to hgiese [Patch 767676]
* * library/tm.tcl (::tcl::tm::Defaults): Added a second [fileandreas_kupries2004-10-262-1/+8
| | | | | | 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-265-17/+24
| | | | | | | * 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-263-11/+22
| | | | macros.
* Tighten up expr(n) wording. [Bug 1027849]dkf2004-10-262-8/+16
|
* fixes for Bug 1054101Kevin B Kenny2004-10-263-3/+58
|
* Clarify [string map] docs to remove char/string ambiguity. [Bug 1048005]dkf2004-10-252-4/+6
|
* Clarified meaning of pattern arg to [info procs]dkf2004-10-252-1/+9
|
* Remove some of the contortions from cmdAH-8.45dkf2004-10-252-8/+15
|
* * generic/tclExecute.c (IllegalExprOperandType,TclExecuteByteCode):dgp2004-10-254-43/+21
| | | | | | | | | | | | | 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-256-105/+92
| | | | | | | | | | | * 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-253-102/+146
|
* defined new macros to get/set the flags of variables.Miguel Sofer2004-10-255-35/+64
|
* * generic/tclBasic.c (Tcl_LogCommandInfo,Tcl_AddObjErrorInfo):dgp2004-10-244-78/+53
| | | | | | | | | | | | | | 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.
* Even more cleaning updkf2004-10-221-12/+10
|
* Further cleaning up of the docsdkf2004-10-221-10/+18
|
* Add *very* basic test suite for modules, and tighten up the doc styledkf2004-10-223-109/+134
|
* Make ensembles report shorter error traces that conceal more of how thedkf2004-10-223-9/+14
| | | | 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-223-5/+37
| | | | | | | | | 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.
* Whitespace policedkf2004-10-221-25/+25
|
* Standardize way of calling object freeIntRepProcs...dkf2004-10-223-18/+24
|
* * generic/tclVar.c: fixed bug in commit of 2004-07-23, which wasMiguel Sofer2004-10-222-4/+8
| | | | | | 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-214-55/+121
| | | | | | | | * 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-216-280/+395
| | | | | | | | | | | | | | | | | | | | | | 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-215-277/+270
|