Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't test the impossible.dgp_stringcat_delaystringrep | dgp | 2017-06-08 | 1 | -5/+3 |
| | |||||
* | Modernize overflow checks. | dgp | 2017-06-08 | 1 | -6/+6 |
| | |||||
* | merge trunk | dgp | 2017-06-08 | 7 | -58/+349 |
|\ | |||||
| * | Make read and write operations on Tcl_Var handles available in tclInt API. | dkf | 2017-06-08 | 7 | -58/+349 |
| |\ | |||||
| | * | Make read and write operations on Tcl_Var handles available in tclInt API. | dkf | 2017-06-08 | 7 | -58/+349 |
| | |\ | | | | | | | | | (This will be useful for tclquadcode, and it addresses a basic omission in Tcl's API that made working with Tcl_Vars rather more specialized than it was ever really intended to be. However, this also closes off the part of the API that was not reasonably usable by ordinary external code; LVT indices require too deep an entanglement into Tcl's implementation.) | ||||
| | | * | Expose some of the core variable access APIs. dkf_expose_ptrgetvar_8_6 | dkf | 2017-06-06 | 7 | -58/+349 |
| | | | | | | | | | | | | (Cherrypick from [b4dfc30083]) | ||||
* | | | | More streamlining | dgp | 2017-06-08 | 1 | -14/+14 |
| | | | | |||||
* | | | | More streamlining. | dgp | 2017-06-08 | 1 | -12/+5 |
| | | | | |||||
* | | | | pendingPtr == NULL implies (last == first) implies early out | dgp | 2017-06-08 | 1 | -14/+3 |
| | | | | |||||
* | | | | Tests for string rep generation suppression | dgp | 2017-06-08 | 1 | -0/+30 |
| | | | | |||||
* | | | | merge trunk | dgp | 2017-06-08 | 3 | -18/+26 |
|\ \ \ \ | |/ / / | |||||
| * | | | merge core-8-6-branch | jan.nijtmans | 2017-06-08 | 1 | -12/+35 |
| |\ \ \ | | |/ / | |||||
| | * | | Revert part of [95d096e0378b460c6c5168bb55bb2ca8b2fd799e|95d096e037]: Missed ↵ | jan.nijtmans | 2017-06-08 | 1 | -12/+35 |
| | | | | | | | | | | | | | | | | the fact that tolower() was optimized for the ASCII case as well, so this was a mistake! | ||||
| * | | | merge core-8-6-branch | jan.nijtmans | 2017-06-08 | 4 | -53/+38 |
| |\ \ \ | | |/ / | |||||
| | * | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check. | jan.nijtmans | 2017-06-08 | 2 | -14/+19 |
| | |\ \ | |||||
| | | * | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check. | jan.nijtmans | 2017-06-08 | 1 | -13/+14 |
| | | | | | |||||
| | * | | | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵ | jan.nijtmans | 2017-06-08 | 3 | -40/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed. | ||||
* | | | | | When possible delay string rep generation until necessary. | dgp | 2017-06-08 | 1 | -10/+46 |
|/ / / / | |||||
* | | | | merge core-8-6-branch | jan.nijtmans | 2017-06-07 | 5 | -59/+57 |
|\ \ \ \ | |/ / / | |||||
| * | | | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵ | jan.nijtmans | 2017-06-07 | 5 | -63/+60 |
| | |/ | |/| | | | | | | | simplifications/optimizations. No functional change. | ||||
* | | | merge core-8-6-branch | jan.nijtmans | 2017-06-06 | 3 | -12/+44 |
|\ \ \ | |/ / | |||||
| * | | Add more test-cases for UTF-8 parser, including test-cases for TCL_UTF_MAX=4 ↵ | jan.nijtmans | 2017-06-06 | 3 | -20/+56 |
| | | | | | | | | | | | | or TCL_UTF_MAX=6 | ||||
* | | | [716b427f76] Optimize TclStringCatObjv when only one non-empty argument. | dgp | 2017-06-06 | 2 | -56/+56 |
|\ \ \ | |||||
| * | | | A few more tweaks to streamline and clarify.bug_716b427f76 | dgp | 2017-06-06 | 1 | -13/+17 |
| | | | | |||||
| * | | | makes TclStringCatObjv safe accepting objc = 0 (or 1), then fast exits with ↵ | sebres | 2017-06-06 | 1 | -12/+16 |
| | | | | | | | | | | | | | | | | new object / first; check-cycles rewritten to be still more faster. | ||||
| * | | | amend to [eac4656f1e8cf793] (moved to scope where numChars != 0 in Unicode case) | sebres | 2017-06-06 | 1 | -3/+3 |
| | | | | |||||
| * | | | small code review: don't need to check length if unchanged + the same case ↵ | sebres | 2017-06-06 | 1 | -17/+18 |
| | | | | | | | | | | | | | | | | if 0 length | ||||
| * | | | Optimize TclStringCatObjv() for case when only one argument is non-empty. | dgp | 2017-06-05 | 1 | -8/+22 |
| | | | | |||||
| * | | | Revert performance optimization as first step to providing a refactored one. | dgp | 2017-06-05 | 1 | -24/+1 |
| | | | | |||||
* | | | | merge core-8-6-branch | jan.nijtmans | 2017-06-06 | 2 | -19/+19 |
|\ \ \ \ | |/ / / |/| / / | |/ / | |||||
| * | | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵ | jan.nijtmans | 2017-06-06 | 2 | -19/+19 |
| |\ \ | | |/ | | | | | | | in character tests, comment fixes. No change in functionality. | ||||
| | * | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵ | jan.nijtmans | 2017-06-06 | 2 | -75/+77 |
| | | | | | | | | | | | | documented. | ||||
* | | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵ | dgp | 2017-06-05 | 2 | -3/+34 |
|\ \ \ | |/ / | | | | | | | documented. | ||||
| * | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input | dgp | 2017-06-05 | 2 | -3/+34 |
| |\ \ | | | | | | | | | as documented. | ||||
| | * \ | merge core-8-6-branchbug_67aa9a2070 | jan.nijtmans | 2017-06-02 | 1 | -10/+8 |
| | |\ \ | | |/ / | |/| | | |||||
| | * | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵ | jan.nijtmans | 2017-06-02 | 2 | -3/+34 |
| | | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters | ||||
* | | | | merge core-8-6-branch | jan.nijtmans | 2017-06-02 | 2 | -11/+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 | 26 | -9132/+3561 |
|\ \ \ | |/ / | | | | | | | | | | "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. | ||||
* | | | Fix [83a3d869722fab9caaae3b6728215fb2507a6f0d|83a3d86972]: tclEpollNotfy.c ↵ | jan.nijtmans | 2017-05-31 | 2 | -5733/+158 |
| | | | | | | | | | | | | | | | fails to compile on Linux 2.6.<22 due to unconditionally including <sys/eventfd.h> Also re-generate regc_locale.c with Unicode 10 tables: previous generation went horribly wrong somehow... | ||||
* | | | merge core-8-6-branch | jan.nijtmans | 2017-05-31 | 2 | -3/+34 |
|\ \ \ | |||||
| * | | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵ | jan.nijtmans | 2017-05-31 | 2 | -3/+34 |
| | | | | | | | | | | | | | | | | UTF-8 can inject unexpected characters | ||||
* | | | | merge core-8-6-branch (except: the "timerate" command and the clock ↵ | jan.nijtmans | 2017-05-31 | 20 | -414/+374 |
|\ \ \ \ | |/ / / | | | | | | | | | performance-tests are kept) | ||||
| * | | | More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, ↵ | jan.nijtmans | 2017-05-31 | 14 | -262/+261 |
| | | | | | | | | | | | | | | | | preventing a (char *) type case. No functional changes. | ||||
| * | | | Remove "timerate" functionality: this definitely needs a TIP. Also undo ↵ | jan.nijtmans | 2017-05-31 | 4 | -362/+2 |
| | | | | | | | | | | | | | | | | changes in library/reg/pkgIndex.tcl, which are unrelated to clock functionality | ||||
| * | | | [msgcat] revert changes of "msgcat" to previous state before clock-speedup, ↵ | sebres | 2017-05-30 | 3 | -127/+98 |
| | | | | | | | | | | | | | | | | | | | | move this functionality to "clock.tcl"; additionally avoids the usage of catch (uses pair "dict exists/dict get" instead of). | ||||
* | | | | performance of INST_STR_CONCAT1: closes ↵ | sebres | 2017-05-31 | 1 | -1/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | [716b427f76f8f97a8d9a06043903c53bb2b592c2]: minor optimization in simplest cases, fixed performance regression of TclStringCatObjv usage from [fc9ed1e751180816384d569101950c1f8c4582ad], optimizes patterns like "$v[unset v]", "$v[set v {}]" etc. | ||||
* | | | | Unbreak on OpenBSD, again. Put back the old SHLIB_VERSION doings. | stu | 2017-05-31 | 2 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On OpenBSD, Tcl's libs will need the extra version numbers probably forever. There's no point to adding the extra knob. On OpenBSD, the extra version numbers are used for dependency tracking. The extra version numbers must be on linkable libs (code will be linked to them, they have a corresponding .h file). Loadable libs (no code will be linked to them, they don't have a corresponding .h file. Usually a Tcl extension) don't need the burden (OpenBSD has to track the libs' dependencies) of the extra version numbers. Libs that are loadable and linkable are treated as linkable. I hope that clears things up. | ||||
* | | | | Fully remove SunOS-4* from tcl.m4. | stu | 2017-05-31 | 2 | -13/+2 |
| | | | | |||||
* | | | | merge core-8-6-branch (resolves warnings) | sebres | 2017-05-30 | 4 | -10/+10 |
|\ \ \ \ | |/ / / |