summaryrefslogtreecommitdiffstats
path: root/generic/tclNamesp.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| | * | * generic/tclNamesp.c: Tighten the detector of nested [namespace code] bug_3202171dgp2011-03-091-13/+9
| | | | | | | | | | | | | | | | | | | | * tests/namespace.test: quoting that the quoted scriptsfunction properly even in a namespace that contains a custom "namespace" command. [Bug 3202171]
* | | | Turn namespace into an ensemble. Not yet on trunk because of some mysterious ↵dkf2011-03-091-202/+161
|/ / / | | | | | | | | | failures that need resolving...
* | | 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).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-211-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c:
| | * * generic/tclNamesp.c: Plugged memory leak related todgp2007-05-151-2/+8
| | | | | | | | | | | | [namespace delete ::]. [Bug 1716782]
| | * * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-281-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
| | * * generic/tclNamesp.c (NamespaceInscopeCmd): revert [Bug 1400572]hobbs2006-05-311-5/+3
| | | | | | | | | | | | | | | | | | fix of 2006-01-09 for [namespace inscope] as it seems to mess with itcl scope decoding. Leaving namespace-29.6 test failure until final cause it determined.
| | * * generic/tclNamesp.c (NamespaceInscopeCmd): [namespace inscope]dgp2006-01-091-3/+5
| | | | | | | | | | | | | | | * tests/namespace.test: commands were not reported by [info level] [Bug 1400572].
| | * * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-181-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (TraceCommandProc): * generic/tclInt.h (NS_KILLED): * generic/tclNamesp.c (Tcl_DeleteNamespace * tests/namespace.test (namespace-7.3-6): * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342].
| | * * generic/tclInt.h:Miguel Sofer2005-11-041-4/+4
| | | | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don. * tests/trace.test: fix duplicate test numbers
| | * * generic/tclNamesp.c (TclTeardownNamespace): Re-ordering so thatdgp2005-07-261-16/+16
| | | | | | | | | | | | | | | * tests/trace.test (trace-34.4): command delete traces fire while the command still exists. [Bug 1047286]