| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/clock.tcl (::tcl::clock::format):
* tests/clock.test (clock-1.0, clock-1.4):
Performance enhancements in [clock format] (moving
the analysis of $args into C code, holding on to
Tcl_Objs with resolved command names, [lassign]
in place of [foreach], avoiding [namespace which]
for command resolution).
|
| |
|
|
|
|
| |
in-place concatenation (was going over String type)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: Bump to 8.5.1 for release.
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: simplify code that might need to grow
* generic/tclCompExpr.c: an array of Tcl_Tokens in the parsePtr
* generic/tclParse.c: field of a Tcl_Parse. Replaces the
TclExpandTokenArray() routine via replacing:
int needed = parsePtr->numTokens + growth;
while (needed > parsePtr->tokensAvailable) {
TclExpandTokenArray(parsePtr);
}
with:
TclGrowParseTokenArray(parsePtr, growth);
This revision merged over from dgp-refactor branch.
|
|
|
|
|
|
|
| |
* generic/tclInt.decls: a MODULE_SCOPE routine declared in tclCompile.h.
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
|
|
|
|
|
| |
Tcl_EvalObjEx() to evaluate [after] callbacks. Part of trend to
favor compiled execution over direct evaluation.
|
|
|
|
|
| |
* tests/cmdIL.test (cmdIL-7.7): fix crash on reversing an empty
list [Bug 1876793].
|
|
|
|
| |
[Bug 1869405] (Ficicchia)
|
|
|
|
|
| |
of numeric and boolean literals when compiling expressions with
(optimize == 1).
|
|
|
|
|
|
| |
* generic/tclCompile.c: TclCompileExpr() to profit from better
* generic/tclCompile.h: literal management according to usage.
* generic/tclExecute.c:
|
|
|
|
| |
* generic/tclExecute.c: (dgp)
|
|
|
|
|
| |
* generic/tclCompExpr.c: of struct TclOpCmdClientData to
* generic/tclCompile.h: accomodate C++ compilers [Bug 1855644]
|
|
|
|
|
| |
* tests/format.test: account for big.used == 0 corner case in the
%ll(idox) format directives. [Bug 1867855].
|
|
|
|
|
|
|
|
|
|
|
| |
* library/init.tcl: CVS development snapshots from the 8.5.0 and
* unix/configure.in: 8.5.1 releases.
* unix/tcl.spec:
* win/configure.in:
* README
* unix/configure: autoconf (2.59)
* win/configure:
|
|
|
|
|
|
|
|
| |
function MergeSort is gone, essentially inlined into
Tcl_LsortObjCmd. It is not a straight inlining, two loops over all
lists elements where merged in the process: the linked list
elements are now built and merged into the temporary sublists in
the same pass.
|
|
|
|
|
|
| |
Extra mem reqs of latest patches removed, restored to previous mem
profile. Improved -unique handling, now eliminating repeated elems
immediately instead of marking them to avoid reinsertion at the end.
|
|
|
|
|
| |
* tests/regexp.test (regexp-22.2): be used because it
* tests/regexpComp.test: [Bug 1857126] disallows backrefs.
|
| |
|
|
|
|
| |
calling SelectObjFromSublist when there are no sublists.
|
|
|
|
|
|
| |
sufficient length for the sorted list instead of growing
it. Second commit replaces calls to Tcl_ListObjAppenElement with
direct access to the internal rep.
|
|
|
|
| |
sufficient length for the sorted list instead of growing it.
|
|
|
|
|
|
| |
* tests/switch.test-14.*: compilation to pass
the cflags to INST_REGEXP (changed on 12-07). Added tests for
switch -regexp compilation (need more). [Bug 1854399]
|
|
|
|
|
|
|
| |
generate very large automata. An enormous number of thanks to Will
Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom
Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in
tracking these problems down. [Bug 1810264]
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclThreadAlloc.c: Fix alignment for memory returned by
TclStackAlloc; insure that all memory allocators align to 16-byte
boundaries on 64 bit platforms [Bug 1851832, 1851524]
|
|
|
|
| |
conversion of vfs mounts. [Bug 1602539]
|
| |
|
|
|
|
| |
when not necessary
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIntDecls.h: to tclInt.h from stubs.
* generic/tclStubInit.c: Add flags var to TclByteArrayMatch for
* generic/tclInt.h: future extensibility
* generic/tcl.h: define TCL_MATCH_EXACT doc for Tcl_StringCaseMatch.
* doc/StrMatch.3: It is compatible with existing usage.
* generic/tclExecute.c (INST_STR_MATCH): flag for TclByteArrayMatch
* generic/tclUtil.c (TclByteArrayMatch, TclStringMatchObj):
* generic/tclRegexp.c (Tcl_RegExpExecObj):
* generic/tclCmdMZ.c (StringMatchCmd): Use TclStringMatchObj
* tests/string.test (11.9.* 11.10.*): more tests
|
|
|
|
|
|
|
| |
* generic/tclIntDecls.h: [Bug 1834288]
* generic/tclIntPlatDecls.h:
* generic/tclPlatDecls.h:
* generic/tclStubInit.c:
|
|
|
|
|
|
| |
* generic/tclInt.decls: mark exported symbols not in stubs
* generic/tclTomMath.decls: table [Tk FR 1716117]; cleanup
formatting.
|
| |
|
|
|
|
|
| |
* generic/tclIO.c (SetChannelFromAny): internal rep only after
validating channel rep. [Bug 1847044]
|
| |
|
|
|
|
|
| |
* generic/tclCompCmds.c (TclCompileRegexpCmd): Pass correct RE
compile flags at compile time, and use TCL_REG_NOSUB.
|
|
|
|
| |
TCL_REG_NOSUB as we come here without capture vars.
|
|
|
|
| |
stdout channel object for [puts $str] calls.
|
| |
|
| |
|
| |
|
|
|
|
| |
TclMakeEnsemble to do most of the work.
|
| |
|
|
|
|
|
|
|
| |
* generic/tclIO.c: overhead in lookup by Tcl_GetChannel. New
* generic/tclIOCmd.c: TclGetChannelFromObj for internal use.
* generic/tclIO.c (WriteBytes, WriteChars): add opt check to avoid
EOL translation when not linebuffered or using lf. [Bug 1845092]
|
|
|
|
| |
[Bug 1844789]
|
| |
|