Commit Graph
562 Commits
Author SHA1 Message Date
Brent Simmons 5cd96be5c8 Delete no-longer-needed RSParsedFeedTransformer. 2026-04-19 20:44:45 -07:00
Brent Simmons 22480c9565 Add Swift RSS and Atom parsers. 2026-04-19 20:44:33 -07:00
Brent Simmons 96cca9621b Add OPMLParser. 2026-04-19 20:44:07 -07:00
Brent Simmons 90099fcf0f Update tests. 2026-04-19 20:43:54 -07:00
Brent Simmons e36ac80ee2 Add public annotation. 2026-04-19 20:43:47 -07:00
Brent Simmons 4f68e70813 Add XMLSAXParser. 2026-04-19 20:43:30 -07:00
Brent Simmons c1caa72e4a Add XMLSAXParserDelegate. 2026-04-19 20:32:37 -07:00
Brent Simmons 4888fbe26d Add XMLScanner. 2026-04-19 20:26:43 -07:00
Brent Simmons 5949478e48 Add XMLNamespaceContext and tests. 2026-04-19 14:20:59 -07:00
Brent Simmons e8fbf8663a Add XMLNamespace. 2026-04-19 14:16:12 -07:00
Brent Simmons 082e3f2975 Add XMLAttributes and tests. 2026-04-19 14:15:59 -07:00
Brent Simmons 5d46a356ef Shorten top comment. 2026-04-19 14:15:23 -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 cd6e990b31 Encode feed as UTF8 before passing to parser. 2026-04-19 11:05:57 -07:00
Brent Simmons b2fd02348c Convert as many tests as possible to Swift testing. 2026-04-19 11:02:42 -07:00
Brent Simmons 160ef5bcf3 Use new DateParser. 2026-04-19 09:00:51 -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 8a029280c2 Speed up DateParser. Now about 50x faster than old C version. 2026-04-18 22:27:17 -07:00
Brent Simmons 51b43115a8 Port RSDateParser to Swift as DateParser. 2026-04-18 22:05:24 -07:00
Brent Simmons 35877cb18c Switch to Swift Markdown parser/renderer. 2026-04-18 12:37:07 -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 5adf4d26e9 Avoid bug in CGImageSourceCreateImageAtIndex with indexed-color (4-bit palette) ICO files — always use CGImageSourceCreateThumbnailAtIndex. Fixes #5237. 2026-04-13 11:06:33 -07:00
Brent Simmons 592a962f30 Use a real URL when asking the system for the default browser. Fixes #5220. 2026-04-12 15:21:06 -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 cdefbbf7e2 Call postSyncError like all the other account delegates. 2026-03-31 20:53:11 -07:00
Brent Simmons 0c2808e607 Post error notifications close to where they happen, which gives us more detail about what went wrong. 2026-03-31 18:36:23 -07:00
Brent Simmons b8cd5f564c Report more detailed error messages — create and use AccountError.detailedErrorMessage. 2026-03-31 18:06:05 -07:00
Brent Simmons da58db3931 Add more specific error messages. 2026-03-31 18:05:04 -07:00
Brent Simmons 4c45c5ff7e Allow Xcode to do its housekeeping upon new version of Xcode. 2026-03-30 17:36:49 -07:00
Brent Simmons 93832592f3 Simplify image scaling. Scale to max size on download, then store in memory and on disk at scaled size rather than original size. Saves memory. 2026-03-30 17:34:35 -07:00
Brent Simmons b19d5b4544 Scale down images when necessary before caching on disk and in memory. 2026-03-30 16:58:03 -07:00
Brent Simmons 4a2c62cc6c Make app run on iOS 17 and up. 2026-03-29 21:31:02 -07:00
Brent Simmons 8faf1490c6 Create and use Platform.deviceHasiCloudAccount. Check it before syncing things in the key-value storage. 2026-03-29 20:23:59 -07:00
Brent Simmons 106dac128f Skip caching 4xx responses for YouTube URLs, which have stared returning 4xx responses seemingly at random. This way the app will keep trying those feeds, so people get their videos. 2026-03-29 15:08:18 -07:00
Brent Simmons 05f25e151a Add special case support for YouTube URLs. 2026-03-29 15:07:15 -07:00
Brent Simmons 3180372a57 Skip NSUbiquitousKeyValueStore things when running unit tests. 2026-03-29 14:34:28 -07:00
Brent Simmons d26cfd00c2 Fix concurrency issue. Make sure we’re on the main thread. 2026-03-29 14:27:14 -07:00
Brent Simmons 75269925f7 Make iCloud syncing incremental — save progress after each page so it doesn’t have to start over if interrupted. 2026-03-29 11:31:45 -07:00
Brent Simmons 66f168db7f Sync the setting for syncing unread content. 2026-03-29 10:30:14 -07:00
Brent Simmons 4dc13f3439 Update package. 2026-03-26 11:11:26 -07:00
Brent Simmons b080e5ec54 Make test data numbers match. 2026-03-26 09:39:21 -07:00
Brent Simmons 64dd6c9643 Remove references to orphaned content records and don’t check for orphans. They will get deleted in the normal course of cleanup as not-starred content. 2026-03-25 22:06:37 -07:00
Brent Simmons 4a40cef2a6 Add deleteStaleRecords parameter — delete only if true. Right never it’s never true. We’ll get back to this. 2026-03-25 21:24:49 -07:00
Brent Simmons ca041ca717 Remove mentions of stale statuses from the UI. 2026-03-25 21:22:03 -07:00
Brent Simmons d91a6c1113 Mark articles as read if they’re newly-seen but have a pub date > 6 months ago. (For the iCloud and local accounts.) 2026-03-25 21:00:02 -07:00
Brent Simmons 4d34947152 Get the error description from the underlying error. 2026-03-25 11:40:34 -07:00
Brent Simmons 2d720c86f4 Use better test data. 2026-03-25 11:39:59 -07:00
Brent Simmons 0db898a053 Change definition of stale status record to not check for article in local database. It’s stale if created six months or more ago and is not starred, period. 2026-03-25 11:39:06 -07:00