Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵ | jan.nijtmans | 2020-12-08 | 1 | -3/+3 |
| | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet | ||||
* | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵ | jan.nijtmans | 2020-09-17 | 1 | -3/+5 |
| | | | | TclNewIntObj or Tcl_NewWideIntObj) | ||||
* | Merge 8.6 | jan.nijtmans | 2020-08-11 | 1 | -1/+1 |
|\ | |||||
| * | Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵ | jan.nijtmans | 2020-08-11 | 1 | -3/+3 |
| | | | | | | | | size_t or int | ||||
| * | end-of-line spacing | jan.nijtmans | 2019-05-24 | 1 | -7/+7 |
| |\ | |||||
* | | | If "endValue" doesn't matter in TclGetIntForIndexM() call, use INT_MAX - 1, ↵ | jan.nijtmans | 2020-06-07 | 1 | -3/+3 |
| | | | | | | | | | | | | not 0 or -1. This results in skipping the Tcl_GetIntFromObj() call for all non-negative integerss | ||||
* | | | more | dgp | 2020-03-06 | 1 | -6/+2 |
| | | | |||||
* | | | Better error-message in case of "index out of range", mentioning the actual ↵ | jan.nijtmans | 2020-02-29 | 1 | -13/+12 |
| | | | | | | | | | | | | index which was out of range. Also, use the same error-code, because the underlying cause is all the same. | ||||
* | | | Let's try a real C++ build with Travis on Linux | jan.nijtmans | 2019-08-30 | 1 | -0/+2 |
|\ \ \ | |||||
* \ \ \ | Merge tip-548 | jan.nijtmans | 2019-08-15 | 1 | -11/+11 |
|\ \ \ \ | |/ / / | |||||
| * | | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵ | jan.nijtmans | 2019-07-17 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers. | ||||
* | | | | Merge 8.7, and continue implementation. Almost done | jan.nijtmans | 2019-07-10 | 1 | -11/+11 |
|/ / / | |||||
* | | | 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 |
|\ \ | |/ |