Commit Graph
211 Commits
Author SHA1 Message Date
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 85f31d0265 Suppress the permissions dialog on every launch of the debug app by not accessing the app group container. Document the define so that people know to disable to debug extensions. 2026-01-05 12:05:35 -08:00
Brent Simmons 70ba8a1659 Observe unread count change on AccountManager.shared rather than on everything. 2026-01-05 09:49:43 -08:00
Brent Simmons 0408cc4d1f Remove a couple instances of force unwrapping. 2026-01-04 17:58:15 -08:00
Brent Simmons 518d9246e6 Fix build issue in non-DEBUG build. 2026-01-02 20:28:38 -08:00
Brent Simmons 609838236b Fix various SwiftLint warnings. 2026-01-01 17:06:13 -08:00
Brent Simmons f324f05986 Replace Slack references with Discourse. 2025-12-31 09:59:53 -08:00
Brent Simmons 1a03a0073a Remove some force-unwrapping instances. 2025-12-30 22:20:11 -08:00
Brent Simmons b577034ece Do various code cleanups. 2025-11-18 20:41:15 -08:00
Brent Simmons bdb322f7fc Do various code cleanups. 2025-11-18 20:31:25 -08:00
Brent Simmons 833d06c076 Fix various concurrency issues. 2025-11-18 20:22:48 -08:00
Brent Simmons 563d1febbc Fix various concurrency issues. 2025-11-18 16:39:51 -08:00
Brent Simmons d4dc837d9f Fix various concurrency issues. 2025-11-18 16:01:37 -08:00
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 b90a308e9d Do various code cleanups. 2025-11-17 20:16:41 -08:00
Brent Simmons 24a2e68fb5 Convert to async/await 2025-11-16 19:59:48 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -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 dbef575b25 Finish converting SyncDatabase to actor. 2025-11-06 16:47:52 -08:00
Brent Simmons f38671788a Continue async/await conversion. 2025-11-05 13:15:36 -08:00
Brent Simmons 33a21ea482 Make AccountManager a singleton. 2025-11-05 11:37:16 -08:00
Brent Simmons 5915faa18d Replace Reachability with modern NWPathMonitor. 2025-11-04 21:30:13 -08:00
Brent Simmons ac20f93cef Fix syncTimer references. 2025-11-04 13:43:45 -08:00
Brent Simmons 7e7ce16610 Make preferencesWindowController a lazy var. 2025-11-04 09:36:49 -08:00
Brent Simmons e7992cb27f Clean up some code in AppDelegate (Mac). 2025-11-03 22:01:13 -08:00
Brent Simmons f1e32c5d2e Make ArticleStatusSyncTimer a singleton. 2025-11-03 21:32:24 -08:00
Brent Simmons 85d533ec6d Make ExtensionFeedAddRequestFile a singleton and give it a start method. 2025-11-03 21:15:50 -08:00
Brent Simmons 28dbf983c6 Make ExtensionContainersFile a singleton; give it a start() method. 2025-11-03 21:02:12 -08:00
Brent Simmons f1bd7e2264 Make UserNotificationManager a singleton. Clean up some code. 2025-11-03 20:50:02 -08:00
Brent Simmons 9991df2077 Rename some instances of webfeed as feed. 2025-11-03 09:12:49 -08:00
Brent Simmons 108788ef25 Remove unused AddFeedWindowControllerType. 2025-11-03 09:02:30 -08:00
Brent Simmons e191c04d51 Rename some instances of webfeed as feed. 2025-11-03 08:55:25 -08:00
Brent Simmons b29b2bcbc6 Rename WebFeed class to Feed. 2025-11-02 14:51:46 -08:00
Brent Simmons 9eb0907b2f Make FaviconDownloader a singleton. 2025-11-02 10:18:20 -08:00
Brent Simmons bb8a7633d6 Remove references to MAC_APP_STORE. 2025-11-01 22:27:39 -07:00
Brent Simmons 5e39b569a7 Merged main to branch. 2025-11-01 15:53:33 -07:00
Brent Simmons 2aa2756c05 Import os (for Logger). 2025-10-01 16:26:00 -07:00
Brent Simmons 364cbf2409 Improve user-notification handling code. 2025-10-01 16:24:27 -07:00
Brent Simmons 0931c854aa Switch from os_log to Logger. 2025-10-01 11:59:42 -07:00
Brent Simmons 67f43f4bf5 Move Open Application Support Folder from Debug menu to Help menu. Fix #4800. 2025-09-29 14:58:54 -07:00
Brent Simmons f7dfac3e6a Create and use shared HelpURL for various help URLs. 2025-09-29 13:50:01 -07:00
Brent Simmons 23ca312cf1 Add showiCloudDriveMissingAlert to Debug menu, for manual testing. 2025-09-22 18:11:19 -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
Stuart Breckenridge 4ec89de977 Merge branch 'main' into experimental/modern-sidebars 2025-08-14 19:57:00 +08:00
Maurice Parker 17860b72f5 Change Mac state preservation to be NSSecureCoding compliant 2025-08-13 14:24:29 -05:00
Stuart Breckenridge 04f659f704 💄 Liquid Glass Redesign for NetNewsWire
💄 Add `MainFeedCollectionViewController`

