Commit Graph
36 Commits
Author SHA1 Message Date
Brent Simmons d1eaf76763 Fix HTMLScanner to allow slashes in unquoted attribute values, which fixes feed discovery bugs (among other things). 2026-08-01 18:13:19 -07:00
Brent Simmons 1d54877be2 Support Atom xml:base — resolve relative URLs. Fixes #5088. 2026-07-28 10:10:49 -07:00
Brent Simmons 3a948b7556 Decode ‍ and ‌ entities. 2026-07-04 17:16:10 -07:00
Brent Simmons 8c02fb3ba4 Fix case where a title (or other tag) doesn’t have a prefix but is inside a namespaced section (<s:variant> for instance). Fixes #4422. 2026-05-26 19:45:34 -07:00
Brent Simmons 820dd504f1 Fix SwiftLint issues. 2026-05-22 10:01:54 -07:00
Brent Simmons 3b9347ce05 Make RSParser depend on RSCore and use a single md5String implementation (in RSCore). Make Swift Testing work with RSCore. 2026-04-24 10:23:34 -07:00
Brent Simmons d6eb8df7d0 Parse Atom summary. 2026-04-24 08:56:21 -07:00
Brent Simmons dfaa1d9c6e Add performance tests for the new String.decodingHTMLEntities. 2026-04-22 09:52:40 -07:00
Brent Simmons 3d4c502101 Create and use TestHelpers.swift. 2026-04-20 12:16:02 -07:00
Brent Simmons 75c7d7da0d Organize RSParserTests so structure matches module structure. 2026-04-20 12:00:42 -07:00
Brent Simmons 82406cc823 Delete RSParserObjC. Update references. Add tests. 2026-04-20 11:50:23 -07:00
Brent Simmons 89f009ced0 Use new HTMLMetadata and HTMLLink parsers. 2026-04-20 10:58:15 -07:00
Brent Simmons 76e1c07b2f Add parser benchmarks code. 2026-04-19 20:50:53 -07:00
Brent Simmons 90099fcf0f Update tests. 2026-04-19 20:43:54 -07:00
Brent Simmons 5949478e48 Add XMLNamespaceContext and tests. 2026-04-19 14:20:59 -07:00
Brent Simmons 082e3f2975 Add XMLAttributes and tests. 2026-04-19 14:15:59 -07:00
Brent Simmons a0e3016b2e Add XMLEntities and tests. 2026-04-19 13:58:25 -07:00
Brent Simmons de6c6b5ec6 Add XMLASCII utilities and tests. 2026-04-19 11:26:11 -07:00
Brent Simmons b2fd02348c Convert as many tests as possible to Swift testing. 2026-04-19 11:02:42 -07:00
Brent Simmons c7d42fdd3c Add Swift md5String utility and tests. 2026-04-19 09:00:01 -07:00
Brent Simmons bc380ff490 Add additional date parser tests. 2026-04-19 08:49:39 -07:00
Brent Simmons b0ef44d08f Parse channel image in RSS, Atom, and RSS-in-JSON feeds. We hope that they are square these days. Fixes #5258. 2026-04-14 15:24:44 -07:00
Brent Simmons da41360cee Handle two-digit years in pubDate — assume this century. Add tests for this. Fixes #5244. 2026-04-12 11:29:12 -07:00
Brent Simmons e2a85a3119 Add fix for > 3 digits in milliseconds. 2026-01-02 20:12:00 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons e45490fb1e Fix various SwiftLint warnings. 2026-01-02 11:57:55 -08:00
Brent Simmons e96b92a4c3 Fix various SwiftLint warnings. 2026-01-02 10:45:46 -08:00
Brent Simmons ccf81a15d4 Fix various SwiftLint warnings. 2025-12-31 13:50:52 -08:00
Brent Simmons c40235ba6e Avoid setting article.link to nil. Fix #4828 2025-11-05 20:05:23 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 018627610f Add Markdown feed tests. 2025-10-29 13:50: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 ea771e9b27 Add code and tests to parse relative home page URLs in Atom feeds. 2025-10-14 11:23:37 -07:00
Brent Simmons a3ab1f00ba Add implementation and test for supporting a root author element in Atom feeds. Fix #2797. 2025-09-30 10:32:19 -07:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Brent Simmons adb6c51a96 Move modules to Modules folder. 2025-04-23 17:13:24 -07:00