summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | | | * | | Start notifier thread again if we were forked, to solve Rivet bug 55153 - ↵oehhar2013-07-172-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RFE [a0bc856dcd]
| * | | | | | | | | Make sure that "string is space \u202f" will continue to return "1", even if ↵jan.nijtmans2013-07-294-3/+10
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.nijtmans2013-07-291-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.dgp2013-07-274-1/+15
| | | | | | | | | |
| * | | | | | | | | [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match. Thanks to Tom Lane ↵dgp2013-07-262-6/+5
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | for passing on the discovery in Postgres.
| | * | | | | | | | [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match.dgp2013-07-262-6/+5
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | Thanks to Tom Lane for passing on the discovery in Postgres.
| * | | | | | | | Move test for pthread_atfork inside SC_ENABLE_THREADSjan.nijtmans2013-07-263-105/+3
| |\ \ \ \ \ \ \ \ | | |/ / / / / / /
| | * | | | | | | Move test for pthread_atfork inside SC_ENABLE_THREADSjan.nijtmans2013-07-253-105/+3
| | |/ / / / / /
| * | | | | | | Put Cygwin's tclWinError.o in PLAT_OBJS, not in DL_OBJSjan.nijtmans2013-07-253-3/+8
| | | | | | | |
| * | | | | | | Demonstrate and fix memory leak in Tcl_ParseVar().dgp2013-07-242-0/+22
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Demonstrate and fix memory leak in Tcl_ParseVar().dgp2013-07-242-0/+22
| | |/ / / / /
| * | | | | | Mark commands with potential to compile expansion arguments (as [list] does).dgp2013-07-243-0/+18
| | | | | | |
| * | | | | | more disabled code removaldgp2013-07-242-53/+0
| | | | | | |
| * | | | | | Remove outdated, disabled code.dgp2013-07-231-503/+0
| | | | | | |
| * | | | | | Remove outdated comment. Stack depths are well checked now.dgp2013-07-231-3/+0
| | | | | | |
| * | | | | | Stop checking stack depth in [catch] compiler.dgp2013-07-231-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Stack depth is checked in compiles of *all* Tcl commands/scripts/bodies in debug builds already.
| * | | | | | Add "testfork" test command. Not used in any test-case yetjan.nijtmans2013-07-233-103/+152
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Add "testfork" test command. Not used in any test-case yetjan.nijtmans2013-07-233-103/+153
| | |/ / / /
| * | | | | Rewrite of the TclCompileScript() routine.dgp2013-07-1810-227/+654
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Primarily this breaks that large, rather convoluted routine into many smaller more single-purpose routines for greater clarity. This also permits more sharing of function components. Ensemble compiles now share the same low level routines as top-level command compiles. This refactoring should also have the benefit of easing merging between branches by better locating patches according to what function or data structure they tweak. Also in this checkin: Minimized calls to Tcl_ResetResult() during compile. Several commands compile their detected syntax errors into bytecode that reports the syntax error. Significant reform to the TIP 280 machinery, including elimination of the litInfo hash table. Its function of finding the index of a compiled command in a script from a pc value has been redone using the codeDelta information already stored in ByteCode.
| | * | | | | [assemble] compile syntax error into bytecode reporting syntax error message.dgp_tcs_rewritedgp2013-07-181-7/+3
| | | | | | |
| | * | | | | merge trunkdgp2013-07-184-15/+14
| | |\ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | [Bug 1c17fbba5d] Fix -errorinfo from syntax errors so that the error isdgp2013-07-185-20/+15
| | |_|/ / / | |/| | | | | | | | | | 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 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-156-62/+62
| | |\ \ \ \ | | |/ / / / | |/| | | |
| | * | | | merge trunkdgp2013-07-114-61/+447
| | |\ \ \ \
| | * | | | | 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
| | |\ \ \ \ \
| | * | | | | | 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-0810-248/+560
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ merge trunkdgp2013-07-053-5/+7
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ merge trunkdgp2013-07-0510-29/+45
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | comment improvementsdgp2013-07-021-2/+20
| | | | | | | | | | |
| | * | | | | | | | | More Work In Progress.dgp2013-07-012-27/+35
| | | | | | | | | | |
| | * | | | | | | | | 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.
| | * | | | | | | | | merge trunkdgp2013-06-271-1/+1
| | |\ \ \ \ \ \ \ \ \