summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Document new DST fallback rules.nijtmans2008-12-121-3/+3
| | | | | Fix time change in Eastern Europe (not 3:00 but 4:00 local time) [Bug 2207436]
* Fallback to European time zone DST rules, when the timezone isnijtmans2008-12-111-7/+26
| | | | between 0 and -12 [Bug 2207436].
* library/tzdata/*: Update from Olson's tzdata2008i.Kevin B Kenny2008-12-1019-2038/+1011
|
* * library/clock.tcl (format, ParseClockScanFormat): Added aKevin B Kenny2008-11-301-3/+5
| | | | | | | [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.
* * library/tclIndex: Removed reference to no-longer-extant procedureKevin B Kenny2008-11-261-1/+0
| | | | | | 'tclLdAout'. * doc/library.n: Corrected mention of 'auto_exec' to 'auto_execok'. [Patch 2114900] thanks to Stu Cassoff <stwo@users.sf.net>
* * doc/platform_shell.n: Fixed [Bug 2255235], reported by Ulrichandreas_kupries2008-11-103-3/+15
| | | | | | | | | * 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.
* fix typo: s/ZoneinfoFile/LoadZoneinfoFile/das2008-11-011-2/+2
|
* Fixed a failure to read SHOUTcast streams with the new 2.7patthoyts2008-10-232-8/+11
| | | | | package. Introduced a new intial state as the first response may not be HTTP*.
* * library/init.tcl: Revised [unknown] so that it carefullydgp2008-10-161-2/+5
| | | | | | preserves the state of the ::errorInfo and ::errorCode variables at the start of auto-loading and restores that state before the autoloaded command is evaluated. [Bug 2140628]
* * library/init.tcl: Revised [unknown] so that it carefullydgp2008-10-161-3/+8
| | | | | | preserves the state of the ::errorInfo and ::errorCode variables at the start of auto-loading and restores that state before the autoloaded command is evaluated. [Bug 2140628]
* * README: Bump version number to 8.6a4dgp2008-10-141-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:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-4/+4
| | | | | | * doc/tm.n: Revise [tcl::tm::path add] and * library/tm.tcl: [tcl::tm::path remove] to accept zero paths. * tests/tm.test:
* * library/init.tcl: export min and max commands from the mathfuncMiguel Sofer2008-09-171-1/+2
| | | | namespace [Bug 2116053]
* * README: Bump version number to 8.6a3dgp2008-08-281-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:
* * README: Bump version number to 8.6a2dgp2008-08-121-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:
* * library/http/http.tcl: Remove 8.5 requirement.dgp2008-08-112-3/+3
| | | | | | | * library/http/pkgIndex.tcl: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc:
* Remove the 8.5+ requirement to avoid problems with shipping http as a tcl ↵patthoyts2008-08-111-4/+4
| | | | module.
* * library/tm.tcl: Added a 'package provide' command to theandreas_kupries2008-08-111-1/+2
| | | | | | | | | generated ifneeded scripts of Tcl Modules, for early detection of conflicts between the version specified through the file name and a 'provide' command in the module implementation, if any. Note that this change also now allows Tcl Modules to not provide a 'provide' command at all, and declaring their version only through their filename.
* &#(*& typo!dgp2008-08-111-1/+1
|
* * library/http/http.tcl: Bump http version to 2.7.1 to accountdgp2008-08-112-5/+5
| | | | | | | | * library/http/pkgIndex.tcl: for [Bug 2046486] bug fix. This * unix/Makefile.in: release of http now requires a * win/Makefile.in: dependency on Tcl 8.5 to be able to * win/makefile.bc: use the unsigned formats in the * win/makefile.vc: [binary scan] command.
* crc field from zlib data should be treated as unsigned for 64bit support ↵patthoyts2008-08-111-2/+2
| | | | [Bug 2046846]
* Olson's tzdata2008eKevin B Kenny2008-08-081-0/+36
|
* Olson's tzdata2008eKevin B Kenny2008-08-0812-15/+29
|
* missed some nukeable comments re [namespace inscope]Miguel Sofer2008-08-061-8/+3
|
* * library/init.tcl (::unknown): removed the [namespace inscope]Miguel Sofer2008-08-061-12/+3
| | | | | | | | | hack that was maintained for Itcl *** POTENTIAL INCOMPATIBILITY *** for Itcl Itcl users will need a new release with Itcl's [Patch 2040295], or else load the tiny script in that patch by themselves (rewrite ::unknown). Note that it is a script-only patch.
* * library/package.tcl: Removed [file readable] testing fromdgp2008-07-031-11/+29
| | | | | | | [tclPkgUnknown] and friends. We find out soon enough whether a file is readable when we try to [source] it, and not testing before allows us to workaround the bugs on some common filesystems where [file readable] lies to us. [Patch 1969717]
* * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-253-14/+144
| | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe * tests/safe.test: interpreters. Fixes [Bug 1999119].
* * README: Bump version number to 8.6a1dgp2008-06-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:
* * README: Bump version number to 8.6a0dgp2008-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * macosx/Tcl-Common.xcconfig: * macosx/Tcl.pbproj/default.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/configure.in: * win/makefile.bc: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tclBasic.c: Revised stubs-generation tool and interp * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422] * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* * generic/tcl.h: Bump to 8.5.2 for release.core_8_5_2dgp2008-03-281-2/+2
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* Changes up to and including Olson's tzdata2008bKevin B Kenny2008-03-2723-478/+2232
|
* * 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: