Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2023-03-07 | 1 | -2/+2 |
|\ | |||||
| * | Fix a few -Wconversion warnings | jan.nijtmans | 2023-03-07 | 1 | -4/+4 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2022-02-18 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Eliminate aarch64-w64-mingw32-clang warning | jan.nijtmans | 2022-02-18 | 1 | -1/+3 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2022-02-07 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | See [https://github.com/tcltk/tcl/pull/10] | jan.nijtmans | 2022-02-04 | 1 | -3/+3 |
| | | |||||
| * | Make sure that "Windows NT" is the only supported Windows platform. On ↵ | jan.nijtmans | 2020-04-03 | 1 | -20/+9 |
| | | | | | | | | Windows CE, no chance that Tcl 8.6 will ever run .... Windows XP is the minimum now. | ||||
* | | Simplifications when assuming VS 2015 or later | jan.nijtmans | 2020-12-17 | 1 | -8/+0 |
| | | |||||
* | | TIP #592 implementation: Stop support for Windows XP, Server 2003, Vista, ↵ | jan.nijtmans | 2020-12-16 | 1 | -3/+3 |
| | | | | | | | | Server 2008 | ||||
* | | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵ | jan.nijtmans | 2020-12-08 | 1 | -2/+2 |
| | | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet | ||||
* | | Merge 8.6 | jan.nijtmans | 2020-03-31 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Remove MODULE_SCOPE function TclpSetInterfaces(), which is just empty. | jan.nijtmans | 2020-03-31 | 1 | -25/+4 |
| | | | | | | Increase size of MSG structure in Cygwin Notifier: Should conform with Win32 size. Some related code cleanup. | ||||
* | | Merge 8.6 | jan.nijtmans | 2020-03-22 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Even more uppercase HEX representations in source-code | jan.nijtmans | 2020-03-22 | 1 | -4/+4 |
| | | |||||
* | | TCL_UNUSED for win sources. | dgp | 2020-03-09 | 1 | -4/+2 |
| | | |||||
* | | Merge 8.7 | jan.nijtmans | 2019-09-19 | 1 | -6/+6 |
|\ \ | |||||
| * \ | Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵ | jan.nijtmans | 2019-09-19 | 1 | -6/+6 |
| |\ \ | | |/ | | | | | | | -DUNICODE) | ||||
| | * | TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵ | jan.nijtmans | 2019-09-18 | 1 | -22/+24 |
| | | | | | | | | | | | | we are impicitly compiling with -DUNICODE | ||||
| | * | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵ | jan.nijtmans | 2019-03-02 | 1 | -0/+4 |
| | | | | | | | | | | | | conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. | ||||
| | * | Fix some comments: "upper" -> "high" (when talking about surrogates) | jan.nijtmans | 2019-02-19 | 1 | -2/+2 |
| | | | |||||
* | | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵ | jan.nijtmans | 2019-09-05 | 1 | -0/+2 |
|\ \ \ | |/ / | | | | | | | Windows) without -Wunused-parameters warnings | ||||
| * | | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵ | jan.nijtmans | 2019-08-03 | 1 | -2/+2 |
| | | | | | | | | | | | | the same, but more consistent. | ||||
* | | | Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵ | jan.nijtmans | 2019-08-03 | 1 | -14/+6 |
|\ \ \ | |/ / | | | | | | | | | | c++) Als finish implementaton for MacOSX | ||||
| * | | Merge 8.7. Documentation improvements and code cleanup. Approaching finish. | jan.nijtmans | 2019-08-01 | 1 | -6/+0 |
| |\ \ | |||||
| * | | | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵ | jan.nijtmans | 2019-07-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | intuitive because they represent wchar_t and char16_t (since C++11) types in modern compilers. | ||||
| * | | | Merge 8.7, and a few tweaks: Only provide Tcl_WinUtfToTChar on Tcl 8.x, not ↵ | jan.nijtmans | 2019-07-07 | 1 | -1/+1 |
| |\ \ \ | | |/ / | | | | | | | | | on 9.0 any more | ||||
| * | | | Improvement: always export both 16-bit and 32-bit UTF function | jan.nijtmans | 2019-07-05 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge 8.7 | jan.nijtmans | 2019-06-29 | 1 | -2/+2 |
| |\ \ \ | | |/ / | |||||
| * | | | Code cleanup for Tcl_WinUtfToTChar/Tcl_WinTCharToUtf. Tested with Tk now. | jan.nijtmans | 2019-06-27 | 1 | -4/+1 |
| | | | | |||||
| * | | | Add compatibility macro's for Tcl_WinUtfToTChar/Tcl_WinTCharToUtf | jan.nijtmans | 2019-06-26 | 1 | -1/+2 |
| | | | | |||||
| * | | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵ | jan.nijtmans | 2019-06-03 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | more flexible replacement functions | ||||
* | | | | Merge 8.7. Continue implementation for win32 | jan.nijtmans | 2019-08-02 | 1 | -5/+5 |
| |/ / |/| | | |||||
* | | | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵ | jan.nijtmans | 2019-06-29 | 1 | -2/+2 |
|/ / | | | | | | | always compile in UNICODE mode. | ||||
* | | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NT | jan.nijtmans | 2019-03-11 | 1 | -12/+12 |
| | | |||||
* | | re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 ↵ | jan.nijtmans | 2019-03-10 | 1 | -96/+4 |
| | | | | | | | | new utility functions. This allows to re-use code in more places: cleaner implementation more future-proof. | ||||
* | | Minor optimizations | jan.nijtmans | 2019-02-19 | 1 | -2/+6 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2018-11-15 | 1 | -2/+90 |
|\ \ | |/ | |||||
| * | Make Tcl_WinTCharToUtf/Tcl_WinUtfToTChar work (again) with TCL_UTF_MAX=6. ↵ | jan.nijtmans | 2018-11-15 | 1 | -2/+90 |
| | | | | | | | | No effect when TCL_UTF_MAX=3|4 | ||||
* | | Merge 8.6 | jan.nijtmans | 2018-10-08 | 1 | -5/+5 |
|\ \ | |/ | | | | | Also fix startup problems on win32, when the encoding path contains invalid UTF-8 (reported by François Vogel) Various other code cleanup, e.g. remove empty.zip file, as this didn't work quite as expected. | ||||
| * | Streamline: Tcl_WinTCharToUtf/Tcl_WinUtfToTChar(): Always initialize ↵ | jan.nijtmans | 2018-10-07 | 1 | -4/+10 |
| | | | | | | | | DString, and let it return NULL when imput is NULL. That's what seem to assume the callers. | ||||
* | | protect Tcl_WinUtfToTChar/Tcl_WinTCharToUtf against NULL input values: ↵ | jan.nijtmans | 2018-10-06 | 1 | -1/+7 |
| | | | | | | | | | | return empty string in that case. Add TIP #494-compatible definitions of TCL_IO_FAILURE/TCL_AUTO_LENGTH, and use it in some appropriate places. | ||||
* | | Merge 8.6 | jan.nijtmans | 2018-10-05 | 1 | -45/+4 |
|\ \ | |/ | |||||
| * | Better implementations of Tcl_WinTCharToUtf() and Tcl_WinUtfToTChar(). They ↵ | jan.nijtmans | 2018-10-05 | 1 | -49/+4 |
| | | | | | | | | don't make any assumption on whether encodings are initialized, or specific win32 handling of special characters. | ||||
* | | More fixes in Tcl_WinTChar2Utf: Don't restart loop when output contains ↵ | jan.nijtmans | 2018-09-24 | 1 | -9/+9 |
| | | | | | | | | null-byte. | ||||
* | | Handle the (unlikely) case that Tcl_DStringSetLength() results in a ↵ | jan.nijtmans | 2018-09-22 | 1 | -0/+1 |
| | | | | | | | | re-allocation of the buffer | ||||
* | | Prevent possible build order problem, due to missing dde/registry dll's. | jan.nijtmans | 2018-09-22 | 1 | -4/+13 |
| | | | | | | Make sure that Tcl_WinTChar2Utf() never produces intermediate null-bytes. | ||||
* | | Fix test-case registry-6.20, which started failing starting with the TIP ↵ | jan.nijtmans | 2018-09-13 | 1 | -2/+16 |
| | | | | | | | | #389 commit. | ||||
* | | merge 8.6 | sebres | 2018-07-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | win: avoids warning by x64-build in function 'TclWinCPUID' - pointer targets ↵ | sebres | 2018-07-20 | 1 | -1/+1 |
| | | | | | | | | in passing argument 1 of '__cpuid' differ in signedness [-Wpointer-sign] (int* vs unsigned int*) | ||||
* | | Re-implement Tcl_WinTCharToUtf/Tcl_WinUtfToTChar in pure win32 api, even for ↵ | jan.nijtmans | 2018-01-10 | 1 | -74/+2 |
| | | | | | | | | TCL_UTF_MAX=3. We can do that now safely, because of the changed handling of valid 4-byte UTF-8 characters in the previous commit. |