Commit Graph
8522 Commits
Author SHA1 Message Date
Brent Simmons f4f6655f6d Merge branch 'bug/state-restoration-4830' into release/6.2.1 2025-12-03 20:12:39 -08:00
Brent Simmons 8bfc5411c4 Create a OPML UTType by filenameExtension in hopes that we can allow all .opml files on all devices. Fixes #4858. 2025-12-03 14:39:52 -08:00
Brent Simmons 94a936c696 Fix bug where article could persist on iPad after changing Feeds sidebar selection. Fix #4863. 2025-12-03 14:10:19 -08:00
Brent Simmons 07c47bb7dc Always show Feed view on iPad on launch. 2025-12-03 11:20:46 -08:00
Brent Simmons 236943f821 Add state restoration logging. 2025-12-03 11:20:35 -08:00
Brent Simmons 19f719a9d4 Clean up some code. 2025-12-03 09:43:13 -08:00
Brent Simmons 38d6b11c5e Create StateRestorationInfo struct and move all legacy migration to AppDefaults. 2025-12-03 08:51:55 -08:00
Brent Simmons 3be0276994 Fix expansion state restoration. 2025-12-02 12:21:36 -08:00
Brent Simmons 16c66513c1 Fix state restoration bug when showing article not present in timeline — this way its feed icon can be found. 2025-12-02 10:07:43 -08:00
Brent Simmons 546c05a628 Let Claude know that not all bugs have tests. 2025-12-02 10:07:24 -08:00
Brent Simmons caff4a213d Update UserDefaults when currentArticle changes. 2025-12-02 09:47:29 -08:00
Brent Simmons 1ef2aa162d Do state restoration via UserDefaults only, not via NSUserActivity. 2025-12-02 09:23:26 -08:00
Brent Simmons 6ce3bdadc7 Get selected sidebar item and selected article before doing the state restoration, in case the process of pushing view controllers around overwrites the values in UserDefaults. 2025-12-02 09:23:04 -08:00
Brent Simmons 93f1dc5fe4 Use new article(matching:) and fetchArticle methods. 2025-12-02 08:59:30 -08:00
Brent Simmons 1954f5b652 Simplify state restoration NSUserActivity now that state restoration is handled by UserDefaults. 2025-12-02 08:58:51 -08:00
Brent Simmons 55b7da75dc Add code for finding an Article matching an ArticleSpecifier in an array of Article. Used by state restoration. 2025-12-02 08:57:56 -08:00
Brent Simmons 20b3bda94a Add fetchArticle method used by state restoration. 2025-12-02 08:57:12 -08:00
Brent Simmons 981aeb6daa Fix possible bug finding selected article. 2025-12-01 22:32:21 -08:00
Brent Simmons 684cd33e05 Fix crash with -1 row indexes. Fix #4861. 2025-12-01 21:56:01 -08:00
Brent Simmons df0b8e8254 Add recent crash logs. 2025-12-01 21:46:59 -08:00
Brent Simmons 2c2cee645d Move ArticleSpecifier to shared directory. 2025-12-01 21:33:47 -08:00
Brent Simmons 6bd59cb5de Add selectedArticle to UserDefaults. 2025-12-01 21:17:18 -08:00
Brent Simmons 3ecf9887a8 Add ArticleSpecifier — useful to save to disk. 2025-12-01 21:16:47 -08:00
Brent Simmons 4bf57afc11 Rename some AppDefaults things to SidebarItem over FeedIdentifier. Add state restoration for selectedSidebarItem. 2025-12-01 21:01:54 -08:00
Brent Simmons e0074d70bf Rename Key.readArticlesFilterState to Key.feedsHidingReadArticles. 2025-12-01 15:11:27 -08:00
Brent Simmons 616b9deebc Rename expandedTable to expandedContainers. Rename lastExpandedTable to lastExpandedContainers. 2025-12-01 14:57:54 -08:00
Brent Simmons f6bca9ee8f Rename containerExpandedWindowState to expandedContainers. 2025-12-01 14:55:01 -08:00
Brent Simmons ea6eedb864 Make containerExpandedWindowState typed as Set<ContainerIdentifier>?. 2025-12-01 14:53:04 -08:00
Brent Simmons 0b9ec94cf8 Make selectedFeedIdentifier a FeedIdentifier. 2025-12-01 14:43:24 -08:00
Brent Simmons 3841252a16 Fix build errors. 2025-12-01 14:43:06 -08:00
Brent Simmons c6f659dc96 Create and use feedsHidingReadArticles as Set<FeedIdentifier> on Mac and iOS. 2025-12-01 14:24:18 -08:00
Brent Simmons 380617920b Make readArticlesFilterState Set<FeedIdentifier>? instead of [[String: String]]?. 2025-12-01 13:10:08 -08:00
Brent Simmons 1f19d91a0d Make FeedIdentifier.userInfo [String: String] since it always really was. 2025-12-01 11:53:25 -08:00
Brent Simmons d68106ac0b Fix bug restoring expansion state on launch. Don’t overwrite stored state on launch — write state only when user makes change. 2025-12-01 10:34:34 -08:00
Brent Simmons d30c627577 Refactor iOS state restoration to migrate first and then restore from UserDefaults. 2025-12-01 09:55:40 -08:00
Brent Simmons 813f0706bd Move readArticlesFilterState to UserDefaults. 2025-11-30 21:45:22 -08:00
Brent Simmons 2ea00619c3 Convert containerExpandedWindowState to UserDefaults. 2025-11-30 21:21:53 -08:00
Brent Simmons bdf73d6eb0 Migrate articleWindowScrollY to UserDefaults. 2025-11-30 17:49:20 -08:00
Brent Simmons b9447d34d1 Migrate isShowingExtractedArticle to UserDefaults. 2025-11-30 12:12:50 -08:00
Brent Simmons 03c2a4d325 Migrate hide-read-feeds setting to UserDefaults. 2025-11-30 11:58:42 -08:00
Brent Simmons a16a6ad898 Bump version and build. 2025-11-29 21:41:16 -08:00
Brent Simmons 72dd38f2a8 Allow Claude to do more things. 2025-11-29 21:40:52 -08:00
Brent Simmons 79fa6c664b Create an SFSafariViewController safely — don’t crash on an unhandled Objective-C exception. 2025-11-29 20:37:45 -08:00
Brent Simmons 2908ecdf49 Update Sparkle how-to. 2025-11-29 16:44:40 -08:00
Brent Simmons 11ed32068c Update status. 2025-11-29 16:41:01 -08:00
Brent Simmons bea1a80b72 Update status. mac-6.2.1b1 2025-11-29 16:33:52 -08:00
Brent Simmons 5374487f32 Bump version and write release notes. 2025-11-29 16:32:42 -08:00
Brent Simmons da3d34a082 Update status. 2025-11-29 16:32:28 -08:00
Brent Simmons f1c364b773 Use deprecated — but reliably working — method for specifying OPML files when importing OPML files. 2025-11-29 11:46:32 -08:00
Brent Simmons 9f4e6d2609 Remove deliberate crash when failing to delete folder for account. 2025-11-29 11:16:01 -08:00