summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | | * | Tcl_InitNotifier() call in TestforkObjCmd() is only necessary when ↵jan.nijtmans2013-07-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pthread_atfork() is not available.
| | | | | * | Use pthread_atfork() when available.jan.nijtmans2013-07-223-104/+202
| | | | | | |
| | | | | * | Test-case should pass on Darwin or with non-threaded build as well.jan.nijtmans2013-07-221-8/+3
| | | | | | |
| | | | | * | Fix bug which hangs iocmd.tf-32.1jan.nijtmans2013-07-221-1/+1
| | | | | | |
| | | | | * | Test file tests/unixForkEvent.test addedoehhar2013-07-221-0/+50
| | | | | | |
| | | | | * | Rebase to core-8-5-branchjan.nijtmans2013-07-213-3/+77
| | | | | |\ \ | | | | | | | | | | | | | | | | Add "testfork" test command to be usable in testcase.
| | | | | | * | 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
| |\ \ \ | |/ / / |/| | |
* | | | Prefer CompileWord() over CompileTokens() when possible.dgp2013-07-153-6/+3
| | | |
* | | | Global replace: CompileBody() -> BODY().dgp2013-07-124-30/+19
| | | |
* | | | Tests demonstrating the need for the last two SetLineInformation() calls.dgp2013-07-121-0/+25
| | | |
* | | | 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-114-61/+447
| |\ \ \ | |/ / / |/| | |
* | | | Add a test for each call to SetLineInformation() demonstrating the needdgp2013-07-114-61/+431
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | for it to be there. Fixed bugs revealed by the new tests. What's still missing are more tests demonstrating the need for other SetLineInformation() calls that are not there yet. ;)
| * | | | 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-112-6/+28
| | | | | | | | | | | | | | | the bugs around those calls exposed by the tests.
| * | | | Add tests for SetLineInformation() calls in tclCompCmdsSZ.c as well as somedgp2013-07-102-46/+206
| | | | | | | | | | | | | | | obvious refactoring improvements.
| * | | | Add tests for SetLineInformation() calls in tclCompCmdsGR.c.dgp2013-07-102-4/+57
| | | | |
| * | | | Add tests for, and fix bugs in, the SetLineInformation() calls in tclCompCmds.c.dgp2013-07-102-11/+127
| | | | |
| * | | | 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-102-1/+15
| | | | |