Commit Graph
107 Commits
Author SHA1 Message Date
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 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 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
Brent Simmons d0d7d0c823 Fix various SwiftLint warnings. 2026-01-02 15:13:44 -08:00
Brent Simmons 9180ec3ecd Fix various SwiftLint warnings. 2026-01-02 15:05:23 -08:00
Brent Simmons e45490fb1e Fix various SwiftLint warnings. 2026-01-02 11:57:55 -08:00
Brent Simmons fb1b901efe Fix various SwiftLint warnings. 2026-01-02 11:42:12 -08:00
Brent Simmons e96b92a4c3 Fix various SwiftLint warnings. 2026-01-02 10:45:46 -08:00
Brent Simmons 36956c0345 Fix various SwiftLint warnings. 2026-01-02 10:17:41 -08:00
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons 609838236b Fix various SwiftLint warnings. 2026-01-01 17:06:13 -08:00
Brent Simmons c4fe05617e Move some things to RSCore. 2025-11-19 19:33:12 -08:00
Brent Simmons 5aba2c92c2 Move some things to RSCore. 2025-11-19 19:12:58 -08:00
Brent Simmons e7ea5eb5e6 Move some things to RSCore. 2025-11-19 19:04:35 -08:00
Brent Simmons 6acd67daf1 Move some things to RSCore. 2025-11-19 18:50:03 -08:00
Brent Simmons 68941c3c95 Move to RSCore. 2025-11-19 16:27:06 -08:00
Brent Simmons b296bbd053 Move things to RSCore that belong there. 2025-11-19 16:22:26 -08:00
Brent Simmons f5822c4766 Regularize file names in RSCore. 2025-11-19 16:11:36 -08:00
Brent Simmons be249255c0 Move files from Shared to top level. 2025-11-19 16:07:13 -08:00
Brent Simmons 80f21696dc Rename to +RSCore.swift. 2025-11-19 16:06:20 -08:00
Brent Simmons 22c123daa9 Move to RSCore module. 2025-11-19 16:05:08 -08:00
Brent Simmons 8a3b4e393a Move CGImage extension to RSCore. 2025-11-19 15:27:42 -08:00
Brent Simmons ddaafac4eb Fix return value. 2025-11-18 19:58:19 -08:00