summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
Commit message (Collapse)AuthorAgeFilesLines
* merge 8.7dgp2017-12-271-10/+7
|\
| * 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.
| * 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 8.7dgp2017-12-191-3/+3
|\ \ | |/
| * 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 8.7dgp2017-11-291-1/+30
|\ \ | |/
| * 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.
* | merge trunkdgp2017-04-121-1/+1
|\ \ | |/
| * Remove some unnecessary "struct" definitions and some type casts no longer ↵jan.nijtmans2017-04-111-1/+1
| | | | | | | | necessary. No functional changes.
* | merge trunkdgp2016-11-281-6/+4
|\ \ | |/
| * More internal use of size_t in stead of int.jan.nijtmans2016-11-211-6/+4
| |
* | merge trunkdgp2016-09-091-7/+13
|\ \ | |/
| * Revert b98ee56376. The "bug" fixed was documented behavior.dgp2016-09-091-7/+13
| |
* | merge trunkdgp2016-09-081-13/+10
|\ \ | |/
| * 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
* | | merge trunkdgp2016-07-141-4/+4
|\ \ \ | |/ /
| * | Stop checking case that can never happen.dgp2016-07-141-4/+4
| |/
* | another onedgp2016-07-131-1/+1
| |
* | merge trunkdgp2016-07-091-2/+2
|\ \ | |/
| * Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which ↵dkf2016-07-071-2/+2
| | | | | | | | seem to need it.
* | merge trunkdgp2016-07-021-17/+2
|\ \ | |/
| * Encapsulate the fetching of the ensemble rewrite root, used by [namespace].dgp2016-07-011-17/+2
| |
* | merge trunkdgp2016-05-241-22/+64
|\ \ | |/
| * 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.
* | Revise "nsName" ObjType to use proposed routines.dgp2016-04-041-27/+38
|/
* 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
|
* merge 8.5dgp2013-09-271-30/+65
|\
| * [d614d63989] Ensure that there are no trailing colons as that causes chaos ↵dkf2013-09-251-24/+59
| | | | | | | | when a deleteProc is specified.
* | Revise TclNREvalObjv so that pre-resolution of the Command by a callerdgp2013-04-081-1/+1
| | | | | | | | does not force suppression of exception handling. Let those be separable demands. Aim is to bring TclObjInvoke*() into the fold.
* | Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> ↵jan.nijtmans2013-02-271-4/+4
| | | | | | | | Tcl_VarTraceInfo2 conversions.
* | 3605447 Make sure the -clear option to [namespace export] always clears,dgp2013-02-211-44/+20
|\ \ | |/ | | whether or not new export patterns are specified.
| * 3605447 Make sure the -clear option to [namespace export] always clears,dgp2013-02-211-43/+20
| |\ | | | | | | whether or not new export patterns are specified.
| | * The flag TCL_LEAVE_ERR_MSG has no effect on the routinedgp2013-02-211-8/+4
| | | | | | | | | | | | TclGetNamespaceForQualName() so for goodness sake stop making any special efforts to add it in when making calls.
| | * refinementdgp2013-02-201-2/+1
| | |
| | * 36054447 Convert [namespace export -clear] interface to something less stupid.dgp2013-02-201-32/+18
| | | | | | | | | Test suite does not demand the stupidity continue, thank goodness.
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵jan.nijtmans2013-01-311-7/+7
| | | | | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
| * | Backport fix for [Bug 2857044].dgp2011-04-271-0/+1
| | |
* | | Name functions according to 'what' instead of 'how' in the [tailcall]mig2013-01-111-1/+1
| | | | | | | | | machinery, in view of making public some parts of it.
* | | tailcall now running in a simpler model, with no eval-flags and no nre-stack ↵mig2013-01-101-2/+2
| | | | | | | | | | | | rewriting; yieldto also requires one fewer bounce. Mostly from mig-nre-mods
* | | Add super-simple compiler to many ensemble subcommands to allow better codedkf2013-01-041-10/+10
| | | | | | | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job.
* | | Added compilation of [string last] and improved the compilation of [string ↵dkf2012-11-031-19/+19
| | | | | | | | | | | | range]. This in turn enables compilation of [namespace qualifiers] and [namespace tail] (also done).
* | | Compile [namespace which -command]; big performance saving in some contexts.dkf2012-10-261-1/+1
| | |