Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵ | jan.nijtmans | 2020-10-13 | 1 | -4/+5 |
| | | | | stead of Tcl_NewIntObj() | ||||
* | Make Tcl compile warning-free using -Wshadow | jan.nijtmans | 2020-09-28 | 1 | -29/+29 |
| | |||||
* | Eliminate many "register" keywords (which do nothing with modern compilers) | jan.nijtmans | 2020-09-14 | 1 | -35/+35 |
| | | | Eliminate many unnecessary type-casts to (unsigned) | ||||
* | Contributed patch from Gustaf Neumann, preventing problems where ↵ | jan.nijtmans | 2018-09-25 | 1 | -23/+30 |
| | | | | "localCachePtr" can be NULL | ||||
* | DeleteArray has only one caller. It is called on the "dummy" variable | dgp | 2018-04-20 | 1 | -3/+0 |
| | | | | | that is created during unset, and which cannot be reached by resolving any name. It cannot have VAR_SEARCH_ACTIVE set because the sole thing that sets that flag is an [array startsearch] applied to a named variable. | ||||
* | Fold TclArraySet() into its only caller. tclEnv.c no longer calls it | dgp | 2018-04-19 | 1 | -170/+141 |
| | |||||
* | merge 8.5 | dgp | 2018-04-19 | 1 | -1/+1 |
|\ | |||||
| * | An [array set] from a dict can only take shortcuts when the dict is "pure", | dgp | 2018-04-19 | 1 | -1/+1 |
| | | | | | | that is, has no string rep. | ||||
* | | Refactor error reporting when value is not an expected array variable name. | dgp | 2018-04-18 | 1 | -36/+20 |
| | | |||||
* | | Refactor to bring the test for existence of an array variable into | dgp | 2018-04-18 | 1 | -88/+44 |
| | | | | | | LocateArray(). | ||||
* | | cleanup of refactor | dgp | 2018-04-18 | 1 | -13/+6 |
| | | |||||
* | | Refactor the common operations of looking up and checking traces on an array | dgp | 2018-04-18 | 1 | -111/+41 |
| | | | | | | variable into a single routine LocateArray(). | ||||
* | | Refactor array trace handling into a common routine TclCheckArrayTraces(). | dgp | 2018-04-17 | 1 | -143/+37 |
| | | |||||
* | | Expose some of the core variable access APIs. | dkf | 2017-06-06 | 1 | -28/+247 |
| | | | | | | (Cherrypick from [b4dfc30083]) | ||||
* | | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 1 | -1/+1 |
| | | |||||
* | | [4dbdd9af14] Plug mem leak when var unset trace re-creates namespace var. ↵ | dgp | 2016-09-07 | 1 | -5/+19 |
|\ \ | |/ | | | | | Thanks mr_calvin for report and fix. | ||||
| * | Improve the comments and add a test. | dgp | 2016-09-07 | 1 | -2/+11 |
| | | |||||
| * | [4dbdd9af14] Proposed fix for mem leak. | dgp | 2016-09-06 | 1 | -1/+6 |
| | | |||||
| * | Improve code 'quality' by fixing some harmless clang/cppcheck warnings. ↵ | jan.nijtmans | 2016-01-22 | 1 | -31/+51 |
| | | | | | | | | Thanks to Gustaf Neumann. No change in functionality. | ||||
* | | Remove outdated comment. | dgp | 2016-07-19 | 1 | -4/+0 |
| | | |||||
* | | Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which ↵ | dkf | 2016-07-07 | 1 | -34/+21 |
| | | | | | | | | seem to need it. | ||||
* | | [c95b9fc0e3] Make errorcodes out of level parsing more consistent. | dkf | 2016-06-22 | 1 | -1/+2 |
| | | |||||
* | | Extra safety against cycles | 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. | 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. |