Commit Graph
172 Commits
Author SHA1 Message Date
Brent Simmons cd6dd9ab29 Show background color before image loads (when the view is a placeholder). Give a corner radius to large thumbnails. 2026-11-05 20:34:32 -08:00
Brent Simmons dc27b508b3 Make IconImageCache the source of icon notifications. 2026-11-03 11:53:31 -08:00
Brent Simmons e3e7bf3241 Put feed icon precedence (feed-specified icon, home page icon, favicon, generated favicon) in IconImageCache. Stop looking up later-precedence sources once one has an icon or is loading. 2026-11-03 11:42:18 -08:00
Brent Simmons 966641c723 Remove SingleFaviconDownloader. 2026-11-03 11:36:06 -08:00
Brent Simmons ab921e0885 Reload article view icon only if it’s for the articles feed icon, favicon, or authors. 2026-11-02 16:54:53 -08:00
Brent Simmons 7fa826d5ff Stop removing folders which existed only during development builds. 2026-10-31 15:41:01 -07:00
Brent Simmons 1759eebd55 Remove now-unused three-day image cache flush. 2026-10-30 21:36:01 -07:00
Brent Simmons 8b6328deed Remove superfluous purgeImageCachesForResizingIfNeeded. 2026-10-30 21:34:01 -07:00
Brent Simmons 0901df57bb Delete old image cache folders in background. 2026-10-29 11:16:42 -07:00
Brent Simmons beea83ce1b Use DownloadedImageCache with favicons. 2026-10-27 10:30:42 -07:00
Brent Simmons ebfa6ed0e4 Delete least recently used images on disk once a size cap is reached. 2026-10-27 10:09:36 -07:00
Brent Simmons 6831d31fc9 Create DownloadedImageCache. 2026-10-26 21:05:41 -07:00
Brent Simmons c8369279c8 Add thumbnail folders to cache cleaner. 2026-10-25 14:38:48 -07:00
Brent Simmons 2c17fb77c9 Add thumbnail storage. 2026-10-23 12:11:33 -07:00
Brent Simmons 2ce850441b Make AppDefaults an enum instead of singleton class. 2026-10-22 13:46:32 -07:00
Brent Simmons b4361413fc Make the initial selection in the add-feed sheet based on the sidebar selection. Fixes #4221. 2026-09-23 10:26:41 -07:00
Brent Simmons 8b4221eb0a Drop the network check, since we don’t know network status when this code runs (it runs at startup). 2026-09-05 09:36:34 -07:00
Brent Simmons 6d259827f0 Use a constant logging system name instead of getting it from Bundle. 2026-08-02 10:33:23 -07:00
Brent Simmons de464b6a34 Handle < in title that is not used as beginning of HTML tag. 2026-07-04 17:26:43 -07:00
Brent Simmons 3eac947dd4 Match title tags by name so <abbr> and other attributed tags render as text instead of raw markup. 2026-07-04 12:45:05 -07:00
Brent Simmons c3dc344507 Add a font cache — makes timeline scrolling more efficient. 2026-06-21 16:35:04 -07:00
Brent Simmons 0d36fb311b Use dynamic RSColor (NS/UI Color) instead of CGColor, which allows one-time evaluation of smart-feed icons. 2026-06-21 16:06:09 -07:00
Brent Simmons 3ee0a61b7d Fix memory use bug in mark-status command by retaining article IDs instead of Articles. Simplify article marking — take article IDs. 2026-06-16 07:53:06 -07:00
Brent Simmons 00ddec8329 Fix crash from force-unwrapping nil image data when building notification thumbnails. 2026-06-13 09:27:10 -07:00
Brent Simmons 973b79a1fc Move images code to new Images module. 2026-05-29 10:46:00 -07:00
Brent Simmons 820dd504f1 Fix SwiftLint issues. 2026-05-22 10:01:54 -07:00
Brent Simmons 9eb64f4e6c Sort feed names using localizedCaseInsensitiveCompare. Simplify ArticleSorter. 2026-05-16 17:57:08 -07:00
Brent Simmons 4c9bbe6a01 Merge pull request #5095 from stuartbreckenridge/experiments/notification-management
✨Add Account-level Notification Management on iOS
2026-04-25 10:11:05 -07:00
Brent Simmons 38dafb3221 Optimize functions in ArticleStringFormatter. Add tests and performance tests. 2026-04-23 08:18:05 -07:00
Brent Simmons 1abd08279d Optimize NSAttributedString creation from HTML. Add tests. 2026-04-22 14:21:41 -07:00
Brent Simmons 6c15373960 Move sanitizedTitle from an Article extension to ArticleStringFormatter, where it belongs. Make it faster. Add tests. 2026-04-21 20:23:54 -07:00
Brent Simmons 466dbf73b2 Add and use new decodingHTMLEntities function. 2026-04-20 10:55:25 -07:00
Brent Simmons 92167c50aa Add date to didPurgeImageCachesForResizingKey so it’s more obvious what it is when I see it later. 2026-03-30 17:36:30 -07:00
Brent Simmons 93832592f3 Simplify image scaling. Scale to max size on download, then store in memory and on disk at scaled size rather than original size. Saves memory. 2026-03-30 17:34:35 -07:00
Brent Simmons b19d5b4544 Scale down images when necessary before caching on disk and in memory. 2026-03-30 16:58:03 -07:00
Brent Simmons 01c3671e4d Handle app-background notification. 2026-03-14 22:00:25 -07:00
Brent Simmons 964ed007bd Reference FaviconGenerator.shared. 2026-03-07 17:15:42 -08:00
Brent Simmons 737300bb0c Handle low memory notification. 2026-03-07 16:56:09 -08:00
Brent Simmons 8a72850cc4 Make ArticleStringFormatter a class with shared instance and have it observe the .lowMemory notification. 2026-03-07 16:35:12 -08:00
Stuart Breckenridge 6d4443f4f4 🚨 Fix SwiftLint Unhappiness 2026-02-07 18:42:10 +08:00
Stuart Breckenridge 852e4d6e31 ⚡️ Wrap IconImage in IconImageView for SwiftUI 2026-02-07 17:30:56 +08:00
Brent Simmons 7df7a40018 Fix lint issues. 2026-01-08 09:07:53 -08:00
Brent Simmons 2ac2a3c1bf Fix concurrency crash in ArticlePasteboardWriter. 2026-01-07 18:21:56 -08:00
Brent Simmons f94d0c8d40 Fix various SwiftLint warnings. 2026-01-02 10:30:01 -08:00
Brent Simmons 0b429ae259 Fix various SwiftLint warnings. 2026-01-01 16:17:54 -08:00
Brent Simmons 61e109a0d5 Fix various SwiftLint warnings. 2026-01-01 15:59:20 -08:00
Brent Simmons 6ba9940834 Fix various SwiftLint warnings. 2025-12-31 11:38:56 -08:00
Brent Simmons aa3c7c7d64 Normalize file names. 2025-11-19 16:23:30 -08:00
Brent Simmons b296bbd053 Move things to RSCore that belong there. 2025-11-19 16:22:26 -08:00
Brent Simmons 8a3b4e393a Move CGImage extension to RSCore. 2025-11-19 15:27:42 -08:00