Commit Graph

1322 Commits

Author SHA1 Message Date
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
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
6776862322 Fix concurrency warnings in ShareViewController. 2024-05-03 11:45:59 -07:00
Brent Simmons
6c1ea427af Fix concurrency warnings about gPingPongMap. 2024-05-03 11:12:15 -07:00
Brent Simmons
8de7b56f61 Rename OAuthAccountAuthorizationOperation to FeedlyOAuthAccountAuthorizationOperation. 2024-05-01 20:58:32 -07:00
Brent Simmons
60dd9ad82a Fix build errors triggered by previous commit. 2024-04-20 10:32:57 -07:00
Brent Simmons
db3af1b7f1 Rename some AppleScript support files. 2024-04-16 21:46:21 -07:00
Brent Simmons
dc81755dfd Rename file to ScriptableFeed.swift. 2024-04-16 20:54:22 -07:00
Brent Simmons
0bb664ea6a Rename file to ScriptableFolder.swift. 2024-04-16 20:53:57 -07:00
Brent Simmons
112e2d3724 Fix some concurrency warnings in AppleScript support. 2024-04-16 20:53:33 -07:00
Brent Simmons
dad6c1f884 Rename Id to ID. 2024-04-16 19:37:53 -07:00
Brent Simmons
1368f3dace Move images-related code into Images module. 2024-04-15 22:21:17 -07:00
Brent Simmons
2dc9b8586c Fix a build warning and a formatting issue. 2024-04-07 22:38:18 -07:00
Brent Simmons
dfcf567270 Fix numerous concurrency warnings. 2024-04-07 22:15:35 -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