Commit Graph
59 Commits
Author SHA1 Message Date
Brent Simmons beeeabba24 Convert AppAssets to shared Assets. 2025-11-19 10:38:18 -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 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 7e120bcbb4 Rename some instances of webfeed as feed. 2025-11-03 10:16:03 -08:00
Brent Simmons b29b2bcbc6 Rename WebFeed class to Feed. 2025-11-02 14:51:46 -08:00
Brent Simmons 9eb0907b2f Make FaviconDownloader a singleton. 2025-11-02 10:18:20 -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 554658f066 Replace OSLog with Logger. 2025-10-02 08:57:32 -07:00
Brent Simmons d52a1e279c Fix formatting and remove unneeded comment. 2025-09-09 20:53:17 -07:00
Brent Simmons cbbd2c3f4b Fix rendering bug with some favicons. Use proper scaling factor and avoid converting to TIFF. 2025-09-09 20:53:17 -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 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Brent Simmons c67807158a Fetch favicon (if needed) when HTMLMetadata is available. 2025-01-19 17:59:41 -08: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 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 e1df391278 Fix deprecation warnings. 2024-11-22 21:12:53 -08:00
Brent Simmons 21ee96609a Update NetNewsWire feed URL to use netnewswire.blog host. 2023-06-18 15:43:47 -07:00
Nate Weaver 8911627a67 Fix favicons when a feed's homepage URL has non-ASCII in its path 2021-07-18 17:02:49 -05:00
Maurice Parker ef18600acc Separate background suppression from symbol processing. Fixes #2646 & Fixes #2635 2020-12-06 14:25:22 -06:00
Maurice Parker 67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Maurice Parker a6e75df412 Send out an event if we found a cached favicon downloader for new homepage URL. Issue #1940 2020-03-24 12:21:08 -05:00
Nate Weaver aad1fc4a0c Call the completion handler with nil if faviconURLs is nil
Fixes #1791.
2020-02-15 08:53:56 -06:00
Nate Weaver b3f736f899 Add a clarification comment 2020-02-15 08:22:59 -06:00
Nate Weaver ee48f4baba Remove redundant nil check for homePageURL 2020-02-15 08:22:51 -06:00
Nate Weaver 2ac4df4ee6 Use a single compactMap() instead of filter().compactMap() 2020-02-08 18:22:35 -06:00
Brent Simmons 2cdcddeefe Handle possible nil favicon.urlString. 2020-02-05 22:43:18 -08:00
Nate Weaver 0d128c0c3c Fix spacing 2020-02-02 17:53:46 -06:00
Nate Weaver 830db84c56 Explicitly import CoreServices
For UTType stuff; iOS doesn't implicitly import it.
2020-02-01 18:03:44 -06:00
Nate Weaver e9a3764270 Documentation comment 2020-02-01 18:03:44 -06:00
Nate Weaver 101e140233 Make ignoredTypes a static property to avoid redundant lookups 2020-02-01 18:03:44 -06:00
Nate Weaver f65bf63bb1 Add the ability to ignore types to FaviconURLFinder, and ignore SVG favicons 2020-02-01 18:03:44 -06:00
Nate Weaver 97049be067 Only add to the no-favicons cache if the only icon was the defaulted favicon.ico 2020-02-01 18:03:44 -06:00
Nate Weaver b088cda5a5 Fix homePageURLsWithNoFaviconURLCache 2020-02-01 18:03:44 -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
Nate Weaver 0b404c294d Update to newest RSCore 2020-01-09 18:22:06 -06:00
Maurice Parker 58b24f3349 Rename callback: to completion: 2019-12-14 18:01:34 -07:00
Nate Weaver 71bc1e5d8a Return the app icon earlier so we never hit the favicon cache 2019-12-07 16:09:32 -06:00
Nate Weaver bf4dd59d90 Use the app icon for the NNW feed 2019-12-07 15:45:33 -06:00
Nate Weaver 64af8840fe Mark appropriate caches as dirty 2019-11-27 15:45:14 -06:00
Nate Weaver f690bba775 Make sure self.postDidLoadFaviconNotification() is always called after a download attempt
Otherwise the rest of the favicon URLs won't be tried.
2019-11-27 15:40:35 -06:00
Maurice Parker ef2222ad94 Merge branch 'mac-release' 2019-11-27 14:08:52 -06:00
Nate Weaver 9de27febf0 Fix favicon loading for sites with multiple/invalid favicons
Load the next favicon if a favicon is invalid

Iterate through multiple favicons and use the first that actually loads

- Add a homePageURL property to SingleFaviconDownloader that notification observers can use.
- Only add a URL to the favicon cache when we're sure it's valid.

Post notification even if the icon failed to load

Update RSParser

Remove single-favicon helper methods

Only load the next favicon if the current load failed

Update RSParser

Make sure to try the default favicon.ico

RSParser test fix update

Update RSParser
2019-11-27 13:02:49 -06:00
Maurice Parker 06bd5b3a6f Renamed Feed and related classes/instances to WebFeed 2019-11-14 20:11:41 -06:00
Maurice Parker 560f36621f Add IconImage to encapsulate our icon processing logic 2019-11-05 18:05:57 -06:00