Tk Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

158 check-ins using file generic/ttk/ttkTheme.c version ac9f4124

2020-05-22
08:40
Revert part of [27e083eed755bf65], which broke the Windows build. check-in: 63517ff1 user: jan.nijtmans tags: trunk
08:36
Minor compiler warning check-in: 862a73d9 user: jan.nijtmans tags: size-for-sel
2020-05-21
22:29
More progress check-in: 09125140 user: jan.nijtmans tags: size-for-sel
16:44
Use more size_t for *Sel*-related functions, in case compiling with Tcl 9 check-in: bfa73015 user: jan.nijtmans tags: size-for-sel
2020-05-20
23:02
Slightly biger "lenght" variables, in case we are using Tcl 9 check-in: d1a2a967 user: jan.nijtmans tags: trunk
19:19
Fix compiler warning: macOS string length is unsigned. check-in: 162f8167 user: culler tags: trunk
17:07
Merge 8.6. Protection done by TkUtfAtIndex() not needed here, because Tcl_UtfAtIndex() in Tcl 8.7 already does that. check-in: bb02803f user: jan.nijtmans tags: trunk
12:02
Make Tk on MacOS work (again) with Tcl 9. Remove two debug lines. check-in: b45512fc user: jan.nijtmans tags: trunk
2020-05-19
14:13
Merge 8.6 check-in: 2c57b4db user: jan.nijtmans tags: trunk
07:36
Fix some deprecation/unused parameter compiler warnings check-in: 27e083ee user: jan.nijtmans tags: trunk
2020-05-18
22:13
Merge 8.6 check-in: 93cd79b2 user: jan.nijtmans tags: trunk
21:08
Merge 8.6 check-in: a46e5678 user: jan.nijtmans tags: trunk
2020-05-17
22:25
Simplify Aqua text handling by moving encoding/decoding into the TKNSString class. check-in: 0ad0c3de user: culler tags: trunk
16:43
Accept RFE [d87dc2e43a] from Chrisopher Chavez: Remove unused Carbon-era macOS function TkMacOSXGetStringObjFromCFString(). check-in: 71024948 user: culler tags: trunk
16:42
Don't use trans_chars array on MacOSX any more. check-in: 009e3e09 user: culler tags: trunk
2020-05-16
18:31
Fix [40ada90762]: occasional Aqua crash when active button is destroyed - patch from Christopher Chavez. check-in: a9357218 user: marc_culler tags: trunk
17:57
Fix compiler errors and warnings on macOS 10.6 (Snow Leopard) check-in: f4a9831a user: culler tags: trunk
2020-05-15
13:08
Merge 8.6 check-in: c28cfa81 user: jan.nijtmans tags: trunk
2020-05-13
19:59
Make bind-34.1 pass on Debian 10 with KDE/Plasma by giving the WM a more complete setup for this test. check-in: 2ebdc58c user: fvogel tags: trunk
11:14
Merge 8.6 check-in: 355964cd user: jan.nijtmans tags: trunk
2020-05-12
22:32
Small adjustments to tkBind.c. Thanks, Francois check-in: ae711cc9 user: culler tags: trunk
17:58
Aqua: Fix an error in Tk_SetCaretPos. check-in: e3daeacd user: culler tags: trunk
16:28
Aqua: add semantic color systemLinkColor - patch from Christopher Chavez. check-in: 27af04b0 user: culler tags: trunk
16:14
Fix [d2a10a14a8]: Give mousewheel events their own flag and event struct; avoid unnecessary keysym lookups check-in: e800e548 user: culler tags: trunk
15:49
Fix [411359dc3b]: crashes and zombies on Macintosh computers with a TouchBar. check-in: 0b6e77ce user: culler tags: trunk
15:12
Fix [585584ad66]: On Aqua, keysyms are incomplete and inconsistent for generated events. Key event handling was completely reworked. check-in: 15a8ae97 user: culler tags: trunk
2020-05-09
12:41
Fix [88c9e0928b]: Treeview: wrong keyboard navigation with -selectmode none. Patch from Emiliano Gavilan. check-in: 702ebb7e user: fvogel tags: trunk
08:04
Add test treetags-4.8 exercising tag *deletion* (not tag removal) for a tag used by a cell. This test currently (expectedly) triggers an error since '.tree tag delete' is at this stage only a proposal (see TIP #574). When this proposal will be accepted and branch tip-574 be merged, treetags-4.8 will be here to confirm that tag deletion works with tagged cells, or to remind that the code needs changes in order to remove the tag from the cells using it before actually deleting this tag. check-in: 7438e411 user: fvogel tags: pspjuth-treeview
2020-05-08
16:04
A few cosmetic changes Closed-Leaf check-in: 69cfdac8 user: fvogel tags: bug-1bb2f1d7ab, tip-574
14:44
Add test treetags-1.11 testing [.tree tag delete]. Also remove old proc in since Tcl features this operator natively. By Emiliano Gavilan. check-in: 0585636a user: fvogel tags: bug-1bb2f1d7ab, tip-574
14:43
Fix [1bb2f1d7ab]: ttk::treeview doesn't delete tags. Patch from Emiliano Gavilan. check-in: 026c74c5 user: fvogel tags: bug-1bb2f1d7ab, tip-574
2020-05-07
02:04
Restore sheets in Mac file dialogs check-in: 9a619439 user: kevin_walzer tags: trunk
2020-05-05
18:05
Implement rfe [4cda3ff048]: more efficient conversion from Tcl UTF to NSString based on a suggestion by Christopher Chavez. check-in: 3c7ba230 user: culler tags: trunk
2020-05-01
12:01
Fix [cd8714756c]: Long lines of rotated text not printing correctly - MultiFontTextOut. Patch from Christopher Chavez. check-in: 22f641ad user: fvogel tags: trunk
11:57
Fix [2712f43f6e]: X11: crash for rotated text w/o Xft, and optimize text item drawing in canvas by skipping the drawing of empty unselected portions of text. Patch from Christopher Chavez. check-in: 488a7dc9 user: fvogel tags: trunk
2020-04-25
13:50
merge trunk (conflicts fixed) check-in: 0976e330 user: fvogel tags: pspjuth-treeview
12:32
Restore the build with MSVC after the C++ changes. check-in: a91c2341 user: fvogel tags: revised_text, tip-466
10:05
merge trunk check-in: 28e20a91 user: fvogel tags: revised_text, tip-466
09:54
Proceed with RFE [acde5a7641]: Add .gitignore file check-in: f7b8c43e user: fvogel tags: trunk
09:51
Fix [14188104c3]: ttk::treeview scrollbar not updating. Thanks to cjmcdonald for the report. The actually applied patch turned out to be different from the proposal since it could be demonstrated that the new testcases pass without the wrong line in TreeviewSeeCommand (and for understandable reasons). check-in: cf49dabd user: fvogel tags: trunk
09:43
Fix [3519111fff]: Problem with scroll in ttk check-in: ce490f07 user: fvogel tags: trunk
09:38
Fix [6e25fc7cc1]: widget demo: dark-mode friendly 'NEW' image. Patch from Christopher Chavez. check-in: 253201b5 user: fvogel tags: trunk
2020-04-17
13:49
Merge 8.6 check-in: fea18cf8 user: jan.nijtmans tags: trunk
2020-04-16
19:02
Fix misplaced parentheses and other errors in commit 61e70e0f. check-in: c970964a user: culler tags: trunk
2020-04-15
17:42
Apply a patch from Christopher Chavez which correctly deals with the fact that Apple uses the middle mouse button for Button 3. check-in: 2e9c357d user: culler tags: trunk
14:51
Fix [89354dae31]: Avoid clipping in Aqua TkpDrawCharsInContext. Clipping does not work and is also inefficient. check-in: 1b87ae92 user: culler tags: trunk
2020-04-14
22:12
Merge 8.6 check-in: c5e563ed user: jan.nijtmans tags: trunk
19:10
Fix [87bade7e14]: Aqua PressAndHold composition misbehaves. check-in: d6a43988 user: culler tags: trunk
2020-04-13
09:27
Merge 8.6 check-in: fced3457 user: jan.nijtmans tags: trunk
2020-04-10
21:24
Merge trunk check-in: 164f7f09 user: jan.nijtmans tags: death-to-dbgx
19:07
Fix [d72abe6b54]: Aqua toplevel receives button events when resizing. check-in: 5b4fb8bd user: culler tags: trunk
2020-04-07
07:36
Merge trunk check-in: f1a7052c user: jan.nijtmans tags: pspjuth-treeview
07:36
Merge trunk check-in: b46730ff user: jan.nijtmans tags: revised_text, tip-466
07:35
Merge trunk check-in: aac34d51 user: jan.nijtmans tags: keysym-unicode
2020-04-06
21:50
Merge 8.6 check-in: 97a40e98 user: jan.nijtmans tags: trunk
2020-04-04
19:26
close unintended fork check-in: b83942c3 user: fvogel tags: trunk
19:24
Fix [3134d697c8]: Reduce unnecessary code checks in canvas postscript code (patch from Emiliano Gavilan). check-in: 0d744101 user: fvogel tags: trunk
2020-04-03
15:14
Move handling of TkWinGetPlatformId() up in tclStubInit.c: It belongs with Tk_TranslateWinEvent/Tk_PointerEvent. A few typecasts, remedying gcc warnings on Win32 with C++. check-in: 972fff48 user: jan.nijtmans tags: trunk
13:01
Merge 8.6 check-in: 6d1edcce user: jan.nijtmans tags: trunk
02:11
Fix for efbedd5ff5, thanks to Christopher Chavez for patch check-in: 87ff1bd3 user: kevin_walzer tags: trunk
2020-04-02
14:05
Merge trunk check-in: 341da642 user: jan.nijtmans tags: keysym-unicode
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) check-in: fcaa0cdc user: jan.nijtmans tags: trunk
13:36
typo check-in: 93af3915 user: dgp tags: trunk
13:05
Supply CONSTified XkbOpenDisplay for X11 systems, needed when compiling with C++ compiler. check-in: 7e704ae0 user: jan.nijtmans tags: trunk
10:09
Merge 8.6 check-in: 4e192c81 user: jan.nijtmans tags: trunk
2020-04-01
19:15
CONSTify function XkbOpenDisplay(), and resolve conflict with definition in X11 check-in: 524a3182 user: jan.nijtmans tags: trunk
15:27
Merge trunk check-in: c519f417 user: jan.nijtmans tags: keysym-unicode
15:24
Merge trunk check-in: f809476b user: jan.nijtmans tags: revised_text, tip-466
15:23
Merge trunk check-in: 6fbc32e5 user: jan.nijtmans tags: stub-simplification
15:20
Merge 8.6 check-in: 2e56e84b user: jan.nijtmans tags: trunk
2020-03-31
15:14
Fix C++ build check-in: b6158c84 user: jan.nijtmans tags: trunk
2020-03-30
21:35
More WIP check-in: 9a8b1671 user: jan.nijtmans tags: stub-simplification
21:04
Merge trunk, more WIP check-in: 9070a4e0 user: jan.nijtmans tags: stub-simplification
12:49
Merge 8.6 check-in: 9b698222 user: jan.nijtmans tags: trunk
12:06
Merge trunk check-in: e4e38d38 user: jan.nijtmans tags: revised_text, tip-466
09:58
Merge 8.6 check-in: 33d41c1f user: jan.nijtmans tags: trunk
08:53
Merge 8.6 check-in: 9dbf1dd4 user: jan.nijtmans tags: trunk
2020-03-29
23:08
Avoid crash in identify element check-in: dcd2ac59 user: pspjuth tags: pspjuth-treeview
21:07
Handle -stripedbackground in cell tags check-in: 438a18ac user: pspjuth tags: pspjuth-treeview
20:23
Do not assume existance of elements check-in: 54b930f8 user: pspjuth tags: pspjuth-treeview
17:31
Fix [3134d697c8]: Reduce unnecessary code checks in canvas postscript code (patch from Emiliano Gavilan). Closed-Leaf check-in: 0e035f0e user: fvogel tags: bug-3134d697c8
14:22
WIP check-in: b1e4763c user: jan.nijtmans tags: stub-simplification
12:56
Fix [655fe2754f]: Tearoff menu labels cut off. check-in: 65c5b919 user: fvogel tags: trunk
09:43
Avoid failure of test treeview-rowheight-3 by checking there is an increase in the row height upon font size increase. The magnitude of this row height increase does not matter, and depends too much on the available fonts to be really testable. check-in: 027283ae user: fvogel tags: pspjuth-treeview
09:23
Further test naming fix check-in: ebe3976e user: fvogel tags: pspjuth-treeview
09:09
Fix duplicate test naming check-in: 27ccf90b user: fvogel tags: pspjuth-treeview
2020-03-28
19:30
Cell tags check-in: 92934ff1 user: pspjuth tags: pspjuth-treeview
15:49
Adapt rowheight to Cell as well check-in: cd37660f user: pspjuth tags: pspjuth-treeview
14:52
Tests and bugfix for rowheight adaption check-in: 8c633ae2 user: pspjuth tags: pspjuth-treeview
2020-03-27
22:42
Auto-adapt -rowheight check-in: f1a431f3 user: pspjuth tags: pspjuth-treeview
2020-03-25
20:54
Only do the preparation step once. check-in: e8820dba user: pspjuth tags: pspjuth-treeview
2020-03-24
07:59
Merge-mark check-in: 66313d21 user: jan.nijtmans tags: trunk
2020-03-22
23:04
Merge-mark check-in: cf7e72b6 user: jan.nijtmans tags: trunk
22:55
Fix [a010a249c7]: notebook-1.4 failures check-in: 325f72d3 user: jan.nijtmans tags: trunk
21:19
Imageanchor should work like image in tags. check-in: 6ae624a1 user: pspjuth tags: pspjuth-treeview
20:59
Merge trunk check-in: 7b6b43b2 user: jan.nijtmans tags: keysym-unicode
20:15
Restructure tags to only allow those that work, and are documented to work. check-in: 345baad7 user: pspjuth tags: pspjuth-treeview
19:20
Merge 8.6 check-in: 1ada8c86 user: jan.nijtmans tags: trunk
18:04
Structure the code for tree label drawing the same way as cell drawing. check-in: e2ede3f4 user: pspjuth tags: pspjuth-treeview
15:57
Make test identify-11 more robust against environment. check-in: f9dcbf8e user: pspjuth tags: pspjuth-treeview
08:37
Restore PASS for test treeview-identify-11, which turned to a FAILED in [399e961031]. check-in: fc36181a user: fvogel tags: pspjuth-treeview
08:17
Fix formatting, and respect alphabetical order in options list check-in: a3255eb4 user: fvogel tags: pspjuth-treeview
00:49
Restructured cell drawing check-in: d3c862c2 user: pspjuth tags: pspjuth-treeview
00:37
Refactored Cell ID handling. check-in: 2f2b05c9 user: pspjuth tags: pspjuth-treeview
2020-03-21
21:44
Remade how -striped is implemented. Using an option instead of a state. check-in: f5b3a0da user: pspjuth tags: pspjuth-treeview
2020-03-20
13:34
Merge trunk check-in: 70504b25 user: jan.nijtmans tags: keysym-unicode
13:27
Merge trunk check-in: 4abd1c1b user: jan.nijtmans tags: pspjuth-treeview
13:26
Merge 8.7 check-in: b2e6e967 user: jan.nijtmans tags: revised_text, tip-466
08:31
More usage of (internal) TkGetIntForIndex() function, and give this function an additional parameter "lastOK". This way, "end" doesn't need to be handled especially in other code places, all is centralized in this single functions. Only Ttk's "treeview" not done yet, since that requires handling a linked list in stead of an array. check-in: f164c265 user: jan.nijtmans tags: trunk
2020-03-19
16:33
Merge trunk check-in: df0d9c7e user: jan.nijtmans tags: pspjuth-treeview
10:17
Merge 8.6. More TCL_UNUSED() usage. check-in: c28b848e user: jan.nijtmans tags: trunk
00:29
Have a valid -id in tree column. This fixes a crash in previous cell selection commit. Fix memory leak in tree column. check-in: a2a09477 user: pspjuth tags: pspjuth-treeview
2020-03-18
16:20
More internal use of TkGetIntForIndex() function. check-in: 0ee03f81 user: jan.nijtmans tags: trunk
14:38
TIP 569 remove lint comments check-in: a31f1014 user: dgp tags: trunk
2020-03-17
21:51
Follow-up to [d9bda1d1]: Clamp "listbox index" values between -1 and (maximum) end+1 = the number of elements, which point to one more than the last emlement.... that's what other GUI elements are really doing too. Duh. check-in: 68091ead user: jan.nijtmans tags: trunk
09:12
Merge trunk check-in: 184f2ed0 user: jan.nijtmans tags: revised_text, tip-466
08:36
Another round of type-casts for ckalloc() calls. Makes C++ compilers even more happy. Mainly for MacOS code. check-in: 0efa6ec0 user: jan.nijtmans tags: trunk
07:49
Merge trunk check-in: 17b7dc29 user: jan.nijtmans tags: revised_text, tip-466
07:33
Replace stdbool.h by the llvm version. Suggested by Christian Gollwitzer for licence reasons. Thanks! Not actually used by Tk (yet). check-in: 09b488fb user: jan.nijtmans tags: trunk
00:18
close fork check-in: 1caab603 user: dgp tags: trunk
2020-03-16
23:33
Allow any columns to be in cell selection check-in: e3414938 user: pspjuth tags: pspjuth-treeview
23:05
Eliminate many more warnings on macOS, related to -Wextra check-in: 880c726a user: jan.nijtmans tags: trunk
22:37
Handle when titlecolumns > displaycolumns. Test this, and crash from previous commit. check-in: 399e9610 user: pspjuth tags: pspjuth-treeview
22:19
stifle compiler warnings check-in: 45f2acb1 user: dgp tags: trunk
21:37
Fix [50b5e64bccc1e3d0]: Broken Mac OSX build. Reverted part of [df3646cf656c2e3a] (not sure why this is wrong, works on UNIX but not MacOSX). To be investigated further, but for now this works. check-in: 9603c4e8 user: jan.nijtmans tags: trunk
21:06
Merge 8.6 check-in: 2e3410d6 user: jan.nijtmans tags: trunk
2020-03-15
16:57
Fix crash in DrawHeadings() when drawing the headings of the title columns. This crash happened if the number of display columns is less than -titlecolumns check-in: edb82472 user: fvogel tags: pspjuth-treeview
2020-03-12
21:09
Fix [2edd843def]: canvas postscript returns non empty string when -file or -channel is specified. Fix by Emiliano Gavilan. check-in: 7f84fc64 user: fvogel tags: trunk
20:55
Fix [08e2f8e6f0]: unable to change focus after prior selection of focus check-in: b31665c5 user: fvogel tags: trunk
10:10
Fix [3551802fff]: Use the Xkb API to simplify Tk's keyboard event handling check-in: a0fba3fd user: jan.nijtmans tags: trunk
2020-03-11
15:15
Merge trunk check-in: 6a77ea60 user: jan.nijtmans tags: revised_text, tip-466
15:14
Merge 8.6 check-in: 0d04b68a user: jan.nijtmans tags: trunk
13:47
Restore recent changes to tkMacOSXWm.c accidentally reverted with last commit check-in: a8eb1198 user: kevin_walzer tags: trunk
13:45
Merge trunk check-in: b52dd087 user: jan.nijtmans tags: revised_text, tip-466
13:03
Eliminate More C++-related warnings, when compiling against Tcl 9.0 headers. check-in: 0596f214 user: jan.nijtmans tags: trunk
10:39
Put back accidently commented-out part from ttkWinXPTheme.c check-in: 7e2a92ce user: jan.nijtmans tags: trunk
10:28
Make Tk compile using C++ against Tcl 9.0 headers. check-in: dd063056 user: jan.nijtmans tags: trunk
01:45
Fix for wm fullscreen attributes bit on macOS; thanks to Christopher Chavez for patch check-in: 9a6854d3 user: kevin_walzer tags: trunk
2020-03-10
15:09
Merge trunk. Fix C++ build. check-in: ec1e59f5 user: jan.nijtmans tags: pspjuth-treeview
15:01
More progress in making win32 build C++-ready. check-in: aa8cb35e user: jan.nijtmans tags: trunk
13:31
Merge trunk. Now warning-free except on MacOS. check-in: abe3ed6a user: jan.nijtmans tags: revised_text, tip-466
12:24
Merge 8.7. Also remove all traces of HAVE_XKBKEYCODETOKEYSYM (assumed to be 1) and XKEYCODETOKEYSYM_IS_DEPRECATED (not applicable any more) Closed-Leaf check-in: 2aab797b user: jan.nijtmans tags: bug-3551802fff
11:12
Merge-mark check-in: 696f9d35 user: jan.nijtmans tags: trunk
08:57
Add XkbKeycodeToKeysym() and XkbOpenDisplay() to the (Windows/MacOS) X11 stub table. No effect for UNIX. check-in: 5a30e307 user: jan.nijtmans tags: trunk
2020-03-09
23:06
Merge trunk check-in: 1258ad15 user: pspjuth tags: pspjuth-treeview
22:24
Finish for MacOS too Closed-Leaf check-in: 233abe90 user: jan.nijtmans tags: xkb
21:03
merge core-8-6-branch check-in: adb3ab84 user: fvogel tags: trunk
16:00
Merge 8.6 check-in: 05eabb5a user: jan.nijtmans tags: trunk
15:27
Add XkbOpenDisplay and XkbKeycodeToKeysym to X11 stub table. MacOS not done yet. check-in: 0f20d02a user: jan.nijtmans tags: xkb
2020-03-08
16:49
Instroduce TCL_UNUSED() macro, and use to make more -Wextra warnings disappear. check-in: 46de2340 user: jan.nijtmans tags: trunk
2020-03-06
08:50
Merge trunk. More C++ fixes. Should - at least - compile now, not yet warning-free. check-in: f4060470 user: jan.nijtmans tags: revised_text, tip-466
08:19
Merge trunk. More C++ fixes check-in: 08503fba user: jan.nijtmans tags: revised_text, tip-466
2020-03-05
22:15
Eliminate many -Wextra warnings check-in: ac625e2f user: jan.nijtmans tags: trunk
2020-03-04
12:24
Finalize the fix for ticket [382712ade65] (X11: 'event generate . <KeyPress>' segfault) by documenting the leftover consequence of the fix. check-in: 97b043e2 user: fvogel tags: trunk
2020-03-01
22:11
Fix many warnings in MacOSX build (caused by -Wextra -Wc++-compat). All harmless. Not finished yet. check-in: b8b2f140 user: jan.nijtmans tags: trunk
21:35
Merge trunk. C++ fixes not finished yet (C++ compile will still fail) check-in: 2e62f136 user: jan.nijtmans tags: revised_text, tip-466
2020-02-28
12:05
Implement TIP #557: C++ support for Tcl check-in: 5da24ae4 user: jan.nijtmans tags: trunk
2020-02-26
10:13
Merge trunk Closed-Leaf check-in: 138b5f20 user: jan.nijtmans tags: cplusplus