Commit Graph

12 Commits

Author SHA1 Message Date
Brent Simmons
78c1f8fe59 Fix deprecation warnings. 2024-02-24 20:39:44 -08: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
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
Maurice Parker
58b24f3349 Rename callback: to completion: 2019-12-14 18:01:34 -07: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
Brent Simmons
70312aa75c Major folder and project tree restructuring. 2019-04-13 16:18:54 -07:00