Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set errorcode for STOPONERROR | jan.nijtmans | 2021-04-01 | 1 | -3/+11 |
| | |||||
* | Add experimental "-nothrow" option to encoding convertfrom|convertto. If ↵ | jan.nijtmans | 2021-04-01 | 3 | -20/+55 |
| | | | | compiled with -DTCL_NO_DEPRECATED (meant for Tcl 9.0), -stoponerror is the default for all IO | ||||
* | Merge tip-597 | jan.nijtmans | 2021-04-01 | 3 | -7/+108 |
|\ | |||||
| * | Merge 8.7 | jan.nijtmans | 2021-04-01 | 3 | -9/+114 |
| |\ | |||||
| | * | Merge 8.6 | jan.nijtmans | 2021-04-01 | 1 | -18/+33 |
| | |\ | |||||
| | | * | Follow-up to [15c7b4f93e]: "Implement TCL_ENCODING_STOPONERROR flag for ↵ | jan.nijtmans | 2021-04-01 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | UtfToUtf encoder/decoder". Only do this check when pureNullMode == 0, otherwise we violate EIAS. | ||||
| | | * | remove useless save/restore | jan.nijtmans | 2021-03-30 | 1 | -2/+0 |
| | | | | |||||
| | | * | Merge 8.5 | jan.nijtmans | 2021-03-22 | 1 | -1/+1 |
| | | |\ | |||||
| | | | * | Fix incorrect comment: underscore ('_') is allowed in a packageName | jan.nijtmans | 2021-03-22 | 1 | -1/+1 |
| | | | | | |||||
| | | | * | Backport Tcl_UtfCharComplete() functionality from 8.6 for TCL_UTF_MAX>3. ↵ | jan.nijtmans | 2021-03-11 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | | | | This makes Tcl_UtfCharComplete() usable to protect Tcl_UtfNext() calls for overflow. No change for TCL_UTF_MAX=3 (default build) | ||||
| | | * | | Implement TCL_ENCODING_STOPONERROR flag for UtfToUtf encoder/decoder. ↵ | jan.nijtmans | 2021-03-21 | 1 | -7/+25 |
| | | | | | | | | | | | | | | | | | | | | Backported from 8.7 | ||||
| | * | | | Add 3 undocumented #defines. To be formalized by TIP #595 (currently being ↵ | jan.nijtmans | 2021-03-31 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | voted on) | ||||
| | * | | | RFE 4b4830eb54: reflected channel truncate method | jan.nijtmans | 2021-03-30 | 1 | -3/+97 |
| | |\ \ \ | |||||
| | | * | | | Proposed implementation of RFE [4b4830eb54] | jan.nijtmans | 2021-03-18 | 1 | -5/+98 |
| | | | | | | |||||
* | | | | | | More bugfixes (and testcases showing this) | jan.nijtmans | 2021-04-01 | 2 | -7/+12 |
| | | | | | | |||||
* | | | | | | Merge tip-597 | jan.nijtmans | 2021-03-31 | 1 | -5/+12 |
|\ \ \ \ \ \ | |/ / / / / | |||||
| * | | | | | Re-use TCL_ENCODING_MODIFIED flag value for TCL_ENCODING_LE too, since they ↵ | jan.nijtmans | 2021-03-31 | 1 | -5/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | are used for different encoders. | ||||
| * | | | | | Bugfix (backported from encodings-with-flags branch): Use correct byte/char ↵ | jan.nijtmans | 2021-03-30 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | positions in error-situation | ||||
* | | | | | | Merge tip-597. More testcases | jan.nijtmans | 2021-03-30 | 8 | -33/+133 |
|\ \ \ \ \ \ | |/ / / / / | |||||
| * | | | | | Merge 8.7 | jan.nijtmans | 2021-03-30 | 1 | -1/+1 |
| |\ \ \ \ \ | | |/ / / / | |||||
| * | | | | | Finish CESU-8 encoder/decoder | jan.nijtmans | 2021-03-29 | 1 | -1/+8 |
| | | | | | | |||||
| * | | | | | Make a start with CESU-8 encoder/decoder. Not finished yet | jan.nijtmans | 2021-03-28 | 1 | -8/+17 |
| | | | | | | |||||
| * | | | | | Merge 8.7 | jan.nijtmans | 2021-03-28 | 16 | -493/+580 |
| |\ \ \ \ \ | |||||
| * | | | | | | Add wtf-16 encodings to the set. With testcases | jan.nijtmans | 2021-03-17 | 1 | -66/+53 |
| | | | | | | | |||||
| * | | | | | | Merge 8.7 | jan.nijtmans | 2021-03-17 | 16 | -967/+1436 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | TIP #597 implementation: "string is unicode" and new wtf-8 encoding | jan.nijtmans | 2021-03-10 | 8 | -26/+81 |
| | | | | | | | | |||||
* | | | | | | | | Better error-messages | jan.nijtmans | 2021-03-30 | 1 | -7/+16 |
| | | | | | | | | |||||
* | | | | | | | | add testcase for "encoding convertto". Move stub table one positions | jan.nijtmans | 2021-03-30 | 5 | -12/+16 |
| | | | | | | | | |||||
* | | | | | | | | Add documentation. Do a better job of counting exactly which byte/character ↵ | jan.nijtmans | 2021-03-30 | 5 | -39/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caused the encoding/decoding error | ||||
* | | | | | | | | Merge 8.7 | jan.nijtmans | 2021-03-30 | 1 | -10/+9 |
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | |||||
| * | | | | | | | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵ | jan.nijtmans | 2021-03-30 | 1 | -1/+1 |
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | (UTF-8) character. | ||||
| * | | | | | | Change TCL_ENCODING_EXTERNAL flag into TCL_ENCODING_MODIFIED, but with ↵ | jan.nijtmans | 2021-03-28 | 1 | -10/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | opposite meaning. Simplify code. | ||||
* | | | | | | | More WIP: Add -stoponerror flag to "encoding convertfrom/converto" | jan.nijtmans | 2021-03-26 | 1 | -8/+40 |
| | | | | | | | |||||
* | | | | | | | New Tcl_ExternalToUtfDStringEx/Tcl_UtfToExternalDStringEx functions. Not ↵ | jan.nijtmans | 2021-03-23 | 4 | -11/+68 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | used yet | ||||
* | | | | | | Rename MODULESCOPE TclGetLoadedPackagesEx() to TclGetLoadedLibraries() | jan.nijtmans | 2021-03-22 | 4 | -5/+5 |
| | | | | | | |||||
* | | | | | | Rename internal variables, making it more clear that tclLoad.c is not part ↵ | jan.nijtmans | 2021-03-22 | 1 | -162/+162 |
| | | | | | | | | | | | | | | | | | | | | | | | | of Tcl's "package" mechanism. | ||||
* | | | | | | Fix [0221b993a1]: Tcl command [update idletasks] doesn't skip main loop in ↵ | jan.nijtmans | 2021-03-19 | 1 | -1/+1 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Tcl_DoOneEvent | ||||
| * | | | | | | Suggested fix for [0221b993a1]: Tcl command [update idletasks] doesn't skip ↵ | jan.nijtmans | 2021-03-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | main loop in Tcl_DoOneEvent | ||||
* | | | | | | | Fully implement TCL_ENCODING_STOPONERROR flag for Utf2Utf encoder/decoder. | jan.nijtmans | 2021-03-19 | 1 | -3/+8 |
| | | | | | | | |||||
* | | | | | | | Merge 8.6 | jan.nijtmans | 2021-03-19 | 10 | -154/+152 |
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | |||||
| * | | | | | | Change Tcl_StaticPackage's "pkgName" argument to "prefix" and improve ↵ | jan.nijtmans | 2021-03-19 | 6 | -38/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation, describing better what this argument does. | ||||
| * | | | | | | Delete some useless code. Was only place where we fed an uncontrolled value ↵ | dkf | 2021-03-18 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to %f, and it was actually a conversion we didn't need to do at all. | ||||
* | | | | | | | Handle the encoding of filenames in ZIPs correctly. (This is awful. The ↵ | dkf | 2021-03-18 | 2 | -39/+215 |
| |/ / / / / |/| | | | | | | | | | | | | | | | | | awful isn't Tcl's fault. Terrible spec...) | ||||
* | | | | | | Merge 8.6 | jan.nijtmans | 2021-03-18 | 1 | -2/+1 |
|\ \ \ \ \ \ | |/ / / / / | | | | / / | |_|_|/ / |/| | | | | |||||
| * | | | | Remove incorrect/useless comment | jan.nijtmans | 2021-03-18 | 1 | -2/+1 |
| | | | | | |||||
* | | | | | More simplification of UtfToUtfProc(). Get rid of wrapper functions ↵ | jan.nijtmans | 2021-03-18 | 1 | -126/+24 |
| | | | | | | | | | | | | | | | | | | | | UtfIntToUtfExtProc/UtfExtToUtfIntProc. This can be handled by additional flags. | ||||
* | | | | | Simplify UtfToUtfProc() and UtfToUtf16Proc(): Using TclUtfToUCS4() ↵ | jan.nijtmans | 2021-03-17 | 2 | -59/+32 |
| |_|/ / |/| | | | | | | | | | | | | | | | internally means that we don't have to keep track of internal state any more (Tcl_EncodingState) Also, add (HMODULE) cast (back) in tclZipfs.c | ||||
* | | | | Fix MSVC build | jan.nijtmans | 2021-03-17 | 1 | -1/+1 |
| | | | | |||||
* | | | | More cleaning up of zipfs | dkf | 2021-03-16 | 1 | -46/+56 |
| | | | | | | | | | | | | Don't put straight binary data in a Tcl string, and other better API uses. | ||||
* | | | | Fix gcc warnings | jan.nijtmans | 2021-03-16 | 2 | -4/+3 |
| | | | |