summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * library/clock.tcl (LocalizeFormat):Kevin B Kenny2009-10-293-20/+34
| | | | | | * 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-282-1/+6
|
* * tests/fileName.test (fileName-20.[78]): Corrected poor testKevin B Kenny2009-10-282-1/+19
| | | | | | 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-272-1/+7
| | | | caused crashes. [Bug 2884203].
* * library/tzdata/America/Argentina/Buenos_Aires:Kevin B Kenny2009-10-275-727/+190
| | | | | | | * 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-273-12/+38
| | | | | | | | 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-245-6/+215
| | | | | | | | | | | 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-232-2/+13
| | | | | | 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-212-3/+8
|
* describe backported fixesferrieux2009-10-201-3/+3
|
* * generic/tclIO.c: Revised ReadChars and FilterInputBytes routinesdgp2009-10-192-17/+35
| | | | | | | 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-189-20/+200
|
* Fix [Bug 2629338]: Stop evil unset traces from accessing freed memory.dkf2009-10-173-10/+39
|
* [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-083-14/+36
|
* * generic/tclObj.c: [Bug 2871908]: Plug memory leaks of theandreas_kupries2009-10-073-17/+65
| | | | | | | 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-072-2/+9
| | | | | | 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-064-5/+11
| | | | | * 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-052-1/+52
|
* * macosx/tclMacOSXBundle.c: Workaround CF memory managment bug indas2009-10-053-16/+29
| | | | * unix/tclUnixInit.c: Mac OS X 10.4 & earlier. [Bug 2569449]
* * library/tzdata/Africa/Cairo:Kevin B Kenny2009-10-025-93/+102
| | | | | | * 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-295-21/+72
| | | | | | | * 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].
* http bump fixdgp2009-09-291-1/+1
|
* * library/http/http.tcl: Bump to http 2.7.4 to account fordgp2009-09-115-9/+16
| | | | | | * library/http/pkgIndex.tcl: [Bug 2849860] fix. * unix/Makefile.in: * win/Makefile.in:
* Correct handling of quoted charset names. [Bug 2849860]dkf2009-09-102-23/+34
|
* * library/tcltest/tcltest.tcl: Bump to tcltest 2.3.2 after revisiondgp2009-09-015-9/+16
| | | | | | * library/tcltest/pkgIndex.tcl: to verbose error message. * unix/Makefile.in: * win/Makefile.in:
* add "error:" to -verbose line test failure output to satisfy stricter log ↵das2009-08-301-2/+2
| | | | parsers like Xcode 3.2
* * generic/tclStringObj.c: A few more string overflow cases indgp2009-08-272-3/+18
| | | | [format]. [Bug 2845535]
* silence compiler warningsdgp2009-08-262-4/+4
|
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-2512-107/+1290
| | | | | | | | | | | | | | | | | | | | | | | | 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-242-27/+58
| | | | | 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-212-2/+7
| | | | * tests/fileName.test:
* regression testsdgp2009-08-211-1/+29
|
* * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-202-2/+33
| | | | matches something like ~foo. [Bug 2837800]
* * generic/tclPathObj.c: [Bug 2806250] Prevent the storage of stringsdgp2009-08-202-104/+108
| | | | | | | | 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-202-8/+14
|
* another testdgp2009-08-191-1/+11
|
* test for 2806250dgp2009-08-181-1/+11
|
* nicer test failure modedgp2009-08-181-2/+2
|
* * generic/tclPathObj.c: Added NULL check to prevent crashes duringdgp2009-08-183-3/+46
| | | | * tests/fileName.test: [glob]. [Bug 2837800]
* * doc/refchan.n [Bug 2827000]: Extended the implementation ofandreas_kupries2009-08-064-7/+184
| | | | | | | | * 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-023-14/+16
|
* * generic/tclStringObj.c: Corrected failure to grow bufferdgp2009-07-313-2/+15
| | | | | * 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-243-5/+28
| | | | | | | | * 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 SunCC warningdas2009-07-231-2/+2
|
* Fix for [Bug 2820349]Joe Mistachkin2009-07-232-1/+7
|
* 2009-07-21 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2009-07-213-184/+8
| | | | | * library/tzdata/Asia/Dhaka: * library/tzdata/Indian/Mauritius: Olson's tzdata2009k.
* Performance boost for [string is].dkf2009-07-202-55/+94
|
* * generic/tclCmdIL.c: Removed unused variables.dgp2009-07-167-16/+43
| | | | | | | | | | | | * 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]
* fix 64bit int <-> ptr cast warningsdas2009-07-153-9/+9
|
* * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-147-124/+163
| | | | | | | | | | | | | | | | | | | | | | 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).