summaryrefslogtreecommitdiffstats
path: root/generic/ttk
Commit message (Collapse)AuthorAgeFilesLines
* merge 8.6dgp2019-05-171-1/+1
|\
| * Migrate away from TCL_INTERP_DESTROYED (TIP 543).dgp2019-05-171-1/+1
| |
* | Merge 8.6jan.nijtmans2019-05-161-13/+2
|\ \ | |/
| * Revised bug fix for [5d991b822e].dgp2019-05-151-13/+2
| |\
* | \ Merge 8.6jan.nijtmans2019-05-091-1/+1
|\ \ \ | |/ /
| * | Whitespace cleanup, syncronize a little with "trunk" version.jan.nijtmans2019-05-091-1/+1
| | |
* | | Fix [2513186fff], [f9343d8f72] and [8261c517af]: ttk scrolling (xview/yview ↵fvogel2019-05-084-7/+29
|\ \ \ | |/ / | | | | | | commands) is incorrect until idle tasks are run
| * | Fix '.e index @'. The returned answer could be wrong if the scroll info was ↵fvogel2019-04-282-0/+2
| | | | | | | | | | | | not yet updated.
| * | Factorize the code a bit, and avoid calling the layoutProc twice when ↵fvogel2019-04-284-30/+25
| | | | | | | | | | | | calling xview moveto|units|pages.
| * | Add a missing scroll info update needed to make x|yview moveto|units|pages ↵fvogel2019-04-281-0/+8
| | | | | | | | | | | | work without an update idletasks call beforehand.
| * | Revert irrelevant blank changesfvogel2019-04-272-2/+1
| | |
| * | More generic fix, for [8261c517af] and [2513186fff].fvogel2019-04-272-9/+18
| | |
| * | Write code more consistently with the rest of the ttkEntry.c filefvogel2019-04-261-3/+2
| | |
| * | Optimize the fix: the layout calculation is only needed if the display is ↵fvogel2019-04-261-1/+4
| | | | | | | | | | | | out of date.
| * | Fix [2513186fff] and [f9343d8f72]: ttk::entry xview sub-command forces use ↵fvogel2019-04-221-0/+7
| | | | | | | | | | | | of update idletasks. Thanks to cjmcdonald.
* | | Support for Apple's Dark Mode and many improvements to the Aqua theme.culler2019-04-111-1/+5
|\ \ \ | |/ /
| * | Support for Apple's Dark Mode and many improvements to the Aqua theme.culler2019-04-111-1/+5
| |\ \
| | * | Add a few more semantic colors to make ttk::Entry and ttk::Treeview workculler2019-03-261-1/+5
| | | | | | | | | | | | in dark mode.
* | | | Remove a few unnecessary (size_t) type-casts, and add a "const"jan.nijtmans2019-04-041-1/+1
| | | |
* | | | Change size_t usages to (internal type) TkSizeT usages, which is "int" when ↵jan.nijtmans2019-04-041-2/+2
| | | | | | | | | | | | | | | | compiling against 8.x headers.
* | | | Change (internal) signature of ↵jan.nijtmans2019-03-313-5/+5
| | | | | | | | | | | | | | | | | | | | 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().
* | | | Fix [da3914eba2]: 'identify element' on ttk::treeview does not identify ↵fvogel2019-03-311-2/+6
|\ \ \ \ | |/ / / | | | | | | | | images added via 'insert ... -image ...'
| * | | Fix [da3914eba2]: 'identify element' on ttk::treeview does not identify ↵fvogel2019-03-301-2/+6
| |/ / | | | | | | | | | images added via 'insert ... -image ...'
* | | Merge 8.6jan.nijtmans2019-01-105-15/+9
|\ \ \ | |/ /
| | |
| | \
| *-. \ Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-0810-33/+18
| |\ \ \
| | | * \ Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-085-8/+8
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing.
| | | | * | Bring back more original "None" usages, and fix other warnings which ↵jan.nijtmans2019-01-034-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gradually slipped in. Wherever possible, pragma's are used in MSVC to silence useless compiler warnings.
| * | | | | As requested by Christian Werner/François Vogel and others: Undo many None ↵jan.nijtmans2018-12-312-8/+8
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected.
| | * | | | As requested by Christian Werner/François Vogel and others: Undo many None ↵jan.nijtmans2018-12-312-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected.
| * | | | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols jan.nijtmans2018-12-202-9/+9
| |\ \ \ \ \ | | |/ / / / | | | / / / | | |/ / / | |/| | | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before
| | * | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2018-12-202-9/+9
| | |/ / | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings.
| * | | Tidy up whitespace and casts of NULL.culler2018-11-281-2/+2
| | | |
* | | | Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more.jan.nijtmans2018-12-083-5/+5
| | | | | | | | | | | | Eliminate a ton of unnecessary type casts
* | | | There's never need to cast NULL to (char *)jan.nijtmans2018-11-271-2/+2
|\ \ \ \ | |/ / /
* | | | Protect against the possibility that a future platform might have a strange ↵culler2018-11-211-1/+13
|\ \ \ \ | |/ / / | | | | | | | | implementaton of XDestroyImage.
| * | | Protect against the possibility that a future platform might have a strange ↵culler2018-11-211-1/+13
| | | | | | | | | | | | | | | | implementaton of XDestroyImage.
* | | | Fix the bug that caused a crash on macOS when switching to the Alt theme.culler2018-11-202-9/+55
|\ \ \ \ | |/ / /
| * | | Only use XCreateImage when drawing the Alt theme indicator on macOS, not on ↵culler2018-11-202-9/+46
| | | | | | | | | | | | | | | | UNIX or Windows.
| * | | Refine TkMacOSXFlushWindows and add a call to it in ThemeChangedProc (macOS ↵culler2018-11-191-0/+4
| | | | | | | | | | | | | | | | only) so that windows are updated after the theme changes.
| * | | Use XCreateImage instead of XGetImage to create a scratch image in ↵culler2018-11-191-7/+12
| | | | | | | | | | | | | | | | ttkDefaultTheme.c
* | | | Eliminate CONST86: Since Tk 8.7 only compiles with Tcl >= 8.6 anyway, we ↵jan.nijtmans2018-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | just can use "const" everywhere. typo's: occured -> occurred
* | | | One more missing type-cast (thanks, François!jan.nijtmans2018-10-171-1/+1
| | | |
* | | | Fix [ca403f799b]: ttk::treeview border drawn incorrectlyfvogel2018-10-171-1/+1
|\ \ \ \ | |/ / /
| * | | Fix [ca403f799b]: ttk::treeview border drawn incorrectlyfvogel2018-10-081-1/+1
| | | |
* | | | One more round of int -> size_t improvements (inspired by TIP #494, but then ↵jan.nijtmans2018-10-172-2/+10
| | | | | | | | | | | | | | | | for Tk).
* | | | Change char *recordPtr to void *recordPtr in Tk_SetOptions() and friends. ↵jan.nijtmans2018-10-165-11/+11
| | | | | | | | | | | | | | | | This is 100% upwards compatible, and equivalent to TIP #494 done in Tcl. With this, a ton of (char *) type casts can be eliminated
* | | | Use more size_t internally, comparable with TIP #494 but then in Tk. ↵jan.nijtmans2018-10-151-1/+1
| | | | | | | | | | | | | | | | Eliminate unnecessary type casts
* | | | Fix [6fcaaa6f80]: ttk::entry insertion cursor not visible. Patch from Csaba ↵fvogel2018-09-081-3/+10
|\ \ \ \ | |/ / / | | | | | | | | Nemethi.
| * | | Fix [6fcaaa6f80]: ttk::entry insertion cursor not visible. Patch from Csaba ↵fvogel2018-09-081-3/+10
| |\ \ \ | | | | | | | | | | | | | | | Nemethi.
| | * | | Ooops, one line should have been removed in previous commit. Plus: don't ↵fvogel2018-09-071-2/+1
| | | | | | | | | | | | | | | | | | | | convert tab to spaces on otherwise unchanged lines