summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | merge trunkdgp2013-04-162-2/+12
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | More progress. NR-enable [interp] and [$slave], completely withdgp2013-04-111-12/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | invokehidden subcommand. Test suite passes with no errors.
| * | | | | | | | | | | | More revisions let multi-interp test case work, but at cost of panicsdgp2013-04-111-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and segfaults. Pushing the NRE-envelope.
| * | | | | | | | | | | | New internal routine TclNRInvoke() - NR-enabled path through the machinerydgp2013-04-113-48/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behind invokehidden commands.
| * | | | | | | | | | | | merge trunkdgp2013-04-114-0/+10
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Revise TclNREvalObjv so that pre-resolution of the Command by a callerdgp2013-04-083-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | does not force suppression of exception handling. Let those be separable demands. Aim is to bring TclObjInvoke*() into the fold.
* | | | | | | | | | | | | | Make sure all Tcl_NR*Eval*() routines do a schedule only. No errors raised.dgp2013-08-231-17/+32
| |_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Remove complications that no longer server any required purpose.dgp2013-08-231-19/+1
| |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | |
* | | | | | | | | | | | compiler warningdgp2013-08-221-1/+1
| |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | |
* | | | | | | | | | | Make Dispatch() the single point for calling a Tcl_ObjCmdProc, and attachdgp2013-08-221-59/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the DTRACE machinery there (one place, not two).
* | | | | | | | | | | Remove assertion that is not true in some circumstances (--enable-dtrace).dgp2013-08-221-2/+1
| |_|_|_|_|_|_|/ / / |/| | | | | | | | |
* | | | | | | | | | Tidy the code and add a test.dgp_purge_NRRunObjProcdgp2013-08-211-39/+0
| | | | | | | | | |
* | | | | | | | | | Don't allocate memory until you know you're going to use it and arrange fordgp2013-08-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it to be freed. Leak!
* | | | | | | | | | Don't use automatic storage to hold the invocation words of oo::define.dgp2013-08-211-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That practice doesn't agree with NRE execution.
* | | | | | | | | | Push out a trial patch for more eyes to see.dgp2013-08-201-0/+22
| | | | | | | | | |
* | | | | | | | | | Testing doing away with the NRRunObjProc routine, which looks like adgp2013-08-191-0/+8
| |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | useless extra bounce on the NRE trampoline. Normal testing has no problem with it, but debug-enabled testing triggers an assert failure. Either it would be good to have a normal test that fails in the conditions of the assert failure, or it would be good to discover the assert is asserting something not actually required, and then make the purge.
* | | | | | | | | Make sure the errors raised by execution traces become errors raised by thedgp2013-08-151-3/+3
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | / / | | |_|_|_|_|/ / | |/| | | | | | traced command, as documented. Deletion of the traced command was supressing that.
| * | | | | | | Make sure the errors raised by execution traces become errors raised bydgp2013-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the traced command, as documented. Deletion of the traced command was supressing that.
* | | | | | | | The fix for [3610404] leads to a simplification in the implementation ofdgp2013-08-152-18/+1
| |_|_|_|_|/ / |/| | | | | | | | | | | | | forward methods.
* | | | | | | [3610404] Re-resolution of command after enter traces invalidate epoch.dgp2013-08-141-0/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | Make sure context is such that correct resolution happens.
| * | | | | | merge trunkbug_3610404dgp2013-08-1442-5319/+6224
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | [a16752c252] Correct failure to call cmd deletion callbacks.dgp2013-08-142-26/+8
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | [a16752c252] Correct failure to call cmd deletion callbacks.dgp2013-08-142-26/+8
| | | | | | |
* | | | | | | Consolidate some helper routines.dgp_bye_ctx_eval_flagdgp2013-08-143-29/+19
| | | | | | |
* | | | | | | Only schedule leave traces if enter traces complete successfully.dgp2013-08-141-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 todgp2013-08-123-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-substdgp2013-08-104-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 zerodgp2013-08-091-2/+1
| | | | | | | | | | | | | | | | | | | | | refcount value.
* | | | | | | Revise GetCommandSource() to return a normal Tcl_Obj value.dgp2013-08-071-18/+8
| | | | | | |
* | | | | | | Give (objc, objv) their own ride from enter to leave traces.dgp2013-08-071-4/+4
| | | | | | |
* | | | | | | Remove Tcl_Preserve support for ContLineLoc values. It's not needed.dgp2013-08-073-56/+5
| | | | | | | | | | | | | | | | | | | | | This allows the clLoc field of CompileEnv struct to go away too.
* | | | | | | Test for TclContinuationsGet() usage, and simplifications.dgp2013-08-071-17/+1
| | | | | | |
* | | | | | | Replace potentially memleak creating safety check of a "cannot happen"dgp2013-08-071-8/+6
| | | | | | | | | | | | | | | | | | | | | condition with an assertion.
* | | | | | | Add comment stating new limitation on Tcl(NR)EvalObjEx() interface.dgp2013-08-071-0/+5
| | | | | | |
* | | | | | | All use of the evalFlag value TCL_EVAL_CTX is unused by the code anddgp2013-08-062-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 ↵dgp2013-08-062-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | elimination.
* | | | | | | Drop TCL_LOCATION_EVAL_LIST now that it is unused.dgp_bye_location_eval_listdgp2013-08-061-4/+0
| | | | | | |
* | | | | | | Eliminate the union that is no longer needed.dgp2013-08-066-34/+26
| | | | | | |
* | | | | | | Revert the changes that went too far and broke things.dgp2013-08-061-13/+26
| | | | | | |
* | | | | | | The value TCL_LOCATION_EVAL_LIST in the type field of a CmdFrame appears todgp2013-08-064-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.dkf2013-08-021-0/+3
| | | | | | |
* | | | | | | [9d61624b3d]: Stop crashes when emptying the superclass slot.dkf2013-08-021-19/+29
| | | | | | |
* | | | | | | [1905562] [8d2c0da36d] Raise the recursion limits on regexps to allowdgp2013-08-011-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.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/]. 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-273-1/+11
| | | | | | |
* | | | | | | [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match. Thanks to Tom Lane ↵dgp2013-07-261-6/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | for passing on the discovery in Postgres.
| * | | | | | [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match.dgp2013-07-261-6/+1
| | | | | | | | | | | | | | | | | | | | | Thanks to Tom Lane for passing on the discovery in Postgres.
* | | | | | | Demonstrate and fix memory leak in Tcl_ParseVar().dgp2013-07-241-0/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Demonstrate and fix memory leak in Tcl_ParseVar().dgp2013-07-241-0/+1
| | | | | | |