summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkjan.nijtmans2017-12-221-1/+1
|\
| * Further fix for issue [ba1419303b4c]: Delete a namespace for an ensemble ↵pooryorick2017-12-201-1/+1
| | | | | | | | | | having a deletion trace deletes its namespace: segmentation fault.
* | merge trunkjan.nijtmans2017-12-201-11/+8
|\ \ | |/
| * Fix for issue [ba1419303b4c]: Delete a namespace for an ensemble having a ↵pooryorick2017-12-201-10/+7
| | | | | | | | | | deletion trace deletes its namespace: segmentation fault.
| * merge core-8-branch. Also change some internal refCount's from int to size_t.jan.nijtmans2017-12-191-2/+2
| |\
| | * Make TclEnsureNamespace() MODULE_SCOPE. Also change some refCount fields ↵jan.nijtmans2017-12-191-2/+2
| | | | | | | | | | | | from type "int" to "unsigned int" for increased range.
| | * Revert a few more (int -> size_t) transitions, which could effect extensions ↵jan.nijtmans2017-12-151-1/+1
| | | | | | | | | | | | | | | (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out!
* | | merge trunkjan.nijtmans2017-12-011-1/+30
|\ \ \ | |/ /
| * | merge core-8-branch. Various cleanup: unused structure names, unused ↵jan.nijtmans2017-12-011-1/+1
| |/ | | | | | | #defines. Change some "epoch"-related fields from int to size_t. Nothing functional.
| * Add missing parenthesis to an expression in TclEnsureNamespace.pooryorick2017-11-251-1/+1
| |
| * Fix [16fe1b5807]: namespace ensemble command named ":" is mistakenly given thepooryorick2017-11-171-1/+30
| | | | | | empty string as its name.
* | Handle Tcl_UtfAtIndex/Tcl_UniCharAtIndex for extended index range. More ↵jan.nijtmans2017-11-161-4/+3
| | | | | | | | field fixes.
* | re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming.jan.nijtmans2017-11-161-7/+8
|\ \ | |/ |/|
| * More internal use of size_t. Eliminate unused "isBin" argument from ↵jan.nijtmans2016-12-011-8/+9
| | | | | | | | TclpSysAlloc()
| * Merge trunk. More internal use of size_t in stead of int (or long)jan.nijtmans2016-11-211-6/+4
| |\
| * \ merge trunkdgp2016-09-081-13/+7
| |\ \
| * \ \ merge trunkjan.nijtmans2016-09-071-0/+3
| |\ \ \
| * \ \ \ merge trunkdgp2016-07-181-4/+4
| |\ \ \ \
| * \ \ \ \ merge trunkdgp2016-07-091-2/+2
| |\ \ \ \ \
| * \ \ \ \ \ merge trunkdgp2016-07-011-17/+2
| |\ \ \ \ \ \
| * \ \ \ \ \ \ merge trunkdgp2016-05-241-22/+64
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ merge trunkjan.nijtmans2015-08-041-9/+3
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ merge trunkjan.nijtmans2015-07-021-1/+1
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ merge trunkjan.nijtmans2015-07-021-1/+1
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ merge trunkjan.nijtmans2014-01-231-1/+1
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ merge trunkjan.nijtmans2013-09-271-30/+65
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ merge trunkdgp2013-09-211-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunk. jan.nijtmans2013-02-271-4/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Tcl_VarTraceInfo and Tcl_UpVar as macro.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge trunk. jan.nijtmans2013-02-221-44/+20
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert Tcl_UntraceVar to macro, calling Tcl_UntraceVar2 in stead. No change of functionality.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge trunk. jan.nijtmans2013-02-111-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Convert Tcl_GetIndexFromObj implementation to macrojan.nijtmans2013-01-241-8/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | merge trunkjan.nijtmans2013-01-121-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | Remove various double-defined (both in public and private stub tables) functions from private stub table
| * | | | | | | | | | | | | | | | | merge trunkjan.nijtmans2013-01-051-10/+10
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-12-211-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for the compiler.
| | * | | | | | | | | | | | | | | | | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for te compiler.
* | | | | | | | | | | | | | | | | | | | Remove some unnecessary "struct" definitions and some type casts no longer ↵jan.nijtmans2017-04-111-1/+1
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary. No functional changes.
* | | | | | | | | | | | | | | | | | | More internal use of size_t in stead of int.jan.nijtmans2016-11-211-6/+4
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Revert b98ee56376. The "bug" fixed was documented behavior.dgp2016-09-091-7/+13
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Attempt to fix [7f02ff1efa]. Make trace-18.1 fail. Suspect test is andgp2016-09-071-13/+7
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | experiment that preserves the bug.
* | | | | | | | | | | | | | | | | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | literal sharing vs. per-interp resolvers
| * | | | | | | | | | | | | | | | Proposed patch for [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1], by ↵jan.nijtmans2016-09-021-0/+3
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gustaf Neumann
* | | | | | | | | | | | | | | | Stop checking case that can never happen.dgp2016-07-141-4/+4
|/ / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which ↵dkf2016-07-071-2/+2
| |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seem to need it.
* | | | | | | | | | | | | | Encapsulate the fetching of the ensemble rewrite root, used by [namespace].dgp2016-07-011-17/+2
| |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | |
* | | | | | | | | | | | | Make the tests pass.dkf2016-05-211-14/+26
| | | | | | | | | | | | |
* | | | | | | | | | | | | Possible fix for [f97d4ee020]; uses a two-stage approach to avoid quadratic ↵dkf2016-05-161-23/+53
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behaviour.
* | | | | | | | | | | | explicitly ignore Tcl_PushCallFrame and TclPushStackFrame return value - it ↵Miguel Sofer2015-08-011-9/+3
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-7/+7
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | implement [namespace origin] in bytecodedkf2013-12-301-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |