Commit Graph
8429 Commits
Author SHA1 Message Date
Brent Simmons dbab95cc4d Merge branch 'bug/strip-html-performance' 2025-10-21 10:29:54 -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 7bb2c79f55 Allow Claude to do more things. 2025-10-21 10:14:01 -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 14b9108581 Remove unneeded calls to trimmingWhitespace and collapsingWhitespace, since strippingHTML does both. 2025-10-20 16:41:45 -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 7d8a2fa34c Allow Claude to do a few more things. 2025-10-20 10:27:25 -07:00
Brent Simmons 86f2110f5b Update Status.md. 2025-10-19 15:01:39 -07:00
Brent Simmons d870acab24 Revise release notes. iOS-6.2-6199 2025-10-19 14:56:38 -07:00
Brent Simmons d974e2101b Write release notes for build 6199. 2025-10-19 14:48:11 -07:00
Brent Simmons f74f6a556f Bump version and build. 2025-10-19 14:06:22 -07:00
Brent Simmons b02fd6f2fc Update beta appcast for 6.2.b1. 2025-10-19 14:00:20 -07:00
Brent Simmons 8544f23915 Update status. mac-6.2b1 2025-10-19 13:39:52 -07:00
Brent Simmons 8829a08255 Update release notes. 2025-10-19 13:38:56 -07:00
Brent Simmons 5fbd1d609f Bump version and build. 2025-10-19 10:26:40 -07:00
Brent Simmons 93edf4bf1a Revise order of things. 2025-10-19 10:26:30 -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 3ff09d71cc Merge branch 'feature/rachel-by-the-bay-special-cases' 2025-10-17 13:59:42 -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 df74ac70da Merge branch 'bug/double-read-4573' 2025-10-16 15:19:51 -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 502b23b9fe Merge branch 'feature/download-once-week-1980' 2025-10-15 14:18:19 -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 ecac7a1e2a Merge branch 'bug/atom-relative-urls-3534' 2025-10-14 21:23:11 -07:00