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 | 6 | -5/+28 |
| | | |||||
* | | 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 "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 |
| | | |||||
* | | 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 |
| |/ | |||||
* | | Fix signed-unsigned-compare warning (reported by François Vogel on Windows, ↵ | jan.nijtmans | 2016-03-22 | 2 | -2/+2 |
| | | | | | | | | but gcc can trigger it as well) | ||||
* | | [1af8de570511] Fix crash in [string replace] caused by cut-n-paste. | dkf | 2016-03-20 | 1 | -22/+13 |
|\ \ | |/ | |||||
| * | [1af8de570511] Fix crash in [string replace] caused by cut-n-paste. | dkf | 2016-03-20 | 1 | -22/+13 |
| | | |||||
* | | [0b8c387cf7] Replace deprecated Tcl_VarEval(). socket accept callbacks now | dgp | 2016-03-17 | 1 | -20/+25 |
|\ \ | | | | | | | always evaluate in global context. *** POTENTIAL INCOMPATIBILITY *** | ||||
| * \ | Merge trunk. bug_0b8c387cf7 | jan.nijtmans | 2016-03-16 | 5 | -58/+39 |
| |\ \ | | | | | | | | | Add TCL_EVAL_GLOBAL flag to Tcl_EvalObjEx(), for reason mentioned in [0b8c387cf7]. | ||||
| * | | | [0b8c387cf7] Replace deprecated Tcl_VarEval() call with reworked callback | dgp | 2016-03-08 | 1 | -20/+25 |
| | | | | | | | | | | | | system that uses Tcl_Obj scripts. | ||||
* | | | | merge 8.6 bug fixes | dgp | 2016-03-17 | 3 | -12/+56 |
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | |||||
| * | | [ae38befcfb] Rewrite TclGetInnermostExceptionRange() for fewer iterations. | dgp | 2016-03-17 | 1 | -11/+10 |
| | | | |||||
| * | | [1a25fdfec6] Enable compile of commands like [variable ${ns}::v]. | dgp | 2016-03-17 | 1 | -1/+3 |
| |\ \ | |||||
| | * | | Simple change gets most of the effect. Fails to handle backslash. anyone care?bug_1a25fdfec6 | dgp | 2016-03-11 | 1 | -1/+3 |
| | | | | |||||
| * | | | [b9b2079e6d] Proposed fix. When a compileProc fails, it may have done an | dgp | 2016-03-10 | 1 | -0/+43 |
| |/ / | | | | | | | | | | | | | arbitrary amount of partial work, which needs to be undone. When the exception handling machinery got its last big revision, the undoing of what it does was neglected. I think this patch gets it all, but more eyes would be good. | ||||
* | | | Remove undocumented TCL_HASH_KEY_STORE_HASH. Setting this to "0" is not ↵ | jan.nijtmans | 2016-03-16 | 2 | -55/+0 |
| | | | | | | | | | | | | supported (was it ever ????), and not tested for long time. | ||||
* | | | Allow unstable Tcl releases to use unstable packages by default (this makes ↵ | jan.nijtmans | 2016-03-11 | 2 | -2/+38 |
|\ \ \ | |_|/ |/| | | | | | "package require Tk" find the expected 8.7a0 version in stead of 8.6). Make many "package" test-cases work even when the environment variable TCL_PKG_PREFER_LATEST is set. | ||||
| * | | Let Tcl 8.7 allow Tk 8.7 to be used by defaultjn_Tcl_requirement | jan.nijtmans | 2016-03-09 | 1 | -1/+1 |
|/ / | |||||
* | | [bbc304f61a] Avoid event handling when reflected channel has a watch change ↵ | dgp | 2016-03-08 | 1 | -2/+2 |
|\ \ | |/ | | | | | half-completed. (First half in 1 thread, second in another). When this is allowed to happen, false alarm errors from [chan postevent] are the result when timing is unlucky. See test iocmd.tf-24.17.bug3522560 . | ||||
| * | [bbc304f61a] Avoid event handling when reflected channel has a watch | dgp | 2016-03-08 | 1 | -2/+2 |
| |\ | | | | | | | | | | | | | change half-completed. (First half in 1 thread, second in another). When this is allowed to happen, false alarm errors from [chan postevent] are the result when timing is unlucky. See test iocmd.tf-24.17.bug3522560 . |