summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclExecute.c: More ckalloc -> ckrealloc conversions.dgp2007-03-215-66/+40
| | | | | | | | | * generic/tclLiteral.c: * generic/tclNamesp.c: * generic/tclParse.c: * generic/tclPreserve.c: * generic/tclStringObj.c: * generic/tclUtil.c:
* * generic/tclExecute.c: More ckalloc -> ckrealloc conversions.dgp2007-03-212-47/+39
| | | | * generic/tclLiteral.c:
* Minor comment formatting changedkf2007-03-211-3/+2
|
* * generic/tclEnv.c: Some more ckalloc -> ckrealloc replacements.dgp2007-03-202-19/+9
| | | | * generic/tclLink.c:
* 2007-03-20 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2007-03-202-734/+737
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDate.c: Rebuilt, despite Donal Fellows's comment when committing it that no rebuild was required. * generic/tclGetDate.y: According to Donal Fellows, "Introduce modern formatting standards; no need for rebuild of tclDate.c." * library/tzdata/America/Cambridge_Bay: * library/tzdata/America/Havana: * library/tzdata/America/Inuvik: * library/tzdata/America/Iqaluit: * library/tzdata/America/Pangnirtung: * library/tzdata/America/Rankin_Inlet: * library/tzdata/America/Resolute: * library/tzdata/America/Yellowknife: * library/tzdata/Asia/Choibalsan: * library/tzdata/Asia/Dili: * library/tzdata/Asia/Hovd: * library/tzdata/Asia/Jakarta: * library/tzdata/Asia/Jayapura: * library/tzdata/Asia/Makassar: * library/tzdata/Asia/Pontianak: * library/tzdata/Asia/Ulaanbaatar: * library/tzdata/Europe/Istanbul: Upgraded to Olson's tzdata2007d. * generic/tclListObj.c (TclLsetList, TclLsetFlat): * tests/lset.test: Changes to deal with shared internal representation for lists passed to the [lset] command. Thanks to Don Porter for fixing this issue. [Bug 1677512]
* Introduce modern formatting standards; no need for rebuild of tclDate.cdkf2007-03-201-640/+684
|
* Fix trivial error in comment.dkf2007-03-201-2/+2
|
* * generic/tclCompile.c: Revise the various expansion routines fordgp2007-03-201-67/+61
| | | | CompileEnv fields to use ckrealloc() where appropriate.
* * generic/tclBinary.c (Tcl_SetByteArrayLength): Replaced ckalloc() /dgp2007-03-191-9/+5
| | | | memcpy() sequence with ckrealloc() call.
* * generic/tclBasic.c (Tcl_CreateMathFunc): Replaced somedgp2007-03-193-8/+7
| | | | | | | * generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc() * generic/tclObj.c (UpdateStringOfBignum): with calls to * unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better * win/tclAppInit.c (setargv): supports memory debugging.
* added missing panicdgp2007-03-171-1/+4
|
* fix warningsdas2007-03-162-3/+5
|
* * generic/tclIOUtil.c (Tcl_Stat): Reimplement workaroundmdejong2007-03-161-17/+20
| | | | | | to avoid gcc warning by using local variables. When the macro argument is of type long long instead of long, the incorrect warning is not generated.
* * generic/tclExecute.c (INST_FOREACH_STEP4): Make private copydgp2007-03-121-3/+5
| | | | | | * tests/foreach.test (foreach-10.1): of value list to be assigned to variables so that shimmering of that list doesn't lead to invalid pointers. [Bug 1671087]
* * generic/tclEvent.c (HandleBgErrors): Make efficient private copydgp2007-03-121-5/+10
| | | | | | * tests/event.test (event-5.3): of the command prefix for the interp's background error handling command to avoid panics due to pointers to memory invalid after shimmering. [Bug 1670155]
* * generic/tclNamesp.c (NsEnsembleImplementationCmd): Make efficientdgp2007-03-121-2/+4
| | | | | | | * tests/namespace.test (namespace-42.8): private copy of the command prefix as we invoke the command appropriate to a particular subcommand of a particular ensemble to avoid panic due to shimmering of the List intrep. [Bug 1670091]
* * generic/tclVar.c (TclArraySet): Make efficient private copy ofdgp2007-03-121-3/+6
| | | | | * tests/var.test (var-17.1): the "list" argument to [array set] to avoid crash due to shimmering invalidating pointers. [Bug 1669489].
* Fix [Bug 1679072]dkf2007-03-121-33/+43
|
* Plug a leak of encodingsdkf2007-03-121-27/+27
|
* Tightening up declaration scopes, improving some comments with xrefs to bugDBdkf2007-03-121-44/+49
|
* Fix [Bug 1675044]dkf2007-03-111-3/+15
|
* Move 'return' in TclListObjSetElement into correct place!dkf2007-03-101-31/+27
|
* * generic/tclCmdIL (Tcl_LsortObjCmd): changed fix to [Bug 1675116]Miguel Sofer2007-03-101-10/+13
| | | | to use the cheaper TclListObjCopy() instead of Tcl_DuplicateObj()
* Fix [Bug 1675116]dkf2007-03-091-13/+20
|
* * generic/tclListObj.c (TclLsetList): Rewrite so that the routinedgp2007-03-081-70/+26
| | | | | itself does not do any direct intrep surgery. Better isolates those things into the implementation of the "list" Tcl_ObjType.
* Moved [lindex] guts to tclListObj.c, same as [lset] guts.dkf2007-03-082-188/+189
|
* * generic/tclCmdIL.c (TclLindex*): Rewrites to make efficient ↵dgp2007-03-071-180/+66
| | | | | | | | | | private copies of the list and indexlist arguments, so we can operate on the list elements directly with no fear of shimmering effects. Replaces defensive coding schemes that are otherwise required. End result is that TclLindexList is entirely a wrapper around TclLindexFlat, which is now the core engine of all [lindex] operations.
* various "const" additions in implementationnijtmans2007-03-071-22/+22
|
* * generic/tclObj.c (Tcl_AppendAllObjTypes): Converted to simplerdgp2007-03-071-4/+3
| | | | list validity test.
* Make [regexp -about] produce its result using Tcl_Objs instead of strings.dkf2007-03-071-31/+31
|
* Minor comment cleaning updkf2007-03-071-42/+41
|
* Added macro to conceal at least some of the pointer hackery.dkf2007-03-031-56/+64
|
* * generic/tclCmdIL.c (Tcl_LreverseObjCmd): Added missingdgp2007-03-021-1/+2
| | | | | TclInvalidateStringRep() call when we directly manipulate the intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
* Added comments warning against certain optimizationsdgp2007-03-022-2/+19
|
* * generic/tclCmdIL.c (Tcl_JoinObjCmd): Revised [join] implementationdgp2007-03-021-20/+11
| | | | to append Tcl_Obj's instead of strings. [RFE 1669420]
* * generic/tclCmdIL.c (Info*Cmd): Code simplifications anddgp2007-03-021-28/+20
| | | | optimizations.
* Added a scheme to allow aux-data to be printed out for debugging. For this ↵dkf2007-03-024-71/+271
| | | | | | to work, immediate operands referring to aux-data must be identified as such in the instruction descriptor table using OPERAND_AUX4 (all are always 4 bytes). Rewrote the compiled [dict update] so that it stores critical non-varying data in an aux-data value instead of a (shimmerable) literal. [Bug 1671001]
* * generic/tclCmdIL.c (Tcl_LinsertObjCmd): Code simplificationsdgp2007-03-011-15/+6
| | | | and optimizations.
* * generic/tclCmdIL.c (Tcl_LreplaceObjCmd): Code simplificationsdgp2007-03-011-19/+5
| | | | and optimizations.
* Remove line with no effectdgp2007-03-011-2/+1
|
* * generic/tclCmdIL.c (Tcl_LrangeObjCmd): Rewrite in the samedgp2007-03-011-47/+24
| | | | spirit; avoid shimmer effects rather than react to them.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Stop throwing awaydgp2007-03-011-5/+5
| | | | | * tests/foreach.test (foreach-1.14): useful error information when loop variable sets fail.
* * generic/tclCmdIL.c (Tcl_LassignObjCmd): Rewrite to make andgp2007-03-011-63/+28
| | | | | | efficient private copy of the list argument, so we can operate on the list elements directly with no fear of shimmering effects. Replaces defensive coding schemes that are otherwise required.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Rewrite to makedgp2007-03-011-26/+28
| | | | | efficient private copies of the variable and value lists, so we can operate on them without any special shimmer defense coding schemes.
* Fix [Bug 1671138]dkf2007-03-011-1/+14
|
* A few more very minor changesdkf2007-02-271-20/+11
|
* Assorted cleanup, mostly of comments.dkf2007-02-271-195/+227
|
* Stop using C++ keywords...dkf2007-02-271-25/+25
|
* * generic/tclIORChan.c (FreeReflectedChannel): Added the missingandreas_kupries2007-02-261-1/+10
| | | | | refcount release between NewRC and FreeRC for the channel handle object, spotted by Don Porter. This fixes the bug 1667990.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Removed surplus copyingdgp2007-02-261-33/+6
| | | | | of the objv array that used to be a workaround for Bug 404865. That bug is long fixed.