summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* Added safety checksdgp2005-01-251-7/+13
|
* * library/auto.tcl: Updated [auto_reset] to clear auto-loadeddgp2005-01-251-12/+10
| | | | | | commands in namespaces other than :: and to clear auto-loaded commands that do not happen to be procs. [Bug 1101670] ***POTENTIAL INCOMPATIBILITY***
* Routine update per Olson's tzdata2005c. Removed links to linksKevin B Kenny2005-01-1811-408/+284
| | | | | (Greenwich in several aliases; Navajo; Acre). Updated Paraguayan DST rules and "best guess" at this year's Israeli rules.
* Horrible hack to keep the old error message.dkf2005-01-061-3/+11
|
* Performance updates to http::mapReply [1020491] and fix version numbering.dkf2005-01-062-26/+22
|
* bugs 1090413, 1092789 fixedKevin B Kenny2004-12-291-8/+13
|
* added comment about freewrap difficultiesdgp2004-12-011-1/+5
|
* D'oh! Deal with missing ::errorCode or ::errorInfo.dgp2004-11-301-5/+5
|
* * library/init.tcl ([unknown]): Restored the save/restore ofdgp2004-11-301-1/+5
| | | | | the variables ::errorCode and ::errorInfo. This is needed when the [::bgerror] command is auto-loaded (as it is by Tk).
* * library/clock.tcl: Corrected the regular expressions that matchKevin B Kenny2004-11-301-7/+9
| | | | | a time zone to allow for time zones specified as +HH or -HH. * tests/clock.test: Added regression test case for the above issue.
* * library/auto.tcl (tcl_findLibrary): Made sure the uniquifyingdgp2004-11-261-2/+2
| | | | operations on the search path does not also normalize. [Bug 1072136]
* remove knownBugs from clock tests by fixing themKevin B Kenny2004-11-031-3/+9
|
* * library/init.tcl ([unknown]): Corrections to the 2004-10-25 modsdgp2004-11-031-2/+4
| | | | | | | to Aunt ??? in [unknown]. Flaws revealed by Itcl test suite, which still apparently relies on this brokenness. Also added comment suggesting the error message that any code using this hack *ought* to receive in reply.
* 2004-11-02 Don Porter <dgp@users.sourceforge.net>dgp2004-11-021-4/+24
| | | | | | | | * library/tcltest/tcltest.tcl: Corrected some misleading * tests/tcltest.test (tcltest-26.1,2): displays of ::errorInfo and ::errorCode information when the -setup, -body, and/or -cleanup scripts return an unexpected return code. Thanks to Robert Seeger for the fix. [RFE 1017151].
* updates to Havana and Cuiaba time zonesKevin B Kenny2004-11-022-2/+1
|
* * library/tcltest/tcltest.tcl: Correct reaction to errors in thedgp2004-10-302-5/+7
| | | | | | | obsolete processCmdLineArgsHook. [Bug 1055673] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7 * unix/Makefile.in: * tests/all.tcl: Update to use [tcltest::configure].
* Allow ensembles to rewrite their subcommands' error messages to be moredkf2004-10-291-18/+5
| | | | | | relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage
* * tests/tm.test: Expanded on the testsuite entered by Donal.andreas_kupries2004-10-271-18/+29
| | | | * library/tm.tcl: Even found bugs, these have been corrected.
* * library/tm.tcl (::tcl::tm::Defaults): Added a second [fileandreas_kupries2004-10-261-1/+1
| | | | | | dirname] around the location of the executable. This fixes [Tcl SF Bug 1038705]. Instable of a bogus "foo/bin/lib" we now have the correct "foo/lib" as a base path for modules.
* fixes for Bug 1054101Kevin B Kenny2004-10-261-2/+4
|
* * library/auto.tcl Purged Tcl's script library of alldgp2004-10-253-93/+65
| | | | | | | | | | | * library/clock.tcl remaining references to global vars * library/init.tcl ::errorInfo and ::errorCode. * generic/tclMain.c (Tcl_Main): Updated to make use of TclGetReturnOptions instead of ::errorInfo variable. * generic/tclInterp.c (tclInit): Bug fix. Access dict variables with [dict get], not array syntax.
* Flesh out tests and transform the TM manager API into an ensembledkf2004-10-251-94/+115
|
* * library/clock.tcl: Fixed a typo where the fallback time zoneKevin B Kenny2004-10-221-4/+4
| | | | | | | | | became ::localtime instead of :localtime. Fixed a bug where time zone names containing hyphens could not be loaded. Thanks to Todd M. Helfter <tmh@jumpgate.itsp.purdue.edu> for finding these bugs. * tests/clock.test: Added regression test cases that covers both bugs.
* doubled speed of clock formatKevin B Kenny2004-10-211-274/+208
|
* synchronized to Olson's tzdata2004eKevin B Kenny2004-10-125-5/+197
|
* * generic/tclBasic.c:dgp2004-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclResult.c: * generic/tclScan.c: * generic/tclTimer.c: * generic/tclTrace.c: * generic/tclUtil.c: * generic/tclVar.c: * unix/tclUnixFCmd.c: * unix/tclUnixPipe.c: * win/tclWinDde.c: * win/tclWinFCmd.c: * win/tclWinPipe.c: * win/tclWinReg.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. * library/dde/pkgIndex.tcl: Bump to dde 1.3.1 * library/reg/pkgIndex.tcl: Bump to registry 1.1.5
* * generic/tclBasic.c:dgp2004-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclResult.c: * generic/tclScan.c: * generic/tclTimer.c: * generic/tclTrace.c: * generic/tclUtil.c: * generic/tclVar.c: * unix/tclUnixFCmd.c: * unix/tclUnixPipe.c: * win/tclWinDde.c: * win/tclWinFCmd.c: * win/tclWinPipe.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. * library/dde/pkgIndex.tcl: Bump to dde 1.3.1
* many more TIP 173 changesKevin B Kenny2004-09-271-123/+310
|
* Updated America/MontevideoKevin B Kenny2004-09-221-0/+2
|
* fixed a bug where %z was always positive in :localtimeKevin B Kenny2004-09-101-5/+6
|
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-07140-288/+292
| | | | | | | | | | | | | | | | | | | | | attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167] * library/clock.tcl (InitTZData, ClearCaches): Changed so that the in-memory time zone :UTC (and its aliases) always gets reinitialised, in case tzdata is absent. [Bug 1019537, 1023779] * library/tzdata/*: Regenerated. * tests/clock.test (clock-31.*, clock-39.1): Corrected a problem where the 'system' locale tests fail on a non-English Windows machine. [Bug 1023761]. Added a test to make sure that alias time zones load correctly. [Bug 1023779]. * tools/tclZIC.tcl (writeLinks): Corrected a problem where alias time zone names were written incorrectly, causing them to fail to load at run time. [Bug 1023779]. * win/tclWinTime.c (Tcl_GetTime): Eliminated CPUID tests on Win64 - assuming that HAL vendors now do a better job of keeping the performance counters synchronized among CPU's. [Bug 1020445]
* * library/auto.tcl: Updated [tcl_findLibrary] search pathdgp2004-08-231-19/+47
| | | | to include any [<pkg>::pkgconfig get scriptdir,runtime] directory, as well as the $::auto_path. [RFE 695441]
* * library/clock.tcl (format): Changed default timezone format Kevin B Kenny2004-08-191-2/+2
| | | | | | | from alphabetic to numeric to produce scannable times in more locales. * tests/clock.test (clock-37.1): Removed now-unused 'needPST' constraint and the comments that refer to it.
* * library/init.tcl: Integrated TIP #189. We source a separate fileandreas_kupries2004-08-182-1/+353
| | | | | | | | | | | | (see below), instead of inlining the contents of that file. This should beeasier to maintain, and easier to backport/install in 8.4 installations. Note: Usage of Tcl Modules is restricted to non-safe interps. It cannot be loaded into a safe interp. * library/tm.tcl: New file, the v2 reference implementation for TIP #189, Tcl Modules.
* unbreak Win build after TIP#173 and TIP#209 commitKevin B Kenny2004-08-181-23/+65
|
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-18674-1/+54336
|
* * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-131-2/+7
| | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload].
* * library/package.tcl (pkg_mkIndex): Updated [pkg_mkIndex] todgp2004-08-021-20/+11
| | | | make use of [glob -directory $dir -tails] and return options.
* * tests/safe.test (safe-2.1): Disabled senseless test. [Bug 999612]dgp2004-07-302-7/+4
| | | | | | * library/auto.tcl (auto_reset): Removed "protected" list of commands from [auto_reset]. All entries in the auto_index can be re-loaded. * library/package.tcl: Updated comment to reflect 2004-07-28 commit.
* * library/package.tcl: [::pkg::create] is now an alias. Testdgp2004-07-291-9/+2
| | | | safe-2.1 will now fail until Bug 999612 is corrected.
* * library/package.tcl: Moved private commanddgp2004-07-282-13/+19
| | | | | | * library/tclIndex: [pkg_compareExtension] into ::tcl::Pkg. * tests/pkg_mkIndex.test: Also moved implementation of [::pkg::create] to [::tcl::Pkg::Create].
* Fix [Bug 981733]; bizarre resolver brokenness strikes again!dkf2004-06-291-2/+6
|
* * doc/library.n: Moved variables ::auto_oldpath anddgp2004-06-162-11/+14
| | | | | * library/auto.tcl: ::unknown_pending into ::tcl namespace. * library/init.tcl: [Bugs 808319, 948794]
* * unix/tclUnixInit.c: The routines Tcl_Init() and TclSourceRCFile()dgp2004-06-111-2/+2
| | | | | | | | | | * win/tclWinInit.c: had identical implementations for both win and * generic/tclInterp.c: unix. Moved to a single generic implementation. * generic/tclMain.c: * library/init.tcl: * generic/tclInitScript.h (removed): * unix/Makefile.in: * win/tcl.dsp:
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-261-2/+1
| | | | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Corrected * tests/tcltest.test: double increment of numTestFiles in -singleproc 1 configurations. Updated tcltest-19.1 to tcltest 2.1 behavior. Corrected tcltest-25.3 to not falsely report a failure in tcltest.test. Bumped to tcltest 2.2.6. [Bugs 960560, 960926]
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-262-6/+6
| | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Updated * tests/tcltest.test: tcltest-19.1 to tcltest 2.1 behavior. Bumped to tcltest 2.2.6.
* * doc/http.n (http::config): add -urlencoding option (default utf-8)hobbs2004-05-252-19/+20
| | | | | | | | | * library/http/http.tcl: that specifies encoding conversion of * library/http/pkgIndex.tcl: args for http::formatQuery. Previously * tests/http.test: undefined, RFC 2718 says it should be utf-8. 'http::config -urlencoding {}' returns previous behavior, which will throw errors processing non-latin-1 chars. Bumped http package to 2.5.0.
* * library/init.tcl: Corrected unique prefix matching ofdgp2004-05-031-3/+12
| | | | interactive command completion in [unknown]. [Bug 946952]
* * doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]dgp2004-03-311-7/+15
| | | | | | | | | | | | | | * library/msgcat/msgcat.tcl: Updated internals to make use of [dict]s to store message catalog data and to use [source -encoding utf-8] to access catalog files. Thanks to Michael Sclenker. [Patch 875055, RFE 811459] Corrected [mcset] to be able to successfully set a translation to the empty string. [mcset $loc $src {}] was incorrectly set the $loc translation of $src back to $src. Also changed [ConvertLocale] to minimally require a non-empty "language" part in the locale value. If not, an error raised prompts [Init] to keep looking for a valid locale value, or ultimately fall back on the "C" locale. [Bug 811461]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.4.1.
* * library/msgcat/msgcat.tcl: Updated internals to make use ofdgp2004-03-312-36/+53
| | | | | | | * library/msgcat/pkgIndex.tcl: [dict]s to store message catalog data and to use [source -encoding utf-8] to access catalog files. Thanks to Michael Sclenker. Also corrects bug to allow translation to an empty string. Bump to msgcat 1.4.1. [Patch 875055]