| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(Greenwich in several aliases; Navajo; Acre). Updated Paraguayan
DST rules and "best guess" at this year's Israeli rules.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
the variables ::errorCode and ::errorInfo. This is needed when
the [::bgerror] command is auto-loaded (as it is by Tk).
|
|
|
|
|
| |
a time zone to allow for time zones specified as +HH or -HH.
* tests/clock.test: Added regression test case for the above issue.
|
|
|
|
| |
operations on the search path does not also normalize. [Bug 1072136]
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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].
|
| |
|
|
|
|
|
|
|
| |
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].
|
|
|
|
|
|
| |
relevant to users. [Patch 1056864]
Also patches to core to take advantage of this
Also other general cleaning up of Tcl_WrongNumArgs usage
|
|
|
|
| |
* library/tm.tcl: Even found bugs, these have been corrected.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
| |
to include any [<pkg>::pkgconfig get scriptdir,runtime] directory, as well as the $::auto_path. [RFE 695441]
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
|
| |
* tests/msgcat.test: from registering filesystem paths to possibly
malicious code to be evaluated by a later [mcload].
|
|
|
|
| |
make use of [glob -directory $dir -tails] and return options.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
safe-2.1 will now fail until Bug 999612 is corrected.
|
|
|
|
|
|
| |
* library/tclIndex: [pkg_compareExtension] into ::tcl::Pkg.
* tests/pkg_mkIndex.test: Also moved implementation of
[::pkg::create] to [::tcl::Pkg::Create].
|
| |
|
|
|
|
|
| |
* library/auto.tcl: ::unknown_pending into ::tcl namespace.
* library/init.tcl: [Bugs 808319, 948794]
|
|
|
|
|
|
|
|
|
|
| |
* 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/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/pkgIndex.tcl: if TCLTEST_OPTIONS value. Updated
* tests/tcltest.test: tcltest-19.1 to tcltest 2.1 behavior.
Bumped to tcltest 2.2.6.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
interactive command completion in [unknown]. [Bug 946952]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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]
|
|
|
|
| |
copied to Mac systems (only requires Tcl 8.3).
|
| |
|