summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup directories that have been set chmod 000.patthoyts2009-11-101-0/+10
| | | | | | | | | On Windows7 and Vista we really have no access and these were getting left behind. A few tests were changed to reflect the intent of the test where setting a directory chmod 000 should prevent any modification. This restriction was ignored on XP but is honoured on Vista
* * generic/tclObj.c: Plus memory leak in TclContinuationsEnter().andreas_kupries2009-11-101-0/+6
| | | | | [Bug 2895323]. Forward port from Tcl 8.5 branch, change by Don Porter.
* Removed outdated Msys + Mingw info.stwo2009-11-091-0/+4
|
* * tests/info.test: Resolve ambiguous resolution of variableandreas_kupries2009-11-091-0/+3
| | | | "res". Forward port from 8.5
* * generic/tclBasic.c (TclEvalObjEx): Moved the #280 decrement ofandreas_kupries2009-11-091-0/+8
| | | | | | | refCount for the file path out of the branch after the whole conditional, closing a memory leak. Added clause on structure type to prevent seg.faulting. Forward port from valgrinding the Tcl 8.5 branch.
* Moved the descriptions of the index formats to their own section, anddkf2009-11-081-31/+35
| | | | added a warning to the 'bytelength' subcommand about future compatibility.
* [Bug 2891026] add addtional contraints for vista+ for non-readable directoriespatthoyts2009-11-071-0/+6
|
* * library/safe.tcl (::safe::Setup): Added documentation of theandreas_kupries2009-11-061-0/+7
| | | | | | contents of the state array. Also killed the 'InterpState' procedure with its upleveled variable/upvar combination, and replaced all uses with 'namespace upvar'.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+2
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (11) Fixed bug 2854929. Recurse into all subdirs under all TM root dirs and put them on the access path.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+5
| | | | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (10) Misc. cleanup. Inlined IsInterp into CheckInterp, its only user. Consistent 'return -code error' for error reporting. Updated to use modern features (lassign, in/ni, dicts). The latter are used to keep a reverse path -> token map and quicker check of existence.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+2
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (9) Changed the log command setup so that logging is compiled out completely when disabled (default).
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+4
| | | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (8) Converted the path token system to cache normalized paths and path <-> token conversions. Removed more procedures not used any longer. Removed the test cases 4.3 and 4.4 from safe.test. They were testing the now deleted command "InterpStateName".
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+3
| | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (7) Replaced the remaining uses of 'Set' and others outside of the path/token handling, and deleted a number of procedures related to state array access which are not used any longer.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+2
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (6) Replaced several uses of 'Set' with calls to the new procedure 'InterpState' and direct access to the per-slave state array.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+2
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (5) Moved the argument parsing setup into a procedure called when the code is loaded. Easier management of temporary data.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-5/+8
| | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (4) Moved the multiple namespace eval's around. Command export at the top, everything else (var decls, argument parsing setup) at the bottom.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+2
| | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (3) Reindent the code. Just lots of whitespace changes. Functionality unchanged.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+3
| | | | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (2) Move the procedures out of the namespace eval. Keep their locations. IOW, break the namespace eval apart into small sectionsnot covering the procedure definitions.
* * library/safe.tcl: A series of patches which bring the SafeBaseandreas_kupries2009-11-051-0/+7
| | | | | | up to date with code guidelines, Tcl's features, also eliminating a number of inefficiencies along the way. (1) Change all procedure names to be fully qualified.
* * library/tzdata/Asia/Novokuznetsk: New tzdata locale forKevin B Kenny2009-11-041-0/+9
| | | | | | | | Kemerovo oblast', which now keeps Novosibirsk time and not Kranoyarsk time. * library/tzdata/Asia/Damascus: Syrian DST changes. * library/tzdata/Asia/Hong_Kong: Hong Kong historic DST corrections. Olson tzdata2009q.
* Improve the general description.dkf2009-11-021-6/+11
|
* fixes for htmlhelp targetJoe Mistachkin2009-11-021-0/+17
|
* Move TIP#285 routines out of Tcl_Eval(3) into their own manpage.jenglish2009-11-011-0/+5
|
* [Bug 2889593]: Make [expr round()] give the right error.dkf2009-10-311-4/+9
|
* Cleanup non-writable test directory on Windows.patthoyts2009-10-301-0/+7
| | | | | | | When creating the notwritabledir we deny the current user access to delete the file. We must grant this right when we cleanup. Required on Windows 7 when the user does not automatically have administrator rights.
* * 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.
* General cleanliness improvements.dkf2009-10-291-0/+3
|
* Remove accidental C99-ism which reportedly makes the AIX native compiler choke.dkf2009-10-291-19/+23
|
* * 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: Fixed 2 bugs reported in [Bug 2888044].dgp2009-10-281-0/+12
| | | | | | | | | | | * tests/info.test: First, as noted in the comments of the TclCleanupLiteralTable routine, since the teardown of the intrep of one Tcl_Obj can cause the teardown of others in the same table, the full table cleanup must be done with care, but the code did not contain the same care demanded in the comment. Second, recent additions to the info.test file had poor hygiene, leaving an array variable ::a lying around, which breaks later interp.test tests during a -singleproc 1 run of the test suite.
* * 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.
* * 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].