Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX ↵ | jan.nijtmans | 2020-05-01 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | bytes. Tcl_UtfToUniChar() now never reads more than TCL_UTF_MAX bytes any more. Since the UtfToUtf encoder/decoder now uses TclUtfToUCS4() it doesn't join 2 surrogates as 2 x 3-byte sequences any more. Actually, it shouldn't, because such sequences are invalid UTF-8. Therefore, added the ucs2 constraint to testcase encoding-15.4. Let's see how TIP #573 goes, this TIP should make this change official. Other callers of Tcl_UtfToUniChar() needs to be revised for the same problem. Most callers will need to change Tcl_UtfToUniChar() -> TclUtfToUCS4() and Tcl_UtfCharComplete() -> TclUCS4Complete(), but that's not done yet. | ||||
| * | Add one more reserved stub entry, most likely will be Tcl_GetBytesFromObj() ↵ | jan.nijtmans | 2020-03-15 | 1 | -3/+6 |
| | | | | | | | | in Tcl 8.7. | ||||
* | | Fix corner-case in TIP #542 implementation: For extensions compiled with ↵ | jan.nijtmans | 2020-04-21 | 1 | -0/+6 |
| | | | | | | | | TCL_UTF_MAX=4 while Tcl is built with TCL_UTF_MAX=3, Tcl_UtfCharComplete() might give the wrong result. | ||||
* | | Don't generate "deprecated" warning for Tcl_Close(), since only the stub ↵ | jan.nijtmans | 2020-03-02 | 1 | -3/+2 |
| | | | | | | | | entry is deprecated. Will be replaced by macro. | ||||
* | | Implement TIP #562: Deprecate channel types 1-4 | jan.nijtmans | 2020-02-28 | 1 | -6/+14 |
|\ \ | |||||
| * | | Oopsee | jan.nijtmans | 2020-02-02 | 1 | -1/+1 |
| | | | |||||
| * | | Deprecate Tcl_Close() stub entry as well | jan.nijtmans | 2020-02-02 | 1 | -14/+20 |
| |\ \ | |||||
| * | | | Make Tcl_ChannelCloseProc() deprecated too. Implement close2Proc and ↵ | jan.nijtmans | 2020-01-31 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | wideSeekProc for all internal channel types. | ||||
| * | | | Merge 8.7 | jan.nijtmans | 2020-01-30 | 1 | -5/+0 |
| |\ \ \ | |||||
| * | | | | Deprecate channel types 1-4 | jan.nijtmans | 2020-01-29 | 1 | -2/+8 |
| |/ / / | |||||
* | | | | Merge 8.7 | jan.nijtmans | 2020-02-13 | 1 | -25/+46 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Fix conflict between (unpatched) tommath.h and tcl.h. See also ↵ | jan.nijtmans | 2020-02-02 | 1 | -12/+12 |
| |\ \ \ | | |/ / | |/| | | | | | | [https://github.com/libtom/libtommath/pull/473] | ||||
| | * | | Attempt to resolve a conflict between (unmodified) tommath.h and tcl.h in ↵ | jan.nijtmans | 2020-01-13 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | the definition of mp_int. See: [https://github.com/libtom/libtommath/pull/473] | ||||
| * | | | TIP #559 follow-up: Make sure that if Tcl_FreeResult() is used in an ↵ | jan.nijtmans | 2020-01-25 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | extension compiled with -DTCL_NO_DEPRECATED, this results in a link error. Do the same with deprecated funcions from other TIP's. | ||||
| * | | | Implement TIP 559 | dgp | 2020-01-24 | 1 | -2/+3 |
| |\ \ \ | |||||
| | * | | | Implement TIP 559 (deprecation part). | dgp | 2020-01-13 | 1 | -2/+3 |
| | |/ / | |||||
| * | | | Don't deprecate Tcl_NewUnicodeObj/Tcl_SetUnicodeObj/Tcl_GetUnicodeFromObj, ↵ | jan.nijtmans | 2020-01-20 | 1 | -9/+6 |
| | | | | | | | | | | | | | | | | since that's not according to TIP #542. (Those are only deprecated when using TCL_UTF_MAX=4, not in the general case) | ||||
| * | | | Merge 8.7 | jan.nijtmans | 2020-01-07 | 1 | -2/+2 |
| |\ \ \ | | |/ / | |||||
| * | | | Merge 8.7 | jan.nijtmans | 2019-11-15 | 1 | -4/+4 |
| |\ \ \ | |||||
| * \ \ \ | Merge 8.7 | jan.nijtmans | 2019-10-02 | 1 | -1/+0 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch tip-548. No longer define addtional stub-entries for functions ↵ | jan.nijtmans | 2019-08-12 | 1 | -60/+41 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | that will be removed (because of deprecation) anyway | ||||
| * \ \ \ \ \ | Merge tip-548 | jan.nijtmans | 2019-08-02 | 1 | -0/+10 |
| |\ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ | Merge tip-548 | jan.nijtmans | 2019-08-01 | 1 | -15/+15 |
| |\ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ | Merge tip-547 | jan.nijtmans | 2019-05-31 | 1 | -3/+6 |
| |\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | More simplifications, taking deprecations into account | jan.nijtmans | 2019-05-22 | 1 | -37/+16 |
| | | | | | | | | | | |||||
| * | | | | | | | | | More WIP: eliminate all usage of (platform-specific) ↵ | jan.nijtmans | 2019-05-22 | 1 | -99/+99 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to its proposed portable replacements: Tcl_Utf16ToUtfDString()/Tcl_UtfToUtf16DString() This allows for Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() to be declared deprecated. | ||||
| * | | | | | | | | | Merge 8.7 | jan.nijtmans | 2019-05-17 | 1 | -31/+34 |
| |\ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ | merge 8.7 | jan.nijtmans | 2019-05-10 | 1 | -34/+43 |
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |||||
| * | | | | | | | | | | Merge 8.7 | jan.nijtmans | 2019-03-28 | 1 | -2/+5 |
| |\ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ | Add 4 new encodings, and add documentation. | jan.nijtmans | 2019-03-18 | 1 | -44/+44 |
| |\ \ \ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | | | More WIP. Seems to be *almost* working. | jan.nijtmans | 2019-03-17 | 1 | -49/+103 |
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Merge 8.7 | jan.nijtmans | 2019-03-16 | 1 | -30/+45 |
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Move up some stub entries related to Tcl_UniChar Use TCL_UTF_MAX=4 for full Unicode in stead of TCL_UTF_MAX=6 (TCL_UTF_MAX: 3 is default) | ||||
| * | | | | | | | | | | | | Even better support for -DTCL_UTF_MAX=6. Ongoing improvements (TIP being ↵ | jan.nijtmans | 2019-03-12 | 1 | -11/+28 |
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | planned) | ||||
* | | | | | | | | | | | | Merge 8.7 | jan.nijtmans | 2020-01-07 | 1 | -2/+2 |
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | |||||
| * | | | | | | | | | | | Merge 8.6 | jan.nijtmans | 2020-01-06 | 1 | -2/+2 |
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | / | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | | |||||
| | * | | | | | | | | | Fix documentation, comments, and argument names of Tcl_TransferResult(). | dgp | 2020-01-05 | 1 | -2/+2 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Merge 8.5 | jan.nijtmans | 2019-10-15 | 1 | -0/+58 |
| | |\ \ \ \ \ \ \ \ \ | |||||
| | | * | | | | | | | | | Add more dummy stub-entries, filled with NULL. Stub table size corresponds ↵ | jan.nijtmans | 2019-10-15 | 1 | -3/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with stub table size for 8.7, encountering NULL entries is better than accessing outside of array bounds. | ||||
* | | | | | | | | | | | | Merge 8.7 | jan.nijtmans | 2019-12-03 | 1 | -4/+4 |
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | |||||
| * | | | | | | | | | | | Backout [b5c1404365f53fe0], removing TclFreeObj() is a step too far for 8.7 | jan.nijtmans | 2019-11-15 | 1 | -4/+4 |
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | |||||
* | | | | | | | | | | | Merge 8.7 | jan.nijtmans | 2019-10-01 | 1 | -1/+0 |
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | |||||
| * | | | | | | | | | | Fix correct export on win32 for TclZipfs_AppHook, when not building with ↵ | jan.nijtmans | 2019-09-29 | 1 | -1/+0 |
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | -DUNICODE | ||||
* | | | | | | | | | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵ | jan.nijtmans | 2019-09-05 | 1 | -3/+3 |
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows) without -Wunused-parameters warnings | ||||
* | | | | | | | | | Spread out definitions of Tcl_*WChar* functions over multiple lines, making ↵ | jan.nijtmans | 2019-08-02 | 1 | -6/+18 |
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | it more readable. | ||||
* | | | | | | | | Merge core-8-branch. Use tclWinDde.c and tclWinReg.c to show how the *WChar* ↵ | jan.nijtmans | 2019-08-02 | 1 | -4/+4 |
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | / | |_|_|_|_|_|/ |/| | | | | | | functions could be used in Win32 extensions. | ||||
* | | | | | | | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵ | jan.nijtmans | 2019-07-11 | 1 | -23/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | intuitive because they represent wchar_t and char16_t (since C++11) types in modern compilers. | ||||
* | | | | | | | Improvement: always export both 16-bit and 32-bit UTF function | jan.nijtmans | 2019-07-05 | 1 | -21/+28 |
| | | | | | | | |||||
* | | | | | | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵ | jan.nijtmans | 2019-06-03 | 1 | -8/+29 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | more flexible replacement functions | ||||
* | | | | | | Add documentation, don't overwrite earlier stub entry! | jan.nijtmans | 2019-05-15 | 1 | -5/+12 |
| | | | | | | |||||
* | | | | | | TIP #544 implementation. Documentation still missing. | jan.nijtmans | 2019-05-15 | 1 | -6/+5 |
| |_|_|_|/ |/| | | | |