Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert the "bytearray" Tcl_ObjType to use the proposed Tcl_ObjIntReptip_445_reject | dgp | 2016-03-26 | 1 | -46/+63 |
| | | | | | manipulation routines. This works, but requires too much ugliness. The ugliness reveals that the interface needs some refinement, making this a rejected branch of development. | ||||
* | irPtr = NULL passed to Tcl_StoreIntRep clears out any value for typePtr. | dgp | 2016-03-25 | 1 | -4/+7 |
| | |||||
* | Get signatures in sync. | dgp | 2016-03-25 | 1 | -1/+1 |
| | |||||
* | First demonstration conversion to the new intrep manipulation routines. | dgp | 2016-03-25 | 3 | -30/+37 |
| | |||||
* | New routines Tcl_FetchIntRep() and Tcl_StoreIntRep(). | dgp | 2016-03-25 | 4 | -0/+94 |
| | |||||
* | Create a type Tcl_ObjIntRep so we can pass intreps as arguments. | dgp | 2016-03-25 | 1 | -20/+24 |
| | |||||
* | merge trunk | dgp | 2016-03-24 | 1 | -80/+3 |
|\ | |||||
| * | No longer a need to keep around 'revert to 8.5' code. | dgp | 2016-03-24 | 1 | -80/+3 |
| | | |||||
* | | Revise the "index" Tcl_ObjType to use the new routine. | dgp | 2016-03-24 | 1 | -7/+1 |
| | | |||||
* | | Revise the "instname" Tcl_ObjType to use the routines. | dgp | 2016-03-24 | 1 | -9/+10 |
| | | |||||
* | | oops | dgp | 2016-03-24 | 1 | -1/+1 |
| | | |||||
* | | Update Tcl_InitStringRep callers to handle OOM condition. | dgp | 2016-03-24 | 7 | -7/+33 |
| | | |||||
* | | Revise Tcl_InitStringRep() to do non-panic attempt at allocation. | dgp | 2016-03-24 | 2 | -18/+10 |
| | | | | | | | | Let caller decide how catastrophic it is. Revise [string repeat] to use new routine. | ||||
* | | More purging of direct access to bytes field where it isn't important. | dgp | 2016-03-24 | 1 | -14/+4 |
| | | |||||
* | | Update more Tcl_ObjTypes to use Tcl_InitStringRep(). | dgp | 2016-03-24 | 2 | -35/+26 |
| | | | | | | | | Adapt TclInitStringRep macro to accept TclInitStringRep(objptr, NULL, 0) without warning -- requires outwitting compiler. | ||||
* | | TclInitStringRep() already knows about tclEmptyStringRep. | dgp | 2016-03-24 | 2 | -2/+2 |
| | | |||||
* | | oops | dgp | 2016-03-24 | 2 | -5/+3 |
| | | |||||
* | | stay out of internals when nice interfaces are available. | dgp | 2016-03-24 | 1 | -8/+2 |
| | | |||||
* | | Revised "end-offset" Tcl_ObjType to use new routine. | dgp | 2016-03-24 | 1 | -8/+7 |
| | | |||||
* | | Revise "osType" Tcl_ObjType to use new routine. | dgp | 2016-03-24 | 1 | -15/+16 |
| | | |||||
* | | Revise "ensembleCommand" Tcl_ObjType to use new routines. | dgp | 2016-03-23 | 1 | -4/+2 |
| | | |||||
* | | Convert "dict" Tcl_ObjType to use new routines. | dgp | 2016-03-23 | 1 | -12/+15 |
| | | |||||
* | | merge trunk | dgp | 2016-03-23 | 2 | -73/+71 |
|\ \ | |/ | |||||
| * | Fix DTRACE_HDR value if tracing is diabled. Follow-up to [7d0db7c388] | jan.nijtmans | 2016-03-23 | 1 | -1/+1 |
| | | |||||
| * | merge mark | dkf | 2016-03-23 | 0 | -0/+0 |
| |\ | |||||
| | * | merge mark | dkf | 2016-03-23 | 0 | -0/+0 |
| | |\ | |||||
| | | * | (cherry-pick): Fix [f1253530cdd83e66]: Different Windows / *nix default ↵ | jan.nijtmans | 2016-03-23 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bindings for text widget See: [https://groups.google.com/forum/#!topic/comp.lang.tcl/ZZ_WwfQdmoE]. People like Eric Brunel, who want the most logical behavior for any Tcl release can simply do: set ::tcl_wordchars {\w} set ::tcl_nonwordchars {\W} | ||||
| | | * | (cherry-pick): Fix [7d0db7c388f52de8]: Occasional build failures with ↵ | jan.nijtmans | 2016-03-23 | 1 | -64/+64 |
| | | | | | | | | | | | | | | | | parallel make. Thanks to Jaroslav Škarvada for bug report and fix. | ||||
| | | * | (cherry-pick): Fix [d3071887dbc7aeac]: Fix SEGV in Tcl_FinalizeNotifier(). ↵ | jan.nijtmans | 2016-03-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | Thanks to hirofumi for both the bug-report and the fix | ||||
| | * | | (cherry-pick): Fix [f1253530cdd83e66]: Different Windows / *nix default ↵ | jan.nijtmans | 2016-03-23 | 1 | -4/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bindings for text widget See: [https://groups.google.com/forum/#!topic/comp.lang.tcl/ZZ_WwfQdmoE]. People like Eric Brunel, who want the most logical behavior for any Tcl release can simply do: set ::tcl_wordchars {\w} set ::tcl_nonwordchars {\W} | ||||
| | * | | (cherry-pick): Fix [7d0db7c388f52de8]: Occasional build failures with ↵ | jan.nijtmans | 2016-03-23 | 1 | -64/+64 |
| | | | | | | | | | | | | | | | | parallel make. Thanks to Jaroslav Škarvada for bug report and fix. | ||||
| * | | | Fix [f1253530cdd83e66]: Different Windows / *nix default bindings for text ↵ | jan.nijtmans | 2016-03-23 | 1 | -17/+7 |
| | | | | | | | | | | | | | | | | | | | | widget. Still - most likely - not the complete story for trunk/tcl9, but whatever we do this is a better starting-point than how it was. | ||||
| * | | | Fix [f1253530cdd83e66]: tcl_wordchars and tcl_nonwordchars are unknown at ↵ | jan.nijtmans | 2016-03-23 | 1 | -4/+12 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | startup. For trunk this will not be the complete story, but for core-8-6-branch and core-8-5-branch it will at least make tcl_wordchars and tcl_nonwordchars function as documented. That's the least polish we should do. See: [https://groups.google.com/forum/#!topic/comp.lang.tcl/ZZ_WwfQdmoE]. People like Eric Brunel, who want the most logical behavior for any Tcl release can simply do: set ::tcl_wordchars {\w} set ::tcl_nonwordchars {\W} | ||||
| | * | | | Alternative solution for [f1253530cd]bug_f1253530cd_alt | jan.nijtmans | 2016-03-22 | 1 | -4/+12 |
| | | | | | |||||
| * | | | | Fix [7d0db7c388f52de8]: Occasional build failures with parallel make. Thanks ↵ | jan.nijtmans | 2016-03-23 | 1 | -64/+64 |
| | | | | | | | | | | | | | | | | | | | | to Jaroslav Škarvada for bug report and fix. | ||||
* | | | | | Tcl_InitStringRep() bug. Truncation assumed length == allocated. Wrong! | dgp | 2016-03-23 | 2 | -37/+31 |
| | | | | | | | | | | | | | | | | | | | | Convert "bytearray" Tcl_ObjType to used new facilities. No longer directly refers to bytes or length fields, or any ckalloc of string rep. | ||||
* | | | | | Revise Tcl_InitStringRep(); numBytes is unsigned. Only truncation permitted. | dgp | 2016-03-23 | 3 | -14/+16 |
| | | | | | |||||
* | | | | | Release memory after truncation. | dgp | 2016-03-23 | 1 | -0/+5 |
| | | | | | |||||
* | | | | | Make sure no path emerges to write on tclEmptyStringRep. | dgp | 2016-03-23 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Next step: new routine Tcl_InitStringRep() | dgp | 2016-03-23 | 4 | -1/+90 |
| | | | | | |||||
* | | | | | First simple step implementing TIP 445. | dgp | 2016-03-22 | 4 | -0/+38 |
|/ / / / | |||||
* | | | | Factor out string internal rep definition so fix for [1af8de570511] is less ↵ | dkf | 2016-03-22 | 3 | -58/+102 |
|\ \ \ \ | | |/ / | |/| | | | | | | awful. | ||||
| * | | | Factor out string internal rep definition so fix for [1af8de570511] is less ↵ | dkf | 2016-03-22 | 3 | -58/+102 |
| | | | | | | | | | | | | | | | | awful. | ||||
* | | | | Revised fix for signed/unsigned mismatch. "get types right" > "add more casts" | dgp | 2016-03-22 | 4 | -9/+9 |
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | |||||
| * | | More places where unsigned quantities should be decared such. | dgp | 2016-03-22 | 2 | -2/+2 |
| | | | |||||
| * | | More signed/unsigned type correction. | dgp | 2016-03-22 | 1 | -3/+3 |
| |\ \ | |||||
| | * | | (cherry-pick): Fix signed-unsigned-compare warning (reported by François ↵ | jan.nijtmans | 2016-03-22 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | Vogel on Windows, but gcc can trigger it as well) | ||||
| * | | | Don't compare signed and unsigned. Get types right. | dgp | 2016-03-22 | 1 | -2/+2 |
| |/ / | |||||
| * | | (cherry-pick): Fix [d3071887dbc7aeac]: Fix SEGV in Tcl_FinalizeNotifier(). ↵ | jan.nijtmans | 2016-03-21 | 1 | -0/+2 |
| | | | | | | | | | | | | Thanks to hirofumi for both the bug-report and the fix | ||||
* | | | Fix signed-unsigned-compare warning (reported by François Vogel on Windows, ↵ | jan.nijtmans | 2016-03-22 | 6 | -6/+6 |
| | | | | | | | | | | | | but gcc can trigger it as well) |