| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
|
| |
compilation on VC++.
* generic/tclExecute.c: Silenced several VC++ compiler warnings about
converting 'long' to 'unsigned short'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
zero strings passed as the "permissions" argument as octal numbers,
even if Tcl itself no longer parses integers in that way.
* unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so
that it interprets leading zero strings as octal numbers, even if Tcl
itself no longer parses integers in that way.
* generic/tclCompExpr.c: Corrections to code that produces
* generic/tclUtil.c: extended "bad octal" error messages.
* tests/cmdAH.test: Test revisions so that tests pass whether or
* tests/cmdIL.test: not Tcl parses leading zero strings as octal.
* tests/compExpr-old.test:
* tests/compExpr.test:
* tests/compile.test:
* tests/expr-old.test:
* tests/expr.test:
* tests/incr.test:
* tests/io.test:
* tests/lindex.test:
* tests/link.test:
* tests/mathop.test:
* tests/parseExpr.test:
* tests/set.test:
* tests/string.test:
* tests/stringComp.test:
|
|
|
|
| |
after the end of buffer, [Bug 1813528] (Joe Mistachkin).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/string.test: to report correct failindex values for
non-decimal integer strings. [Bug 1805887].
* compat/strtoll.c (removed): The routines strtoll() and strtoull()
* compat/strtoull.c (removed): are no longer called by the Tcl source
* generic/tcl.h: code. (Their functionality has been replaced
* unix/Makefile.in: by TclParseNumber().) Remove outdated comments
* unix/configure.in: and mountains of configury autogoo that
* unix/tclUnixPort.h: allegedly support the mythical systems where
* win/Makefile.in: these routines might not have been available.
* win/makefile.bc:
* win/makefile.vc:
* win/tclWinPort.h:
* unix/configure: autoconf-2.59
|
| |
|
| |
|