Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compilation for [dict getwithdefault]. | dkf | 2019-04-18 | 1 | -7/+6 |
| | |||||
* | Add [dict getdef] alias | dkf | 2019-04-15 | 1 | -9/+9 |
| | |||||
* | Add tests | dkf | 2019-04-01 | 1 | -3/+6 |
| | |||||
* | Implement [dict getwithdefault] | dkf | 2019-04-01 | 1 | -0/+66 |
| | |||||
* | New internal macro TclHasIntRep() to re-encapsulate the typePtr field. | dgp | 2019-02-25 | 1 | -1/+1 |
| | |||||
* | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. | jan.nijtmans | 2019-01-28 | 1 | -2/+2 |
| | | | But ... don't use this function when the result is only compared to NULL: that's just overkill. | ||||
* | merge 8.7 | dgp | 2018-02-06 | 1 | -3/+6 |
|\ | |||||
| * | Revise the TclStringCat() interface to follow a common pattern. | dgp | 2018-02-05 | 1 | -3/+6 |
| | | |||||
* | | merge 8.7 | dgp | 2017-11-15 | 1 | -6/+3 |
|\ \ | |/ | |||||
| * | Change signature of (internal) TclScanElement() function. This saves memory ↵ | jan.nijtmans | 2017-11-15 | 1 | -6/+3 |
| |\ | | | | | | | | | | allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API. | ||||
| | * | Change signature of (internal) TclScanElement() function. This saves memory ↵ | jan.nijtmans | 2017-11-15 | 1 | -6/+3 |
| | | | | | | | | | | | | allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API. | ||||
* | | | merge 8.7 | dgp | 2017-11-09 | 1 | -9/+9 |
|\ \ \ | |/ / | |||||
| * | | Change "epoch" field for dicts from "int" to "unsigned int". This doubles ↵ | jan.nijtmans | 2017-11-08 | 1 | -9/+9 |
| | | | | | | | | | | | | the number of available epoch's before overflow. Also make 0 the special value in stead of -1, meaning "dict search done". That also means that epoch counting starts with 1. | ||||
* | | | merge trunk | dgp | 2017-10-13 | 1 | -0/+2 |
|\ \ \ | |/ / | |||||
| * | | Plug some memleaks. | dgp | 2017-10-13 | 1 | -0/+2 |
| | | | |||||
* | | | Revised dict value means we much invalidate existing intreps. | dgp | 2017-09-12 | 1 | -1/+4 |
| | | | |||||
* | | | When we invalidate the string rep of a dict, that's a sign we need to | dgp | 2017-09-12 | 1 | -0/+4 |
| | | | | | | | | | free all the intreps of that dict as well. | ||||
* | | | merge trunk | dgp | 2017-06-16 | 1 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | Make read and write operations on Tcl_Var handles available in tclInt API. | dkf | 2017-06-08 | 1 | -3/+3 |
| |\ \ | | |/ | |||||
| | * | Expose some of the core variable access APIs. | dkf | 2017-06-06 | 1 | -3/+3 |
| | | | | | | | | | (Cherrypick from [b4dfc30083]) | ||||
| * | | merge core-8-6-branch | jan.nijtmans | 2017-06-02 | 1 | -10/+8 |
| |\ \ | | |/ | |||||
| | * | Change refCount field in DictObj from int to size_t. Cherry-picked from ↵ | jan.nijtmans | 2017-06-02 | 1 | -10/+8 |
| | | | | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch. | ||||
| * | | Merge core-8-6-branch. This removes the work currently being done in ↵ | jan.nijtmans | 2017-06-02 | 1 | -107/+10 |
| |\ \ | | |/ | | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch, but that will be merged again as soon as the work is done. All other changes in "trunk" since then (e.g. the INST_STR_CONCAT1 performance improvement, and the removal of SunOS-4) are retained. | ||||
| * | | merge trunk | sebres | 2017-03-06 | 1 | -1/+1 |
| |\ \ | |||||
| | * | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵ | jan.nijtmans | 2017-02-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking. | ||||
| * | | | code review and inline documentation | sebres | 2017-01-10 | 1 | -3/+29 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'remotes/fossil/trunk' into ↵ | sebres | 2017-01-10 | 1 | -17/+33 |
| | | | | | | | | | | | | | | | | sb/trunk-rewrite-clock-in-c; + minor fixes after merge. | ||||
| * | | | dict: unused variable removed | sebres | 2017-01-10 | 1 | -1/+0 |
| | | | | |||||
| * | | | improve LocalizeFormat, internal caching of localized formats inside msgcat ↵ | sebres | 2017-01-10 | 1 | -32/+90 |
| |/ / | | | | | | | | | | | | | | | | for locale and format objects smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict) | ||||
* | | | merge trunk | dgp | 2016-11-29 | 1 | -10/+8 |
|\ \ \ | |/ / | |||||
| * | | Minor simplifications. Eliminate FUNCPRT from regexp engine. Fix ↵ | jan.nijtmans | 2016-11-29 | 1 | -1/+1 |
| | | | | | | | | | | | | compile-error (non-debug) in tclDictObj.c, from previous commit | ||||
| * | | more internal use of size_t (in stead of int) | jan.nijtmans | 2016-11-29 | 1 | -9/+7 |
| | | | |||||
* | | | merge trunk | dgp | 2016-11-01 | 1 | -9/+36 |
|\ \ \ | |/ / | |||||
| * | | WIP | dgp | 2016-10-28 | 1 | -2/+2 |
| | | | |||||
| * | | revise [dict append] to make use of common [string cat] engine. | dgp | 2016-10-28 | 1 | -6/+24 |
| | | | |||||
| * | | Add optimization to [dict append]. | dgp | 2016-10-28 | 1 | -8/+17 |
| |/ | |||||
* | | merge trunk | dgp | 2016-07-09 | 1 | -12/+6 |
|\ \ | |/ | |||||
| * | Simplify all the Tcl_NRPostProc declarations. | dgp | 2016-07-06 | 1 | -12/+6 |
| | | |||||
* | | Revise "dict" Tcl_ObjType to use proposed routines. | dgp | 2016-03-30 | 1 | -84/+99 |
| | | |||||
* | | Functional conversion of "list" Tcl_ObjType to proposed routines. | dgp | 2016-03-29 | 1 | -1/+1 |
| | | | | | | Not yet completely tidy and finished. | ||||
* | | oops | dgp | 2016-03-24 | 1 | -1/+1 |
| | | |||||
* | | Update Tcl_InitStringRep callers to handle OOM condition. | dgp | 2016-03-24 | 1 | -0/+3 |
| | | |||||
* | | Convert "dict" Tcl_ObjType to use new routines. | dgp | 2016-03-23 | 1 | -12/+15 |
|/ | |||||
* | typo in comment. Eliminate unnecessary end-of-line spacing. | jan.nijtmans | 2015-10-19 | 1 | -2/+2 |
| | |||||
* | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
|\ | |||||
| * | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -1/+1 |
| | | |||||
* | | Suppress valgrind warnings about uninitialized values. | dgp | 2014-07-11 | 1 | -0/+4 |
| | | |||||
* | | [cb042d294e] Improve consistency of [dict] wrong-args error messages. | dkf | 2014-06-15 | 1 | -10/+10 |
| | | |||||
* | | Some more cleaning up | dkf | 2014-06-15 | 1 | -36/+44 |
| | | |||||
* | | Make [dict replace] and [dict remove] guarantee result canonicality. | dkf | 2014-06-15 | 1 | -84/+65 |
| | |