Commit Graph
57 Commits
Author SHA1 Message Date
Brent Simmons 3c24f9139a Fix various concurrency issues. 2025-11-18 14:33:24 -08:00
Brent Simmons 8f57f914dd Fix various concurrency issues. 2025-11-18 13:25:47 -08:00
Brent Simmons 653789b913 Use Swift 6.2 with the app. Fix some concurrency issues. 2025-11-18 10:00:50 -08:00
Brent Simmons 4fa0b65d98 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:53:40 -08:00
Brent Simmons 4fd16aadc9 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:20:48 -08:00
Brent Simmons 6f3886112b Fix concurrency issues. 2025-11-17 17:23:39 -08:00
Brent Simmons 315ed56b6b Fix Swift 6 concurrency issues. 2025-11-17 10:24:15 -08:00
Brent Simmons 57da6ed63c Convert ArticlesDatabase to approachable concurrency. 2025-11-15 10:13:30 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -08:00
Brent Simmons 5db095568b Deal with the upgrade-to-latest dealybob. 2025-11-13 10:06:59 -08:00
Brent Simmons 8bbd9c08d3 Convert RSCoreResources to approachable concurrency. 2025-11-13 10:06:46 -08:00
Brent Simmons 482f17adb2 Delete some unused code. 2025-11-13 09:58:03 -08:00
Brent Simmons f87fb81b7d Make MacroProcessor nonisolated and Sendable. 2025-11-12 10:20:07 -08:00
Brent Simmons 78ebf4e698 Make CoalescingQueue nonisolated and Sendable. 2025-11-12 10:18:24 -08:00
Brent Simmons 67a9058eef Make BinaryDiskCache nonisolated and Sendable. 2025-11-12 10:02:03 -08:00
Brent Simmons 1145ee270e Remove String.init(tabCount). 2025-11-11 21:17:28 -08:00
Brent Simmons b2875736b3 Simplify MainThreadOperation and MainThreadOperationQueue. Make MainThreadOperation a class instead of a protocol. (The extremely rare case where subclasses are a good idea.) 2025-11-11 19:09:33 -08:00
Brent Simmons 143e5e1da8 Use Swift 6.2 tools and Swift 6 language mode with RSTree. Deal with fallout. 2025-11-10 11:26:10 -08:00
Brent Simmons e801d11d81 Simplify Secrets — get rid of the protocol. 2025-11-10 11:04:49 -08:00
Brent Simmons 02bddb792d Convert to async/await. 2025-11-10 08:53:54 -08:00
Brent Simmons b1d4a8ac6f Mark as Sendable. 2025-11-09 11:49:29 -08:00
Brent Simmons 3d8b0915db Add category method to post notification on main thread. 2025-11-09 11:49:20 -08:00
Brent Simmons 768bb997bc Fix deprecation warning. 2025-11-09 10:55:03 -08:00
Brent Simmons be9fa6d1e0 Move CloudKit code from RSCore to new CloudKitSync module. 2025-11-06 17:01:57 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
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 e19beb65cd Skip tracking tag level when inside script or style content. 2025-10-21 10:14:35 -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 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