summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
Commit message (Collapse)AuthorAgeFilesLines
* More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-1/+1
| | | | and (unsigned) type-casts, which don't make sense any more.
* merge 8.6 (regression fix [e3f481f187], conflicts resolved)sebres2019-02-011-30/+25
|\
| * code review with small amend (note nameLength is number of bytes, the ↵sebres2019-01-311-17/+16
| | | | | | | | argument may be utf-8 as well as not necessarily a NTS, so access of char after end may cause segfault).
| * fixes utf-8 compatibility of proc/lambda arguments (regression on compiled ↵sebres2019-01-301-14/+11
| | | | | | | | | | | | | | locals/variables containing utf-8 characters) - CompiledLocal::nameLength is length in bytes not in chars everywhere in tcl; simplest example: % apply {{€} { set "€" }} 1; # or apply [list \u20ac { set \u20ac }] 1 can't read "€": no such variable
* | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. jan.nijtmans2019-01-281-4/+4
| | | | | | But ... don't use this function when the result is only compared to NULL: that's just overkill.
* | merge 8.7dgp2018-10-181-82/+56
|\ \
| * \ Implementatin of TIP #515: Level Value Reformjan.nijtmans2018-09-261-59/+31
| |\ \
| | * \ merge 8.7jan.nijtmans2018-09-221-1/+1
| | |\ \
| | * \ \ Merge core-8-branchjan.nijtmans2018-09-081-4/+4
| | |\ \ \
| | * | | | TIP #515 implementation: Level Value Reformjan.nijtmans2018-09-071-59/+31
| | | | | |
| * | | | | merge 8.6jan.nijtmans2018-09-251-17/+19
| |\ \ \ \ \ | | |_|_|/ / | |/| | | / | | | |_|/ | | |/| |
| | * | | Contributed patch from Gustaf Neumann, preventing problems where ↵jan.nijtmans2018-09-251-17/+19
| | | | | | | | | | | | | | | | | | | | "localCachePtr" can be NULL
| * | | | Merge 8.6jan.nijtmans2018-09-071-1/+1
| |\ \ \ \ | | |/ / / | | | | / | | |_|/ | |/| |
| | * | small code review (duplicate code removed)sebres2018-09-071-1/+1
| | | |
| * | | merge 8.6 (segfault fix)sebres2018-09-071-4/+4
| |\ \ \ | | |/ / | | | / | | |/ | |/|
| | * closes [631b4c45df]: segfault by usage of wrong length (no string ↵sebres2018-09-071-4/+4
| | | | | | | | | | | | representation)
| | * Fix segmentation fault in TclOO that was noted in [16fe1b5807]. Updatepooryorick2018-02-141-11/+11
| | | | | | | | | coroutine and TclOO object creation routines to use TclCreateObjCommandInNs.
| | * Lift the restriction on command names names that begin with ":".pooryorick2018-02-141-18/+42
| | |
* | | merge 8.7dgp2018-02-061-2/+2
|\ \ \ | |/ /
| * | merge core-8-branchjan.nijtmans2017-12-191-1/+1
| |\ \
| * \ \ merge core-8-branchjan.nijtmans2017-12-061-36/+12
| |\ \ \ | | | |/ | | |/|
| * | | merge trunkdgp2017-11-091-54/+42
| |\ \ \
| | * | | Modify TclCreateProc to handle arbitrary argument names, not just ASCII.pooryorick2017-11-081-54/+42
| | | | |
| * | | | Experimental branch meant to eliminate the "wideint" type, just merge it to ↵jan.nijtmans2017-10-301-2/+2
| |/ / / | | | | | | | | | | | | a single "int" type. No effect on linux64 and similar systems, code simplification for Win64 and 32-bit system. No TIP yet, implementation ongoing.
* | | | merge 8.7dgp2017-12-191-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Make TclEnsureNamespace() MODULE_SCOPE. Also change some refCount fields ↵jan.nijtmans2017-12-191-1/+1
| | |/ | |/| | | | | | | from type "int" to "unsigned int" for increased range.
* | | merge 8.7dgp2017-11-291-36/+12
|\ \ \ | |/ /
| * | Fix segmentation fault in TclOO that was noted in [16fe1b5807]. Updatepooryorick2017-11-191-11/+11
| | | | | | | | | coroutine and TclOO object creation routines to use TclCreateObjCommandInNs.
| * | Lift the restriction on command names names that begin with ":".pooryorick2017-11-171-8/+0
| | |
| * | Fix [16fe1b5807]: namespace ensemble command named ":" is mistakenly given thepooryorick2017-11-171-18/+2
| | | | | | | | | empty string as its name.
* | | merge 8.7dgp2017-11-081-54/+42
|\ \ \ | |/ /
| * | Modify TclCreateProc to handle arbitrary argument names, not just ASCII.dgp2017-11-081-54/+42
| |/
* | merge trunkdgp2017-04-271-0/+35
|\ \ | |/
| * [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-271-0/+35
| |\ | | | | | | | | | zlib channel transform.
| | * A better way of getting source file location information when disassembling.dkf2017-04-221-0/+35
| | |
* | | merge trunkdgp2017-01-271-5/+5
|\ \ \ | |/ /
| * | Some code cleanup: More internal use of size_t, less type casts (because of ↵jan.nijtmans2017-01-271-5/+5
| | | | | | | | | | | | this). No functional changes.
* | | merge trunkdgp2016-07-181-21/+0
|\ \ \ | |/ /
| * | Remove unmaintained disabled speculative code.dgp2016-07-151-24/+0
| | | | | | | | | Such things are for branches and history.
* | | yupdgp2016-07-131-1/+1
| | |
* | | merge trunkdgp2016-07-091-3/+3
|\ \ \ | |/ /
| * | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-3/+3
| |/ | | | | | | in many places where possible.
* | merge trunkdgp2016-07-021-7/+5
|\ \ | |/
| * Use the utility routines to eliminate the last bit of intrusion into thedgp2016-07-011-7/+5
| | | | | | ensembleRewrite area.
* | merge trunkdgp2016-06-291-15/+3
|\ \ | |/
| * merge 8.6dgp2016-06-231-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.
* | | merge trunkdgp2016-06-281-1/+1
|\ \ \ | | |/ | |/|