Commit Graph
51 Commits
Author SHA1 Message Date
Brent Simmons a9b4efeaab Remove most uses of forEach. (Note: not talking about SwiftUI ForEach, which is fine and good and should not be removed.) 2026-01-04 12:36:41 -08:00
Brent Simmons bc4879a4fa Use the new regularized and more flexible progress reporting system. 2026-01-04 10:53:08 -08:00
Brent Simmons 74d10b9f7c Create RSProgress and move ProgressInfo to RSCore. Delete DownloadProgress. 2026-01-04 10:52:44 -08:00
Brent Simmons 0900f1dcbe Fix various SwiftLint warnings. 2026-01-02 19:47:03 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons 9180ec3ecd Fix various SwiftLint warnings. 2026-01-02 15:05:23 -08:00
Brent Simmons e45490fb1e Fix various SwiftLint warnings. 2026-01-02 11:57:55 -08:00
Brent Simmons fb1b901efe Fix various SwiftLint warnings. 2026-01-02 11:42:12 -08:00
Brent Simmons 36956c0345 Fix various SwiftLint warnings. 2026-01-02 10:17:41 -08:00
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons 9de8c69f19 Fix various SwiftLint warnings. 2025-12-31 13:44:42 -08:00
Brent Simmons 4fa0b65d98 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:53:40 -08:00
Brent Simmons 4fd16aadc9 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:20:48 -08:00
Brent Simmons be73e8a469 Mark things as nonisolated and Sendable. 2025-11-16 21:05:05 -08:00
Brent Simmons d5b4ccc6a1 Allow DownloadProgress to have child DownloadProgresses. 2025-11-16 19:58:18 -08:00
Brent Simmons 378929a674 Convert RSWeb to approachable concurrency. 2025-11-13 20:26:40 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -08:00
Brent Simmons 2a6172a585 Convert to async/await. 2025-11-09 11:11:27 -08:00
Brent Simmons 765cd3b9e6 Add async wrapper for download(url). 2025-11-09 10:44:32 -08:00
Brent Simmons 502a36787b Convert to async/await. 2025-11-08 12:34:14 -08:00
Brent Simmons 7934163519 Convert to async/await. 2025-11-08 10:09:51 -08:00
Brent Simmons 3869bf4531 Convert to async/await. 2025-11-07 17:14:02 -08:00
Brent Simmons 7b87af4b83 Add async wrappers to Transport. 2025-11-07 11:44:41 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons c8df04d8a0 Convert validateCredentials to async await. 2025-11-05 09:51:42 -08:00
Brent Simmons 5915faa18d Replace Reachability with modern NWPathMonitor. 2025-11-04 21:30:13 -08:00
Brent Simmons 5e39b569a7 Merged main to branch. 2025-11-01 15:53:33 -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 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 4a9e0ca8cc Use English locale for lowercasing host names. 2025-10-17 13:59:32 -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 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 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 6e12b70a93 Replace os_log with Logger. 2025-10-02 22:02:51 -07:00
Stuart Breckenridge 9123f4c20a 🚨 Makes Transport type conform to Sendable
Fixes a compiler bug.
2025-06-13 14:05:28 +08:00
Brent Simmons 4d930dd5e4 Restore changes reverted in previous beta. 2025-05-09 20:30:04 -07:00
Brent Simmons 9aa93166b7 Revert more changes since 6193 in hopes of fixing the scrolling bug. 2025-05-09 09:22:34 -07:00
Brent Simmons 5c379a8d3a Turn off debug logging in Downloader. 2025-05-07 20:21:44 -07:00
Brent Simmons 3785df268c Add short-lived cache to Downloader. 2025-05-07 20:07:15 -07:00
Brent Simmons 1c7578b8ac Refactor into local private methods. 2025-04-29 22:58:52 -07:00
Brent Simmons 2658319a91 Make Download @MainActor, and make it handle duplicate in-flight requests without making duplicate calls. 2025-04-29 13:09:10 -07:00
Brent Simmons 14861e98d6 Fix warnings in MacWebBrowser. Turn on warnings-as-errors for RSWeb. 2025-04-25 09:04:59 -07:00
Brent Simmons 91b3110cd5 Delete no-longer-needed Unicode support for URLs. 2025-04-24 16:21:16 -07:00