summaryrefslogtreecommitdiffstats
path: root/win/tclWin32Dll.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2023-03-071-2/+2
|\
| * Fix a few -Wconversion warningsjan.nijtmans2023-03-071-4/+4
| |
* | Merge 8.6jan.nijtmans2022-02-181-0/+2
|\ \ | |/
| * Eliminate aarch64-w64-mingw32-clang warningjan.nijtmans2022-02-181-1/+3
| |
* | Merge 8.6jan.nijtmans2022-02-071-3/+3
|\ \ | |/
| * See [https://github.com/tcltk/tcl/pull/10]jan.nijtmans2022-02-041-3/+3
| |
| * Make sure that "Windows NT" is the only supported Windows platform. On ↵jan.nijtmans2020-04-031-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 laterjan.nijtmans2020-12-171-8/+0
| |
* | TIP #592 implementation: Stop support for Windows XP, Server 2003, Vista, ↵jan.nijtmans2020-12-161-3/+3
| | | | | | | | Server 2008
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-2/+2
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | Merge 8.6jan.nijtmans2020-03-311-1/+1
|\ \ | |/
| * Remove MODULE_SCOPE function TclpSetInterfaces(), which is just empty. jan.nijtmans2020-03-311-25/+4
| | | | | | Increase size of MSG structure in Cygwin Notifier: Should conform with Win32 size. Some related code cleanup.
* | Merge 8.6jan.nijtmans2020-03-221-4/+4
|\ \ | |/
| * Even more uppercase HEX representations in source-codejan.nijtmans2020-03-221-4/+4
| |
* | TCL_UNUSED for win sources.dgp2020-03-091-4/+2
| |
* | Merge 8.7jan.nijtmans2019-09-191-6/+6
|\ \
| * \ Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without ↵jan.nijtmans2019-09-191-6/+6
| |\ \ | | |/ | | | | | | -DUNICODE)
| | * TCHAR -> WCHAR converions (and corresponding Win32 API call changes), since ↵jan.nijtmans2019-09-181-22/+24
| | | | | | | | | | | | we are impicitly compiling with -DUNICODE
| | * Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵jan.nijtmans2019-03-021-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.nijtmans2019-02-191-2/+2
| | |
* | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-0/+2
|\ \ \ | |/ / | | | | | | Windows) without -Wunused-parameters warnings
| * | Use *WChar* in stead of *Char16* functions on Windows, always. It's actually ↵jan.nijtmans2019-08-031-2/+2
| | | | | | | | | | | | the same, but more consistent.
* | | Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵jan.nijtmans2019-08-031-14/+6
|\ \ \ | |/ / | | | | | | | | | c++) Als finish implementaton for MacOSX
| * | Merge 8.7. Documentation improvements and code cleanup. Approaching finish.jan.nijtmans2019-08-011-6/+0
| |\ \
| * | | Rename UTF-related functions to "WChar" and "Char16" variants, more ↵jan.nijtmans2019-07-111-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.nijtmans2019-07-071-1/+1
| |\ \ \ | | |/ / | | | | | | | | on 9.0 any more
| * | | Improvement: always export both 16-bit and 32-bit UTF functionjan.nijtmans2019-07-051-2/+2
| | | |
| * | | Merge 8.7jan.nijtmans2019-06-291-2/+2
| |\ \ \ | | |/ /
| * | | Code cleanup for Tcl_WinUtfToTChar/Tcl_WinTCharToUtf. Tested with Tk now.jan.nijtmans2019-06-271-4/+1
| | | |
| * | | Add compatibility macro's for Tcl_WinUtfToTChar/Tcl_WinTCharToUtfjan.nijtmans2019-06-261-1/+2
| | | |
| * | | TIP #548: Deprecate Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf() and provide ↵jan.nijtmans2019-06-031-5/+5
| | | | | | | | | | | | | | | | more flexible replacement functions
* | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-5/+5
| |/ / |/| |
* | | Code cleanup, like TCHAR -> WCHAR and TEXT("xxx") -> L"xxx", since we ↵jan.nijtmans2019-06-291-2/+2
|/ / | | | | | | always compile in UNICODE mode.
* | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NTjan.nijtmans2019-03-111-12/+12
| |
* | re-implemente changes in win/tclWinFile.c (handling -DTCL_UTF_MAX=6) using 3 ↵jan.nijtmans2019-03-101-96/+4
| | | | | | | | new utility functions. This allows to re-use code in more places: cleaner implementation more future-proof.
* | Minor optimizationsjan.nijtmans2019-02-191-2/+6
| |
* | Merge 8.6jan.nijtmans2018-11-151-2/+90
|\ \ | |/
| * Make Tcl_WinTCharToUtf/Tcl_WinUtfToTChar work (again) with TCL_UTF_MAX=6. ↵jan.nijtmans2018-11-151-2/+90
| | | | | | | | No effect when TCL_UTF_MAX=3|4
* | Merge 8.6 jan.nijtmans2018-10-081-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.nijtmans2018-10-071-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.nijtmans2018-10-061-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.6jan.nijtmans2018-10-051-45/+4
|\ \ | |/
| * Better implementations of Tcl_WinTCharToUtf() and Tcl_WinUtfToTChar(). They ↵jan.nijtmans2018-10-051-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.nijtmans2018-09-241-9/+9
| | | | | | | | null-byte.
* | Handle the (unlikely) case that Tcl_DStringSetLength() results in a ↵jan.nijtmans2018-09-221-0/+1
| | | | | | | | re-allocation of the buffer
* | Prevent possible build order problem, due to missing dde/registry dll's.jan.nijtmans2018-09-221-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.nijtmans2018-09-131-2/+16
| | | | | | | | #389 commit.
* | merge 8.6sebres2018-07-201-1/+1
|\ \ | |/
| * win: avoids warning by x64-build in function 'TclWinCPUID' - pointer targets ↵sebres2018-07-201-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.nijtmans2018-01-101-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.