summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * changes: Update for 8.5.8 release.dgp2009-11-031-0/+4
|
* [Bug 2889593]: Make [expr round()] give the right error.dkf2009-10-311-36/+40
|
* * generic/tcl.h: Changed the typedef for the mp_digit typedgp2009-10-291-0/+24
| | | | | | | | | | | | | | | | | | | | | | | from: typedef unsigned long mp_digit; to: typedef unsigned int mp_digit; For 32-bit builds where "long" and "int" are two names for the same thing, this is no change at all. For 64-bit builds, though, this causes the dp[] array of an mp_int to be made up of 32-bit elements instead of 64-bit elements. This is a huge improvement because details elsewhere in the mp_int implementation cause only 28 bits of each element to be actually used storing number data. Without this change bignums are over 50% wasted space on 64-bit systems. [Bug 2800740]. ***POTENTIAL INCOMPATIBILITY*** For 64-bit builds, callers of routines with (mp_digit) or (mp_digit *) arguments *will*, and callers of routines with (mp_int *) arguments *may* suffer both binary and stubs incompatibilities with Tcl releases 8.5.0 - 8.5.7. Such possibilities should be checked, and if such incompatibilities are present, suitable [package require] requirements on the Tcl release should be put in place to keep such built code [load]-ing only in Tcl interps that are compatible.
* * library/clock.tcl (LocalizeFormat):Kevin B Kenny2009-10-291-0/+7
| | | | | | * tests/clock.test (clock-67.1): Corrected a problem where '%%' followed by a letter in a format group could expand recursively: %%R would turn into %%H:%M:%S. [Bug 2819334]
* * generic/tclLiteral.c: Backport fix for [Bug 2888044].dgp2009-10-281-0/+4
|
* * tests/fileName.test (fileName-20.[78]): Corrected poor testKevin B Kenny2009-10-281-0/+7
| | | | | | hygiene (failure to save and restore the working directory) that caused these two tests to fail on Windows (and [Bug 2806250] to be reopened).
* * generic/tclPathObj.c: Missing refcount on cached normalized pathdgp2009-10-271-0/+5
| | | | caused crashes. [Bug 2884203].
* * library/tzdata/America/Argentina/Buenos_Aires:Kevin B Kenny2009-10-271-0/+5
| | | | | | | * library/tzdata/America/Argentina/Cordoba: * library/tzdata/America/Argentina/San_Luis: * library/tzdata/America/Argentina/Tucuman: New DST rules for Argentina. (Olson's tzdata2009p.)
* * 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.
* * 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>.
* Fix [Bug 2882561].dkf2009-10-211-0/+5
|
* * 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 988703, 1565466]Joe Mistachkin2009-10-181-0/+16
|
* Fix [Bug 2629338]: Stop evil unset traces from accessing freed memory.dkf2009-10-171-4/+12
|
* [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-081-0/+6
|
* * 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/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].
* * changes: Update for 8.5.8 release.dgp2009-10-051-0/+4
|
* * 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/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].
* * library/http/http.tcl: Bump to http 2.7.4 to account fordgp2009-09-111-0/+7
| | | | | | * library/http/pkgIndex.tcl: [Bug 2849860] fix. * unix/Makefile.in: * win/Makefile.in:
* Correct handling of quoted charset names. [Bug 2849860]dkf2009-09-101-20/+25
|
* * 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/+25
| | | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * 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 parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script Tcl_Obj*'s, to properly account for them while counting lines for #280.
* * 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.
* Backport of memory leak plug.dkf2009-08-201-7/+10
|
* * generic/tclPathObj.c: Added NULL check to prevent crashes duringdgp2009-08-181-0/+5
| | | | * tests/fileName.test: [glob]. [Bug 2837800]
* * doc/refchan.n [Bug 2827000]: Extended the implementation ofandreas_kupries2009-08-061-0/+9
| | | | | | | | * generic/tclIORChan.c: reflective channels (TIP 219, method * tests/ioCmd.test: 'read'), enabling handlers to signal EAGAIN to indicate 'no data, but not at EOF either', and other system errors. Updated documentation, extended testsuite (New test cases iocmd*-23.{9,10}).
* Stop calling endpwent() and endgrent(); unneeded. [Bug 1942222]dkf2009-08-021-4/+12
|
* * generic/tclStringObj.c: Corrected failure to grow bufferdgp2009-07-311-0/+6
| | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354]
* * generic/tclIO.c (Tcl_GetChannelHandle): [Bug 2826248]: Do not crashandreas_kupries2009-07-241-0/+9
| | | | | | | | * generic/tclPipe.c (FileForRedirect): for getHandleProc == NULL, this is allowed. Provide a nice error message in the bypass area. Updated caller to check the bypass for a mesage. Bug reported by Andy Sonnenburg <andy22286@users.sourceforge.net>. Backported from CVS head.
* Fix for [Bug 2820349]Joe Mistachkin2009-07-231-0/+4
|
* 2009-07-21 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2009-07-211-0/+5
| | | | | * library/tzdata/Asia/Dhaka: * library/tzdata/Indian/Mauritius: Olson's tzdata2009k.
* Performance boost for [string is].dkf2009-07-201-18/+26
|
* * generic/tclCmdIL.c: Removed unused variables.dgp2009-07-161-0/+13
| | | | | | | | | | | | * generic/tclCompile.c: * generic/tclVar.c: * unix/tclUnixChan.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
* * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-141-0/+23
| | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.5 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
* Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-011-0/+7
| | | | 2806622]
* * generic/tclStringObj.c: sprintf() -> Tcl_ObjPrintf() conversion.dgp2009-06-151-0/+4
|
* * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-131-0/+14
| | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
* * generic/tclStringObj.c: Revised [format] to not overflow thedgp2009-06-101-1/+9
| | | | | | | integer calculations computing the length of the %ll formats of really big integers. Also added protections so that [format]s that would produce results overflowing the maximum string length of Tcl values throw a normal Tcl error instead of a panic. [Bug 2801413]
* * generic/tclGetDate.y: Fixed a thread safety bug in the generatedKevin B Kenny2009-06-091-0/+11
| | | | | | | | | | * library/clock.tcl: Bison parser (needed a %pure-parser * tests/clock.test: declaration to avoid static variables). Discovered that the %pure-parser declaration allowed for returning the Bison error message to the Tcl caller in the event of a syntax error, so did so. * generic/tclDate.c: bison 2.3
* New DST rule for Bangladesh (Olson's tzdata2009i)Kevin B Kenny2009-06-081-0/+5
|
* * generic/tclExecute.c: Replace dynamically-initialized table withdgp2009-06-021-0/+4
| | | | | a table of static constants in the lookup table for exponent operator computations that fit in a 64 bit integer result.