Commit Graph
179 Commits
Author SHA1 Message Date
Brent Simmons d404cf18a3 Log thumbnail downloading always (not just on error). Include feed name in log entries. 2026-11-15 20:59:37 -08:00
Brent Simmons d0b79171df Log thumbnail downloading (not just on errors). 2026-11-15 20:48:56 -08:00
Brent Simmons 7908c801bf Allow thumbnail downloading when in low data mode. 2026-11-12 13:59:08 -08:00
Brent Simmons a509c7d01f Make icon cache eviction less aggressive. Remove memory monitor entirely. Seems to hurt more than it hurts. Never used to have that kind of thing on macOS anyway. 2026-11-09 21:10:14 -08:00
Brent Simmons 7f6aca32bc Show grayscale icons when the setting is on. 2026-11-09 09:13:06 -08:00
Brent Simmons cfb4c32a53 Add IconImage.grayscaleIconImage. 2026-11-09 09:07:48 -08:00
Brent Simmons 7214b44dc3 Work around Apple crash in iOS 27.2 beta. Don’t use <= or >= with Dates. 2026-11-06 10:34:36 -08:00
Brent Simmons 03cc95e4e4 Make small thumbnails square. Crop from sides and bottom, never top, which makes it more likely that the relevant part of the image will be in the thumbnail. (Not using face detection though due to performance.) 2026-11-05 19:56:43 -08:00
Brent Simmons 03d7367772 Rasterize SVG icons once in background on Mac, so views can draw bitmap (fast) instead of the vector. 2026-11-03 16:18:49 -08:00
Brent Simmons b24d552c81 Stop an image too large for the timeline from blocking it as an icon. Save new conditional GET info when a check finds the image unchanged. 2026-11-03 16:09:13 -08:00
Brent Simmons a1958416ba Rename iconImageCache to iconImages. 2026-11-03 15:40:05 -08:00
Brent Simmons 88ba9f9fe9 Make inits private. 2026-11-03 15:38:59 -08:00
Brent Simmons 90b72e281d Edit comment. 2026-11-03 15:38:20 -08:00
Brent Simmons 244d96fa03 Remove no-longer-used launch timings. 2026-11-03 15:31:10 -08:00
Brent Simmons ae87e309dd Add notAttempted error. 2026-11-03 15:29:35 -08:00
Brent Simmons 4a36fb0c56 Find the feeds using an arriving favicon or home page icon by lookup instead of scanning every feed. 2026-11-03 14:42:29 -08:00
Brent Simmons 5196592efe Keep only the scaled copy of icons on disk. 2026-11-03 14:39:45 -08:00
Brent Simmons 3bb2568bbb Stop emptying thumbnail URL caches on Mac when app goes to background. 2026-11-03 14:07:37 -08:00
Brent Simmons 9bc39f5172 Split ThumbnailDownloader out from ArticleThumbnailFinder. 2026-11-03 13:40:27 -08:00
Brent Simmons dc27b508b3 Make IconImageCache the source of icon notifications. 2026-11-03 11:53:31 -08:00
Brent Simmons 966641c723 Remove SingleFaviconDownloader. 2026-11-03 11:36:06 -08:00
Brent Simmons 9c3bb706ce Split HomePageIconDownloader from FeedIconDownloader. Save home page icon URLs by home page instead of by feed. 2026-11-03 11:30:26 -08:00
Brent Simmons f4df806a66 Load icons via IconImageDownloader. It caches one IconImage per URL. 2026-11-03 11:10:10 -08:00
Brent Simmons f2ad6b6d57 Decode each feed icon URL once, even if shared by multiple feeds. (Multiple GitHub feeds, for instance.) 2026-11-03 10:32:54 -08:00
Brent Simmons 713a93715d Replace feed’s cached icon and favicon when icon, favicon, or home page URL changes. 2026-11-03 10:23:12 -08:00
Brent Simmons 1972d25f20 Retry favicons when the network comes back. 2026-11-03 10:21:42 -08:00
Brent Simmons e8c713308f Use home page favicon when feed-specified favicon fails or isn’t an image. 2026-11-03 10:16:32 -08:00
Brent Simmons 8050519b24 Expire no-favicon notes, and check home pages with no icon again when metadata refreshes. 2026-11-03 10:14:44 -08:00
Brent Simmons dc4804dd71 Use saved home page icon before checking home page when a feed specified icon fails. 2026-11-03 10:11:52 -08:00
Brent Simmons 6f6ea3c678 Check saved favicon against home page current favicons. 2026-11-03 10:04:15 -08:00
Brent Simmons 7f63c37033 Replace home page icon when home page includes a different one. 2026-11-03 10:00:40 -08:00
Brent Simmons 9b35e47f68 Request a feed icon when it isn’t in memory. 2026-11-03 09:50:36 -08:00
Brent Simmons f5d80a468c Skip replacing an icon when revalidation returns same bytes. 2026-11-02 16:19:06 -08:00
Brent Simmons 41f98fb2f9 Log failed writes of scaled icons. 2026-11-02 16:15:54 -08:00
Brent Simmons ec2b7b112c Remove a no-longer-accurate comment. 2026-11-02 16:15:38 -08:00
Brent Simmons 55f592b7eb Keep icons out of the images folder size limit. Remove icons unused for 180 days. 2026-11-02 15:23:50 -08:00
Brent Simmons 5ca0ad5b5d Make sure home page icon never replaces the feed-specified icon. 2026-11-02 15:12:02 -08:00
Brent Simmons 0f479a1753 Treat unsupported URL errors as final. 2026-11-02 13:17:25 -08:00
Brent Simmons 53f69a2d16 Search again when a saved favicon URL stops returning an image. 2026-11-02 13:15:26 -08:00
Brent Simmons be27f3e89c Consider a non-image response as transient (is probably a captive portal). 2026-11-02 12:52:31 -08:00
Brent Simmons c137f24fc1 Decode images and compute luminance on background. 2026-11-02 11:39:14 -08:00
Brent Simmons a418aca5a7 Find saved favicons by the same home page URL they’re saved under. 2026-11-02 11:34:54 -08:00
Brent Simmons 66c07ac1b7 Check home page again when saved home page icon fails. 2026-11-02 11:18:00 -08:00
Brent Simmons 9cdcdfe222 Replace home page icon with feed icon once it downloads. 2026-11-02 11:03:04 -08:00
Brent Simmons a1a93abacf Fall back to home page icon when feed icon fails to download. 2026-11-02 10:59:02 -08:00
Brent Simmons f7e9a59f4e Read stored icons from disk during a retry away. 2026-11-02 10:52:04 -08:00
Brent Simmons 86ad692082 Remove a cleanup used only in development build. 2026-11-02 10:30:43 -08:00
Brent Simmons 3f90e3347f Save home page favicon URL after it loads. 2026-11-02 10:29:50 -08:00
Brent Simmons d0a0bbe744 Save feed icon URL only when found via home page (since it’s already known otherwise). 2026-11-02 10:25:59 -08:00
Brent Simmons 3ec25f165e Get sizes from disk. 2026-11-02 10:25:00 -08:00