summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXXStubs.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Borrowed a hack from tkMacOSXClipboard.c to make sure that the same Timeculler2018-04-291-2/+2
| | | | | | variable is updated by the tk inactive command and the event processor.
| * Create a simple inactivity timer.culler2018-04-291-69/+4
| |
* | Merge core-8-6-branch into trunk. Includes fix for [b24a7a877d].culler2017-11-181-0/+1
|\ \ | |/
| * Make it possible to generate an NSImage with correct transparency from aculler2017-11-151-0/+1
| | | | | | | | photoimage. Fixes transparency issues with iconphotos and images in menus.
* | Merge macOS_images into trunk.culler2017-11-101-397/+1
|\ \ | |/
| * Minor changes to deal with compiler warnings for different OSXculler2017-11-091-1/+1
| | | | | | versions. Now builds cleanly with deployment targets 10.6 - 10.13.
| * Reorganization to put all code related to Ximages in the newculler2017-11-081-396/+0
| | | | | | file tkMacOSXImage.c
| * Numerous fixes for Tk on macOS 10.13; eliminate memory leaks, override ↵Kevin Walzer2017-10-111-2/+1
| | | | | | | | system fullscreen API that confuses window geometry, improve implementation of Tk fullscreen API. Thanks to Marc Culler for patches to address memory leaks.
| * Fix for 5f44d4f5 in building Tk on macOS 10.6; thanks to Mojca Miklavec for ↵Kevin Walzer2017-05-291-2/+4
| | | | | | | | patch
* | Removal of obsolete stubs function Tk_FreeXId that has been replaced by macroKevin Walzer2017-10-151-8/+0
| |
* | Numerous fixes for Tk on macOS 10.13; eliminate memory leaks, override ↵Kevin Walzer2017-10-111-2/+9
| | | | | | | | system fullscreen API that confuses window geometry, improve implementation of Tk fullscreen API. Thanks to Marc Culler for patches to address memory leaks.
* | Fix for 5f44d4f5 in building Tk on macOS 10.6; thanks to Mojca Miklavec for ↵Kevin Walzer2017-05-291-2/+4
| | | | | | | | patch
* | merge core-8-6-branchjan.nijtmans2016-11-081-2/+2
|\ \ | |/
| * (micro-) optimize a few Win32 drawing functions, and make them work when ↵jan.nijtmans2016-11-081-2/+2
| |\ | | | | | | | | | npoints=0
| | * Add XDrawSegments/XDrawPoint/XDrawPoints to internal stub table, and fix ↵jan.nijtmans2016-11-081-2/+2
| | | | | | | | | | | | their signature matching X11.
| * | 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-2/+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-3/+3
| | |
| | * Remove multiple deprecated internal API calls on OS X; streamline Apple ↵Kevin Walzer2015-11-251-1/+15
| | | | | | | | | | | | Events implementation; thanks to Marc Culler for extensive patches
| | * Cleanup of last patch to Tk-CocoaKevin Walzer2015-11-081-10/+11
| | |
| | * Fix for PNG rendering on OS X 10.11; thanks to Stephan Meier for patchKevin Walzer2015-10-261-14/+27
| | |
| | * Remove garbage collections calls as GC is no longer supported on OS X; ↵Kevin Walzer2015-03-211-2/+1
| | | | | | | | | | | | thanks to Marc Culler for patch
| * | Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks ↵Kevin Walzer2016-07-151-7/+30
| | | | | | | | | | | | to Marc Culler for assistance
* | | Change Tk_FreeXId() into a macro.jan.nijtmans2016-08-121-9/+1
| | | | | | | | | A few end-of-line spacing eliminations.
* | | Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks ↵Kevin Walzer2016-07-151-7/+30
|/ / | | | | | | to Marc Culler for assistance
* | spacingjan.nijtmans2015-12-171-1/+1
| |
* | Fix for some redraw issues on Tk-Cocoa on OS X 10.11; further refinement of ↵Kevin Walzer2015-12-151-4/+2
| | | | | | | | 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-3/+4
| |
* | Remove multiple deprecated internal API calls on OS X; streamline Apple ↵Kevin Walzer2015-11-251-1/+15
| | | | | | | | Events implementation; thanks to Marc Culler for extensive patches
* | Fix for PNG rendering on OS X 10.11; thanks to Stephan Meier for patchKevin Walzer2015-10-261-11/+25
| |
* | Remove garbage collections calls as GC is no longer supported on OS X; ↵Kevin Walzer2015-03-211-2/+1
| | | | | | | | thanks to Marc Culler for patch
* | Fix typo's, debug statements, C++-comment.jan.nijtmans2014-08-111-2/+2
|\ \ | |/
| * Add copyright notice to Marc Culler for extensive patch to alpha rendering ↵Kevin Walzer2014-07-251-0/+1
| | | | | | | | 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-52/+60
| | | | | | | | Culler for the extensive patch.
| * remove RCS keywords, use mode: objc consistantlyjan.nijtmans2012-10-231-3/+1
| |
| * Review branch for merge of Tk-Cocoa into Tk 8.5 main branchKevin Walzer2012-09-121-180/+242
| |
* | Add copyright notice to Marc Culler for extensive patch to alpha rendering ↵Kevin Walzer2014-07-251-0/+1
| | | | | | | | 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-52/+60
| | | | | | | | Culler for the extensive patch.
* | Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-081-2/+4
|\ \ | |/ | | | | needed for Cygwin
| * Change XSetDashes signature and many others to match Xorg, needed for Cygwinjan.nijtmans2012-06-051-2/+4
| |\
| | * Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-011-2/+4
| | | | | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * macosx/tkMacOSXXStubs.c: sync with core-8-5-branch.das2008-06-121-2/+2
| | |
| | * Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-10/+99
| | |
| | * * macosx/tkMacOSXXStubs.c (DestroyImage): Fixed crash in releasehobbs2007-07-041-3/+2
| | | | | | | | | | | | | | | of image data for images coming from XGetImage, introduced 2007-06-23. (das)
| | * * macosx/tkMacOSXScrlbr.c: correct int <-> dobule conversion issuesdas2007-06-291-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/tkMacOSXXStubs.c (XCreateImage, DestroyImage): correct XImagedas2007-06-231-121/+224
| | | | | | | | | | | | | | | | | | | | | | | | bytes_per_line/bitmap_pad calculations and endianness setting; free image data and XImage structure at destruction; formatting cleanup. * macosx/tkMacOSXDialog.c (NavServicesGetFile): disable app-modal sheet variant of nav dialog on OS versions where it causes problems.
| | * * macosx/tkMacOSXMenu.c: add error checking; whitespace cleanup.das2007-06-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: