summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Set errorcode for STOPONERRORjan.nijtmans2021-04-011-3/+11
|
* Add experimental "-nothrow" option to encoding convertfrom|convertto. If ↵jan.nijtmans2021-04-0111-57/+101
| | | | compiled with -DTCL_NO_DEPRECATED (meant for Tcl 9.0), -stoponerror is the default for all IO
* Merge tip-597jan.nijtmans2021-04-014-7/+121
|\
| * Merge 8.7jan.nijtmans2021-04-014-9/+127
| |\
| | * Merge 8.6jan.nijtmans2021-04-011-18/+33
| | |\
| | | * Follow-up to [15c7b4f93e]: "Implement TCL_ENCODING_STOPONERROR flag for ↵jan.nijtmans2021-04-011-6/+6
| | | | | | | | | | | | | | | | UtfToUtf encoder/decoder". Only do this check when pureNullMode == 0, otherwise we violate EIAS.
| | * | Add 3 undocumented #defines. To be formalized by TIP #595 (currently being ↵jan.nijtmans2021-03-311-0/+5
| | | | | | | | | | | | | | | | voted on)
| | * | RFE 4b4830eb54: reflected channel truncate methodjan.nijtmans2021-03-302-3/+110
| | |\ \
| | | * | Proposed implementation of RFE [4b4830eb54]jan.nijtmans2021-03-182-5/+111
| | | | |
* | | | | More bugfixes (and testcases showing this)jan.nijtmans2021-04-013-8/+16
| | | | |
* | | | | Merge tip-597jan.nijtmans2021-03-311-3/+2
|\ \ \ \ \ | |/ / / /
| * | | | Fix testcase for TCL_UTF_MAX=4jan.nijtmans2021-03-311-3/+2
| | | | |
* | | | | Merge tip-597jan.nijtmans2021-03-311-5/+12
|\ \ \ \ \ | |/ / / /
| * | | | Re-use TCL_ENCODING_MODIFIED flag value for TCL_ENCODING_LE too, since they ↵jan.nijtmans2021-03-311-5/+12
| | | | | | | | | | | | | | | | | | | | are used for different encoders.
* | | | | Merge-markjan.nijtmans2021-03-300-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | Bugfix (backported from encodings-with-flags branch): Use correct byte/char ↵jan.nijtmans2021-03-301-5/+8
| | | | | | | | | | | | | | | | | | | | positions in error-situation
* | | | | Merge tip-597. More testcasesjan.nijtmans2021-03-3013-50/+290
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.7jan.nijtmans2021-03-302-1/+38
| |\ \ \ \ | | |/ / /
| | * | | Improve documentation for exec and open, especially in relation to binary ↵dkf2021-03-302-1/+38
| | |\ \ \ | | | | |/ | | | |/| | | | | | pipelines
| | | * | Improve documentation for exec and open, especially in relation to binary ↵dkf2021-03-302-2/+40
| | | |\ \ | | | | | | | | | | | | | | | | | | pipelines
| | | | * | Improve documentation for exec and open, especially in relation to binary ↵dkf2021-03-302-3/+62
| | | | | | | | | | | | | | | | | | | | | | | | pipelines
| * | | | | Merge 8.7jan.nijtmans2021-03-3045-1017/+1004
| |\ \ \ \ \ | | |/ / / /
| * | | | | Finish CESU-8 encoder/decoderjan.nijtmans2021-03-292-1/+14
| | | | | |
| * | | | | Make a start with CESU-8 encoder/decoder. Not finished yetjan.nijtmans2021-03-282-9/+18
| | | | | |
| * | | | | Merge 8.7jan.nijtmans2021-03-2827-614/+696
| |\ \ \ \ \
| * | | | | | Add wtf-16 encodings to the set. With testcasesjan.nijtmans2021-03-172-69/+62
| | | | | | |
| * | | | | | Merge 8.7jan.nijtmans2021-03-1719-1050/+1518
| |\ \ \ \ \ \
| * | | | | | | Fix documentationjan.nijtmans2021-03-101-1/+2
| | | | | | | |
| * | | | | | | TIP #597 implementation: "string is unicode" and new wtf-8 encodingjan.nijtmans2021-03-1011-40/+182
| | | | | | | |
* | | | | | | | Better error-messagesjan.nijtmans2021-03-302-11/+23
| | | | | | | |
* | | | | | | | add testcase for "encoding convertto". Move stub table one positionsjan.nijtmans2021-03-306-15/+22
| | | | | | | |
* | | | | | | | Add documentation. Do a better job of counting exactly which byte/character ↵jan.nijtmans2021-03-307-43/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caused the encoding/decoding error
* | | | | | | | Merge 8.7jan.nijtmans2021-03-3045-1026/+1012
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | |
| * | | | | | | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-3045-1017/+1004
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (UTF-8) character.
| * | | | | | | merge-markjan.nijtmans2021-03-300-0/+0
| |\ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | / / / | | | |_|/ / / | | |/| | | |
| | * | | | | remove useless save/restorejan.nijtmans2021-03-301-2/+0
| | | | | | |
| * | | | | | Change TCL_ENCODING_EXTERNAL flag into TCL_ENCODING_MODIFIED, but with ↵jan.nijtmans2021-03-281-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | opposite meaning. Simplify code.
* | | | | | | More WIP: Add -stoponerror flag to "encoding convertfrom/converto"jan.nijtmans2021-03-264-14/+61
| | | | | | |
* | | | | | | New Tcl_ExternalToUtfDStringEx/Tcl_UtfToExternalDStringEx functions. Not ↵jan.nijtmans2021-03-234-11/+68
|/ / / / / / | | | | | | | | | | | | | | | | | | used yet
* | | | | | Rename MODULESCOPE TclGetLoadedPackagesEx() to TclGetLoadedLibraries()jan.nijtmans2021-03-225-7/+7
| | | | | |
* | | | | | merge-markjan.nijtmans2021-03-220-0/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 8.5jan.nijtmans2021-03-221-1/+1
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | Fix incorrect comment: underscore ('_') is allowed in a packageNamejan.nijtmans2021-03-221-1/+1
| | | | | |
* | | | | | Rename internal variables, making it more clear that tclLoad.c is not part ↵jan.nijtmans2021-03-221-162/+162
| | | | | | | | | | | | | | | | | | | | | | | | of Tcl's "package" mechanism.
* | | | | | merge-markjan.nijtmans2021-03-210-0/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Implement TCL_ENCODING_STOPONERROR flag for UtfToUtf encoder/decoder. ↵jan.nijtmans2021-03-211-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | Backported from 8.7
* | | | | | Fix [0221b993a1]: Tcl command [update idletasks] doesn't skip main loop in ↵jan.nijtmans2021-03-191-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Tcl_DoOneEvent
| * | | | | | Suggested fix for [0221b993a1]: Tcl command [update idletasks] doesn't skip ↵jan.nijtmans2021-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | main loop in Tcl_DoOneEvent
* | | | | | | Fully implement TCL_ENCODING_STOPONERROR flag for Utf2Utf encoder/decoder.jan.nijtmans2021-03-191-3/+8
| | | | | | |
* | | | | | | Merge 8.6jan.nijtmans2021-03-1919-261/+259
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |