summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * doc/Notifier.3: Documented Tcl_SetNotifier and Tcl_ServiceModeHook.Kevin B Kenny2007-04-201-1/+4
| | | | Quite against my better judgment. [Bug 414933]
* * tests/clock.test (clock-59.1): Added a regression test forKevin B Kenny2007-04-201-1/+6
| | | | | | military time zone input conversion. [Bug 1586828]. * generic/tclGetDate.y (MilitaryTable): Fixed an ancient bug where the military NZA time zones had the signs reversed [Bug 1586828].
* * doc/clock.n: Deleted an entirely superfluous (and also incorrect) remarkKevin B Kenny2007-04-201-0/+3
| | | | | about the effect of Daylight Saving Time on relative times in [clock scan]. [Bug 1582951]
* * tests/clock.test (clock-40.1, clock-58.1): Corrected aKevin B Kenny2007-04-201-0/+4
| | | | | | test case that depended on ":localtime" being able to handle dates prior to the Posix epoch, [Bug 1618445] Added a test case for the dates of the Japanese emperors. [Bug 1637471]
* * doc/clock.n: Corrected a silly error (transposed 'uppercase'Kevin B Kenny2007-04-201-0/+11
| | | | | | | | | | | | | | | and 'lowercase' in clock.n. [Bug 1656002] Clarified that [clock scan] does not recognize a locale's alternative calendar. * library/clock.tcl: Corrected an error in skipping over the %Ey field on input. * library/msgs/ja.msg: * tools/loadICU.tcl: Corrected several localisation faults in the Japanese locale (most notably, incorrect dates for the Emperors' eras). [Bug 1637471]. Many thanks to SourceForge user 'nyademo' for pointing this out and developing a fix. * generic/tclPathObj.c: Corrected a 'const'ness fault that caused bitter complaints from MSVC.
* * doc/clock.n: Corrected a silly error (transposed 'uppercase'Kevin B Kenny2007-04-191-0/+5
| | | | and 'lowercase' in clock.n. [Bug 1656002]
* Improve const-correctness of RE compilerdkf2007-04-191-12/+17
|
* * generic/tclExecute.c (INST_LSHIFT): fixed a mistake introducedMiguel Sofer2007-04-191-0/+8
| | | | | | | in version 1.266 ('=' became '=='), which effectively turned the block that handles native shifts into dead code. This explains why the testsuite did not pick this mistake. Rewrote to make the intention clear.
* * generic/tclInt.h (TclDecrRefCount): change the order of theMiguel Sofer2007-04-181-0/+6
| | | | | branches, use empty 'if ; else' to handle use in unbraced outer if/else conditions (as already done in tcl.h)
* * generic/tclExecute.c: slight changes in Tcl_Obj management.Miguel Sofer2007-04-181-0/+4
|
* * library/clock.tcl: Fixed the naming ofKevin B Kenny2007-04-171-0/+9
| | | | | | | ::tcl::clock::ReadZoneinfoFile because (yoicks!) it was in the global namespace. * doc/clock.n: Clarified the cases in which legacy time zone is recognized. [Bug 1656002]
* * generic/tclExecute.c: fixed checkInterp logic [Bug 1702212]Miguel Sofer2007-04-171-1/+5
|
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-7/+12
|
* * generic/tclCompCmds.c: added a cast to silence a compilerKevin B Kenny2007-04-151-0/+9
| | | | | | | | error on VC2005. * library/clock.tcl: Restored unique-prefix matching of keywords on the [clock] command. [Bug 1690041] * tests/clock.test: Added rudimentary test cases for unique-prefix matching of keywords.
* * generic/tclExecute.c: removed some code at INSTEXPAND_SKTOP thatMiguel Sofer2007-04-141-0/+5
| | | | duplicates functionality already present at checkForCatch.
* * generic/tclExecute.c: new macros OBJ_AT_TOS, OBJ_UNDER_TOS,Miguel Sofer2007-04-111-0/+7
| | | | | | OBJ_AT_DEPTH(n) and CURR_DEPTH that remove all direct references to tosPtr from TEBC (after initialisation and the code at the label cleanupV_pushObjResultPtr).
* * generic/tclCompCmds.c: moved all exceptDepth management to theMiguel Sofer2007-04-111-0/+5
| | | | macros - the decreasing half was managed by hand.
* Handle creation of Tcl_Objs from constant strings better (easier to use, moredkf2007-04-101-0/+8
| | | | efficient). After [Patch 1529526] (afredd)
* minor tidydkf2007-04-101-12/+10
|
* * generic/tclCompile (tclInstructionTable): fixed bugs inMiguel Sofer2007-04-081-0/+5
| | | | description of dict instructions
* * generic/tclCompile (tclInstructionTable): fixed bug inMiguel Sofer2007-04-071-0/+5
| | | | description of INST_START_COMMAND.
* * generic/tclExecute.c (TEBC): small code reduction.Miguel Sofer2007-04-071-0/+4
|
* * generic/tclExecute.c (TEBC):Miguel Sofer2007-04-061-0/+9
| | | | | | | | * generic/tclNamespace.c (NsEnsembleImplementationCmd): * generic/tclProc.c (InitCompiledLocals, ObjInterpProcEx, TclObjInterpProcCore, ProcCompileProc): code reordering to reduce branching and improve branch prediction (assume that forward branches are typically not taken).
* Whitespace/formattingdkf2007-04-051-17/+17
|
* * generic/tclExecute.c: INST_INVOKE optimisation [Patch 1693802]Miguel Sofer2007-04-031-0/+4
|
* missing entrydgp2007-04-031-0/+6
|
* * generic/tclInt.decls: Moved TclGetNamespaceFromObj() toMiguel Sofer2007-04-031-0/+7
| | | | | | * generic/tclInt.h: the internal stubs table; regen. * generic/tclIntDecls.h: * generic/tclStubInit.c:
* * generic/tclBasic.c: Added bytecode compilers for theMiguel Sofer2007-04-031-0/+9
| | | | | | | | * generic/tclCompCmds.c: variable linking commands: 'global', * generic/tclCompile.h: 'variable', 'upvar', 'namespace upvar' * generic/tclExecute.c: [Patch 1688593] * generic/tclInt.h: * generic/tclVar.c:
* * generic/tclBasic.c: Replace arrays on the C stack and ckallocdgp2007-04-021-0/+13
| | | | | | | | | | | | * generic/tclExecute.c: calls with TclStackAlloc calls to use memory * generic/tclFCmd.c: on Tcl's evaluation stack. * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclTrace.c: * unix/tclUnixPipe.c:
* Ensure that the count of commands commenced by bytecode is correct at all timesdkf2007-04-011-33/+40
| | | | | | even though INST_START_CMD is now issued more efficiently. Changes definition of I_S_C, but that's an 8.5 opcode so that shouldn't matter; tbcload doesn't work with 8.5 at the moment anyway.
* * generic/tclCompile.c:dgp2007-03-301-0/+1
| | | | | | | * generic/tclCompExpr.c: * generic/tclCompCmds.c: Replace arrays on the C stack and ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack
* * generic/tclCompExpr.c:dgp2007-03-301-0/+1
| | | | | | * generic/tclCompCmds.c: Replace arrays on the C stack and ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack
* * generic/tclCompCmds.c: Replace arrays on the C stack anddgp2007-03-301-0/+4
| | | | | ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack
* * generic/tclCmdMZ.c: Revised [string to* $s $first $last]dgp2007-03-301-0/+3
| | | | implementation to reduce number of allocs/copies.
* * tests/string.test: More [string reverse] tests.dgp2007-03-301-0/+4
|
* * generic/tclExecute.c: optimise the lookup of elements of indexedMiguel Sofer2007-03-301-0/+5
| | | | arrays.
* * generic/tclProc.c (Tcl_ApplyObjCmd):Miguel Sofer2007-03-291-0/+7
| | | | | | * tests/apply.test (9.3): Fixed Tcl_Obj leak on error return; an unneeded ref to lambdaPtr was being set and not released on an error return path.
* * generic/tclCmdMZ.c (STR_REVERSE): Implement the actualdgp2007-03-281-0/+12
| | | | | | | | | | | [string reverse] command in terms of the new TclStringObjReverse() routine. * generic/tclInt.h (TclStringObjReverse): New internal routine * generic/tclStringObj.c (TclStringObjReverse): that implements the [string reverse] operation, making use of knowledge/surgery of the String intrep to minimize the number of allocs and copies needed to do the job.
* * generic/tclCmdMZ.c (STR_MAP): Replace ckalloc calls withdgp2007-03-271-5/+10
| | | | TclStackAlloc calls.
* Thread exit handler marks the current thread as un-initialized.vasiljevic2007-03-241-0/+8
| | | | | | This allows exit handlers that are registered later to re-initialize this subsystem in case they need to use some sync primitives (cond variables) from this file again.
* * generic/tclBasic.c (DeleteInterpProc): pop the root frameMiguel Sofer2007-03-231-0/+5
| | | | pointer before deleting the global namespace [Bug 1658572]
* * win/Makefile.in: Added code to keep a Cygwin path name fromKevin B Kenny2007-03-231-0/+5
| | | | leaking into LIBRARY_DIR when doing 'make test' or 'make runtest'.
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Replaced arraysdgp2007-03-221-0/+4
| | | | | on the C stack and ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack.
* * generic/tclExecute.c: Revised GrowEvaluationStack to take andgp2007-03-221-0/+7
| | | | | | argument specifying the growth required by the caller, so that a single reallocation / copy is the most that will ever be needed even when required growth is large.
* * generic/tclExecute.c: More ckalloc -> ckrealloc conversions.dgp2007-03-211-0/+5
| | | | | | | | | * 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-211-0/+5
| | | | * generic/tclLiteral.c:
* * generic/tclEnv.c: Some more ckalloc -> ckrealloc replacements.dgp2007-03-201-0/+5
| | | | * generic/tclLink.c:
* 2007-03-20 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2007-03-201-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
* * generic/tclCompile.c: Revise the various expansion routines fordgp2007-03-201-0/+3
| | | | CompileEnv fields to use ckrealloc() where appropriate.
* * generic/tclBinary.c (Tcl_SetByteArrayLength): Replaced ckalloc() /dgp2007-03-191-0/+3
| | | | memcpy() sequence with ckrealloc() call.