summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* TIP#208 implementationdkf2005-06-061-1/+21
| | | | | | It's crude (especially in the tests and docs department) and incomplete (no truncation on non-POSIX platforms). FossilOrigin-Name: 3280056391a69ec28c5ea78944729c2ada97777e
* Remove blatant inefficiency in [parray]dkf2005-06-031-3/+4
| | | FossilOrigin-Name: 602628a115abd09c14990340b1b6eaecb5ec80d1
* * 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. FossilOrigin-Name: f259162cb69e42a9521367b5c8e6e6c43367e296
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-105-5/+5
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-281-2/+2
| | | | | | * tests/main.test: auto-completion. [Bug 1191409]. FossilOrigin-Name: 25b4da904a76ff9b7d0d1e31dd422cfe87621efc
* Olson's tzdata2005ikennykb2005-04-2516-15/+19
| | | FossilOrigin-Name: 908327be7a9aa942c22e1a19d7332ef0049e3f9a
* * library/init.tcl: Use "ni" and "in" operators.dgp2005-04-251-7/+7
| | | FossilOrigin-Name: c386e86f4f72d38000a3057a315d4be40866cbf7
* typodgp2005-04-191-2/+2
| | | FossilOrigin-Name: 301150ab879d59f64bd407bb2ae85c0f6b24e063
* * 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.) FossilOrigin-Name: b200066b4e0a9b976c5d4650474b0aec9610acd1
* fixed Bug 1185933kennykb2005-04-191-22/+41
| | | FossilOrigin-Name: 089af482d8e0b1512c6fd1b5ddd804630054ce69
* * 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. FossilOrigin-Name: 15c5551bacd2b7d5acee6227cc8f9ef2433399ff
* Performance improvement in [clock] - FR 1182459kennykb2005-04-131-4/+4
| | | FossilOrigin-Name: e8d3b262427427b287cf52e9c472017b5bb52cd5
* Olson's tzdata2005hkennykb2005-04-1010-1021/+77
| | | FossilOrigin-Name: 08ade9a5ab0477c80fac7fdabddd9e89a08356ca
* * 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: FossilOrigin-Name: 84d5cb440e939827421b93e1f1c528e4e1951d5e
* Added safety checksdgp2005-01-251-7/+13
| | | FossilOrigin-Name: 6547c5a7397a0cf5c90e1231d20b932ca892d89d
* * 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*** FossilOrigin-Name: 6eb15d6f3f8b4ebc9c97295a5d671c1ace8d69e8
* Routine update per Olson's tzdata2005c. Removed links to linkskennykb2005-01-1811-408/+284
| | | | | | | (Greenwich in several aliases; Navajo; Acre). Updated Paraguayan DST rules and "best guess" at this year's Israeli rules. FossilOrigin-Name: 31009e68728be11e096edfca4aabc66a330bda6e
* Horrible hack to keep the old error message.dkf2005-01-061-3/+11
| | | FossilOrigin-Name: 1fe8ca8d3eb87b656d1be832aad5270d17c40bec
* Performance updates to http::mapReply [1020491] and fix version numbering.dkf2005-01-062-26/+22
| | | FossilOrigin-Name: 78058a0d6fef213f10b85300a48e9ed6363b8388
* bugs 1090413, 1092789 fixedkennykb2004-12-291-8/+13
| | | FossilOrigin-Name: c237cdd9eca448e03244267b222acb6131c1eacc
* added comment about freewrap difficultiesdgp2004-12-011-1/+5
| | | FossilOrigin-Name: 30c87546ce07c6c2f70397a0f1a4befa70f924a2
* D'oh! Deal with missing ::errorCode or ::errorInfo.dgp2004-11-301-5/+5
| | | FossilOrigin-Name: 81f2f82396d8914996302e82d96f70d25a14f4e7
* * 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). FossilOrigin-Name: e254f917967fca26e5b98f5e13a3a3ad2c7d9c11
* * library/clock.tcl: Corrected the regular expressions that matchkennykb2004-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. FossilOrigin-Name: 25e02ac75c92bd5f556fd9e2590791e8aab3d61c
* * library/auto.tcl (tcl_findLibrary): Made sure the uniquifyingdgp2004-11-261-2/+2
| | | | | | operations on the search path does not also normalize. [Bug 1072136] FossilOrigin-Name: 6771608575f4ebc3300a62e06438b2840036bb6b
* remove knownBugs from clock tests by fixing themkennykb2004-11-031-3/+9
| | | FossilOrigin-Name: 2ddee576d4da00f49473293d6b39664c3a93085d
* * 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. FossilOrigin-Name: bfb33ac10c5a3e540d7e7514f4549cafca75dbbc
* 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]. FossilOrigin-Name: 8dd03226efce1793102c752ed73281847f10dc6b
* updates to Havana and Cuiaba time zoneskennykb2004-11-022-2/+1
| | | FossilOrigin-Name: 2a5075ede2037d19494a2de83e69784fa892ac03
* * 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]. FossilOrigin-Name: b8cfda2859fdc9e092360ead7d26b05ade0072ff
* 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 FossilOrigin-Name: 7162a54053e53f6f469b5d978fca906c9880d363
* * 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. FossilOrigin-Name: 7523fae991dbc8852ce2bc085bf6274f924fa58d
* * 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. FossilOrigin-Name: daaaa9dea489f3fbe419f1e47f6b9fb19025262c
* fixes for Bug 1054101kennykb2004-10-261-2/+4
| | | FossilOrigin-Name: 5a8bf31af4866d723b2efb8cc94fb1437b9f1436
* * 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. FossilOrigin-Name: 28692743679777d3176313e854956c38ccc52a40
* Flesh out tests and transform the TM manager API into an ensembledkf2004-10-251-94/+115
| | | FossilOrigin-Name: 31d53a1a5d3182d1249dfe8f14ed2278f586b9b7
* * library/clock.tcl: Fixed a typo where the fallback time zonekennykb2004-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. FossilOrigin-Name: 40a0ea2e1e8077dbb7a2285e57544d4dbf694ab4
* doubled speed of clock formatkennykb2004-10-211-274/+208
| | | FossilOrigin-Name: 0edf6ae28da4a3ae1aaf7a12b25fa18652a16b78
* synchronized to Olson's tzdata2004ekennykb2004-10-125-5/+197
| | | FossilOrigin-Name: 5818ca2c4840bb3278c8e3656bea7dffee7405db
* * 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 FossilOrigin-Name: be0a51bf83d10afe244073070ec115e0968c7a19
* * 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 FossilOrigin-Name: 49653405fd32fec18c5e3345b2d6cd4701a267ac
* many more TIP 173 changeskennykb2004-09-271-123/+310
| | | FossilOrigin-Name: e64761cd12de4d157037d35fed3c2419b268fd98
* Updated America/Montevideokennykb2004-09-221-0/+2
| | | FossilOrigin-Name: 0a4e37f4c10fc85108e2aa51c019d076fbf76f1e
* fixed a bug where %z was always positive in :localtimekennykb2004-09-101-5/+6
| | | FossilOrigin-Name: fa72d13149e9bc156b7390a2045704888b04a86c
* * generic/tclTimer.c: Removed a premature optimisation thatkennykb2004-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] FossilOrigin-Name: 58fb9afc4421cc6c54f32bf4ab254ee7c2f7f439
* * 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] FossilOrigin-Name: 72c6efe0bdd54053450a10d1c3a6463cb5bf79f4
* * library/clock.tcl (format): Changed default timezone format kennykb2004-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. FossilOrigin-Name: 4cde370a99d60912dd4c3a8cef15884f6452e46e
* * 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. FossilOrigin-Name: f6eaca8b8c8f1b0b486fa9fe25b3d694a2389f33
* unbreak Win build after TIP#173 and TIP#209 commitkennykb2004-08-181-23/+65
| | | FossilOrigin-Name: b01aea85244b63a3eb4a18aca4e19b46b49be177
* TIP #173 and #209 implementation - see ChangeLog for detailskennykb2004-08-18674-1/+54336
| | | FossilOrigin-Name: 251b9c6ecacca6de5ae9b2efc34597b499c02b3c