Commit Graph

669 Commits

Author SHA1 Message Date
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 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 e990b7aab1 Get the app delegate the old-fashioned way. 2024-06-30 18:06:49 -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 c1f6026495 Rename Account.type to Account.accountType. 2024-06-09 22:53:19 -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 fe49f3bbe4 Remove numerous superfluous MainActor annotations. 2024-06-08 11:58:30 -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 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 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 02d8005fa7 Fix a couple concurrency warnings. 2024-05-03 12:10:59 -07:00
Brent Simmons 19fd3d96ab Fix a few concurrency warnings. 2024-05-03 12:05:53 -07:00
Brent Simmons 81cede769a Fix a few concurrency warnings. 2024-05-03 11:57:20 -07:00
Brent Simmons 1368f3dace Move images-related code into Images module. 2024-04-15 22:21:17 -07:00
Brent Simmons d1dc4cceec Fix numerous concurrency warnings. 2024-04-07 21:32:47 -07:00
Brent Simmons 6db1d40597 Replace forEach for for-in. 2024-04-07 17:06:39 -07:00
Brent Simmons 300ffbb711 Create ArticleExtractor module. 2024-04-07 15:05:38 -07:00
Brent Simmons c35187900a Create FeedFinder module. 2024-04-07 14:57:05 -07:00
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