| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
"pure unicode" representation of an empty string. Thanks to Julian
Noble for reporting the problem. [Bug 2803109]
|
|
|
|
|
|
|
|
|
|
| |
* library/clock.tcl: Bison parser (needed a %pure-parser
* tests/clock.test: declaration to avoid static variables).
Discovered that the %pure-parser declaration
allowed for returning the Bison error message
to the Tcl caller in the event of a syntax
error, so did so.
* generic/tclDate.c: bison 2.3
|
| |
|
|
|
|
|
| |
a table of static constants in the lookup table for exponent operator
computations that fit in a 64 bit integer result.
|
|
|
|
| |
logic of the INST_EXPON instruction to fix [Bug 2798543].
|
| |
|
| |
|
| |
|
|
|
|
|
| |
insure that a command in a deleted namespace cannot be found
through a cached name.
|
|
|
|
|
| |
* generic/tclCompile.h: stack: 200 words (previously was 2000,
* generic/tclExecute.c: the same as interps)
|
|
|
|
| |
[string repeat]. [Bug 2582327]
|
| |
|
| |
|
|
|
|
| |
is not used, use Tcl_NRCallObjProc instead [Bug 2486550].
|
| |
|
| |
|
|
|
|
|
| |
flag inside the Tcl_WrongNumArgs function,
so the caller no longer has to do the reset.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tclUnixChan.c: embedding into applications that
* unix/tclUnixEvent.c: already have a CFRunLoop running and
want to run the tcl event loop via
Tcl_ServiceModeHook(TCL_SERVICE_ALL).
* macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and
* unix/tclUnixChan.c: TclUnixWaitForFile() implementations
* unix/tclUnixEvent.c: and disable select() based ones in
CoreFoundation builds.
* unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c.
* generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode()
* generic/tclIntPlatDecls.h: internal API, regen.
* generic/tclStubInit.c:
|
|
|
|
| |
TCL_GROWTH_MIN_ALLOC is everywhere expressed in bytes as comment claims.
|
|
|
|
|
|
| |
* tests/fileName.test: the wrong results for both [file dirname] and
[file tail] on "path" arguments with the PATHFLAGS != 0 intrep and
with an empty string for the "joined-on" part. [Bug 2710920]
|
| |
|
| |
|
|
|
|
| |
[Bug 2502037].
|
|
|
|
|
|
|
| |
* generic/tclInt.h: ensembles. Only remaining known leak
* generic/tclInterp.c: is in ensemble unknown dispatch (as it
* generic/tclNamesp.c: not NR-enabled)
* tests/tailcall.test:
|
|
|
|
|
|
| |
* tests/tailcall.test: added tests to show that [tailcall] does
not currently always execute in constant space: interp-alias,
ns-imports and ensembles "leak" as of this commit.
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: Tailcalls now perform properly even from
* generic/tclExecute.c: within [eval]ed scripts.
* generic/tclInt.h: More tests missing, as well as proper
exploration and testing of the interaction with "redirectors" like
interp-alias (suspect that it does not happen in constant space)
and pure-eval commands.
|
|
|
|
|
|
| |
* tests/nre.test: the failing assertion that was disabled on
2008-12-18: the assertion is correct, the fault was in the
management of expansions.
|
|
|
|
| |
* tests/tailcall.test: from within a compiled [eval] body.
|
|
|
|
| |
the max length of a Tcl value. [Bug 2669109]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
Tcl_SetErrorCode() out of TclLookupSimpleVar and onto its callers,
where control with TCL_LEAVE_ERR_MSG flag is more easily handled.
[Bug 2689307]
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Diagnose and fix thx to GPS.
|
| |
|
| |
|
| |
|
|
|
|
| |
don't use CONST84/CONST86 in internal header files
|
|
|
|
|
|
|
| |
on the strObj->typePtr so that untyped values get converted to the
"string" type and pass through the Unicode matcher. [Bug 2613766]
Also added checks to only perform "bytearray" optimization on pure
bytearray values. [Bug 2637173].
|
|
|
|
|
| |
* generic/tclExecute.c: optimizations for the tclByteArrayType, stop
having the callers do them.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patterns between Unicode and UTF string reps. Most notably the
call: objPtr = Tcl_NewUnicodeObj(...,0); followed by a loop of calls:
Tcl_AppendUnicodeToObj(objPtr, u, n); will now grow and append to
the Unicode representation. Before this commit, the sequence would
convert each append to UTF and perform the append to the UTF rep.
This is puzzling and likely a bug. The performance of [string map]
is significantly improved by this change (according to the MAP
collection of benchmarks in tclbench). Just in case there was some
wisdom in the old ways that I missed, I left in the ability to restore
the old patterns with a #define COMPAT 1 at the top of the file.
|
|
|
|
|
|
| |
* tests/fileName.test: that assumed (not "absolute" => "relative").
This is a false assumption on Windows, where "volumerelative" is
another possibility. [Bug 2571597].
|
| |
|
| |
|
|
|
|
| |
Tcl_*SetObjLength() routines.
|
| |
|
|
|
|
|
|
|
|
| |
has parallel structure with GrowUnicodeBuffer(). The revision permits
allocation attempts to continue all the way up to failure, with no gap.
It also directly manipulates the String and Tcl_Obj internals instead
of inefficiently operating via Tcl_*SetObjLength() with all of its
extra protections and underdocumented special cases.
|