Commit Graph
64 Commits
Author SHA1 Message Date
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 28bb8f7a25 Use import os rather than import os.log. 2026-03-23 11:23:15 -07:00
Brent Simmons 01c3671e4d Handle app-background notification. 2026-03-14 22:00:25 -07:00
Brent Simmons 0a99a441e0 Handle low memory notification. 2026-03-07 17:15:21 -08:00
Brent Simmons d43ca5a228 Handle low memory notification. 2026-03-07 17:14:21 -08:00
Brent Simmons d3537fd3e2 Handle low memory notification. 2026-03-07 17:03:18 -08:00
Brent Simmons eb4de0df6d Avoid sending postFeedIconDidBecomeAvailableNotification when there's already a cached image (and thus a previous postFeedIconDidBecomeAvailableNotification). 2026-01-28 15:29:48 -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 350aea0788 Fix various concurrency issues. 2025-11-18 13:28:09 -08:00
Brent Simmons 8f57f914dd Fix various concurrency issues. 2025-11-18 13:25:47 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -08:00
Brent Simmons a4249fc554 Rename ImageDidBecomeAvailable to imageDidBecomeAvailable. Do a few small code cleanups. 2025-11-09 11:58:12 -08:00
Brent Simmons bea0c8e727 Convert to async/await. 2025-11-09 11:19:49 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 48bb1b407c Rename some instances of webfeed as feed. 2025-11-02 16:17:42 -08:00
Brent Simmons b29b2bcbc6 Rename WebFeed class to Feed. 2025-11-02 14:51:46 -08:00
Brent Simmons f880032e3a Handle special cases for skipping downloading feed icons and HTML metadata. 2025-10-16 21:53:44 -07:00
Brent Simmons 47c9f9134e Replace OSLog with Logger. 2025-10-02 09:02:03 -07:00
Brent Simmons 4d930dd5e4 Restore changes reverted in previous beta. 2025-05-09 20:30:04 -07:00
Brent Simmons 9aa93166b7 Revert more changes since 6193 in hopes of fixing the scrolling bug. 2025-05-09 09:22:34 -07:00
Brent Simmons 2658319a91 Make Download @MainActor, and make it handle duplicate in-flight requests without making duplicate calls. 2025-04-29 13:09:10 -07:00
Brent Simmons 57a170beed Unify Core and RSCore into RSCore. 2025-04-22 20:48:56 -07:00
Brent Simmons a86f36a652 Use a feed icon included with the app (instead of the app icon) as the icon for NetNewsWire feeds. 2024-12-15 20:20:11 -08:00
Brent Simmons d83e099d2c Remove remainder of featured image code (which is unused). 2024-12-15 10:59:43 -08:00
Brent Simmons d97de7dda6 Restore to before debugging. 2024-12-14 20:47:17 -08:00
Brent Simmons 8110603635 Store the feedURL-to-iconURL cache on disk. 2024-12-14 20:19:02 -08:00
Brent Simmons 0e93021f91 Use .shared for most of the image downloaders. 2024-12-14 15:17:32 -08:00
Brent Simmons 7c47820455 Simplify FeedIconDownloader. 2024-12-14 15:17:11 -08:00
Brent Simmons ef6b2c962e Remove unused FeatureImageDownloader. 2024-12-14 15:16:34 -08:00
Brent Simmons dcf78bef61 Skip looking for a feed icon for a given feed when we already know there isn’t one. 2024-12-14 14:35:01 -08:00
Brent Simmons 2056adf5d6 Rename WebFeedIconDownloader to FeedIconDownloader. 2024-12-14 10:28:28 -08:00
Brent Simmons b651131fbd Add and use new HTMLMetadataDownloader. Fix #4414. 2024-12-14 10:15:51 -08:00
Brent Simmons 0e8eac3c56 Rename OneShotDownload to Downloader. Use built-in caching support. 2024-11-27 20:32:36 -08:00
Brent Simmons 85704acd9c Remove FeedProviderManager and Feed Provider and remove references to them. 2023-06-25 16:11:55 -07:00
Brent Simmons 21ee96609a Update NetNewsWire feed URL to use netnewswire.blog host. 2023-06-18 15:43:47 -07:00
Maurice Parker d134af47a8 Fix compile errors 2021-10-07 15:55:57 -05:00
Maurice Parker 8c95e62fc0 Don't use the feed icon for XKCD since it is always the current comic and doesn't scale down well. Fixes #2669 2020-12-14 21:36:47 -06:00
Maurice Parker 67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Maurice Parker 78cefecaad Make sure we are only going after a given URL once 2020-05-04 17:48:53 -05:00
Maurice Parker d1ca2cac79 Remove username from WebFeed and put it in the URL 2020-04-24 13:33:43 -05:00
Maurice Parker d4b5d7bde4 Add FeedProviderManager 2020-04-16 15:06:56 -05:00
Maurice Parker f8a664d035 Cache the feed provider results to make it as fast as the other icon look up types. 2020-04-16 02:17:38 -05:00
Maurice Parker c44759fdb2 Add web feed icon downloader support for Feed Providers. 2020-04-15 20:17:33 -05:00
Maurice Parker d0852d8954 Fix scenario where incorrect platform specific icon image could be returned. 2020-03-30 10:56:52 -05:00
Nate Weaver 4ac8107f27 Don't unwrap now-non-optionals, and unwrap now-explicit optionals 2020-02-08 18:22:35 -06:00
Nate Weaver 7ee1f99962 Updates for Data+RSCore changes 2020-01-18 19:18:58 -06:00
Nate Weaver b35215d03b Update for pending RSCore String updates 2020-01-17 13:45:38 -06:00