log mac/dw.m @ 2032:5ca399fb2d6f

age author description
Fri, 15 Nov 2019 04:26:18 +0000 bsmith Mac: Put back the delayed setNeedsDisplay workaround for Mojave only.
Fri, 15 Nov 2019 03:31:17 +0000 bsmith Mac: Removed delayed setNeedsDisplay:YES to fix the incorrect dwtest file
Sat, 09 Nov 2019 07:43:04 +0000 bsmith Mac: Added cleanup to the DWWebView subclasses and userdata for dw_window_set_data() on it.
Fri, 08 Nov 2019 13:06:47 +0000 bsmith Mac: Implemented DW_SIGNAL_HTML_RESULT for all versions.
Thu, 07 Nov 2019 08:11:28 +0000 bsmith Mac: Added support on MacOS versions that only support WebView.
Thu, 07 Nov 2019 07:00:32 +0000 bsmith Mac: Added DW_SIGNAL_HTML support on Mac when using WKWebView.
Thu, 07 Nov 2019 05:26:04 +0000 bsmith Mac: Implement dw_html_javascript_run() so things build again.
Tue, 05 Nov 2019 21:06:23 +0000 bsmith Mac: Fix building on 10.9 and earlier due to changed constant names.
Mon, 04 Nov 2019 01:15:03 +0000 mhessling Fix setting/getting dates in dw_calendar under macos. Only tested on Mojave. Sorry about the white space changes.
Wed, 16 Oct 2019 21:47:10 +0000 bsmith Mac: Clang didn't like the loss of precision without a cast from the previous change.
Wed, 16 Oct 2019 20:56:44 +0000 bsmith Mac: Fix typecast to int of different size with gcc for 32bit.
Sat, 21 Sep 2019 15:41:57 +0000 bsmith Mac: Some minor code cleanup in the SDK section.
Sat, 21 Sep 2019 15:34:24 +0000 bsmith Mac: Fix compilation with the Catalina 10.15 SDK.
Sat, 07 Sep 2019 16:47:45 +0000 bsmith Mac: dw_percent_set_pos() does not update the position when not called from
Tue, 03 Sep 2019 16:58:09 +0000 bsmith Mac: Rewrite dw_messagebox() to make it thread safe on Mojave.
Mon, 02 Sep 2019 00:30:19 +0000 bsmith Mac: Fix building on MacOS 10.7 Lion.
Sun, 01 Sep 2019 18:49:03 +0000 bsmith Mac: Fix building for MacOS 10.10 Yosemite.
Tue, 06 Aug 2019 22:52:23 +0000 bsmith Mac: Removed an unnecessary retain in the macros that was causing a
Wed, 31 Jul 2019 22:22:58 +0000 bsmith Mac: Another attempt at fixing the drawRect issue, the last fix resulted in
Sun, 28 Jul 2019 23:41:53 +0000 bsmith Mac: Fixed an issue with render widgets not displaying after a drawRect
Fri, 26 Jul 2019 23:20:54 +0000 bsmith Mac: Miscellaneous container/listox fixes. Add a single pixel to the column
Thu, 25 Jul 2019 07:51:10 +0000 bsmith Mac: Switch to using NSAttributedString with foreground color set to
Thu, 25 Jul 2019 06:55:01 +0000 bsmith Mac: Moved even/odd color code into DWContainer class since
Wed, 24 Jul 2019 20:31:55 +0000 bsmith Mac: Initial code to support Dark Mode on Mojave.
Wed, 24 Jul 2019 18:51:57 +0000 bsmith Mac: Added code to avoid unused variable/parameter warnings.
Wed, 24 Jul 2019 17:22:19 +0000 bsmith Mac: Complete refactoring of the Mac code using a handful of macros.
Fri, 12 Jul 2019 17:41:13 +0000 bsmith Mac: 10.14 doesn't like too many needsDisplays so instead we keep a list of
Fri, 12 Jul 2019 02:03:09 +0000 bsmith Mac: Added a safeCall method to DWObject to make it easier to run things on
Thu, 11 Jul 2019 21:40:33 +0000 bsmith Mac: Attempting a better WKWebKit fix, use the WK_API_ENABLED constant to determine if the API is available.
Thu, 11 Jul 2019 09:50:30 +0000 bsmith Mac: Set needsDisplay=YES after acquiring the cachedBitmapRep so it will
Thu, 11 Jul 2019 09:34:44 +0000 bsmith Mac: Pass bi to _create_gc() instead of image. Needs to be NSBitmapImageRep.
Sat, 06 Jul 2019 18:57:29 +0000 bsmith Mac: Fix mojave #ifdefs so it builds pre-mojave.
Sat, 06 Jul 2019 18:44:25 +0000 bsmith Mac: Need to retain the cached render bitmap and recreate it on resize on
Sat, 06 Jul 2019 16:17:04 +0000 bsmith Mac: Fix pre-mojave build, cached render image not available.
Sat, 06 Jul 2019 15:57:53 +0000 bsmith Mac: Massive rewrite to the drawing code in an attempt to get NSView
Sat, 22 Jun 2019 20:58:01 +0000 bsmith Mac: Moved an internal prototype to be with the rest for consistency.
Sat, 22 Jun 2019 20:40:01 +0000 bsmith Mac: In an earlier commit I moved code regarding NSScroller arrow positions into YOSEMITE #ifdef due to the arrows not being available since 10.7.
Sat, 22 Jun 2019 20:11:52 +0000 bsmith Mac: Fix NSStatusItem deprecation warnings by using the embedded NSStatusBarButton instead.
Sat, 22 Jun 2019 20:01:05 +0000 bsmith Mac: Finished commiting a fix to NSProgressIndicator deprecations for 10.14.
Sat, 22 Jun 2019 19:50:15 +0000 bsmith Mac: 10.14 seems to have drastically changed the drawing mechanism.
Fri, 21 Jun 2019 22:07:30 +0000 bsmith Mac: Moved all 10.12 related constants to the top of the source, vastly reducing the number of #ifdefs.
Fri, 21 Jun 2019 20:42:08 +0000 bsmith Mac: Fixed building on Sierra, WKWebKit is undefined even though the docs
Fri, 21 Jun 2019 19:37:57 +0000 bsmith Mac: Fixed deprecation warnings relating to the GraphicsPort now using CoreGraphics.
Thu, 20 Jun 2019 21:15:15 +0000 bsmith Fixes many deprecation warnings building for MacOS 10.14.
Fri, 20 Jul 2018 03:10:44 +0000 mhessling Fix crash on macos with clicking a default button set with dw_windows_click_default
Wed, 18 Oct 2017 17:26:39 +0000 bsmith Mac: Fix deprecation warning in the 10.13 SDK.
Thu, 20 Apr 2017 10:36:49 +0000 bsmith Added dw_mle_set_auto_complete() stubs for OS/2 and Windows...
Thu, 20 Apr 2017 09:57:15 +0000 bsmith Added dw_mle_set_auto_complete() to enable MLE auto completion on supported platforms.
Tue, 04 Oct 2016 06:47:36 +0000 mhessling Turn off smart text and quote substitution on MLE.
Wed, 28 Sep 2016 18:36:53 +0000 bsmith Fix numerous deprecation warnings building with SDK 10.12 Sierra.
Sat, 19 Sep 2015 10:14:03 +0000 bsmith Add extra border space to all entryfield controls on Yosemite and higher.
Mon, 27 Jul 2015 10:27:05 +0000 bsmith XCode 7.0 reports that NSTabViewItem initWithIdentifier can't be NULL...
Tue, 21 Apr 2015 17:12:09 +0000 bsmith Fix a number of warning generated by the new
Fri, 20 Mar 2015 13:48:42 +0000 bsmith A few more warning fixes for OS X 10.10, and a bug fix for the new mac dw_messagebox() code.
Wed, 01 Oct 2014 05:37:10 +0000 bsmith Minor fix for that last commit... code actually works now. ;)
Tue, 30 Sep 2014 22:13:25 +0000 bsmith Minor fixes and changes to remove deprecation warnings in 10.10 and
Tue, 30 Sep 2014 18:39:03 +0000 bsmith Fix some deprecations introduced in Mac OS X Yosemite 10.10...
Fri, 25 Oct 2013 16:56:08 +0000 bsmith Logic error caused the alert style to get set after the alert was shown.
Fri, 25 Oct 2013 09:38:21 +0000 bsmith Fixed OS X 10.9 issues by migrating to NSAlert from newly deprecated methods.
Mon, 09 Sep 2013 19:18:36 +0000 bsmith Divided thread initialization and deinitialization into separate
Thu, 05 Sep 2013 17:58:40 +0000 bsmith Fix a couple of errors reported by the static analyzer on Mac....
Fri, 30 Aug 2013 00:07:22 +0000 bsmith Need to duplicate container query results on Mac.
Thu, 08 Aug 2013 23:53:38 +0000 bsmith Fixes for Mac code and allocate and free duplicates of title strings.
Wed, 07 Aug 2013 18:56:28 +0000 bsmith First Mac round of changes aimed at separating the data and text
Tue, 05 Mar 2013 05:12:25 +0000 bsmith Fixed object/signal/memory leak on Mac when destroying
Fri, 01 Mar 2013 16:51:08 +0000 bsmith Add dw_shutdown() function which does the same thing as dw_exit() ...
Wed, 27 Feb 2013 19:14:22 +0000 bsmith Initial commit for new dw_signal_connect_data() function...
Tue, 01 Jan 2013 23:18:56 +0000 bsmith Added code to set the foreground color on Mac buttons...
Sat, 29 Dec 2012 05:34:04 +0000 bsmith Attempt at resetting default colors with DW_CLR_DEFAULT on Mac...
Thu, 13 Dec 2012 07:48:30 +0000 bsmith Added support for trapping the Mac Quit handler by using DW_DESKTOP as
Sat, 27 Oct 2012 01:29:32 +0000 bsmith Fixed crash on Mac due to autoreleasing images not displayed.
Fri, 26 Oct 2012 04:46:13 +0000 bsmith Added bitmap button support to dw_window_set_bitmap() and added missing extention handling.
Fri, 19 Oct 2012 22:35:23 +0000 mhessling Change incorrect call to DW_MUTEX_LOCK to DW_MUTEX_UNLOCK in dw_mle_get_size()
Mon, 08 Oct 2012 19:32:45 +0000 bsmith Fixed back tab handling for certain controls on Mac.
Sat, 06 Oct 2012 00:33:37 +0000 bsmith Added keyboard support to the notebook control on Mac.
Fri, 05 Oct 2012 20:23:29 +0000 bsmith Fix for selecting radio buttons with the keyboard on Mac.
Fri, 05 Oct 2012 20:17:14 +0000 bsmith Added keyboard handling for (check/radio/spin)buttons, containers, trees, lists on Mac.
Sat, 29 Sep 2012 00:21:21 +0000 bsmith Make sure the view packed into the notebook on Mac is a DWBox class...
Thu, 27 Sep 2012 05:09:10 +0000 mhessling Add DW_FCF_TEXTURED window style; relevant only for Mac port.
Mon, 24 Sep 2012 23:24:25 +0000 bsmith Added new dw_window_set_focus() function and attempted to fix...
Sun, 05 Aug 2012 13:47:57 +0000 bsmith Similar fixes to the Mac one on OS/2 and Windows....
Sun, 05 Aug 2012 13:02:39 +0000 bsmith Set status text fields in the test program to auto height... because they were too small on Mac.... this caused me to notice a bug in the calculation of (status) text widgets when the text is empty; this also contains a fix for that bug.
Sat, 04 Aug 2012 00:05:47 +0000 bsmith Discovered a breakage in OS/2 functionality when building
Wed, 25 Jul 2012 02:15:35 +0000 bsmith Make sure we set the locale on Mac and it is UTF-8.
Tue, 24 Jul 2012 23:33:50 +0000 bsmith Added UTF8/Wide conversion functions on OS/2 and Windows...
Tue, 24 Jul 2012 22:52:57 +0000 bsmith Put test program code into DEPRECATED #ifdef again to avoid build warnings.
Mon, 23 Jul 2012 16:56:08 +0000 bsmith Attempted fix at Mac textured background repeat problems. Thanks to Christoph Sinai
Thu, 19 Jul 2012 06:01:30 +0000 bsmith Readd support for 10.5... the drawInRect method I was using only supports 10.6 and higher...
Tue, 17 Jul 2012 23:00:26 +0000 bsmith Minor cleanups for the Mac status text changes for 10.8.
Mon, 16 Jul 2012 22:32:00 +0000 bsmith Switched to using drawInRect: instead of drawAtPoint: on Mac since drawAtPoint
Mon, 16 Jul 2012 20:16:19 +0000 bsmith Eliminated use of deprecated method compositeToPoint on Mac.
Sun, 15 Jul 2012 06:30:03 +0000 bsmith Check for pointerArrayWithWeakObjects before weakObjectsPointerArray on Mac
Sun, 15 Jul 2012 05:35:30 +0000 bsmith Check if classes respond to selectors on Mac for new, removed and deprecated methods to avoid compiler warnings.
Sat, 14 Jul 2012 04:13:59 +0000 bsmith Experimental change to use NSBox to draw border of status text widgets on Mac.
Thu, 12 Jul 2012 21:18:01 +0000 bsmith Seems the cool looking bezeled look to the text field has changed in Mac 10.8.
Thu, 12 Jul 2012 20:29:12 +0000 bsmith Fix some warnings with Mac 10.8 and Xcode 4.5.
Fri, 06 Jul 2012 10:51:28 +0000 bsmith Mark and I decided to change dw_box_remove*() to dw_box_unpack*() for consistency.
Sat, 30 Jun 2012 18:34:19 +0000 bsmith Fixed a memory leak in the Mac box code, items were not being freed when destroyed.
Wed, 13 Jun 2012 19:38:00 +0000 bsmith Added optional utf8 parameter to keypress callback on Mac.
Mon, 04 Jun 2012 22:18:56 +0000 bsmith Added dw_filesystem_set_column_title() function to aid in localization.
Sat, 19 May 2012 21:44:24 +0000 bsmith Test fix for warnings generated in Xcode 4.3... hopefully this still allows 10.5 builds to work.
Tue, 08 May 2012 18:53:03 +0000 bsmith Fix dw_window_set_bitmap_from_data() not using the resource ID if data is NULL.
Mon, 07 May 2012 13:56:14 +0000 bsmith Create an internal _dw_icon_load() which does not resize the image on Mac.
Mon, 07 May 2012 13:29:51 +0000 bsmith Disable wrapping on entryfields and static text on Mac.
Sat, 05 May 2012 21:41:57 +0000 bsmith Safety check for the icon resize code on Mac and GTK.
Sat, 05 May 2012 21:32:50 +0000 bsmith Similar code for Mac to keep HICNs from getting too big.
Sat, 05 May 2012 20:13:43 +0000 bsmith Fixed a bug in dw_container_delete_row() on Mac and potentially a similar bug in dw_container_delete().
Sat, 05 May 2012 06:48:40 +0000 bsmith Fix Unicode issues with the directory browser on Windows.
Fri, 27 Apr 2012 16:02:32 +0000 bsmith More comment cleanups.
Fri, 27 Apr 2012 15:49:16 +0000 bsmith Added exports for building with MinGW on Windows and Watcom on OS/2.
Fri, 27 Apr 2012 01:17:09 +0000 bsmith Fix packing padding not triggering automatic redraws on OS/2, Mac and Windows.
Thu, 26 Apr 2012 23:26:35 +0000 bsmith Fix minor issues with dw_box_remove_at_index() on Mac.
Thu, 26 Apr 2012 21:57:18 +0000 bsmith Initial implementation of dw_box_remove() and dw_box_remove_at_index() for Mac.
Tue, 24 Apr 2012 00:08:20 +0000 bsmith Fix dw_window_destroy() failing on splitbars and possibly other widgets on Mac.
Mon, 09 Apr 2012 21:06:50 +0000 bsmith Fixed windows not automatically redrawing when removing items from a layout
Sat, 07 Apr 2012 20:51:40 +0000 bsmith Fix taskbar/menubar event breakage from the recent Mac control key changes.
Sat, 07 Apr 2012 18:03:38 +0000 bsmith Improved arc drawing on the Mac using the same method as GDI+ on Windows.
Sat, 07 Apr 2012 03:54:24 +0000 bsmith Ug, missing parenthesis made that last fix misbehave in certain cirucumstances.
Sat, 07 Apr 2012 03:11:51 +0000 bsmith Another fix for Contol clicking on Mac... getting double events
Sat, 07 Apr 2012 02:16:36 +0000 bsmith On Mac set button to 2 (right) when Control key is pressed and left clicking