| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
error when a script does [lindex {} end foo]; an overaggressive
optimisation caused this call to return an empty object rather
than an error.
|
|
|
|
|
| |
* tests/clock.test (clock-60.*): case-insensitive
matching of time zone and month names. [Bug 1781282]
|
|
|
|
|
|
|
| |
* tests/expr.test (expr-23.48-53) integer exponentiation
that results in 32- and 64-bit integer results, avoiding calls to
wide integer exponentiation routines in this common case.
[Bug 1767293]
|
|
|
|
|
|
| |
* tests/compExpr.test: to restore literal sharing. Preserve numeric
intreps when literals are created for the first time. Correct memleak
in ExecConstantExprTree() and add test for the leak.
|
|
|
|
|
| |
* tests/main.test: newline from an interactively typed command.
[Bug 1775878].
|
|
|
|
| |
init.tcl on windows due to no tcl_pkgPath.
|
| |
|
|
|
|
|
|
| |
* tests/thread.test: ::errorInfo and ::errorCode so that string
* tests/trace.test: reported to variable traces are fully
qualified in agreement with Tcl 8.4 operations.
|
|
|
|
|
|
| |
issues with loading from memory on intel and 64bit; add debug messages.
* tests/load.test: add test load-10.1 for loading from vfs.
|
|
|
|
| |
* tests/trace.test: Tcl_LogCommandInfo() call. [Bug 1773040]
|
|
|
|
|
| |
* tests/trace.test (trace-2.6): whole array write traces on
compiled local variables were not firing [Bug 1770591]
|
|
|
|
| |
* tests/expr.test: to *SHIFT operations. [Bug 1770224].
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompExpr.c: Added a "mark" field to the OpNode
struct, which is used to guide tree traversal. This field costs
nothing since alignement requirements used the memory already.
Rewrote ConvertTreeToTokens() to use the new field, which permitted
consolidation of utility routines CopyTokens() and
GenerateTokensForLiteral().
|
|
|
|
| |
*** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h)
|
|
|
|
|
|
| |
* tests/parseExpr.test: Several tests of syntax error messages
to check that when expression substrings are truncated they leave
visible the context relevant to the reported error.
|
|
|
|
|
|
| |
* generic/tclTest.c: TclCheckInterpTraces that led to infinite loop
* tests/trace.test: when multiple Tcl_CreateTrace traces were set
and one of them did not fire due to level restrictions. [Bug 1743931].
|
|
|
|
|
|
|
| |
* generic/tclExecute.c (INST_INVOKE): traces that were created
* tests/trace.test (trace-36.2): during execution of an
originally untraced command do not fire [Bug 1740962], partial
fix.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c: INST_INVOKE to essentially what they were
* generic/tclBasic.c: previous to the commit of 2007-04-03
[Patch 1693802] and the subsequent optimisations, as they break
the new trace tests described below.
* generic/trace.test: added tests 36 to 38 for dynamic trace
creation 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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|