summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Rename DoWarpWrtWin --> TkDoWarpWrtWinfvogel2020-06-023-5/+5
|
* Remove function DoWarpWrtScreen which was called from only one place, and ↵fvogel2020-06-022-38/+23
| | | | add comments.
* Rename DoWarp to DoWarWrtScreen, add function DoWarpWrtWin to factorize the ↵fvogel2020-06-023-34/+53
| | | | code a bit.
* Remove the TK_DISPLAY_IN_WARP machinery completely.fvogel2020-06-024-52/+10
|
* Warping with respect to the whole screen is now synchronous as well (it is ↵fvogel2020-06-021-10/+7
| | | | no longer executed as an idle task). This allows to remove some further update/after commands in tests.
* A more robust approach to warping with respect to a window: make the call to ↵fvogel2020-06-022-15/+56
| | | | TkpWarpPointer happen in TkPointerEvent instead of as an idle event. This allows to remove some update/after commands in tests since warping with respect to a window is now synchronous (it happens before event generate $win <Motion> -warp 1 ... returns).
* Use TkGrabState() in function TestgrabObjCmd() instead of ↵fvogel2020-02-181-5/+4
| | | | dispPtr->grabWinPtr to make the code clearer and the interface cleaner.
* Refine test bind-35.1 once more since [grab current] returns the ↵fvogel2020-02-171-0/+79
| | | | eventualGrabWin while we're interested in the grabWin instead.
* Merge 8.6jan.nijtmans2020-02-1718-97/+94
|\
| * A few missing (internal) "const" modifiers.jan.nijtmans2020-02-143-4/+4
| |
| * Use (more efficient) Tcl_GetIntFromObj() in stead of Tcl_GetInt() in a few ↵jan.nijtmans2020-02-123-32/+31
| | | | | | | | places where it makes sense.
| * According to documentation, maxBytes is exclusing the end 0-byte, so ↵jan.nijtmans2020-02-101-2/+2
| | | | | | | | previous commit was a little too strict
| * Don't forget closing 0-bytejan.nijtmans2020-02-101-2/+3
| |
| * Fix (harmless) gcc-9 warningjan.nijtmans2020-02-101-1/+1
| |
| * (cherry-pick): Don't panic for "Wild GenericEvent"'s: Just filter out all ↵jan.nijtmans2020-02-053-10/+11
| | | | | | | | | | | | 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.
| * Merge 8.5jan.nijtmans2020-02-031-17/+4
| |\
| | * Put realEventMasks and virtualEventMasks together in a single table: ↵jan.nijtmans2020-02-031-17/+4
| | | | | | | | | | | | VirtualEvent = MappingNotify + 1, so it's fixed anyway. Other places in Tk code already depend on that, so we can here.
| * | fixed segfault [a196fb11]: wrong handling in ClearLookupTable (if object is ↵sebres2020-01-311-2/+3
| | | | | | | | | | | | not NULL) as well as working on deleted table (in DeleteVirtualEventTable).
| * | Don't use "bool" as variable name. Possible conflict with "bool" type.jan.nijtmans2020-01-281-3/+3
| | |
| * | No need to include "tk.h" here: It's already included in tkInt.h (through ↵jan.nijtmans2020-01-271-4/+0
| | | | | | | | | | | | tkPort.h)
| * | silence "unused variable" warningdgp2020-01-241-1/+0
| | |
| * | Remove 2 comments which are simply not correct (nor useful) any morejan.nijtmans2020-01-192-11/+0
| | |
| * | Fix [077d49828b]: notebook tab 'ambiguous compound' failure/regression, by ↵fvogel2020-01-181-5/+10
| |\ \ | | | | | | | | | | | | making options of type TK_OPTION_STRING_TABLE support the TK_OPTION_NULL_OK flag.
| | * | Fix [077d49828b]: notebook tab 'ambiguous compound' failure/regression, by ↵fvogel2019-12-311-5/+10
| | | | | | | | | | | | | | | | making options of type TK_OPTION_STRING_TABLE support the TK_OPTION_NULL_OK flag.
| * | | Fix [2830360fff]: ttk::entry looses state invalid at focus events. Add ↵fvogel2020-01-181-2/+6
| |\ \ \ | | | | | | | | | | | | | | | non-regression test entry-10.1
| | * | | Fix [2830360fff]: ttk::entry looses state invalid at focus eventsfvogel2020-01-021-2/+6
| | |/ /
| * | | Fix [587937fff]: Don't shuffle tag list sequence upon deletion. Add non ↵fvogel2020-01-181-3/+18
| |\ \ \ | | | | | | | | | | | | | | | regression tests canvas-20.[123]
| | * | | Don't shuffle tags when moving the 'current' tag among items.fvogel2019-12-241-1/+3
| | | | |
| | * | | Fix error (with no consequence) in sizeof() request, and remove useless cast ↵fvogel2019-12-241-2/+2
| | | | | | | | | | | | | | | | | | | | to (void *)
| | * | | Restore tabs on lines that were actually not changed by the fix.fvogel2019-12-241-5/+5
| | | | |
| | * | | Refine the second implementation fixing [587937fff]: Don't shuffle tag list ↵fvogel2019-12-241-8/+1
| | | | | | | | | | | | | | | | | | | | sequence upon deletion.
| | * | | A second (and better) implementation fixing [587937fff]: Don't shuffle tag ↵fvogel2019-12-241-6/+22
| | | | | | | | | | | | | | | | | | | | list sequence upon deletion. This implementation is more efficient (it's O(n)).
| | * | | A first implementation fixing [587937fff]: Don't shuffle tag list sequence ↵fvogel2019-12-241-7/+11
| | |/ / | | | | | | | | | | | | upon deletion. This implementation is not efficient (it's O(n^2)) and will not be kept.
| * | | Fix [1771594fff]: icursor @x,y fails for non-default scrollregions. Test ↵fvogel2019-12-231-2/+2
| |/ / | | | | | | | | | canvText-14.7 now passes.
* | | Fix [e3888d5820] (Grab on master prevents mouse pointer warp into slave ↵fvogel2020-01-251-11/+11
| | | | | | | | | | | | widget) for Linux and Windows. Test bind-35.1 now passes on these platforms.
* | | Reorder code snippet in HandleEventGenerate to make it easier to understand. ↵fvogel2020-01-061-5/+5
|/ / | | | | | | This changes nothing in how things work.
* | Fix [02a69449b5]: Wrong database names for tk::spinboxfvogel2019-12-101-4/+4
| |
* | Build without -DUNICDE -D_UNICODE, since it's not necessary any-more (all ↵jan.nijtmans2019-12-051-15/+0
| | | | | | | | code uses implicit *W-API now). This also eliminates the need for the TK_ASCII_MAIN hack.
* | In tkUnixFont, make sure that the utf-to-ucs2 encoder clamps at 0xFFFF. Use ↵jan.nijtmans2019-12-011-1/+1
| | | | | | | | more uppercase hex-values where appropriate.
* | Fix [d4f5620f5d]: font-4.14 fails (font actual with unicode). Add another ↵jan.nijtmans2019-11-291-1/+1
| | | | | | | | test-case for TCL_UTF_MAX>3
* | Various cleanups in Unicode handling. Note that without Xft on X11 we don't ↵jan.nijtmans2019-11-263-23/+19
|\ \ | | | | | | | | | have Emoji.
| * | More code simplificationjan.nijtmans2019-11-211-15/+12
| | |
| * | Oops _WIN32 with single underscorejan.nijtmans2019-11-211-1/+1
| | |
| * | Now that TkUniCharToUtf() produces maximum of 4 bytes, reduce storage. More ↵jan.nijtmans2019-11-213-10/+13
| | | | | | | | | | | | | | | code simplifications. Disallow Emoji on X11 without xft, just use replacement character then.
* | | merge releasedgp2019-11-221-2/+2
|\ \ \ | |/ / |/| |
| * | Merge 8.6 except for the broken demo.dgp2019-11-201-1/+14
| |\ \
| * \ \ merge 8.6dgp2019-11-151-1/+180
| |\ \ \
| * \ \ \ merge 8.6dgp2019-11-022-4/+4
| |\ \ \ \
| * \ \ \ \ merge 8.6dgp2019-10-282-23/+4
| |\ \ \ \ \
| * \ \ \ \ \ merge 8.6dgp2019-10-251-1/+2
| |\ \ \ \ \ \