Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jn_wide_printf | jan.nijtmans | 2016-12-14 | 1 | -1/+10 |
| | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases. | ||||
* | implement "I64" format in Tcl_ObjPrintf as well. Still to be tested. | jan.nijtmans | 2016-12-02 | 1 | -3/+13 |
| | |||||
* | Implement %ll (WideInt) handling for Tcl_ObjPrintf(). Use it in some places. | jan.nijtmans | 2016-12-02 | 1 | -8/+12 |
| | | | Moved to feature branch temporarily. Breaks build. | ||||
* | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 1 | -1/+1 |
|\ | |||||
* | | Route all [string repeat] operations through a common implementation. | dgp | 2016-11-30 | 1 | -0/+140 |
| | | | | | | | | | | Code that to preserve bytearrays, eliminate unnecessary string rep generation, increase efficiency, and encapsulate access to internal rep details. | ||||
* | | Where feasible, convert concatenation panics into errors. | dgp | 2016-11-29 | 1 | -9/+46 |
| | | |||||
* | | Route all [string last] operations through a common implementation. | dgp | 2016-11-08 | 1 | -1/+105 |
| | | |||||
* | | Optimize case of all single-byte chars.dgp_string_find | dgp | 2016-11-07 | 1 | -2/+20 |
| | | |||||
* | | Consolidate the "find empty string" cases. | dgp | 2016-11-07 | 1 | -16/+11 |
| | | |||||
* | | First draft refactoring the [string first] functionality. | dgp | 2016-11-04 | 1 | -0/+84 |
| | | |||||
* | | Make packages msgcat and tcltest work unmodified in "novem". Make more ↵ | jan.nijtmans | 2016-11-04 | 1 | -2/+2 |
|\ \ | |/ | | | | | test-cases work unmodified in "novem". | ||||
* | | Replace indexing with pointer increments.dgp_string_cat | dgp | 2016-11-01 | 1 | -13/+18 |
| | | |||||
* | | Expand all the cases of the [string cat] engine. | dgp | 2016-11-01 | 1 | -27/+129 |
| | | |||||
* | | Reduce copies in the pure binary implementation of [string cat]. | dgp | 2016-10-31 | 1 | -7/+19 |
| | | |||||
* | | Complete the "pure binary" implementation of the [string cat] engine. | dgp | 2016-10-31 | 1 | -6/+20 |
| | | |||||
* | | WIP | dgp | 2016-10-28 | 1 | -1/+57 |
| | | |||||
* | | merge trunk | dgp | 2016-10-28 | 1 | -0/+2 |
|\ \ | |||||
| * \ | Add warning commentary making important assumptions explicit. | dgp | 2016-10-28 | 1 | -0/+2 |
| |\ \ | | |/ | |||||
| | * | Add warning commentary making important assumptions explicit. | dgp | 2016-10-28 | 1 | -0/+2 |
| | |\ | |||||
| | | * | Add warning commentary making important assumptions explicit. | dgp | 2016-10-28 | 1 | -0/+2 |
| | | | | |||||
* | | | | merge trunk | dgp | 2016-10-28 | 1 | -0/+9 |
|\ \ \ \ | |/ / / | |||||
| * | | | Add obvious optimization to Tcl_GetCharLength(). | dgp | 2016-10-28 | 1 | -0/+9 |
| | | | | |||||
* | | | | Start bringing all `string cat` operations into one place so it can be coded | dgp | 2016-10-27 | 1 | -0/+40 |
|/ / / | | | | | | | correctly one time instead of badly multiple times. | ||||
* | | | Merge INST_STR_REPLACE fixes and improvements. | dgp | 2016-10-13 | 1 | -0/+10 |
|\ \ \ | |/ / | |||||
| * | | Stop invading the String internals to work around a bug. Fix it instead. | dgp | 2016-10-13 | 1 | -0/+10 |
| | | | |||||
* | | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵ | jan.nijtmans | 2016-07-08 | 1 | -1/+1 |
| | | | | | | | | | | | | in many places where possible. | ||||
* | | | Rename UtfCount() to TclUtfCount() and use it in more places. Suggested by ↵ | jan.nijtmans | 2016-04-05 | 1 | -2/+2 |
| | | | | | | | | | | | | pspjuth here: [e99a79a32650e7e5] | ||||
* | | | No longer a need to keep around 'revert to 8.5' code. | dgp | 2016-03-24 | 1 | -80/+3 |
|/ / | |||||
* | | Factor out string internal rep definition so fix for [1af8de570511] is less ↵ | dkf | 2016-03-22 | 1 | -54/+1 |
| | | | | | | | | awful. | ||||
* | | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -8/+8 |
|\ \ | |/ | |||||
| * | Eliminate unnessessary end-of-line spacing. No functional change. | jan.nijtmans | 2015-10-04 | 1 | -2/+2 |
| | | |||||
* | | Merge the checkins of the dgp-read-bytes branch onto the trunk, up to | dgp | 2014-03-23 | 1 | -7/+48 |
|\ \ | |/ | | | | | | | | | and including checkin a1e82fb63e . Do not merge checkin bae1c688f2 which starts to take the dgp-read-bytes branch into directions apparently unfriendly to stacked channels, which tests for [chan push] on the trunk help us to detect. | ||||
| * | Revised ReadChars to restore an attempt to make sure we do not short readdgp_may_be_pointless | dgp | 2014-02-06 | 1 | -0/+32 |
| | | | | | | | | | | because of a false notion of limited storage space. The test suite does not appear to demonstrate any case where this matters. Could be an incomplete test suite, or an example of pointless code. | ||||
| * | Revise the Tcl_Append* machinery to tolerate NULL bytes to append. | dgp | 2014-01-27 | 1 | -10/+19 |
| | | | | | | | | Then have ReadChars() use that machinery to resize buffer receiving input, rather than invent its own version. Simplify ReadChars() callers. | ||||
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -6/+6 |
| | | |||||
* | | [2992970] Restore safety of Tcl_AppendObjToObj(x, x) for bytearrays. | dgp | 2014-01-21 | 1 | -11/+31 |
|\ \ | |||||
| * | | [2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.bug_2992970 | dgp | 2014-01-15 | 1 | -11/+31 |
|/ / | | | | | | | | | | | | | | | | | Also moves overflow checking to TclAppendBytesToByteArray() and adds the ability to call TABTBA() with bytes==NULL, for appending unspecified bytes. That is, the string grows, but the new bytes are of undetermined value. Like Tcl_NewByteArrayObj(NULL, length) this option is useful for manipulating buffers. The TABTBA growth algorithm is also enhanced a bit, copying over a fuller implementation from GrowStringBuffer() in tclStringObj.c | ||||
* | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -2/+2 |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | ||||
* | | Converted the memcpy() calls in append operations to memmove() calls. | dgp | 2012-02-09 | 1 | -2/+2 |
|\ \ | |/ | | | | | This adds safety in the case of overlapping copies, and improves performance on some benchmarks. | ||||
| * | 3484402 Correct Off-By-One error appending unicode. Thanks to Poor Yorick. | dgp | 2012-02-09 | 1 | -2/+2 |
| |\ | | | | | | | Also corrected test for when growth is needed. | ||||
| | * | 3484402 Correct Off-By-One error appending unicode. Thanks to Poor Yorick. | dgp | 2012-02-09 | 1 | -2/+2 |
| | |\ | | | | | | | | | Also corrected test for when growth is needed. | ||||
| | | * | 3484402 Correct Off-By-One error appending unicode. Thanks to Poor Yorick.bug_3484402 | dgp | 2012-02-07 | 1 | -4/+4 |
| | |/ | | | | | | | | | | Also converted some memcpy() to memmove() to reliably handle overlapping copies, and corrected test for when growth is needed. | ||||
| | * | Fix gcc warnings (discovered with latest mingw, based on gcc 4.6.1) | jan.nijtmans | 2011-10-07 | 1 | -1/+1 |
| | | | |||||
| * | | Backport fix for [Bug 2857044]. | dgp | 2011-04-27 | 1 | -0/+1 |
| | | | |||||
| * | | Repair corruption in [string reverse] when string rep invalidation failed | dgp | 2011-04-12 | 1 | -0/+1 |
| | | | | | | | | | to also reset the bytes allocated for string rep to zero [Bug 3285472]. | ||||
* | | | [3396731] inline string reverse: minor further improvements | jan.nijtmans | 2011-08-29 | 1 | -32/+22 |
| | | | |||||
* | | | Repaired the lost performance in the copy loop hotspots. Now meets or revert_3396731 | dgp | 2011-08-27 | 1 | -13/+12 |
| | | | | | | | | | beats the former trunk (and current trunk by magnitudes) in tclbench. | ||||
* | | | 3396731 Another rewrite of TclStringObjReverse() to make it adopt the | dgp | 2011-08-25 | 1 | -70/+106 |
| | | | | | | | | | | | | nijtmans approach for reversing the objPtr->bytes rep without losing performance. | ||||
* | | | Set the defaults of all growth algorithm parameters based on one master value. | dgp | 2011-05-12 | 1 | -10/+9 |
| | | |