Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | 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. | ||||
| * | Add tests for SetLineInformation() calls in tclCompCmdsGR.c. | dgp | 2013-07-10 | 1 | -4/+4 |
| | | |||||
| * | Add tests for, and fix bugs in, the SetLineInformation() calls in tclCompCmds.c. | dgp | 2013-07-10 | 1 | -11/+9 |
| | | |||||
| * | merge trunk | dgp | 2013-07-10 | 1 | -0/+16 |
| |\ | |||||
| | * | Fix for [86fb5ea28e]. Test will eventually merge in from tip280-test-coverage. | dgp | 2013-07-10 | 1 | -0/+16 |
| | | | |||||
| * | | Next attempt. Appears to have uncovered a bug. | dgp | 2013-07-10 | 1 | -1/+1 |
| | | | |||||
| * | | First additional test. Remove dup macros in tclEnsemble.c. | dgp | 2013-07-10 | 5 | -20/+6 |
| | | | |||||
| * | | Disabling the SetLineInformation() macro entirely causes only 3 tests | dgp | 2013-07-10 | 3 | -3/+10 |
| |/ | | | | | | | | | | | | | in the test suite to fail. Restoring just 2 SetLineInformation() calls fixes those failures. The need for all the other SLI() calls is not demonstrated by any test. Without more complete test coverage, it is difficult to confidently tweak the TIP 280 implementation without fear that changes are introducing breakage. | ||||
* | | Remove the (now unused) wlineat arguments. | dgp | 2013-07-10 | 1 | -6/+2 |
| | | |||||
* | | Revise the litInfo table so that it gets built later (in TclInitByteCodeObj) | dgp | 2013-07-10 | 2 | -60/+20 |
| | | | | | | from a simpler store of data that can unwind. | ||||
* | | Tentative Work In Progress unwinding TIP 280 line information. | dgp | 2013-07-09 | 1 | -10/+29 |
| | | |||||
* | | Use the TokenAfter() macro. | dgp | 2013-07-08 | 1 | -7/+5 |
| | | |||||
* | | Use TIP 280 macros. | dgp | 2013-07-08 | 1 | -4/+2 |
| | | |||||
* | | merge trunk | dgp | 2013-07-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Unbreak MSVC6 debug build (thanks Andreas Kupries!) | jan.nijtmans | 2013-07-08 | 1 | -1/+1 |
| |\ | |||||
| | * | Unbreak MSVC6 debug build (thanks Andreas Kupries!) | jan.nijtmans | 2013-07-08 | 1 | -1/+1 |
| | | | |||||
* | | | Factor out compiling the Command literal. | dgp | 2013-07-08 | 1 | -22/+19 |
| | | | |||||
* | | | Plug memory leak; Break three compilation mechanisms into routines. | dgp | 2013-07-08 | 1 | -196/+266 |
| | | | |||||
* | | | Move TIP 280 and command extent housekeeping to the periphery. | dgp | 2013-07-08 | 1 | -27/+27 |
| | | | |||||
* | | | Defer expansion request detection as much as possible. | dgp | 2013-07-08 | 1 | -13/+30 |
| | | | |||||
* | | | Consolidate the StartExpanding() calls. | dgp | 2013-07-08 | 1 | -7/+3 |
| | | | |||||
* | | | The routines StartExpanding() and EnterCmdWordData() are orthogonal, so it's | dgp | 2013-07-08 | 1 | -4/+3 |
| | | | | | | | | | ok to reverse the order in which they are called. | ||||
* | | | merge trunk | dgp | 2013-07-05 | 2 | -1/+3 |
|\ \ \ | |/ / | |||||
| * | | CONST -> const in one place | jan.nijtmans | 2013-07-05 | 1 | -1/+1 |
| | | | |||||
| * | | Allow successfull compilation, even if Tcl_GetErrorLine/Tcl_SetErrorLine are ↵ | jan.nijtmans | 2013-07-05 | 1 | -0/+2 |
| | | | | | | | | | | | | redefined as macros. | ||||
* | | | merge trunk | dgp | 2013-07-05 | 3 | -6/+6 |
|\ \ \ | |/ / | |||||
| * | | Fix compiler warning when compiling Itcl 4.0: | jan.nijtmans | 2013-07-03 | 2 | -5/+4 |
| | | | | | | | | | | | | | | | | | | In file included from ./generic/itcl2TclOO.c:12:0: /Tcl/include/tclInt.h:3012:8: warning: ‘struct addrinfo’ declared inside parameter list [enabled by default] const char **errorMsgPtr); ^ | ||||
* | | | comment improvements | dgp | 2013-07-02 | 1 | -2/+20 |
| | | | |||||
* | | | More Work In Progress. | dgp | 2013-07-01 | 1 | -21/+34 |
| | | | |||||
* | | | More elimination of error message litter to fix [Bug 20a81392ec]. | dgp | 2013-06-28 | 3 | -19/+10 |
| | | | |||||
* | | | Stop the compileProc routines leaving behind error messages in interp. | dgp | 2013-06-27 | 4 | -64/+83 |
| | | | | | | | | | | | | | | | (Nicer way to solve [Bug 20a81392ec].) Make simplifications in TclCompileScript() make possible by the new structure. Still a work in progress. | ||||
* | | | plug memory leaks | dgp | 2013-06-27 | 1 | -1/+3 |
| | | | |||||
* | | | merge trunk | dgp | 2013-06-27 | 3 | -48/+61 |
|\ \ \ | |/ / | |||||
| * | | Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings. | jan.nijtmans | 2013-06-27 | 3 | -48/+61 |
| |\ \ | | |/ | |||||
| | * | Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings. | jan.nijtmans | 2013-06-27 | 2 | -47/+59 |
| | |\ | |||||
| | | * | Allocate encoding name, so caller of Tcl_RegisterConfig() doesn't need to ↵ | jan.nijtmans | 2013-06-26 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | | | | | | keep it forever. Fix some comments. |