Commit Graph
35 Commits
Author SHA1 Message Date
Brent Simmons fe9f674b2a Fix some CloudKit deprecations. 2025-11-02 10:21:29 -08:00
Brent Simmons 5fe265c865 Fix deprecation warning — use recordWasChangedBlock. 2025-11-02 10:21:08 -08:00
Brent Simmons ca3cf85db3 Fix deprecation warning using CKRecordZoneSubscription. 2025-11-02 10:20:54 -08:00
Brent Simmons 17725d6ab2 Clean up StripHTMLTests. 2025-10-21 10:29:43 -07:00
Brent Simmons e19beb65cd Skip tracking tag level when inside script or style content. 2025-10-21 10:14:35 -07:00
Brent Simmons c3fd92dd99 Add RSCoreTests scheme. Stop running legacy strip HTML function in tests (but leave code in place in case needed later for performance comparison testing). 2025-10-21 09:38:27 -07:00
Brent Simmons f472a5ba54 Add comment. Remove unneeded return. 2025-10-21 09:23:11 -07:00
Brent Simmons 1b7cf1d93a Revise comments. 2025-10-20 16:41:57 -07:00
Brent Simmons 768a28a732 Add a faster implementation of strippingHTML written in C. Tests show that it’s 5x to 75x faster (varies based on input) than original version. This will help scrolling a ton — stripping HTML was the biggest chunk of work when scrolling. 2025-10-20 16:27:13 -07:00
Brent Simmons 6ee09d15d9 Optimize some extremely small parts of strippingHTML. reserveCapacity for potentially a smaller count. Bind maxCharacters just once. 2025-10-20 10:31:57 -07:00
Brent Simmons 22ef2f849f Add logging to isRunningUnitTests (one log per run, not per call). 2025-10-06 10:59:07 -07:00
Brent Simmons 4e9f29d54b Add check to see if running unit tests. This will allow us to skip certain work (like syncing) when running unit tests. Also useful later for self-mocking. 2025-10-06 10:25:17 -07:00
Brent Simmons b784abbec1 Create and use pngData() method for Mac to get data from image as PNG instead of TIFF — use less memory. 2025-10-04 08:27:30 -07:00
Brent Simmons 8916c3024f Find suitable images in one pass instead of three. Add debug logging. 2025-10-03 20:01:45 -07:00
Brent Simmons 6e6177d087 Avoid a runtime console warning about invalid parameter by guarding that maxPixelSize > 0 and count of images > 0. 2025-10-03 14:35:53 -07:00
Brent Simmons 21eab80e0f Replace os_log with Logger. 2025-10-02 21:46:16 -07:00
Brent Simmons b6c6e987ef Replace OSLog with Logger. 2025-10-02 20:27:15 -07:00
Brent Simmons cd1575b07b Add RSCore scheme. 2025-10-02 20:25:48 -07:00
Brent Simmons 0a0e04441f Add shared cloudKitLogger. 2025-10-02 20:25:40 -07:00
Brent Simmons 08272c6a12 Add assertion and guard statement about empty array. 2025-10-01 09:40:42 -07:00
Brent Simmons b819fa460d Add function to write multiple URLs to the clipboard. Do some minor formatting cleanups. 2025-10-01 09:34:45 -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 9004fcb1b3 Fix a bug finding feeds in HTML pages with no body tag. Use an HTML detection function that doesn’t require a body tag to be present (since it’s optional). Fix #4521. 2025-09-14 21:55:46 -07:00
Brent Simmons cbbd2c3f4b Fix rendering bug with some favicons. Use proper scaling factor and avoid converting to TIFF. 2025-09-09 20:53:17 -07:00
Dimitris Apostolou ec21816ac1 Fix typos 2025-08-27 14:37:19 +03: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 1dcfb94125 Bring in Stuart’s fix for beehiv blogs: https://github.com/Ranchero-Software/NetNewsWire/pull/4458 2025-04-28 21:51:32 -07:00
Brent Simmons 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Brent Simmons 8742114015 Fix warnings in UserApp.swift. 2025-04-25 09:12:38 -07:00
Brent Simmons a91fb73c76 Fix warning in RSAppMovementMonitor.swift. 2025-04-25 09:09:38 -07:00
Brent Simmons 7d801713a6 Fix two minor, non-code-affecting warnings in CloudKitZone. 2025-04-25 09:06:04 -07:00
Brent Simmons c43776ae36 Fix several warnings. 2025-04-25 08:55:50 -07:00
Brent Simmons 46d7ce5ca7 Delete unused ManagedResourceFile.swift. 2025-04-24 16:26:38 -07:00
Brent Simmons adb6c51a96 Move modules to Modules folder. 2025-04-23 17:13:24 -07:00