Commit Graph

18 Commits

Author SHA1 Message Date
Stuart Breckenridge
e2eeed8f99 Target macOS 13
• `xcconfig` `MACOSX_DEPLOYMENT_TARGET` updated to 13.0
• Removed `@available` annotations for macOS < 13.0
• Removed for Big Sur fixes.

This has been built and doesn’t trigger any build settings should be `xcconfig` options.
2023-05-30 09:15:08 +08:00
Stuart Breckenridge
ed6ff090be Merge branch 'ios-ui-settings-localised' into localize_strings
# Conflicts:
#	Mac/AppDelegate.swift
#	Mac/Base.lproj/Preferences.storyboard
#	NetNewsWire.xcodeproj/project.pbxproj
#	Shared/Localizations/LocalizedNetNewsWireError.swift
#	iOS/MasterFeed/MasterFeedViewController.swift
#	iOS/Settings/Appearance/ArticleThemeManagerView.swift
#	iOS/Settings/Appearance/DisplayAndBehaviorsView.swift
#	iOS/Settings/General/SettingsView.swift
2023-05-27 17:00:42 +08:00
Brent Simmons
8bbf4d8c60 Continue adopting @MainActor. 2023-04-05 18:35:34 -07:00
Stuart Breckenridge
e670d610e3 Localized mac app 2023-01-04 12:33:38 +08:00
Ethan Wong
efad1b452c Allow 'Open Link' item to show on the contextual menu of web links. (fixes #3666) 2022-11-13 12:20:35 +08:00
Daniel Jalkut
99797586b1 Add support for in-article find when the detail view is showing a regular article or extracted article content. 2022-07-18 13:04:10 -04:00
haikusw
3b9465f21e Add #unavailable check so bug fix only executes in macOS 11. Add @available to flag when we can remove this bug-fix code altogether. 2022-06-20 23:12:56 -07:00
haikusw
4c7f1362b5 Fix for #3543
Noticed that the window size wasn't returning the new value and that's why using the window size to calculate the size to restore it to we were incrementing the original size by one.
Not sure if this breaks the fix that this bigSurOffsetFix was implementing though because I can't replicate that on macOS 12.4
2022-06-15 23:56:02 -07:00
Stuart Breckenridge
b08d9dfe73 if #available mac
Removes if #available for anything less than macOS 11
2022-01-22 20:55:09 +08:00
Maurice Parker
de956f9473 Change to use JavaScript to detect scroll events as it will also capture scrollbar events 2021-09-13 21:03:27 -05:00
Maurice Parker
2c801a388c Restore the article scroll position when restarting NetNewsWire 2021-09-13 20:42:58 -05:00
Chris Campbell
364f3a7639 Prevent infinite loop in DetailWebView.setFrameSize()
DetailWebView.setFrameSize() calls bigSurOffsetFix(), which changes the window's frame, which ultimately calls setFrameSize() again (which calls bigSurOffsetFix(), etc). In practice, this isn't causing an infinite loop (I think NSWindow.setFrame(_:display:) is smart enough to prevent reentrancy) but it's still dangerous to have such a glaring logic error in the code.
2021-04-30 00:52:15 -04:00
Chris Campbell
bf77d77669 Expand workaround for macOS 11 WebView origin offset bug. Fixes #2916
Move the code that twiddles the window frame from DetailWebView.viewDidEndLiveResize() into a new bigSurOffsetFix() API so it can also be called by setFrameSize() when the frame size is changed outside of a live resize.
2021-04-30 00:02:10 -04:00
Stuart Breckenridge
e2f21c15c2 formatting 2021-03-08 14:12:32 +08:00
Stuart Breckenridge
f630cb16db comments 2021-03-08 10:30:58 +08:00
Stuart Breckenridge
a59df3e6fc Moves frame tweaking to end of liveResize 2021-03-08 10:28:51 +08:00
Maurice Parker
8dda681409 Add accessibility labels to Sidebar, Timeline, and Article. Issue #934 2019-09-10 11:09:17 -05:00
Brent Simmons
70312aa75c Major folder and project tree restructuring. 2019-04-13 16:18:54 -07:00