157 Commits

Author SHA1 Message Date
Brent Simmons
af996d3c12 Move code from AppDelegate.init to didFinishLaunching. 2025-02-02 10:24:52 -08:00
Brent Simmons
05c27b188c Add common handleMarked function to remove some code duplication. 2025-02-01 22:11:48 -08:00
Brent Simmons
d2fb815919 Create and use BackgroundTaskManager. 2025-02-01 21:38:43 -08:00
Brent Simmons
889350af60 Make misc. modernization tweaks. 2025-02-01 20:36:18 -08:00
Brent Simmons
13fed609c9 Create ShortcutItemType enum. 2025-02-01 20:33:50 -08:00
Brent Simmons
46ea5795eb Make misc small tweaks. 2025-02-01 20:28:37 -08:00
Brent Simmons
4008ad5dd0 Create ExtensionFeedAddRequestFile.shared and WidgetDataEncoder.shared. 2025-02-01 20:16:33 -08:00
Brent Simmons
e640c65db5 Create ExtensionContainersFile.shared. 2025-02-01 20:09:34 -08:00
Brent Simmons
4df2e10cf2 Create UserNotificationManager.shared. 2025-02-01 20:06:58 -08:00
Brent Simmons
687d3a0cec Make AppDelegate iOS *not* UnreadCountProvider. Have it not send notification on unreadCountDidChange. 2025-02-01 20:04:30 -08:00
Brent Simmons
69e52dd90a Create ArticleStatusSyncTimer.shared. 2025-02-01 20:03:01 -08:00
Brent Simmons
3bd8ce573f Rename sceneCoordinator to coordinator (since we’re not using scenes anymore). 2025-02-01 19:55:10 -08:00
Brent Simmons
b527033fea Remove unused rootSplitViewController property. 2025-02-01 19:53:02 -08:00
Brent Simmons
a24977b23f Make shuttingDown private. 2025-02-01 19:50:06 -08:00
Brent Simmons
8db1c7d447 Fix lint issues. 2025-02-01 19:44:19 -08:00
Brent Simmons
600176e6bc Remove some unused imports. Improve some formatting. 2025-02-01 19:43:44 -08:00
Brent Simmons
e9fc4c09ed Make AccountManager and ArticleThemesManager self-initing. 2025-02-01 19:37:59 -08:00
Brent Simmons
8a123a0734 Remove no-longer-needed global appDelegate variable. 2025-02-01 17:56:34 -08:00
Brent Simmons
7847a8b796 Remove assertionFailure that had an incorrect assumption. 2025-02-01 17:55:37 -08:00
Brent Simmons
a27a70e9fb Fix references to SceneDelegate. 2025-02-01 17:48:47 -08:00
Brent Simmons
f4d98f4fdd Create UI in didFinishLaunching. 2025-02-01 17:34:45 -08:00
Brent Simmons
9707ad9dfb Create UI in didFinishLaunching. 2025-02-01 16:25:54 -08:00
Brent Simmons
f91afc209b Create window in AppDelegate didFinishLaunching. 2025-02-01 16:09:53 -08:00
Brent Simmons
900cbabe71 Remove most uses of AppDelegate.appDelegate on iOS. 2025-02-01 13:28:49 -08:00
Brent Simmons
f91d673b5d Make FaviconDownloader.shared. 2025-01-30 21:07:46 -08:00
Brent Simmons
2f12d9f803 Create shared AppDefaults and delete platform-specific AppDefaults. 2025-01-26 21:06:22 -08:00
Brent Simmons
5651764907 Mark classes as final that can be marked as final. 2025-01-25 11:01:12 -08:00
Brent Simmons
bbef99f2d3 Fix lint issues. 2025-01-22 22:18:09 -08:00
Brent Simmons
430871c94a Fix build errors related to Secrets module changes. 2025-01-06 21:03:19 -08:00
Brent Simmons
62ad4d6e3b Reconcile with 6.1.6-ios branch. 2025-01-03 11:48:19 -08:00
Brent Simmons
4f0cacdd3f Fix several iOS 17 deprecation warnings. 2024-11-03 22:40:38 -08:00
Brent Simmons
61235d0bcb Rename some instances of webFeed to just feed. 2024-11-01 21:48:43 -07:00
Brent Simmons
1c6df38bcc Rename WebFeedIconDownloader to FeedIconDownloader. 2024-11-01 21:46:26 -07:00
Brent Simmons
424b9a02c4 Remove Reddit references that can be removed. 2023-06-29 12:43:14 -07:00
Maurice Parker
169b103f6d Change widget encoding to be more parallel and only run when going into the background 2022-10-29 00:39:03 -05:00
Maurice Parker
05561d9c1f Change to a different debounce strategy and don't write widget data while in the background. #3567 2022-10-08 17:10:40 -05:00
Maurice Parker
141ed4f915 Write widget data when article status changes happen. Fixes #3567 2022-07-28 17:15:36 -05:00
Maurice Parker
298e164740 Change sync to async 2022-03-01 14:54:20 -06:00
Maurice Parker
f22239db36 Change task completion notification so that it blocks until NNW has completed suspending. Fixes #3200 2022-03-01 14:45:37 -06:00
Dimitris Apostolou
94ae4d348c
Fix typos 2022-01-05 00:25:20 +02:00
Stuart Breckenridge
8b39dc4abb Uses SceneCoordinator
Adds a `func` to SceneCoordinator to handle dismisses vis-a-vis using notifications.
2021-11-08 09:52:12 +08:00
Stuart Breckenridge
0db88c5f92 Fixes #3335
When the app is brought to the foreground from an external action (e.g., tapping on the widget, opening from a notification), a notification is posted (with a slight delay).

`MasterFeedViewController` and `SettingsViewController` are observers. `MasterFeedViewController` will dismiss any `SFSafariViewController`s that are presented, while `SettingsViewController` will dismiss itself.
2021-11-06 22:43:50 +08:00
Maurice Parker
12324bf498 Remove font debugging code 2021-11-02 05:44:21 -05:00
Maurice Parker
c16a231530 Added the Hyperlegible theme 2021-11-01 21:22:22 -05:00
Stuart Breckenridge
78e0595708 Various ThemeDownloader Updates
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
-  `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Maurice Parker
e3245f1144 Fix some incorrectly named variables 2021-09-07 20:12:21 -05:00
Maurice Parker
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
ba279d2a6e Make the Styles folder configurable so that it can be in different places on macOS and iOS. 2021-08-24 20:20:20 -05:00
Brent Simmons
9d2c8f000f Create and use IconImageCache. It centralizes and de-dupes logic for getting feed/article images, and it caches the results, which helps performance. 2021-05-08 12:42:44 -07:00
Maurice Parker
991297165b Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993 2021-04-12 19:42:05 -05:00