summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIOCmd.c (Tcl_PutsObjCmd): Added length check to theandreas_kupries2004-07-152-2/+9
| | | | | | old depreceated newline syntax, to ensure that only "nonewline" is accepted. [Tcl SF Bug 985869], reported by Joe Mistachkin <mistachkin@users.sourceforge.net>.
* Stuffed memory leak incurred by re-initializing of TSD slotsvasiljevic2004-07-152-6/+32
| | | | | | | | | | | | after the last call to TclFinalizeThreadData (done from within Tcl_FinalizeThread()). We basically just repeat the TclFinalizeThreadData() once more before tearing down TSD keys in TclFinalizeSynchronization(). There should be more elaborate mechanism in place for handling such issues, based on thread cleanup handlers registered on the OS level. Such change requires much more work and would also require TIP because some visible parts of Tcl API would have to be modified. In the meantime, this will do.
* * generic/tclLiteral.c (TclReleaseLiteral): Removed unusedKevin B Kenny2004-07-152-2/+6
| | | | variable 'codePtr' to silence a message from VC++.
* * generic/tclCompile.c (TclCompileScript):Miguel Sofer2004-07-153-20/+19
| | | | | | | | | * generic/tclLiteral.c (TclReleaseLiteral): fix for [Bug 467523], which resurfaced with the latest changes. The previous strategy was to have special code in TclReleaseLiteral to handle the self-references generated by empty scripts. The new approach avoids the self-reference altogether, by having empty scripts return an unshared literal.
* Removed initialization of TSD for the new thread in NewThreadProc sincevasiljevic2004-07-151-10/+1
| | | | this will result in TclInitNotifier never being called.
* See file...vasiljevic2004-07-151-0/+5
|
* Removed unused variable in NewThreadProc()vasiljevic2004-07-151-2/+3
|
* Backout of changes to fix the Tcl Bug #770053.vasiljevic2004-07-151-5/+9
| | | | See SF bugreport for more info.
* * generic/tclBasic.c (Tcl_EvalEx): leak fix by dgp, releaseMiguel Sofer2004-07-122-1/+7
| | | | objv[objectsUsed] on error.
* * generic/tclParse.c (Tcl_SubstObj): leak fix by dgp, releaseMiguel Sofer2004-07-122-1/+7
| | | | result on error.
* Another leak fix for [Bug 989093]dkf2004-07-112-1/+11
|
* Stop [dict unset] from leaking objects. [Bug 989093 in part]dkf2004-07-112-2/+9
|
* * generic/tclExecute.c (TEBC): fixed leak of expandNestList objsMiguel Sofer2004-07-112-1/+21
| | | | | when there is an error while an expansion is in progress (code added at checkForCatch).
* cd fix in vfsvincentdarley2004-07-112-12/+26
|
* Sanitized another couple of uses of the environment.Kevin B Kenny2004-07-101-15/+19
|
* Added code to restore env(LC_TIME) after the test completes, silencingKevin B Kenny2004-07-102-1/+12
| | | | a warning from 'make TESTFLAGS="-debug 1" test'.
* clock.test: Changed clock-2.11 so that it isn't an infinite loop whenKevin B Kenny2004-07-102-4/+17
| | | | run on a slow virtual machine.
* Modified the logic of literal table cleanup at interp deletion time,Miguel Sofer2004-07-084-32/+57
| | | | | insuring that the fix of [Bug 983660] does not have a negative perf impact.
* Silenced a compiler warning about a type mismatch in AppendEnvironmentKevin B Kenny2004-07-082-2/+7
|
* make mkLinksdgp2004-07-081-4/+0
|
* Whitespace fixingdkf2004-07-081-38/+37
|
* * generic/tclCompile.c (TclCompileScript): fix for [Bug 458361].Miguel Sofer2004-07-072-1/+16
| | | | | Single-word scripts are compiled with an unshared cmdName to avoid shimmering between bytecode and cmdName reps.
* * generic.tclCmdMZ.c (TclMergeReturnOptions): Simplified logic anddgp2004-07-072-15/+27
| | | | removed potential memory leak. [Bug 986257].
* Oops, forgot a bitdkf2004-07-071-2/+3
|
* Generate RTF (for HLP files) correctly from manpages using advanced *roffdkf2004-07-072-36/+43
| | | | formatting constructs.
* Add missing objTypes to catalogdkf2004-07-073-2/+11
|
* * tests/cmdMZ.test (cmdMZ-return-2.17): Added a test that a worddgp2004-07-063-5/+26
| | | | | | | | | containing backslash-quoted value is treated correctly. * generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196] Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs to have their original word value copied ( "{a b}" ) rather than the actual value ( "a b" ). Thanks to Kevin Kenny for report and tests.
* * tests/cmdMZ.test (cmdMZ-return-2.15,cmdMZ-return-2.16):Kevin B Kenny2004-07-062-1/+28
| | | | | Added a test that a return code containing spaces is correctly returned.
* More elegant fix for tab size handlingdkf2004-07-061-20/+19
|
* Encourage emacs to fontify the file correctly...dkf2004-07-061-2/+2
|
* Adapt HTML generator to be able to cope with advanced constructs in Tk's bind.ndkf2004-07-062-17/+40
|
* * generic/tclBasic.c (DeleteInterpProc): fix for [Bug 983660],Miguel Sofer2004-07-053-20/+32
| | | | | | | | | found by pspjuth. Tear down the global namespace before freeing the interp handle, to allow the bytecodes to free their non-shared literals. * generic/tclLiteral.c (TclReleaseLiteral): moved special code for self-ref so that it is also used for non-shared literals. Possible bug found by inspection.
* Added missing constraint definition...dkf2004-07-041-1/+3
|
* added support for wide integers to round(); [Bug 908375], reported byMiguel Sofer2004-07-033-41/+58
| | | | Hemang Lavana.
* Moved declaration of TclCompEvalObj() from tclCompile.h to the internalMiguel Sofer2004-07-035-4/+37
| | | | stubs table, for compiler experimentation.
* * generic/regcomp.c (stid): correct minor pointer size errorhobbs2004-07-022-2/+4
|
* * generic/tclPipe.c (TclCreatePipeline): applied TIP #202 patchhobbs2004-07-024-22/+62
| | | | | * doc/exec.n, tests/exec.test: that adds 2>@1 as a special case redirection of stderr to the result output.
* tests/winPipe.test (winpipe-1.11): Fixed a bug that causedKevin B Kenny2004-07-022-2/+5
| | | | | test to fail if the path name of the working directory contained whitespace [Bug 678430]
* tests/io.test: Changed several tests to run the eventKevin B Kenny2004-07-022-13/+21
| | | | | | loop rather than just calling [update] periodically, avoiding intermittent failures (usually in io-29.32) that stemmed from unreaped processes on Windows.
* added testvincentdarley2004-07-022-0/+18
|
* Fix warningdkf2004-07-011-2/+2
|
* Fix missed references to 8.4, spotted by Theo Verelst.dkf2004-07-014-9/+15
|
* Doc fixes. [Bug 983146]dkf2004-07-014-23/+15
|
* * tests/fileSystem.test: Minor correction to new fileSystem-9.Xdgp2004-06-302-5/+10
| | | | tests so that they clean up temporary directories correctly.
* fix to trailing slash documentation and to a filesystem 'file join' bug on ↵vincentdarley2004-06-304-37/+173
| | | | windows
* TIP#188 implementation. Thanks to KBK! [Patch 940915]dkf2004-06-304-31/+140
|
* * win/tclWinInit.c: Corrected reference counting flaw indgp2004-06-292-2/+7
| | | | recent changes. Thanks to Pat Thoyts. [Bug 981893].
* fix to compilation error with VC++ 5.2vincentdarley2004-06-292-2/+14
|
* Fix [Bug 981733]; bizarre resolver brokenness strikes again!dkf2004-06-292-2/+11
|
* Fix constraints so can test with tclsh as well as tcltest [Bug 736431]dkf2004-06-246-56/+58
|