Tk Source Code

Timeline
Login

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

273 check-ins using file tests/text.test version 7afbbed9

2019-10-27
10:58
Cherrypick [82b1d286] (Fix [cc6c711c1e]: treeview layout issues (patch from Brad Lanam)) check-in: 14c6efd1 user: fvogel tags: bug-ce470f20fd, bug-cc6c711c1e
2019-06-03
18:59
Fix bug [9ebc6fd168]: Aqua can report incorrect mouse coordinates. Closed-Leaf check-in: 6ebb742a user: culler tags: bug-9ebc6fd168
2019-06-01
18:11
In aqua, add contrasting field backgrounds and focus rings to dark mode ttk::entry widgets. check-in: 55f9f7b5 user: culler tags: core-8-6-branch
03:30
Fix bug [817d3ef132]: Aqua ttk::entry needs contrasting field background and focus ring in dark mode. Closed-Leaf check-in: b5497be5 user: culler tags: bug-817d3ef132
2019-05-29
13:38
Merge core-8-6-branch. Leaf check-in: 7d8f0c14 user: culler tags: bug-06f3922f8b
2019-05-27
21:13
Merge 8.5 check-in: d7d2f71f user: jan.nijtmans tags: core-8-6-branch
2019-05-26
21:07
Fix error in the spelling of the Windows windowingsystem introduced in [02ca3773] check-in: 7a378858 user: fvogel tags: core-8-6-branch
21:02
Cleanup to avoid bad interaction between recently added treeview tests check-in: 811a69ce user: fvogel tags: core-8-6-branch
19:10
Fix [ce470f20fd]: ttk::treeview has column dragging issues check-in: 0e9cbdba user: fvogel tags: core-8-6-branch
19:05
Fix [2a6c62afd9] - <<TreeviewSelect>> does not fire on item delete check-in: 99f5f2a6 user: fvogel tags: core-8-6-branch
18:38
Merge implementation of TIP #541 following positive vote by the TCT. check-in: ab1ef117 user: fvogel tags: core-8-6-branch
2019-05-25
17:29
Partial fix of bug [67384bce7d]: change expected result of winfo-13.2. Also disable test of unimplemented TkpRedirectKeyEvent check-in: 02ca3773 user: culler tags: core-8-6-branch
2019-05-24
21:55
Tweak test image-7.1. check-in: 0ed60e17 user: culler tags: core-8-6-branch
21:18
Improve image testing for Aqua check-in: d326a1b3 user: culler tags: core-8-6-branch
12:55
Fix bug [67384bce7d]: make winfo-13.2 expect the container to be destroyed in aqua and unix. Also disable unixEmbed-7.1a in aqua since TkpRedirectKeyEvent is not implemented. Closed-Leaf check-in: eb06c63e user: culler tags: bug-67384bce7d
2019-05-23
14:21
Wait more carefully, since no wait is needed for Windows or linux. Closed-Leaf check-in: ba19b270 user: culler tags: aqua_image_tests
2019-05-21
19:49
Use vwait with a timeout to wait for test image display, as suggested by dkf. check-in: 36f8fe9d user: culler tags: aqua_image_tests
18:29
On OSX 10.13 and earlier a different strategy is needed. check-in: f10e8636 user: culler tags: aqua_image_tests
16:26
Sometimes update is not enough, and you just have to wait. check-in: ec9ca061 user: culler tags: aqua_image_tests
14:47
Rework image testing to better deal with Aqua check-in: d8b251e8 user: culler tags: aqua_image_tests
2019-05-20
21:23
In Aqua, make XUnmapWindow also redraw the toplevel. Edit a comment in tkTest.c. check-in: 78a3bdc4 user: culler tags: core-8-6-branch
13:21
Edited README. Closed-Leaf check-in: a5d55621 user: culler tags: mac_services
02:33
Add documentation on testing Mac services to README; remove obsolete detail from README; remove stub procedure for ::tk::mac::PerformService now that we have verified it works, to be consistent with other Mac-spdecific procedures such as ::tk::mac::OpenDocument check-in: 356d52c7 user: kevin_walzer tags: mac_services
2019-05-18
15:44
Fix [eb29967e88]: Add horizontal scrolling support for Windows. Patch from Christopher Chavez. check-in: d1b3d2ac user: fvogel tags: core-8-6-branch
13:05
Finally got timing of initializing NSServices object correct; code cleanup; merge in 8.6 to pick up changes in Tk initialization code check-in: f126b00e user: kevin_walzer tags: mac_services
2019-05-17
17:18
Change .ext extension into .aaa in winDialog.test since some corporate policies forbid .ext extension. See https://core.tcl-lang.org/tcl/tktview/cc74e50996e20cbb6a851087b36c52eb75526aa4 check-in: 06fb23d8 user: fvogel tags: core-8-6-branch
13:42
Migrate away from TCL_INTERP_DESTROYED (TIP 543). check-in: 1c5f7e98 user: dgp tags: core-8-6-branch
12:38
In Aqua, protect against double release of clipping regions. check-in: 1304e06d user: culler tags: core-8-6-branch
07:21
Add missing INT2PTR (doesn't cause warning with Tcl8.x, but does with Tcl 9.0). One None -> NULL change which was still missing. Backported from trunk. check-in: 777211ed user: jan.nijtmans tags: core-8-6-branch
03:13
Code and data type cleanup, thanks to Marc Culler for patch check-in: a7e34ff9 user: kevin_walzer tags: mac_services
2019-05-16
19:54
Fix bug [d1989fb7cf]: In Aqua the root window appears before Tk_Mainloop is called. check-in: 364c9099 user: culler tags: core-8-6-branch
13:03
In Aqua, draw dark mode menubuttons as inactive, as is done for buttons. This makes them imperfect, but usable. This is the best we can do as long as HITheme is used for drawing. For correct appearance use ttk::menubutton. check-in: 256af6d0 user: culler tags: core-8-6-branch
2019-05-15
20:02
Make new tests more robust against context. check-in: 2bdcb4be user: dgp tags: core-8-6-branch
19:33
Revised bug fix for [5d991b822e]. check-in: afbac00c user: dgp tags: core-8-6-branch
16:55
fix bug [d1989fb7cf]: Root window appears before Tk_Mainloop is called. Closed-Leaf check-in: 9e9a9189 user: culler tags: bug-d1989fb7cf
09:51
Merge 8.6. Some tweaks, e.g. "bool" -> "int", "true" -> 1, "false" -> 0 check-in: f8e41738 user: jan.nijtmans tags: bug6e8afe516d, tip-532
2019-05-14
21:25
Refine test treeview-8.7 by also checking that deleting an unselected item does NOT fire <<TreeviewSelect>> check-in: 6c51007f user: fvogel tags: bug-2a6c62afd9
20:50
Add tests for <<TreeviewSelect>>. treeview-8.6 already passed ; treeview-8.7 passes in this bugfix branch only check-in: e4000f37 user: fvogel tags: bug-2a6c62afd9
20:48
Fix [2a6c62afd9] - <<TreeviewSelect>> does not fire on item delete check-in: 1ce97bf4 user: fvogel tags: bug-2a6c62afd9
2019-05-13
09:26
Fix [caa8cb25a8]: spelling fix in comment of tkMenuDraw.c check-in: 23c39bb0 user: fvogel tags: core-8-6-branch
2019-05-12
02:03
Restore deprecated call to NSPasteboardTypeString in writeSelectiontoPasteboard because it breaks sending data to the services menu. Data type must be identical in this call and in the NSSendTypes key in info.plist; we cannot do a clever mapping here of the old type to a new one because the info.plist does not have this kind of conditional reading on different versions of macOS. We will have to live with the deprecated call until it is obsolete/removed altogether by Apple. check-in: 42577ce4 user: kevin_walzer tags: mac_services
00:55
More tweaking check-in: cad8b6d0 user: kevin_walzer tags: mac_services
00:54
Tweak merge check-in: a2c1b38b user: kevin_walzer tags: mac_services
00:45
Clean up merge check-in: 40a5ae7c user: kevin_walzer tags: mac_services
00:42
Merge in core-8-6-branch check-in: 056f4a08 user: kevin_walzer tags: mac_services
2019-05-11
15:34
Revert irrelevant blank changes Closed-Leaf check-in: f922d6fc user: fvogel tags: bug-c8ccd1899c
10:59
Reset ::tk::Priv(textPosOrig) when hitting the start or end of displayed text, so that when moving back the cursor does not jump in the middle of the line. check-in: 8350193f user: fvogel tags: bug-c8ccd1899c
2019-05-09
20:50
François Vogel review (thanks!). Streamline UNIX defaults with MAC/WIN defaults. check-in: 374dc40e user: jan.nijtmans tags: core-8-6-branch
15:21
Whitespace cleanup, syncronize a little with "trunk" version. check-in: 84e2b4b3 user: jan.nijtmans tags: core-8-6-branch
09:14
Improve clarity and completeness of ttk::treeview man page for columns options check-in: fc1fba61 user: fvogel tags: bug-ce470f20fd
09:12
Fix bug when dragging a column separator: when columns at the right of the separator are not stretchable, use their width instead of their minwidth to compute the maximum x drag position. This prevents the user from resizing columns such that the treeview would no longer fit in its allotted width. check-in: dad03527 user: fvogel tags: bug-ce470f20fd
2019-05-08
12:40
Remove ASSERT: SLACKINVARIANT comments check-in: 6018777a user: fvogel tags: bug-ce470f20fd
12:21
Add treeview tests checking for non-regression (the last added test already passed in core-8-6-branch) check-in: 320f78e4 user: fvogel tags: bug-ce470f20fd
10:14
When changing the -stretch value for a column, columns size must be recomputed before the treeview is redisplayed (at idle time) check-in: f2ef1f87 user: fvogel tags: bug-ce470f20fd
08:48
Fix [51b4b18394]: mac os x: combobox.tcl has old scrollbar for its listbox check-in: a71e8712 user: fvogel tags: core-8-6-branch
08:40
Fix [2513186fff], [f9343d8f72] and [8261c517af]: ttk scrolling (xview/yview commands) is incorrect until idle tasks are run check-in: 44d88741 user: fvogel tags: core-8-6-branch
2019-05-05
19:51
Fix [1ff193f1e3]: improve documentation for ttk::scrollbar check-in: 623d8a97 user: fvogel tags: core-8-6-branch
2019-05-04
13:19
Revert [d70ef6ed] and [fa9b6483]. ttk::treeview again allows dragging the right edge of the rightmost heading, which is not special in any respect. check-in: 9b8a2f32 user: fvogel tags: bug-ce470f20fd
13:16
ttk::treeview: when there is at least one stretchable column then there should be no slack at the right (slack should be distributed among the stretchable columns) check-in: 4740a71b user: fvogel tags: bug-ce470f20fd
2019-05-03
20:48
Fix [2858503fff]: 'end' index for ttk::combobox current Closed-Leaf check-in: 2e610c43 user: fvogel tags: bug-2858503fff, tip-541
19:51
Fix class name in ttk::scale man page (this copy/paste error was introduced in [d0576d63ff]) check-in: fa915533 user: fvogel tags: core-8-6-branch
19:49
Remove wrong info from ttk::scrollbar man page Closed-Leaf check-in: a87c0606 user: fvogel tags: bug-1ff193f1e3
06:44
ttk::scrollbar documentation: marked -sliderlength as depreciated as it has no effect check-in: a3d740e3 user: oehhar tags: bug-1ff193f1e3
2019-05-02
20:55
Homogenize with existing doc for -gripcount in the man page for ttk::panedwindow check-in: 92da9c5b user: fvogel tags: bug-1ff193f1e3
16:00
ttk::scrollbar documentation: added styling options -gripcound and -sliderlength and some explanatory text check-in: b7023710 user: oehhar tags: bug-1ff193f1e3
01:35
Revert some calls to support building on older systems check-in: 6e6b5d8c user: kevin_walzer tags: mac_services
2019-05-01
18:30
Fix [51b4b18394]: mac os x: combobox.tcl has old scrollbar for its listbox Closed-Leaf check-in: b7fe577c user: fvogel tags: bug-51b4b18394
12:45
Remove some deprecated calls check-in: a7a55e1b user: kevin_walzer tags: mac_services
01:59
Removal of needlessly large buffer for services script, thanks to Marc Culler for patch check-in: 07162240 user: kevin_walzer tags: mac_services
01:43
Remove unnecessary call to Button1-Release in text widget check-in: 432d6fa9 user: kevin_walzer tags: mac_services
2019-04-30
17:54
Refine documentation in ttk::scrollbar check-in: aba4b7df user: fvogel tags: bug-1ff193f1e3
17:28
Fix [4f9a99e20b]: crash when specifying wrong -syssize option in ttk::style element create ... vsapi check-in: a9542402 user: fvogel tags: core-8-6-branch
11:40
Automatically bind text, entry, ttk::entry widgets to Services API at widget creation/mapping; re-work data mechanism to use selection rather than clipboard API, thanks to Marc Culler for that insight check-in: 52287ff4 user: kevin_walzer tags: mac_services
06:03
Add missing documentation for -arrowsize in ttk::scrollbar and ttk::combobox man pages. check-in: b86ecfb2 user: fvogel tags: bug-1ff193f1e3
2019-04-29
20:10
Fix [1ff193f1e3]: style name is Horizontal.TScrollbar or Vertical.TScrollbar in ttk::scrollbar documentation check-in: 7953fa28 user: fvogel tags: bug-1ff193f1e3
06:20
Fix [eb29967e88]: Add horizontal scrolling support for Windows. Patch from Christopher Chavez. Closed-Leaf check-in: b478037a user: fvogel tags: bug-eb29967e88
2019-04-28
20:27
Fix inconsistency in the Tk_GetScrollInfoObj man page. Apparently this was a leftover from [a99dde78] Closed-Leaf check-in: a125fddd user: fvogel tags: bug-2513186fff, bug-8261c517af
20:12
Fix typo in man page check-in: 6ae2a54f user: fvogel tags: bug-2513186fff, bug-8261c517af
19:27
Fix documentation for xview/yview: make it generic and available for ttk::entry and ttk::treeview check-in: 04d2ba1c user: fvogel tags: bug-2513186fff, bug-8261c517af
16:17
Fix [6286fda787]: unix: checkbutton -selectcolor not restored properly when changed in -command. Patch by ralfixx check-in: f916116a user: fvogel tags: core-8-6-branch
14:34
Add tests checking the scroll info correct update when xview / yview is called. All the new (or modified) tests fail in core-8-6-branch. check-in: 605f5da4 user: fvogel tags: bug-2513186fff, bug-8261c517af
13:57
Fix '.e index @'. The returned answer could be wrong if the scroll info was not yet updated. check-in: f31e1037 user: fvogel tags: bug-2513186fff, bug-8261c517af
12:52
Factorize the code a bit, and avoid calling the layoutProc twice when calling xview moveto|units|pages. check-in: 159f9459 user: fvogel tags: bug-2513186fff, bug-8261c517af
10:45
Add a missing scroll info update needed to make x|yview moveto|units|pages work without an update idletasks call beforehand. check-in: 231587eb user: fvogel tags: bug-2513186fff, bug-8261c517af
2019-04-27
15:55
Revert irrelevant blank changes check-in: 6ac14e0c user: fvogel tags: bug-2513186fff, bug-8261c517af
15:49
More generic fix, for [8261c517af] and [2513186fff]. check-in: bc932da8 user: fvogel tags: bug-2513186fff, bug-8261c517af
2019-04-26
22:02
Write code more consistently with the rest of the ttkEntry.c file check-in: d5b120db user: fvogel tags: bug-2513186fff, bug-8261c517af
21:11
Optimize the fix: the layout calculation is only needed if the display is out of date. check-in: 5e1833a4 user: fvogel tags: bug-2513186fff, bug-8261c517af
2019-04-25
18:16
Fix textWind.test: make sure that the test window is mapped before running tests (needed on macOS). check-in: 24b987ca user: culler tags: core-8-6-branch
2019-04-24
18:05
merge core-8-6-branch check-in: 50f5b3f1 user: culler tags: bug-06f3922f8b
17:35
Fix bug [1001070]: make labels use -highlightbackground check-in: 6a50c7c3 user: culler tags: core-8-6-branch
17:00
Fix [9286526144]: adjust position of ttk::menubutton menus and streamline code. check-in: 9adb3eb2 user: culler tags: core-8-6-branch
16:04
Fix bug [4d2e8d4d5c]: Aqua notebooks sometimes do not draw a new pane immediately check-in: f656b303 user: culler tags: core-8-6-branch
15:52
Fix bug [4d2e8d4d5c]: Aqua notebooks sometimes do not draw a new pane immediately Closed-Leaf check-in: b1645f5c user: culler tags: bug-4d2e8d4d5c
03:27
Tweak text widget bindings to fire Services menu more consistently; formatting cleanup; thanks to Marc Culler for user feedback and patch for formatting check-in: 1c685607 user: kevin_walzer tags: mac_services
2019-04-22
22:09
Fix [2513186fff] and [f9343d8f72]: ttk::entry xview sub-command forces use of update idletasks. Thanks to cjmcdonald. check-in: b6f1c7d8 user: fvogel tags: bug-2513186fff, bug-8261c517af
2019-04-20
15:03
On macOS, edit comments and documentation; fix compiler warnings. check-in: 476cf7ba user: culler tags: core-8-6-branch
03:40
On macOS, squelch more availability warnings. Fix a hard to find bug [40ada90762] which could sometimes cause a segfault. check-in: 663e4bc3 user: culler tags: core-8-6-branch
2019-04-19
21:01
Fix [6286fda787]: unix: checkbutton -selectcolor not restored properly when changed in -command. Patch by ralfixx Closed-Leaf check-in: 9bc87fc2 user: fvogel tags: bug-6286fda787
19:03
Put the brace outside the #endif where it belongs. check-in: a3572e7e user: culler tags: core-8-6-branch
14:40
Fine tune aqua ttk colors. Fix availability errors introduced in 6cafd6f7. check-in: d26b28ae user: culler tags: core-8-6-branch
14:07
Document what's happening with this bugfix and optimize (exit the while loop early). check-in: 17c9a532 user: fvogel tags: bug-c8ccd1899c
09:13
Fix [368fa4561e]: ttk::treeview open/closed indicators can be toggled while hidden check-in: 785e2cdd user: fvogel tags: core-8-6-branch
07:16
Some things must be conditionally compiled. Really. check-in: fa3bcce5 user: dkf tags: core-8-6-branch
2019-04-18
16:13
Eliminate the confusing conditional code from ttkMacOSXTheme.c. check-in: 13d3827f user: culler tags: core-8-6-branch
2019-04-17
21:06
Restore code ordering which avoids unused function warnings in old systems. check-in: 6f6cccd8 user: culler tags: core-8-6-branch
20:41
Clean up formatting in ttkMacOSXTheme.c. check-in: f160541f user: culler tags: core-8-6-branch
15:02
Adjust some whitespace. check-in: 2db3de5b user: culler tags: core-8-6-branch
14:30
Add a couple of blank lines. check-in: 3a29febb user: culler tags: core-8-6-branch
14:05
Mitigate future merge conflict headaches. check-in: 764eaf89 user: culler tags: core-8-6-branch
2019-04-16
20:43
Possibly fix bug [06f3922f8b]: Aqua generates more expose events than necessary. check-in: d741ac0a user: culler tags: bug-06f3922f8b
2019-04-15
20:48
Adjust conditional code to fix compiler warnings on macOS 10.9. check-in: e3a0be7d user: culler tags: core-8-6-branch
19:31
Less intrusive fix for test frame-3.9. check-in: 8bf55739 user: culler tags: core-8-6-branch
18:05
Add missing blank line. check-in: 5cfc85f1 user: culler tags: core-8-6-branch
18:00
For Aqua, simulate systemWindowBackgroundColor in older OS versions. Adjust conditional code and formatting. check-in: e9653715 user: culler tags: core-8-6-branch
2019-04-14
22:21
Implement "tk::unsupported::MacWindowStyle isdark" to determine whether an Aqua toplevel is currently being displayed in Dark Mode. check-in: 5760a649 user: culler tags: core-8-6-branch
20:23
Since we are here, also add test textIndex-19.12.2 checking for past end of text results in '+ n displaylines' calculations. This one does does not fail in core-8-6-branch (contrary to textIndex-19.12.1). Note to self: in revised_text the test should check 'end' instead of 'end - 1 c'. check-in: cd0d3150 user: fvogel tags: bug-c8ccd1899c
20:14
Add test textIndex-19.12.1 checking for regressions regarding the '1.5 - n displaylines' fix [4384effe] check-in: c9056d7e user: fvogel tags: bug-c8ccd1899c
20:01
For Aqua, add systemControlAccentColor; simulate the color for older systems. check-in: 035a663b user: culler tags: core-8-6-branch
19:55
Remove the guard code in proc ::tk::TextUpDownLine in order to get the behavior requested in [c8ccd1899c] check-in: 060f3bcd user: fvogel tags: bug-c8ccd1899c
19:49
Ticket [c8ccd1899c]. Make the guard code in proc ::tk::TextUpDownLine work as intended when moving the cursor downwards. Also, fix the bug in the index returned by the displayline modifier: the first displayed index shall be returned when the index calculated by the displayline modifier would be before the start of the displayed text. check-in: 4384effe user: fvogel tags: bug-c8ccd1899c
17:29
For Aqua, rename systemTtkBackground to systemWindowBackgroundColor to match the NSColor name. Document the new colors. check-in: 81663a71 user: culler tags: core-8-6-branch
2019-04-13
20:54
Add test treeview-ce470f20fd checking for non-regression regarding [ce470f20fd] check-in: 8d02368f user: fvogel tags: bug-ce470f20fd
16:44
Add test treeview-368fa4561e checking for non-regression regarding [368fa4561e] Closed-Leaf check-in: b86210c0 user: fvogel tags: bug-368fa4561e
16:27
Doc tweak for frames and toplevels check-in: f9ca9f6f user: dkf tags: core-8-6-branch
11:39
Fix another issue reported in [ce470f20fd]: dragging of separators shall not be allowed to escape out of the treeview area. check-in: 63193647 user: fvogel tags: bug-ce470f20fd
2019-04-12
22:25
Added note that ttk::frames aren't interactive by default. check-in: d6baeeba user: dkf tags: core-8-6-branch
21:10
Adjust for the new ttk widgets. Closed-Leaf check-in: dfc6d766 user: culler tags: bug-9286526144
19:06
Add update calls in frame.test for consistent results in OSX 10.12-10.14. check-in: 1d730337 user: culler tags: core-8-6-branch
16:50
Fix the build for OSX 10.9 (Mavericks) check-in: 5fee17fc user: culler tags: core-8-6-branch
15:49
Fix the build for OSX 10.6 (Snow Leopard). check-in: 515d1655 user: culler tags: core-8-6-branch
2019-04-11
21:00
Fix indentation check-in: d70ef6ed user: fvogel tags: bug-ce470f20fd
20:55
Fix [ce470f20fd]: ttk::treeview allows dragging the right edge of the rightmost heading check-in: fa9b6483 user: fvogel tags: bug-ce470f20fd
14:14
Remove a call to NSView.setNeedsDisplay which was meant to fix [4d2e8d4d5c] but does not. check-in: 0ec4df71 user: culler tags: core-8-6-branch
13:43
Add the formatting changes and conditional code for OSX 10.12 to core-8-6-branch. check-in: cdde540c user: culler tags: core-8-6-branch
04:39
Support for Apple's Dark Mode and many improvements to the Aqua theme. check-in: c1f5badf user: culler tags: core-8-6-branch
03:47
Synchronize the generic tk headers with core-8-6-branch. Closed-Leaf check-in: 3e1f7d42 user: culler tags: bug-0d63621b6c
2019-04-10
19:50
Fix [368fa4561e]: ttk::treeview open/closed indicators can be toggled while hidden check-in: f8bab95d user: fvogel tags: bug-368fa4561e
19:41
Remove unused variable. check-in: 80139471 user: culler tags: bug-0d63621b6c
18:47
Make -fieldbackground work for ttk::entry and ttk::spinbox, but retain the old behavior of -background if -fieldbackground is not specified. check-in: 8dff9217 user: culler tags: bug-0d63621b6c
02:08
Update README. check-in: d3cd608c user: culler tags: bug-0d63621b6c
2019-04-08
21:20
Put new fields always at the end of struct TkWindow, so existing fields keep the same offset in the struct: We don't want to recompile Tk extensions using tkInt.h directly .... check-in: b647e4c0 user: jan.nijtmans tags: core-8-6-branch
19:19
Make Treeview headings look correct in both light and dark modes. Make ordinary ttk widgets respond to dark mode by using semantic color defaults. check-in: deabc595 user: culler tags: bug-0d63621b6c
13:06
unbreak the header check-in: 685554ee user: dgp tags: core-8-6-branch
2019-04-07
08:55
Better test descriptions for the new tests in grid.test check-in: 0acfbade user: fvogel tags: core-8-6-branch
08:54
Better test descriptions for the new tests in grid.test Closed-Leaf check-in: dfa77644 user: fvogel tags: bug-897ffea89f
2019-04-06
21:38
Fix bug [897ffea89f]: Tk allows management loops. Provide access to a window's geometry manager. check-in: 07ff4144 user: culler tags: core-8-6-branch
20:06
Rename Tk_GetGeomMaster to TkGetGeomMaster and remove extraneous call to Unlink in tkPack.c. check-in: 06f37d81 user: culler tags: bug-897ffea89f
05:13
Added a drawing procedure for Entry widgets in dark mode. check-in: 755317a1 user: culler tags: bug-0d63621b6c
2019-04-05
21:17
Let the branch compile with MSVC. check-in: 2da98a74 user: fvogel tags: bug-897ffea89f
20:28
Remove debugging commands accidentally left in the new tests check-in: 95627809 user: culler tags: bug-897ffea89f
19:55
Fix bug [897ffea89f]: Tk allows management loops check-in: d75db00c user: culler tags: bug-897ffea89f
2019-04-04
17:02
Rework how contrasting backgrounds are handled. check-in: 52b6fda6 user: culler tags: bug-0d63621b6c
2019-04-02
18:48
Really sync with geom-master-slave. check-in: db2eeb2c user: culler tags: bug-0d63621b6c
17:47
Sync with geom-master-slave. check-in: 89d7d836 user: culler tags: bug-0d63621b6c
2019-04-01
17:18
Oops. Following those underscore conventions is tricky. check-in: 1d7c6c85 user: culler tags: bug-0d63621b6c
15:03
Use geometry masters, not parents, to find the nesting depth. check-in: 5442d6af user: culler tags: bug-0d63621b6c
2019-03-31
16:34
Fix indentation. Closed-Leaf check-in: 2d32a31a user: culler tags: bug-1001070
16:33
Make menubuttons honor the -highlightcolor option on macOS. check-in: 55013bd1 user: culler tags: bug-1001070
14:43
*Really* don't change the behavior for *buttons, even with they have -default active check-in: adf48193 user: fvogel tags: bug-1001070
14:34
Restore behavior of checkbuttons and radiobuttons on Windows. They again do not take -highlightbackground into account, in an attempt to follow platform specific conventions. The code now only changes this for labels. check-in: f1c0ab90 user: fvogel tags: bug-1001070
14:09
Fix [da3914eba2]: 'identify element' on ttk::treeview does not identify images added via 'insert ... -image ...' check-in: cfe9dcf7 user: fvogel tags: core-8-6-branch
13:56
Fix [c9887a1fc9]: Trailing zeros on scale widget ticks. The fix was subject of TIP #535 which was accepted through TCT vote. check-in: 04e6c97d user: fvogel tags: core-8-6-branch
12:52
Make labels, checkbuttons and radiobuttons honor -highlightbackground and -highlightcolor options on Windows. check-in: 3a96d3de user: fvogel tags: bug-1001070
11:01
Remove an unused variable, squelching a compiler warning. check-in: ffb39c14 user: fvogel tags: bug-1001070
2019-03-30
19:40
Remove extraneous CGContextSaveGState with no matching CGContextRestoreGState. check-in: bae24649 user: culler tags: bug-0d63621b6c
18:46
Added missing map for the Treeview background in selected state. check-in: 1074d43f user: culler tags: bug-0d63621b6c
17:29
Correctly distinguish between -highlightcolor and -highlightbackground and revert unnecessary changes to the label manual. check-in: e1ebc0a5 user: culler tags: bug-1001070
17:00
Fix [da3914eba2]: 'identify element' on ttk::treeview does not identify images added via 'insert ... -image ...' Closed-Leaf check-in: e253671c user: fvogel tags: bug-da3914eba2
14:26
Keep It Safe and Simple. Just draw the border. Do not use tkUnix3d.c. Also update the manual to document this behavior. check-in: c1956ebf user: culler tags: bug-1001070
2019-03-29
22:05
Cross-reference UnixBorder structs in different files. check-in: 4c2d3b07 user: fvogel tags: bug-1001070
21:38
Fix bug [1001070]: Aqua labels do not display highlight background. check-in: e329b49d user: culler tags: bug-1001070
19:57
Add calls to TkpInitKeymapInfo() during initialization. Taken from extended bind patch. check-in: 508a5d70 user: jan.nijtmans tags: core-8-6-branch
19:40
Merge 8.6 check-in: fd419d47 user: jan.nijtmans tags: bug6e8afe516d, tip-532
17:37
Added a comment. check-in: cc87e3a3 user: culler tags: bug-0d63621b6c
17:24
Added a drawing procedure for Spinboxes in Dark Mode. check-in: ccb69d7c user: culler tags: bug-0d63621b6c
14:46
Make the ttk::spinbutton text field work correctly in Dark Mode. check-in: 7c7664da user: culler tags: bug-0d63621b6c
14:23
Fix bug [2219588]: ttk::spinbox arrow buttons do not indicate pressed state. check-in: 981aacf4 user: culler tags: bug-0d63621b6c
2019-03-28
21:46
Reworked the drawing procedure for ttk::scrollbar and made it work in Dark Mode and on Snow Leopard. check-in: e34596eb user: culler tags: bug-0d63621b6c
19:34
Revert previous commit following discussion on tcl-core list. Closed-Leaf check-in: e1b2b9ca user: fvogel tags: scale-tick-format
2019-03-27
19:11
Implemented a real ttk::scrollbar for Aqua. check-in: c2fa11ec user: culler tags: bug-0d63621b6c
12:02
Update documentation for new commands check-in: ccb8e3b8 user: kevin_walzer tags: mac_services
2019-03-26
18:11
Added a drawing procedure for dark mode comboboxes. check-in: e3218208 user: culler tags: bug-0d63621b6c
16:06
Add a few more semantic colors to make ttk::Entry and ttk::Treeview work in dark mode. check-in: 18cd2fd9 user: culler tags: bug-0d63621b6c
07:14
Change TICK_VALUES_DISPLAY_ACCURACY for the more correct word TICK_VALUES_DISPLAY_PRECISION check-in: 3054d74b user: fvogel tags: scale-tick-format
2019-03-25
15:50
Fix bug [48c39440af]: On macOS, Buttons and Labels do not recompute their textLayout when the text option is set to an empty string. check-in: 48e11462 user: culler tags: core-8-6-branch
2019-03-24
20:20
Name the TICK_VALUES_DISPLAY_ACCURACY constant check-in: 677a7466 user: fvogel tags: scale-tick-format
12:31
Minor tinkering (style, efficiency, etc.) check-in: 891122e5 user: dkf tags: scale-tick-format
2019-03-22
14:15
Slightly better: Don't use Tcl_UniCharLen() but wcslen(). check-in: 0727d15c user: jan.nijtmans tags: core-8-6-branch
14:13
Bugfix in tkWinClipboard: Failed to determine fname length in loop. check-in: 7117a7af user: jan.nijtmans tags: core-8-6-branch
2019-03-21
14:49
Make top and bottom button padding equal, even when the suggested total vertical padding is odd. check-in: 36ad669d user: culler tags: bug-0d63621b6c
2019-03-20
20:05
Avoid caching semantic colors so they will respond to appearance changes when used, e.g, in a canvas. check-in: 8e2c2878 user: culler tags: bug-0d63621b6c
19:11
Restore line that was accidentally deleted. check-in: 7c0b1952 user: culler tags: bug-0d63621b6c
18:46
The systemTtkBackground color should be an NSColor too. check-in: 1c2d61b1 user: culler tags: bug-0d63621b6c
15:15
Fix text layout issue for ttk::button by setting minWidth to 0. Button text was not being centered as requested by -anchor center. check-in: d411aacd user: culler tags: bug-0d63621b6c
2019-03-19
22:25
Fixed a typo that was causing extraneous "tkwin == NULL" debug messages in the mac regression tests. check-in: 79c6dea3 user: culler tags: core-8-6-branch
18:33
Rename variables and reorganize to clarify how Ttk and HITheme interact. check-in: 8c300fa8 user: culler tags: bug-0d63621b6c
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) check-in: d6528cb0 user: jan.nijtmans tags: core-8-6-branch
02:04
Fix error handling for MacWindowStyle appearance and tabbingid. check-in: 8295c0c8 user: culler tags: bug-0d63621b6c
2019-03-18
17:39
Patched up the combobox behavior, without a special drawing procedure for Dark Mode. check-in: 02dfe16c user: culler tags: bug-0d63621b6c
15:36
Added ::tk::unsupported::MacWindowStyle appearance to control which appearances are allowed on a per-window basis. check-in: 02587490 user: culler tags: bug-0d63621b6c
2019-03-17
20:40
Added a drawing procedure for dark BevelButtons. check-in: 520a121d user: culler tags: bug-0d63621b6c
19:41
Improve the behavior and appearance of BevelButtons. check-in: 523b9147 user: culler tags: bug-0d63621b6c
14:13
Fixed error in height computation for BevelButtons. check-in: a8b91a2d user: culler tags: bug-0d63621b6c
03:20
Made PushButtons display correctly in pressed state. check-in: 569afaba user: culler tags: bug-0d63621b6c
2019-03-16
03:55
Fixed a logic error with selected disabled CheckBoxes and RadioButtons. check-in: 5aa31716 user: culler tags: bug-0d63621b6c
02:09
Fix comment check-in: 4f25cbe3 user: kevin_walzer tags: mac_services
02:09
Fix comment check-in: 43f384df user: kevin_walzer tags: mac_services
2019-03-15
23:22
Small corrections. check-in: f1d3c394 user: culler tags: bug-0d63621b6c
21:31
Dealt with dark BevelButtons and progress bars. check-in: cf564e76 user: culler tags: bug-0d63621b6c
21:14
Fix some conditional compilation misconfiguration. check-in: f1f399c4 user: culler tags: bug-0d63621b6c
20:24
Make Tk run on win32/win64 using -DTCL_UTF_MAX=6. Adapted from androwish. check-in: d55be1ff user: jan.nijtmans tags: core-8-6-branch
02:42
Added a drawing procedure for dark RadioButtons and dealt with many slightly wrong ttk details. check-in: 973b11e7 user: culler tags: bug-0d63621b6c
2019-03-14
21:01
Fix [609e0045f5]: MouseWheel binding for canvas on MacOS provides wrong values for %x %y check-in: d0405802 user: fvogel tags: core-8-6-branch
20:59
Fix typo Closed-Leaf check-in: 77baa1f7 user: fvogel tags: bug-609e0045f5
2019-03-13
21:46
Added a drawing procedure for dark CheckBoxes. Added drawing primitives to make the code DRYer. check-in: e85ff3ff user: culler tags: bug-0d63621b6c
16:08
Fix the build for 10.6 (Snow Leopard). check-in: b27a2256 user: culler tags: bug-0d63621b6c
13:30
Make the GroupBox render correctly on High Sierra. check-in: 640ed77b user: culler tags: bug-0d63621b6c
2019-03-12
16:24
Fixed a typo. check-in: c6bfa3e2 user: culler tags: bug-0d63621b6c
16:08
Added a drawing procedure for notebook tabs in Dark Mode. check-in: 44331942 user: culler tags: bug-0d63621b6c
2019-03-11
16:18
Add colors systemControlTextColor and systemDisabledControlTextColor and use them for ttk buttons. These colors adapt to Dark Mode. check-in: a3026196 user: culler tags: bug-0d63621b6c
14:34
Fine tune the button appearance. check-in: 9db37747 user: culler tags: bug-0d63621b6c
2019-03-10
16:11
Additional Treeview fix. check-in: 89100dbd user: culler tags: bug-0d63621b6c
16:04
Add a drawing procedure for a ttk Separator in Dark Mode. Fixed the foreground color for the TreeView in Dark Mode. check-in: 4237974d user: culler tags: bug-0d63621b6c
03:46
Added a drawing procedure to make LabelFrame and Notebook panes render correctly in Dark Mode. Fixed a bug in the computation of background colors, where alpha was accidentally being modified. check-in: 915877e8 user: culler tags: bug-0d63621b6c
2019-03-09
03:16
Ensure ::tk::mac::GetAppPath is included check-in: 16bee760 user: kevin_walzer tags: mac_services
2019-03-08
18:54
Fix bug [9286526144]: incorrect menu locations for ttk menubuttons. check-in: 8c8dddd1 user: culler tags: bug-9286526144
14:58
Changed scale man page to reflect how tick values are now displayed check-in: bcae5001 user: jaspert tags: scale-tick-format
03:44
Remove tkMacOSXLaunch.c from TIP; adds too many extraneous commands. Re-focus on URL and print events, and Services check-in: 53616eef user: kevin_walzer tags: mac_services
2019-03-07
16:20
Add a drawing procedure to draw PushButtons and PopupButtons in Dark Mode. check-in: 0207b686 user: culler tags: bug-0d63621b6c
03:56
Clean up implementation and documentation of ::tk::mac::PrintDocument command; was mapped internally to ::tk::mac::OpenDocument and print event never fired; changed parameter to a single file path check-in: a4066811 user: kevin_walzer tags: mac_services
03:17
Fix bug in print doc implementation check-in: 8cf0d399 user: kevin_walzer tags: mac_services
03:10
Further refinement in URL event handling check-in: 25d290f9 user: kevin_walzer tags: mac_services
2019-03-06
04:54
Copy PDBs to installation if option PDBS is given during install check-in: bacbeed8 user: apnadkarni tags: core-8-6-branch
2019-03-04
23:30
Fix bug [609e0045f5]: Aqua scrollwheel events have incorrect mouse coordinates. check-in: cb6302a6 user: culler tags: bug-609e0045f5
20:36
Make the branch build with MSVC by replacing calls to C99 functions round(), fmin() and fmax() by equivalent macros. check-in: 69514b20 user: fvogel tags: scale-tick-format
18:36
gif read not complete on overflow image - information missinterpreted if following subimage is querried [4da2191b] check-in: 5b17bc40 user: oehhar tags: core-8-6-branch
14:46
Disallow transient/master cycles. Fix bgerror for Aqua to avoid hangs when an error occurs in an idle task run by [NSView drawRect]. check-in: fe352f24 user: culler tags: core-8-6-branch
13:00
Cleanup line endings check-in: 8055d910 user: kevin_walzer tags: mac_services
12:59
Minor cleanup check-in: b999f02c user: kevin_walzer tags: mac_services
2019-03-03
19:40
Make notebook tabs readable in dark mode. check-in: a4d5141f user: culler tags: bug-0d63621b6c
17:04
Increase the size of the ring buffer for Aqua, and modify bgerror so it doesn't try (and fail) to post a dialog inside [NSView drawRect]. Closed-Leaf check-in: 98cb3c6f user: culler tags: bug-1951abf33d
2019-03-02
18:48
Cleanup of code to set default app, fix crashes check-in: 73dfdaae user: kevin_walzer tags: mac_services
15:46
Update check-in: fe4d1b63 user: kevin_walzer tags: mac_services
15:29
Replace some deprecated calls check-in: 526e13ef user: kevin_walzer tags: mac_services
2019-03-01
16:38
Clean up implementation check-in: 50b29316 user: kevin_walzer tags: mac_services
16:04
Make it be an error to create a transient/master cycle on Windows. check-in: 09a3a48d user: culler tags: bug-1951abf33d
15:46
Make it be an error to create a transient/master cycle on unix. check-in: d0d1c883 user: culler tags: bug-1951abf33d
15:28
Make it be an error to create a transient/master cycle on Aqua. Other platforms will be handled in separate check-ins. check-in: 48640053 user: culler tags: bug-1951abf33d
04:01
Fix bug 1951abf33d: Aqua sometimes segfaults when destroying a transient. check-in: 8bfb7932 user: culler tags: core-8-6-branch
2019-02-28
16:37
Trimmed an unused variable check-in: c3cd9cb2 user: jaspert tags: scale-tick-format
15:52
Added a procedure to increase the number of digits in the tick values until the maximum rounding error goes below a certain value, currently 0.2x the tick interval. Also fixed it to work with scales from larger to smaller values. check-in: b518b5a0 user: jaspert tags: scale-tick-format
15:29
Fix bugs in the list management code for the record of transient windows. check-in: eab3c21c user: culler tags: bug-1951abf33d
13:44
Rename tkMacOSXLaunch.c check-in: c162832b user: kevin_walzer tags: mac_services
13:42
Update makefile, trying to build check-in: e9c38d79 user: kevin_walzer tags: mac_services
06:18
Remove some bloat from tkMacOSXWm.c. check-in: f4391e72 user: culler tags: bug-1951abf33d
05:02
Make sure that we don't create cycles in the parent->child digraph even if there are cycles in the master->transient digraph. check-in: 324dae0a user: culler tags: bug-1951abf33d
03:51
Add launcher code, update docs check-in: d9642c10 user: kevin_walzer tags: mac_services
2019-02-27
23:22
Adding 1 character fixes two of the three crashes reported in ticket [1951abf33d] check-in: 46451724 user: culler tags: bug-1951abf33d
06:31
Cleaned up the code in tkMacOSXColors.c. Discovered along the way that we can partially support Dark Mode for ttk widgets. check-in: fd571cfd user: culler tags: bug-0d63621b6c
04:25
Cleanup of library code, removal of unneeded function check-in: b7dc1382 user: kevin_walzer tags: mac_services
04:07
Update mac_services branch, intend to submit a TIP check-in: 3cb35aab user: kevin_walzer tags: mac_services
2019-02-25
02:19
Remove some unneeded code. check-in: e2eb16dc user: culler tags: bug-0d63621b6c
2019-02-24
17:08
Fix bug [0d63621b6c]: Aqua ttk uses incorrect background colors. check-in: a90a32fd user: culler tags: bug-0d63621b6c
2019-02-23
21:16
Fix bug [9771ae0f0b]: In Aqua, deiconifying a transient of a withdrawn window can create a zombie. check-in: b2b91450 user: culler tags: core-8-6-branch
05:44
Fix bug [9771ae0f0b]: In Aqua, deiconifying a transient of a withdrawn window can create a zombie Closed-Leaf check-in: 20029d1c user: culler tags: bug-9771ae0f0b
02:30
Fix bug [56a1823c73]: Aqua toplevels can fail to appear on screen. check-in: 5e709226 user: culler tags: core-8-6-branch
2019-02-22
18:50
Fix [30a0fc767a]: spelling error in a comment check-in: f248e1f0 user: fvogel tags: core-8-6-branch
2019-02-20
11:51
Eliminate trailing zeros from scale tick values. This is done by calculating a separate format string for these values, rather than using the same format string as for the current value. The basis is the same, i.e., enough digits are displayed to distinguish any pair of adjacent tick values, and all tick values have the same number of decimals so some may still have trailing zeros.

Code for laying out vertical scales has been adjusted to take account of the fact that the tick column may now be narrower than the value column. check-in: 7fb9edbf user: jal_frezie tags: scale-tick-format

2019-02-18
18:48
Fix bug [56a1823c73]: Aqua toplevels can fail to appear on screen. Closed-Leaf check-in: 60edb6d4 user: culler tags: bug-56a1823c73
2019-02-13
21:32
Remove a missed unused variable. check-in: 4c2dacd6 user: culler tags: core-8-6-branch
21:01
Fix bug [2249e64bdc]: adjust unixWm tests which expect impossible results on Aqua. check-in: 30198903 user: culler tags: core-8-6-branch
16:12
Two text tests also try to position a window with y = 0. Tweak these for Aqua. Closed-Leaf check-in: d4c30b44 user: culler tags: bug-2249e64bdc