Commit Graph

1340 Commits

Author SHA1 Message Date
Brent Simmons 4b646e42c2 Write first version of Swift-based SAXParser. 2024-08-18 17:25:29 -07:00
Brent Simmons 82fef8c237 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire 2024-08-05 17:57:33 -07:00
Brent Simmons 865d32fe1a Fix starColor name. 2024-08-05 17:57:29 -07:00
Brent Simmons 094a85bce0 Merge pull request #4244 from winniequinn/main
Fix account add crash
2024-07-26 21:53:47 -07:00
Brent Simmons 440a7fbefa Continue moving to structured and shared AppAsset over separate AppAssets. 2024-07-25 20:14:58 -07:00
Brent Simmons 1660d77668 Fix build errors. 2024-07-09 21:11:21 -07:00
Brent Simmons de228c69c4 Delete unused LegacyArticleExtractorButton.swift. 2024-07-09 21:11:11 -07:00
Brent Simmons 030d101634 Continue moving from AppAssets to AppAsset. 2024-07-09 21:08:34 -07:00
Brent Simmons ba44b94220 Create AppAsset shared class, which will replace the separate Mac and iOS AppAssets classes. 2024-07-08 10:07:26 -07:00
Brent Simmons 89a967106d Create importFeedsIfNeeded shared AppDelegate method. 2024-07-07 16:59:54 -07:00
Brent Simmons c784569040 Make AccountManager init itself, and use AccountManager.shared in AppDelegate. 2024-07-07 16:23:47 -07:00
Brent Simmons aa807249b9 Make ArticleExtractor reference SecretKey instead of passing in secrets. Remove unused imports of Secrets. 2024-07-07 15:48:56 -07:00
Brent Simmons 445306ef2a Get rid of SecretsProvider protocol. Stop passing secretsProvider around — just use SecretKey.whatever static properties. 2024-07-07 15:38:45 -07:00
Brent Simmons 90311f0e70 Make Secrets Sendable. Rename Id to ID. 2024-07-07 12:14:14 -07:00
Brent Simmons 85d977f4f8 Fix build errors related to ArticleThemesManager changes. 2024-07-06 20:37:30 -07:00
Brent Simmons 7beb818c67 Make ArticleThemesManager specify its folder itself. 2024-07-06 20:32:49 -07:00
Brent Simmons 09cadf7f52 Create handleUnreadCountDidChange as shared AppDelegate code. 2024-07-02 21:43:52 -07:00
Brent Simmons ada9818541 Create and use shared initializeDownloaders AppDelegate function. 2024-06-30 18:14:01 -07:00
Brent Simmons e990b7aab1 Get the app delegate the old-fashioned way. 2024-06-30 18:06:49 -07:00
Brent Simmons 788cdc6ddc Remove global appDelegate variable from Mac. 2024-06-30 18:06:16 -07:00
Brent Simmons a3ff92ec18 Delete code that is now in AppLocations. 2024-06-26 23:21:27 -07:00
Brent Simmons 83edb628ae Drop local properties and folder calculations for image downloaders. 2024-06-26 23:15:13 -07:00
Brent Simmons cd0dd240e4 Refer to AuthorAvatarDownloader.shared. 2024-06-26 23:13:44 -07:00
Brent Simmons 89e16f5fdd Make webView optional. 2024-06-26 21:41:07 -07:00
Brent Simmons 9a26df89d1 Fix bug where sidebar unread count view would flicker as the timeline view controller unreadCount would be briefly 0 when it’s updating its unread count. 2024-06-21 18:09:28 -07:00
Brent Simmons 64fc1867c4 Get rid of maxInterval from CoalescingQueue because it didn’t actually work right and isn’t probably needed. 2024-06-16 13:02:16 -07:00
Brent Simmons 308a91cf4f Go back to CoalescingQueue because it was simpler to use than PostponingBlock. 2024-06-12 20:55:13 -07:00
Brent Simmons 7dc0d6cb23 Use queueMakeToolbarValidate. 2024-06-12 19:48:48 -07:00
Brent Simmons 57ac2d6b02 Use weak self in postponingBlock. 2024-06-12 17:55:24 -07:00
Brent Simmons a91fd53100 Reorder arguments to PostponingBlock.init. 2024-06-12 17:48:51 -07:00
Brent Simmons 57399838dc Add queueUpdateDockBadge. Use PostponingBlock instead of CoalescingQueue. 2024-06-12 17:40:16 -07:00
Brent Simmons c1f6026495 Rename Account.type to Account.accountType. 2024-06-09 22:53:19 -07:00
Brent Simmons 5d066e5d5c Add name parameter to PostponingBlock. Add notification appUnreadCountDidChange for when unread count changes for entire app. 2024-06-09 22:27:17 -07:00
Brent Simmons e74c81518e Remove no-longer-needed Unicode support for URL (since it’s part of iOS and macOS now). 2024-06-09 10:58:07 -07:00
Brent Simmons 447aa7a448 Empty more caches — reclaim more memory — on app resigning active. 2024-06-08 12:12:43 -07:00
Brent Simmons fe49f3bbe4 Remove numerous superfluous MainActor annotations. 2024-06-08 11:58:30 -07:00
Brent Simmons cdc62c22ec Remove superfluous MainActor annotations. 2024-06-08 11:42:15 -07:00
Brent Simmons 3a992d4340 Convert downloader to async await. Convert FeedFinder to async await. 2024-06-07 22:28:24 -07:00
Brent Simmons e275367664 Provide hash(into:) functions where the default implementation might be doing too much work. 2024-05-26 11:53:36 -07:00
Brent Simmons 401050465e Rename isNotifyAboutNewArticles to shouldSendUserNotificationForNewArticles 2024-05-25 23:05:38 -07:00
Brent Simmons 01f08b9f27 Make FeedlyOAuthAccountAuthorizationOperation not a MainThreadOperation, since we’re moving away from MainThreadOperationQueue. 2024-05-15 09:31:16 -07:00
Brent Simmons 138177858c Fix build error. 2024-05-07 19:57:51 -07:00
Brent Simmons 69c908c891 Convert UserAgent functions to variables and make them non-optional. 2024-05-07 19:50:53 -07:00
Brent Simmons c46494de13 Use async await in runSheetOnWindow. 2024-05-05 22:01:26 -07:00
Brent Simmons 3d91a6b38d Convert some functions to async instead of completion-based. 2024-05-05 18:02:46 -07:00
Brent Simmons cd7f4f7052 Convert runSheetOnWindow to async. 2024-05-05 17:23:54 -07:00
Brent Simmons fba8c52b67 Convert several methods to async await. 2024-05-05 17:08:30 -07:00
Brent Simmons 399703c2fe Rename completion to callback, since it wasn’t a completion handler. 2024-05-05 16:51:43 -07:00
Brent Simmons c96a3c7e5c Rename completion to callback, since it wasn’t a completion handler. 2024-05-05 16:51:09 -07:00
Brent Simmons 4b381daa92 Convert restoreWindow to async await. 2024-05-05 16:49:49 -07:00