summaryrefslogtreecommitdiffstats
path: root/tests/binary.test
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkdgp2021-04-141-0/+3
|\
| * Merge 8.6. More missing ::tcltest::loadTestedCommandsjan.nijtmans2021-04-131-0/+1
| |\
| | * Missing ::tcltest::loadTestedCommandsjan.nijtmans2021-04-131-0/+3
| | |
| * | Missing ::tcltest::loadTestedCommandsjan.nijtmans2021-04-131-0/+2
| | |
* | | merge trunkdgp2021-04-031-240/+240
|\ \ \ | |/ /
| * | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-240/+240
| | | | | | | | | | | | (UTF-8) character.
* | | Merge TIP 481 (resolve conflicts)jan.nijtmans2021-01-211-4/+4
|\ \ \ | |/ /
* | | merge trunkdgp2020-12-071-3/+12
|\ \ \ | |/ /
| * | More ©-sign consolidationjan.nijtmans2020-11-231-2/+2
| | |
| * | Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-2/+2
| | | | | | | | | | | | whenever reasonable.
| * | re-trigger Travis build (and fix some eol-spacing)jan.nijtmans2020-10-261-1/+1
| | |
| * | Copied man page and test from Androwish ↵oehhar2020-10-261-1/+10
| | | | | | | | | | | | https://www.androwish.org/home/ci/bc8b7e8094b66169
* | | merge trunkdgp2020-09-161-2/+2
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-09-041-1/+1
| |\ \ | | |/
| | * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+2
| | | | | | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
| * | simplify check for ::tcltest namespace in testcasesjan.nijtmans2020-07-161-1/+1
| | |
* | | merge trunkdgp2020-04-271-1/+14
|\ \ \ | |/ /
| * | Add test-cases handling TclGetBytesFromObj() ( actually Tcl_UtfToUniChar too)jan.nijtmans2020-04-201-1/+14
| | |
* | | merge trunkdgp2020-04-021-7/+7
|\ \ \ | |/ /
| * | Use new utility routine so that error characters using surrogates aredgp2020-04-021-7/+7
| | | | | | | | | reported correctly.
* | | merge trunkdgp2020-03-311-3/+9
|\ \ \ | |/ /
| * | merge 8.6dgp2020-03-311-3/+9
| |\ \ | | |/
| | * Retrict -wrapchar values to those that can be decoded.dgp2020-03-311-4/+4
| | |
| | * Other suggested solution for [b8e82d293b]jan.nijtmans2020-03-311-3/+9
| | |
* | | When Tcl_SetByteArrayLength truncates a value, demand only that the truncateddgp2020-03-301-0/+12
| | | | | | | | | range must be a proper byte sequence.
* | | merge trunkdgp2020-03-281-0/+3
|\ \ \ | |/ /
| * | merge 8.6dgp2020-03-281-0/+3
| |\ \ | | |/
| | * Add a test for fixed bug.dgp2020-03-281-0/+3
| | |
* | | merge trunkdgp2020-03-281-6/+9
|\ \ \ | |/ /
| * | merge 8.6dgp2020-03-281-1/+4
| |\ \ | | |/
| | * [ffeb2097af] Restore the standard and original practice of ignoring invaliddgp2020-03-281-1/+4
| | | | | | | | | characters when decoding base64. Error only in -strict mode. See RFC 2045.
| * | Merge 8.6jan.nijtmans2020-03-271-5/+5
| |\ \ | | |/
| | * Repair bad test labels.dgp2020-03-271-5/+5
| | |
* | | Fix mistaken merge.dgp2020-03-131-2/+2
| | |
* | | Merge trunkjan.nijtmans2020-03-131-0/+12
|\ \ \ | |/ /
| | |
| | \
| *-. \ Merge new tests. Reveals crash in Tcl 8.7 implementation.dgp2020-03-121-0/+12
| |\ \ \ | | | |/
| | | * Renumber tests to account for later releases.dgp2020-03-121-2/+2
| | |/
| | * Add some testing of Tcl_SetByteArrayLength().dgp2020-03-121-0/+11
| | |
* | | merge trunkdgp2019-08-261-1/+1
|\ \ \ | |/ /
| * | TIP #547 implementation: New encodings: UTF-16, UCS-2jan.nijtmans2019-05-311-1/+1
| | |
* | | Revise crashing test now that [binary encode] rejects bogus inputs.dgp2019-02-231-1/+1
|/ /
* | fixes segfault [bd94500678]: Tcl_UtfToUniChar/TclUtfToUniChar could don't ↵sebres2019-02-051-0/+6
| | | | | | | | advance source pointer in case it produce high surrogate, so it should be repeated with the same value of ch (returned previously), in order to generate low surrogate hereafter (and to avoid endless cycle).
* | merge 8.6dgp2018-11-161-0/+40
|\ \ | |/
| * test cases for decode base64, bug [00d04c4f12], unfulfilled base64 (strict ↵sebres2018-11-151-0/+40
| | | | | | | | and non-strict mode, etc).
* | Fix [540bed4bde]: binary format can result in "integer value too large to ↵jan.nijtmans2018-09-041-16/+25
| | | | | | | | | | | | | | represent". Implemented a new utility function TclGetWideBitsFromObj(), which handles the overflowing of integers using bignums. This function can be used in a _LOT_ of other places, preventing code duplication. Done that as well. Those changes have no effect on other commands, only two new "binary format" test-cases for this specific situation: binary-44.5 and binary-44.6
* | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-0/+12
|\ \ | |/
| * [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-0/+12
| |\
| | * [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-0/+12
| | |
* | | Coverage tests for INST_STR_CONCAT1 byterarray ops.dgp2016-10-311-0/+13
|/ /
* | Add back -wrapchar option to "binary encode uuencode"jan.nijtmans2013-09-151-13/+4
|\ \