summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete comments. The line they comment was kicked out of the code ↵bug_fab5fed65efvogel2017-01-151-3/+0
| | | | | | | 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()
* Partially fix [fab5fed65e]: OS X - lots of textDisp failures (spurious ↵fvogel2017-01-141-6/+0
| | | | 'borders' and indices in tk_textRedraw). This commit fixes the spurious indices part of the bug report.
* (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-9/+7
| | | | | | | | their signature matching X11.
| * Fix for some redraw issues on Tk-Cocoa on OS X 10.11; further refinement of ↵Kevin Walzer2015-12-151-10/+0
| | | | | | | | memory management; thanks to Marc Culler for patches
* | Add another few Xlib stubs for Win32. Cherry-picked from ↵jan.nijtmans2016-11-071-2/+3
| | | | | | | | [http://www.androwish.org/index.html/info/862eb620a096fddc|AndroWish]. Thanks to Christian Werner.
* | Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks ↵Kevin Walzer2016-07-151-2/+4
| | | | | | | | to Marc Culler for assistance
* | Fix for bitmap distortion on Mac OS; thanks to Marc Culler for patchKevin Walzer2016-07-081-23/+26
| |
* | Fix for some redraw issues on Tk-Cocoa on OS X 10.11; further refinement of ↵Kevin Walzer2015-12-151-10/+0
| | | | | | | | memory management; thanks to Marc Culler for patches
* | merge-mark. Remove unnecessary end-of-line spacingjan.nijtmans2015-12-071-2/+2
|\ \ | |/
| * Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patchKevin Walzer2015-12-071-4/+12
| |
| * Remove multiple deprecated internal API calls on OS X; streamline Apple ↵Kevin Walzer2015-11-251-1/+1
| | | | | | | | Events implementation; thanks to Marc Culler for extensive patches
* | Fix for zombie windows on El Capitan/OS X 10.11; thanks to Marc Culler for patchKevin Walzer2015-12-071-4/+12
| |
* | Remove multiple deprecated internal API calls on OS X; streamline Apple ↵Kevin Walzer2015-11-251-1/+1
| | | | | | | | Events implementation; thanks to Marc Culler for extensive patches
* | clean-up end-of-line spacingjan.nijtmans2015-11-091-4/+3
|\ \ | |/
| * clean-up end-of-line spacingjan.nijtmans2015-11-091-3/+3
| |
| * Cleanup of last patch to Tk-CocoaKevin Walzer2015-11-081-1/+1
| |
| * Fix for issues with bitmap rendering and mouse events in Tk-Cocoa; thanks to ↵Kevin Walzer2015-11-071-37/+49
| | | | | | | | Marc Culler for patches
| * Re-working of internal Cocoa widget drawing routines, especially when ↵Kevin Walzer2015-04-091-23/+72
| | | | | | | | 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-72/+23
| | | | | | | | further investigation
| * Further cleanup of scrolling, drawing, resize in Cocoa; thanks to Marc ↵Kevin Walzer2015-04-071-23/+72
| | | | | | | | Culler for patches
| * Fix for crash when image is dealloc'ed prematurely in CocoaKevin Walzer2015-03-101-2/+4
| |
| * Restore live resize to Cocoa with reduced flickering; addresses most serious ↵Kevin Walzer2015-02-191-10/+5
| | | | | | | | issue of Cocoa drawing while preserving user expectations for display during window resize; thanks to Marc Culler for extensive patch
* | Cleanup of last patch to Tk-CocoaKevin Walzer2015-11-081-1/+1
| |
* | Fix for issues with bitmap rendering and mouse events in Tk-Cocoa; thanks to ↵Kevin Walzer2015-11-071-39/+51
| | | | | | | | Marc Culler for patches
* | Use size_t in stead of int for some internal refCount variables. On 32-bit ↵jan.nijtmans2015-07-081-1/+1
| | | | | | | | systems, this doubles the range (as size_t is unsigned), on 64-bit system much more than that.
* | Re-working of internal Cocoa widget drawing routines, especially when ↵Kevin Walzer2015-04-091-19/+67
| | | | | | | | 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-67/+19
| | | | | | | | further investigation
* | Further cleanup of scrolling, drawing, resize in Cocoa; thanks to Marc ↵Kevin Walzer2015-04-071-19/+67
| | | | | | | | Culler for patches
* | Fix for crash when image is dealloc'ed prematurely in CocoaKevin Walzer2015-03-101-2/+4
| |
* | Restore live resize to Cocoa with reduced flickering; addresses most serious ↵Kevin Walzer2015-02-191-13/+5
| | | | | | | | issue of Cocoa drawing while preserving user expectations for display during window resize; thanks to Marc Culler for extensive patch
* | Silence some compiler warnings.dgp2015-02-121-1/+0
|\ \ | |/
| * Silence some compiler warningsdgp2015-02-121-1/+0
| |
| * Commiting HITheme implementation obuttons; deferring scrolling for now ↵Kevin Walzer2015-01-241-22/+0
| | | | | | | | because no adequate solution, even using themed scrolling via ttk, exists
| * Improved scrolling for text under Cocoa; thanks to Marc Culler for patch.Kevin Walzer2015-01-041-4/+5
| |
| * Fix for bug fb35eb59dd, thanks to Paul Walton for the report and Marc Culler ↵Kevin Walzer2014-10-141-2/+2
| | | | | | | | for the patch
| * Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-75/+57
| | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
* | Commiting HITheme implementation on buttons; deferring scrolling for now ↵Kevin Walzer2015-01-241-22/+0
| | | | | | | | because no adequate solution, even using themed scrolling via ttk, exists
* | remove some unnecessary eol-spacingjan.nijtmans2015-01-151-1/+1
| |
* | Improved scrolling for text under Cocoa; thanks to Marc Culler for patch.Kevin Walzer2015-01-041-2/+7
| |
* | Minor optimization of drawing code in OSXKevin Walzer2014-12-211-2/+2
| |
* | Remove unnecessary end-of-line spacingjan.nijtmans2014-11-211-14/+14
| |
* | Fix for bug fb35eb59dd, thanks to Paul Walton for the report and Marc Culler ↵Kevin Walzer2014-10-141-1/+1
| | | | | | | | for the patch
* | Fix for shimmering of buttons embedded when scrolled in text and canvas ↵Kevin Walzer2014-08-161-75/+57
| | | | | | | | widgets; improvements in scrolling smoothness in text widget. Thanks to Marc Culler for patches.
* | Fix typo's, debug statements, C++-comment.jan.nijtmans2014-08-111-8/+4
|\ \ | |/
| * Fix typo's, debug statements, C++-comment.jan.nijtmans2014-08-111-7/+6
| |
| * Further refinement of scrolling; addresses artifacts in scrolling complex ↵Kevin Walzer2014-08-111-34/+61
| | | | | | | | interfaces on OS X
| * Further refinement of Mac OS X scrolling; thanks to Marc Culler for an ↵Kevin Walzer2014-08-041-61/+34
| | | | | | | | additional patch.
| * Fix for font configure crash on OS X, thanks to rob@bitkeeper.com for the patchKevin Walzer2014-08-011-2/+1
| |
| * Fine-tune scrolling, especially of text widgets with embedded windows, after ↵Kevin Walzer2014-07-281-4/+0
| | | | | | | | removal of private API calls; performance is now better and within acceptable ranges.