summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* TIP#100 implementation largely based on work by Georgios Petasis.dkf2004-02-244-18/+504
|
* Fix memleak. [Bug 902562]dkf2004-02-231-2/+2
|
* Fix memory leak on error pathdkf2004-02-211-2/+3
|
* Fix for my bozo-ness. [Bug 898910]dkf2004-02-171-2/+2
|
* * generic/tclTrace.c (TclTraceExecutionObjCmd)hobbs2004-02-171-6/+4
| | | | (TclTraceCommandObjCmd): fix possible mem leak in trace info.
* * generic/tclFileName.c (SkipToChar): Corrected CONST anddgp2004-02-051-6/+5
| | | | type-casting issues that caused compiler warnings.
* * generic/tclCmdAH.c (StoreStateData): Removed improper refcountdgp2004-02-041-2/+4
| | | | | decrement of the varName parameter. This error was causing segfaults following test cmdAH-28.7.
* * generic/tclIO.c (Tcl_Ungets): fixed improper filling of the channel buffer.davygrvy2004-02-021-3/+2
| | | | [Bug 405995]
* fix to file normalization with linksvincentdarley2004-01-291-11/+43
|
* filesystem fixes for '-force' consistency and picky compilersvincentdarley2004-01-294-84/+122
|
* Speed improvements to SetBooleanFromAny's string handlingdkf2004-01-281-153/+204
| | | | whitespace/style policing
* file normalize bug fixes for .. and .vincentdarley2004-01-232-8/+38
|
* filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-2113-811/+1409
| | | | variable names in
* Whitespace minimisationdkf2004-01-201-76/+77
|
* Minor comment improvementsdkf2004-01-201-5/+6
|
* Minor whitespace/capitalization fixesdkf2004-01-201-15/+15
|
* Full bytecode compilation for [lassign]dkf2004-01-186-11/+283
|
* Fix a shimmering bugdkf2004-01-171-1/+9
|
* Minor fixes and update of UNIX documentation installerdkf2004-01-171-1/+2
|
* Basic implementation of TIP#57 - TclX's [lassign] command into Tcl coredkf2004-01-173-3/+103
| | | | | | | Not a direct copy * Better use of Tcl object API * More extensive test suite * More extensive documentation
* Allow [dict exists {a {b c}} d e] to not be an error. [Bug 871387]dkf2004-01-141-18/+45
|
* Dict refcount fixes from Peter Spjuth. Thanks! [Bug 876170]dkf2004-01-141-14/+47
|
* * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Silence compiler warnings.dgp2004-01-131-3/+3
|
* Patch 876451: restores performance of [return]. Also allows formsdgp2004-01-136-134/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | such as [return -code error $msg] to be bytecompiled. * generic/tclInt.h: Factored Tcl_ReturnObjCmd() into two pieces: * generic/tclCmdMZ.c: TclMergeReturnOptions(), which can parse the options to [return], check their validity, and create the corresponding return options dictionary, and TclProcessReturn(), which takes that return options dictionary and performs the [return] operation. * generic/tclCompCmds.c: Rewrote TclCompileReturnCmd() to call TclMergeReturnOptions() at compile time so the return options dictionary is computed at compile time (when it is fully known). The dictionary is pushed on the stack along with the result, and the code and level values are included in the bytecode as operands. Also supports optimized compilation of un-[catch]ed [return]s from procs with default options into the INST_DONE instruction. * generic/tclExecute.c: Rewrote INST_RETURN instruction to retrieve the code and level operands, pop the return options from the stack, and call TclProcessReturn() to perform the [return] operation. * generic/tclCompile.h: New utilities include TclEmitInt4 macro * generic/tclCompile.c: and TclWordKnownAtCompileTime().
* * generic/tclFileName.c (Tcl_GlobObjCmd): Latest changes todgp2004-01-131-24/+16
| | | | | | management of the interp result by Tcl_GetIndexFromObj() exposed improper interp result management in the [glob] command procedure. Corrected by adopting the Tcl_SetObjResult(Tcl_NewStringObj) pattern.
* Fix shared object panics. [Bug 875395]dkf2004-01-131-3/+6
|
* improved commentsMiguel Sofer2004-01-121-10/+6
|
* * generic/tclCompExpr.c (CompileLandOrLorExpr): cosmetic changes.Miguel Sofer2004-01-121-17/+12
|
* Fix a comment.Miguel Sofer2004-01-121-3/+2
|
* * generic/tclCompExpr.c (CompileLandOrLorExpr): new logic, fewerMiguel Sofer2004-01-122-39/+62
| | | | | | | instructions. As a side effect, the instructions INST_LOR and INST_LAND are now never used. * generic/tclExecute.c (INST_JUMP*): small optimisation; fix a bug in debug code.
* Renamed and deprecated #defines moved to within the #ifndef TCL_NO_DEPRECATEDdavygrvy2004-01-091-16/+18
| | | | | block. This alows us to build Tcl to check for deprecated functions in use, such as panic() and Tcl_Ckalloc(). By request from DKF.
* TclFinalizeFilesystem fixvincentdarley2004-01-091-3/+3
|
* Deprected use of Tcl_Ckalloc changed to Tcl_Alloc in thedavygrvy2003-12-241-2/+2
| | | | TclAllocObjStorage macro.
* All uses of 'panic' (the macro) changeddavygrvy2003-12-2435-219/+219
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* Removed note that makefile.vc needs to have a version number changed.davygrvy2003-12-231-2/+1
|
* * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bugdas2003-12-171-2/+4
| | | | when numeric scan-value cache contains NULL value.
* fix to file normalization with relative linksvincentdarley2003-12-171-3/+15
|
* fix to fs norm bug 860402vincentdarley2003-12-171-4/+7
|
* fixed Tcl_FSGetTranslatedPath to always return properly refcountedvasiljevic2003-12-171-9/+10
| | | | path object. This fixes Tcl Bug #861515.
* Fixed 2 memory (object) leaks; Tcl Bug #839519vasiljevic2003-12-171-2/+4
|
* Made a variable file-local for safetydkf2003-12-161-2/+2
|
* * generic/tclInt.decls: commented-out entry fordavygrvy2003-12-153-17/+10
| | | | | | TclpCheckStackSpace, removing it from the Stubs table. It's already declared in tclInt.h and labeled as a function that is not to be exported. Regened tables.
* TIP#75 Implementationdkf2003-12-141-19/+172
|
* Stop warnings due to (annoying) C type promotion rules.dkf2003-12-141-6/+5
|
* rewrite of file normalizationvincentdarley2003-12-141-84/+220
|
* file normalize ~nobody fixvincentdarley2003-12-121-1/+4
|
* Stop losing references when variables are repeated in [binary scan]. [851747]dkf2003-12-021-40/+71
|
* * generic/tclParse.c: Corrected faulty check for trailing whitedgp2003-11-241-2/+4
| | | | | space in {expand} parsing. Thanks Andreas Leitgeb. [Bug 848262]. * tests/parse.test: New tests for the bug.
* remove windows [cd] bugvincentdarley2003-11-241-5/+12
|
* * generic/tclVar.c: fix flag bit collision betweenMiguel Sofer2003-11-201-2/+6
| | | | LOOKUP_FOR_UPVAR and TCL_PARSE_PART1 (deprecated) [Bug 835020]