summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* Undo Jan's needless vandalism.dkf2009-11-195-17/+19
|
* Eliminate unneccessary spacesnijtmans2009-11-185-32/+32
|
* Eliminate "then" keywordnijtmans2009-11-186-125/+125
|
* Fix [Bug 2891171]: URL checking too strict when using multiple question marksnijtmans2009-11-112-18/+18
|
* * library/safe.tcl (::safe::Setup): Added documentation of theandreas_kupries2009-11-061-31/+38
| | | | | | 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-15/+29
| | | | | | | 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-64/+56
| | | | | | | | | | 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-14/+29
| | | | | | | 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-101/+65
| | | | | | | | | 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-46/+7
| | | | | | | | 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-48/+80
| | | | | | | 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-8/+14
| | | | | | | 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-45/+45
| | | | | | | | 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-831/+831
| | | | | | | 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-2/+4
| | | | | | | | 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-39/+39
| | | | | | 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-043-95/+346
| | | | | | | | 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.
* * library/clock.tcl (LocalizeFormat):Kevin B Kenny2009-10-291-16/+20
| | | | | | * 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]
* * library/tzdata/America/Argentina/Buenos_Aires:Kevin B Kenny2009-10-274-727/+185
| | | | | | | * 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-11/+21
| | | | | | | | 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-243-5/+192
| | | | | | | | | | | 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.)
* * library/safe.tcl (AliasGlob): Fixed conversion of catch toandreas_kupries2009-10-051-1/+3
| | | | | | try/finally, it had an 'on ok msg' branch missing, causing a silent error immediately, and bogus glob results, breaking search for Tcl modules.
* * library/tzdata/Africa/Cairo:Kevin B Kenny2009-10-024-93/+95
| | | | | | * library/tzdata/Asia/Gaza: * library/tzdata/Asia/Karachi: * library/tzdata/Pacific/Apia: Olson's tzdata2009n.
* Correct handling of quoted charset names. [Bug 2849860]dkf2009-09-101-3/+9
|
* * library/tcltest/tcltest.tcl: Bump to tcltest 2.3.2 after revisiondgp2009-09-012-3/+3
| | | | | | * 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
* Simplify a bit further following more testingdkf2009-07-261-10/+3
|
* Use [try] to replace obscurer uses of [catch].dkf2009-07-264-594/+586
|
* Make [history] (well, [::tcl::history]) be a real ensemble.dkf2009-07-251-181/+119
|
* Clarify code by using [try] instead of [catch] in a few placesdkf2009-07-241-557/+426
|
* 2009-07-21 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2009-07-212-184/+3
| | | | | * library/tzdata/Asia/Dhaka: * library/tzdata/Indian/Mauritius: Olson's tzdata2009k.
* * generic/tclGetDate.y: Fixed a thread safety bug in the generatedKevin B Kenny2009-06-091-2/+2
| | | | | | | | | | * 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/+2
|
* Applied Olson's tzdata2009hKevin B Kenny2009-05-302-105/+105
|
* * library/platform/platform.tcl: Fixed handling of cpu ia64,andreas_kupries2009-05-292-4/+4
| | | | | | * library/platform/pkgIndex.tcl: taking ia64_32 into account * unix/Makefile.in: now. Bumped version to 1.0.5. Updated the * win/Makefile.in: installation commands.
* Removed newline appended to POST data.patthoyts2009-04-192-4/+3
| | | | Added tests to check that the data provided by a POST is as stated in the content-length [Bug 2715421]
* * library/tzdata/Asia/Karachi: Updated rules for Pakistan SummerKevin B Kenny2009-04-141-0/+2
| | | | Time (Olson's tzdata2009f)
* Improved HTTP/1.1 support and added specific HTTP/1.1 testing.patthoyts2009-04-102-116/+147
| | | | | | | | This patch makes use of the 8.6 zlib support to provide for deflate and gzip support and handles the -channel option with compression and chunked transfer encoding. For the -handler option we currently disable HTTP/1.1 features as we cannot properly pass the data through to the caller.
* Olson's tzdata2009eKevin B Kenny2009-04-0911-482/+853
|
* * library/http/http.tcl: Handle incomplete lines in thedgp2009-04-091-2/+3
| | | | "connecting" state. Thanks to Sergei Golovan. [Bug 26245326]
* * library/platform/platform.tcl: Extended the darwin sections toandreas_kupries2009-04-082-2/+40
| | | | | | | | | * library/platform/pkgIndex.tcl: add a kernel version number to * unix/Makefile.in: the identifier for anything from Leopard (10.5) * win/Makefile.in: on up. Extended patterns for same. Extended cpu * doc/platform.n: recognition for 64bit Tcl running on a 32bit kernel on a 64bit processor (By Daniel Steffen). Bumped version to 1.0.4. Updated Makefiles.
* * library/tcltest/tcltest.tcl: Converted [eval]s (some unsafe!) todgp2009-04-082-11/+11
| | | | | | * library/tcltest/pkgIndex.tcl: {*} in tcltest package. [Bug 2570363] * unix/Makefile.in: => tcltest 2.3.1 * win/Makefile.in:
* Move the implementation of [try] from Tcl to C. Not yet bytecoded.dkf2009-03-091-183/+1
|
* Added support for 8.6's zlib integration.dkf2009-02-242-138/+177
|
* * generic/tcl.h: Bump patchlevel to 8.6b1.1 to distinguishdgp2009-01-161-2/+2
| | | | | | | | * library/init.tcl: CVS snapshots from the 8.6b1 and 8.6b2 releases * unix/configure.in: and to deal with the fact that the HEAD of * win/configure.in: init.tcl will not [source] in Tcl 8.6b1 . * unix/configure: autoconf-2.59
* Move [throw] implementation into C.dkf2009-01-131-18/+5
|
* * library/clock.tcl (tcl::clock::add): Fixed error message formattingKevin B Kenny2009-01-031-3/+3
| | | | | | 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].
* * README: Bump version number to 8.6b1dgp2008-12-191-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* Fix bug in 'trap' handlers (introduced by DKF's editing originally)dkf2008-12-161-2/+2
|
* First implementation of TIP#329dkf2008-12-161-19/+214
|