summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
Commit message (Collapse)AuthorAgeFilesLines
* A better way of getting source file location information when disassembling.dkf2017-04-221-0/+35
|
* Use the utility routines to eliminate the last bit of intrusion into thedgp2016-07-011-7/+5
| | | ensembleRewrite area.
* merge 8.6dgp2016-06-231-1/+1
|\
| * [c95b9fc0e3] Make errorcodes out of level parsing more consistent.dkf2016-06-221-1/+1
| |
* | Reduce to minimum set of TclResetRewriteEnsemble() calls.dgp2016-05-261-2/+0
| |
* | Refactor all iPtr->ensembleRewrite setting code into TclInitRewriteEnsemble()dgp2016-05-251-14/+3
| | | | | | | | calls. This likely fixes many weird corner case bugs, and definitly makes future development and maintenance easier.
* | Appears that the TclInitRewriteEnsemble() routine was created with an intentdgp2016-05-241-0/+2
|/ | | to refactor, but never actually got used. Work on continuing that effort.
* Tidy up the last commit.dgp2016-04-071-7/+6
|
* [213b6a2b9d] Make level parsing honor EIAS.dgp2016-04-061-72/+46
|
* typo in comment. Eliminate unnecessary end-of-line spacing.jan.nijtmans2015-10-191-2/+2
|
* explicitly ignore Tcl_PushCallFrame and TclPushStackFrame return value - it ↵Miguel Sofer2015-08-011-5/+2
| | | | is always TCL_OK. Inconsistency found by coverity (CID 1251197)
* Revert refcount changes that were not cosmetic.dgp2015-07-021-1/+1
| | | | | | Changing equality testing to inequality testing does more than make code prettier or clearer. It makes it less strict, and thus more tolerant of other bugs elsewhere. Such changes deserve separate consideration at least, not breezy entry in an otherwise "code cleanup" commit.
* Another round of refCount consistancy improvements.jan.nijtmans2015-07-021-2/+1
|
* Consistancy in refcount management.jan.nijtmans2015-06-301-3/+3
|
* Use twoPtrValue in stead of ptrAndLongRep for implementation of some ↵jan.nijtmans2015-06-301-15/+10
| | | | | internal Obj types. On most platforms this doesn't make a difference, as (void *) and (long) generially have the same size. The only exception where it makes a difference is win64, as we can now store 64 bits in this field in stead of only 32 bits, exactly what the processor is optimized for.
* Tidy things up a bit more.dkf_improved_disassemblerdkf2014-09-201-1/+1
|
* merge trunkdkf2014-01-091-40/+32
|\
| * skip the switch(result) on returning TCL_OK from a procmig2014-01-051-40/+32
| |
* | merge trunkdkf2013-08-221-4/+4
|\ \ | |/
| * Eliminate the union that is no longer needed.dgp2013-08-061-4/+4
| |
* | Move the disassembler to its own file.dkf2013-06-111-245/+13
|/
* 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
* | Revise TclReleaseLiteral() to tolerate a NULL interp argument.dgp2013-02-281-10/+2
| | | | | | Update callers and revise mistaken comments.
* | Eliminate all Tcl_ConvertToType calls and all direct calls to ↵jan.nijtmans2013-02-041-6/+4
| | | | | | | | typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core.
* | merge core-8-5-branchjan.nijtmans2013-01-311-14/+13
|\ \ | |/
| * Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵jan.nijtmans2013-01-311-15/+14
| | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
* | more result generation conversiondkf2012-08-041-34/+37
| |
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-1/+1
| |
* | 3532959 Make sure the lifetime management of entries in the linePBodyPtr hashdgp2012-06-111-13/+15
|\ \ | |/ | | table can tolerate either order of teardown, interp first, or Proc first.
| * Revised so that we avoid hashing twice.bug_3532959dgp2012-06-111-6/+4
| |
| * 3532959 Arrange for every lambda to place an entry in the linePBodyPtr hash ↵dgp2012-06-101-9/+13
| | | | | | | | | | | | | | table. Then the two teardowns of data in that table synchronize so that the first to run signals the other not to operate. Test proc-7.4 in a mem debug build of Tcl will detect Bug 3532959 by crashing.
| * Work in progress fixing 3532959dgp2012-06-081-1/+1
| |
| * * generic/tclProc.c (ProcWrongNumArgs): [Bugs 3400658,3408830]:dkf2011-09-161-0/+2
| | | | | | Corrected the handling of procedure error messages (found by TclOO).
| * Backport fix for [Bug 2857044].dgp2011-04-271-0/+1
| |
* | [Bug 3408830]: Use the _right_ fix for [Bug 3400658]!dkf2011-09-161-0/+2
| |
* | Use Tcl_PrintfObj to generate more (complex) error messages.dkf2011-08-051-5/+4
| |
* | * generic/tclProc.c (TclProcCompileProc): fix for leak of resolveInfo when ↵mig2011-08-011-0/+7
| | | | | | | | recompiling procs, [Bug 3383616]. Thx go to Gustaf Neumann for detecting the bug and providing the fix.
* | TclFreeIntRep() related cleanup.dgp2011-04-251-3/+2
| |
* | Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-211-1/+5
|\ \ | |/
| * Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-211-1/+5
| |\
* | | More generation of error codes (namespace creation, path normalization,dkf2011-04-031-18/+50
| | | | | | | | | pipeline creation, package handling, procedures, [scan] formats)
| | |
| \ \
*-. \ \ Rewrites to eliminate some isspace() calls.dgp2011-03-161-7/+6
|\ \ \ \ | | |/ /
| | * | whitespace tidydgp2011-03-161-1/+1
| |/ /
| * | Rewrites to eliminate isspace() calls.dgp2011-03-161-6/+5
| | |
| * | Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-081-0/+6
| |\ \ | | |/
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-35/+33
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | mergejan.nijtmans2011-03-081-0/+10
|\ \ \
| * \ \ Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-081-0/+2
| |\ \ \ |/ / / / | | | _
| * | Fix gcc warnings: variable set but not usedjan.nijtmans2011-03-081-0/+4
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | | |/ | |/| cause more harm than good. Purged them (except in zlib files).