Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | There's a "parsedVarName" Tcl_ObjType that remembers how a variable namedgp_revise_parsedvarnametype | dgp | 2016-03-28 | 1 | -11/+34 |
| | | | | | | | | | breaks down into the name of an array and the name of an element. It has been storing them in an intrep as a Tcl_Obj holding the array name and an allocated string holding the element name. This branch revises the intrep strategy to use Tcl_Obj's to hold both parts. This reduces copying and seems to simplify the code. Also "nulled out" the UpdateStringProc for the type which can never be called. I think this is a better answer, but I'd like any other informed opinions. | ||||
* | Extra safety against cyclesbug_80304238ac | dgp | 2016-03-01 | 1 | -1/+2 |
| | |||||
* | [80304238ac] Candidate fix for memleak due to RC cycle. | dgp | 2016-02-26 | 1 | -5/+7 |
| | |||||
* | Align comment. Remove some end-of-line spacing. No functional changes. | jan.nijtmans | 2015-09-28 | 1 | -5/+5 |
|\ | |||||
* | | micro-opt of hash lookups found by drh | Miguel Sofer | 2015-09-22 | 1 | -6/+5 |
| | | |||||
* | | remove potential crash detected by Coverity (it is a should-never-happen thing) | Miguel Sofer | 2015-08-05 | 1 | -1/+1 |
| | | |||||
* | | [9bad630c31] Prevent read outside of buffer bounds. | dgp | 2015-07-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | [9bad630c31] Prevent read outside of buffer bounds. | dgp | 2015-07-15 | 1 | -1/+1 |
| | | |||||
* | | remove code that was ifdef'ed out for ages (ENABLE_NS_VARNAME_CACHING), has ↵ | Miguel Sofer | 2015-07-02 | 1 | -163/+0 |
| | | | | | | | | zero hope of being revived and got out of sync anyway | ||||
* | | Consistancy in refcount management. | jan.nijtmans | 2015-06-30 | 1 | -2/+2 |
| | | |||||
* | | Use twoPtrValue in stead of ptrAndLongRep for implementation of some ↵ | jan.nijtmans | 2015-06-30 | 1 | -17/+16 |
| | | | | | | | | | | internal Obj types. On most platforms this doesn't make a difference, as (void *) and (long) generially have the same size. The only exception where it makes a difference is win64, as we can now store 64 bits in this field in stead of only 32 bits, exactly what the processor is optimized for. | ||||
* | | Protect against extension variable resolvers that fail to play by the ↵ | dgp | 2015-01-29 | 1 | -1/+1 |
|\ \ | |/ | | | | | post-Var Reform rules. | ||||
| * | Protect against extension variable resolvers that fail to play by | dgp | 2015-01-29 | 1 | -1/+2 |
| | | | | | | the post-Var Reform rules. | ||||
* | | [2486824] Improve error message; not all that upvars is an upvar. | dkf | 2014-09-10 | 1 | -5/+4 |
|\ \ | |/ | |||||
| * | [2486824] Improve error message; not all that upvars is an upvar. | dkf | 2014-09-10 | 1 | -5/+4 |
| | | |||||
* | | [7368d225a6] Extend the auto-cleanup of zero ref count values passed in to | dgp | 2014-07-10 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | the Tcl_*SetVar*() family of routines to cover the missing case where the flags value of TCL_APPEND_VALUE is passed in alone. *** POTENTIAL INCOMAPTIBILITY*** | ||||
| * | [7368d225a6] Extend the auto-cleanup of zero ref count values passed in | dgp | 2014-07-10 | 1 | -0/+3 |
| | | | | | | | | | | to the Tcl_*SetVar*() family of routines to cover the missing case where the flags value of TCL_APPEND_VALUE is passed in alone. *** POTENTIAL INCOMAPTIBILITY*** | ||||
| * | Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵ | jan.nijtmans | 2013-04-19 | 1 | -0/+4 |
| |\ | | | | | | | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct | ||||
| | * | Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵ | jan.nijtmans | 2013-04-19 | 1 | -0/+7 |
| | | | | | | | | | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct | ||||
| | * | Tcl_HashStats does not return a CONST | jan.nijtmans | 2011-09-06 | 1 | -1/+1 |
| | | | |||||
| | * | fix for [Bug 2662380], crash caused by appending to a variable with a write ↵ | mig | 2011-04-13 | 1 | -1/+2 |
| | | | | | | | | | | | | trace that unsets it | ||||
* | | | [219226]: Rewrote how ::env is synchronized to the environment so it no longer | dkf | 2013-09-27 | 1 | -0/+47 |
| | | | | | | | | | | | | smashes the array or its elements flat, This affects traces on env, links to env, and iterations over env: it makes them work as naïvely expected. | ||||
* | | | Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros. | jan.nijtmans | 2013-02-28 | 1 | -0/+4 |
| | | | |||||
* | | | Array Search struct used only locally. Remove from tclInt.h. | dgp | 2013-02-25 | 1 | -0/+24 |
|\ \ \ | |/ / | |||||
| * | | ArraySearch struct used only locally. Remove from tclInt.h. | dgp | 2013-02-25 | 1 | -0/+24 |
| | | | |||||
* | | | Merge in fix for 3602706 | dgp | 2013-02-04 | 1 | -27/+31 |
|\ \ \ | |/ / | |||||
| * | | Cherrypick again. Add test.bug_3602706 | dgp | 2013-02-04 | 1 | -6/+0 |
| | | | |||||
| * | | Cherrypick the refcount fixes and comments from mig-review. | dgp | 2013-02-04 | 1 | -2/+28 |
| | | | | | | | | | | | | | | | | | | I also find the revised "createPart2" values in *Lookup* calls appealing, but I'm too fearful of breaking things without understanding the implications. This approach just focuses on fixing the things I broke, without trying to "fix" things long "broken" in multiple years of releases. | ||||
* | | | Eliminate all Tcl_ConvertToType calls and all direct calls to ↵ | jan.nijtmans | 2013-02-04 | 1 | -1/+2 |
| | | | | | | | | | | | | typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core. | ||||
* | | | More symmetric Tcl_(Incr|Decr)RefCount call, preventing bugs like #3601260 ↵ | jan.nijtmans | 2013-02-03 | 1 | -2/+9 |
|\ \ \ | | | | | | | | | | | | | and #3602706 | ||||
| * \ \ | re-apply [8aca9a8e96], while backporting [d91c86d0da] from trunk. | jan.nijtmans | 2013-02-03 | 1 | -55/+98 |
| |\ \ \ | | |/ / | | | | | This fixes bugs #3601260 and #3602706 | ||||
| * | | | Bug 3601260: Reverting [8aca9a8e96] fixes it. | jan.nijtmans | 2013-01-17 | 1 | -54/+57 |
| |/ / | |||||
* | | | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfo | jan.nijtmans | 2013-01-25 | 1 | -2/+2 |
| | | | | | | | | | Fix "make test-packages" on cygwin | ||||
* | | | Various bits of cleanup, efficiencies, and comment documentation in tclVar.c ↵ | mig | 2013-01-13 | 1 | -66/+54 |
|\ \ \ | |/ / | | | | | | | (from mig-review) | ||||
| * | | Various bits of cleanup, efficiencies, and comment documentation in tclVar.c | dgp | 2012-12-14 | 1 | -57/+54 |
| | | | |||||
| * | | Backport fix for [Bug 2857044]. | dgp | 2011-04-27 | 1 | -0/+3 |
| | | | |||||
* | | | Add super-simple compiler to many ensemble subcommands to allow better code | dkf | 2013-01-04 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | 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 [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunk | dkf | 2012-11-05 | 1 | -3/+3 |
| | | | | | | | | | | | | whole bunch of issues with opcode issuing that were causing problems with stack depth calculations. | ||||
* | | | converting to using Tcl_Obj API for error message generation; part done | dkf | 2012-08-03 | 1 | -35/+38 |
| | | | |||||
* | | | Fix [Bug 2712377]: [info vars] and object declared variables | dkf | 2012-04-09 | 1 | -4/+48 |
| | | | |||||
* | | | Reduce amount of unreachable code. Refactor Win socket and load code to be less | dkf | 2012-04-05 | 1 | -2/+2 |
| | | | | | | | | | baroque in its internals. | ||||
* | | | Small changes to quell gcc warnings and make message generation less ugly. | dkf | 2011-08-16 | 1 | -5/+2 |
| | | | |||||
* | | | * generic/tclVar.c (TclPtrSetVar): fix valgrind-detected error when ↵ | mig | 2011-08-04 | 1 | -1/+2 |
| | | | | | | | | | | | | newValuePtr is the interp's result obj. | ||||
* | | | TclFreeIntRep() cleanup. | dgp | 2011-04-27 | 1 | -2/+0 |
| | | | |||||
* | | | fix for [Bug 2662380], crash caused by appending to a variable with a write ↵ | mig | 2011-04-13 | 1 | -3/+4 |
|\ \ \ | |/ / | | | | | | | trace that unsets it | ||||
| * | | fix for [Bug 2662380], crash caused by appending to a variable with a write ↵ | mig | 2011-04-13 | 1 | -3/+4 |
| | | | | | | | | | | | | trace that unsets it | ||||
* | | | Corrected odd comment | dkf | 2011-03-28 | 1 | -1/+1 |
| | | | |||||
* | | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -16/+14 |
| | | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | ||||
* | | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -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 cause | dgp | 2011-03-02 | 1 | -2/+0 |
| |\ \ | | |/ | | | | more harm than good. Purged them. |