| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* tests/info.test: in TclEvalEx so that the CmdFrame will still
be on the stack at the time Tcl_LogCommandInfo is called to append
another level of -errorinfo information. Sets the stage to add
file and line data to the stack trace. Added test to check that
[info frame] functioning remains unchanged by the revision.
|
|
|
|
| |
fixes bug [1605269].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of location for uplevel scripts. Resolved merge conflict on
info-37.0, switched !singleTestInterp constraint to glob matching
instead. Ditto info-22.8, removed constraint, more glob matching,
and reduced the depth of the stack we check. More is coming, right
now I want to commit the bug fixes.
* tests/oo.test: Updated oo-22.1 for expanded location tracking.
* generic/tclCompile.c (TclInitCompileEnv): Reorganized the
initialization of the #280 location information to match the flow
in TclEvalObjEx to get more absolute contexts.
* generic/tclBasic.c (TclEvalObjEx): Added missing cleanup of
extended location information.
|
|
|
|
|
|
| |
(info-22.8, info-23.0): switch to glob matching to avoid sensitivity
to tcltest.tcl line number changes, remove knownBug constraint, fix
expected result. [Bug 1605269]
|
|
|
|
| |
increasing numbers.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdIL.c: immediately, without search. Reworked setup
* generic/tclCompile.c: of eoFramePtr, doesn't need the line
* tests/info.test: information, more sensible to have everything
on line 1 when eval'ing a pure list. Updated the users of the line
information to special case this based on the frame type (i.e.
TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new
behaviour.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: frame), added the ability to track the
* generic/tclCompCmds.c: absolute location of literal procedure
* generic/tclCompile.c: arguments, and making this information
* generic/tclCompile.h: available to uplevel, eval, and
* generic/tclInterp.c: siblings. This allows proper tracking of
* generic/tclInt.h: absolute location through custom (Tcl-coded)
* generic/tclNamesp.c: control structures based on uplevel, etc.
* generic/tclProc.c:
* tests/info.test:
|
| |
|
|
|
|
|
|
|
|
| |
* tests/info.test: information for key 'proc' out of the
TCL_LOCATION_BC branch to after the switch, this is common to all
frame types. Updated the testsuite to match. This was exposed by
the 2008-06-08 commit (Miguel), switching uplevel from direct eval
to compilation. Fixes [Bug 1987851].
|
| |
|
| |
|
|
|
|
|
|
|
| |
* library/tcltest/pkgIndex.tcl: constraint names. Properly handle
constraint expressions that return non-numeric boolean results like
"false". Bump to tcltest 2.3b1. [Bug 1772989; RFE 1071322]
* tests/info.test: Disable fragile tests.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure:
* README: Bump version number to 8.5a7
* generic/tcl.h:
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections
* tests/info.test: that continued to support the deprecated
* tests/mathop.test: {expand} syntax. Updated the few remaining
users of that syntax in the test suite.
|
|
|
|
| |
when running testsuite with -singleproc 1. [Bug 1605269]
|
|
|
|
| |
last tcltest.tcl commit.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompCmds.c:
* generic/tclCompExpr.c:
* generic/tclCompile.c:
* generic/tclCompile.h:
* generic/tclExecute.c:
* generic/tclIOUtil.c:
* generic/tclInt.h:
* generic/tclInterp.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclProc.c:
* tests/compile.test:
* tests/info.test:
* tests/platform.test:
* tests/safe.test:
|
|
|
|
| |
structure.
|
|
|
|
| |
* tests/apply.test (apply-4.3-5): tests for [Bug 1574835]
|
| |
|
|
|
|
| |
other developers
|
|
|
|
|
|
|
|
|
|
| |
* tests/compExpr.test: to post-TIP-232 world.
* tests/expr-old.test:
* tests/expr.test:
* tests/info.test:
* tests/indexObj.test: Corrected other test errors revealed by
* tests/upvar.test: testing outside the tcltest application.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* doc/mathfunc.n: New built-in math function bool().
* generic/tclBasic.c:
* tests/expr.test:
* tests/info.test:
|
|
|
|
| |
* tests/info.test (info-19.6): trivial matching branch [Bug 1072654]
|
| |
|
|
|
|
| |
necessary.
|
|
|
|
| |
real command once again. :^)
|
| |
|
|
|
|
|
| |
Also updated several tests, mostly to correctly create and destroy
any temporary files in the [temporaryDirectory] of tcltest.
|
| |
|
| |
|
|
|
|
| |
[global], [upvar] and [variable].
|
| |
|
| |
|
|
|
|
|
| |
This version builds clean on Solaris/SPARC, with GCC and CC, both with and
without threads and both in 32-bit and 64-bit mode.
|
| |
|
|
|
|
|
|
|
|
| |
* doc/info.n:
* generic/tclIOUtil.c (Tcl_EvalFile):
* generic/tclCmdIL.c (InfoScriptCmd): added ability to set the
info script return value [info script ?newFileName?]. This will
be beneficial for virtual file system programs. [Bug: 4225]
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong)
* tests/unixFCmd.test:
* unix/tclUnixFCmd.c: added support for symbolic permissions
setting in SetPermissionsAttribute (file attr $file -perm ...)
[Bug: 3970]
* tests/utf.test: fixed test that allowed \8 as octal value
|
|
|
|
|
|
|
|
|
|
| |
* tests/parseOld.test:
* generic/tclCmdAH.c:
* generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and
Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg
case as well, to take advantage of potential pure list input
optimization. This means that it won't get byte compiled though,
which should be acceptable.
|
|
|
|
|
|
|
| |
Patch from James Dennett. [Bug: 2450]
* tests/info.test: Enable test for tclParse.c change (info
complete).
|
| |
|
| |
|