| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
and addition. These tests expose a change in dynamics due to a
recent round of optimisations. The "correct" behaviour is not
described in docs nor TIP 62. Currently test 36.2 fails, the opts
will be rolled back.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h: control the timing with which the global
* generic/tclNamesp.c: variables ::errorCode and ::errorInfo get
* generic/tclProc.c: updated after an error. This keeps more
* generic/tclResult.c: precise compatibility with Tcl 8.4.
* tests/result.test (result-6.2): [Bug 1649062]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c: TCL_TOKEN_EXPAND_WORD tokens representing
* generic/tclCompile.h: expanded literal words. These sections were
mostly in place to enable [info frame] to discover line information
in expanded literals. Since the parser now generates a token for
each post-expansion word referring to the right location in the
original script string, [info frame] gets all the data it needs.
* generic/tclInt.h: Revised the parser so that it never produces
* generic/tclParse.c: TCL_TOKEN_EXPAND_WORD tokens when parsing an
* tests/parse.test: expanded literal word; that is, something like
{*}{x y z}. Instead, generate the series of TCL_TOKEN_SIMPLE_WORD
tokens to represent the words that expansion of the literal string
produces. [RFE 1725186]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure:
* README: Bump version number to 8.5a7
* generic/tcl.h:
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections
* tests/info.test: that continued to support the deprecated
* tests/mathop.test: {expand} syntax. Updated the few remaining
users of that syntax in the test suite.
|
|
|
|
|
|
|
|
|
| |
in a private namespace, to avoid polluting the global one. This
problem was discovered when running the test suite '-singleproc 1
-skip exec.test' because the 'path' variable in encoding.test
conflicted with the one in io.test.
* tests/io.test: Made more of the working variables private to the
namespace.
|
|
|
|
|
| |
clean up after the 'testobj' extension to avoid spurious
reports of memory leaks.
|
| |
|
|
|
|
| |
catenation, and fixed an oversight in the fix for NZA time zones.
|
| |
|
|
|
|
|
|
| |
military time zone input conversion. [Bug 1586828].
* generic/tclGetDate.y (MilitaryTable): Fixed an ancient bug where
the military NZA time zones had the signs reversed [Bug 1586828].
|
|
|
|
|
|
| |
test case that depended on ":localtime" being able to handle
dates prior to the Posix epoch, [Bug 1618445] Added a test
case for the dates of the Japanese emperors. [Bug 1637471]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and 'lowercase' in clock.n. [Bug 1656002]
Clarified that [clock scan] does not recognize a locale's
alternative calendar.
* library/clock.tcl: Corrected an error in skipping over the
%Ey field on input.
* library/msgs/ja.msg:
* tools/loadICU.tcl: Corrected several localisation faults in
the Japanese locale (most notably, incorrect dates for the
Emperors' eras). [Bug 1637471]. Many thanks to SourceForge
user 'nyademo' for pointing this out and developing a fix.
* generic/tclPathObj.c: Corrected a 'const'ness fault that
caused bitter complaints from MSVC.
|
|
|
|
|
|
|
|
| |
error on VC2005.
* library/clock.tcl: Restored unique-prefix matching of keywords
on the [clock] command. [Bug 1690041]
* tests/clock.test: Added rudimentary test cases for unique-prefix
matching of keywords.
|
| |
|
|
|
|
|
|
| |
* tests/apply.test (9.3): Fixed Tcl_Obj leak on error return; an
unneeded ref to lambdaPtr was being set and not released on an
error return path.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDate.c: Rebuilt, despite Donal Fellows's comment when
committing it that no rebuild was required.
* generic/tclGetDate.y: According to Donal Fellows, "Introduce
modern formatting standards; no need for rebuild of tclDate.c."
* library/tzdata/America/Cambridge_Bay:
* library/tzdata/America/Havana:
* library/tzdata/America/Inuvik:
* library/tzdata/America/Iqaluit:
* library/tzdata/America/Pangnirtung:
* library/tzdata/America/Rankin_Inlet:
* library/tzdata/America/Resolute:
* library/tzdata/America/Yellowknife:
* library/tzdata/Asia/Choibalsan:
* library/tzdata/Asia/Dili:
* library/tzdata/Asia/Hovd:
* library/tzdata/Asia/Jakarta:
* library/tzdata/Asia/Jayapura:
* library/tzdata/Asia/Makassar:
* library/tzdata/Asia/Pontianak:
* library/tzdata/Asia/Ulaanbaatar:
* library/tzdata/Europe/Istanbul: Upgraded to Olson's tzdata2007d.
* generic/tclListObj.c (TclLsetList, TclLsetFlat):
* tests/lset.test: Changes to deal with shared internal
representation for lists passed to the [lset] command. Thanks to
Don Porter for fixing this issue. [Bug 1677512]
|
|
|
|
|
|
|
| |
key names correctly, so that Unicode names exceeding 127 chars
can be retrieved without crashing. [Bug 1682211]
* tests/registry.test (registry-4.9): Added test case for the
above bug.
|
| |
|
| |
|
|
|
|
|
|
| |
* tests/foreach.test (foreach-10.1): of value list to be assigned
to variables so that shimmering of that list doesn't lead to invalid
pointers. [Bug 1671087]
|
|
|
|
|
|
| |
* tests/event.test (event-5.3): of the command prefix for the interp's
background error handling command to avoid panics due to pointers
to memory invalid after shimmering. [Bug 1670155]
|
|
|
|
|
|
|
| |
* tests/namespace.test (namespace-42.8): private copy of the
command prefix as we invoke the command appropriate to a particular
subcommand of a particular ensemble to avoid panic due to shimmering
of the List intrep. [Bug 1670091]
|
|
|
|
|
| |
* tests/var.test (var-17.1): the "list" argument to [array set] to
avoid crash due to shimmering invalidating pointers. [Bug 1669489].
|
| |
|
|
|
|
|
| |
'loadTestedCommands' function of tcltest to bring in the
correct path for the registry library.
|
|
|
|
|
|
| |
the code for version-2 'zoneinfo' files.
* tests/clock.test (clock-56.3): Added a test case for Y2038 and
'zoneinfo'.
|
|
|
|
|
|
|
|
|
| |
(restoring missing Mexican time zones). Added rudimentary handling of
version-2 'zoneinfo' files. Update US DST rules so that zones
such as 'EST5EDT' get the correct transition dates.
* tests/clock.test: Added rudimentary test cases for 'zoneinfo'
parsing. Adjusted several tests that depended on obsolete
US DST transition rules.
|
| |
|
| |
|
|
|
|
|
| |
TclInvalidateStringRep() call when we directly manipulate the
intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
|
|
|
|
|
|
| |
to work, immediate operands referring to aux-data must be identified as such in the instruction descriptor table using OPERAND_AUX4 (all are always 4 bytes).
Rewrote the compiled [dict update] so that it stores critical non-varying data in an aux-data value instead of a (shimmerable) literal. [Bug 1671001]
|
|
|
|
|
| |
* tests/foreach.test (foreach-1.14): useful error information when
loop variable sets fail.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
satisfying a require for the regular package, demonstrating a
corner case specified in TIP#280. More notes in the comments to
the test.
|
| |
|
|
|
|
|
|
| |
* tests/namespace.test: introduced in Patch 1577278 that caused
[namespace delete ::] to be effective only at level #0. New test
namespace-7.7 should prevent similar error in the future. [Bug 1655305]
|
|
|
|
|
| |
* tests/namespace.test: TclMatchIsTrivial optimization on
[namespace children $namespace $pattern].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of Mac OS X, truncate() fails on resource forks, in that case use
open() with O_TRUNC instead.
* macosx/tclMacOSXNotify.c: accommodate changes to prototypes of
OSSpinLock(Un)Lock API.
* macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars
* macosx/Tcl.xcodeproj/default.pbxuser: are defined when running
testsuite from Xcode.
* tests/env.test: add extra system env vars that need to be preserved
on some Mac OS X versions for testsuite to work.
* unix/Makefile.in: move libtommath defines into configure.in to avoid
* unix/configure.in: replicating them across multiple buildsystems.
* macosx/Tcl.xcodeproj/project.pbxproj:
* unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
present in CFLAGS to avoid discrepancies between what headers configure
sees during preprocessing tests and compiling tests.
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Clear the TCL_ENCODING_END flag when end
bytes are written. This fix keep this method
from writing escape bytes for an encoding
like iso2022-jp multiple times when the
escape byte overlap with the end of the
IO buffer.
* tests/io.test: Add test for escape
byte overlap issue.
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/load.test: unloading on Darwin (in addition to
* tests/unload.test: existing tests of .dylib loading).
* macosx/Tcl.xcodeproj/project.pbxproj: add building of dltest binaries
so that testsuite run from Xcode can use them; fix testsuite run script.
* unix/configure.in: add support for building dltest binaries as
* unix/dltest/Makefile.in: .bundle (in addition to .dylib) on Darwin.
* unix/Makefile.in: add stub lib dependency to dltest target.
* unix/configure: autoconf-2.59
|
| |
|
|
|
|
| |
causing error in event.test when running testsuite with -singleproc 1.
|