Commit Graph

8528 Commits

Author SHA1 Message Date
Brent Simmons
4c5039326b Fix iOS build errors. 2024-09-29 21:03:24 -07:00
Brent Simmons
b1645e17ae Add DEAD_CODE_STRIPPING. 2024-09-29 20:52:43 -07:00
Brent Simmons
ec9afefd20 Use completion-based evaluateJavaScript call to avoid Apple crashing bug. Fix #4350. 2024-09-29 20:28:18 -07:00
Brent Simmons
884664834e Remove Roadmap link (since there’s no Roadmap file — we use GitHub milestones instead). 2024-09-29 12:24:25 -07:00
Brent Simmons
6797766352 Change assertionFailure to log. (It’s not really an error — it’s just a thing that can happen.) 2024-09-29 11:56:44 -07:00
Brent Simmons
3b17e77358 Speed up strippingHTML dramatically by calling reserveCharacters with maxCharacters when possible, which is generally much less than the count of preflight characters. 2024-09-29 10:53:56 -07:00
Brent Simmons
75e525380b Make Article a class, which boosts performance by not having to init/destroy Article all time. 2024-09-29 10:36:34 -07:00
Brent Simmons
7689326d56 Embed AppKitExtras. 2024-09-28 23:04:33 -07:00
Brent Simmons
2cb12be252 Remove NetNewsWireTests from testplan. 2024-09-28 22:51:18 -07:00
Brent Simmons
a3d63b001b Add additional tests to testplan. 2024-09-28 22:48:11 -07:00
Brent Simmons
c6590786ca Add FoundationExtrasTests to testplan. 2024-09-28 22:25:55 -07:00
Brent Simmons
f4449e198e Fix error in EntityDecodingTests. 2024-09-28 22:25:35 -07:00
Brent Simmons
3e9f6fbfab Add ParserTests to testplan. 2024-09-28 22:24:12 -07:00
Brent Simmons
01cad9b687 Make decodedString return non-optional. 2024-09-28 22:23:54 -07:00
Brent Simmons
ed160986f5 Rewrite HTMLEntityDecoder so that it’s fast. 2024-09-28 22:14:51 -07:00
Brent Simmons
be7dd28b6f Add performance test for HTMLEntityDecoder. 2024-09-26 19:52:51 -07:00
Brent Simmons
ce73d38037 Add missing dependency. 2024-09-26 19:34:23 -07:00
Brent Simmons
01e7a66b78 Merge branch 'SwiftParser' 2024-09-24 22:33:28 -07:00
Brent Simmons
4b5694fe74 Fix build errors. 2024-09-24 22:31:21 -07:00
Brent Simmons
591e451b69 Simplify Parser — use one target instead of multiple. 2024-09-24 14:45:53 -07:00
Brent Simmons
c48e72c3b2 Get Feedly building. 2024-09-23 22:21:19 -07:00
Brent Simmons
c0dd6aac0d Get NewsBlur building. 2024-09-23 22:19:21 -07:00
Brent Simmons
fee2b3af90 Get LocalAccount module building with new Parser module. 2024-09-23 22:15:37 -07:00
Brent Simmons
cdd95843e8 Remove ParserData from FeedParser API, so clients won’t need to import SAX. 2024-09-23 22:13:26 -07:00
Brent Simmons
e752363a60 Remove ParserObjC and references to it. 2024-09-23 21:42:40 -07:00
Brent Simmons
2fa07611bf Mark test classes as final, because they are. 2024-09-23 21:39:00 -07:00
Brent Simmons
986dbd679c Uncomment and revise code in HTMLMetadataTests. 2024-09-23 21:38:44 -07:00
Brent Simmons
3bc02a78a3 Get HTMLMetadataParser working. 2024-09-23 21:38:23 -07:00
Brent Simmons
21848049f6 Use StringDictionary typealias. 2024-09-23 21:38:07 -07:00
Brent Simmons
5eb2c524e6 Use StringDictionary typealias. Delete unused ParserTests.swift. 2024-09-23 21:37:54 -07:00
Brent Simmons
1f8b296a9c Use new StringDictionary name. 2024-09-23 21:13:55 -07:00
Brent Simmons
a39130ff77 Add StringDictionary typealias. It’s such a common type — it should have a consistent name. 2024-09-23 21:11:23 -07:00
Brent Simmons
cbc2790121 Start HTMLMetadataParser. 2024-09-22 22:26:55 -07:00
Brent Simmons
1173486179 Fix errors in HTMLMetadata. 2024-09-22 22:13:06 -07:00
Brent Simmons
3e6e843dc8 Create first draft of HTMLMetadata. 2024-09-22 21:40:52 -07:00
Brent Simmons
a2fc8b5dec Consolidate tests to a single ParserTests target. 2024-09-22 11:41:08 -07:00
Brent Simmons
c348ec41b6 Make HTMLLinkTests pass. 2024-09-22 11:33:37 -07:00
Brent Simmons
a7c4669bd6 Create HTMLParserTests. 2024-09-21 22:10:47 -07:00
Brent Simmons
20b222f455 Create first draft of HTLMLinkParser. 2024-09-21 21:49:57 -07:00
Brent Simmons
3c4a278b42 Create HTMLParser module. 2024-09-21 12:16:09 -07:00
Brent Simmons
6959e1f891 Fix build errors. 2024-09-21 12:01:17 -07:00
Brent Simmons
ce39624a39 Create first draft of SAXHTMLParser. 2024-09-21 11:47:07 -07:00
Brent Simmons
ecfe504d9d Make RSS-in-JSON tests work. 2024-09-21 11:20:23 -07:00
Brent Simmons
887ef8c22e Make JSONFeedParserTests run. 2024-09-21 11:11:45 -07:00
Brent Simmons
a48615b060 Add additional EntityDecodingTests. 2024-09-16 22:07:31 -07:00
Brent Simmons
32a7480e6c Fix bug in HTMLEntityDecoder. Make tests pass. 2024-09-16 22:07:22 -07:00
Brent Simmons
88675adff2 Restore EntityDecodingTests. 2024-09-16 21:57:05 -07:00
Brent Simmons
e315820b47 Continue progress on HTMLEntityDecoder. 2024-09-16 21:56:55 -07:00
Brent Simmons
8e4e859071 Add comment to decodedEntity. 2024-09-15 21:59:07 -07:00
Brent Simmons
6779ef94dd Continue progress on HTMLEntityDecoder. 2024-09-15 21:51:48 -07:00