Commit Graph
1182 Commits
Author SHA1 Message Date
Brent Simmons 536c061f17 Start one metadata lookup per home page instead of per cell configure. 2026-11-03 14:57:19 -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 feda636b0c Check for captive portal redirects on http only, so https sites that moved hosts get their metadata. 2026-11-03 14:19:26 -08:00
Brent Simmons 3fb7f9fe46 Fix decorative banner test for the current aspect-ratio limit. 2026-11-03 14:17:14 -08:00
Brent Simmons 69a5fb834a Scale image from the full image, not a JPEG embedded EXIF thumbnail. 2026-11-03 14:13:16 -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 03aa00f151 Skip saving home page metadata from a redirect to another host, which may be a captive portal. 2026-11-03 09:48:17 -08:00
Brent Simmons 13a73b54d2 Parse home page metadata in the background. Stop at the body tag. 2026-11-02 16:59:22 -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
Brent Simmons feedf2913d Remove some unused code and database columns. 2026-11-02 10:21:38 -08:00
Brent Simmons 73f7b374ad Prefer images from HTML to provided thumbnails in large mode, since provided thumbnails are often too small for the large thumbnail space. 2026-11-01 21:43:38 -08:00
Brent Simmons 2fd7f1b3cb Allow more rectangular thumbnails without going so far as to allow banners (which are probably ads). 2026-11-01 21:34:53 -08:00
Brent Simmons 2915cb44e7 Parse HTML thumbnails off the main thread at fetch time. Remove batching. 2026-11-01 21:27:18 -08:00
Brent Simmons 8b93089bfc Update comments with performance notes. 2026-11-01 20:57:02 -08:00
Brent Simmons a204df0d22 Remove articleThumbnailURLs. Cache thumbnail URLs in memory. Parsing is super-fast. 2026-11-01 20:55:18 -08:00
Brent Simmons 24ab32aa80 Parse HTML thumbnails for first 1,000 articles before rows load, so we have thumbnail state for layout. 2026-11-01 20:45:26 -08:00
Brent Simmons 3515b4a445 Prune downloaded images cache only on launch. 2026-11-01 11:55:23 -08:00
Brent Simmons becbe58793 Simplify image retries. 2026-11-01 11:53:36 -08:00