Commit Graph

8570 Commits

Author SHA1 Message Date
Brent Simmons cc6445bc73 Create and use HTMLMetadataDownloader.cachedMetadata function. 2024-10-15 20:39:24 -07:00
Brent Simmons 8b230e48c0 Set debugLoggingEnabled to false. 2024-10-15 18:26:29 -07:00
Brent Simmons b23f82e177 Create debugLoggingEnabled property, default false. 2024-10-15 18:26:16 -07:00
Brent Simmons 7b3889bdf5 Pick up the home page link from an Atom feed when it’s not specified as rel="alternate" — when it’s just an href. (Now we can get the favicon and feed icon properly for Allen Pike’s feed.) 2024-10-15 18:14:06 -07:00
Brent Simmons a28765abc8 Clarify wording. 2024-10-14 23:06:43 -07:00
Brent Simmons b8218c0b87 Remove unused delegates. 2024-10-14 23:01:24 -07:00
Brent Simmons dcc19c1be0 Remove no-longer-needed downloadMetadata delegate method. 2024-10-14 22:56:26 -07:00
Brent Simmons 25e68fbfe2 Move RSImage-AppIcons to Images module. 2024-10-14 22:56:00 -07:00
Brent Simmons f3f31448cc Reference HTMLMetadataDownloader.downloadMetadata directly now that it’s in the same module. 2024-10-14 22:51:04 -07:00
Brent Simmons c65eb3b000 Use HTMLMetadataCache. 2024-10-14 22:47:16 -07:00
Brent Simmons f7e23a9e69 Move HTMLMetadataDownloader to Images module, since that’s where it’s used. 2024-10-14 22:34:45 -07:00
Brent Simmons a0b4fedd76 Add HTMLMetadataCache. 2024-10-14 22:32:48 -07:00
Brent Simmons 779d24ee22 Skip downloading favicons for a home page if it’s already in progress. 2024-10-14 22:32:39 -07:00
Brent Simmons 69b30f5012 Delete unused function. 2024-10-14 22:06:26 -07:00
Brent Simmons d7ac3f943c Add logging to HTMLMetadataDownloader. Make it not @MainActor, since it doesn’t need to be. 2024-10-14 21:29:25 -07:00
Brent Simmons ec1a579c6a Mark HTMLMetadata as Sendable. 2024-10-14 20:58:06 -07:00
Brent Simmons ce2a45503b Adopt updated DownloadWithCacheManager. 2024-10-14 20:56:53 -07:00
Brent Simmons a047a82686 Delete unused FeaturedImageDownloader. 2024-10-14 20:49:48 -07:00
Brent Simmons d1ff1d4569 Mark objects as Sendable. 2024-10-14 20:49:37 -07:00
Brent Simmons 487cf17ad0 Add Core dependency to Web. 2024-10-14 20:49:16 -07:00
Brent Simmons 7e32d99d78 Make Cache generic. 2024-10-14 20:49:07 -07:00
Brent Simmons fbb8c4ba38 Add reusable Cache to Core module. 2024-10-14 20:48:54 -07:00
Brent Simmons 733d4161a5 Merge pull request #4378 from mtrolley/topic/add-protocol-to-freshrss-url
Add protocol to FreshRSS example URLs
2024-10-14 17:13:32 -07:00
Mark Trolley 49f17c33fb Add protocol to FreshRSS example URLs
As a new user it's not obvious that the FreshRSS API URL needs to
include the protocol since the example URL does not have it. Add the
protocol to the example URL to clarify that.
2024-10-14 20:00:40 -04:00
Brent Simmons 91b838aae0 Rename cleanPrefsAndData to cleanPrefsAndData-Debug and make it so it only deletes the debug data (now that the debug version has a separate app ID). 2024-10-06 21:10:34 -07:00
Brent Simmons b9a38584d2 Fix bug in the new parser where it was skipping RSS pubDate elements. Add a test for this. 2024-10-06 21:09:55 -07:00
Brent Simmons c8f063ccc5 Add .debug to app bundle ID for Mac debug version. 2024-10-06 20:53:42 -07:00
Brent Simmons b82ae8f72c Delete MAS xcconfig files. 2024-10-05 09:38:09 -07:00
Brent Simmons 3ef91e7605 Update copyright year to 2024. 2024-10-05 09:31:04 -07:00
Brent Simmons 33d1ff3804 Mark PreferencesWindowController as final. 2024-10-01 13:44:13 -07:00
Brent Simmons 8d5bd91c74 Continue converting AppAssets to AppAsset. 2024-10-01 13:43:38 -07:00
Brent Simmons f756b8f4ef Resolve duplicate implementation console warning about ReaderAPI. 2024-09-30 22:56:57 -07:00
Brent Simmons e7f50ba84f Fix console warnings about duplicate implementations. 2024-09-30 22:42:08 -07:00
Brent Simmons 6fbf8207ff Continue convert AppAssets to AppAsset. 2024-09-30 22:32:43 -07:00
Brent Simmons 2ae6eaba9f Flatten AppAsset — the inner structs were too cute. 2024-09-30 22:16:54 -07:00
Brent Simmons c88dc18644 Make iOS AppDelegate final. 2024-09-29 21:58:39 -07:00
Brent Simmons 1722b23101 Remove .dynamic setting from several modules. Let SPM do what it thinks is best. 2024-09-29 21:57:37 -07:00
Brent Simmons ddcbbf86fd Get rid of Mac App Store targets. I’m just never going to do a MAS build. 2024-09-29 21:42:36 -07:00
Brent Simmons ff1df8b8de Convince Xcode to stop suggesting upgraded settings. 2024-09-29 21:31:40 -07:00
Brent Simmons 7551221fa6 Remove no-longer-needed ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES setting. 2024-09-29 21:27:16 -07:00
Brent Simmons 2c2ffd8206 Turn on BUILD_INDEPENDENT_TARGETS_IN_PARALLEL. 2024-09-29 21:20:19 -07:00
Brent Simmons 2c719714ab Rename Embed App Extensions to Embed Foundation Extensions per Xcode recommendation. 2024-09-29 21:06:37 -07:00
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