summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Remove complications that no longer server any required purpose.dgp2013-08-231-19/+1
| | | |
| | | |
| | \ \
| *-. \ \ merge trunkdgp2013-08-221-59/+32
| |\ \ \ \ | | | |/ /
| | | * | 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).
| * | | merge trunkdgp2013-08-221-24/+15
| |\ \ \ | | |/ /
| | * | Tidy the code and add a test.dgp_purge_NRRunObjProcdgp2013-08-211-39/+0
| | | |
| | * | 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.
| * | | Revise execution trace handling to take account of the new reality indgp2013-08-191-14/+37
| | | | | | | | | | | | | | | | | | | | Tcl 8.6 that callers can pre-resolve a cmdPtr for us. In that case a re-resolution in the form of another command name lookup isn't the right thing.
| * | | merge trunkdgp2013-08-151-3/+3
| |\ \ \ | | |/ /
| * | | merge trunkdgp2013-08-141-353/+225
| |\ \ \
| * | | | New internal routine TclNRInvoke() - NR-enabled path through the machinerydgp2013-04-111-47/+30
| | | | | | | | | | | | | | | behind invokehidden commands.
| * | | | Revise TclNREvalObjv so that pre-resolution of the Command by a callerdgp2013-04-081-5/+12
| | | | | | | | | | | | | | | | | | | | does not force suppression of exception handling. Let those be separable demands. Aim is to bring TclObjInvoke*() into the fold.
* | | | | merge trunkdkf2013-08-221-281/+133
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | 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.
| * | | [a16752c252] Correct failure to call cmd deletion callbacks.dgp2013-08-141-23/+5
| |\ \ \ | | |/ /
| | * | [a16752c252] Correct failure to call cmd deletion callbacks.dgp2013-08-141-23/+5
| | | |
| * | | 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-121-34/+9
| | | | | | | | | | | | | | | | | | | | 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-101-26/+15
| | | | | | | | | | | | | | | | 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
| | | |
| * | | Test for TclContinuationsGet() usage, and simplifications.dgp2013-08-071-17/+1
| | | |
| * | | 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-061-87/+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-061-0/+2
| | | | | | | | | | | | | | | | elimination.
| * | | Eliminate the union that is no longer needed.dgp2013-08-061-7/+6
| | | |
| * | | 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-061-44/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | merge trunkdgp2013-07-181-1/+4
| |\ \ \
| | * | | [Bug 1c17fbba5d] Fix -errorinfo from syntax errors so that the error isdgp2013-07-181-1/+4
| | | | | | | | | | | | | | | not obscured. Instead highlight it by making it the last character quoted.
| * | | | Eliminate the litInfo table and all the code tending to its care and feeding.dgp2013-07-161-69/+65
| | | | | | | | | | | | | | | | | | | | 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-151-4/+18
| |/ / /
* | | | Code-readable disassembler: tcl::unsupported::getbytecodedkf2013-06-111-1/+3
|/ / /
* | | Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-111-3/+4
|\ \ \ | |/ / | | | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
| * | Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-111-3/+4
| | | | | | | | | | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
* | | Add support for the latest mingw-4.0-rc1. See: ↵jan.nijtmans2013-05-161-0/+11
|\ \ \ | |/ / | | | | | | [http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0-rc1/tree/NEWS]
| * | _USE_32BIT_TIME_T is already defined in tclWinPort.hjan.nijtmans2013-05-161-4/+0
| | |
| * | Add support for the latest mingw-4.0-rc1. See: ↵jan.nijtmans2013-05-161-0/+15
| |\ \ | | | | | | | | | | | | [http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0-rc1/tree/NEWS]
| | * | Add support for the latest mingw-4.0-rc1. See: ↵jan.nijtmans2013-05-161-0/+15
| | | | | | | | | | | | | | | | [http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0-rc1/tree/NEWS]
| | * | Make (deprecated) Tcl_EvalObj/Tcl_GlobalEvalObj macro's always, not only ↵jan.nijtmans2013-04-091-0/+2
| | | | | | | | | | | | | | | | when using stubs.
* | | | A better technique for [list {*}blah]. Remove the INST_LIST_EXPANDED opcode ↵dkf2013-05-151-74/+82
| | | | | | | | | | | | | | | | (and the complex machinery associated with it) as as it is no longer needed.
* | | | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵jan.nijtmans2013-04-231-1/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
| * | 3610404 When we let go of commandPtr in TclEvalObjvInternal, NULL out thedgp2013-04-161-0/+1
| | | | | | | | | variable so we don't mistakenly try to use the value later after we freed it.
* | | Make Tcl_EvalObj/Tcl_GlobalEvalObj a macro always, not only when using stubs.jan.nijtmans2013-04-041-0/+2
|\ \ \ | |/ /
| * | Make Tcl_EvalObj/Tcl_GlobalEvalObj a macro always, not only when using stubs.jan.nijtmans2013-04-041-0/+2
| | |
* | | If TCL_NO_DEPRECATED is defined, don't depend on ↵jan.nijtmans2013-03-221-1/+1
| | | | | | | | | | | | | | | Tcl_CreateMathFunc()/Tcl_SaveResult() in testcases any more. Prevent endless loop in Tcl_AddObjErrorInfo, when TCL_NO_DEPRECATED is defined.
* | | Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.jan.nijtmans2013-02-281-0/+4
| | |