summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * library/clock.tcl (ParseClockScanFormat):Kevin B Kenny2009-10-271-0/+9
| | | | | | | | Corrected a problem where [clock scan] didn't load the timezone soon enough when processing a time format that lacked a complete date. [Bug 2886852] * tests/clock.test (clock-66.1): Added a test case for the above bug.
* * unix/Makefile.in: Remove $(PACKAGE).* and prototype from thedgp2009-10-261-0/+5
| | | | `make distclean` target. Completes 2009-10-20 commit.
* * library/clock.tcl (ProcessPosixTimeZone):Kevin B Kenny2009-10-241-0/+12
| | | | | | | | | | | Corrected a regression in the fix to [Bug 2207436] that caused [clock] to apply EU daylight saving time rules in the US. Thanks to Karl Lehenbauer for reporting this regression. * tests/clock.test (clock-52.4): Added a regression test for the above bug. * library/tzdata/Asia/Dhaka: * library/tzdata/Asia/Karachi: New DST rules for Bangladesh and Pakistan. (Olson's tzdata2009o.)
* * generic/tclIO.c (FlushChannel): Skip OutputProc for low-levelandreas_kupries2009-10-231-0/+7
| | | | | | 0-length writes. When closing pipes which have already been closed not skipping leads to spurious SIG_PIPE signals. Reported by Mikhail Teterin <mi+thun@aldan.algebra.com>.
* Let [$obj varname x(y)] work. [Bug 2883857]dkf2009-10-221-0/+5
|
* Fix [Bug 2882561].dkf2009-10-211-0/+3
|
* Fix [Bug 2881259].dkf2009-10-211-7/+12
|
* * unix/Makefile.in: Removed the long outdated and broken targetsdgp2009-10-201-0/+8
| | | | | | | package-* that were for building Solaris packages. Appears that the pieces needed for these targets to function have never been present in the current era of Tcl development and belong completely to Tcl pre-history.
* * generic/tclIO.c: Revised ReadChars and FilterInputBytes routinesdgp2009-10-191-0/+8
| | | | | | | to permit reads to continue up to the string limits of Tcl values. Before revisions, large read attempts could panic when as little as half the limiting value length was reached. [Patch 2107634] Thanks to Sean Morrison and Bob Parker for their roles in the fix.
* Fix for [Bug 2871908]Joe Mistachkin2009-10-181-0/+7
|
* Fix for [Bug 1565466]Joe Mistachkin2009-10-181-0/+8
|
* Fix [Bug 2629338]: Stop evil unset traces from accessing freed memory.dkf2009-10-171-0/+8
|
* [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-081-18/+23
|
* * generic/tclObj.c: [Bug 2871908]: Plug memory leaks of theandreas_kupries2009-10-071-0/+6
| | | | | | | objThreadMap and lineCLPtr hashtables. Also make the names of the continuation line information initialization and finalization functions more consistent. Patch supplied by Joe Mistachkin <joe@mistachkin.com>.
* * generic/tclIORChan.c (ErrnoReturn): Replace the hardwiredandreas_kupries2009-10-071-0/+7
| | | | | | constant 11 with the proper errno define, EAGAIN. What was I thinking ? The BSD's have a different errno assignment and break with the hardwired number. Reported by emiliano on the chat.
* * generic/tclInterp.c (SlaveEval): Agressive stomping of internal repsdgp2009-10-061-0/+6
| | | | | | | was added as part of the NRE patch of 2008-07-13. This doesn't appear to actually be needed, and it hurts quite a bit when large lists lose their intreps and require reparsing. Thanks to Ashok Nadkarni for reporting the problem.
* * generic/tclTomMathInt.h (new): Public header tclTomMath.h haddgp2009-10-061-0/+6
| | | | | * generic/tclTomMath.h: dependence on private headers, breaking use * generic/tommath.h: by extensions [Bug 1941434].
* * library/safe.tcl (AliasGlob): Fixed conversion of catch toandreas_kupries2009-10-051-0/+7
| | | | | | try/finally, it had an 'on ok msg' branch missing, causing a silent error immediately, and bogus glob results, breaking search for Tcl modules.
* * macosx/tclMacOSXBundle.c: Workaround CF memory managment bug indas2009-10-051-0/+5
| | | | * unix/tclUnixInit.c: Mac OS X 10.4 & earlier. [Bug 2569449]
* * library/tzdata/Africa/Cairo:Kevin B Kenny2009-10-021-0/+7
| | | | | | * library/tzdata/Asia/Gaza: * library/tzdata/Asia/Karachi: * library/tzdata/Pacific/Apia: Olson's tzdata2009n.
* * generic/tclDictObj.c: Updated freeIntRepProc routines sodgp2009-09-301-0/+14
| | | | | | | | | | | | | | | * generic/tclExecute.c: that they set the typePtr field to * generic/tclIO.c: NULL so that the Tcl_Obj is not left * generic/tclIndexObj.c: in an inconsistent state. * generic/tclInt.h: [Bug 2857044] * generic/tclListObj.c: * generic/tclNamesp.c: * generic/tclOOCall.c: * generic/tclObj.c: * generic/tclPathObj.c: * generic/tclProc.c: * generic/tclRegexp.c: * generic/tclStringObj.c:
* * generic/tclAlloc.c: Cleaned up various routines in thedgp2009-09-291-0/+8
| | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
* * generic/tclCmdMZ.c: Replaced TclProcessReturn() calls withdgp2009-09-281-2/+4
| | | | | | * tests/error.test: Tcl_SetReturnOptions() calls as a simple fix for [Bug 2855247]. Thanks to Anton Kovalenko for the report and fix. Additional fixes for other failures demonstrated by new tests.
* * tests/error.test (error-15.9.*): More coverage tests for [try].dgp2009-09-281-0/+5
| | | | Test error-15.9.3.0.0 covers [Bug 2855247].
* * tests/error.test (error-15.8.*): Coverage tests illustratingdgp2009-09-281-0/+5
| | | | flaws in the propagation of return options by [try].
* Added dummy tclooConfig.sh files for easier cross-version building. [2026844]dkf2009-09-261-0/+6
|
* TIP #356 IMPLEMENTATIONdgp2009-09-241-0/+12
| | | | | | | | | | * generic/tcl.decls: Promote internal routine TclNRSubstObj() * generic/tclCmdMZ.c: to public Tcl_NRSubstObj(). Still needs docs. * generic/tclCompile.c: * generic/tclInt.h: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* * doc/namespace.n: the description of [namespace unknown] failedMiguel Sofer2009-09-231-0/+5
| | | | to mention [namespace path]: fixed. Thx emiliano.
* editdgp2009-09-221-2/+2
|
* * tests/regexp.test: Added check for error message frommdejong2009-09-211-0/+6
| | | | | unbalanced [] in regexp. Added additional simple test cases of basic regsub command.
* * generic/tclCompile.c: Correct botch in the conversion ofdgp2009-09-211-0/+5
| | | | Tcl_SubstObj(). Thanks to Kevin Kenny for detection and report.
* * generic/tclCompile.c: Re-implement Tcl_SubstObj() as a simpledgp2009-09-171-0/+11
| | | | | | | | | | * generic/tclParse.c: wrapper around TclNRSubstObj(). This has * tests/basic.test: the effect of caching compiled bytecode in * tests/parse.test: the value to be substituted. Note that Tcl_SubstObj() now exists only for extensions. Tcl itself no longer makes any use of it. Note also that TclSubstTokens() is now reachable only by Tcl_EvalEx() and Tcl_ParseVar() so tests aiming to test its functioning needed adjustment to still have the intended effect.
* Extended ::tcl::unsupported::representation.ferrieux2009-09-161-0/+4
|
* * generic/tclBasic.c: Completed the NR-enabling of [subst].dgp2009-09-111-0/+10
| | | | | | | | | * generic/tclCmdMZ.c: [Bug 2314561]. * generic/tclCompCmds.c: * generic/tclCompile.c: * generic/tclInt.h: * tests/coroutine.test: * tests/parse.test:
* Clean up http tokens properly.dkf2009-09-111-0/+5
|
* Correct handling of quoted charset names. [Bug 2849860]dkf2009-09-101-9/+14
|
* * generic/tclParse.c Corrected line counting error in multi-commanddgp2009-09-071-0/+5
| | | | * tests/into.test: script substitutions. [Bug 2850901].
* * generic/tclExecute.c: fix potential uninitialized variable use anddas2009-09-071-0/+13
| | | | | | | | | | | | * generic/tclFCmd.c: null dereference flagged by clang static * generic/tclProc.c: analyzer. * generic/tclTimer.c: * generic/tclUtf.c: * generic/tclExecute.c: silence false positives from clang static * generic/tclIO.c: analyzer about potential null dereference. * generic/tclScan.c: * generic/tclCompExpr.c:
* * generic/tclCompCmds.c (TclCompileSubstCmd): Added a bytecodedgp2009-09-041-0/+14
| | | | | | | | | | | | | * generic/tclBasic.c: compiler routine for the [subst] command. * generic/tclCmdMZ.c: This is a partial solution to the need to * generic/tclCompile.c: NR-enable [subst] since bytecode execution is * generic/tclCompile.h: already NR-enabled. [Bug 2314561] Two new * generic/tclExecute.c: bytecode instructions, INST_NOP and * generic/tclInt.h: INST_RETURN_CODE_BRANCH were added to support * generic/tclParse.c: the new routine. INST_RETURN_CODE_BRANCH is * tests/basic.test: likely to be useful in any future effort to * tests/info.test: add a bytecode compiler routine for [try]. * tests/parse.test:
* Added suggestions for how to handle the multithreaded case. [Bug 2844962]dkf2009-09-031-18/+22
|
* * generic/tclIORTrans.c (ReflectInput): Remove error response toandreas_kupries2009-09-011-0/+9
| | | | | | | | 0-result from method 'limit?' of transformations. Return the number of copied bytes instead, which is possibly nothing. The latter then triggers EOF handling in the higher layers, making the 0-result of limit? the way to inject artificial EOF's into the data stream.
* * library/tcltest/tcltest.tcl: Bump to tcltest 2.3.2 after revisiondgp2009-09-011-0/+7
| | | | | | * library/tcltest/pkgIndex.tcl: to verbose error message. * unix/Makefile.in: * win/Makefile.in:
* * generic/tclStringObj.c: A few more string overflow cases indgp2009-08-271-0/+5
| | | | [format]. [Bug 2845535]
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-0/+24
| | | | | | | | | | | | | | | | | | | | | | | Tcl_EvalEx, TclEvalEx, TclAdvanceContinuations, TclNREvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript, TclCompileTokens): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclParse.c (TclSubstTokens, Tcl_SubstObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-24): Extended the parser, compiler, and execution engine with code and attendant data structures tracking the position of continuation lines which are not visible in the resulting script Tcl_Obj*'s, to properly account for them while counting lines for #280.
* Better formattingdkf2009-08-241-5/+5
|
* * generic/tclInt.h: Annotate Tcl_Panic as noreturn for clang staticdas2009-08-241-0/+3
| | | | analyzer in PURIFY builds, replacing preprocessor/assert technique.
* * macosx/tclMacOSXNotify.c: fix multiple issues with nested event loopsdas2009-08-241-0/+6
| | | | | when CoreFoundation notifier is running in embedded mode. (fixes problems in TkAqua Cocoa reported by Youness Alaoui on tcl-mac)
* * generic/tclFileName.c: Correct regression in [Bug 2837800] fix.dgp2009-08-211-0/+5
| | | | * tests/fileName.test:
* * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-201-0/+3
| | | | matches something like ~foo. [Bug 2837800]
* * generic/tclPathObj.c: [Bug 2806250] Prevent the storage of stringsdgp2009-08-201-0/+9
| | | | | | | | starting with ~ in the "tail" part (normPathPtr field) of the path intrep when PATHFLAGS != 0. This establishes the assumptions relied on elsewhere that the name stored there is a relative path. Also refactored to make an AppendPath() routine instead of the cut/paste stanzas that were littered throughout.