summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Fix [39cbacb9e8] and revisit [d72abe6b54] both dealing with inappropriate ↵marc_culler2020-09-073-19/+16
|\ | | | | | | mouse button events. Refactor mouse event code.
| * Remove a hash table that was not neededculler2020-09-043-19/+16
| |
* | TIP #581: grid/pack/place implementation (internal) and documentationjan.nijtmans2020-09-0410-944/+941
| |
* | Another round of TIP #581-related name changes. Now merely concentrated on ↵jan.nijtmans2020-09-0333-475/+486
| | | | | | | | consistancy in the test-cases
* | (cherry-pick: Slave ->Pane, Master->Container in tkPanedwindow.cjan.nijtmans2020-09-038-1069/+1069
| | | | | | More Master->Container-related changes
* | Implement part of TIP #581: Master/Slave. Not complete yet, and also the ↵jan.nijtmans2020-09-0314-561/+567
|/ | | | change to TkGetGeomContainer/TkGetTransientContainer is left out for now.
* Change expectation of safe-5.1 (error-message changed in Tcl)jan.nijtmans2020-08-312-1/+6
| | | Don't use Tcl_GetMaster() any more, use Tcl_GetParent() in stead. With fallback for Tcl < 8.6.11.
* Simplifications, because TkMacOSXGetDrawablePort() always returns NULLjan.nijtmans2020-08-263-65/+20
| | | Remove stub copies which are only meant for future NSAPI-related support: Since no browser supports NSAPI any more, who cares ....
* Remove all use of XImage.pixelpower, but not the field, simplify and reorganize.culler2020-08-221-6/+1
|
* Fix [b505e5f6a9]: Aqua: possible to implement XSetClipRectangles()?jan.nijtmans2020-08-213-4/+13
|\
| * Move stub entry for XSetClipRectangles to 106, since 92 is already filled in ↵jan.nijtmans2020-08-193-13/+13
| | | | | | | | Tk 8.7
| * Test using XSetClipRectangles on macOS.culler2020-08-183-4/+13
| |
* | Fix 2 places where using "unsigned long" is overkill on 64-bit platformsjan.nijtmans2020-08-211-3/+3
| |
* | 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
| |
* | Micro-optimization in tkScale.c, following no-op observation provided in ↵fvogel2020-08-171-6/+4
|\ \ | | | | | | | | | [81c3ef9314].
| * | Remove rounding of the fromValue to the resolution (which is a no-op).fvogel2020-08-171-2/+5
| | |
| * | Remove comment relic.fvogel2020-08-171-5/+0
| | |
* | | Add XOffsetRegion and XkbKeycodeToKeysym to (internal X11) stub table. More ↵jan.nijtmans2020-08-133-8/+19
|\ \ \ | | | | | | | | | | | | use of TCL_UNUSED macro
| * | | [787adc5ed7] The workaround for Tk 8.5.* was still never quite right, anddgp2020-03-161-0/+1
| | | | | | | | | | | | | | | | was continuing to crash in the Tk test suite. Do not know why it took 4 years to notice.
* | | | Rename (internal) MAASTER_MENU to MAIN_MENU, but keep the original, just to ↵jan.nijtmans2020-08-122-26/+27
| | | | | | | | | | | | | | | | be sure
* | | | Add 3 more stub entries to MacOSX X11 stub table, which win32 already has: ↵jan.nijtmans2020-08-113-12/+34
| | | | | | | | | | | | | | | | XDestroyIC(), XCreatePixmapCursor(), XCreateGlyphCursor()
* | | | Add stub entry for XLowerWindow() on MacOS (no idea why this was commented ↵jan.nijtmans2020-08-063-4/+9
| | | | | | | | | | | | | | | | | | | | out, windows and X11 already had this) More use of TCL_UNUSED()
* | | | Rename references to CrtSlave -> CrtAlias. Some more slave -> child changes ↵jan.nijtmans2020-08-042-18/+18
| | | | | | | | | | | | | | | | not affecting the API
* | | | Make TCL_UNUSED() macro usable in Tk 8.6jan.nijtmans2020-08-041-0/+23
| | | |
* | | | end-of-line spacing cleanupjan.nijtmans2020-08-032-2/+2
| | | |
* | | | The colormaps do not fix winfo rgb. Handle that directly. And deal with ↵culler2020-08-011-0/+16
| | | | | | | | | | | | | | | | Big Sur deprecations.
* | | | Improve image testing on macOS.culler2020-07-211-26/+38
| | | |
* | | | Provide better control over how and when [NSView drawRect:] is called.marc_culler2020-07-183-12/+4
|\ \ \ \
| * | | | Fix stupid error with isDrawing - thanks Christopher, Nicolas and Kevin.culler2020-07-161-3/+3
| | | | |
| * | | | macOS: remove unneeded code observed in [7ebdd17974], remove ↵marc_culler2020-07-151-8/+0
| | | | | | | | | | | | | | | | | | | | tkMacOSXFlushWindows, make XSync do nothing except process timer events.
| * | | | Merge 8.6jan.nijtmans2020-07-1213-63/+136
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Better control over when drawRect runs. Add check for drawing outside of ↵culler2020-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | the drawRect clipping rectangle.
| * | | | Add some methods for managing damage rectangles.culler2020-05-311-3/+0
| | | | |
| * | | | Merge 8.6culler2020-05-315-9/+9
| |\ \ \ \
| * | | | | A partly but not completely successful attempt to control how drawRect is run.culler2020-05-301-0/+3
| | | | | |
* | | | | | Code simplifications: Don't bother the typedefs 'EventMask' and 'ModMask' ↵jan.nijtmans2020-07-155-41/+35
| | | | | | | | | | | | | | | | | | | | | | | | for 'unsigned long', since Tk cannot handle more than 32 bits anyway. Simply use 'unsigned' everywhere.
* | | | | | Add yet another comment about the '#if 0' in tkFont.cfvogel2020-07-121-1/+1
| | | | | |
* | | | | | tkFont.c needs to include tkMacOSXInt.h on macOS, because this is where ↵fvogel2020-07-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | TK_DRAW_IN_CONTEXT is defined.
* | | | | | merge core-8-6-branchfvogel2020-07-1223-233/+460
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Fix [34214bbdae]: typographical fixes in comments. Thanks to Christopher Chavez.fvogel2020-07-087-9/+9
| | | | | |
| * | | | | Fix [e3888d5820]: Grab on master prevents mouse pointer warp into slave ↵fvogel2020-07-061-16/+16
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | widget. Mouse pointer warping happens at idle time, and the fix does not change this.
| | * | | | | Rework test bind-35.1 and simplify it a bit, make it fail in core-8-6-branch ↵fvogel2020-06-141-78/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | that does not have the fix yet.
| | * | | | | 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.