summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * library/tcltest/tcltest.tcl: Converted [eval]s (some unsafe!) todgp2009-04-085-17/+24
| | | | | | * library/tcltest/pkgIndex.tcl: {*} in tcltest package. [Bug 2570363] * unix/Makefile.in: => tcltest 2.3.1 * win/Makefile.in:
* * generic/tclStringObj.c: Completed backports of fixes fordgp2009-04-072-68/+117
| | | | [Bug 2494093] and [Bug 2553906].
* * doc/Alloc.3: Size argument is "unsigned int". [Bug 2556263]dgp2009-03-302-2/+4
|
* * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-304-4/+141
| | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
* * generic/tclPathObj.c (TclPathPart): TclPathPart() was computingdgp2009-03-273-4/+50
| | | | | | * tests/fileName.test: the wrong results for both [file dirname] and [file tail] on "path" arguments with the PATHFLAGS != 0 intrep and with an empty string for the "joined-on" part. [Bug 2710920]
* typodgp2009-03-261-1/+1
|
* * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-213-3/+19
| | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
* * generic/tclExecute.c (INST_CONCAT1): Panic when appends overflowdgp2009-03-202-2/+15
| | | | the max length of a Tcl value. [Bug 2669109]
* * win/tclWinFile.c (TclpObjNormalizePath): Corrected Tcl_Obj leak.dgp2009-03-182-2/+16
| | | | Thanks to Joe Mistachkin for detection and patch. [Bug 2688184].
* Added support for SIGINFO. [Patch 1513655]dkf2009-03-152-1/+12
|
* * generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()dgp2009-02-203-2/+24
| | | | | | * tests/fileName.test: that assumed (not "absolute" => "relative"). This is a false assumption on Windows, where "volumerelative" is another possibility. [Bug 2571597].
* * win/tcl.m4, win/configure: Check if cl groks _WIN64 already tohobbs2009-02-173-6/+189
| | | | | avoid CC manipulation that can screw up later configure checks. Use 'd'ebug runtime in 64-bit builds.
* * generic/tclStringObj.c: Added overflow protections to thedgp2009-02-052-4/+35
| | | | | AppendUtfToUtfRep routine to either avoid invalid arguments and crashes, or to replace them with controlled panics. [Bug 2561794]
* comment typodgp2009-02-041-2/+2
|
* * generic/tclStringObj.c (SetUnicodeObj): Corrected failure ofdgp2009-02-042-43/+32
| | | | | Tcl_SetUnicodeObj() to panic on a shared object. [Bug 2561488]. Also factored out common code to reduce duplication.
* * generic/tclCmdMZ.c: Prevent crashes due to int overflow of thedgp2009-02-042-11/+19
| | | | length of the result of [string repeat]. [Bug 2561746]
* Backport fix for [Bug 2519474]dkf2009-01-292-2/+8
|
* typodgp2009-01-221-1/+1
|
* * unix/tcl.m4: Corrected a typo ($(SHLIB_VEERSION) should be ${SHLIB_VERSION}).Kevin B Kenny2009-01-223-2/+8
| | | | * unix/configure: Autoconf 2.59
* * generic/tclIORChan.c (ReflectClose): Fix for [Bug 2458202].andreas_kupries2009-01-222-8/+20
| | | | | | Closing a channel may supply NULL for the 'interp'. Test for finalization needs to be different, and one place has to pull the interp out of the channel instead.
* Backport of Patch 907924Kevin B Kenny2009-01-204-12/+40
|
* typodgp2009-01-141-2/+2
|
* * generic/tclStringObj.c (STRING_SIZE): Corrected failure to limitdgp2009-01-092-4/+13
| | | | | memory allocation requests to the sizes that can be supported by Tcl's memory allocation routines. [Bug 2494093].
* * generic/tclStringObj.c (STRING_UALLOC): Added missing parensdgp2009-01-082-2/+8
| | | | | required to get correct results out of things like STRING_UALLOC(num + append). [Bug 2494093].
* Corrected twiddling in internals of dictionaries so that literals can't getdkf2009-01-062-2/+6
| | | | destroyed.
* Fix [Bug 2006879]dkf2009-01-062-3/+7
|
* Backport fix for [Bug 2006884]dkf2009-01-062-124/+122
|
* * library/clock.tcl (tcl::clock::add): Fixed error message formattingKevin B Kenny2009-01-033-4/+21
| | | | | | in the case where [clock add] is presented with a bad switch. * tests/clock.test (clock-65.1) Added a test case for the above problem [Bug 2481670].
* * generic/tcl.h: Bump to 8.5.6 for release.core_8_5_6dgp2008-12-2110-15/+26
| | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure:
* advance tagdgp2008-12-211-0/+2
|
* * changes: Update for 8.5.6 release.dgp2008-12-215-6/+51
| | | | | | | | | | | | | | * library/tclIndex: Removed reference to no-longer-extant procedure 'tclLdAout'. * doc/library.n: Corrected mention of 'auto_exec' to 'auto_execok'. [Patch 2114900] thanks to Stu Cassoff <stwo@users.sf.net> Backport of 2008-11-26 commit from Kevin Kenny. * win/tclWinThrd.c (TclpThreadCreate): We need to initialize the thread id variable to 0 as on 64 bit windows this is a pointer sized field while windows only fills it with a 32 bit value. The result is an inability to join the threads as the ids cannot be matched. Backport of 2008-10-13 commit from Pat Thoyts.
* Backport re-fix of [2431847]ferrieux2008-12-161-5/+2
|
* Fix [Bug 2431847]dkf2008-12-153-45/+57
|
* optional argument format correctiondgp2008-12-151-2/+2
|
* Fix time change in Eastern Europe (not 3:00 but 4:00 local time)nijtmans2008-12-122-4/+9
| | | | [Bug 2207436]
* * generic/tclIO.c (SetChannelFromAny and related): Modified theandreas_kupries2008-12-113-4/+37
| | | | | | | | * tests/io.test: internal representation of the tclChannelType to contain not only the ChannelState pointer, but also a reference to the interpreter it was made in. Invalidate and recompute the internal representation when it is used in a different interpreter (Like cmdName intrep's). Added testcase. [Bug 2407783].
* Fallback to European time zone DST rules, when the timezone isnijtmans2008-12-113-8/+56
| | | | between 0 and -12 [Bug 2207436].
* [Bug 1929403] specify the translation mode when counting bytespatthoyts2008-12-111-1/+2
|
* library/tzdata/*: Update from Olson's tzdata2008i.Kevin B Kenny2008-12-1020-2038/+1015
|
* Tcl_MacOSXOpenVersionedBundleResources: Fix leak, simplify logicdas2008-12-071-28/+36
|
* * generic/tclPathObj.c (Tcl_FSGetNormalizedPath): Added anotherdgp2008-12-042-13/+82
| | | | | flag value TCLPATH_NEEDNORM to mark those intreps which need more complete normalization attention for correct results. [Bug 2385549]
* * generic/tclFileName.c (DoGlob): One of thedgp2008-12-032-3/+11
| | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. This caused error messages returned by some Tcl_Filesystem drivers to be swallowed.
* * generic/tclIO.c (TclFinalizeIOSubsystem): Replaced Alexandreandreas_kupries2008-12-022-3/+9
| | | | | Ferrieux's first patch for [Bug 2270477] with a gentler version, also supplied by him.
* * generic/tclParse.c: Backport fix for [Bug 2251175].dgp2008-12-012-10/+30
|
* * library/clock.tcl (format, ParseClockScanFormat): Added aKevin B Kenny2008-11-303-4/+28
| | | | | | | [string map] to get rid of namespace delimiters before caching a scan or format procedure [Bug 2362156]. * tests/clock.test (clock-64.[12]): Added test cases for the bug that was tickled by a namespace delimiter inside a format string.
* * generic/tclIO.c (TclFinalizeIOSubsystem): Applied Alexandreandreas_kupries2008-11-252-2/+8
| | | | | Ferrieux's patch for [Bug 2270477] to prevent infinite looping during finalization of channels not bound to interpreters.
* * generic/tclIO.c: Backport of fix for [Bug 2333466].andreas_kupries2008-11-232-2/+9
|
* fix [Bug 2308236] signature of Tcl_HashStats() wrongnijtmans2008-11-185-9/+16
|
* Fixed [Bug 2269431]: load of shared objectsnijtmans2008-11-144-16/+21
| | | | leaves emporary files on windows
* * doc/platform_shell.n: Fixed [Bug 2255235], reported by Ulrichandreas_kupries2008-11-107-13/+35
| | | | | | | | | * library/platform/pkgIndex.tcl: Ring <uring@users.sourceforge.net>. * library/platform/shell.tcl: Updated the LOCATE command in the * library/tm.tcl: package 'platform::shell' to handle the new form * unix/Makefile.in: of 'provide' commands generated by tm.tcl. Bumped * win/Makefile.in: package to version 1.1.4. Added cross-references to the relevant parts of the code to avoid future desynchronization.