summaryrefslogtreecommitdiffstats
path: root/generic/ttk
Commit message (Collapse)AuthorAgeFilesLines
* Sync genStubs.tcl changes from Tcl 8.6. Finish "make genstubs" for Ttk in ↵jan.nijtmans2021-01-271-3/+4
| | | | makefile.vc.
* Tidy up with a patch from Christopher Chavez. Removes redundant include ↵marc_culler2020-12-1614-18/+0
| | | | directives and double semicolons. Uses nil instead of NULL for references to NSObjects in Objective C.
* Fix [80e4c6f695]: progress bars are weird on macOS 11.0.marc_culler2020-12-141-4/+5
|
* Fix many warnings related to the -Wshadow gcc compiler flagjan.nijtmans2020-10-051-5/+5
|
* TIP #581: More progressjan.nijtmans2020-09-091-12/+12
|
* TIP #581: master -> container and slave -> content in ttk (mainly)jan.nijtmans2020-09-087-338/+416
|
* Another round of TIP #581-related name changes. Now merely concentrated on ↵jan.nijtmans2020-09-0324-334/+342
| | | | consistancy in the test-cases
* (cherry-pick: Slave ->Pane, Master->Container in tkPanedwindow.cjan.nijtmans2020-09-033-34/+34
| | | More Master->Container-related changes
* Fix [031dfcf1dd]: ttk::treeview -anchor does not work with column #0. The ↵fvogel2020-08-197-12/+9
|\ | | | | | | focus ring of selected items of ttk::treeview disappears in the process. Also, clarify the layout (pack-like) algorithm, and simplify the code by not specifying option values that are anyway the default. Finally, remove documentation of the non-implemented TTK_STICK_ALL flag.
| * Comment out documentation of -border and -unit as layout options.fvogel2020-08-191-0/+1
| |
| * Remove the focus ring of selected items of ttk::treeview.fvogel2020-07-181-2/+1
| |
| * Document -border and -unit options for ttk layouts.fvogel2020-07-181-1/+0
| |
| * In ttk layouts, specifying -expand 1 (resp. TTK_EXPAND) is superfluous when ↵fvogel2020-07-185-8/+6
| | | | | | | | -side (resp. TTK_PACK_*) is not given. Remove such superfluous specifications.
| * In ttk layouts, when -expand 1 is specified, then -side is ignored. Ditto ↵fvogel2020-07-185-6/+6
| | | | | | | | for respectively the TTK_EXPAND and TTK_PACK_* flags. Remove such specs that are anyway ignored.
| * Fix [031dfcf1dd]: ttk::treeview -anchor does not work with column #0fvogel2020-07-081-3/+3
| |
* | Provide better control over how and when [NSView drawRect:] is called.marc_culler2020-07-181-8/+0
|\ \
| * | macOS: remove unneeded code observed in [7ebdd17974], remove ↵marc_culler2020-07-151-8/+0
| |/ | | | | | | tkMacOSXFlushWindows, make XSync do nothing except process timer events.
* | merge core-8-6-branchfvogel2020-07-121-10/+10
|\ \ | |/
| * Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez.fvogel2020-07-081-1/+1
| |
| * Add (and use) new internal function TkUtfAtIndex(), which does the same as ↵jan.nijtmans2020-05-201-9/+9
| |\ | | | | | | | | | Tcl_UtfAtIndex() only it protects against ending in the middle of a 4-byte UTF-8 sequence. This should fix another part of [a179564826] when handling copy-pasted Emoji in Text/Entry (and other) widgets.
| | * Add surrogate-aware TkUtfAtIndex and TkNumUtfChars. This is enough to allow ↵culler2020-05-191-11/+11
| |/ | | | | | | editing emoji text (without variant selectors) in Entry widgets on macOS.
* | merge core-8-6-branchfvogel2020-05-012-4/+6
|\ \ | |/
| * Fix [14188104c3]: ttk::treeview scrollbar not updating. Thanks to cjmcdonald ↵fvogel2020-04-251-1/+0
| |\ | | | | | | | | | 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).
| | * Remove superfluous call to TtkScrolled. Analysis (see the ticket) shows it ↵fvogel2020-04-191-4/+0
| | | | | | | | | | | | is not needed, moreover all tests still pass, and we can't find a script that fails without this call.
| | * Fix [14188104c3]: ttk::treeview scrollbar not updating. Add test ↵fvogel2020-04-181-1/+4
| | | | | | | | | | | | treeview-9.2 revealing this bug, failing before the fix and passing with it. Thanks to cjmcdonald.
| * | Refine comment and revert useless tab->spaces changefvogel2020-04-151-3/+3
| | |
| * | Fix [3519111fff]: Problem with scroll in ttkfvogel2020-04-151-4/+7
| |/
* | Fix [7655f65ae7]: text positioning issues in entry widgets. This is a patch ↵fvogel2020-04-191-9/+30
|/ | | | from Christopher Chavez, slightly modified, and addresses the bug for Windows, Linux and macOS.
* Better implementation of TkUtfToUniChar(), one that doesn't require ↵jan.nijtmans2020-04-0620-270/+379
|\ | | | | | | cooperation of Tcl (TCL_UTF_MAX>3). Just let Tk do the splitting of 4-byte UTF-8 sequences into surrogates.
| * Some code cleanup, backported from 8.7 (mainly usage of exact types and ↵jan.nijtmans2020-03-3012-232/+353
| | | | | | | | type-casts).
| * Don't mind XKeycodeToKeysym() deprecation warning any more. Some MacOS code ↵jan.nijtmans2020-03-112-3/+3
| | | | | | | | cleanup (e.g. no "register" keyword any more)
| * Add -Wpointer-arith to C-flags. Fix some ANSI prototypes.jan.nijtmans2020-02-241-1/+1
| |\
| | * Fix [4b5deacc70]: undefined reference to `Tcl_SetStartupScript'. Also fix ↵jan.nijtmans2020-02-241-1/+1
| | | | | | | | | | | | some ANSI prototypes. Sync tcl.m4 with Tcl.
| * | Use (more efficient) Tcl_GetIntFromObj() in stead of Tcl_GetInt() in a few ↵jan.nijtmans2020-02-121-1/+1
| | | | | | | | | | | | places where it makes sense.
| * | (cherry-pick): Don't panic for "Wild GenericEvent"'s: Just filter out all ↵jan.nijtmans2020-02-052-5/+8
| | | | | | | | | | | | | | | | | | 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.
| * | Fix [2830360fff]: ttk::entry looses state invalid at focus eventsfvogel2020-01-021-2/+6
| | |
| * | Now that TkUniCharToUtf() produces maximum of 4 bytes, reduce storage. More ↵jan.nijtmans2019-11-211-1/+1
| | | | | | | | | | | | | | | code simplifications. Disallow Emoji on X11 without xft, just use replacement character then.
| * | Propagate the previous two commits to the tabs of a ttk::notebook, which can ↵fvogel2019-11-011-2/+2
| | | | | | | | | | | | now style -compound
| * | Better fix for [b82bd4872b]: ttk::style configure -compound does not workfvogel2019-11-011-2/+2
| | |
| * | Fix [caacf1f082]: treeview column resizing not possible in some conditions. ↵fvogel2019-10-271-22/+2
| | | | | | | | | | | | This problem was created by my fixing of [ce470f20fd] (ttk::treeview allows dragging the right edge of the rightmost heading). While some of the commits aiming at fixing [ce470f20fd] were correct, some other were not and in fact I believe the right edge of the rightmost heading really should be draggable. This is also how tablelist behaves.
| * | Fix [b82bd4872b]: tk::style configure -compound does not work.culler2019-10-251-1/+2
|/ /
* | Fix [cc6c711c1e]: treeview layout issues (patch from Brad Lanam)fvogel2019-09-181-3/+4
| |
* | (minor) Add missing initializer, and two /* FALLTHRU */ markers.jan.nijtmans2019-09-171-0/+2
| |
* | Use "unsigned long" as type for "mask" variables containing X11 button-masks ↵jan.nijtmans2019-08-131-1/+1
| | | | | | | | consistantly. Code cleanup.
* | Two times Tcl_Free() -> ckfree()jan.nijtmans2019-07-301-1/+1
| |
* | Fix [ce470f20fd]: ttk::treeview has column dragging issuesfvogel2019-05-261-9/+39
|\ \
| * | Fix bug when dragging a column separator: when columns at the right of the ↵fvogel2019-05-091-1/+7
| | | | | | | | | | | | 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.
| * | Remove ASSERT: SLACKINVARIANT commentsfvogel2019-05-081-6/+0
| | |
| * | When changing the -stretch value for a column, columns size must be ↵fvogel2019-05-081-1/+2
| | | | | | | | | | | | recomputed before the treeview is redisplayed (at idle time)
| * | ttk::treeview: when there is at least one stretchable column then there ↵fvogel2019-05-041-0/+15
| | | | | | | | | | | | should be no slack at the right (slack should be distributed among the stretchable columns)