Commit Graph
11406 Commits
Author SHA1 Message Date
Brent Simmons 2db66e20fb Update large thumbnail row heights after network change. Preserve scroll position. 2026-11-03 15:18:14 -08:00
Brent Simmons c300d573f3 Skip icon and avatar lookups in timelines that don't show icons. 2026-11-03 14:58:56 -08:00
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 e166dbdd9c Reload iOS timeline cells for icon change only when a visible cell might show that icon. 2026-11-03 14:20:48 -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 e3e7bf3241 Put feed icon precedence (feed-specified icon, home page icon, favicon, generated favicon) in IconImageCache. Stop looking up later-precedence sources once one has an icon or is loading. 2026-11-03 11:42:18 -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 16e54269d7 Load icons at start of background refresh, so widgets and notifications are more likely to get their proper icons. 2026-11-03 09:53:28 -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 ab921e0885 Reload article view icon only if it’s for the articles feed icon, favicon, or authors. 2026-11-02 16:54:53 -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 e485ea07d9 Finish every article icon scheme task and don’t call a stopped one. 2026-11-02 16:09:39 -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 876443d4c5 Make default for thumbnails to none. 2026-11-02 10:28:58 -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