Brent Simmons
|
5e39b569a7
|
Merged main to branch.
|
2025-11-01 15:53:33 -07:00 |
|
Brent Simmons
|
7638c1b8b8
|
Bump version.
|
2025-10-30 14:02:07 -07:00 |
|
Brent Simmons
|
b368392c5f
|
Add markdown column to the articles table. Save and fetch markdown as part of articles.
|
2025-10-29 17:04:34 -07:00 |
|
Brent Simmons
|
f879a5d3a4
|
Render Markdown when markdown is present and contentHTML is nil.
|
2025-10-29 16:31:23 -07:00 |
|
Brent Simmons
|
6269debe38
|
Update call sites to supply markdown parameter.
|
2025-10-29 14:04:28 -07:00 |
|
Brent Simmons
|
616ad0822a
|
Add Markdown support to parser — parse source:markdown in RSS feeds.
|
2025-10-29 13:51:20 -07:00 |
|
Brent Simmons
|
018627610f
|
Add Markdown feed tests.
|
2025-10-29 13:50:42 -07:00 |
|
Brent Simmons
|
d43aa8c307
|
Skip the periodic dropping of conditional GET info for some special cases.
|
2025-10-22 12:19:20 -07:00 |
|
Brent Simmons
|
23fc833cd0
|
Fix likely cause of iCloud progress not getting down to zero tasks remaining (in some cases, intermittently).
|
2025-10-22 10:02:01 -07:00 |
|
Brent Simmons
|
17725d6ab2
|
Clean up StripHTMLTests.
|
2025-10-21 10:29:43 -07:00 |
|
Brent Simmons
|
e19beb65cd
|
Skip tracking tag level when inside script or style content.
|
2025-10-21 10:14:35 -07:00 |
|
Brent Simmons
|
c3fd92dd99
|
Add RSCoreTests scheme. Stop running legacy strip HTML function in tests (but leave code in place in case needed later for performance comparison testing).
|
2025-10-21 09:38:27 -07:00 |
|
Brent Simmons
|
f472a5ba54
|
Add comment. Remove unneeded return.
|
2025-10-21 09:23:11 -07:00 |
|
Brent Simmons
|
1b7cf1d93a
|
Revise comments.
|
2025-10-20 16:41:57 -07:00 |
|
Brent Simmons
|
399ebc8b63
|
Remove unneeded call to collapsingWhitespace, since strippingHTML does that.
|
2025-10-20 16:41:23 -07:00 |
|
Brent Simmons
|
768a28a732
|
Add a faster implementation of strippingHTML written in C. Tests show that it’s 5x to 75x faster (varies based on input) than original version. This will help scrolling a ton — stripping HTML was the biggest chunk of work when scrolling.
|
2025-10-20 16:27:13 -07:00 |
|
Brent Simmons
|
6ee09d15d9
|
Optimize some extremely small parts of strippingHTML. reserveCapacity for potentially a smaller count. Bind maxCharacters just once.
|
2025-10-20 10:31:57 -07:00 |
|
Brent Simmons
|
a8e307bab1
|
Make Article a reference type, which speeds up scrolling (which used 8% of CPU doing initializeWithCopy for Article and destroy for Article).
|
2025-10-20 10:28:41 -07:00 |
|
Brent Simmons
|
6e9ee02557
|
Skip downloading URLs that aren’t http or https.
|
2025-10-18 10:16:49 -07:00 |
|
Brent Simmons
|
85ebdefede
|
Use English locale when checking lower-cased URL schemes.
|
2025-10-18 10:16:35 -07:00 |
|
Brent Simmons
|
a68076fb12
|
Add special case timing feature, so some feeds can be refreshed less often.
|
2025-10-18 09:50:52 -07:00 |
|
Brent Simmons
|
65bb228689
|
Streamline downloadDidComplete. Use new async methods. Make sure conditional GET info is updated on 304 responses.
|
2025-10-17 22:40:03 -07:00 |
|
Brent Simmons
|
e064aea97d
|
Skip caching errors — those are things like connectivity errors, and shouldn’t be cached.
|
2025-10-17 22:39:12 -07:00 |
|
Brent Simmons
|
4343afd27c
|
Create async wrapper for parser(parserData) method.
|
2025-10-17 22:38:24 -07:00 |
|
Brent Simmons
|
cf9a0966ae
|
Create async wrapper for update(feed, parsedFeed) method.
|
2025-10-17 22:38:06 -07:00 |
|
Brent Simmons
|
4a9e0ca8cc
|
Use English locale for lowercasing host names.
|
2025-10-17 13:59:32 -07:00 |
|
Brent Simmons
|
adae8b41a8
|
Set feed.lastCheckDate on initial download.
|
2025-10-17 11:36:27 -07:00 |
|
Brent Simmons
|
f197b1d9a1
|
Add lastCheckDate to feed metadata.
|
2025-10-17 11:36:13 -07:00 |
|
Brent Simmons
|
9950bb9def
|
Save conditional GET info on initial feed download so that it gets used for subsequent refreshes.
|
2025-10-17 11:10:40 -07:00 |
|
Brent Simmons
|
f880032e3a
|
Handle special cases for skipping downloading feed icons and HTML metadata.
|
2025-10-16 21:53:44 -07:00 |
|
Brent Simmons
|
5e6734047c
|
Add and use special case FeedSpecifier.
|
2025-10-16 15:54:32 -07:00 |
|
Brent Simmons
|
27f72db413
|
Use request.addSpecialCaseUserAgentIfNeeded.
|
2025-10-16 15:54:13 -07:00 |
|
Brent Simmons
|
6fd18c8bc2
|
Add isRachelByTheBayURL detector.
|
2025-10-16 15:31:56 -07:00 |
|
Brent Simmons
|
6f468c8213
|
Use modifiedRequest.addSpecialCaseUserAgentIfNeeded instead of the duplicate code it was using.
|
2025-10-16 15:31:13 -07:00 |
|
Brent Simmons
|
d6d3419aa3
|
Remove unneeded whitespace.
|
2025-10-16 15:19:46 -07:00 |
|
Brent Simmons
|
bbc0313e79
|
Use shared DownloadCache.
|
2025-10-16 14:49:50 -07:00 |
|
Brent Simmons
|
0b215c3c76
|
Add shared DownloadCache, to be used across different URLSessions.
|
2025-10-16 14:45:31 -07:00 |
|
Brent Simmons
|
a16cda2665
|
Cache responses for just over 10 minutes, so that feeds can’t be refreshed too often. Be kind to feed publishers! Fix #4700.
|
2025-10-16 14:14:03 -07:00 |
|
Brent Simmons
|
2cd88eca96
|
Set feed.conditionalGetInfo only if it’s different.
|
2025-10-15 13:57:13 -07:00 |
|
Brent Simmons
|
634bc21c24
|
Drop conditional GET info every 8 days, to handle buggy servers that always respond with a 304 when *any* conditional GET info is sent. Also: add some more logging.
|
2025-10-15 10:48:58 -07:00 |
|
Brent Simmons
|
00376a91b6
|
Add conditionalGetInfoDate to keep track of when conditional GET info is set.
|
2025-10-15 10:48:26 -07:00 |
|
Brent Simmons
|
18d239c946
|
Cache 4xx responses for some hours (53, currently) — instead of for the duration of the current run of the app. This fixes one possible cause of feeds not updating.
|
2025-10-14 22:24:42 -07:00 |
|
Brent Simmons
|
212d9b40be
|
Resolve link URLs. Handle Daring Fireball’s sometimes-crossed permalinks and external links.
|
2025-10-14 18:50:17 -07:00 |
|
Brent Simmons
|
31eb5b5bfd
|
Add baseline for performance tests.
|
2025-10-14 18:49:19 -07:00 |
|
Brent Simmons
|
7314f9a7f3
|
Lightly improve isValidURLString.
|
2025-10-14 16:17:13 -07:00 |
|
Brent Simmons
|
ea771e9b27
|
Add code and tests to parse relative home page URLs in Atom feeds.
|
2025-10-14 11:23:37 -07:00 |
|
Brent Simmons
|
71b4472e53
|
Add RSMarkdown module which imports swift-markdown and cmark-gfm external modules. Create function to generate HTML from Markdown.
|
2025-10-07 11:53:07 -07:00 |
|
Brent Simmons
|
207fe6649f
|
Skip refreshing in local and Feedly accounts if running unit tests.
|
2025-10-06 10:59:25 -07:00 |
|
Brent Simmons
|
22ef2f849f
|
Add logging to isRunningUnitTests (one log per run, not per call).
|
2025-10-06 10:59:07 -07:00 |
|
Brent Simmons
|
4e9f29d54b
|
Add check to see if running unit tests. This will allow us to skip certain work (like syncing) when running unit tests. Also useful later for self-mocking.
|
2025-10-06 10:25:17 -07:00 |
|