summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.5jan.nijtmans2019-08-201-10/+11
|\
| * Don't use ".." in Windows paths during build. Taken from Tcl ↵jan.nijtmans2019-08-201-10/+12
| | | | | | | | [https://core.tcl-lang.org/tcl/info/40d5ff2a0ee78099|40d5ff2a0e]
* | Fix typo in a comment in tkWinFont.c. Thanks to C. Chavezfvogel2019-08-111-1/+1
| |
* | Only free "patterns" once, not each time inside the loop. That might crash ↵jan.nijtmans2019-07-301-39/+41
| | | | | | | | with long filters.
* | Fix [1fb7af623a]: Support for buttons 4 and 5 is missing for Windows. Patch ↵fvogel2019-07-212-0/+23
| | | | | | | | from Christopher Chavez
* | Fix [ea3db67ddf]: Fix spelling in comment of tkWinX.c (from C. Chavez)fvogel2019-07-201-1/+1
| |
* | Fix [f3c5467f07]: various spelling fixes (from Christopher Chavez)fvogel2019-07-023-4/+4
| |
* | Don't use "struct ThreadSpecificData", while the type name ↵jan.nijtmans2019-07-029-9/+9
| | | | | | | | "ThreadSpecificData" is already sufficient.
* | If encoding "utf-16" exists, use it in preference to "unicode", which is ↵jan.nijtmans2019-06-281-1/+4
|\ \ | | | | | | | | | deprecated since TIP #547.
| * | Use available "ucs2-be" encoding on X11 and "utf-16" encoding on Win32, if ↵jan.nijtmans2019-06-191-1/+4
| | | | | | | | | | | | provided by Tcl (TIP #547). If Tcl doesn't provide those encodings, proceed as usual.
* | | Don't use wcslen() in combination with Tcl_WinTCharToUtf(): Using -1 has the ↵jan.nijtmans2019-06-202-2/+2
|/ / | | | | | | same effect already (it even was wrong in tkWinTest.c's previous commit, forgot to multiply with sizeof(WCHAR)).
* | Don't re-reference encoding "unicode", when we can re-use the encoding.jan.nijtmans2019-06-192-5/+2
| |
* | Fix [eb29967e88]: Add horizontal scrolling support for Windows. Patch from ↵fvogel2019-05-181-13/+63
|\ \ | | | | | | | | | Christopher Chavez.
| * | Fix [eb29967e88]: Add horizontal scrolling support for Windows. Patch from ↵fvogel2019-04-291-13/+63
| | | | | | | | | | | | Christopher Chavez.
* | | Fix [4f9a99e20b]: crash when specifying wrong -syssize option in ttk::style ↵fvogel2019-04-301-1/+1
|/ / | | | | | | element create ... vsapi
* | *Really* don't change the behavior for *buttons, even with they have ↵fvogel2019-03-311-3/+4
| | | | | | | | -default active
* | Restore behavior of checkbuttons and radiobuttons on Windows. They again do ↵fvogel2019-03-311-2/+5
| | | | | | | | not take -highlightbackground into account, in an attempt to follow platform specific conventions. The code now only changes this for labels.
* | Make labels, checkbuttons and radiobuttons honor -highlightbackground and ↵fvogel2019-03-311-5/+11
| | | | | | | | -highlightcolor options on Windows.
* | Add calls to TkpInitKeymapInfo() during initialization. Taken from extended ↵jan.nijtmans2019-03-291-0/+5
| | | | | | | | bind patch.
* | Slightly better: Don't use Tcl_UniCharLen() but wcslen().jan.nijtmans2019-03-221-2/+3
| |
* | Bugfix in tkWinClipboard: Failed to determine fname length in loop.jan.nijtmans2019-03-222-2/+3
| |
* | More use of Tcl_WinTCharToUtf() in stead of Tcl_UniCharToUtfDString(), ↵jan.nijtmans2019-03-193-9/+5
| | | | | | | | making Tk less sensitive to the value of TCL_UTF_MAX (either 3, 4, or 6)
* | Make Tk run on win32/win64 using -DTCL_UTF_MAX=6. Adapted from androwish.jan.nijtmans2019-03-153-26/+50
| |
* | Copy PDBs to installation if option PDBS is given during installapnadkarni2019-03-061-0/+8
| |
* | Make it be an error to create a transient/master cycle on Windows.culler2019-03-011-8/+12
| |
* | Fix the build for MSVCfvogel2019-02-081-1/+1
|\ \
| * | Fix the build for MSVCfvogel2019-02-081-1/+1
| | |
* | | Fix bug [58665b91dd]: many unixEmbed tests fail.culler2019-02-071-0/+9
|\ \ \ | |/ /
| * | Also change tkWinEmbed.c to match the change in tkUnixEmbed.c, for consistency.culler2019-02-071-0/+9
| | |
* | | TIP #533 (Extension of the menu post command) implementation was accepted by ↵fvogel2019-02-021-6/+106
|\ \ \ | |/ / |/| | | | | TCT vote. This allows fixing of bug [70e531918e]: geometry issues with menubuttons on macOS.
| * | Use TkGetMenuIndex to parse the index argument to the post command.culler2019-01-151-11/+11
| | |
| * | Add TkpPostTearoffMenu, called by TkPostTearoffMenu and used in the menu postculler2019-01-131-0/+94
| | | | | | | | | command; eliminates #ifdef in the generic code.
| * | Fix related menubutton issues on linux and Windows.culler2019-01-111-6/+12
| | |
* | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-1011-24/+28
|\ \ \ | |/ / |/| | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing.
| | |
| | \
| *-. \ Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-0817-78/+83
| |\ \ \ | |/ / / |/| | / | | |/
| | * Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-087-10/+15
| | |\ | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing.
| | | * Bring back more original "None" usages, and fix other warnings which ↵jan.nijtmans2019-01-0316-74/+80
| | | | | | | | | | | | | | | | | | | | gradually slipped in. Wherever possible, pragma's are used in MSVC to silence useless compiler warnings.
| * | | As requested by Christian Werner/François Vogel and others: Undo many None ↵jan.nijtmans2018-12-311-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected.
| | * | As requested by Christian Werner/François Vogel and others: Undo many None ↵jan.nijtmans2018-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected.
| * | | Merge 8.5. Undo previous introduced ***POTENTIAL INCOMPATIBLITY*** on win32jan.nijtmans2018-12-261-5/+0
| |\ \ \ | | |/ /
| | * | Change None/ControlMask on win32 (and MacOSX - which is harmless) to being ↵jan.nijtmans2018-12-261-5/+0
| | | | | | | | | | | | | | | | an enum. This fixes (hopefully) the ***POTENTIAL INCOMPATABILITY*** in previous commit
| * | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols jan.nijtmans2018-12-2018-73/+78
| |\ \ \ | | |/ / | | | | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before
| | * | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2018-12-2017-69/+74
| | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings.
* | | | Merge 8.5jan.nijtmans2019-01-042-5/+6
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Fix a few minor compiler warnings, occurring in later gcc/clang versions.jan.nijtmans2019-01-043-6/+7
| |/
* | Make a difference in the error message between the case where the clipboard ↵fvogel2018-11-161-2/+7
| | | | | | | | is not available (because some other application grabbed it), and the case where the clipboard content cannot be retrieved.
* | Bump version numbers for release.dgp2018-10-092-2/+2
| |
* | Fix [9658bc800c]: Several display issues with menu items, more easily seen ↵fvogel2018-10-061-4/+14
|\ \ | | | | | | | | | whenborderwidth != activeborderwidth and when these values are larger than usually.
| * | Fix drawing of the tearoff entryfvogel2018-09-291-1/+1
| | |
| * | Guard against negative widths for the indicator of menu entries, that could ↵fvogel2018-09-291-0/+10
| | | | | | | | | | | | be obtained with larger -borderwidth value. This had no impact given how the geometry calculation algorithm is made, but... (belt and suspenders).