summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
Commit message (Expand)AuthorAgeFilesLines
* Fix [bd94500678e837d7]: SEGFAULT by conversion of unicode (out of BMP) to byt...jan.nijtmans2019-02-271-2/+2
|\
| * Finish complete fix, all corner-cases correct now. Also spurious UTF-8 testca...jan.nijtmans2019-02-251-2/+2
* | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) an...jan.nijtmans2019-02-271-8/+8
* | New internal macro TclHasIntRep() to re-encapsulate the typePtr field.dgp2019-02-251-3/+3
|/
* Revert recent commit that breaks the encapsulation interface of TIP 445.dgp2019-02-221-17/+55
* fixes segfault [bd94500678]: Tcl_UtfToUniChar/TclUtfToUniChar could don't adv...sebres2019-02-051-1/+1
* Make TclIsPureByteArray() a macro, since it's only doing a single compare. Ot...jan.nijtmans2019-01-311-55/+17
* New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. jan.nijtmans2019-01-281-22/+22
* If compiled with -DTCL_NO_DEPRECATED, remove Tcl_NewIntObj/Tcl_NewLongObj/Tcl...jan.nijtmans2018-12-121-4/+4
* merge 8.6dgp2018-11-161-2/+9
|\
| * fixes segfault [00d04c4f12], unfulfilled base64 (strict and non-strict mode, ...sebres2018-11-151-2/+9
* | merge 8.7dgp2018-10-181-26/+25
|\ \
| * | isspace -> TclIsSpaceProc in various places.jan.nijtmans2018-10-091-8/+8
| * | Fix [540bed4bde]: binary format can result in "integer value too large to rep...jan.nijtmans2018-09-041-18/+17
* | | merge trunkdgp2017-09-141-1/+1
|\ \ \ | |/ /
| * | Make mp_get_long and mp_set_long available to tommath-enabled Tcl extensions....jan.nijtmans2017-09-131-1/+1
* | | merge trunkdgp2017-09-011-3/+3
|\ \ \ | |/ /
| * | merge core-8-6-branchjan.nijtmans2017-08-181-3/+3
| |\ \ | | |/
| | * Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3jan.nijtmans2017-06-081-3/+3
* | | merge trunkdgp2017-06-061-3/+3
|\ \ \ | |/ /
| * | merge core-8-6-branchjan.nijtmans2017-05-291-3/+3
| |\ \ | | |/
| | * Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in funct...jan.nijtmans2017-05-291-3/+3
* | | merge trunkdgp2017-05-081-1/+9
|\ \ \ | |/ /
| * | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| |\ \ | | |/
| | * [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| | |\
| | | * [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| | | * Backport of bytearray append machinery to support bug fixes in ReadBytes.dgp2014-01-211-0/+92
* | | | merge trunkdgp2017-01-121-4/+4
|\ \ \ \ | |/ / /
| * | | TIP [http://www.tcl.tk/cgi-bin/tct/tip/456|456] implementation: Extend the C ...jan.nijtmans2017-01-041-4/+4
| |\ \ \
* | \ \ \ merge trunkdgp2016-12-231-2/+4
|\ \ \ \ \ | |/ / / /
| * | | | more internal use of size_t in stead of int.jan.nijtmans2016-12-201-2/+4
| |/ / /
* | | | merge trunkdgp2016-12-021-35/+171
|\ \ \ \ | |/ / /
| * | | Added long comment explaining history and work in progress making bytearraydgp2016-12-021-22/+87
| * | | So long as we register only one, we can have multiple Tcl_ObjTypes withdgp2016-12-011-1/+1
| * | | Created a new "proper bytearray" Tcl_ObjType so we can use bytearraysdgp2016-12-011-21/+44
* | | | merge trunkdgp2016-07-091-1/+1
|\ \ \ \ | |/ / /
| * | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ...jan.nijtmans2016-07-081-1/+1
| |/ /
* | | Conversion of "bytearray" Tcl_ObjType - much better this time.dgp2016-03-271-46/+54
|\ \ \
| * | | Convert the "bytearray" Tcl_ObjType to use the proposed Tcl_ObjIntRepdgp2016-03-261-46/+63
|/ / /
* | | Update Tcl_InitStringRep callers to handle OOM condition.dgp2016-03-241-1/+3
* | | Tcl_InitStringRep() bug. Truncation assumed length == allocated. Wrong!dgp2016-03-231-32/+29
|/ /
* | [2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.dgp2014-01-151-41/+33
* | Tcl_SetResult -> Tcl_SetObjResultjan.nijtmans2013-09-261-2/+4
* | Refactor to remove unused flexibility.dkf2013-09-161-12/+10
* | Be careful: separator needs to be bytes, not internal-encoded.dkf2013-09-161-7/+10
* | Add back -wrapchar option to "binary encode uuencode"jan.nijtmans2013-09-151-6/+13
|\ \
| * | Hm, this check doesn't really add anything.jan.nijtmans2013-09-141-6/+0
| * | Add back -wrapchar option to "binary encode uuencode".jan.nijtmans2013-09-141-6/+19
* | | And the decoder too.dkf2013-09-141-18/+86
|/ /
* | [2152292] Corrected implementation of uuencoding.dkf2013-09-141-4/+121