Commit Graph
148 Commits
Author SHA1 Message Date
Brent Simmons bdb322f7fc Do various code cleanups. 2025-11-18 20:31:25 -08:00
Brent Simmons 20d363433d Fix various concurrency issues. 2025-11-18 19:58:48 -08:00
Brent Simmons b7c7c09ea6 Fix various concurrency issues. 2025-11-18 19:07:17 -08:00
Brent Simmons 563d1febbc Fix various concurrency issues. 2025-11-18 16:39:51 -08:00
Brent Simmons 4fa0b65d98 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:53:40 -08:00
Brent Simmons 28c7d9f55d Fix some concurrency issues. 2025-11-17 14:25:56 -08:00
Brent Simmons 0205acda9f Convert to async/await. 2025-11-16 20:40:00 -08:00
Brent Simmons 24a2e68fb5 Convert to async/await 2025-11-16 19:59:48 -08:00
Brent Simmons e801d11d81 Simplify Secrets — get rid of the protocol. 2025-11-10 11:04:49 -08:00
Brent Simmons ac51a99592 Convert to async/await. 2025-11-06 19:42:27 -08:00
Brent Simmons f38671788a Continue async/await conversion. 2025-11-05 13:15:36 -08:00
Brent Simmons 33a21ea482 Make AccountManager a singleton. 2025-11-05 11:37:16 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 5915faa18d Replace Reachability with modern NWPathMonitor. 2025-11-04 21:30:13 -08:00
Brent Simmons f1e32c5d2e Make ArticleStatusSyncTimer a singleton. 2025-11-03 21:32:24 -08:00
Brent Simmons 85d533ec6d Make ExtensionFeedAddRequestFile a singleton and give it a start method. 2025-11-03 21:15:50 -08:00
Brent Simmons 28dbf983c6 Make ExtensionContainersFile a singleton; give it a start() method. 2025-11-03 21:02:12 -08:00
Brent Simmons f1bd7e2264 Make UserNotificationManager a singleton. Clean up some code. 2025-11-03 20:50:02 -08:00
Brent Simmons 9eb0907b2f Make FaviconDownloader a singleton. 2025-11-02 10:18:20 -08:00
Brent Simmons 9d485bc3f9 Use static logger. Refactor and improve code for handling status notifications. 2025-10-02 21:32:09 -07:00
Brent Simmons 93ef6b27f0 Force an app icon unread count badge update on foreground/background events. Fix #4365. 2025-10-01 11:49:49 -07:00
Brent Simmons 03f3e4cca9 Force the app icon unread count badge to update on launch. Fix #4537. 2025-09-18 10:03:22 -07:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Brent Simmons ee46a74926 Use logger instead of os_log. 2024-12-30 15:17:20 -08:00
Brent Simmons 7c5dfb2e15 Fix warning about setting badge icon number. 2024-12-30 14:31:44 -08:00
Brent Simmons 0c60fb19bf Fix crash introduced in previous build. 2024-12-15 10:45:51 -08:00
Brent Simmons 0e93021f91 Use .shared for most of the image downloaders. 2024-12-14 15:17:32 -08:00
Brent Simmons 2056adf5d6 Rename WebFeedIconDownloader to FeedIconDownloader. 2024-12-14 10:28:28 -08:00
Brent Simmons 836d31875d Fix several warnings. 2024-12-07 14:52:38 -08:00
Brent Simmons 4aaabacd24 Bring in code from previous iOS release. 2024-12-04 17:36:08 -08: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
Stuart Breckenridge 3898edc8b1 widget text spacing 2020-12-23 21:16:32 +08:00
Stuart Breckenridge 8a05d2f448 handles actions from notifications 2020-12-23 20:15:25 +08:00
Stuart Breckenridge 8498e723ce Widget Performance 2020-12-03 20:32:26 +08:00
Nate Weaver a33d42ba66 Replace the single usage of a Log object with os_log() 2020-12-02 07:57:48 -06:00
Stuart Breckenridge d9c39a6964 timeline refresh can now be controlled 2020-11-30 10:08:23 +08:00
Stuart Breckenridge 58e18f4bcb Widget Bundle
• Adds small smartfeed summary widget.
• Adds medium widgets for today, unread, and starred.
2020-11-18 10:49:12 +08:00
Maurice Parker 0b170b7ff5 Merge branch 'ios-release' into main 2020-10-18 19:59:11 -05:00
Maurice Parker bad21330f3 Revert to requesting notifications on application launch so that the badge can be configured. Issue #2447 2020-09-22 17:39:29 -05:00
Maurice Parker b724658528 Refactor how we do Secrets to work with the new Swift Package structure 2020-07-30 17:40:45 -05:00