summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Slightly use of more "int" in stead of double, for 100% compatibility at ↵bug_434d294dfjan.nijtmans2017-05-191-15/+14
|\ | | | | | | script level.
* \ merge trunk. jan.nijtmans2017-05-181-1/+5
|\ \ | |/ | | Make "font actual" return integers, for compatibility.
* | Another attempt to fix ↵jan.nijtmans2017-05-153-21/+23
|/ | | | [434d294df8b053246ee86e7898d06bc3a6d1d771|434d294df8], this time (hopefully) suitable for 8.6. (less changes than the original attempt)
* Revert [f38091d0]: If TK_LAYOUT_WITH_BASE_CHUNKS is set (MacOSX), this ↵jan.nijtmans2017-05-121-1/+1
| | | | change leads to crash, struct CharInfo is defined differently depending on TK_LAYOUT_WITH_BASE_CHUNKS (however strange that is ...)
* New internal function TkpCancelWarp(), which does a proper warp clean-up ↵jan.nijtmans2017-05-103-8/+33
| | | | when the display is closed. Follow-up to [db8c541b6bff91848c53006b0fe352136fbd4be9|db8c541b6b]. Backported from androwish [http://www.androwish.org/index.html/info/0b3392c9134c228f|0b3392c9134c228f] (which was a little more than just a "add tk upstream changes" ...). Thanks, Christian!
* Remove calls to Tk_FreeXId(), since it's just a NOP.jan.nijtmans2017-05-081-7/+0
|
* Don't use sizeof(struct) when the structure has a char array as last ↵jan.nijtmans2017-05-082-3/+3
| | | | element: If the size of this array changes, we'll be in trouble.
* Change floor() back to casting to int() in fixing [6020ee2d03].fvogel2017-05-021-6/+3
|\
| * Revert the previous commit since it has drawbacks (see [6020ee2d03]).bug_308940ffffvogel2017-05-021-6/+3
| |
* | Typo (wehter -> whether) and minor consistancy in code comment (grey -> gray)jan.nijtmans2017-05-021-1/+1
| |
* | Fix [e4336bef5d58cc96a438ba0fb5553ea57e94f4d8|e4336bef5d]: Unexpected result ↵jan.nijtmans2017-05-011-46/+120
|\ \ | | | | | | | | | when copying a photo image to itself. Thanks to Simon Bachmann for bug report and fix!
| * | Fix [e4336bef5d] (Unexpected result when copying a photo image to itself): ↵bug_e4336bef5dsimonbachmann2017-04-301-46/+120
|/ / | | | | | | if source and destination image are the same, make a local copy of image data before the actual copy/zoom/subsample.
* | code styling (wrong indent)jan.nijtmans2017-04-181-3/+3
| |
* | Fix [2912962fff]: Notebook does not set TTK_STATE_USER1 and TTK_STATE_USER2.fvogel2017-04-071-6/+21
|\ \
| * | Fixed TTK_STATE_USER2 similarly as TTK_STATE_USER1. These bits are set for ↵bug_2912962ffffvogel2017-04-031-4/+11
| | | | | | | | | | | | the leftmost and rightmost *visible* (i.e. non hidden) tabs
| * | Fix [2912962fff]: Notebook does not set TTK_STATE_USER1. Patch from Jos ↵fvogel2017-04-031-2/+10
| | | | | | | | | | | | Decoster.
* | | Fix [3089640fff], [6020ee2d03], [e016579efb], [6bf197edbf] and [7ffb9e554c]: ↵fvogel2017-04-071-30/+24
|\ \ \ | | |/ | |/| | | | ttk::notebook tabs can disappear (tab width incorrectly calculated), and -tabminwidth option of a style incorrect behaviour.
| * | Slightly better fix anonymously proposed in [6020ee2d03]. Use floor() ↵fvogel2017-04-061-3/+6
| | | | | | | | | | | | instead of casting to an int.
| * | The -mintabwidth style option is honored whenever possible. If there is not ↵fvogel2017-04-021-6/+14
| | | | | | | | | | | | enough space available, then priority is given to displaying all tabs (previous behaviour was they disappeared) over mandatorily honoring -mintabwidth.
| * | Fix [3089640fff], [6020ee2d03], [e016579efb] and [6bf197edbf]: ttk::notebook ↵fvogel2017-03-311-25/+8
| |/ | | | | | | tabs can disappear (tab width incorrectly calculated). Patch from Koen Danckaert.
* | [db8c541b6b] Prevent access of freed memory in warp pointer callbacks.dgp2017-04-061-2/+23
|/
* Fix [28a3c366e6]: memory leak in the text widget. Patch contributed anonymouslyfvogel2017-03-291-0/+3
|\
| * Fix [28a3c366e6]: memory leak in the text widget. Patch contributed anonymouslybug_28a3c366e6fvogel2017-03-261-0/+3
| |
* | merge core-8-6-branchtip_464fvogel2017-03-261-0/+6
|\ \ | |/
| * Fix [77527326e5]: ttk artifacts on Ubuntu. Patch from Csaba Nemethi.bug_77527326e5fvogel2017-03-101-0/+6
| |
* | merge core-8-6-branchfvogel2017-03-066-6/+31
|\ \ | |/
| * [6b3644a485] Fix -alpha applied to 16-bit color PNG. Thanks TheLemonMan.dgp2017-03-061-2/+2
| |
| * Fix [7d967c68a09e07e355358af40f36dd5dd84c7022|7d967c68a0] follow-up: Tk ↵jan.nijtmans2017-02-101-3/+1
| | | | | | | | applications segmentation fault when ibus-daemon IME is restarted. Patch by Brad Lanam.
| * Fix [7d967c68]: Tk application fault when ibud-daemon IME is restartedjan.nijtmans2017-02-054-3/+30
| |\
| | * Proposed fix for [7d967c68a09e07e355358af40f36dd5dd84c7022|7d967c68]: Tk ↵bug_7d967c68jan.nijtmans2016-12-153-3/+27
| | | | | | | | | | | | applications segmentation fault when ibus-daemon IME is restarted
| | * Micro-optimization in tkTextDisp.cfvogel2016-12-081-2/+2
| | |
| | * Merge core-8-6-branchjan.nijtmans2016-11-091-0/+6
| | |\
| | * \ Add another few Xlib stubs for Win32. Cherry-picked from ↵jan.nijtmans2016-11-073-17/+200
| | |\ \ | | | | | | | | | | | | | | | [http://www.androwish.org/index.html/info/862eb620a096fddc|AndroWish]. Thanks to Christian Werner.
| | * \ \ Close unintended forkfvogel2016-11-053-20/+18
| | |\ \ \
| | | * | | More internal use of size_t, so refcounts can be bigger than before (2^31 -> ↵jan.nijtmans2016-11-043-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | 2^32 on 32-bit platforms, even more on 64-bit)
| | * | | | Fixed [6aea69fccb] - grid configure -in problem. Patch by Koen Danckaert.fvogel2016-11-051-0/+3
| | |\ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Fixed [1082213fff] - word wrapping should trim excess spacesfvogel2016-10-091-0/+18
| | |\ \ \ \
| | * \ \ \ \ Fixed typo in commentfvogel2016-09-301-1/+1
| | |\ \ \ \ \
| | * \ \ \ \ \ Fix UNIX buildjan.nijtmans2016-09-301-3/+2
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ Fix [6c0d7aec67]: unicode text input Windows 8jan.nijtmans2016-09-296-33/+40
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ merge core-8-6-branchjan.nijtmans2016-09-262-0/+88
| | |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ Merge core-8-6-branch to trunk.patthoyts2016-09-223-4/+45
| | |\ \ \ \ \ \ \ \ \
| * | \ \ \ \ \ \ \ \ \ Merge core-8-6-branchfvogel2017-01-298-41/+56
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge core-8-6-branchfvogel2017-01-071-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fix [ae32eb7e10]: Win + specific text widget configuration : textDisp-18.6, ↵fvogel2017-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -20.2 -20.3 -20.4 fail
* | | | | | | | | | | | | | Add comment explaining that ks_names.h should be kept in sync with ↵fvogel2017-01-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keysymdef.h, and explain why this needs to be done manually.
* | | | | | | | | | | | | | Remove obsolete (and currently wrong) comment in generic/ks_names.hfvogel2017-01-291-3/+0
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Proposed fix for [499526180d]: Add support for windows multimedia virtual ↵fvogel2017-01-281-0/+7
| |_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keys. Patch by ralfixx
* | | | | | | | | | | | | Fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and ↵fvogel2017-01-181-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indices in tk_textRedraw).
| * | | | | | | | | | | | | Remove obsolete comments. The line they comment was kicked out of the code ↵bug_fab5fed65efvogel2017-01-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in [946e946700]. Also, add a small optimization to avoid double invalidation of the damaged region. Indeed the detailed analysis of ticket [fab5fed65e] showed that on OS X the damaged region is invalidated twice: - once through the processing of the Expose event (on OS X the Appkit is not used to draw the widget, Tk is used instead, see comments in tkMacOSXWindowEvent.c around line 770) - a second time because DisplayText() calls TextInvalidateRegion() after TkScrollWindow()