💄 Add and hook up UICollectionView in Storyboard

🚧 Collection view loads temp cells

🚧 UICollectionView

- Adds capsule shape for iPad selection
- Add filter button, newItem button, settings button
- Configures the collection view based on platform
- implementsDidSelectItem at
- Clears cell background on iPad
- Adds cell textColor for iPad
- Storyboard changes

🚧 Adds unread count and favicon support

🚧 Smartfeed icons now display

🚧 iPhone cells are consistent in light/dark mode

💄 Sidebar modernised

Known bug: Sidebar text doesn’t adapt to dark/light mode changes on iPad

💄 Modern Sidebars

Fixes some accessibilty issues and adds swipe actions.

🩹 Become firstResponder

🩹 Workaround #4691

💡 Remove print statement

💄 Fixes to storyboard

- adjusts constraints on timeline header view
- launch screens now adopt look of liquid glass

Restore coordinator behaviour

⚡️ Tweaks to MainFeedCollectionViewController

- On iPhone, returning to the feeds view deselect the current feed with an animation.
- On iPhone, prefers large titles defaults to `false`
- Capsule background with smaller corner radius for iPhone added for selected status.

🩹 Fixes folder height

💄 Fix unread count vertical alignment

💄 Restores header & use UICellConfigurationState

💄 Sidebar tweaks

💄 Folders now highlight on as drop target

💄 Sidebar fixes

- Moves more code to cell configuation state
- Allows sidebar to move to larger sizes

🩹 Fixes #4694  folder expansion using keyboard

💄 Adds new cell types for the Timeline

♻️ Remove dead code and re-orders to viewWillApp

🩹 Reordering of code from viewWA to viewDA

💄 Removes unused code, tweaks layout

💄 Multiple tweaks to sidebar and timeline

💄 Add missing constraint

♿️ Puts timeline metadata in a stackview

🎨 Adds stackview function

💄 🚑️ Moves to modern UISliders

Timeline customiser now uses modern UISliders as they have tickmark functionality.

`TickMarkSlider` marked as deprecated.

💄 Make All Unread cell icon tint correctly

💄 Extend edges under opaque bars on timeline

💄 Image View Controller uses modern button style

🚚 Renames `MainTimelinePseudoFeedCell`

💄 Improve feed selection animations

🩹 Use shouldSelectItem to handle selection logic

🩹 Fix fill settings for stack view

💄 Comment out usage of MainTimelineTitleView

🔧 Remove iOS cells from macOS target

💄 Give columns some flexibility

💄 Fix chevron size and alignment

💄 Don’t prefer large navigation bar titles

They create a delay in animation on iPhone.

🩹 Fixes nav bar subtitle performance

🎨 Minor refactor

- Switch logic in cell state
- Prefer traitCollection.userInterfaceIdiom

➕ Add updated mac code for the About view

💄 NSGlassVisualEffectView for About
2025-07-23 21:58:47 +08:00
Stuart Breckenridge cabaa32be5 🔥 Removes unused #available checks 2025-06-20 19:48:15 +08:00