| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* tests/event.test: default [interp bgerror] handler so that when
it falls back to a hidden [bgerror] in a safe interp, it gets the
right error context data. [Bug 1790274].
|
|
|
|
|
| |
resolved variables was being managed without checking if they were
Var or VarInHash: itcl [Bug 1790184]
|
|
|
|
|
|
|
|
| |
* tests/init.test: non-TCL_ERROR code doesn't cause existing
-errorinfo, -errorcode, and -errorline entries to be omitted.
* generic/tclEvent.c: With -errorInfo no longer lost, generate more
complete ::errorInfo when calling [bgerror] after a non-TCL_ERROR
background exception.
|
| |
|
|
|
|
|
| |
to define a custom [tclInit] before calling Tcl_Init(). Until now
the custom command had to be a proc. Now it can be any command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclEvent.c: that for the first time permits non-TCL_ERROR
exceptions to trigger [interp bgerror] handling. Closes a gap in
TIP 221. When falling back to [bgerror] (which is designed only
to handle TCL_ERROR), convert exceptions into errors complaining
about the exception.
* generic/tclInterp.c: Convert Tcl_BackgroundError() callers to call
* generic/tclIO.c: TclBackgroundException().
* generic/tclIOCmd.c:
* generic/tclTimer.c:
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcode/default.pbxuser: for Xcode 1.5; replace by Xcode2
project for use on Tiger (with Tcl.xcodeproj to be used on Leopard).
* macosx/Tcl.xcodeproj/project.pbxproj: updates for Xcode 2.5 and 3.0.
* macosx/Tcl.xcodeproj/default.pbxuser:
* macosx/Tcl.xcode/project.pbxproj:
* macosx/Tcl.xcode/default.pbxuser:
* macosx/Tcl-Common.xcconfig:
* macosx/README: document project changes.
|
|
|
|
| |
make identical to current Tcl.xcodeproj.
|
|
|
|
| |
EXTRA_CFLAGS var
|
|
|
|
|
| |
* generic/tclExecute.c: -DTCL_GENERIC_ONLY configuration. [Bug 1264623]
* unix/Makefile.in:
|
| |
|
| |
|
|
|
|
|
| |
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.
|