| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
only free dstring on OK from TclReToGlob.
|
|
|
|
| |
We never used or supported it. [Bug 1831425]
|
|
|
|
|
| |
too complex. Fix [regexp] compiler so that non-trivial literal regexps get fed to
INST_REGEXP.
|
| |
|
| |
|
|
|
|
| |
cheap no-op.
|
| |
|
|
|
|
|
|
| |
THIS PATCH WAS REVERTED: initial (mis)measurements overstated the
perfomance wins, which turn out to be tiny. Not worth the
complication.
|
|
|
|
| |
macros due to compiler warning. These cases won't save time either.
|
|
|
|
| |
result if specified on error.
|
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c: bit INTERP_RESULT_UNCLEAN: shortcut for
* generic/tclInt.h: Tcl_ResetResult for the "normal" case:
* generic/tclProc.c: TCL_OK, no return options, no errorCode
* generic/tclResult.c: nor errorInfo, return at normal level.
* generic/tclStubLib.c: [Patch 1830184]
* generic/tclUtil.c:
|
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c, generic/tclInt.decls, generic/tclIntDecls.h:
* generic/tclRegexp.c, generic/tclRegexp.h: Add INST_REGEXP and fully
* generic/tclStubInit.c, generic/tclUtil.c: compiled [regexp] for the
* tests/regexpComp.test: [Bug 1830166] simple cases. Also
added TclReToGlob function to convert RE to glob patterns and use
these in the possible cases.
|
| |
|
|
|
|
| |
objTypes.
|
| |
|
| |
|
|
|
|
| |
index is not a list.
|
|
|
|
|
|
| |
* unix/configure.in:
* unix/tclUnixInit.c: detect stack grwoth direction at compile
time, only fall to runtime detection when crosscompiling.
|
|
|
|
| |
* generic/tclInt.h: int64_t overflow.
|
| |
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* unix/tclUnixInit.c:
* win/tclWin32Dll.c: restore simpler behaviour for stack checking,
not adaptive to stack size changes after a thread is
launched. Consensus is that "nobody does that", and so it is not
worth the cost.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* unix/tclUnixInit.c:
* unix/tclUnixPort.h:
* win/tclWin32Dll.c: modify the stack checking algorithm to
recheck in case of failure. The working assumptions are now that
(a) a thread's stack is never moved, and (b) a thread's stack can
grow but not shrink. Port to windows - could be more efficient,
but is already cheaper than it was.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c:
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclUnixInit.c:
* generic/tclUnixPort.h: new fields in interp (ekeko!) to cache
TSD data that is accessed at each command invocation, access
macros to replace Tcl_AsyncReady and TclpCheckStackSpace by much
faster variants [Patch 1829248]
|
|
|
|
|
|
| |
* generic/tclExecute.c, generic/tclUtil.c: TclByteArrayMatch
and don't allow a nocase option. [Bug 1828296]
For INST_STR_MATCH, ignore pattern type for TclByteArrayMatch case.
|
|
|
|
| |
func jump
|
| |
|
|
|
|
|
|
|
| |
* generic/tclInt.decls, generic/tclIntDecls.h: added TclByteArrayMatch
* generic/tclUtil.c (TclByteArrayMatch): for efficient glob
* generic/tclExecute.c (TclExecuteByteCode): matching of ByteArray
Tcl_Objs, used in INST_STR_MATCH. [Bug 1827996]
|
| |
|
|
|
|
| |
for [gets].
|
|
|
|
|
|
|
|
| |
encoding handler that is faster (functions to do the encoding know
exactly what they're doing instead of pulling it from a table,
though the table itself has to be retained for use by shift
encodings that depend on iso8859-1.) [Patch 1826906], committing
for dkf.
|
|
|
|
|
|
|
| |
the config database if the encoding provided by the user is not
found (venc == NULL). Scripts expecting the data will error out,
however we neither crash nor provide bogus information. See [SF
Tcl Bug 983509] for more discussion.
|
|
|
|
|
|
|
|
| |
iso8859-1 as a fallback if the user supplied encoding was not
found. That way we do not crash. It is unclear however if this
is a sane fallback given that the encoding is likely wrong and
producing bogus strings. See [SF Tcl Bug 983509] for more
discussion.
|
|
|
|
|
|
|
| |
* generic/tclVar.c (TclObjLookupVarEx):
* tests/set.test (set-5.1): fix error branch when array name looks
like array element (code not normally exercised).
x
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/init.tcl: CVS development snapshots from the 8.5b2
* unix/configure.in: release.
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf (2.59)
* win/configure:
|
|
|
|
| |
concatenees being empty objs [Bug 1447328]
|
| |
|
|
|
|
|
| |
names are searched from the global namespace, ie, bypassing
resolvers of the current namespace [Bug 1114355].
|
| |
|
|
|
|
|
|
| |
* generic/tclInt.h: moved declaration of TclSetCmdNameObj from
tclCompile.h to tclInt.h, reverting linker [Bug 1821159] caused by
commit of 2007-10-11 (both I and gcc missed one dep).
|
|
|
|
| |
lookups by name, partially addressing [Bug 1793601]
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf (2.59)
* win/configure:
|
| |
|
|
|
|
|
| |
Tcl_MutexFinalize and Tcl_ConditionFinalize to prevent from garbling
the internal list that track synchronization objects.
|
|
|
|
| |
* generic/tclExecute.c:
|
|
|
|
|
|
|
|
| |
values get pulled out of the dictionary, even if they are integer
valued.
* generic/tclCompCmds.c (TclCompileReturnCmd): Added code to
more optimally compile [return -level 0 $x] to "push $x". [RFE 1794073]
|