Commit Graph
136 Commits
Author SHA1 Message Date
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
Brent Simmons d94f37caa4 Add Gus Mueller’s contribution — always show menu item image when menu item title is empty. 2026-01-08 20:56:22 -08:00
Brent Simmons 4248cdaf83 Move NSMenuItem+RSCore to Objective-C since method swizzling and associated objects are just better in Objective-C. Avoids false-positive concurrency warning. 2026-01-07 17:46:32 -08:00
Brent Simmons 7cba3b15f5 Disable all menu images using method swizzling in NSMenuItem+RSCore.swift. 2026-01-05 20:12:35 -08:00
Brent Simmons 5c7d688f69 Import AppKit instead of Cocoa (since Cocoa imports CoreData, which we don’t use). 2026-01-05 09:31:50 -08:00
Brent Simmons a9b4efeaab Remove most uses of forEach. (Note: not talking about SwiftUI ForEach, which is fine and good and should not be removed.) 2026-01-04 12:36:41 -08:00
Brent Simmons bc4879a4fa Use the new regularized and more flexible progress reporting system. 2026-01-04 10:53:08 -08:00
Brent Simmons 74d10b9f7c Create RSProgress and move ProgressInfo to RSCore. Delete DownloadProgress. 2026-01-04 10:52:44 -08:00
Brent Simmons 0900f1dcbe Fix various SwiftLint warnings. 2026-01-02 19:47:03 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons 2ac1502fda Fix various SwiftLint warnings. 2026-01-02 15:28:58 -08:00