Commit Graph
146 Commits
Author SHA1 Message Date
Brent Simmons d44b3b9213 Fix bug stripping HTML with angle bracket characters in literals. Fixes #5339. 2026-07-04 10:47:47 -07:00
Brent Simmons 5aa0dd386e Fix bug with transparent pixels — which should be ignored instead of counted as black. 2026-06-26 21:10:38 -07:00
Brent Simmons 089b73ebc2 Add tests for calculateLuminanceType. 2026-06-26 21:09:10 -07:00
Brent Simmons 4479322913 Switch both text-field sizers from fittingSize to cellSize for faster timeline text measurement. Add tests. 2026-06-21 17:17:15 -07:00
Brent Simmons 0d36fb311b Use dynamic RSColor (NS/UI Color) instead of CGColor, which allows one-time evaluation of smart-feed icons. 2026-06-21 16:06:09 -07:00
Brent Simmons 040baa7f3e Move image luminance calculation to background queue as much as possible. 2026-06-21 12:28:33 -07:00
Brent Simmons 6778fc79eb Delete no-longer-used InteractiveLabel. 2026-06-16 21:28:24 -07:00
Brent Simmons 405a4853c8 Move SafariView to RSCore — get rid of duplicated code. 2026-06-10 12:28:41 -07:00
Brent Simmons fb05b944cf Regularize comments for localized strings so the Localizable.xcstrings file doesn't change just because we switched targets. 2026-06-06 14:43:31 -07:00
Brent Simmons 62ea1f32d3 Add a common date formatter for log messages. 2026-06-06 13:11:41 -07:00
Brent Simmons d3a071804e Add common comparison functions. 2026-06-04 10:04:28 -07:00
Brent Simmons 7746223915 Rename setFrame(ifNotEqualTo rect: NSRect) to setFrameIfNotEqual(_ rect: NSRect) (matches UIView version). 2026-06-02 08:40:49 -07:00
Brent Simmons 9fdce8612d Create NSTableView subclass that stops drawing alternating background colors at the end of the content rows. 2026-06-01 20:57:25 -07:00
Brent Simmons 5fbbf676c0 Make RSProgress understand that the initial number of tasks is an estimate. Make it forgiving and self-healing so that its numbers are never inconsistent. 2026-05-30 10:34:35 -07:00
Brent Simmons 6fdda05ec3 Report per-database duration when vacuuming. 2026-05-29 16:51:35 -07:00
Brent Simmons 820dd504f1 Fix SwiftLint issues. 2026-05-22 10:01:54 -07:00
Brent Simmons fdf8325b55 Use CryptoKit instead of CommonCrypto with SHA1. Add tests. 2026-04-24 10:34:34 -07:00
Brent Simmons 3b9347ce05 Make RSParser depend on RSCore and use a single md5String implementation (in RSCore). Make Swift Testing work with RSCore. 2026-04-24 10:23:34 -07:00
Brent Simmons a3296249f1 Remove unneeded comment. 2026-04-23 08:23:57 -07:00
Brent Simmons 24311778a7 Make String.collapsingWhiteSpace much faster. Add tests. 2026-04-21 21:01:31 -07:00
Brent Simmons 6fa553132b Remove some metadata that shouldn’t be checked in. 2026-04-21 17:28:23 -07:00
Brent Simmons 86ddbe54e2 Use Swift 6 language mode for RSCore tests. 2026-04-21 08:56:42 -07:00
Brent Simmons eafa6a808a Add additional strip-html tests. Move performance tests to a separate file. 2026-04-21 08:53:30 -07:00
Brent Simmons d318ec9e12 Port striphtml from C to Swift. 2026-04-21 08:23:24 -07:00
Brent Simmons 5aacdab85e Remove comment. 2026-04-20 13:20:04 -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 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 28bb8f7a25 Use import os rather than import os.log. 2026-03-23 11:23:15 -07:00
Brent Simmons 140c2e9aa4 Allow Xcode to do its housekeeping. 2026-03-22 20:13:13 -07:00
Brent Simmons 9cc400c3ec Handle renaming of function. 2026-03-14 21:52:20 -07:00
Brent Simmons 52622366c9 Create AppNotification struct. 2026-03-14 21:51:46 -07:00
Brent Simmons 16ac60ba41 Rename Notifications.swift to AppNotifications.swift. 2026-03-14 21:47:52 -07:00
Brent Simmons 7ca14f883e Fix a potential crash in Platform when doing unit tests. 2026-03-12 19:28:16 -07:00
Brent Simmons 9143eee0c7 Add method to post a low memory notification. 2026-03-07 16:54:15 -08:00
Brent Simmons c91fd29e44 Add Mac MemoryPressureMonitor. 2026-03-07 16:53:59 -08:00
Brent Simmons d0bf68d0e3 Add removeAll method. 2026-03-07 16:35:31 -08:00
Brent Simmons 84c042b005 Add .lowMemory notification. 2026-03-07 16:27:23 -08:00
Brent Simmons 74baa602f4 Set macOS deployment target to macOS 15 and make the app compatible. 2026-02-27 10:26:19 -08:00
Brent Simmons 4a383fff1f Ignore package.resolved in modules. 2026-02-27 10:25:48 -08:00
Brent Simmons ca266ade71 Create an extension for getting an element from an array by subscript safely — so it returns nil instead of crashing when the index is out of bounds. 2026-02-18 22:19:05 -08:00
Brent Simmons e80a44a080 Fix SwiftLint issues. 2026-01-26 10:57:29 -08:00
Stuart Breckenridge c0d35af064 🔥 Delete comments 2026-01-25 14:00:21 +08:00
Stuart Breckenridge 3aba6ce688 ✨ Timeline as CollectionView 2026-01-25 13:56:56 +08:00
Stuart Breckenridge 442b4c0219 additional collectionview work 2026-01-24 23:07:06 +08:00
Stuart Breckenridge 80c34f907a Init commit with cell and collection code 2026-01-24 10:50:13 +08:00
Brent Simmons 874731db61 Check if a menu item’s parent is the app’s main menu — if not, show the image. This allows images to be shown in submenus such as Move & Resize and Full Screen Title in the green traffic light menu. (Images are good things in these menus.) 2026-01-19 14:17:52 -08:00