summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * library/init.tcl: Updated [unknown] to be sure the [return]dgp2005-05-241-2/+3
| | | | | * tests/init.test: options from an auto-loaded command are seen correctly by the caller.
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-105-5/+5
|
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-281-2/+2
| | | | * tests/main.test: auto-completion. [Bug 1191409].
* Olson's tzdata2005iKevin B Kenny2005-04-2516-15/+19
|
* * library/init.tcl: Use "ni" and "in" operators.dgp2005-04-251-7/+7
|
* typodgp2005-04-191-2/+2
|
* * generic/tclBasic.c: Added unsupported commanddgp2005-04-191-39/+45
| | | | | | | | * generic/tclCmdAH.c: [::tcl::unsupported::EncodingDirs] to permit * generic/tclInt.h: query/set of the encoding search path at * generic/tclInterp.c: the script level. Updated init.tcl to make * library/init.tcl: use of the new command. Also updated several coding practices in init.tcl ("eq" for [string equal], etc.)
* fixed Bug 1185933Kevin B Kenny2005-04-191-22/+41
|
* * library/init.tcl: Use auto-loading to bring in Tcl Moduledgp2005-04-153-45/+35
| | | | | | * library/tclIndex: support as needed. This reduces startup * library/tm.tcl: time by delaying this initialization to a later time.
* Performance improvement in [clock] - FR 1182459Kevin B Kenny2005-04-131-4/+4
|
* Olson's tzdata2005hKevin B Kenny2005-04-1010-1021/+77
|
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-242-18/+15
| | | | | | | | | * tests/tcltest.test: failed attempts to [source] a directory, and similar matters. Thanks to "mpettigr". [Bug 1119798] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8 * unix/Makefile.in: * win/Makefile.in:
* 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.