summaryrefslogtreecommitdiffstats
path: root/generic/ttk
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | * | Better version of the patch, again by Csaba Nemethifvogel2018-09-071-6/+7
| | | |
| | * | bugfix branch for: [6fcaaa6f80] bll2018-08-311-1/+8
| | | | | | | | | | | | Fix position of insertion cursor for ttk entry. Patch provided by Csaba Nemethi.
* | | | Header include reform: Since "tkInt.h" already contains header files like ↵jan.nijtmans2018-09-0629-66/+29
| | | | | | | | | | | | | | | | | | | | <stdlib.h>, <string.h> and <ctype.h>, we don't have to include those in every separate C-file. Just depend on tkInt.h to provide it. This mainly affects ttk, since most other files already adhered to this.
* | | | Fix [3441086fff]: ttk::style layout with empty -children silently disappearsfvogel2018-09-021-0/+2
|\ \ \ \ | |/ / /
| * | | Refine error codefvogel2018-08-241-1/+1
| | | |
| * | | More general error message, since it can be raised not only because of an ↵fvogel2018-08-241-1/+1
| | | | | | | | | | | | | | | | empty -children option value
| * | | Fix [3441086fff]: ttk::style layout with empty -children silently disappearsfvogel2018-08-241-0/+2
| |/ /
| * | Eliminate type-casts, by using size_t type internally in more situations. No ↵jan.nijtmans2018-08-101-3/+4
| | | | | | | | | | | | functional changes
* | | More preparation for TIP #494 compatibitly. Add 2 utility functions, which ↵jan.nijtmans2018-08-111-6/+6
| | | | | | | | | | | | can retreive big strings and ByteArrays without length overflow.
* | | Remove end-of-line spacingjan.nijtmans2018-08-101-1/+1
| | |
* | | Make Tk sufficiently 64-bit aware in order to withstand TIP #494 possible ↵jan.nijtmans2018-07-101-3/+4
| | | | | | | | | | | | problems
* | | merge trunk (because tip-496 does not target 8.6 but 8.7, whereas branch ↵fvogel2018-04-1524-1061/+127
|\ \ \ | | | | | | | | | | | | tip-496 was created off core-8-6-branch)
| * \ \ Fix [5d991b822e]: segmentation violation in TclObjLookupVarEx. Patch from ↵fvogel2018-02-041-2/+13
| |\ \ \ | | |/ / | | | | | | | | Christian Werner.
| * | | Fix [de156e9efe]: Safe Base interpreters must not write to the PRIMARY ↵fvogel2018-01-251-3/+6
| |\ \ \ | | | | | | | | | | | | | | | selection. Bugfix, doc upddate and new tests by Keith Nash.
| * \ \ \ Further fix for [fa8de77936]: ttk::checkbutton handle empty variable ↵fvogel2018-01-071-4/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | graceful. Patch from Christian Werner again.
| * \ \ \ \ Fix [fa8de77936]: ttk::checkbutton handle empty variable graceful. Patch ↵fvogel2018-01-072-12/+19
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | from Christian Werner
| * \ \ \ \ \ Fix [925262ed17]: ttk::scale widget does not support -state optionfvogel2018-01-071-0/+17
| |\ \ \ \ \ \
| * | | | | | | One more 'const' (follow-up from previous commit)jan.nijtmans2017-11-281-1/+1
| | | | | | | |
| * | | | | | | CONST'ify some string arrays (strings itself where already CONST, but the ↵jan.nijtmans2017-11-289-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arrays were not). Minor C-compiler optimization.
| * | | | | | | I reverted the previous fix, because it doesn't work. The current solution ↵gcramer2017-07-231-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is to set currentIndex before NotebookPlaceSlave() will be called, due to my analysis this can have only one side effect: an interveaning call of NotebookPlaceSlaves() will change to the correct tab.