Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History of file win/tkWinMenu.c at check-in 66705d8bf5575141
2025-06-26
| ||
12:39 | Use (char *)NULL sentinels file: [ef307065] check-in: [9e69dcb1] user: jan.nijtmans branch: main, size: 100006 | |
2024-12-22
| ||
12:58 | Merge 9.0 file: [8ce7f343] check-in: [f2d11f65] user: jan.nijtmans branch: tip-626, size: 99998 | |
2024-12-19
| ||
11:58 | (cherry-pick): Fix [844c0be72d]: Menu entry underline does not consider activeborderwidth. file: [6261e94c] check-in: [9eb91f76] user: jan.nijtmans branch: core-8-6-branch, size: 99535 | |
2024-12-18
| ||
14:38 | (cherry-pick): Fix [844c0be72d]: Menu entry underline does not consider activeborderwidth. file: [7cf65240] check-in: [4c07c6cb] user: jan.nijtmans branch: core-8-branch, size: 99973 | |
2024-12-16
| ||
21:46 | Add cosmetic space. file: [03ddd398] check-in: [5bd2622d] user: fvogel branch: bug-844c0be72d, size: 99991 | |
21:34 | Fix [844c0be72d]: Menu entry underline does not consider activeborderwidth. file: [569e38a3] check-in: [088283d0] user: fvogel branch: bug-844c0be72d, size: 99990 | |
2024-12-08
| ||
18:06 | Merge 9.0 file: [8b3ca2aa] check-in: [b7cffc0c] user: jan.nijtmans branch: tip-626, size: 99854 | |
2024-12-06
| ||
11:24 | 2 typo's file: [bc82d793] check-in: [60545daf] user: jan.nijtmans branch: main, size: 99847 | |
11:09 | Unbreak windows build. 2 typo's file: [1d7bd444] check-in: [d7f8fc34] user: jan.nijtmans branch: core-8-branch, size: 99829 | |
2024-12-05
| ||
13:56 | Backport indenting from Tk 9.0 file: [ba2adeca] check-in: [cc0f7053] user: jan.nijtmans branch: core-8-branch, size: 99838 | |
2024-11-07
| ||
21:03 | Merge 9.0 file: [b1df45d2] check-in: [2ae8dab6] user: jan.nijtmans branch: tip-626, size: 99855 | |
2024-11-05
| ||
21:55 | Remove spaces before tabs file: [def19fca] check-in: [20bbfd34] user: jan.nijtmans branch: main, size: 99848 | |
12:36 | Revert some *.h changes which should be kept. Formatting. file: [4c7a95f2] check-in: [136931df] user: jan.nijtmans branch: cgimage_with_crossing, size: 100075 | |
2024-10-25
| ||
21:06 | Merge 9.0 file: [a6ab478d] check-in: [80c3d5e4] user: jan.nijtmans branch: tip-626, size: 100100 | |
2024-10-02
| ||
09:27 | Unbreak Windows build file: [3117fe7b] check-in: [9f0ed188] user: jan.nijtmans branch: main, size: 100093 | |
09:25 | Unbreak Windows build file: [bd686a58] check-in: [40b10c5e] user: jan.nijtmans branch: core-8-branch, size: 100074 | |
2024-10-01
| ||
20:40 | Fix [f91aa24bbe] for "menubutton". Simplify -activerelief for "menu" file: [f05c615f] check-in: [9b61a8a1] user: jan.nijtmans branch: main, size: 100094 | |
2024-09-30
| ||
21:16 | Finish for "menubutton". Simplify -activerelief for "menu" file: [fe982280] check-in: [92079294] user: jan.nijtmans branch: bug-f91aa24bbe, size: 100075 | |
2024-08-09
| ||
09:43 | Rebase to latest 9.0. Some more fixes (still ... spinbox test hangs in Windows) file: [be550df0] check-in: [a0437e45] user: jan.nijtmans branch: bug-29ba539501, size: 100123 | |
2024-08-07
| ||
16:54 | Tweak some error-messages. Fix indenting file: [cf600d71] check-in: [9e3a8a83] user: jan.nijtmans branch: main, size: 100123 | |
2024-07-22
| ||
12:28 | Ticket [2d3a81c0] MS-Win: segfault on menubutton destroy: merge fix branch file: [3457781a] check-in: [68d89887] user: oehhar branch: main, size: 100122 | |
12:25 | Ticket [2d3a81c0] MS-Win: segfault on menubutton destroy: merge fix branch file: [cc43bb47] check-in: [6c5b6b9a] user: oehhar branch: core-8-branch, size: 100104 | |
2024-07-18
| ||
08:11 | Comments changed file: [c317f266] check-in: [7623fa7d] user: oehhar branch: ticket-2d3a81c0-menubutton-destroy-segfault, size: 100003 | |
08:07 | Ticket [2d3a81c0] menubutton destroy segfault: preserve menu pointer in tkWinMenu.c, not in tkMenu.c, as for MacOS. file: [a0c30787] check-in: [c08e58fc] user: oehhar branch: ticket-2d3a81c0-menubutton-destroy-segfault, size: 100173 | |
2024-07-11
| ||
12:22 | Make "entry" work. No test failures any more. Many renamings of fields (*Ptr -> *Obj) file: [ca6b2f24] check-in: [3537f344] user: jan.nijtmans branch: bug-29ba539501, size: 100067 | |
2024-07-08
| ||
20:24 | 0439e1e1a3 can't -> cannot in all error-messages file: [c2bda833] check-in: [90e6962b] user: jan.nijtmans branch: bug-0439e1e1a3, size: 100068 | |
2024-06-24
| ||
21:50 | Merge 9.0 file: [24748e83] check-in: [140f00bb] user: jan.nijtmans branch: tip-626, size: 100074 | |
2024-06-17
| ||
13:21 | Merge 8.7 file: [55233480] check-in: [f7db4a64] user: jan.nijtmans branch: main, size: 100067 | |
13:02 | Move scrollbar sanity checks from platform-code to generic. Fix indenting in win/* files file: [6ffd8878] check-in: [0970c95e] user: jan.nijtmans branch: core-8-branch, size: 100049 | |
2024-03-14
| ||
08:32 | Better approach, using "Tk" prefix for UTF-32 versions of API file: [1e92719d] check-in: [7355f80a] user: jan.nijtmans branch: bug-53fdb87e49, size: 100189 | |
2024-03-07
| ||
08:13 | Merge 9.0 file: [a6f71d4a] check-in: [3a1c6393] user: jan.nijtmans branch: tip-626, size: 100214 | |
2024-02-19
| ||
12:36 | Merge 8.7 file: [0035730c] check-in: [1aeab0c8] user: jan.nijtmans branch: main, size: 100207 | |
11:45 | Use Tcl_ObjCmdProc(2?) in stead of full signature, where possible file: [8899ea30] check-in: [92ddd156] user: jan.nijtmans branch: core-8-branch, size: 100205 | |
2024-01-30
| ||
20:58 | Merge 9.0 file: [e8a9a705] check-in: [bbec79f5] user: jan.nijtmans branch: tip-626, size: 100293 | |
2023-12-22
| ||
18:45 | Merge 8.7 file: [5b370f50] check-in: [7a619281] user: jan.nijtmans branch: main, size: 100282 | |
09:52 | int -> Tcl_Size in menu handling file: [f62afc06] check-in: [bb926267] user: jan.nijtmans branch: core-8-branch, size: 100280 | |
2023-12-18
| ||
22:19 | Merge 9.0 file: [a3cd5c94] check-in: [a41d9d3a] user: jan.nijtmans branch: tip-626, size: 100432 | |
2023-11-27
| ||
16:16 | Starting work to compile Tk with TCL_UTF_MAX=4 (WIP) file: [0eb9094c] check-in: [2f3bf2de] user: jan.nijtmans branch: utf-max-4, size: 100421 | |
2023-04-25
| ||
20:41 | Merge 8.7 file: [2f4ea40e] check-in: [87929dbf] user: jan.nijtmans branch: tip-626, size: 100430 | |
2023-04-18
| ||
12:47 | Missed more than a few TIP 660 changes. Possibly more to come. file: [0bd23184] check-in: [36944a49] user: apnadkarni branch: tip-660-apn, size: 100419 | |
2023-04-01
| ||
18:25 | Merge 8.7 file: [faeb1a1e] check-in: [2a92fb6c] user: jan.nijtmans branch: tip-626, size: 100448 | |
2023-03-03
| ||
15:18 | -1 -> TCL_INDEX_NONE file: [cf5076db] check-in: [5eec34c3] user: jan.nijtmans branch: main, size: 100437 | |
2023-02-08
| ||
12:14 | Merge 8.7 file: [82422800] check-in: [36f1ce10] user: jan.nijtmans branch: tip-626, size: 100340 | |
2023-02-07
| ||
14:23 | Merge 8.6 (more TCL_UNUSED usage) file: [da32c2ba] check-in: [24854410] user: jan.nijtmans branch: main, size: 100329 | |
14:01 | Use more TCL_UNUSED() macro's in stead of (void) casts file: [8619b1a6] check-in: [55be7321] user: jan.nijtmans branch: core-8-6-branch, size: 99948 | |
2023-01-25
| ||
16:51 | Merge 8.7 file: [5dc6e489] check-in: [b5038f62] user: jan.nijtmans branch: tip-626, size: 100944 | |
2023-01-18
| ||
20:23 | Merge core-8-6-branch: Eradicate uses of sprintf because it triggers deprecation warning on macOS Ventura. Resolve conflicts. Remove sprintf calls specific to the main branch. file: [ed06edbb] check-in: [0680a2f8] user: fvogel branch: main, size: 100933 | |
2023-01-14
| ||
11:10 | Factorise definition of snprintf in tkWinInt.h (MSVC before 2015 didn't know snprintf). file: [b264d76b] check-in: [873b7ee3] user: fvogel branch: death-to-sprintf, size: 100483 | |
2023-01-10
| ||
22:02 | Eradicate uses of sprintf because it triggers deprecation warning on macOS Ventura. Only a single instance left in TkpPrintWindowId() (tkWinWindow.c). file: [66600813] check-in: [af43ac55] user: fvogel branch: death-to-sprintf, size: 100656 | |
2023-01-02
| ||
15:58 | Use more X11 macro's, in stead of accessing fields directly. Mostly backported from 8.7 file: [14b97618] check-in: [7e56dcf1] user: jan.nijtmans branch: core-8-6-branch, size: 100462 | |
2022-11-18
| ||
21:56 | Merge 8.7 file: [c97afb7e] check-in: [94bf286a] user: jan.nijtmans branch: tip-626, size: 100923 | |
2022-11-15
| ||
07:29 | More Xlib.h macro usage file: [ed3d2d4b] check-in: [68acccf0] user: jan.nijtmans branch: x11-update, size: 100912 | |
2022-11-14
| ||
21:52 | Tk changes for TIP #626 file: [e9b5c324] check-in: [e1480b5b] user: jan.nijtmans branch: tip-626, size: 100905 | |
2022-07-31
| ||
20:33 | Merge 8.7 file: [bd2f5ea0] check-in: [fa1d1844] user: jan.nijtmans branch: stub-simplification, size: 100938 | |
2022-06-25
| ||
10:01 | TIP #628 for Tk: Shared 8.7/9.0 build environment file: [1ec8823d] check-in: [192eb542] user: jan.nijtmans branch: tcl8-compat, size: 100894 | |
2022-06-22
| ||
09:57 | Handle crash in handling "update". More WIP file: [c4b8d3e4] check-in: [9f9dac4d] user: jan.nijtmans branch: tip-626, size: 100900 | |
2022-05-03
| ||
09:33 | Experiment: use short enums file: [392f718e] check-in: [8d57c0db] user: jan.nijtmans branch: config-bool-short-enum, size: 100897 | |
2022-04-10
| ||
20:36 | Fix for [dc4c5573a6]: tk_popup entry index not working on unix. Thanks to cjmcdonald. file: [56be8d4a] check-in: [19da9aa1] user: fvogel branch: main, size: 100891 | |
2022-04-02
| ||
20:36 | Propagate the proposed fix to Win and macOS. This is to avoid unneeded differences between platforms, it works with or without this change. file: [4b57713b] check-in: [4dbc20f6] user: fvogel branch: bug-dc4c5573a6, size: 100444 | |
2022-03-22
| ||
08:34 | Merge 8.7. Remove utility functions which should be provided by Tcl file: [e516c275] check-in: [6f815e49] user: jan.nijtmans branch: glyph_indexing_2, size: 100765 | |
2022-03-10
| ||
08:24 | Merge 8.7 file: [cd717a79] check-in: [1b5819d7] user: jan.nijtmans branch: glyph_indexing_2, size: 100777 | |
2021-12-21
| ||
13:02 | TIP #606 implementation. TODO: documentation file: [12beb367] check-in: [7538ed6c] user: jan.nijtmans branch: tip-606, size: 100764 | |
2021-11-07
| ||
23:48 | Merge 8.7 file: [9c2c1582] check-in: [950ce9b0] user: jan.nijtmans branch: stub-simplification, size: 100811 | |
2021-03-24
| ||
16:08 | ::tk::startOfCluster/::tk::endOfCluster are now giving the correct result on ICU 68 (or ICU 64 on XQuarz) file: [58238d5f] check-in: [edad79ca] user: jan.nijtmans branch: glyph_indexing_2, size: 100777 | |
2021-03-23
| ||
16:34 | Merge 8.6 file: [d0a434f7] check-in: [df882603] user: jan.nijtmans branch: main, size: 100764 | |
16:33 | Fix 3 places where Tcl_UtfToUniChar must be used and not TkUtfToUniChar: numChars/charIndex is counting character indexes here; surrogate-pairs count as 2. This can cause a miscount when Emoji are pasted in a Text widget. file: [9f35fbb5] check-in: [cb9a4e3a] user: jan.nijtmans branch: core-8-6-branch, size: 100317 | |
2020-12-11
| ||
08:49 | After TIP #481 reaches Tcl9.0, TkGetStringFromObj() becomes obsolete. This commit shows how. file: [e2fcf30e] check-in: [b5665222] user: jan.nijtmans branch: tip-481, size: 100739 | |
2020-12-09
| ||
15:01 | (c) -> © file: [09f87dff] check-in: [bd978a76] user: jan.nijtmans branch: main, size: 100737 | |
2020-10-28
| ||
14:20 | Fix some C++ comments in ttkWinXPTheme.c (needed for MSVC++ 6.0) Fix some typing errors in code comments. Some eol-spacing elimination file: [183b22be] check-in: [11d0dc84] user: jan.nijtmans branch: core-8-5-branch, size: 95460 | |
2020-10-07
| ||
15:10 | More warnings -Wshadow with C++ compiler. Simplify <KeyPress> -> <Key> file: [bd1a5930] check-in: [38c668de] user: jan.nijtmans branch: trunk, size: 100745 | |
2020-10-02
| ||
08:05 | Merge trunk file: [8f10702d] check-in: [49cdb086] user: jan.nijtmans branch: stub-simplification, size: 100802 | |
2020-09-16
| ||
20:29 | Fix MSVC warning: warning C4018: '<' : signed/unsigned mismatch file: [f866de49] check-in: [a435790c] user: jan.nijtmans branch: trunk, size: 100755 | |
2020-09-15
| ||
21:11 | Fix the build of Tk trunk against Tcl trunk. file: [7644076a] check-in: [6b2c2494] user: fvogel branch: trunk, size: 100737 | |
2020-08-19
| ||
16:42 | Merge 8.7 file: [e247c0c7] check-in: [084d9c5e] user: jan.nijtmans branch: enhanced-index, size: 100746 | |
2020-08-12
| ||
07:40 | Merge 8.6 file: [b34cafee] check-in: [56d04a8b] user: jan.nijtmans branch: trunk, size: 100750 | |
07:24 | Rename (internal) MAASTER_MENU to MAIN_MENU, but keep the original, just to be sure file: [b7f8ac60] check-in: [b1c5b3d6] user: jan.nijtmans branch: core-8-6-branch, size: 100292 | |
2020-08-10
| ||
13:01 | WIP file: [12e3f7cd] check-in: [ca3ea392] user: jan.nijtmans branch: no-master-slave, size: 100286 | |
2020-06-12
| ||
11:50 | More progress, implementing enhanced "-underline" file: [5629a14d] check-in: [bf20e02d] user: jan.nijtmans branch: enhanced-index, size: 100756 | |
2020-05-22
| ||
11:32 | More progress file: [6be65330] check-in: [68e4c6f7] user: jan.nijtmans branch: size-for-sel, size: 100760 | |
2020-05-20
| ||
17:07 | Merge 8.6. Protection done by TkUtfAtIndex() not needed here, because Tcl_UtfAtIndex() in Tcl 8.7 already does that. file: [716c0941] check-in: [bb02803f] user: jan.nijtmans branch: trunk, size: 100761 | |
2020-05-19
| ||
19:44 | Use Glyph indexing in more places (underscoring and canvas text and some more) file: [d4c12817] check-in: [f92e58dc] user: jan.nijtmans branch: bug-a179564826, size: 100296 | |
2020-05-18
| ||
22:01 | Merge 8.6 file: [a2b5d32a] check-in: [2a783500] user: jan.nijtmans branch: bug-a179564826, size: 100298 | |
2020-05-15
| ||
13:08 | Merge 8.6 file: [d3974782] check-in: [c28cfa81] user: jan.nijtmans branch: trunk, size: 100699 | |
12:46 | Fix [a953736b546ce681cbfc]: Potential wrong use of TkKeyEvent. Finally done what's suggested there: Since kePtr->charValuePtr is only used on X11, only do the ckfree(kePtr->charValuePtr) on X11. On Win32, use TkKeyEvent in stead of the non-standard XEvent. On macOS TkKeyEvent is not used, so no change is needed (- MC). file: [21b2f33c] check-in: [7f8bca68] user: jan.nijtmans branch: core-8-6-branch, size: 100236 | |
2020-05-14
| ||
19:11 | More improvements handling characters > U+FFFF as surrogates. Add internal TkUtfPrev(), which handles jumping back over surrogate pairs. file: [787922bd] check-in: [95cf4257] user: jan.nijtmans branch: bug-a179564826, size: 100298 | |
14:35 | First concept cleanup for [d2a10a14a8] (already merged to core-8-6-branch but with a quickfix). This makes TkKeyEvent usable for all platforms, and adds a generic TkWheelEvent. So far, only adapted for X11 and Windows, still has to be modified for MacOS. file: [f05e0b10] check-in: [f0b744c2] user: jan.nijtmans branch: jn-d2a10a14a8, size: 100301 | |
2020-04-03
| ||
13:01 | Merge 8.6 file: [c7e348f6] check-in: [6d1edcce] user: jan.nijtmans branch: trunk, size: 100699 | |
12:53 | Split (internal) TK_THEME_WIN_CLASSIC into two different symbols: TK_THEME_WIN_CLASSIC/TK_THEME_WIN_VISTA file: [33191779] check-in: [a1126ca0] user: jan.nijtmans branch: core-8-6-branch, size: 100236 | |
2020-04-02
| ||
13:51 | Fix [220811] and [220808]: Docs missing for Tk_TranslateWinEvent/Tk_PointerEvent API. Moved functions to tkWinInt.h as MODULE_SCOPE. (Stub entry still kept, as long as not -DTK_NO_DEPRECATED) file: [ba976ca8] check-in: [fcaa0cdc] user: jan.nijtmans branch: trunk, size: 100785 | |
2020-03-29
| ||
12:56 | Fix [655fe2754f]: Tearoff menu labels cut off. file: [5202f920] check-in: [65c5b919] user: fvogel branch: trunk, size: 100783 | |
12:55 | Fix [655fe2754f]: Tearoff menu labels cut off. file: [053c7027] check-in: [92a2d5d6] user: fvogel branch: core-8-6-branch, size: 100322 | |
2020-03-24
| ||
07:56 | Replace all instances of Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar() with Tcl_UniCharToUtfDString()/Tcl_UtfToUniCharDString(), if possible (only for -DTCL_UTF_MAX=3, which is the default and only supported option) Backported, as far as possible, from 8.7. This helps moving away from Tcl_WinTCharToUtf()/Tcl_WinUtfToTChar(), even though it only becomes deprecated in 8.7. file: [2baae561] check-in: [c00fb54a] user: jan.nijtmans branch: core-8-6-branch, size: 99713 | |
2020-03-14
| ||
22:05 | Fix another buglet: The arrow of a cascade menu item is only drawn on Windows if this cascade item really has a submenu attached to it (the fact this item is of cascade type is not enough to display the arrow). Mimic this behavior (of the platform native widget when in a normal menu) in torn-off menues. file: [819ee4e0] check-in: [9757835e] user: fvogel branch: bug-655fe2754f, size: 99270 | |
21:39 | Fix [655fe2754f]: Tearoff menu labels cut off file: [ada21a07] check-in: [0865dcf8] user: fvogel branch: bug-655fe2754f, size: 98988 | |
2020-03-10
| ||
10:57 | Fix many gcc(-9) warnings, backported from trunk. Add dummy X11 stub entries, marking entries added in Tk 8.6 and Tk 8.7. file: [c6309484] check-in: [3b4608fd] user: jan.nijtmans branch: core-8-5-branch, size: 95461 | |
2020-02-05
| ||
16:31 | Merge trunk file: [ae48d6e2] check-in: [df9288e5] user: jan.nijtmans branch: cplusplus, size: 100174 | |
13:45 | (cherry-pick): Don't panic for "Wild GenericEvent"'s: Just filter out all events Tk doesn't know about. (cherry-pick): Protect better against possible confusion between XGenericEvent's and (Tcl-specific) XVirtualEvent's: If "name" == NULL, assume it's a XGenericEvent, so don't crash on that just ignore. Also don't use "virtual" as variable name. file: [3124a706] check-in: [9143fad1] user: jan.nijtmans branch: core-8-6-branch, size: 98661 | |
13:32 | Protect better against possible confusion between XGenericEvent's and (Tcl-specific) XVirtualEvent's: If "name" == NULL, assume it's a XGenericEvent, so don't crash on that just ignore. Also don't use "virtual" as variable name. file: [50664d33] check-in: [4d9a821b] user: jan.nijtmans branch: trunk, size: 99085 | |
2019-12-20
| ||
10:41 | Much more WIP: Appears to be working on UNIX, and for a bit part on Windows too. file: [705105fc] check-in: [b539c385] user: jan.nijtmans branch: cplusplus, size: 100039 | |
2019-12-16
| ||
16:33 | Merge 8.7. More WIP. file: [fbcbfa16] check-in: [ec625234] user: jan.nijtmans branch: cplusplus, size: 99048 | |
2019-09-24
| ||
11:52 | Add type-casts to many usage of Tcl_WinTCharToUtf(), so Tk compiles without warnings when omitting -DUNICODE. file: [4fc250b1] check-in: [23174564] user: jan.nijtmans branch: core-8-6-branch, size: 98526 | |
2019-09-23
| ||
19:10 | Merge 8.6. Don't use TCL_Z_MODIFIER on Windows, because it only works when Tk 8.7 is compiled with Tcl 8.7, not with Tcl 8.6 file: [0819dde9] check-in: [6b6f137e] user: jan.nijtmans branch: trunk, size: 98950 | |
18:50 | Use more explicit *W()-forms of the Win32 API, instead of relying on -DUNICODE file: [3e1aec97] check-in: [d957f902] user: jan.nijtmans branch: core-8-6-branch, size: 98525 | |
2019-09-20
| ||
11:51 | Eliminate all references to Tcl_WinTCharToUtf/Tcl_WinUtfToTChar functions, using the TIP #548 functions in stead file: [dc879991] check-in: [682a6ef4] user: jan.nijtmans branch: trunk, size: 98917 | |
07:25 | Merge trunk file: [af80b030] check-in: [eb9c2190] user: jan.nijtmans branch: tip-548, size: 98927 | |
2019-09-19
| ||
19:39 | Merge 8.6 file: [b3daf19c] check-in: [8db2ce19] user: jan.nijtmans branch: trunk, size: 98858 | |
19:24 | *A() to *W() Win32 API changes, actually the same because Tk is already compiled in UNICODE mode. file: [447aabb5] check-in: [9f886d63] user: jan.nijtmans branch: core-8-6-branch, size: 98492 | |
2019-09-16
| ||
07:59 | TCHAR -> WCHAR conversions, since our TCHAR is actually WCHAR when compiling everything in UNICODE mode on Windows. file: [7ef6b4cd] check-in: [0b0f4f25] user: jan.nijtmans branch: core-8-6-branch, size: 98467 | |
2019-09-09
| ||
11:25 | Merge trunk file: [0c3b9171] check-in: [c199a4d3] user: jan.nijtmans branch: tip-548, size: 98902 | |
2019-08-16
| ||
07:02 | More removals of "register" keyword. file: [4a13a26e] check-in: [1f1b9178] user: jan.nijtmans branch: trunk, size: 98833 | |
2019-07-30
| ||
14:45 | Use WCHAR in stead of TCHAR (almost) everywhere, since we now only support compiling Tcl in UNICODE mode anyway. file: [02006a6f] check-in: [834f7a2d] user: jan.nijtmans branch: trunk, size: 98842 | |
2019-07-07
| ||
22:00 | Merge trunk file: [d37a8d83] check-in: [7de0b19f] user: jan.nijtmans branch: tip-548, size: 98915 | |
2019-07-02
| ||
11:18 | Merge 8.6 file: [63b7aa0b] check-in: [e4367919] user: jan.nijtmans branch: trunk, size: 98862 | |
09:28 | Don't use "struct ThreadSpecificData", while the type name "ThreadSpecificData" is already sufficient. file: [c954842d] check-in: [2d2cf979] user: jan.nijtmans branch: core-8-6-branch, size: 98487 | |
2019-06-11
| ||
11:39 | More TCHAR -> WCHAR conversions file: [44017f16] check-in: [7550f481] user: jan.nijtmans branch: tip-548, size: 98934 | |
2019-06-10
| ||
21:03 | Eliminate on Windows all usages of Tcl_WinUtfToTChar() and Tcl_WinTCharToUtf(). Proving the point of this TIP. file: [ef7afdbc] check-in: [c702f197] user: jan.nijtmans branch: tip-548, size: 98954 | |
2019-04-04
| ||
06:34 | Change size_t usages to (internal type) TkSizeT usages, which is "int" when compiling against 8.x headers. file: [d963a894] check-in: [eb36269c] user: jan.nijtmans branch: trunk, size: 98881 | |
2019-04-02
| ||
19:27 | Merge 8.6 file: [5aeb254c] check-in: [5e12f0c2] user: jan.nijtmans branch: androwish, size: 98538 | |
18:18 | More use of Tcl_NewWideIntObj(), and more internal use of (size_t), for bigger ranges. file: [754beb0e] check-in: [bbe44e80] user: jan.nijtmans branch: trunk, size: 98883 | |
2019-03-31
| ||
19:54 | Change (internal) signature of TkMenuConfigureEntryDrawOptions/TkActivateMenuEntry such that - if compiled with Tcl 9.0 headers - indexes > 2G can be used. Also, change a lot of Tcl_NewIntObj()/Tcl_NewBooleanObj() calls to Tcl_NewWideIntObj(). file: [32ab2b13] check-in: [5544ad79] user: jan.nijtmans branch: trunk, size: 98862 | |
2019-03-19
| ||
16:33 | Merge 8.6 file: [0b563ab3] check-in: [3808be4c] user: jan.nijtmans branch: trunk, size: 98817 | |
16:31 | More use of Tcl_WinTCharToUtf() in stead of Tcl_UniCharToUtfDString(), making Tk less sensitive to the value of TCL_UTF_MAX (either 3, 4, or 6) file: [e90c46b9] check-in: [d6528cb0] user: jan.nijtmans branch: core-8-6-branch, size: 98506 | |
2019-03-15
| ||
20:28 | Merge 8.6 file: [364b9f77] check-in: [8d31bf8b] user: jan.nijtmans branch: trunk, size: 98839 | |
20:24 | Make Tk run on win32/win64 using -DTCL_UTF_MAX=6. Adapted from androwish. file: [da4d95e8] check-in: [d55be1ff] user: jan.nijtmans branch: core-8-6-branch, size: 98528 | |
2019-02-02
| ||
17:52 | TIP #533 (Extension of the menu post command) implementation was accepted by TCT vote. This allows fixing of bug [70e531918e]: geometry issues with menubuttons on macOS. file: [c28dacec] check-in: [4b28f745] user: fvogel branch: trunk, size: 98723 | |
17:51 | TIP #533 (Extension of the menu post command) implementation was accepted by TCT vote. This allows fixing of bug [70e531918e]: geometry issues with menubuttons on macOS. file: [6038cfdb] check-in: [d95dc604] user: fvogel branch: core-8-6-branch, size: 98412 | |
2019-01-15
| ||
14:00 | Use TkGetMenuIndex to parse the index argument to the post command. file: [dc8e7cf9] check-in: [31984285] user: culler branch: bug-70e531918e, size: 98412 | |
2019-01-13
| ||
18:02 | Add TkpPostTearoffMenu, called by TkPostTearoffMenu and used in the menu post command; eliminates #ifdef in the generic code. file: [54716cbc] check-in: [0f8ee94e] user: culler branch: bug-70e531918e, size: 98412 | |
2019-01-11
| ||
22:09 | merge core-8-6-branch. file: [164a7466] check-in: [2eedf1d4] user: culler branch: mistake, size: 95428 | |
21:47 | Fix related menubutton issues on linux and Windows. file: [632c493c] check-in: [63fef3c5] user: culler branch: bug-70e531918e, size: 95428 | |
2019-01-10
| ||
10:07 | Merge 8.6 file: [6f47b865] check-in: [371c4059] user: jan.nijtmans branch: trunk, size: 95359 | |
2019-01-08
| ||
15:24 | Merge 8.6 and all changes from original [bug-9e31fd9449] branch file: [42ed1ac8] check-in: [6e620cfa] user: jan.nijtmans branch: bug-9e31fd9449-8-6, size: 95048 | |
08:31 | Fix [9e31fd9449]: X11/X.h and 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. file: [fa652488] check-in: [418f1c05] user: jan.nijtmans branch: core-8-5-branch, size: 95516 | |
2018-12-20
| ||
13:09 | Merge 8.6 file: [ab2fa283] check-in: [60c4abff] user: jan.nijtmans branch: androwish, size: 95211 | |
10:04 | Merge 8.6 file: [b809ef5e] check-in: [58918a5d] user: jan.nijtmans branch: bug-9e31fd9449-8, size: 95346 | |
09:44 |
Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols
*** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before file: [96c6cf27] check-in: [8a96bfd0] user: jan.nijtmans branch: bug-9e31fd9449-8-6, size: 95035 | |
08:02 | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings. file: [0964fa89] check-in: [a9d7c4da] user: jan.nijtmans branch: bug-9e31fd9449, size: 95503 | |
2018-12-08
| ||
08:24 | Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more. Eliminate a ton of unnecessary type casts file: [fe1044f1] check-in: [f5cb3ca7] user: jan.nijtmans branch: trunk, size: 95359 | |
2018-10-06
| ||
09:22 | Fix [9658bc800c]: Several display issues with menu items, more easily seen whenborderwidth != activeborderwidth and when these values are larger than usually. file: [bdc322cd] check-in: [d2e6da0f] user: fvogel branch: trunk, size: 95453 | |
09:22 | Fix [9658bc800c]: Several display issues with menu items, more easily seen whenborderwidth != activeborderwidth and when these values are larger than usually. file: [0dfb9498] check-in: [f0d9589e] user: fvogel branch: core-8-6-branch, size: 95048 | |
2018-09-30
| ||
18:58 | Fix [8229232472]: Cascade menu entry indicator wrong colour on Unix. Patch provided by cjmcdonald. file: [633089b9] check-in: [59fea713] user: fvogel branch: trunk, size: 95092 | |
2018-09-29
| ||
09:35 | Fix drawing of the tearoff entry file: [18607d56] check-in: [dff5745b] user: fvogel branch: bug-9658bc800c, size: 95073 | |
08:27 | Guard against negative widths for the indicator of menu entries, that could be obtained with larger -borderwidth value. This had no impact given how the geometry calculation algorithm is made, but... (belt and suspenders). file: [726e5f67] check-in: [9a31dbf1] user: fvogel branch: bug-9658bc800c, size: 95069 | |
08:00 | Once the menu geometry is correctly computed there is no need anymore for questionable hacks in menu width calculation when displaying it file: [1868a992] check-in: [9dcde677] user: fvogel branch: bug-9658bc800c, size: 94701 | |
2018-09-22
| ||
13:11 | Remove somewhat misleading text in comments file: [5139a50a] check-in: [6c01b18e] user: fvogel branch: bug-8229232472, size: 94687 | |
2018-09-11
| ||
11:09 | Add Windows implementation file: [ab7dcb6e] check-in: [e2b6c869] user: fvogel branch: bug-43b596451e, size: 95117 | |
2018-09-09
| ||
08:01 | Alternate fix for [43b596451e]: relief for active menu entries. If tk_strictMotif is not set, render the menu active item with flat relief. If tk_strictMotif is set, render the menu active item with raised relief. file: [a83d3e87] check-in: [bcb0b981] user: fvogel branch: bug-43b596451e-alt, size: 94714 | |
2017-10-27
| ||
14:57 | merge core-8-6-branch file: [3b5242d9] check-in: [178d3d53] user: jan.nijtmans branch: androwish, size: 94888 | |
14:14 | merge core-8-6-branch file: [2f1c2a33] check-in: [bb31a5ec] user: jan.nijtmans branch: trunk, size: 94625 | |
14:13 | tkWinMenu.c: In function ‘TkWinMenuKeyObjCmd’: tkWinMenu.c:2085:16: warning: result of ‘273 << 29’ requires 39 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] | (0x111 << 29) | (1 << 30) | (1 << 31)); ^~ file: [9683e65b] check-in: [139b66da] user: jan.nijtmans branch: core-8-6-branch, size: 94712 | |
14:11 | tkWinMenu.c: In function ‘TkWinMenuKeyObjCmd’: tkWinMenu.c:2085:16: warning: result of ‘273 << 29’ requires 39 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] | (0x111 << 29) | (1 << 30) | (1 << 31)); ^~ file: [e8fd709d] check-in: [ffd695c5] user: jan.nijtmans branch: core-8-5-branch, size: 95516 | |
2017-05-03
| ||
14:06 | merge rfe-6c0d7aec67 file: [207ee062] check-in: [70fc3533] user: jan.nijtmans branch: androwish, size: 94892 | |
2017-05-02
| ||
15:38 | Experimental new functions TkUtfPrev/TkUtfNext file: [b4ab5ef1] check-in: [044d64f8] user: jan.nijtmans branch: rfe-6c0d7aec67, size: 94710 | |
2017-02-25
| ||
16:21 | merge core-8-6-branch file: [a5e469ef] check-in: [c3f906d5] user: jan.nijtmans branch: androwish, size: 94898 | |
2017-01-18
| ||
13:03 | merge core-8-6-branch file: [a5e71aaa] check-in: [283c2cec] user: jan.nijtmans branch: trunk, size: 94629 | |
12:45 | Use the win32 Wide API in some more places. And some simplifications, since we no longer support win95/98/ME file: [3d9ef3c0] check-in: [9c4c3b7a] user: jan.nijtmans branch: core-8-6-branch, size: 94716 | |
2016-11-09
| ||
13:41 | Bring all win32 version stuff to one place. Should work the same (should still work on XP, although I don't know if we really want that). file: [119939cb] check-in: [b26f2446] user: jan.nijtmans branch: trunk, size: 94720 | |
2016-03-30
| ||
07:38 | merge core-8-6-branch file: [4781d012] check-in: [906c2d61] user: jan.nijtmans branch: androwish, size: 94989 | |
2016-03-27
| ||
09:58 | Fixed bug [1192095] - Toplevel menus return incorrect active index file: [0789ad30] check-in: [6efe4d53] user: fvogel branch: trunk, size: 94807 | |
2016-03-23
| ||
15:33 | merge core-8-6-branch file: [148ab2d1] check-in: [27362c9e] user: jan.nijtmans branch: androwish, size: 94513 | |
2016-03-16
| ||
16:15 | Fixed bug [1192095] (issue 2) - Toplevel menus return incorrect active index file: [b613bd05] check-in: [78578f85] user: fvogel branch: bug-1192095, size: 94593 | |
2016-03-13
| ||
21:55 | Fixed bug [487861ffff] - cascade with -accelerator looks wrong file: [40b17ece] check-in: [99bb322c] user: fvogel branch: bug-487861ffff, size: 94331 | |
2016-03-02
| ||
15:30 | Many upstream androwish changes file: [5b014299] check-in: [7b9324ef] user: jan.nijtmans branch: androwish, size: 94299 | |
2013-11-20
| ||
15:39 | Some bit of Windows 8.1 compatibility: See http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx file: [a48f6d55] check-in: [60b06a2e] user: jan.nijtmans branch: trunk, size: 94117 | |
15:35 | Some bit of Windows 8.1 compatibility: See http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx file: [211540be] check-in: [5650767e] user: jan.nijtmans branch: core-8-5-branch, size: 95520 | |
2013-01-28
| ||
11:24 | Convert all Tcl_SetResult calls to Tcl_SetObjResult calls. Convert Tcl_GetStringFromObj to Tcl_GetString when possible. file: [546c9800] check-in: [4c01ee19] user: jan.nijtmans branch: trunk, size: 94114 | |
2012-08-30
| ||
17:54 | Unbreak windows problems with commit [961ae24a3f] as well. file: [f35eed50] check-in: [a6f5a336] user: andreask branch: trunk, size: 94127 | |
2012-08-08
| ||
10:56 | merge trunk file: [0a248de5] check-in: [5a29e1db] user: dkf branch: tk-errorcodes, size: 94118 | |
2012-07-31
| ||
14:39 | minor improvements to flag handling file: [39c216c4] check-in: [9507ac2c] user: dkf branch: tk-errorcodes, size: 95298 | |
2012-07-24
| ||
19:41 | a few more places file: [de4e5984] check-in: [86dc9bdc] user: dkf branch: tk-errorcodes, size: 95307 | |
2012-04-02
| ||
09:48 | [Bug 3511806] Compiler checks too early (autoconf still to be run!) file: [9e5c71f6] check-in: [8a25f37b] user: jan.nijtmans branch: trunk, size: 95260 | |
2012-03-30
| ||
15:12 | [Bug 3511806] Compiler checks too early (autoconf still to be run!) file: [1e358522] check-in: [6decce9e] user: jan.nijtmans branch: core-8-5-branch, size: 95517 | |
2011-12-22
| ||
18:43 | 3235256 - Keep menu entry IDs out of system values. Thanks Colin McDonald. file: [2126eab8] check-in: [6b6c9d82] user: dgp branch: trunk, size: 95260 | |
18:42 | 3235256 - Keep menu entry IDs out of system values. Thanks Colin McDonald. file: [fccdd3b5] check-in: [39071084] user: dgp branch: core-8-5-branch, size: 95517 | |
18:39 | 3235256 - Keep menu entry IDs out of system values. Thanks Colin McDonald. file: [cf9dc687] check-in: [45ce45eb] user: dgp branch: core-8-4-branch, size: 90183 | |
2011-08-16
| ||
13:31 | [Bug 3388350] mingw64 compiler warnings file: [7169c2b0] check-in: [63dbae87] user: jan.nijtmans branch: trunk, size: 95185 | |
13:17 | [Bug 3388350] mingw64 compiler warnings file: [1e7933d2] check-in: [49d005d8] user: jan.nijtmans branch: core-8-5-branch, size: 95442 | |
13:03 | [Bug 3388350] mingw64 compiler warnings file: [2d70649c] check-in: [30375f51] user: jan.nijtmans branch: core-8-5-branch, size: 95446 | |
07:57 | [Bug 3388350] mingw64 compiler warnings file: [cafcec7f] check-in: [38034808] user: jan.nijtmans branch: core-8-4-branch, size: 90262 | |
2011-06-08
| ||
20:24 | Purge RCS Keywords file: [a8dae277] check-in: [b8a13852] user: dgp branch: trunk, size: 95177 | |
17:44 | Purge RCS Keywords. file: [e3a8988c] check-in: [3f95fbe0] user: dgp branch: core-8-5-branch, size: 95434 | |
16:13 | Purge RCS Keywords. file: [156f068c] check-in: [a74f32bb] user: dgp branch: core-8-4-branch, size: 90247 | |
2011-03-24
| ||
09:00 | [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support. file: [7348c1c9] check-in: [e8ecd9d0] user: jan.nijtmans branch: trunk, size: 95252 | |
08:50 | [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support. file: [a4c8fb63] check-in: [25270cde] user: jan.nijtmans branch: core-8-5-branch, size: 95513 | |
08:11 | [Bug #3239768] tk8.4.19 (and later) WIN32 menu font support file: [8fbc3218] check-in: [2423937d] user: jan.nijtmans branch: core-8-4-branch, size: 90324 | |
2011-03-12
| ||
17:45 | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to be using useful casts internally. file: [855ac3f9] check-in: [142e016e] user: dkf branch: trunk, size: 94936 | |
2010-11-19
| ||
14:48 | Revise Tcl_Panic() calls ending with a newline removing the newline, because Tcl_Panic() outputs a final newline already file: [8c769fb9] check-in: [870897bc] user: nijtmans branch: trunk, size: 94978 | |
2010-11-03
| ||
12:11 | [FRQ 2965056]: Windows build with -DUNICODE file: [900732da] check-in: [c9f9a859] user: nijtmans branch: trunk, size: 94983 | |
2010-10-11
| ||
13:33 | [FRQ 2965056]: Windows build with -DUNICODE file: [1e456abc] check-in: [9c58bb7f] user: nijtmans branch: trunk, size: 95191 | |
2010-10-06
| ||
14:33 | [FRQ 2965056]: Windows build with -DUNICODE file: [ab47f803] check-in: [e7d9b592] user: nijtmans branch: trunk, size: 95210 | |
2010-09-13
| ||
08:11 | Move definitions of WINVER/_WIN32_WINNT to one place, now that we only support Win2000+ file: [051fd7ca] check-in: [4d9f550b] user: nijtmans branch: trunk, size: 95277 | |
2010-09-10
| ||
08:59 | Make compilable with -DUNICODE, or mark files with a TODO which are not done yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here. file: [96c0a7f8] check-in: [bf1b4597] user: nijtmans branch: trunk, size: 95375 | |
2010-05-10
| ||
20:58 | CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar, TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line. file: [7836eb24] check-in: [19fa0b7b] user: nijtmans branch: trunk, size: 95234 | |
2010-03-12
| ||
13:02 | [Bug 2956548] TkpButtonSetDefaults only initializes one button type Fix various gcc warnings, all backported from Tk 8.6 VC6++ does not have SPI_SETKEYBOARDCUES file: [a00c6d82] check-in: [a891c24d] user: nijtmans branch: core-8-5-branch, size: 95199 | |
2010-01-22
| ||
14:17 | fix more gcc warnings: missing initializer Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures. file: [4645d239] check-in: [226d49d2] user: nijtmans branch: trunk, size: 95224 | |
2010-01-03
| ||
20:03 | Patch 2848897: Support the system keyboard cues setting on Windows Backported this patch from HEAD (kovalenko, thoyts) file: [41b375ce] check-in: [67c26537] user: patthoyts branch: core-8-5-branch, size: 95202 | |
19:50 |
Patch 2848897: Support the system keyboard cues setting on Windows
This patch by Anton Kovalenko adds support for the Windows system-wide UI setting that prevents accelerators being underlined unless the Alt key is pressed. Modified to support the system keyboard cues flag and to handle dynamic changes to the system parameters by the user. file: [4a9fc411] check-in: [1f427626] user: patthoyts branch: trunk, size: 95246 | |
2009-12-27
| ||
23:42 | Highlight for cascade items in torn-off menus is incorrect on Windows. Applied patch from [Bug 2879927]. file: [e830f909] check-in: [e25ffa79] user: patthoyts branch: core-8-5-branch, size: 93317 | |
23:36 | Highlight for cascade items in torn-off menus is incorrect on Windows. Applied patch from [Bug 2879927]. file: [bee52b52] check-in: [023795dd] user: patthoyts branch: trunk, size: 93361 | |
2009-09-14
| ||
23:41 |
* generic/tkMenuDraw.c (TkPostSubmenu): Fix reposting of submenu in * win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu. [Bug 873613] (DrawMenuEntryArrow): Draw Win menu arrow after being torn off. [Bug 873608]file: [d10e8037] check-in: [5478d04b] user: hobbs branch: trunk, size: 93300 | |
23:40 |
* generic/tkMenuDraw.c (TkPostSubmenu): Fix reposting of submenu in * win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu. [Bug 873613] (DrawMenuEntryArrow): Draw Win menu arrow after being torn off. [Bug 873608]file: [46e7cfa2] check-in: [80978a81] user: hobbs branch: core-8-5-branch, size: 93209 | |
23:39 |
* generic/tkMenuDraw.c (TkPostSubmenu): Fix reposting of submenu in * win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu. [Bug 873613] (DrawMenuEntryArrow): Draw Win menu arrow after being torn off. [Bug 873608]file: [597146a4] check-in: [7ba46a00] user: hobbs branch: core-8-4-branch, size: 90019 | |
2009-08-02
| ||
21:40 | eliminate various gcc and msvc compiler warnings file: [2ba06d71] check-in: [e908bb31] user: nijtmans branch: trunk, size: 92805 | |
2009-05-21
| ||
23:01 | [Bug 2794778]: backported fix for keyboard transversal of the menus on Windows. file: [0c0f2f2c] check-in: [db383316] user: patthoyts branch: core-8-5-branch, size: 92715 | |
22:52 | [Bug 2794778]: Calls to CallWindowProc can lead to other functions overwriting the event strucure. Therefore preserve a local copy of the XKeyEvent while looping over the key events. file: [9ed0eb83] check-in: [650ff4b9] user: patthoyts branch: trunk, size: 92829 | |
2009-03-25
| ||
23:39 | Eliminate a few compiler warnings on mingw spacing file: [441fc574] check-in: [65ea29f3] user: nijtmans branch: trunk, size: 92823 | |
2009-03-01
| ||
21:54 | update comment to reflect reality file: [f9468340] check-in: [505b7ad9] user: patthoyts branch: trunk, size: 92807 | |
2009-02-23
| ||
10:37 | [Patch 2507419] fix menu image display issue on windows file: [aec738cb] check-in: [51e84896] user: patthoyts branch: core-8-5-branch, size: 92710 | |
10:18 | [Patch 2507419] fixes the image drawing bug on windows menus. file: [608138e4] check-in: [677b1bdf] user: patthoyts branch: trunk, size: 92760 | |
2009-01-28
| ||
20:47 | - eliminate some unnessary type casts - some internal const decorations - spacing file: [ed056842] check-in: [380696ca] user: nijtmans branch: trunk, size: 92011 | |
2008-12-09
| ||
21:22 |
TIP 337 * generic/tkBind.c: Updated callers of Tcl_BackgroundError() * generic/tkCanvas.c: to use the new routine * generic/tkEntry.c: Tcl_BackgroundException() as appropriate. * generic/tkImgBmap.c: * generic/tkListbox.c: * generic/tkSelect.c: * generic/tkTextDisp.c: * generic/tkTextWind.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * unix/tkUnixScale.c: * unix/tkUnixWm.c: * win/tkWinButton.c: * win/tkWinMenu.c: * win/tkWinScrlbr.c: * win/tkWinWm.c:file: [52a7ca9f] check-in: [8390c9df] user: dgp branch: trunk, size: 91981 | |
2008-11-08
| ||
18:44 | Lots of small changes to make code more pretty and C89-like. file: [085c4503] check-in: [782ccc1d] user: dkf branch: trunk, size: 91961 | |
2008-10-17
| ||
23:18 | Add "const" to many internal const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. file: [53cac48d] check-in: [da3819db] user: nijtmans branch: trunk, size: 91969 | |
2007-12-13
| ||
15:23 | merge stable branch onto HEAD file: [5aed6cbd] check-in: [e7868b44] user: dgp branch: trunk, size: 91952 | |
2007-09-09
| ||
04:15 | merge updates from HEAD file: [7a1e5c75] check-in: [f9582028] user: dgp branch: core-stabilizer-branch, size: 91956 | |
2007-09-08
| ||
16:13 | Assorted minor cleanups. file: [95ae9a5d] check-in: [2a5cff56] user: dkf branch: trunk, size: 91952 | |
2007-06-12
| ||
16:22 | merge updates from HEAD file: [8647cba7] check-in: [6f34739f] user: dgp branch: core-stabilizer-branch, size: 91956 | |
2007-06-09
| ||
23:53 |
* win/tkWinMenu.c (TkWinHandleMenuEvent): improve handling to allow for unicode char menu indices and not use CharUpper on Tcl utf strings. [Bug #1734223]file: [d7c4f174] check-in: [8746094a] user: hobbs branch: trunk, size: 91954 | |
23:52 |
* win/tkWinMenu.c (TkWinHandleMenuEvent): improve handling to allow for unicode char menu indices and not use CharUpper on Tcl utf strings. [Bug #1734223]file: [1578deb5] check-in: [bc778567] user: hobbs branch: core-8-4-branch, size: 89510 | |
2007-05-05
| ||
07:33 | Slight simplification file: [684a5902] check-in: [5722888f] user: dkf branch: trunk, size: 91899 | |
2007-02-23
| ||
14:15 | Reduce the number of warnings file: [e90e7291] check-in: [88a464cd] user: dkf branch: trunk, size: 91866 | |
2007-02-22
| ||
13:56 | Less of that K&R or wrongly indented function header style! file: [0690dd74] check-in: [9b0470e0] user: dkf branch: trunk, size: 91974 | |
2007-01-12
| ||
10:41 | More warning squelching (mostly uninit variable warnings) file: [e088ac4c] check-in: [17ca9d3a] user: dkf branch: trunk, size: 92682 | |
2007-01-11
| ||
15:35 | Many minute fixes to reduce number of minor warnings from GCC. file: [dae86685] check-in: [07047209] user: dkf branch: trunk, size: 92778 | |
2006-11-24
| ||
18:11 |
* unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usage * tests/menu.test (menu-36.1): [Bug 1599877]file: [41ad6051] check-in: [a019951d] user: hobbs branch: core-8-4-branch, size: 89469 | |
18:11 |
* unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usage * tests/menu.test (menu-36.1): [Bug 1599877]file: [611cb09e] check-in: [a2dae84f] user: hobbs branch: trunk, size: 92720 | |
01:52 |
* win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline): handle unichar underlining correctly and safely. [Bug 1599877]file: [fbe72b9b] check-in: [8997c989] user: hobbs branch: core-8-4-branch, size: 89469 | |
01:51 |
* win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline): handle unichar underlining correctly and safely. [Bug 1599877]file: [6914d98f] check-in: [2081c3f8] user: hobbs branch: trunk, size: 92720 | |
2006-09-21
| ||
00:13 |
* win/tkWinMenu.c (TkpPostMenu): disable menu animation in menus with images to avoid clipping bug. [Bug 1329198]file: [36507d30] check-in: [cc4cbb8c] user: hobbs branch: core-8-4-branch, size: 89265 | |
00:13 |
* win/tkWinMenu.c (TkpPostMenu): disable menu animation in menus with images to avoid clipping bug. [Bug 1329198]file: [50157e93] check-in: [2324d457] user: hobbs branch: trunk, size: 92363 | |
2006-05-25
| ||
23:50 |
* win/tkWinMenu.c (TkWinMenuKeyObjCmd): get eventPtr after we know the window is still alive. [AS bug 45987] [Bug 1236306]file: [ccadba79] check-in: [d179ef57] user: hobbs branch: trunk, size: 91970 | |
2006-04-05
| ||
20:59 |
* generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInit call that caused finalization panic. [Bug 1456851] * win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler) (MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows menu init/finalization to better respect per-process and per-thread boundaries. [Bug 1456851] (TkWinMenuKeyObjCmd): Do not error when unknown window is passed in. [Bug 1236306]file: [93fa45d9] check-in: [180fe53d] user: hobbs branch: trunk, size: 91970 | |
19:47 |
* win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler) (MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows menu init/finalization to better respect per-process and per-thread boundaries.file: [39821b4b] check-in: [9a51b885] user: hobbs branch: core-8-4-branch, size: 88880 | |
2005-11-10
| ||
11:38 | Fixes of other issues raised in [Bug 1353022] file: [7e442cc0] check-in: [947af08a] user: dkf branch: trunk, size: 91073 | |
2005-08-10
| ||
22:02 | Getting more systematic about style Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj file: [ce9dc4dd] check-in: [95ed0f91] user: dkf branch: trunk, size: 91057 | |
2005-04-28
| ||
02:40 | Fixed bug # 1189939 file: [b22bc8b5] check-in: [27b4784b] user: chengyemao branch: trunk, size: 92882 | |
2005-01-19
| ||
02:03 | Updated for embedded/embedding implementation for Windows file: [624fb1df] check-in: [6e1818fa] user: chengyemao branch: core-8-4-9-branch, size: 92058 | |
2005-01-18
| ||
15:24 | Fixed a bug by adding code the check menu index in selection. This bug caused an access violation in an embedded menu testing when the mouse clicked the last pull-down menu entry file: [ef3eeda7] check-in: [1d75b685] user: chengyemao branch: trunk, size: 92878 | |
2005-01-17
| ||
07:00 | minor bug fix: should return 0 and indicate handled after processing WM_MENUSELECT message file: [3fe22eb9] check-in: [033a7728] user: chengyemao branch: trunk, size: 92812 | |
2005-01-13
| ||
01:48 | Removed WM_UNINITMENUPOPUP that may cause compiling error in WINVER < 0x0500 file: [258cf6b4] check-in: [131f8634] user: chengyemao branch: trunk, size: 92763 | |
2005-01-09
| ||
06:59 | bug fix [637653] file: [c7e54d7a] check-in: [30b3719b] user: chengyemao branch: trunk, size: 92848 | |
00:26 | Bug fix in ReconfigureWindowsMenu. The bug caused a wrong geometry of a toplevel when created with a menu (bug# 1098625) file: [c0b899fa] check-in: [14d46ad1] user: chengyemao branch: trunk, size: 92784 | |
2005-01-04
| ||
05:07 | bug fixes (crahes/panic during finalization/exit); feature implementation for embedding/embedded Tk (Windows). See Tk 8.5 changes (12/17/04 - 01/03/05) for details file: [6da40f68] check-in: [4cd30ab5] user: chengyemao branch: core-8-4-9-branch, size: 92190 | |
02:09 | Modified for separating an embedded menu's window handler from a normal popup menu window's handler; improved an embedded menu display in Windows/XP file: [51bc224e] check-in: [d606bd9c] user: chengyemao branch: trunk, size: 93061 | |
2004-12-28
| ||
08:45 | Modified to support embedded menu widget file: [00ac360f] check-in: [5707cebc] user: chengyemao branch: trunk, size: 89901 | |
2004-10-27
| ||
00:37 | * generic/tkInt.h: Backport of shutdown safety mods from the HEAD * generic/tkMenu.c: dating from 2003-12-21 * generic/tkUtil.c: * generic/tkWindow.c: * mac/tkMacButton.c: * unix/tkUnixEvent.c: * win/tkWin32Dll.c: * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c: file: [473af9db] check-in: [9eb5a917] user: davygrvy branch: core-8-4-branch, size: 88232 | |
2004-09-23
| ||
00:56 |
* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme. It is only defined under Win32. * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw a disabled 3D text highlight for the accelerator only with the Win95/98 look. Same goes for the menu entry text. * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme): Automatically detect the Windows theme in use and return either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme function is invoked. [Patch 866194] * win/tkWinMenu.c: only provide a submenu handle when the MF_POPUP flag is given, fixing a recently-introduced crash when submenus are disabled. Also better error checking for this sort of situation in the future. * win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled (TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842] * win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window. * win/tkWinMenu.c (DrawMenuEntryAccelerator): (DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.file: [010e642d] check-in: [e42dad6e] user: mdejong branch: core-8-4-branch, size: 88233 | |
2004-09-21
| ||
19:13 |
* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme. It is only defined under Win32. * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw a disabled 3D text highlight for the accelerator only with the Win95/98 look. Same goes for the menu entry text. * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme): Automatically detect the Windows theme in use and return either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme function is invoked. [Patch 866194]file: [2f8dee8b] check-in: [24901585] user: mdejong branch: trunk, size: 89127 | |
2004-09-03
| ||
14:09 | Make sure user_data is NULL everywhere it isn't set. [Bug 1021812] file: [a46add50] check-in: [31bf19fe] user: dkf branch: trunk, size: 88745 | |
2004-08-25
| ||
22:23 |
* macosx/tkMacOSXWm.c: Made use of Tcl_WrongNumArgs in a few * win/tkWinMenu.c: appropriate spots.file: [2b41c33e] check-in: [896006b1] user: dgp branch: trunk, size: 88717 | |
2004-05-03
| ||
23:23 |
* win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): place images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte)file: [0ea2a2b8] check-in: [bbd12840] user: hobbs branch: core-8-4-branch, size: 85015 | |
23:23 |
* win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): place images of compound menu entries in indicator space if not a radio of checkbutton. [Bug #756952] (eserte)file: [fd26cb27] check-in: [c5273b50] user: hobbs branch: trunk, size: 88800 | |
22:40 |
* win/tkWinX.c: fix drawing of unicode chars in menu * win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl) * win/tkWinMenu.c (ReconfigureWindowsMenu):file: [0d82b081] check-in: [2173eb5c] user: hobbs branch: core-8-4-branch, size: 84578 | |
22:40 |
* win/tkWinX.c: fix drawing of unicode chars in menu * win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl) * win/tkWinMenu.c (ReconfigureWindowsMenu):file: [d9f73cf8] check-in: [2a201db4] user: hobbs branch: trunk, size: 88917 | |
2004-01-07
| ||
13:25 | disabled submenu fix file: [51e0f883] check-in: [92d72bb6] user: vincentdarley branch: trunk, size: 88917 | |
2003-12-28
| ||
23:11 |
* win/tkWinMenu.c (ReconfigureWindowsMenu, TkWinHandleMenuEvent, DrawMenuEntryArrow): Fix drawing of a disabled cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842]file: [f210d47a] check-in: [015437e4] user: mdejong branch: trunk, size: 88577 | |
05:04 |
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window.file: [534c553b] check-in: [0cdd7478] user: mdejong branch: trunk, size: 88033 | |
2003-12-26
| ||
22:29 |
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight.file: [ddb19be1] check-in: [61e90b11] user: mdejong branch: trunk, size: 88027 | |
20:46 |
* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.file: [d0b8f4c8] check-in: [87a93b9a] user: mdejong branch: trunk, size: 87440 | |
2003-12-21
| ||
23:50 |
* generic/tkEvent.c: Added three new functions: TkCreateExitHandler, * generic/tkInt.h: TkDeleteExitHandler, and TkFinalize. This adds * generic/tkMenu.c: an insertion point so Tk's exit handlers can be * generic/tkWindow.c: called on their own from tk85.dll's DllMain * mac/tkMacButton.c: for DLL_PROCESS_DETACH. These are private to * unix/tkUnixEvent.c: the binary and not exported. It is possible * win/tkWin32Dll.c: the Windows OS can unload Tk _prior_ to Tcl * win/tkWinEmbed.c: under some conditions such as ExitProcess(). * win/tkWinMenu.c: This avoids a dangling pointer problem when Tcl * win/tkWinX.c: does Tcl_Finalize after Tk has been unloaded. * win/winMain.c: DllMain's DLL_PROCESS_DETACH now protected with SEH as DeleteWindowsExitProc is causing an exception of its own under some teardown conditions. AT&T assembly syntax has not been added for MinGW yet. [Tcl Patch 858493]file: [d1133a6c] check-in: [e1224987] user: davygrvy branch: trunk, size: 86074 | |
2003-12-16
| ||
03:12 | (ReconfigureWindowsMenu) : Only redraw the menubar when a menubar exists. Although the invalid handle doesn't cause an exception, it was discovered with NuMega's BoundsChecker and flagged as a problem. file: [df8bf175] check-in: [2aee3bc7] user: davygrvy branch: trunk, size: 86076 | |
2003-10-31
| ||
08:55 | compound menu entries file: [20825e37] check-in: [4da4811a] user: vincentdarley branch: trunk, size: 86037 | |
2003-04-15
| ||
01:06 |
* win/tkWinMenu.c (TkpInitializeMenuBindings): Rename the private menu helper cmd from tk::tkWinMenuKey to tk::WinMenuKey. [Bug 721514]file: [87c7e279] check-in: [71f782f9] user: mdejong branch: trunk, size: 85477 | |
2003-04-14
| ||
23:34 |
* generic/tkBind.c (TkpGetBindingXEvent): Add helper method that can be used to query the XEvent* for the currently executing binding. * generic/tkInt.h: Declare TkpGetBindingXEvent. * win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd, TkpInitializeMenuBindings): Rename MenuKeyBindProc to TkWinMenuKeyObjCmd and convert it into a Tcl command named tk::tkWinMenuKey. Bind keyboard accelerator actions to this Tcl command instead of using a native C binding. This makes it possible to extend the existing binding with Tcl code and makes the Windows version work just like the unix version.file: [bedcd56d] check-in: [98dd3be2] user: mdejong branch: trunk, size: 85497 | |
2002-08-20
| ||
20:26 | merged with trunk at tag macosx-8-4-merge-2002-08-20-trunk file: [0ac99b85] check-in: [88ef5db9] user: das branch: macosx-8-4-branch, size: 84568 | |
2002-08-08
| ||
01:42 |
* win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in when to idle call ReconfigureWindowsMenu.file: [122f7d26] check-in: [f8c3d249] user: hobbs branch: trunk, size: 84566 | |
2002-08-05
| ||
04:30 |
Applied companion patch for Tcl Patch 585105,
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.
This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h) file: [0d3b8f44] check-in: [5603f01a] user: dgp branch: trunk, size: 84562 | |
2002-04-02
| ||
20:57 | sync with head file: [9104aee1] check-in: [4d8abcfa] user: hobbs branch: core-8-4-win-speedup, size: 84803 | |
2002-02-05
| ||
02:25 | Merge with current TOT Added support for the wm stackorder command Fixed crash when selecting Menu items in the Application menu that we didn't put there. Added first bits of the use of CG for low-level drawing. The line-drawing works, the rest doesn't yet. You have to set the file static useCGDrawing to 1 and rebuild to activate this code. file: [ae126539] check-in: [32f71d05] user: wolfsuit branch: macosx-8-4-branch, size: 84560 | |
2002-01-17
| ||
03:35 |
* Updated callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27 API changes (see Tcl Patch 471509). [Patch 471513]file: [30fc5df6] check-in: [061e364d] user: dgp branch: trunk, size: 84551 | |
2002-01-08
| ||
15:40 | Fix the following bug: If you select an entry on a cascade menu (on Win32) then the next time the parent menu is posted, the cascade entry appears active. Also, if you traverse to a disabled menu entry using keystrokes and press ENTER on the disabled entry, then that entry appears active the next time the menu is posted. The same patch fixes both problems. file: [e9eea234] check-in: [6069b52d] user: drh branch: trunk, size: 84533 | |
2001-11-27
| ||
04:36 | Change the behavior of menus on windows to be more consistent with native windows menus. Disabled menu entries show their active background color on mouseover and keyboard traversal. file: [357c6fc7] check-in: [84a8f463] user: drh branch: trunk, size: 84035 | |
2001-10-12
| ||
13:30 | implementation of TIP 63 (accepted) -compound option to menu items. file: [8d6480fd] check-in: [388b438b] user: tmh branch: trunk, size: 83808 | |
2001-09-21
| ||
21:34 | minor cast fixes to prevent 64bit warnings file: [8869dfc7] check-in: [ea7bd071] user: hobbs branch: trunk, size: 80452 | |
2001-07-03
| ||
20:01 |
* Merged in updates from HEAD branch.file: [d422eaa5] check-in: [6db41250] user: dgp branch: dgp-privates-into-namespace, size: 80422 | |
2001-04-04
| ||
18:46 |
* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of service mode to only occur when it was set. [Bug #220948]file: [c07728e2] check-in: [a9efa82b] user: hobbs branch: core-8-3-1-branch, size: 80423 | |
18:37 |
* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of service mode to only occur when it was set. [Bug #220948]file: [9b76eb00] check-in: [1e7f9798] user: hobbs branch: trunk, size: 80420 | |
07:57 | see ChangeLog for specific file details file: [140a5f2c] check-in: [0f3f17d4] user: hobbs branch: core-8-3-1-branch, size: 80419 | |
2000-11-03
| ||
22:49 |
* generic/tk.decls: * generic/tkInt.decls: * generic/tkIntPlatDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: * win/Makefile.in: * win/makefile.vc: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDraw.c: * win/tkWinFont.c: * win/tkWinGdi.c (new): * win/tkWinGdi.h (new): * win/tkWinImage.c: * win/tkWinInt.h: * win/tkWinMenu.c: * win/tkWinPixmap.c: * win/tkWinUtil.c (new): * win/tkWinWindow.c: * win/tkWinWm.c: * win/tkWinX.c: * win/winMain.c: * xlib/xgc.c: * xlib/X11/Xlib.h: first cut at Windows speedup improvements by Leo Schubert. Needs to be streamlined, but the code is correct and passes all tests.file: [fb0e74c7] check-in: [6287d3e2] user: hobbs branch: core-8-4-win-speedup, size: 80666 | |
2000-08-29
| ||
21:00 |
* win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDC
for determining the source's logical coordinates. Patch from
[Bug: 6134 (Markus Oberhumer)].
* win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[] under Windows NT/2000 in the same way as under Windows 95/98. Patch from [Bug: 6134 (Markus Oberhumer)]. * win/tkWinFont.c (GetScreenFont): Added a memset() to pacify memory checkers. Patch from [Bug: 6134 (Markus Oberhumer)]. file: [c5050b2d] check-in: [fbfb2fa6] user: ericm branch: trunk, size: 80416 | |
2000-08-05
| ||
23:53 |
* BACKPORTED FROM 8.4 (HEAD) BRANCH: * tests/button.test: * generic/tkButton.c: Added -activeforeground, -activebackground for labels, for the -state option. * doc/label.n: Added -disabledforeground to list of options [Bug: 6053]. * tests/focus.test (focusSetupAlt): removed wm withdraw from proc as it would cause a hang for tkwait visibility * tests/menu.test: * generic/tk3d.c: * generic/tkColor.c: * generic/tkCursor.c: corrected handling of 3DBorder, Cursor and Color objects on multiple screens. [Bug: 5454] * generic/tkCursor.c: Added initialization for nextPtr field of TkCursor, patch from Nijtmans/Howlett. * canvas.test: added test for 5783. * generic/tkCanvPoly.c (DisplayPolygon): added checks for the polygon fillGC not being empty to prevent segfault. [Bug: 5783] * generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a problem with the GIF writing code [Bug: 5823]. * generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be static char arrays with integer initialization, to address EBCIDIC vs. ASCII encoding issues and to handle compilers that don't deal with "\xAB" syntax for specifying hex values in strings. * generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from [Bug: 5275], which corrected a segfault-causing indexing problem when deleting entries from torn-off menus. * generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave table init'n to prevent seg fault when using place on multiple displays. * tests/text.test: Added tests for -regexp -nocase searches with backslash character classes. * tests/text.test: Added tests for searching when text is elided. * generic/tkText.c (TextSearchCmd): Text search did not work properly when -regexp and -nocase were used, in combination with backslash character classes represented by capital letters (ie, \W, \M); altered implementation of -regexp -nocase searches to use new regexp interfaces to fix this problem. [Bug: 5988]. * generic/tkText.c (TextSearchCmd): Text search was not returning the correct index when the search covered (but did not search) elided characters; corrected this by adjusting the match index by the number of elided characters preceeding the start of the match, just as is done with embedded windows, etc. [Bug: 5470]. * generic/tkText.c (TextSearchCmd): Added a test for a NULL segment pointer when doing backwards searches for "" on an empty text widget. [Bug: 6007]. * library/focus.tcl: fixed calling of takeFocus proc [Bug: 5372] * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes separator entries on the system menu to be drawn correctly [Bug: 5451]. * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].file: [a4734eda] check-in: [f1303c4e] user: hobbs branch: core-8-3-1-branch, size: 80413 | |
2000-07-28
| ||
17:37 | * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit for disabled menu entries, to ensure that those which are drawn by the system are shown grayed (such as entries on menubars) [Bug: 4372]. file: [b8f432df] check-in: [52e781f7] user: ericm branch: trunk, size: 80410 | |
2000-07-06
| ||
03:17 |
* generic/tkFileFilter.c (AddClause): Cast to match function prototype. * win/stubs.c (_XInitImageFuncPtrs): Add return value for function. * win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle): Remove unused declarations. * win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused function declarations. * win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration. * win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype. * win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration. * win/tkWinWindow.c (StackWindow): Remove unused declaration. * win/tkWinWm.c (ConfigureEvent): Remove unused declaration. * win/tkWinX.c (winXMutex): Remove unused declaration. * xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.file: [e87f5bd8] check-in: [51f47c0c] user: mo branch: trunk, size: 80395 | |
2000-05-16
| ||
17:57 | * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the MF_SEPARATOR bit for SEPARATOR_ENTRY menu items. This causes separator entries on the system menu to be drawn correctly [Bug: 5451]. file: [854262dc] check-in: [909f18be] user: ericm branch: trunk, size: 80495 | |
2000-05-10
| ||
00:09 |
* doc/button.n: Added documentation for link relief. * tests/button.test: Added tests for link relief for buttons. * generic/tk.h (TK_CONFIG_LINK_OK): Added definition of TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348] * generic/tk3d.c: Added support for link relief. [RFE: 4348] * mac/tkMacButton.c (TkpDisplayButton): * unix/tkUnixButton.c (TkpDisplayButton): Added support for link relief. [RFE: 4348] * generic/tkOldConfig.c (Tk_ConfigureWidget): * generic/tkConfig.c (DoObjConfig): Added understanding of link relief, which is allowed only for widgets that have TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief" option. [RFE: 4348] * generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option for buttons. [RFE: 4348] * win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW style bit, so that transient windows have full-size titlebars (like the tk_getOpenFile dialog). * win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height requested for separator bars to be (linespace - (2*descent)) instead of just (linespace); this makes the separator occupy a more correct amount of vertical space. [Bug: 5303].file: [136588fb] check-in: [4194a8ac] user: ericm branch: trunk, size: 80098 | |
2000-04-13
| ||
20:51 | * win/tkWinMenu.c: Corrected code that created separator items on menus; originally, it requested that the system be responsible for drawing those items, so it would ignore configuration items like the widget background. Now, we draw the separators ourselves (as we do with every other kind of menu item already). [Bug: 1166]. file: [c3d7999e] check-in: [d949efca] user: ericm branch: trunk, size: 80075 | |
2000-03-31
| ||
09:24 |
* win/tkWinDialog.c: added unicode-aware open/save file dialogs * win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId to TkWinGetPlatformId * win/tkWinMenu.c (SetDefaults): moved private use of versionInfo to TkWinGetPlatformId and removed all code for (versionInfo.dwMajorVersion < 4) (== Win32s) * win/tkWinX.c: * win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c * win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its called for static Windows shells. [Bug: 3647] * win/tkWinInt.h: * win/tkWinX.c: * win/tkWinDraw.c (SetUpGraphicsPort): * win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s * win/tkWinInt.h (TkWinDCState struct): added bkmode value * win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for properly transparent dashed lines on Windows. [Bug: 4617]file: [d4afa329] check-in: [4da507a9] user: hobbs branch: trunk, size: 80324 | |
1999-09-22
| ||
06:53 |
1999-09-21 Jeff Hobbs <[email protected]>
* generic/tkFont.c: fixed processing of font options and error returned [Bug: 2075] * win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the wrong toplevel, and changed it to not set focus on overridden toplevels * unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070] and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX version check and several other config fixes for AIX * mac/tkMacMenubutton.c: * unix/tkUnixMenubu.c: fixed permanently stippled menubutton image * win/tkWinButton.c: fixed possible pointer smash [Bug: 2733] * win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909] * unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder * generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c (from code added to support TkpDrawHighlightBorder) [Bug: 2676]file: [911ed564] check-in: [115c58cd] user: hobbs branch: core-8-2-1-branch, size: 81716 | |
1999-09-15
| ||
22:35 |
1999-09-14 Jeff Hobbs <[email protected]>
* win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]file: [550a01a4] check-in: [11691dc3] user: hobbs branch: trunk, size: 81712 | |
1999-04-16
| ||
01:51 | * Merged 8.1 branch into the main trunk file: [50795c49] check-in: [1120dc42] user: stanton branch: trunk, size: 81726 | |
1999-03-30
| ||
04:12 |
* doc/MeasureChar.3:
* doc/TextLayout.3:
* generic/tk.decls:
* generic/tkCanvText.c:
* generic/tkEntry.c:
* generic/tkFont.c:
* generic/tkListbox.c:
* generic/tkMessage.c:
* mac/tkMacFont.c:
* unix/tkUnixButton.c:
* unix/tkUnixFont.c:
* unix/tkUnixMenu.c:
* win/tkWinFont.c:
* win/tkWinMenu.c: Standardized text layout and font interfaces
so they are consistent with respect to byte versus character
oriented indices. The layout functions all manipulate character
oriented values while the lower level measurement functions all
operate on byte oriented values. This distinction was not clear
and so the functions were being used improperly in a number of
places. [Bug: 1053, 747, 749, 1646]
* generic/tk.decls: Eliminated uses of C++ STL types string and list from declarations. * generic/tkFont.c: Changes to named fonts were not being propagated in some cases. [Bug: 1144] file: [434ab7f1] check-in: [27596f51] user: stanton branch: core-8-1-branch-old, size: 81731 | |
1999-03-09
| ||
01:36 | Added TkpThreadInit function for performing thread-specific initialization of Menu module. Only does real work on Windows. file: [cbf2816a] check-in: [8f9472fa] user: lfb branch: core-8-1-branch-old, size: 81650 | |
1999-02-11
| ||
04:13 |
* Various cleanup related to the Tcl_Eval and Tcl_ObjSetVar
changes in Tcl.
* Integrated patches from 8.0.5b2 file: [212900d1] check-in: [bd3852e0] user: stanton branch: core-8-1-branch-old, size: 81203 | |
1999-02-04
| ||
21:44 | * win/tkWinMenu.c (TkpDestroyMenu): Changed so modalMenuPtr is cleared when it is being destroyed. file: [c16812d0] check-in: [4b73d7b1] user: stanton branch: trunk, size: 76164 | |
1998-12-13
| ||
09:54 | Fixed Windows bugs encountered while building w/ threads enabled. file: [0a939e7e] check-in: [cdb6788b] user: lfb branch: core-8-1-branch-old, size: 81066 | |
08:16 |
Tk 8.1 Muti-threading changes.
Moved static and global data elements into thread-local storage, or introduced locks where not possible, as first stage of adding thread safety to Tk. file: [b9c46a4e] check-in: [e9b65f05] user: lfb branch: core-8-1-branch-old, size: 79542 | |
1998-11-25
| ||
21:16 |
* integrated tk8.0.4 changes.
* generic/tkBind.c: fixed deletion order bug where a crash would result if a binding deleted "." file: [ab4238d4] check-in: [207f4302] user: stanton branch: core-8-1-branch-old, size: 79436 | |
1998-11-24
| ||
21:42 | * tkMacMenu.c, tkUnixMenu.c, tkWinMenu.c, tkMenuDraw.c, tkMenu.h, * tkMenu.c: Backed out the previous fix for bug 620 and eliminated a bunch of code that created unnecessary objects. Changed back to using internal types instead of objects for many configuration options. There are many more fixes like this that could be made, but some require a little restructuring of the code. In any case the leaks are fixed and there is a lot less allocation happening. [Bug: 620] file: [def50f5d] check-in: [046d8f26] user: stanton branch: core-8-1-branch-old, size: 79367 | |
1998-11-20
| ||
02:36 | added ChangeLog fixed bad merge file: [f4ecc513] check-in: [78cccb81] user: stanton branch: core-8-1-branch-old, size: 80778 | |
1998-10-06
| ||
03:27 | merged 8.0.4 into 8.1 file: [7d231db4] check-in: [7c21bb1d] user: stanton branch: core-8-1-branch-old, size: 80781 | |
1998-09-30
| ||
02:19 | Deleted: Merged 8.0.3 changes into 8.1 check-in: [01d0cdfc] user: stanton branch: core-8-1-0-branch, size: 0 | |
02:15 | Merged 8.0.3 changes into 8.1 file: [826890b2] check-in: [0fa81ba1] user: stanton branch: core-8-1-branch-old, size: 80781 | |
1998-09-29
| ||
00:25 | initial tk8.1a2 version file: [0f9164dc] check-in: [644396f2] user: stanton branch: core-8-1-branch-old, size: 79785 | |
1998-09-14
| ||
18:22 | Replaced SCCS strings, fixed binary files file: [dbd4ba68] check-in: [fb58b663] user: stanton branch: trunk, size: 76100 | |
1998-08-04
| ||
18:52 | fixed bug in menus where bgerrors were not generated during menu callbacks fixed memory leak in menu code fixed Alt-key handling file: [49a2a80c] check-in: [b4452fa5] user: stanton branch: trunk, size: 76080 | |
1998-04-01
| ||
09:51 | Added: Initial revision file: [01bfe29f] check-in: [2bf55ca9] user: rjohnson branch: trunk, size: 74878 | |