summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Implementation of [dict merge] subcommand, based on [FRQ 745851]dkf2004-03-121-5/+91
|
* * generic/tclGetDate.y (TclGetDate): Fix so that Kevin B Kenny2004-03-102-3/+3
| | | | | | | | | | [clock scan <timeOfDay> -gmt true] uses the GMT base date instead of the local one. [Bug 913513] * tests/clock.test: Added test cases for wrong ISO8601 week number [Bug 500285] and wrong GMT base date [Bug 913513]. Several tests still fail on Windows, and these are actual faults in [clock scan]. Fix is still pending. * generic/tclDate.c: Regenerated.
* fixed typos in documentation and commentsvincentdarley2004-03-097-17/+18
|
* glob -path fix for near filesystem rootvincentdarley2004-03-091-3/+6
|
* glob -path fix for near filesystem rootvincentdarley2004-03-091-1/+8
|
* * generic/tclParse.c (TclParseInit): Modified TclParseInit sodgp2004-03-082-9/+10
| | | | | | * generic/tclTest.c ([testexprparser]): that Tcl_Parse initialization conforms to documented promised about what fields will not be modified by what Tcl_Parse* routines. [Bug 910595]
* reformatted a comment I had once moved so it doesn't exceed 74 colums.davygrvy2004-03-081-3/+3
|
* some silly reformatting changes to remove useless whitespace.davygrvy2004-03-081-4/+4
|
* * generic/tclTest.c: Modified TesteventObjCmd to use Kevin B Kenny2004-03-051-2/+3
| | | | | | a Tcl_QueuePosition in place of an 'int' for the enumerated queue position, to avoid a compiler warning on SGI. (Bug #771960).
* * generic/tclInt.h (TclParseInit): Factored the common codedgp2004-03-043-30/+18
| | | | | * generic/tclParse.c (TclParseInit): for initializing a Tcl_Parse * generic/tclParseExpr.c: struct into one routine.
* * generic/tclParse.c (InitParse): Factored the common codedgp2004-03-041-45/+45
| | | | for initializing a Tcl_Parse struct into one routine.
* update patchlevel to 8.5a1hobbs2004-03-021-3/+3
|
* * generic/tclTrace.c (TclCheckInterpTraces): The TIP 62dgp2004-03-012-3/+15
| | | | | | | | * generic/tclTest.c (TestcmdtraceCmd): implementation introduced a * tests/trace.test (trace-29.10): bug by testing the CallFrame level instead of the iPtr->numLevels level when deciding what traces created by Tcl_Create(Obj)Trace to call. Added test to expose the error, and made fix. [Request 462580]
* Missed a pointer dereference in check for NULL. D'oh! [904307]dkf2004-02-251-2/+2
|
* 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.