summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Factor out the call to a compileProc into one place used by both ensembledgp2013-07-173-41/+38
| | | subcommand compiles and toplevel command compiles in TclCompileScript.
* Streamline the housekeeping on the operands of INST_START_CMD.dgp2013-07-161-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 bedgp2013-07-162-56/+15
| | | crafting synthetic Tcl_Parse and copying tokens. Some pointer shifts will do.
* Simplify arguments to TclContinuationsEnterDerived().dgp2013-07-162-10/+10
|
* Eliminate the litInfo table and all the code tending to its care and feeding.dgp2013-07-165-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.dgp2013-07-154-7/+34
|
* merge trunkdgp2013-07-155-62/+37
|\
| * Prefer CompileWord() over CompileTokens() when possible.dgp2013-07-153-6/+3
| |
| * Global replace: CompileBody() -> BODY().dgp2013-07-124-30/+19
| |
| * Revise the CompileWord() and PushVarNameWord() macros to make explicit thedgp2013-07-112-18/+7
| | | | | | SetLineInformation() that's in each of them.
| * Have TclMakeEnsemble() set ENSEMBLE_COMPILE at creation, not as a separatedgp2013-07-111-8/+8
| | | | | | epoch-bumping step.
* | merge trunkdgp2013-07-113-61/+38
|\ \ | |/
| * Revert the revised macros used in developing the new tests.tip280_test_coveragedgp2013-07-115-27/+24
| |
| * Add tests for the SetLineInformation() calls in tclEnsemble.c, and fixdgp2013-07-111-6/+3
| | | | | | the bugs around those calls exposed by the tests.
| * Add tests for SetLineInformation() calls in tclCompCmdsSZ.c as well as somedgp2013-07-101-45/+21
| | | | | | obvious refactoring improvements.
| * Add tests for SetLineInformation() calls in tclCompCmdsGR.c.dgp2013-07-101-4/+4
| |
| * Add tests for, and fix bugs in, the SetLineInformation() calls in tclCompCmds.c.dgp2013-07-101-11/+9
| |
| * merge trunkdgp2013-07-101-0/+16
| |\
| | * Fix for [86fb5ea28e]. Test will eventually merge in from tip280-test-coverage.dgp2013-07-101-0/+16
| | |
| * | Next attempt. Appears to have uncovered a bug.dgp2013-07-101-1/+1
| | |
| * | First additional test. Remove dup macros in tclEnsemble.c.dgp2013-07-105-20/+6
| | |
| * | Disabling the SetLineInformation() macro entirely causes only 3 testsdgp2013-07-103-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.dgp2013-07-101-6/+2
| |
* | Revise the litInfo table so that it gets built later (in TclInitByteCodeObj)dgp2013-07-102-60/+20
| | | | | | from a simpler store of data that can unwind.
* | Tentative Work In Progress unwinding TIP 280 line information.dgp2013-07-091-10/+29
| |
* | Use the TokenAfter() macro.dgp2013-07-081-7/+5
| |
* | Use TIP 280 macros.dgp2013-07-081-4/+2
| |
* | merge trunkdgp2013-07-081-1/+1
|\ \ | |/
| * Unbreak MSVC6 debug build (thanks Andreas Kupries!)jan.nijtmans2013-07-081-1/+1
| |\
| | * Unbreak MSVC6 debug build (thanks Andreas Kupries!)jan.nijtmans2013-07-081-1/+1
| | |
* | | Factor out compiling the Command literal.dgp2013-07-081-22/+19
| | |
* | | Plug memory leak; Break three compilation mechanisms into routines.dgp2013-07-081-196/+266
| | |
* | | Move TIP 280 and command extent housekeeping to the periphery.dgp2013-07-081-27/+27
| | |
* | | Defer expansion request detection as much as possible.dgp2013-07-081-13/+30
| | |
* | | Consolidate the StartExpanding() calls.dgp2013-07-081-7/+3
| | |
* | | The routines StartExpanding() and EnterCmdWordData() are orthogonal, so it'sdgp2013-07-081-4/+3
| | | | | | | | | ok to reverse the order in which they are called.
* | | merge trunkdgp2013-07-052-1/+3
|\ \ \ | |/ /
| * | CONST -> const in one placejan.nijtmans2013-07-051-1/+1
| | |
| * | Allow successfull compilation, even if Tcl_GetErrorLine/Tcl_SetErrorLine are ↵jan.nijtmans2013-07-051-0/+2
| | | | | | | | | | | | redefined as macros.
* | | merge trunkdgp2013-07-053-6/+6
|\ \ \ | |/ /
| * | Fix compiler warning when compiling Itcl 4.0:jan.nijtmans2013-07-032-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 improvementsdgp2013-07-021-2/+20
| | |
* | | More Work In Progress.dgp2013-07-011-21/+34
| | |
* | | More elimination of error message litter to fix [Bug 20a81392ec].dgp2013-06-283-19/+10
| | |
* | | Stop the compileProc routines leaving behind error messages in interp.dgp2013-06-274-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 leaksdgp2013-06-271-1/+3
| | |
* | | merge trunkdgp2013-06-273-48/+61
|\ \ \ | |/ /
| * | Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings.jan.nijtmans2013-06-273-48/+61
| |\ \ | | |/
| | * Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings.jan.nijtmans2013-06-272-47/+59
| | |\
| | | * Allocate encoding name, so caller of Tcl_RegisterConfig() doesn't need to ↵ticket_9b2e636361jan.nijtmans2013-06-261-4/+12
| | | | | | | | | | | | | | | | | | | | keep it forever. Fix some comments.