Commit Graph
1165 Commits
Author SHA1 Message Date
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
Brent Simmons 4f6ff7d505 Make ThumbnailTaskQueue newest-first. Remove priorities, which are no needed. 2026-11-01 11:34:12 -08:00
Brent Simmons 35ae2068c1 Remove prefetching. 2026-11-01 11:30:10 -08:00
Brent Simmons e0096cd2a4 Remove middleVisibleRow from RSCore, which is no longer used. 2026-10-31 15:46:19 -07:00
Brent Simmons 1e822155b7 Fix comment. 2026-10-31 15:43:28 -07:00
Brent Simmons 43f885e5a0 Return URL strings from HTMLImageParser and delete HTMLImage, which was unused outside tests. 2026-10-31 15:36:24 -07:00
Brent Simmons e7a353b374 Run image removal passes less often. 2026-10-31 15:31:46 -07:00
Brent Simmons 008f600ea1 Log only failed thumbnail downloads, so scrolling doesn’t push sync and refresh entries out of the activity log. 2026-10-31 14:43:50 -07:00
Brent Simmons d481a93bd9 Read and save the scaled copy for favicons, so they aren’t rescaled from the original each time. 2026-10-31 14:41:33 -07:00
Brent Simmons 41094a63bf Remove the scaled icon as soon as its image changes, before posting the change notification, so nothing reads the old copy. 2026-10-31 14:39:35 -07:00
Brent Simmons dc1f3ce86e Skip saving a scaled icon when it’s identical to the original, so small icons and SVGs aren’t stored twice. 2026-10-31 14:37:44 -07:00
Brent Simmons 158bcec9dd Treat a failed image write as a transient failure, so a full disk doesn’t record the image and download it again on each use. 2026-10-31 14:35:29 -07:00
Brent Simmons 4dbb2488e0 Skip deleting images when the image records can’t be read, so a failed database read doesn’t delete every image. 2026-10-31 14:33:49 -07:00
Brent Simmons 73ca3b4b44 Skip deleting images when images folder can’t have its files listed, so a failed listing doesn’t delete every record and file. 2026-10-31 14:32:20 -07:00
Brent Simmons 6acb373d2f Stop recording “no favicon” for five days after a transient failure. 2026-10-31 14:29:58 -07:00
Brent Simmons 0c7e630db7 Check provided thumbnail candidates one at a time, so attachments aren’t iterated when an earlier candidate is usable. 2026-10-31 12:03:30 -07:00
Brent Simmons 210474f6ac Parse, save, post HTML thumbnail URLs in batches of 100. 2026-10-31 11:56:03 -07:00
Brent Simmons b00dce516d Skip images hidden by hidden attribute or style none. Trying to avoid tracking pixels as thumbnails. 2026-10-31 11:53:30 -07:00