| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* tests/tailcall.test: from within a compiled [eval] body.
|
|
|
|
|
| |
Tcl_AppendStringsToObj() no longer crashes when operating on a
pure unicode value. [Bug 2597185]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclBasic.c:
* generic/tclExecute.c:
* generic/tclNamesp.c (Tcl_PopCallFrame): Rewritten tailcall
implementation, ::unsupported::atProcExit is (temporarily?)
gone. The new approach is much simpler, and also closer to being
correct. This commit fixes [Bug 2649975] and [Bug 2695587].
* tests/coroutine.test: Moved the tests to their own files,
* tests/tailcall.test: removed the unsupported.test. Added
* tests/unsupported.test: tests for the fixed bugs.
|
| |
|
| |
|
|
|
|
| |
brittle.
|
|
|
|
|
|
| |
* tests/fileName.test: that assumed (not "absolute" => "relative").
This is a false assumption on Windows, where "volumerelative" is
another possibility. [Bug 2571597].
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclStringObj.c: Convert Tcl_AppendStringsToObj into
* tests/stringObj.test: a radically simpler implementation
where we just loop over calls to Tcl_AppendToObj. This fixes [Bug
2597185]. It also creates a *** POTENTIAL INCOMPATIBILITY *** in
that T_ASTO can now allocate more space than is strictly required,
like all the other Tcl_Append* routines. The incompatibility was
detected by test stringObj-6.5, which I've updated to reflect the
new behavior.
|
|
|
|
|
| |
* tests/stringObj.test: command with [teststringobj maxchars] and
update the tests.
|
|
|
|
|
|
|
| |
* generic/tclTestObj.c: accesses when we append (some part of)
* tests/stringObj.test: a Tcl_Obj to itself. Added the
appendself and appendself2 subcommands to the [teststringobj] testing
command and added tests to the test suite. [Bug 2603158]
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* tests/interp.test: ensemble. Such conversion is not necessary
* tests/nre.test: (or even all that helpful) in the NRE-enabling
of [interp invokehidden], and it has other implications -- including
significant forkage of the 8.5 and 8.6 implementations -- that are
better off avoided if there's no gain.
|
| |
|
| |
|
|
|
|
|
|
| |
* tests/interp.test: [namespace ensemble]. Work in progress
* tests/nre.test: to NRE-enable the [interp invokehidden]
subcommand.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
which is supposed to be tested...)
|
|
|
|
|
|
| |
in certain values to construct those values with [testdstring] so
there's no lack of robustness depending on the shimmer history of
shared literals.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
in the case where [clock add] is presented with a bad switch.
* tests/clock.test (clock-65.1) Added a test case for the above
problem [Bug 2481670].
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
returned TCL_RETURN return code, with more conventional ones
that return TCL_OK to suppress otherwise strange writes of
outdated $::errorInfo values to stderr. [Bug 2444274].
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rewrite the half-close to properly flush the channel, like is done
for a full close, going through FlushChannel, and using the flag
BG_FLUSH_SCHEDULED (async flush during close). New functions
CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE.
* tests/chanio.test (chanio-28.[67]): Reactivated these
tests. Replaced tclsh -> [interpreter] to get correct executable
for the pipe process, and added after cancel to kill the fail
timers when we are done. Removed the explicits calls to [flush],
now that [close] handles this correctly.
|
| |
|
|
|
|
| |
Note that there may be "quality-of-implementation" issues left...
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* tests/io.test: internal representation of the tclChannelType to
contain not only the ChannelState pointer, but also a reference to
the interpreter it was made in. Invalidate and recompute the
internal representation when it is used in a different interpreter
(Like cmdName intrep's). Added testcase. [Bug 2407783].
|
| |
|
|
|
|
| |
between 0 and -12 [Bug 2207436].
|
| |
|