Brent Simmons
|
1b6b3b072f
|
Skip icon update checks when network doesn’t allow downloads or retry wait is running.
|
2026-10-31 11:36:40 -07:00 |
|
Brent Simmons
|
a7a1c43e7b
|
Combine htmlThumbnailURLs and articleIDsWithNoHTMLThumbnail into single dictionary. Empty array means HTML has no thumbnail.
|
2026-10-31 11:10:26 -07:00 |
|
Brent Simmons
|
6f35025569
|
Remove code that has been replaced by findThumbnailURLs.
|
2026-10-31 11:08:47 -07:00 |
|
Brent Simmons
|
70b1eb70f0
|
Add findThumbnailURLs which loads thumbnail URLs and parses the reset. Simplifies things for callers.
|
2026-10-31 11:01:33 -07:00 |
|
Brent Simmons
|
880b3e213a
|
Decode large thumbnails to displayed height, which makes them smaller, which means more can fit in the image cache.
|
2026-10-31 10:56:51 -07:00 |
|
Brent Simmons
|
c9a3c32586
|
Skip image URLs that returned something other than an image.
|
2026-10-31 10:52:22 -07:00 |
|
Brent Simmons
|
defd3db2b2
|
Fall back to home page icon when feed icon URL returns something other than an image. Fixes #5376.
|
2026-10-31 10:50:20 -07:00 |
|
Brent Simmons
|
3735f095fc
|
Stop retrying image URLs that return something other than an image until network status changes, so a bad URL isn’t retried every session.
|
2026-10-31 10:47:35 -07:00 |
|
Brent Simmons
|
2aeb9e3d8b
|
Empty chosen thumbnail URLs cache on low memory.
|
2026-10-31 10:40:19 -07:00 |
|
Brent Simmons
|
eb22462a06
|
Store articles image fields rather than entire articles in ArticleThumbnailFinder.
|
2026-10-31 10:38:20 -07:00 |
|
Brent Simmons
|
c655a0d659
|
Check retry waits and network status when queued image download’s turn is up, so those requests don’t go to a host that just asked for a wait.
|
2026-10-31 10:32:29 -07:00 |
|
Brent Simmons
|
ec803f9f76
|
Start hosts’s retry wait for 429, 503, or no response, so that other failures don’t apply to the host.
|
2026-10-31 10:28:15 -07:00 |
|
Brent Simmons
|
103cfd2a08
|
Double image retry wait after previous wait ends, so a bunch of failures in a row doesn’t double it to the max in a few seconds.
|
2026-10-31 10:24:51 -07:00 |
|
Brent Simmons
|
65962b8cf4
|
Move row to next thumbnail source when image URL returns something that isn’t an actual image.
|
2026-10-30 22:28:38 -07:00 |
|
Brent Simmons
|
3a4bac109e
|
Add test for counting HTTP status codes as transient.
|
2026-10-30 22:01:10 -07:00 |
|
Brent Simmons
|
b6fde3038d
|
Wait for tasks to be queued in ThumbnailTaskQueueTests instead of relying on Task.yield.
|
2026-10-30 21:55:10 -07:00 |
|
Brent Simmons
|
6d5d3c27a1
|
Pass HTML and URL to HTMLImageParser.
|
2026-10-30 21:41:57 -07:00 |
|
Brent Simmons
|
8239e7af20
|
Record decode failures but not download failures (since DownloadedImageCache does that).
|
2026-10-30 21:30:24 -07:00 |
|
Brent Simmons
|
21543b9ee0
|
Filter provided thumbnail URLs only, since URLs found in HTML were previously filtered.
|
2026-10-30 18:15:27 -07:00 |
|
Brent Simmons
|
63b3078231
|
Figure out which images to remove in background.
|
2026-10-30 18:09:00 -07:00 |
|
Brent Simmons
|
187e01ef63
|
Use rawValue.
|
2026-10-30 18:06:26 -07:00 |
|
Brent Simmons
|
262c8f16dc
|
Decode thumbnail images a few at a time.
|
2026-10-30 17:46:21 -07:00 |
|
Brent Simmons
|
c9b4782433
|
Rename DownloadLimiter to ThumbnailTaskQueue now that it’s about more than just downloading.
|
2026-10-30 17:38:34 -07:00 |
|
Brent Simmons
|
a99fd2e5df
|
Add ArticleThumbnailFinder.loadSavedThumbnailURLs.
|
2026-10-30 17:16:21 -07:00 |
|
Brent Simmons
|
6caac10700
|
Remove unused key from userInfo.
|
2026-10-30 17:06:57 -07:00 |
|
Brent Simmons
|
7125510fa0
|
Save chosen thumbnail URL for each article.
|
2026-10-30 12:00:32 -07:00 |
|
Brent Simmons
|
a645f256ff
|
Delete database rows for HTML-found thumbnail URLs eventually.
|
2026-10-29 12:15:18 -07:00 |
|
Brent Simmons
|
e9ec348172
|
Cap readDatesNoted at 10,000 URLs.
|
2026-10-29 11:53:18 -07:00 |
|
Brent Simmons
|
a9f94727b6
|
Save scaled icons on disk to they’re aren’t rescaled from original all the time.
|
2026-10-29 11:14:52 -07:00 |
|
Brent Simmons
|
99b33647e7
|
Add support for scaled icons on disk.
|
2026-10-29 11:13:17 -07:00 |
|
Brent Simmons
|
93eb48d44d
|
Save memory by cutting the decoded thumbnail cache limit from 128MB to 64MB on iOS.
|
2026-10-29 11:04:04 -07:00 |
|
Brent Simmons
|
f28d6041b9
|
Save memory by decoding small thumbnails at 256 instead of 512, which is big enough for the 76pt size at 3x.
|
2026-10-29 11:02:32 -07:00 |
|
Brent Simmons
|
af2d55a194
|
Note when image was used so icons in use aren’t the first removed.
|
2026-10-29 10:58:43 -07:00 |
|
Brent Simmons
|
736ba28c8e
|
Avoid saving or overwriting an image with something not an image (a captive portal login page, for instance).
|
2026-10-29 10:29:03 -07:00 |
|
Brent Simmons
|
308963bd66
|
Avoid prefetching timeline thumbnails on expensive networks or in Low Power Mode.
|
2026-10-29 09:58:21 -07:00 |
|
Brent Simmons
|
a70f436842
|
Reject timeline images over a certain large size.
|
2026-10-29 09:49:39 -07:00 |
|
Brent Simmons
|
264911cabb
|
Add jitter to check interval so they don’t clump (and are therefore kinder to servers).
|
2026-10-29 09:34:38 -07:00 |
|
Brent Simmons
|
edd83c59d0
|
Wait before requesting anything more from a host after a transient failure. Honor Retry-After in seconds.
|
2026-10-29 09:31:54 -07:00 |
|
Brent Simmons
|
b13d2f9d5d
|
Treat 408 and 429 as transient so they’re retried appropriately instead of waiting five days.
|
2026-10-29 09:27:58 -07:00 |
|
Brent Simmons
|
25404680ba
|
Add delay before re-requesting an image after transient failure. Delay starts with one minute and doubles up to max one hour delay.
|
2026-10-29 09:25:55 -07:00 |
|
Brent Simmons
|
56764611d3
|
Replace cached favicons when server replaces image.
|
2026-10-29 09:10:16 -07:00 |
|
Brent Simmons
|
3ada527dda
|
Replace cached feed icons and author avatars when server replaces the image.
|
2026-10-29 09:08:58 -07:00 |
|
Brent Simmons
|
93a011fb5c
|
Make icon again when server replaces an image.
|
2026-10-29 09:05:42 -07:00 |
|
Brent Simmons
|
fc2e1eb53d
|
Post DownloadedImageDidChange notification when check with server results in a new image.
|
2026-10-29 08:59:45 -07:00 |
|
Brent Simmons
|
1feafcf4f1
|
Prevent images being read or being downloaded from being removed by a removal pass.
|
2026-10-29 08:51:29 -07:00 |
|
Brent Simmons
|
b06fcfdc63
|
Get the largest frame.
|
2026-10-28 13:30:47 -07:00 |
|
Brent Simmons
|
c6cf4e704c
|
Check if connectivity is good before downloading images.
|
2026-10-28 11:48:20 -07:00 |
|
Brent Simmons
|
dc2bb43fa7
|
Raise cached article limit in ArticleThumbnailFinder so the cache doesn’t get emptied on super-large timelines as often.
|
2026-10-28 11:35:01 -07:00 |
|
Brent Simmons
|
70cbd39834
|
Use the proper baseURL in the thumbnail finder.
|
2026-10-28 11:30:24 -07:00 |
|
Brent Simmons
|
14f570bbf1
|
Start a waiting image download immediately when article view needs the image.
|
2026-10-28 11:13:02 -07:00 |
|