summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [720879afe9] - WM_CHAR message handling. Patch from Christian Werner ↵jan.nijtmans2016-09-271-1/+1
|\ | | | | | | | | backported from http://www.androwish.org/index.html/info/a0da5845594cec28. Change (internal) TkpGetFontAttrsForChar() signature to match androwish's, no functional change.
| * Fix for some redraw issues on Tk-Cocoa on OS X 10.11; further refinement of ↵Kevin Walzer2015-12-151-10/+1
| | | | | | | | memory management; thanks to Marc Culler for patches
| * Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patchKevin Walzer2015-12-071-1/+2
| |
| * Cleanup of last patch to Tk-CocoaKevin Walzer2015-11-081-3/+0
| |
| * Re-working of internal Cocoa widget drawing routines, especially when ↵Kevin Walzer2015-04-091-0/+59
| | | | | | | | resizing; fix rendering of scrollbar when resized or clipped; cleanup of button metrics; thanks to Marc Culler for extensive patches
| * Backing out changes; unexpected issues with window resizing that require ↵Kevin Walzer2015-04-071-59/+0
| | | | | | | | further investigation
| * Further cleanup of scrolling, drawing, resize in Cocoa; thanks to Marc ↵Kevin Walzer2015-04-071-0/+59
| | | | | | | | Culler for patches
| * Cleanup and simplification of memory management in event loop; now works ↵Kevin Walzer2015-03-211-0/+6
| | | | | | | | more smoothly; thanks to Marc Culler for patches
| * Wish now launches in front when caed from command line, and focus -force ↵Kevin Walzer2015-03-151-2/+4
| | | | | | | | works correctly; thanks to Marc Culler for patch
| * Fixes to tkMacOSXWindowEvent.c to improve drawing performance after removal ↵Kevin Walzer2014-09-241-1/+0
| | | | | | | | of private NSView API's
| * Fine-tune display of buttons on Tk/Cocoa on horizontal scrollKevin Walzer2014-09-231-0/+1
| |
* | Final tweak for OS X wm crash, thanks to Marc CullerKevin Walzer2016-07-191-1/+1
| |
* | Fix for Ticket c84f660833546b1b84e7fd3aef930c2f17207461 (Tk crashes when ↵Kevin Walzer2016-07-171-7/+13
| | | | | | | | toplevel placed on second display, Mac); thanks to Marc Culler for patch
* | Fix for some redraw issues on Tk-Cocoa on OS X 10.11; further refinement of ↵Kevin Walzer2015-12-151-10/+1
| | | | | | | | memory management; thanks to Marc Culler for patches
* | Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patchKevin Walzer2015-12-071-1/+2
| |
* | Cleanup of last patch to Tk-CocoaKevin Walzer2015-11-081-4/+0
| |
* | Re-working of internal Cocoa widget drawing routines, especially when ↵Kevin Walzer2015-04-091-0/+59
| | | | | | | | resizing; fix rendering of scrollbar when resized or clipped; cleanup of button metrics; thanks to Marc Culler for extensive patches
* | Backing out changes; unexpected issues with window resizing that require ↵Kevin Walzer2015-04-071-59/+0
| | | | | | | | further investigation
* | Further cleanup of scrolling, drawing, resize in Cocoa; thanks to Marc ↵Kevin Walzer2015-04-071-0/+59
| | | | | | | | Culler for patches
* | Cleanup and simplification of memory management in event loop; now works ↵Kevin Walzer2015-03-211-0/+6
| | | | | | | | more smoothly; thanks to Marc Culler for patches
* | Wish now launches in front when called from command line, and focus -force ↵Kevin Walzer2015-03-151-2/+4
| | | | | | | | works correctly; thanks to Marc Culler for patch
* | Fix typo's, debug statements, C++-comment.jan.nijtmans2014-08-111-4/+8
|\ \ | |/
| * Fix typo's, debug statements, C++-comment.jan.nijtmans2014-08-111-4/+8
| |
| * Further refinement of scrolling; addresses artifacts in scrolling complex ↵Kevin Walzer2014-08-111-9/+5
| | | | | | | | interfaces on OS X
| * Further refinement of Mac OS X scrolling; thanks to Marc Culler for an ↵Kevin Walzer2014-08-041-5/+9
| | | | | | | | additional patch.
| * Fine-tune scrolling, especially of text widgets with embedded windows, after ↵Kevin Walzer2014-07-281-9/+0
| | | | | | | | removal of private API calls; performance is now better and within acceptable ranges.
| * Add copyright notice to Marc Culler for extensive patch to alpha rendering ↵Kevin Walzer2014-07-251-5/+6
| | | | | | | | on Mac/Cocoa; remove private API calls to comply with platform requirements.
| * Fix for alpha channel rendering for images on OS X Mavericks; thanks to Marc ↵Kevin Walzer2014-07-071-2/+2
| | | | | | | | Culler for the extensive patch.
| * remove RCS keywords, use mode: objc consistantlyjan.nijtmans2012-10-231-3/+1
| |
| * Cherrypick Merge, Backport of [6223d9e067]. Restored fromandreask2012-10-091-0/+7
| | | | | | | | | | | | | | | | | | tk-cocoa-8-5-bacport-branch, did not survive the merge. See trunk 2012-05-29 Donal K. Fellows * generic/tkInt.decls (TkMacOSXDrawable): Added OSX-specific mechanism to allow retrieval of the drawing surface. Allows Canvas3d to be adapted to 8.6.
| * Review branch for merge of Tk-Cocoa into Tk 8.5 main branchKevin Walzer2012-09-121-424/+324
| |
* | Further refinement of scrolling; addresses artifacts in scrolling complex ↵Kevin Walzer2014-08-111-9/+5
| | | | | | | | interfaces on OS X
* | Further refinement of Mac OS X scrolling; thanks to Marc Culler for an ↵Kevin Walzer2014-08-041-5/+9
| | | | | | | | additional patch.
* | Fine-tune scrolling, especially of text widgets with embedded windows, after ↵Kevin Walzer2014-07-281-8/+0
| | | | | | | | removal of private API calls; performance is now better and within acceptable ranges.
* | Add copyright notice to Marc Culler for extensive patch to alpha rendering ↵Kevin Walzer2014-07-251-5/+6
| | | | | | | | on Mac/Cocoa; remove private API calls to comply with platform requirements.
* | Fix for alpha channel rendering for images on OS X Mavericks; thanks to Marc ↵Kevin Walzer2014-07-071-2/+2
| | | | | | | | Culler for the extensive patch.
* | Fix for 3572016, menus not re-enabling after modal dialogKevin Walzer2012-10-021-1/+1
| |
* | Added OSX-specific mechanism to allow retrieval of the drawing surface.dkf2012-05-291-0/+7
| |
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * macosx/tkMacOSXEmbed.c (TkpMakeWindow): fix bug with missingdas2008-06-191-2/+48
| | | | | | | | | | | | | | | | | | * macosx/tkMacOSXSubwindows.c (XMapWindow): focus on first map by only sending VisibilityNotify events once windows are mapped (rather than when they are created).
| | * * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Revert 2007-10-26das2007-12-181-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change to window class of transient toplevels that are not also overrideredirect. [Bug 1845899] * macosx/tkMacOSXWm.c (ApplyMasterOverrideChanges): Implement more * macosx/tkMacOSXMouseEvent.c (BringWindowForward): X11-like transient * macosx/tkMacOSXSubwindows.c (XDestroyWindow): behaviour by adding transient windows to a window group owned by the master window, this ensures transients always remain in front of and are collapsed with the master; bring master to front when selecting transient windows; restore default window group of transients if master destroyed. [Bug 1845899]
| | * Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-56/+148
| | |
| | * * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-291-136/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that could lead to Carbon getting confused about scrollbar thumb size. * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) use TkMacOSX{Setup,Restore}DrawingContext() to setup/restore clip & colors. (TkMacOSXSetupDrawingContext, TkMacOSXRestoreDrawingContext): add save and restore of QD port clip region; factor out clip region code common to CG and QD branches; check for port and context validity; handle tkPictureIsOpen flag during QD port setup. (TkScrollWindow): remove unnecessary scroll region manipulation * macosx/tkMacOSXDraw.c: remove second global QD temp region * macosx/tkMacOSXInt.h: (no longer necessary) and rename * macosx/tkMacOSXRegion.c: remaining global QD temp region. * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXDraw.c: make useCGDrawing variable MODULE_SCOPE * macosx/tkMacOSXFont.c: and sync formatting with HEAD. * macosx/tkMacOSXButton.c: reduce reliance on current QD port * macosx/tkMacOSXColor.c: setting and remove unnecessary * macosx/tkMacOSXDebug.c: references to a drawable's QD port, * macosx/tkMacOSXDebug.h: notably replace GetWindowFromPort( * macosx/tkMacOSXDialog.c: TkMacOSXGetDrawablePort()) idiom by new * macosx/tkMacOSXDraw.c: TkMacOSXDrawableWindow() and change * macosx/tkMacOSXKeyEvent.c: TkMacOSXSetColorInPort() to take a port * macosx/tkMacOSXMenu.c: argument. * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXInt.h: factor out macros, declarations * macosx/tkMacOSXPrivate.h (new): and prototypes that are purely internal and private to the 'macosx' sources into a new internal header file that does _not_ get installed into Tk.framework/PrivateHeaders. * macosx/tkMacOSXButton.c: #include new tkMacOSXPrivate.h * macosx/tkMacOSXCarbonEvents.c: instead of tkMacOSXInt.h. * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c:
| | * * macosx/tkMacOSXColor.c: fix issues with TK_{IF,ELSE,ENDIF} macros;das2007-06-091-19/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: implement Jaguar equivalent of unavailable * macosx/tkMacOSXEntry.c: kHIToolboxVersion global; panic at startup * macosx/tkMacOSXEvent.c: if MAC_OS_X_VERSION_MIN_REQUIRED constraint * macosx/tkMacOSXInit.c: is not satisfied. * macosx/tkMacOSXInt.h: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXDraw.c (XCopyArea, XCopyPlane, TkPutImage) (TkMacOSXSetupDrawingContext): factor out common code and standardize setup/restore of port, context and clipping; formatting cleanup. * macosx/tkMacOSXWindowEvent.c: add error checking. * macosx/tkMacOSXMenu.c: fix gcc3 warning. * macosx/tkMacOSXScrlbr.c: fix testsuite crash. * macosx/tkMacOSXSubwindows.c: formatting cleanup. * macosx/tkMacOSXRegion.c: fix typos. * macosx/tkMacOSXScale.c:
| | * * macosx/tkMacOSXMenu.c: add error checking; whitespace cleanup.das2007-06-041-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDraw.c: sync comment formatting with HEAD. * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c:
| | * * macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): complete alldas2007-05-311-259/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending idle-time redraws before newly posted Expose events are processed; add bounds of redrawn windows to update region to ensure all child windows overdrawn by parents are redrawn. * macosx/tkMacOSXWindowEvent.c: centralize clip and window invalidation * macosx/tkMacOSXSubwindows.c: after location/size changes in the * macosx/tkMacOSXWm.c: BoundsChanged carbon event handler; correct/add window invalidation after window attribute changes. * macosx/tkMacOSXSubwindows.c (XResizeWindow, XMoveResizeWindow, XMoveWindow): factor out common code dealing with embedded and non-toplevel windows; remove unnecessary clip and window invalidation. * macosx/tkMacOSXButton.c (TkpDisplayButton): move clip setup closer to native button drawing calls. * macosx/tkMacOSXWm.c (TkMacOSXIsWindowZoomed, TkMacOSXZoomToplevel): correct handle gridded windows in max size calculations. * macosx/tkMacOSXEvent.c (TkMacOSXFlushWindows): use HIWindowFlush API when available. * macosx/tkMacOSXColor.c: cleanup whitespace and formatting. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c:
| | * * macosx/tkMacOSXMenu.c (DrawMenuSeparator): use DrawingContext API.das2007-05-301-48/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXWindowEvent.c (ClearPort): clip to updateRgn. * macosx/tkMacOSXDebug.c: factor out debug region flashing. * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXEvent.c: cleanup whitespace and formatting. * macosx/tkMacOSXFont.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * xlib/xgc.c:
| | * * macosx/tkMacOSXWindowEvent.c: ensure window is brought to the frontdas2007-05-091-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXMouseEvent.c: at the start of a window drag (except * macosx/tkMacOSXInt.h: when cmd key is down); formatting and whitespace fixes. * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): add -filetypes option processing. * macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): fix sending of Visibility event for embedded windows (fixes frame-3.9 hang). * macosx/tkMacOSXScrlbr.c (ScrollbarBindProc): fix testsuite * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): crashes by adding sanity checks. * macosx/tkMacOSXButton.c: fix debug msg typo.