summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Move TIP#285 routines out of Tcl_Eval(3) into their own manpage.jenglish2009-11-014-48/+78
|
* Apply a bit more polishdkf2009-11-011-46/+57
|
* Apply a bit more polishdkf2009-11-011-169/+294
|
* Minor formatting fix.dkf2009-11-011-2/+2
|
* Improve with more explanation of what's going on.dkf2009-11-011-1/+43
|
* [Bug 2889593]: Make [expr round()] give the right error.dkf2009-10-312-6/+11
|
* More variable hygiene.dkf2009-10-301-146/+229
|
* Cleanup non-writable test directory on Windows.patthoyts2009-10-302-1/+9
| | | | | | | 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.
* More variable cleansingdkf2009-10-291-180/+189
|
* * generic/tcl.h: Changed the typedef for the mp_digit typedgp2009-10-292-6/+26
| | | | | | | | | | | | | | | | | | | | | | | 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.
* test hygiene for the ::tmp variabledgp2009-10-294-9/+17
|
* More variable cleansingdkf2009-10-291-247/+432
|
* General cleanliness improvements.dkf2009-10-292-255/+411
|
* Remove accidental C99-ism which reportedly makes the AIX native compiler choke.dkf2009-10-292-38/+54
|
* * library/clock.tcl (LocalizeFormat):Kevin B Kenny2009-10-293-17/+32
| | | | | | * 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-283-2/+16
| | | | | | | | | | | * 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-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/+44
| | | | | | | | 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-262-3/+7
| | | | `make distclean` target. Completes 2009-10-20 commit.
* * 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>.
* Let [$obj varname x(y)] work. [Bug 2883857]dkf2009-10-223-3/+42
|
* Typodkf2009-10-211-2/+2
|
* Fix [Bug 2882561].dkf2009-10-212-3/+6
|
* Fix [Bug 2881259].dkf2009-10-212-9/+14
|
* * unix/Makefile.in: Removed the long outdated and broken targetsdgp2009-10-203-80/+9
| | | | | | | 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-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 2871908]Joe Mistachkin2009-10-182-6/+13
|
* Fix for [Bug 1565466]Joe Mistachkin2009-10-182-4/+15
|
* Fix [Bug 2629338]: Stop evil unset traces from accessing freed memory.dkf2009-10-173-22/+53
|
* Fix the icon to have 48x48 size (mistakenly made a 46px icon)patthoyts2009-10-151-0/+0
|
* Added missing text. Noticed by Emiliano Gavilan.dkf2009-10-141-2/+3
|
* [Bug 2874678]: Don't leak bignums in [dict incr]...dkf2009-10-083-34/+52
|
* * generic/tclObj.c: [Bug 2871908]: Plug memory leaks of theandreas_kupries2009-10-072-21/+25
| | | | | | | 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/tclInterp.c (SlaveEval): Agressive stomping of internal repsdgp2009-10-062-17/+10
| | | | | | | 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-064-5/+11
| | | | | * 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-052-1/+10
| | | | | | 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-053-16/+29
| | | | * unix/tclUnixInit.c: Mac OS X 10.4 & earlier. [Bug 2569449]
* fix tclooConfig.sh installdas2009-10-051-2/+3
|
* * 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/tclDictObj.c: Updated freeIntRepProc routines sodgp2009-09-3014-19/+43
| | | | | | | | | | | | | | | * 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-295-23/+74
| | | | | | | * 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-283-20/+28
| | | | | | * 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-282-2/+16
| | | | Test error-15.9.3.0.0 covers [Bug 2855247].
* * tests/error.test (error-15.8.*): Coverage tests illustratingdgp2009-09-282-1/+23
| | | | flaws in the propagation of return options by [try].
* Added dummy tclooConfig.sh files for easier cross-version building. [2026844]dkf2009-09-268-9/+67
|
* TIP #356 IMPLEMENTATIONdgp2009-09-247-12/+39
| | | | | | | | | | * 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: