| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | |
| | |
| | |
| | |
| | | |
count > 1 to return a string with a float value instead of a rounded
off integer. [Bug 1202178]
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to
prevent possible UMR in unichar cmp function for string map.
|
| | |
| | |
| | |
| | | |
* tests/string.test: [string is boolean] [Bug 1187123]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdMZ.c (Tcl_SubstObj):
* tests/basic.test (basic-46.4): Restored recursion limit
* tests/parse.test (parse-19.*): testing in nested command
substitutions within direct script evaluation (Tcl_EvalEx)
that got lost in the parser reforms of Tcl 8.1. Added tests for
correct behavior. [Bug 1115904]
|
| | |
| | |
| | |
| | |
| | | |
cast of ClientData to (TraceCommandInfo *) when not warranted.
Thanks to Yuri Victorovich for the report. [Bug 1153871]
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/trace.test (trace-33.1): to permit a variable trace
created with [trace variable] to be destroyed with [trace remove].
Thanks to Keith Vetter for the report.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclTest.c (TestcmdtraceCmd): implementation introduced a
* tests/basic.test (basic-39.10): bug by testing the CallFrame
level instead of the iPtr->numLevels level when deciding what traces
created by Tcl_Create(Obj)Trace to call. Added test to expose the
error, and made fix. [Request 462580]
|
| | |
| | |
| | |
| | | |
(TclTraceCommandObjCmd): fix possible mem leak in trace info.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdMZ.c: and execution traces that caused access to
freed memory in trace-32.1. [Bug 811483].
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/trace.test (trace-31,32.*): the introspection results
of both [trace info command] and [trace info execution] were getting
co-mingled. Thanks to Mark Saye for the report.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
crash when overflow sizes were given (throws error). [Bug #714106]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
inconsistent results of [string is integer] observed on systems
where sizeof(long) != sizeof(int). [Bug 718878]
* tests/string.test: Added tests for Bug 718878.
* doc/string.n: Clarified that [string is integer] accepts
32-bit integers.
|
| | |
| | |
| | |
| | | |
Tcl_DiscardResult() call to avoid memory leak.
|
| | |
| | |
| | |
| | |
| | | |
* tests/subst.test (subst-2.4): Tcl_SubstObj's incorrect
halting of substitution at the first \x00 byte. [Bug 685106]
|
| | |
| | |
| | |
| | | |
Backport of updates to make handling of RE line anchors correct.
|
| | |
| | |
| | |
| | |
| | | |
jnterface implicitly decrements refcount of the passed result object
when the passed result object refcount was already zero.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations,
TclEvalObjEx):
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines):
* 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/tclParse.c (TclSubstTokens, Tcl_SubstObj):
* generic/tclProc.c (TclCreateProc):
* generic/tclVar.c (TclPtrSetVar):
* tests/info.test (info-30.0-24):
Extended parser, compiler, and execution with code and attendant
data structures tracking the positions of continuation lines which
are not visible in script Tcl_Obj*'s, to properly account for them
while counting lines for #280.
|
| | | |
|
| | |
| | |
| | |
| | | |
[string repeat]. [Bug 2582327]
|
| | |
| | |
| | |
| | | |
length of the result of [string repeat]. [Bug 2561746]
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* tests/error.test (error-19.1[12]): message/opt capture variables get
reflected properly to the caller.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdAH.c: it now schedules the command and returns
* generic/tclCmdMZ.c: TCL_RETURN. This fixes all issues with
* generic/tclExecute.c: [catch] and [try] - [Bug 3046594],
* generic/tclInt.h: [Bug 3047235] and [Bug 3048771]. Thanks
* generic/tclNamesp.c: dgp for exploring the dark corners.
* tests/tailcall.test: More thorough testing is required.
|
| | |
| | |
| | |
| | | |
the body of a non-bc'ed [try], #3046594
|
| | | |
|
| | |
| | |
| | |
| | | |
setting a variable fails.
|
| | | |
|
| | |
| | |
| | |
| | | |
[try] command does not trap unwinding due to limits.
|
| | |
| | |
| | |
| | | |
indices of script arguments to [try].
|
| | |
| | |
| | |
| | | |
exactly the same as the one in "return"
|
| | |
| | |
| | |
| | |
| | | |
values to identify the argument indices of the various script arguments
to [try]. Passing in -1 led to invalid memory reads.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
are in the global stub table.
Use @EXEEXT@ in stead of @EXT_SUFFIX@
Use -DBUILD_tcl in Makefile for CYGWIN
Use EXTERN to control CYGWIN exported symbols
Remove some unnecessary type casts.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/error.test: Tcl_SetReturnOptions() calls as a simple fix
for [Bug 2855247]. Thanks to Anton Kovalenko for the report and fix.
Additional fixes for other failures demonstrated by new tests.
|