| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| |
| |
| | |
* generic/tclUtil.c: dead-end from the 8.5 alpha days.
|
| |
| |
| | |
invalid intrep. Thanks to Colin McDonald. [Bug 3202905]
|
|\ \
| |/
| |
| |
| | |
* generic/tclCompile.c: with TclParseBackslash() where possible.
* generic/tclParse.c:
* generic/tclUtil.c:
|
| |
| |
| |
| |
| |
| | |
* generic/tclCmdMZ.c: with TclParseBackslash() where possible.
* generic/tclCompExpr.c:
* generic/tclCompile.c:
* generic/tclUtil.c:
|
|\ \
| |/
| | |
to not overrun the string end. [Bug 3192636]
|
| |
| |
| | |
to not overrun the string end. [Bug 3192636]
|
|\ \
| |/
| | |
* tests/parse.test: \x and \u substitutions. [Bug 3200987]
|
| |
| |
| | |
* tests/parse.test: \x and \u substitutions. [Bug 3200987]
|
|\ \
| |/
| | |
more harm than good. Purged them.
|
| | |
|
| |
| |
| | |
more harm than good. Purged them.
|
| |
| |
| |
| | |
backported strcpy->memcpy change but not change in any struct.
|
| | |
|
| |
| |
| |
| | |
Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
|
| |
| |
| |
| |
| |
| |
| | |
* generic/tclVar.c: make the behaviour of lappend in bytecompiled
* tests/append.test: mode consistent with direct-eval and 'append'
* tests/appendComp.test: generally. Added tests (append*-9.*)
showing the difference.
|
| |
| |
| |
| | |
revert tclInt.h to what it was before, and relax the relation between Tcl_CallFrame and CallFrame.
|
| | |
|
| | |
|
| |
| |
| |
| | |
TCL_LL_MODIFIER macros from Tcl8.5/8.6
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
over the tclEmptyStringRep->bytes as it is thread-shared
(thx to Gustaf Neumann for the (hard) work of locating this one).
|
| |
| |
| |
| | |
Added some test cases, adapted and backported from 8.5
|
| |
| |
| |
| |
| | |
structures for [info frame] which occured when bytecode
compilation fails.
|
| |
| |
| |
| |
| | |
matched much more rapidly. Many thanks to Tom Lane for dianosing this issue
and providing an initial patch.
|
| |
| |
| |
| | |
manifestations in the future.
|
| |
| |
| |
| |
| |
| | |
* tests/io.test: which used the number of _written_ bytes or
character to update the counters for the read bytes/characters.
New test io-53.11. This is a backward port from the 8.5 branch.
|
| |
| |
| |
| | |
[Bug 2895323]. Backport from Tcl 8.5 branch, change by Don Porter.
|
| |
| |
| |
| |
| |
| |
| | |
refCount for the file path out of the branch after the whole
conditional, closing a memory leak. Added clause on structure type
to prevent seg.faulting. Backport from valgrinding the Tcl 8.5
branch.
|
| |
| |
| |
| |
| |
| | |
TclCompileLindexCmd): Fixed. Moved the use of
DefineLineInformation after all regular variable declarations, so
that an empty statement (-UTIP_280) doesn't confuse c89 compilers.
|
| |
| |
| |
| |
| |
| | |
0-length writes. When closing pipes which have already been closed
not skipping leads to spurious SIG_PIPE signals. Reported by
Mikhail Teterin <mi+thun@aldan.algebra.com>.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* generic/tclCkalloc.c: call stacks for memory allocation to
* generic/tclParse.c: guarantee that any size values computed
* generic/tclThreadAlloc.c: are within the domains of the routines
they get passed to. [Bugs 2557696 and 2557796].
|
| |
| |
| |
| |
| | |
recursive parsing calls to convert O(N^2) operations of [subst]
to O(N).
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations,
TclEvalObjEx):
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines):
* generic/tclCompCmds.c (*):
* generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv,
TclFreeCompileEnv, TclCompileScript):
* generic/tclCompile.h (CompileEnv):
* generic/tclInt.h (ContLineLoc, Interp):
* generic/tclObj.c (ThreadSpecificData, ContLineLocFree,
TclThreadFinalizeObjects, TclInitObjSubsystem,
TclContinuationsEnter, TclContinuationsEnterDerived,
TclContinuationsCopy, TclContinuationsGet, TclFreeObj):
* generic/tclProc.c (TclCreateProc):
* generic/tclVar.c (TclPtrSetVar):
* tests/info.test (info-30.0-22):
Extended parser, compiler, and execution with code and attendant
data structures tracking the positions of continuation lines which
are not visible in script's, to properly account for them while
counting lines for #280, during direct and compiled execution.
|
| |
| |
| |
| | |
* tests/fileName.test: matches something like ~foo. [Bug 2837800]
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TclArgumentBCRelease, TclArgumentGet):
* generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode,
TclInitCompileEnv, TclCompileScript):
* generic/tclCompile.h (ExtCmdLoc):
* generic/tclExecute.c (TclExecuteByteCode):
* generic/tclInt.h (ExtIndex, CFWordBC):
* tests/info.test (info-39.0):
Backport of some changes made to the Tcl head, to handle literal
sharing better. The code here is much simpler (trimmed down)
compared to the head as the 8.4 branch is not bytecode compiling
whole files, and doesn't compile eval'd code either.
Reworked the handling of literal command arguments in bytecode to
be saved (compiler) and used (execution) per command (See the
TCL_INVOKE_STK* instructions), and not per the whole bytecode.
This removes the problems with location data caused by literal
sharing in proc bodies. Simplified the associated datastructures
(ExtIndex is gone, as is the function EnterCmdWordIndex).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclProc.c: when compiling a proc survives too long. We
* tests/execute.test: only need it there long enough for the right
TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once
that is done, the CompileEnv controls. If we let the value of
iPtr->compiledProcPtr linger, though, then any other bytecode compile
operation that takes place will also have its CompileEnv initialized
with it, and that's not correct. The value is meant to control the
compile of the proc body only, not other compile tasks that happen
along. Thanks to Carlos Tasada for discovering and reporting the
problem. [Bug 2802881].
|
| |
| |
| |
| | |
"late exit handlers" for similar late process-wide cleanups.
|
| |
| |
| |
| | |
signed/unsigned mismatch breaking win32 symbol/debug build.
|
| | |
|
| |
| |
| |
| | |
to set stringPtr->allocated to 0, leading to crashes.
|
| |
| |
| |
| | |
[Bug 2494093] and [Bug 2553906].
|
| |
| |
| |
| |
| |
| |
| | |
* 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]
|