Commit Graph
1205 Commits
Author SHA1 Message Date
Brent Simmons 81345183cd Add test to make sure an Atom xhtml title handles CDATA section properly. 2026-11-11 20:42:59 -08:00
Brent Simmons 0f5046bbb6 Remove sidebar rows by identity, not index, so deleting a feed can’t remove the wrong row (usually the next row) from the outline. 2026-11-11 08:34:51 -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 39cd96839e Handle Guardian image enclosures that don’t use a media:group and that differ only by ?width=. Pick the widest one. 2026-11-09 08:42:06 -08:00
Brent Simmons f9505e95b3 Accept Xcode weirdness. 2026-11-09 08:15:53 -08:00
Brent Simmons 9e0c28fcce Use an item’s only Gravatar as its only author’s avatar, even when its title is the username ("halmueller" instead of "Hal Mueller," for instance). 2026-11-08 22:16:07 -08:00
Brent Simmons d8417db7d5 Skip enclosure images that are the same as the feed image (as with Letters from an American), so they don’t become redundant timeline thumbnails or primary images. 2026-11-08 21:56:55 -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 fcbc491180 Rename forNameCaseInsensitive to forCaseInsensitiveName. 2026-11-06 10:33:49 -08:00
Brent Simmons eac971b275 Create aspectFitRect (used in the app for small thumbnails, but possibly useful other places). 2026-11-05 20:33:47 -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 d49c25abf9 Pass article base URL to image attribute inserter as URL, matching HTMLImageParser. 2026-11-03 16:04:05 -08:00
Brent Simmons 7b16af7698 Check image’s declared size before resolving its URLs. 2026-11-03 15:57:46 -08:00
Brent Simmons 98dccfe5dc Decode entities in title and textarea, so link from SVG title is correctly decoded. 2026-11-03 15:48:01 -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 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