Commit Graph

635 Commits

Author SHA1 Message Date
Brent Simmons bd077687c1 Fix some build errors. 2024-04-06 22:09:17 -07:00
Brent Simmons 0949aefa93 Fix concurrency warnings by marking things as MainActor. 2024-04-02 22:26:16 -07:00
Brent Simmons 40abf257a6 Make RSParser a local module and rename it to Parser. 2024-04-02 21:43:06 -07:00
Brent Simmons 8fa2d9bda4 Convert createFeed to async await. 2024-04-02 20:46:28 -07:00
Brent Simmons 323d0404f2 Convert moveFeed to async await. 2024-04-02 20:17:03 -07:00
Brent Simmons 6e8eecb6a9 Make ArticleExtractor MainActor; make it forget about SecretsProvider and the Secrets module. 2024-04-01 22:40:27 -07:00
Brent Simmons e56b1513b6 Move RSWeb from remote to local project; rename as Web. 2024-04-01 19:31:57 -07:00
Brent Simmons c5441bddc3 Convert addFeed to async await. 2024-03-28 08:24:35 -07:00
Brent Simmons 6ad90583a4 Convert renameFeed and renameFolder to async await. 2024-03-27 17:49:09 -07:00
Brent Simmons c68738bf64 Convert createFolder to async await. 2024-03-26 22:18:48 -07:00
Brent Simmons 91b0e7158a Convert importOPML to async await. 2024-03-26 21:10:05 -07:00
Brent Simmons 27d27cbf1a Mark many things as MainActor and deal with the fallout. 2024-03-25 21:10:37 -07:00
Brent Simmons 8ad09228db Mark several classes as final. 2024-03-24 21:24:31 -07:00
Brent Simmons f5c930a024 Mark MainWindowController as final. 2024-03-24 21:08:59 -07:00
Brent Simmons acd86c9e2a Fix unreadCount-related concurrency issues. 2024-03-23 11:57:38 -07:00
Brent Simmons 797d7ef2e0 Fix Mac build errors. 2024-03-21 17:21:50 -07:00
Brent Simmons ce2b2112d1 Make UnreadCountView.Appearance MainActor. 2024-03-21 17:17:24 -07:00
Brent Simmons 2461e937bf Replace RSCore with several local modules. Update code as needed. 2024-03-20 20:49:15 -07:00
Brent Simmons d0760f3d12 Continue fixing concurrency warnings. 2024-03-19 23:05:30 -07:00
Brent Simmons e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Brent Simmons 78047fcaf7 Get rid of SecretsManager. It wasn’t thread-safe, and it existed only for tests (and it wasn’t thread-safe for tests either). Pass SecretsProvider parameter where it’s needed. 2024-03-10 22:22:41 -07:00
Ethan Wong 711eeddecc Do not make the sidebar first responder when it’s collapsed. 2024-02-27 22:16:38 -08:00
Brent Simmons 573e90de24 Use a local baseURL when app is in /Applications, and use the permalink as baseURL when app is anywhere else. 2024-02-27 21:47:29 -08:00
Brent Simmons d90e59439d Disallow automatic playback for all media types. 2024-02-27 20:28:14 -08:00
Brent Simmons 9129cd382c Remove some no-longer-needed #available checks. 2024-02-27 20:02:31 -08:00
Brent Simmons 0929aedd46 Use sidebarItemID in place of feedID or feedIdentifier when the type is SidebarItemID. 2024-02-26 21:47:24 -08:00
Brent Simmons 4c866b7230 Rename WebFeed and webFeed to Feed and feed. 2024-02-25 23:12:21 -08:00
Brent Simmons b705433270 Rename WebFeed to Feed. 2024-02-25 21:41:18 -08:00
Brent Simmons b25c9eae94 Rename feedID to sidebarItemID. 2024-02-25 21:34:22 -08:00
Brent Simmons a75e5eb52a Rename FeedIdentifier to SidebarItemIdentifier. Rename FeedIdentifiable to SidebarItemIdentifiable. 2024-02-25 21:17:00 -08:00
Brent Simmons d5794a7b4e Rename Feed protocol to SidebarItem. 2024-02-25 21:14:10 -08:00
Brent Simmons 9794cc9a59 Add comment about deprecation warning that we can’t do anything about. 2024-02-24 21:21:18 -08:00
Brent Simmons d2afd4582b Fix deprecation warnings. 2024-02-24 19:17:58 -08:00
Brent Simmons aca541dcc9 Remove no-longer-needed #available(macOS 11.0, *) checks. 2023-12-13 19:59:31 -08:00
Brent Simmons 6860637912 Restore showing link in status bar on hover. 2023-12-01 17:10:01 -08:00
Brent Simmons ee26aadb82 Create new web view controllers when the JavaScript setting changes, so that the effect of the change is immediate and apparent. 2023-11-28 21:37:38 -08:00
Brent Simmons faaf1baba9 Remove code that watches for JavaScript setting change — that change needs to be handled elsewhere. 2023-11-27 21:46:02 -08:00
Brent Simmons 2bdd60cdf5 Reload article when JavaScript setting changes. 2023-11-25 21:58:39 -08:00
Brent Simmons 1b236c425e Create Mac UI for JavaScript setting. 2023-11-25 20:50:45 -08:00
Brent Simmons dfd778d038 Add `isJavascriptEnabled` setting, defaulting to false, and respect it in the web view. 2023-11-25 11:53:19 -08:00
Brent Simmons 279a99259e Use WKUserScript to inject scripts into the page. Use permalink as base URL. 2023-11-25 11:29:56 -08:00
Brent Simmons 7078e6fd55 Remove OAuthSwift and its dependencies. 2023-06-26 09:57:22 -07:00
Brent Simmons 1bef45e1af Remove ExtensionPoint code. 2023-06-25 16:48:37 -07:00
Brent Simmons fb51185c05 Remove references to isFeedProvider. 2023-06-25 16:15:21 -07:00
Brent Simmons d24c66d7eb Remove references to AddFeedWindowControllerType.redditFeed. 2023-06-25 15:31:20 -07:00
Brent Simmons 49549484af Rename New Web Feed to New Feed. 2023-06-25 15:30:57 -07:00
Brent Simmons d232cf43c7 Remove showAddRedditFeedWindow function and all references to it. 2023-06-25 15:26:37 -07:00
Brent Simmons b6e7c16c13 Remove add-Reddit-feed sheet and window controller. 2023-06-25 14:43:55 -07:00
Maurice Parker 6c1e1ea1c6 Remove Twitter integration. Fixes #3842 2023-02-03 19:00:13 -08:00
Brent Simmons 06910b1e58 Avoid force-unwrapping, which was causing a crash. Add an `assertionFailure` so we can catch this issue in the act — we need to know why an item would not be a Node. Fix https://github.com/Ranchero-Software/NetNewsWire/issues/3824 2023-01-22 14:57:56 -08:00