log mac/dw.m @ 2418:50e1ddce0aeb

age author description
Sat, 03 Apr 2021 02:54:19 +0000 bsmith Mac: Fix building on old versions of MacOS due to a recent change.
Wed, 31 Mar 2021 16:31:27 +0000 bsmith iOS/Mac: Fix a minor memory leak in dw_pixmap_grab().
Tue, 30 Mar 2021 08:28:35 +0000 bsmith Add DW_FEATURE_TREE feature test, since iOS does not suppor tree.
Thu, 25 Mar 2021 09:02:09 +0000 bsmith Mac: Clean up some code errors reported by LLVM.
Thu, 25 Mar 2021 07:34:13 +0000 bsmith Mac: Prefix any global internal functions or variables with _dw or make them
Thu, 18 Mar 2021 02:07:21 +0000 bsmith Mac: Only pass valid alignments to the setAlignment: method.
Thu, 18 Mar 2021 00:01:37 +0000 bsmith Mac: Switch to performSelector: instead of calling implementation directly.
Tue, 09 Mar 2021 13:14:15 +0000 bsmith Mac: setNeedsDisplay:YES needs to be on the main thread...
Mon, 08 Mar 2021 19:53:55 +0000 bsmith Add new function dw_render_redraw() which will trigger expose event on render widgets.
Mon, 08 Mar 2021 19:22:39 +0000 bsmith Mac: Add missing ; to a few DW_FUNCTION_RETURN_THIS() macros.
Fri, 05 Mar 2021 06:03:55 +0000 bsmith Mac: Revert the HAVE_AVAILABLE portion of that last commit...
Fri, 05 Mar 2021 04:30:20 +0000 bsmith Mac: Added HAVE_AVAILABLE macro when building on a system with @available().
Thu, 04 Mar 2021 16:33:55 +0000 bsmith Mac: Partial rewrite of dw_exect(). Implement DW_EXEC_CON with Terminal.app.
Wed, 10 Feb 2021 08:28:32 +0000 bsmith Mac: Remove bogus check for 10.6 for setAppleMenu:
Sun, 07 Feb 2021 12:45:40 +0000 bsmith Update the readme with GTK4 and Mac information, plus a minor code cleanup.
Sun, 07 Feb 2021 10:17:54 +0000 bsmith Mac: Should report MLE autocomplete unsupported on Lepard 10.5.
Sun, 07 Feb 2021 10:07:02 +0000 bsmith Mac: Fix building on Leopard 10.5.
Wed, 03 Feb 2021 21:44:15 +0000 bsmith Add DW_FEATURE_TASK_BAR to the feature tests, for taskbar icon support.
Wed, 27 Jan 2021 20:54:26 +0000 bsmith Remove the font test with Italic before Bold. This does not work on OS/2.
Wed, 27 Jan 2021 19:07:25 +0000 bsmith Mac: Switch to using NSFontManager fontWithFamily instead of NSFont fontWithName
Tue, 26 Jan 2021 11:02:43 +0000 bsmith Mac: Need to use the font and color set on the NSTextStorage when creating
Sun, 24 Jan 2021 23:17:02 +0000 bsmith Mac: Fix crash in dw_window_set_font() with NULL font name.
Wed, 06 Jan 2021 16:57:48 +0000 bsmith Update copyright and changelog to include Rich Edit change on Windows.
Mon, 04 Jan 2021 12:33:20 +0000 bsmith Mac: Fix display of MLE after toggling word wrap on, without having to
Wed, 16 Dec 2020 05:59:11 +0000 bsmith Mac: Avoid warning building 32bit on some versions of MacOS.
Mon, 30 Nov 2020 23:11:08 +0000 bsmith Mac: Attempt to restore the Container/Listbox focus rings. This used to work
Sun, 25 Oct 2020 22:20:44 +0000 bsmith Mac: Fix CGContext 0x0 warnings by checking the CGContext is valid first.
Sun, 25 Oct 2020 21:42:41 +0000 bsmith Mac: Workaround infinite loop in spinbutton control in Snow Leopard (10.6).
Mon, 19 Oct 2020 20:51:31 +0000 bsmith Mac: Don't reload the whole NSOutlineView after a change, to prevent selection
Thu, 15 Oct 2020 18:14:32 +0000 bsmith Mac: Same foreground/text color change for the tree widge.
Thu, 15 Oct 2020 18:01:15 +0000 bsmith Mac: Copy text color to the NSTabelCellView's text field from the container.
Thu, 15 Oct 2020 04:45:11 +0000 bsmith Mac: Fix overlooked change in the NSCell code.
Thu, 15 Oct 2020 04:39:18 +0000 bsmith Mac: Missed updating dw_filesystem_set_file() in that last commit.
Thu, 15 Oct 2020 03:38:23 +0000 bsmith Mac: Change the listbox functions to use NSTableCellView.
Thu, 15 Oct 2020 00:23:56 +0000 bsmith Mac: Push the NSView changes back to Lion 10.7 and fix building on Lion.
Wed, 14 Oct 2020 23:44:25 +0000 bsmith Mac: Attempt to fix cell clipping/visibility issues by fully enabling
Wed, 14 Oct 2020 03:27:02 +0000 bsmith Mac: Add DW_USE_NSVIEW define for enabling NSView based controls. This
Wed, 14 Oct 2020 01:06:21 +0000 bsmith Mac: Copy text alignment from the table column to the cell's text field.
Tue, 13 Oct 2020 07:51:24 +0000 bsmith Mac: First attempt to get optimize and auto-box-sizing working with NSView
Tue, 13 Oct 2020 07:24:07 +0000 bsmith Mac: Enable vertical centering on the NSTextField in the NSTableCellView.
Tue, 13 Oct 2020 05:58:09 +0000 bsmith Mac: Simplify the code to return NSTableCellView since we aren't using the
Tue, 13 Oct 2020 01:51:40 +0000 bsmith Mac: Enable autoresizing on the NSTableCellViews and code cleanup.
Tue, 13 Oct 2020 00:03:45 +0000 bsmith Mac: Transitioned DWTree to using NSTableCellView as well.
Mon, 12 Oct 2020 22:55:37 +0000 bsmith Mac: Switch to using NSTableCellView to store the data directly.
Mon, 12 Oct 2020 09:17:14 +0000 bsmith Mac: Fixes for display using NSView based NSTableView.
Mon, 12 Oct 2020 01:15:26 +0000 bsmith Mac: Seems like we need to create the NSImageView and NSTextField separately
Sun, 11 Oct 2020 21:43:41 +0000 bsmith Mac: Implemented the required delegate selectors so NSView is now active.
Sun, 11 Oct 2020 09:51:45 +0000 bsmith Mac: Initial code to transition from NSCell based container/tree controls.
Tue, 29 Sep 2020 22:54:26 +0000 bsmith Mac: Switch to using cross platform DW_UNUSED() macro.
Tue, 22 Sep 2020 04:19:01 +0000 bsmith Mac: Fix some version checks that only used the minor version.
Wed, 16 Sep 2020 10:33:19 +0000 bsmith Mac: Fix a problem with the selector specification and a CGContext 0x0
Wed, 16 Sep 2020 10:19:58 +0000 bsmith Mac: Additional dw_exec() code to locate the full path to application URLs.
Fri, 11 Sep 2020 02:56:41 +0000 bsmith Mac: Start the move to the new APIs for launching applications in dw_exec().
Thu, 10 Sep 2020 23:58:33 +0000 bsmith Mac: Remove the old notification center when building for Big Sur 11.0.
Thu, 10 Sep 2020 20:18:43 +0000 bsmith Mac: Fix deprecation warnings about constants in Big Sur 11.0.
Fri, 24 Jul 2020 19:27:31 +0000 bsmith Mac: Beta 2 of Xcode 12 has 10_16 defined but max allowed is 10_15.
Sat, 04 Jul 2020 17:51:46 +0000 bsmith Added DW_POINTER_TO_(U)LONGLONG and DW_(U)LONGLONG_TO_POINTER macros.
Tue, 30 Jun 2020 20:10:23 +0000 bsmith Mac: Changes for supporting Big Sur. These changes don't actually work.
Sun, 28 Jun 2020 20:34:25 +0000 bsmith Code cleanup: Add constants to header for dark mode, buffer sizes and Unicode support.
Wed, 24 Jun 2020 02:27:28 +0000 bsmith Mac: Files in the main bundle directory causes code signing to fail.
Tue, 23 Jun 2020 23:54:01 +0000 bsmith Mac: Fix warning building pre-mountain lion 10.8.
Tue, 23 Jun 2020 22:48:46 +0000 bsmith Mac: Fix notification fallback code for prior to Mojave but building for Mojave or later.
Tue, 23 Jun 2020 08:39:44 +0000 bsmith Mac: Fix building on Mac after the notification image changes.
Tue, 23 Jun 2020 07:48:29 +0000 bsmith Change dw_notification_new() to take an image path instead of an in-memory HPIXMAP.
Tue, 16 Jun 2020 05:46:22 +0000 bsmith Mac: Implemented notification click callback pre-Mojave 10.14.
Tue, 16 Jun 2020 04:45:30 +0000 bsmith Mac: Fixed the clicked callback for notifications on Mojave 10.14+ UNUserNotificationCenter.
Mon, 15 Jun 2020 22:05:55 +0000 bsmith Mac: Make sure DWApp is initialized before using it.
Fri, 12 Jun 2020 21:02:20 +0000 bsmith Mac: I didn't like the Xcode auto-fix... here is a better one.
Fri, 12 Jun 2020 20:55:01 +0000 bsmith Mac: Fix returning the correct value on query after Windows changes.
Fri, 12 Jun 2020 20:40:47 +0000 bsmith Added a fourth dark mode option on Windows: Disabled, Basic, Full, Forced.
Thu, 11 Jun 2020 01:27:38 +0000 bsmith Restructure feature switch so fallback return is in the default case.
Thu, 11 Jun 2020 01:11:23 +0000 bsmith Added initial implmentation of dw_feature_get/set() on all platforms.
Fri, 05 Jun 2020 16:27:00 +0000 bsmith Win: Initial implementation of notifications on Windows. Currently using WinToast.
Sun, 31 May 2020 05:25:18 +0000 mhessling Added htmlEngine to DWEnv
Sun, 24 May 2020 23:45:32 +0000 bsmith Mac: Second try that hopefully builds on all versions.
Sun, 24 May 2020 23:32:59 +0000 bsmith Mac: Fix building pre-mountain lion 10.8.
Thu, 21 May 2020 14:17:36 +0000 bsmith Mac: Add safety checks. Check bundleIdentifier is not nil before calling
Fri, 15 May 2020 11:25:07 +0000 bsmith Mac: Changes to actively display the notification on versions prior to Mojave 10.14.
Fri, 15 May 2020 04:54:57 +0000 bsmith Mac: Minor changes to get notification permission.
Fri, 15 May 2020 02:13:57 +0000 bsmith GTK: Add dw_app_id_set() and reconfigure based on the new code path.
Fri, 15 May 2020 01:19:55 +0000 bsmith Mac: Added dw_app_id_set() and updates to generate the APP ID automatically.
Thu, 14 May 2020 13:13:45 +0000 bsmith Mac: Initial notification support for the Mac.
Mon, 20 Apr 2020 20:24:05 +0000 bsmith Mac: Minor update to dw_environment_query(). Improve safety and remove unused code.
Sun, 17 Nov 2019 05:21:01 +0000 bsmith Mac: Continuing const changes. Hopefully last Mac commit.
Sun, 17 Nov 2019 04:07:39 +0000 bsmith Mac: Const changes to match the Windows changes.
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