Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Style corrections and warning elimination | dkf | 2019-04-18 | 1 | -1/+1 |
| | |||||
* | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵ | jan.nijtmans | 2019-02-27 | 1 | -2/+2 |
| | | | | and (unsigned) type-casts, which don't make sense any more. | ||||
* | 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 | -5/+5 |
| | | | But ... don't use this function when the result is only compared to NULL: that's just overkill. | ||||
* | Merge 8.6. Also reduce tclCharTypeTable[] to 256 entries, as this table is ↵ | jan.nijtmans | 2019-01-26 | 1 | -1/+1 |
|\ | | | | | | | | | always addressed with unsigned chars now. Eliminate some useless end-of-line spacing that slipped in. | ||||
* \ | Merge and adapt 8.6 | dgp | 2018-11-09 | 1 | -3/+5 |
|\ \ | |/ | |||||
| * | merge 8.5 | dgp | 2018-11-09 | 1 | -1/+18 |
| |\ | |||||
| | * | Revise bug fix to support (length == 0) correctly. | dgp | 2018-11-09 | 1 | -1/+18 |
| | | | | | | | | | Added comments and improved safety in caller. | ||||
* | | | Implement TIP 523 | dkf | 2018-11-06 | 1 | -6/+15 |
|\ \ \ | |||||
| * | | | Simplify to only accept index arguemnts. No index list. | pspjuth | 2018-10-24 | 1 | -10/+3 |
| | | | | | | | | | | | | Added manual page. | ||||
| * | | | Implement TIP 523, New lpop command | pspjuth | 2018-10-22 | 1 | -5/+21 |
| | | | | |||||
* | | | | merge 8.7 | dgp | 2018-03-30 | 1 | -0/+81 |
|\ \ \ \ | |/ / / | |||||
| * | | | merge 8.7 | dgp | 2018-03-15 | 1 | -10/+4 |
| |\ \ \ | |||||
| | * \ \ | Merge 8.6 | jan.nijtmans | 2018-03-07 | 1 | -10/+4 |
| | |\ \ \ | | | |/ / | |||||
| | | * | | amend to [58716e0e92]: now the duplication is really pointless, so eliminated | sebres | 2018-03-07 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Remove pointless duplication. | dgp | 2018-03-07 | 1 | -9/+3 |
| | | | | | |||||
| | | * | | Rewrite documentation in comments for brevity and clarity. | pooryorick | 2018-02-14 | 1 | -306/+287 |
| | | | | | |||||
| * | | | | Refactored lrange to common function. | pspjuth | 2017-12-29 | 1 | -0/+81 |
| |/ / / | |||||
* | | | | merge 8.7 | dgp | 2017-11-15 | 1 | -3/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | Change signature of (internal) TclScanElement() function. This saves memory ↵ | jan.nijtmans | 2017-11-15 | 1 | -3/+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 | -3/+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. | ||||
| | * | | [824752f10e] More robust, portable check for integer overflow. | dgp | 2016-11-04 | 1 | -5/+2 |
| | |\ \ | | | |/ | |||||
| | | * | [824752f10e] More robust, portable check for integer overflow. | dgp | 2016-11-04 | 1 | -5/+2 |
| | | | | |||||
| | * | | merge core-8-5-branch ([824752f10e] Avoid calling Tcl_SetObjResult if interp ↵ | gahr | 2016-11-04 | 1 | -2/+5 |
| | |\ \ | | | |/ | | | | | | | | | is NULL) | ||||
| * | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵ | jan.nijtmans | 2017-02-03 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Rework [lset] internals to be sure outdated intreps get purged. | dgp | 2017-09-12 | 1 | -9/+30 |
| | | | | |||||
* | | | | Make sure ListObjReplace invalidates outdated intreps. | dgp | 2017-09-12 | 1 | -2/+7 |
| | | | | |||||
* | | | | Make sure ListObjAppendElement invalidates outdated intreps. | dgp | 2017-09-12 | 1 | -0/+4 |
| | | | | |||||
* | | | | merge trunk | dgp | 2016-11-16 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵ | jan.nijtmans | 2016-11-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | type-casts which are not necessary any more. | ||||
* | | | | merge trunk | dgp | 2016-11-04 | 1 | -7/+7 |
|\ \ \ \ | |/ / / | |||||
| * | | | [824752f10e] More robust, portable check for integer overflow. | dgp | 2016-11-04 | 1 | -5/+2 |
| | | | | |||||
| * | | | merge core-8-5-branch ([824752f10e] Avoid calling Tcl_SetObjResult if interp ↵ | gahr | 2016-11-04 | 1 | -2/+5 |
| |\ \ \ | | |/ / | |/| / | | |/ | is NULL) | ||||
| | * | [824752f10e] Avoid calling Tcl_SetObjResult if interp is NULL | gahr | 2016-11-04 | 1 | -2/+5 |
| | | | |||||
* | | | Purge more direct accesses to bytes field. | dgp | 2016-10-07 | 1 | -1/+1 |
| | | | |||||
* | | | Functional conversion of "list" Tcl_ObjType to proposed routines. | dgp | 2016-03-29 | 1 | -76/+131 |
|/ / | | | | | Not yet completely tidy and finished. | ||||
* | | [32c5740a4d] Have Tcl_ListObjReplace() try to use realloc() for growing when | dgp | 2015-11-30 | 1 | -3/+30 |
| | | | | | | it can do so. | ||||
* | | Tcl_ListObjReplace() early out when > LIST_MAX attempted. | dgp | 2015-11-20 | 1 | -1/+6 |
|\ \ | |/ | |||||
| * | [3293874] Simplified fix (not backport). Also detect >LIST_MAX early. | dgp | 2015-11-20 | 1 | -1/+9 |
| | | |||||
| * | Silence compiler warnings. | dgp | 2014-01-21 | 1 | -6/+6 |
| | | |||||
* | | Another round of refCount consistancy improvements. | jan.nijtmans | 2015-07-02 | 1 | -2/+2 |
| | | |||||
* | | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -7/+7 |
| | | |||||
* | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -2/+0 |
|\ \ | |/ | |||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -2/+0 |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | ||||
* | | restore refcounts as they were before the Tcl_ListObjReplace call, in the ↵ | jan.nijtmans | 2012-12-29 | 1 | -0/+8 |
|\ \ | |/ | | | | | | | error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0 | ||||
| * | restore refcounts as they were before the Tcl_ListObjReplace call, in the ↵ | jan.nijtmans | 2012-12-29 | 1 | -0/+8 |
| |\ | | | | | | | | | | | | | error situation. In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0 | ||||
| | * | For Tcl9, do a real Tcl_DecrRefCount | jan.nijtmans | 2012-12-29 | 1 | -0/+4 |
| | | | |||||
| | * | restore old refcounts in TCL_ERROR case. | jan.nijtmans | 2012-12-27 | 1 | -0/+3 |
| |/ | |||||
* | | [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early | jan.nijtmans | 2012-12-27 | 1 | -4/+5 |
|\ \ | |/ |