Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Consolidate some helper routines.dgp_bye_ctx_eval_flag | dgp | 2013-08-14 | 3 | -29/+19 |
| | |||||
* | Only schedule leave traces if enter traces complete successfully. | dgp | 2013-08-14 | 1 | -12/+10 |
| | | | | This avoids a memleak, and opens a data slot, so we can pass objc, objv without the need to copy them into a list value. | ||||
* | Use a new flag value TCL_EVAL_SOURCE_IN_FRAME passed in by callers to | dgp | 2013-08-12 | 3 | -50/+14 |
| | | | | | determine whether the pre-subst source information in a CmdFrame is to be used. This takes the place of numLevels cross checking, so that field is removed. Routines are consolidated as well. | ||||
* | Arrange for both execution traces and [info frame] to get their pre-subst | dgp | 2013-08-10 | 4 | -31/+59 |
| | | | | source strings from a common routine, with care taken to reduce copying by that routine. | ||||
* | Revised GetCommandSource() can (and thus should) return a normal zero | dgp | 2013-08-09 | 1 | -2/+1 |
| | | | refcount value. | ||||
* | Revise GetCommandSource() to return a normal Tcl_Obj value. | dgp | 2013-08-07 | 1 | -18/+8 |
| | |||||
* | Give (objc, objv) their own ride from enter to leave traces. | dgp | 2013-08-07 | 1 | -4/+4 |
| | |||||
* | Remove Tcl_Preserve support for ContLineLoc values. It's not needed. | dgp | 2013-08-07 | 3 | -56/+5 |
| | | | This allows the clLoc field of CompileEnv struct to go away too. | ||||
* | Test for TclContinuationsGet() usage, and simplifications. | dgp | 2013-08-07 | 1 | -17/+1 |
| | |||||
* | Replace potentially memleak creating safety check of a "cannot happen" | dgp | 2013-08-07 | 1 | -8/+6 |
| | | | condition with an assertion. | ||||
* | Add comment stating new limitation on Tcl(NR)EvalObjEx() interface. | dgp | 2013-08-07 | 1 | -0/+5 |
| | |||||
* | All use of the evalFlag value TCL_EVAL_CTX is unused by the code and | dgp | 2013-08-06 | 2 | -88/+11 |
| | | | | | | | | | unreachable by extensions. This checkin removes all the code supporting that flag value. The consequence is that all the calls to TclNREvalObjEx() and its callers that are currently choosing not to pass the TCL_EVAL_DIRECT flag in when they pass in a non-NULL invoker will no longer be free to change their mind. That might be reason not to adopt this change. | ||||
* | Add assertions that will guide and protect more discovery of dead code for ↵ | dgp | 2013-08-06 | 2 | -3/+7 |
| | | | | elimination. | ||||
* | Drop TCL_LOCATION_EVAL_LIST now that it is unused.dgp_bye_location_eval_list | dgp | 2013-08-06 | 1 | -4/+0 |
| | |||||
* | Eliminate the union that is no longer needed. | dgp | 2013-08-06 | 6 | -34/+26 |
| | |||||
* | Revert the changes that went too far and broke things. | dgp | 2013-08-06 | 1 | -13/+26 |
| | |||||
* | The value TCL_LOCATION_EVAL_LIST in the type field of a CmdFrame appears to | dgp | 2013-08-06 | 4 | -87/+48 |
| | | | | | | | | | | exist only for the sake of taking great pains to make sure that pure list values remain pure list values. The value of pure list values is no longer what it once was. For a long long time now, any canonical list values have been equally good. This branch is Work In Progress eliminating the complication of the additional type value. Currently some minor botches are breaking execution tracing tests. | ||||
* | Deal with the elaborate rip-apart-a-metaclass case as well. | dkf | 2013-08-02 | 1 | -0/+3 |
| | |||||
* | [9d61624b3d]: Stop crashes when emptying the superclass slot. | dkf | 2013-08-02 | 1 | -19/+29 |
| | |||||
* | [1905562] [8d2c0da36d] Raise the recursion limits on regexps to allow | dgp | 2013-08-01 | 1 | -1/+1 |
| | | | | existing regexps "in the wild" to continue working with Tcl 8.6. Latest example comes from DejaGnu. | ||||
* | Make sure that "string is space \u202f" will continue to return "1", even if ↵ | jan.nijtmans | 2013-07-29 | 1 | -1/+1 |
|\ | | | | | | | | | in future Unicode this character (NARROW_NO_BREAK_SPACE) will cease to be a space. See: [http://www.unicode.org/review/pri249/]. Don't hardcode "tclWinError.o" for Cygwin | ||||
| * | Make sure that "string is space \u202f" will continue to return "1", even if ↵ | jan.nijtmans | 2013-07-29 | 1 | -1/+1 |
| | | | | | | | | in future Unicode this character (NARROW_NO_BREAK_SPACE) will cease to be a space. See: [http://www.unicode.org/review/pri249/] | ||||
* | | Simplify AuxData access with a macro. | dgp | 2013-07-27 | 3 | -1/+11 |
| | | |||||
* | | [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match. Thanks to Tom Lane ↵ | dgp | 2013-07-26 | 1 | -6/+1 |
|\ \ | |/ | | | | | for passing on the discovery in Postgres. | ||||
| * | [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match. | dgp | 2013-07-26 | 1 | -6/+1 |
| | | | | | | Thanks to Tom Lane for passing on the discovery in Postgres. | ||||
* | | Demonstrate and fix memory leak in Tcl_ParseVar(). | dgp | 2013-07-24 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Demonstrate and fix memory leak in Tcl_ParseVar(). | dgp | 2013-07-24 | 1 | -0/+1 |
| | | |||||
* | | Mark commands with potential to compile expansion arguments (as [list] does). | dgp | 2013-07-24 | 3 | -0/+18 |
| | | |||||
* | | more disabled code removal | dgp | 2013-07-24 | 2 | -53/+0 |
| | | |||||
* | | Remove outdated, disabled code. | dgp | 2013-07-23 | 1 | -503/+0 |
| | | |||||
* | | Remove outdated comment. Stack depths are well checked now. | dgp | 2013-07-23 | 1 | -3/+0 |
| | | |||||
* | | Stop checking stack depth in [catch] compiler. | dgp | 2013-07-23 | 1 | -10/+0 |
| | | | | | | | | Stack depth is checked in compiles of *all* Tcl commands/scripts/bodies in debug builds already. | ||||
* | | [assemble] compile syntax error into bytecode reporting syntax error message.dgp_tcs_rewrite | dgp | 2013-07-18 | 1 | -7/+3 |
| | | |||||
* | | merge trunk | dgp | 2013-07-18 | 3 | -13/+13 |
|\ \ | |||||
| * | | [Bug 1c17fbba5d] Fix -errorinfo from syntax errors so that the error is | dgp | 2013-07-18 | 3 | -12/+13 |
| | | | | | | | | | not obscured. Instead highlight it by making it the last character quoted. | ||||
* | | | Factor out the call to a compileProc into one place used by both ensemble | dgp | 2013-07-17 | 3 | -41/+38 |
| | | | | | | | | | subcommand compiles and toplevel command compiles in TclCompileScript. | ||||
* | | | Streamline the housekeeping on the operands of INST_START_CMD. | dgp | 2013-07-16 | 1 | -49/+32 |
| | | | | | | | | | For example, do only incr on success, not incr on attempt + decr on error. | ||||
* | | | Simplify the ensemble subcommand compile. There's no need to be | dgp | 2013-07-16 | 2 | -56/+15 |
| | | | | | | | | | crafting synthetic Tcl_Parse and copying tokens. Some pointer shifts will do. | ||||
* | | | Simplify arguments to TclContinuationsEnterDerived(). | dgp | 2013-07-16 | 2 | -10/+10 |
| | | | |||||
* | | | Eliminate the litInfo table and all the code tending to its care and feeding. | dgp | 2013-07-16 | 5 | -134/+97 |
| | | | | | | | | | | | | The pc -> command index mapping function it provided can be achieved using other data already in the ByteCode struct. | ||||
* | | | Build CompileBasicNArgCommand on top of TclCompileInvocation. | dgp | 2013-07-15 | 4 | -7/+34 |
| | | | |||||
* | | | merge trunk | dgp | 2013-07-15 | 5 | -62/+37 |
|\ \ \ | |/ / | |||||
| * | | Prefer CompileWord() over CompileTokens() when possible. | dgp | 2013-07-15 | 3 | -6/+3 |
| | | | |||||
| * | | Global replace: CompileBody() -> BODY(). | dgp | 2013-07-12 | 4 | -30/+19 |
| | | | |||||
| * | | Revise the CompileWord() and PushVarNameWord() macros to make explicit the | dgp | 2013-07-11 | 2 | -18/+7 |
| | | | | | | | | | SetLineInformation() that's in each of them. | ||||
| * | | Have TclMakeEnsemble() set ENSEMBLE_COMPILE at creation, not as a separate | dgp | 2013-07-11 | 1 | -8/+8 |
| | | | | | | | | | epoch-bumping step. | ||||
* | | | merge trunk | dgp | 2013-07-11 | 3 | -61/+38 |
|\ \ \ | |/ / | |||||
| * | | Revert the revised macros used in developing the new tests.tip280_test_coverage | dgp | 2013-07-11 | 5 | -27/+24 |
| | | | |||||
| * | | Add tests for the SetLineInformation() calls in tclEnsemble.c, and fix | dgp | 2013-07-11 | 1 | -6/+3 |
| | | | | | | | | | the bugs around those calls exposed by the tests. | ||||
| * | | Add tests for SetLineInformation() calls in tclCompCmdsSZ.c as well as some | dgp | 2013-07-10 | 1 | -45/+21 |
| | | | | | | | | | obvious refactoring improvements. |