summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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 ↵bug_1493a43044dkf2016-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.bug_f97d4ee020dkf2016-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
|
* 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
| | |
* | | Added compilation of [namespace code] (except for gnarly edge cases).dkf2012-10-251-1/+1
| | |
* | | merge trunkdkf2012-08-041-41/+40
|\ \ \
| * | | more result generation conversiondkf2012-08-041-32/+32
| | | |
| * | | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-7/+6
| | | |
| * | | NRInterpCoroutine -> TclNRInterpCoroutinejan.nijtmans2012-07-021-2/+2
| | | | | | | | | | | | | | | | make NRCommand static make TalInstructionTable static const
* | | | Compilation of misc info sometimes used in high-performance code.dkf2012-03-041-138/+137
|/ / /
* | | 3423059 silence compiler warningdgp2011-10-131-1/+1
| | |
* | | Reduce use of Tcl_AppendElement, which is not (and can't be) a Tcl_Obj-aware ↵dkf2011-05-091-17/+41
| | | | | | | | | | | | API.
* | | TclFreeIntRep() cleanup.dgp2011-04-271-1/+0
| | |
* | | fix for [Bug 3288345]: use _stat32i64 for CYGWIN toojan.nijtmans2011-04-271-19/+19
|\ \ \ | |/ / | | | fix a few more gcc warnings
* | | Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-211-1/+6
|\ \ \ | |/ /
| * | Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-211-1/+6
| |\ \ | | |/
| | * Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-211-0/+4
| | |
* | | More generation of error codes (namespace creation, path normalization,dkf2011-04-031-0/+4
| | | | | | | | | pipeline creation, package handling, procedures, [scan] formats)
* | | More generation of errorCode information.dkf2011-03-261-0/+6
| | |
* | | Squelch another unnecessary cast.dkf2011-03-261-1/+1
| | |
* | | Reduce the number of casts used to manage Tcl_Obj internal representations.dkf2011-03-261-3/+3
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-21/+19
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Merge to feature branchdkf2011-03-091-13/+9
|\ \ \
| * \ \ * generic/tclNamesp.c: Tighten the detector of nested [namespace code]dgp2011-03-091-13/+9
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | * tests/namespace.test: quoting that the quoted scripts function properly even in a namespace that contains a custom "namespace" command. [Bug 3202171] * doc/tclvars.n: Formatting fix. Thanks to Pat Thotys.