summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix first part of [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX ↵jan.nijtmans2020-05-011-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.nijtmans2020-03-151-3/+6
| | | | | | | | in Tcl 8.7.
* | Fix corner-case in TIP #542 implementation: For extensions compiled with ↵jan.nijtmans2020-04-211-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.nijtmans2020-03-021-3/+2
| | | | | | | | entry is deprecated. Will be replaced by macro.
* | Implement TIP #562: Deprecate channel types 1-4jan.nijtmans2020-02-281-6/+14
|\ \
| * | Oopseejan.nijtmans2020-02-021-1/+1
| | |
| * | Deprecate Tcl_Close() stub entry as welljan.nijtmans2020-02-021-14/+20
| |\ \
| * | | Make Tcl_ChannelCloseProc() deprecated too. Implement close2Proc and ↵jan.nijtmans2020-01-311-2/+3
| | | | | | | | | | | | | | | | wideSeekProc for all internal channel types.
| * | | Merge 8.7jan.nijtmans2020-01-301-5/+0
| |\ \ \
| * | | | Deprecate channel types 1-4jan.nijtmans2020-01-291-2/+8
| |/ / /
* | | | Merge 8.7jan.nijtmans2020-02-131-25/+46
|\ \ \ \ | | |/ / | |/| |
| * | | Fix conflict between (unpatched) tommath.h and tcl.h. See also ↵jan.nijtmans2020-02-021-12/+12
| |\ \ \ | | |/ / | |/| | | | | | [https://github.com/libtom/libtommath/pull/473]
| | * | Attempt to resolve a conflict between (unmodified) tommath.h and tcl.h in ↵jan.nijtmans2020-01-131-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.nijtmans2020-01-251-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 559dgp2020-01-241-2/+3
| |\ \ \
| | * | | Implement TIP 559 (deprecation part).dgp2020-01-131-2/+3
| | |/ /
| * | | Don't deprecate Tcl_NewUnicodeObj/Tcl_SetUnicodeObj/Tcl_GetUnicodeFromObj, ↵jan.nijtmans2020-01-201-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.7jan.nijtmans2020-01-071-2/+2
| |\ \ \ | | |/ /
| * | | Merge 8.7jan.nijtmans2019-11-151-4/+4
| |\ \ \
| * \ \ \ Merge 8.7jan.nijtmans2019-10-021-1/+0
| |\ \ \ \
| * \ \ \ \ Merge branch tip-548. No longer define addtional stub-entries for functions ↵jan.nijtmans2019-08-121-60/+41
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | that will be removed (because of deprecation) anyway
| * \ \ \ \ \ Merge tip-548jan.nijtmans2019-08-021-0/+10
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge tip-548jan.nijtmans2019-08-011-15/+15
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge tip-547jan.nijtmans2019-05-311-3/+6
| |\ \ \ \ \ \ \ \
| * | | | | | | | | More simplifications, taking deprecations into accountjan.nijtmans2019-05-221-37/+16
| | | | | | | | | |
| * | | | | | | | | More WIP: eliminate all usage of (platform-specific) ↵jan.nijtmans2019-05-221-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.7jan.nijtmans2019-05-171-31/+34
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ merge 8.7jan.nijtmans2019-05-101-34/+43
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / /
| * | | | | | | | | | Merge 8.7jan.nijtmans2019-03-281-2/+5
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Add 4 new encodings, and add documentation.jan.nijtmans2019-03-181-44/+44
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | More WIP. Seems to be *almost* working.jan.nijtmans2019-03-171-49/+103
| | | | | | | | | | | | |
| * | | | | | | | | | | | Merge 8.7jan.nijtmans2019-03-161-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.nijtmans2019-03-121-11/+28
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | planned)
* | | | | | | | | | | | Merge 8.7jan.nijtmans2020-01-071-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | |
| * | | | | | | | | | | Merge 8.6jan.nijtmans2020-01-061-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | / | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | |
| | * | | | | | | | | Fix documentation, comments, and argument names of Tcl_TransferResult().dgp2020-01-051-2/+2
| | | | | | | | | | |
| | * | | | | | | | | Merge 8.5jan.nijtmans2019-10-151-0/+58
| | |\ \ \ \ \ \ \ \ \
| | | * | | | | | | | | Add more dummy stub-entries, filled with NULL. Stub table size corresponds ↵jan.nijtmans2019-10-151-3/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with stub table size for 8.7, encountering NULL entries is better than accessing outside of array bounds.
* | | | | | | | | | | | Merge 8.7jan.nijtmans2019-12-031-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Backout [b5c1404365f53fe0], removing TclFreeObj() is a step too far for 8.7jan.nijtmans2019-11-151-4/+4
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
* | | | | | | | | | | Merge 8.7jan.nijtmans2019-10-011-1/+0
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / /
| * | | | | | | | | | Fix correct export on win32 for TclZipfs_AppHook, when not building with ↵jan.nijtmans2019-09-291-1/+0
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | -DUNICODE
* | | | | | | | | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-3/+3
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows) without -Wunused-parameters warnings
* | | | | | | | | Spread out definitions of Tcl_*WChar* functions over multiple lines, making ↵jan.nijtmans2019-08-021-6/+18
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | it more readable.
* | | | | | | | Merge core-8-branch. Use tclWinDde.c and tclWinReg.c to show how the *WChar* ↵jan.nijtmans2019-08-021-4/+4
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | / | |_|_|_|_|_|/ |/| | | | | | functions could be used in Win32 extensions.
* | | | | | | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵jan.nijtmans2019-07-111-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 functionjan.nijtmans2019-07-051-21/+28
| | | | | | |
* | | | | | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵jan.nijtmans2019-06-031-8/+29
|/ / / / / / | | | | | | | | | | | | | | | | | | more flexible replacement functions
* | | | | | Add documentation, don't overwrite earlier stub entry!jan.nijtmans2019-05-151-5/+12
| | | | | |
* | | | | | TIP #544 implementation. Documentation still missing.jan.nijtmans2019-05-151-6/+5
| |_|_|_|/ |/| | | |