| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
manager to remember to `make genstubs` before `make dist`. Let the
Makefile remember the dependency for us.
|
|
|
|
| |
sure that macosx/configure gets generated whenever it does not exist.
|
|
|
|
| |
sure that macosx/configure gets generated whenever it does not exist.
|
|
|
|
|
|
| |
error when a script does [lindex {} end foo]; an overaggressive
optimisation caused this call to return an empty object rather
than an error.
|
| |
|
|
|
|
|
| |
"wideInt" Tcl_ObjType for compatibility with 8.4 extensions that access
the tclWideIntType Tcl_ObjType; add setFromAnyProc for tclWideIntType.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* generic/tclExecute.c: TclPrintByteCodeObj() so that tcl_traceCompile
output is less likely to get mangled when writes to stdout interleave
with other code.
|
|
|
|
| |
to determine lexemes with single-byte representations.
|
|
|
|
|
| |
* generic/tclCompExpr.c: the fields of the OpCmdInfo and
* generic/tclCompile.h: TclOpCmdClientData structs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
expression syntax errors are found when compiling expressions. With
this in place, convert TclCompileExpr to return void, since there's no
longer any need to report TCL_ERROR.
* generic/tclCompile.c: Update callers.
* generic/tclExecute.c:
* generic/tclCompCmds.c: New routine TclCompileSyntaxError()
* generic/tclCompile.h: to directly compile bytecodes that report a
* generic/tclCompile.c: syntax error, rather than (ab)use a call to
TclCompileReturnCmd. Also, undo the most recent commit that papered
over some issues with that (ab)use. New routine produces a new
opcode INST_SYNTAX, which is a minor variation of INST_RETURN_IMM.
Also a bit of constification.
|
|
|
|
|
| |
* generic/tclCompExpr.c: entries into TclFreeCompileEnv().
* generic/tclExecute.c: Update callers.
|
|
|
|
|
| |
in expressions to register with their intreps intact, even if that
means overwriting existing intreps in already registered literals.
|
|
|
|
| |
i.e. unsigned!)
|
|
|
|
|
| |
* tests/clock.test (clock-60.*): case-insensitive
matching of time zone and month names. [Bug 1781282]
|
|
|
|
|
|
|
| |
* tests/expr.test (expr-23.48-53) integer exponentiation
that results in 32- and 64-bit integer results, avoiding calls to
wide integer exponentiation routines in this common case.
[Bug 1767293]
|
|
|
|
|
|
| |
* tests/compExpr.test: to restore literal sharing. Preserve numeric
intreps when literals are created for the first time. Correct memleak
in ExecConstantExprTree() and add test for the leak.
|
|
|
|
| |
compilers with memmove [Bug 1780870]
|
|
|
|
| |
an expr syntax error (masked by a [catch]).
|
|
|
|
|
| |
to handle callers other than TclCompileScript() failing to meet the
initialization assumptions of the TIP 280 code in CompileWord().
|
|
|
|
| |
numeric when pre-compiling a constant expresion indicates an error.
|
| |
|
|
|
|
| |
INSTs for debug builds. REVERTED (collision with alternative fix)
|
|
|
|
| |
Label needs debug build exposure in TEBC.
|
|
|
|
| |
INSTs for debug builds.
|
|
|
|
|
| |
* tests/main.test: newline from an interactively typed command.
[Bug 1775878].
|
|
|
|
| |
init.tcl on windows due to no tcl_pkgPath.
|
|
|
|
|
| |
overflow detection in sums, adapt to subtraction. Lenghty comment
added.
|
|
|
|
| |
Donal): check first the condition most likely to fail in its usage by [incr].
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
reducing objsize, number of branches and cache misses (according
to cachegrind). Non-overflow for s=a+b:
previous
((a >= 0 || b >= 0 || s < 0) && (s >= 0 || b < 0 || a < 0))
now
(((a^s) >= 0) || ((a^b) < 0))
This expresses: "a and s have the same sign or else a and b have
different sign".
|
| |
|
|
|
|
|
| |
the new availability of Tcl_Obj in variable names, avoiding string
comparisons to verify that the cached value is usable.
|
|
|
|
| |
before the switch. Reduces both runtime and obj size a tiny bit.
|
|
|
|
|
|
|
|
| |
struct (again "free" due to alignment requirements) to mark those
subexpressions that are completely known at compile time. Enhanced
CompileExprTree() and its callers to precompute these constant
subexpressions at compile time. This resolves the issue raised
in [Bug 1564517].
|
| |
|
|
|
|
| |
the interp's result if it will be pushed/popped.
|
| |
|
|
|
|
|
|
| |
* tests/thread.test: ::errorInfo and ::errorCode so that string
* tests/trace.test: reported to variable traces are fully
qualified in agreement with Tcl 8.4 operations.
|
|
|
|
|
|
| |
issues with loading from memory on intel and 64bit; add debug messages.
* tests/load.test: add test load-10.1 for loading from vfs.
|
|
|
|
|
|
|
|
|
| |
* unix/dltest/pkgb.c: unused pkgf.c.
* unix/dltest/pkgc.c:
* unix/dltest/pkge.c:
* unix/dltest/pkgf.c (removed):
* unix/dltest/pkgua.c:
* macosx/Tcl.xcodeproj/project.pbxproj:
|
|
|
|
| |
* tests/trace.test: Tcl_LogCommandInfo() call. [Bug 1773040]
|
|
|
|
| |
instead of calling the function.
|
|
|
|
| |
memset to 0 of all allocated objects.
|
| |
|
| |
|
|
|
|
| |
causing a leak.
|