summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * library/tm.tcl (::tcl::tm::UnknownHandler): Changed 'source' toandreas_kupries2008-03-181-1/+1
| | | | | | | | | | | | | | 'source -encoding utf-8'. This fixes a portability problem of Tcl Modules pointed out by Don Porter. By using plain 'source' we were at the mercy of 'encoding system', making modules less portable than they could be. The exact scenario: A writes a TM in some weird encoding which is A's system encoding, distributes it, and somewhere else it cannot be read/used because the system encoding is different. Forcing the use of utf-8 makes the module portable. ***INCOMPATIBILITY*** for all Tcl Modules already written in non-utf-8 compatible encodings.
* Fix oops. Use ::list, not list, prevent use of the namespace local command.andreas_kupries2008-03-181-1/+1
|
* * library/tm.tcl (::tcl::tm::Defaults): Modified handling ofandreas_kupries2008-03-181-2/+5
| | | | | | | environment variables. See [Bug 1914604]. Solution slightly different than proposed in the report. Using the underscored form TCLX_y_TM_PATH even if TCLX.y_TM_PATH exists. Also using a loop to cut prevent code replication.
* change http::geturl -keepalive default to 0 as it has poor true pipeline supporthobbs2008-03-121-2/+3
|
* * unix/Makefile.in (install-libraries): Bump http to 2.7hobbs2008-03-122-130/+478
| | | | | | | | | | | | * win/Makefile.in (install-libraries): Added -myaddr option to allow * library/http/http.tcl (http::geturl): control of selected socket * library/http/pkgIndex.tcl: interface. [Bug 559898] * doc/http.n, tests/http.test: Added -keepalive and -protocol 1.1 with chunked transfer encoding support. [Bug 1063703, 1470377, 219225] Added ability to override Host in -headers. [Bug 928154] Added -strict option to control URL validation on per-call basis. [Bug 1560506]
* * library/http/http.tcl (http::geturl): add -method option to supporthobbs2008-03-121-4/+9
| | | | | * tests/http.test (http-3.1): http PUT and DELETE requests. * doc/http.n: [Bug 1599901, 862554]
* * library/http/http.tcl: whitespace changes, code cleanup. Allowhobbs2008-03-121-49/+50
| | | | http to be re-sourced without overwriting http state.
* bug #705956 - fix inverted logic when cleaning up socket error in geturl. ↵patthoyts2008-02-271-16/+28
| | | | Document meta accessor.
* * doc/clock.n: Corrected minor indentation gaffe in theKevin B Kenny2008-02-271-7/+8
| | | | | | | | | | | | penultimate paragraph. [Bug 1898025] * generic/tclClock.c (ParseClockFormatArgs): Changed to check that the clock value is in the range of a 64-bit integer. [Bug 1862555] * library/clock.tcl (::tcl::clock::format, ::tcl::clock::scan, ::tcl::clock::add, ::tcl::clock::LocalizeFormat): Fixed bugs in caching of localized strings that caused weird results when localized date/time formats were used. [Bug 1902423] * tests/clock.test (clock-61.*, clock-62.1): Regression tests for [Bug 1862555] and [Bug 1902423].
* Set version 2.5.5patthoyts2008-02-262-10/+16
| | | | bug #1868845 - it is better to do the [eof] check after trying to read from the socket. No clashes found in testing. Added http::meta command to access the http headers.
* Fix for bug #1818565. Always check that the state array exists in the ↵patthoyts2008-02-222-5/+5
| | | | http::status command. Set version 2.5.4
* * generic/tcl.h: Bump version number to 8.5.2b1 to distinguishdgp2008-02-131-2/+2
| | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.1 and * unix/configure.in: 8.5.2 releases. * unix/tcl.spec: * win/configure.in: * README * unix/configure: autoconf (2.59) * win/configure:
* * generic/tclClock.c (ClockParseformatargsObjCmd):Kevin B Kenny2008-02-061-111/+51
| | | | | | | | | | * library/clock.tcl (::tcl::clock::format): * tests/clock.test (clock-1.0, clock-1.4): Performance enhancements in [clock format] (moving the analysis of $args into C code, holding on to Tcl_Objs with resolved command names, [lassign] in place of [foreach], avoiding [namespace which] for command resolution).
* *** 8.5.1 TAGGED FOR RELEASE ***dgp2008-02-041-2/+2
| | | | | | | | | | | | * generic/tcl.h: Bump to 8.5.1 for release. * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tcl.h: Bump version number to 8.5.1b1 to distinguishdgp2008-01-021-2/+2
| | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.0 and * unix/configure.in: 8.5.1 releases. * unix/tcl.spec: * win/configure.in: * README * unix/configure: autoconf (2.59) * win/configure:
* merge stable branch onto HEADdgp2007-12-134-5/+5
|
* Simplify code for setting up the [chan] ensemble now that we can leveragedkf2007-12-061-26/+1
| | | | TclMakeEnsemble to do most of the work.
* * library/tcltest/tcltest.tcl: Bump tcltest to version 2.3.0 so thatdgp2007-12-032-3/+3
| | | | | | * library/tcltest/pkgIndex.tcl: we release a stable tcltest with a * unix/Makefile.in: stable Tcl. * win/Makefile.in:
* Olson's tzdata2007i importedKevin B Kenny2007-11-199-926/+987
|
* * README: Bump version number to 8.5b3.dgp2007-11-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:
* * generic/tcl.h: Bump version number to 8.5b2.1 to distinguishdgp2007-10-301-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b2 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * README: Bump version number to 8.5b2.dgp2007-10-261-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:
* * generic/tcl.h: Bump version number to 8.5b1.1 to distinguishdgp2007-10-021-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b1 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * library/tclIndex: Added 'tcl::tm::path' to the tclIndex. Thisandreas_kupries2007-10-021-0/+1
| | | | fixes [SF Bug 1806422] reported by Don Porter.
* * README: Bump version number to 8.5b1dgp2007-09-191-2/+2
| | | | | | | | | * generic/tcl.h: Merge from core-stabilizer-branch. * library/init.tcl: Stabilizing toward 8.5b1 release now done * tools/tcl.wse.in: on the HEAD. core-stabilizer-branch is * unix/configure.in: now suspended. * unix/tcl.spec: * win/configure.in:
* * library/tcltest/tcltest.tcl: Accept underscores and colons indgp2007-09-112-8/+6
| | | | | | | * library/tcltest/pkgIndex.tcl: constraint names. Properly handle constraint expressions that return non-numeric boolean results like "false". Bump to tcltest 2.3b1. [Bug 1772989; RFE 1071322] * tests/info.test: Disable fragile tests.
* Olson's tzdata2007gKevin B Kenny2007-09-0316-2550/+2598
|
* * library/clock.tcl (ParseClockScanFormat): Modified code to allowKevin B Kenny2007-08-251-19/+22
| | | | | * tests/clock.test (clock-60.*): case-insensitive matching of time zone and month names. [Bug 1781282]
* * library/init.tcl ([auto_load_index]): Delete stray "]" that createddgp2007-08-231-2/+2
| | | | an expr syntax error (masked by a [catch]).
* Rewrote word.tcl for greater efficiency. [Bug 1764318]dkf2007-08-011-68/+82
|
* * library/platform/platform.tcl: Fixed bug in 'platform::patterns'andreas_kupries2007-07-202-13/+15
| | | | | | | | | * library/platform/pkgIndex.tcl: where identifiers not matching * unix/Makefile.in: the special linux and solaris forms would not * win/Makefile.in: get 'tcl' as an acceptable platform added to * doc/platform.n: the result. Bumped package to version 1.0.3 and * doc/platform_shell.n: updated documentation and Makefiles. Also fixed bad version info in the documentation of platform::shell.
* * library/init.tcl (unknown): Corrected inconsistent error messagedgp2007-07-051-13/+11
| | | | in interactive [unknown] when empty command is invoked. [Bug 1743676]
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-181-2/+2
| | | | | | | | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections * tests/info.test: that continued to support the deprecated * tests/mathop.test: {expand} syntax. Updated the few remaining users of that syntax in the test suite.
* * win/configure: autoconf-2.59 (FC6 fork)dgp2007-05-151-2/+2
| | | | | | | * library/reg/pkgIndex.tcl: Bump to registry 1.2.1 to account for * win/configure.in: [1682211] bug fix. * win/makefile.bc: * win/tclWinReg.c:
* Olson's tzdata2007e.Kevin B Kenny2007-04-202-99/+93
|
* * doc/clock.n: Corrected a silly error (transposed 'uppercase'Kevin B Kenny2007-04-202-24/+8
| | | | | | | | | | | | | | | and 'lowercase' in clock.n. [Bug 1656002] Clarified that [clock scan] does not recognize a locale's alternative calendar. * library/clock.tcl: Corrected an error in skipping over the %Ey field on input. * library/msgs/ja.msg: * tools/loadICU.tcl: Corrected several localisation faults in the Japanese locale (most notably, incorrect dates for the Emperors' eras). [Bug 1637471]. Many thanks to SourceForge user 'nyademo' for pointing this out and developing a fix. * generic/tclPathObj.c: Corrected a 'const'ness fault that caused bitter complaints from MSVC.
* * library/clock.tcl: Fixed the naming ofKevin B Kenny2007-04-171-4/+4
| | | | | | | ::tcl::clock::ReadZoneinfoFile because (yoicks!) it was in the global namespace. * doc/clock.n: Clarified the cases in which legacy time zone is recognized. [Bug 1656002]
* * generic/tclCompCmds.c: added a cast to silence a compilerKevin B Kenny2007-04-151-12/+13
| | | | | | | | error on VC2005. * library/clock.tcl: Restored unique-prefix matching of keywords on the [clock] command. [Bug 1690041] * tests/clock.test: Added rudimentary test cases for unique-prefix matching of keywords.
* 2007-03-20 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2007-03-2017-978/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDate.c: Rebuilt, despite Donal Fellows's comment when committing it that no rebuild was required. * generic/tclGetDate.y: According to Donal Fellows, "Introduce modern formatting standards; no need for rebuild of tclDate.c." * library/tzdata/America/Cambridge_Bay: * library/tzdata/America/Havana: * library/tzdata/America/Inuvik: * library/tzdata/America/Iqaluit: * library/tzdata/America/Pangnirtung: * library/tzdata/America/Rankin_Inlet: * library/tzdata/America/Resolute: * library/tzdata/America/Yellowknife: * library/tzdata/Asia/Choibalsan: * library/tzdata/Asia/Dili: * library/tzdata/Asia/Hovd: * library/tzdata/Asia/Jakarta: * library/tzdata/Asia/Jayapura: * library/tzdata/Asia/Makassar: * library/tzdata/Asia/Pontianak: * library/tzdata/Asia/Ulaanbaatar: * library/tzdata/Europe/Istanbul: Upgraded to Olson's tzdata2007d. * generic/tclListObj.c (TclLsetList, TclLsetFlat): * tests/lset.test: Changes to deal with shared internal representation for lists passed to the [lset] command. Thanks to Don Porter for fixing this issue. [Bug 1677512]
* Fix documentation typospatthoyts2007-03-121-6/+6
|
* * library/platform/shell.tcl: Made more robust if an older platformandreas_kupries2007-03-092-2/+14
| | | | | | | * library/platform/pkgIndex.tcl: package is present in the inspected * unix/Makefile.in: shell. Package forget it to prevent errors. Bumped * win/Makefile.in: package version to 1.1.3, and updated the makefiles installing it as Tcl Module.
* * library/clock.tcl (ReadZoneinfoFile): Added Y2038 compliance toKevin B Kenny2007-03-091-5/+21
| | | | | | the code for version-2 'zoneinfo' files. * tests/clock.test (clock-56.3): Added a test case for Y2038 and 'zoneinfo'.
* * library/clock.tcl: Further tweaks to the Windows time zone tableKevin B Kenny2007-03-081-80/+114
| | | | | | | | | (restoring missing Mexican time zones). Added rudimentary handling of version-2 'zoneinfo' files. Update US DST rules so that zones such as 'EST5EDT' get the correct transition dates. * tests/clock.test: Added rudimentary test cases for 'zoneinfo' parsing. Adjusted several tests that depended on obsolete US DST transition rules.
* New US DST rules on Windows; Olson's tzdata2007cKevin B Kenny2007-03-074-232/+480
|
* * library/platform/shell.tcl (::platform::shell::RUN): In the caseandreas_kupries2007-03-052-5/+7
| | | | | | | * library/platform/pkgIndex.tcl: of a failure put the captured stderr * unix/Makefile.in: into the error message to aid in debugging. Bumped * win/Makefile.in: package version to 1.1.2, and updated the makefiles installing it as Tcl Module.
* rebuilt from Olson's tzdata2007bKevin B Kenny2007-02-137-439/+474
|
* * library/tcltest/tcltest.tcl: use [info frame] for "-verbose line".das2006-12-081-8/+17
|
* * generic/tclBasic.c: TIP #291. Define tcl_platform element forandreas_kupries2006-12-053-0/+493
| | | | | | | | | | | | | | | | * doc/tclvars.n: pointerSize. * win/Makefile.in: Added installation instructions for the platform * win/makefile.vc: package. Added the platform package. * win/makefile.bc: * unix/Makefile.in: * tests/platform.test: * tests/safe.test: * library/platform/platform.tcl: * library/platform/shell.tcl: * library/platform/pkgIndex.tcl:
* TIP#287 IMPLEMENTATIONdgp2006-12-011-1/+3
| | | | | | | | | | * doc/chan.n: New subcommand [chan pending]. * generic/tclBasic.c: Thanks to Michael Cleverly for proposal * generic/tclInt.h: and implementation. * generic/tclIOCmd.c: * library/init.tcl: * tests/chan.test: * tests/ioCmd.test:
* Olson's tzdata2006pKevin B Kenny2006-11-3011-704/+716
|