From 35c27e3b5fe1044f49fa6c653c01980d9d5b5801 Mon Sep 17 00:00:00 2001 From: Ethan Wong Date: Tue, 27 Oct 2026 22:57:37 +0800 Subject: [PATCH 1/9] Check for clicked row when double-clicking the timeline Fixes opening the wrong article when double-clicking the inactive window on macOS 27. (#5519) --- Mac/MainWindow/Timeline/TimelineViewController.swift | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Mac/MainWindow/Timeline/TimelineViewController.swift b/Mac/MainWindow/Timeline/TimelineViewController.swift index 27650049a..78ce03c3c 100644 --- a/Mac/MainWindow/Timeline/TimelineViewController.swift +++ b/Mac/MainWindow/Timeline/TimelineViewController.swift @@ -414,7 +414,15 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr // MARK: - Actions @objc func openArticleInBrowser(_ sender: Any?) { - if let link = oneSelectedArticle?.preferredLink { + let article: Article? + + if let tableView = sender as? NSTableView, tableView === self.tableView, let clickedArticle = articles.articleAtRow(tableView.clickedRow) { + article = clickedArticle + } else { + article = oneSelectedArticle + } + + if let link = article?.preferredLink { Browser.open(link, invertPreference: NSApp.currentEvent?.modifierFlags.contains(.shift) ?? false) } } From a516238024c6073432c7cc90fca833fa06b5cf34 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 11 Nov 2026 17:11:48 -0800 Subject: [PATCH 2/9] Bump version. --- xcconfig/common/NetNewsWire_mac_target_common.xcconfig | 2 +- xcconfig/common/NetNewsWire_version.xcconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig index ec242a57b..a45f8051a 100644 --- a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig @@ -1,7 +1,7 @@ #include "./NetNewsWire_version.xcconfig" // High Level Settings common to both the Mac application and any extensions we bundle with it -MARKETING_VERSION = 7.3b7 +MARKETING_VERSION = 7.3b8 APP_GROUP_ID = group.$(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen$(APP_GROUP_SUFFIX) diff --git a/xcconfig/common/NetNewsWire_version.xcconfig b/xcconfig/common/NetNewsWire_version.xcconfig index 4d5612376..ade11b547 100644 --- a/xcconfig/common/NetNewsWire_version.xcconfig +++ b/xcconfig/common/NetNewsWire_version.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 7234 +CURRENT_PROJECT_VERSION = 7235 From 287bea608059bdab77ddb842ff4119bf7b4940ea Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 11 Nov 2026 17:26:23 -0800 Subject: [PATCH 3/9] Update release notes and status. --- Technotes/ReleaseNotes-Mac.markdown | 9 +++++++++ Technotes/ReleaseNotes-iOS.markdown | 8 ++++++++ Technotes/Status.md | 4 ++-- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Technotes/ReleaseNotes-Mac.markdown b/Technotes/ReleaseNotes-Mac.markdown index 5d66f2ebe..c03e61ddb 100644 --- a/Technotes/ReleaseNotes-Mac.markdown +++ b/Technotes/ReleaseNotes-Mac.markdown @@ -1,5 +1,14 @@ # Mac Release Notes +### 7.3b8 7235 11 Nov 2026 - branch: main tag: mac-7.3b8 + +Added Gray theme — inspired by newsprint design but not meant to be a literal copy +Added Plum theme — uses the same layout as the Gray theme but with color +Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature +Fixed a crash in the timeline (too many layout passes) caused by row-height measurement mixing up same articles from different accounts +Fixed bug where deleting a feed could remove the wrong row (usually the next row) from the sidebar +Fixed bug where restoring with no article selected, then clicking an article, would auto-scroll the article view + ### 7.3b7 7234 9 Nov 2026 - branch: main tag: mac-7.3b7 Make image cache eviction less aggressive, which should fix a loop where images get evicted, re-cached, evicted, re-cached, etc. (See this Discourse forum post .) diff --git a/Technotes/ReleaseNotes-iOS.markdown b/Technotes/ReleaseNotes-iOS.markdown index 4fd61f82d..171ce1632 100644 --- a/Technotes/ReleaseNotes-iOS.markdown +++ b/Technotes/ReleaseNotes-iOS.markdown @@ -1,5 +1,13 @@ # iOS Release Notes +### 7.3 build 7235 11 Nov 2026 - branch: main tag: iOS-7.3-7235 + +Added Gray theme — inspired by newsprint design but not meant to be a literal copy +Added Plum theme — uses the same layout as the Gray theme but with color +Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature +Fixed bug where folder icons weren’t grayscale when Grayscale Feed Icons is on +Added an entry to the Errors Log when a tap in the timeline is ignored + ### 7.3 build 7233 9 Nov 2026 - branch: main tag: iOS-7.3-7233 Added Show Today, Show All Unread, and Show Starred settings, to hide smart feeds diff --git a/Technotes/Status.md b/Technotes/Status.md index 520a11a2c..1125fc953 100644 --- a/Technotes/Status.md +++ b/Technotes/Status.md @@ -16,5 +16,5 @@ https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.3-7233 Mac shipping: 7.2.1 https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.2.1 -Mac beta: 7.3b7 -https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.3b7 +Mac beta: 7.3b8 +https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.3b8 From a26adfedca6da5466ea125aace22384d84ed0591 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 11 Nov 2026 20:24:00 -0800 Subject: [PATCH 4/9] Update appcasts. --- Appcasts/netnewswire-beta.xml | 17 +++++++++++++++++ Appcasts/netnewswire6-beta.xml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/Appcasts/netnewswire-beta.xml b/Appcasts/netnewswire-beta.xml index 128306774..3b4272bc4 100644 --- a/Appcasts/netnewswire-beta.xml +++ b/Appcasts/netnewswire-beta.xml @@ -6,6 +6,23 @@ Most recent NetNewsWire changes with links to updates. en + + NetNewsWire 7.3b8 + +
  • Added Gray theme — inspired by newsprint design but not meant to be a literal copy +
  • Added Plum theme — uses the same layout as the Gray theme but with color +
  • Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature +
  • Fixed a crash in the timeline (too many layout passes) caused by row-height measurement mixing up same articles from different accounts +
  • Fixed bug where deleting a feed could remove the wrong row (usually the next row) from the sidebar +
  • Fixed bug where restoring with no article selected, then clicking an article, would auto-scroll the article view + + ]]> + Wed, 11 Nov 2026 17:30:00 -0800 + + 15.0 + + NetNewsWire 7.3b7 Most recent NetNewsWire changes with links to updates. en + + NetNewsWire 7.3b8 + +
  • Added Gray theme — inspired by newsprint design but not meant to be a literal copy +
  • Added Plum theme — uses the same layout as the Gray theme but with color +
  • Added an optional grayscaleIcon key to theme Info.plist files — when true, the feed icon or author avatar in the article view is grayscale. The Gray theme uses this new feature +
  • Fixed a crash in the timeline (too many layout passes) caused by row-height measurement mixing up same articles from different accounts +
  • Fixed bug where deleting a feed could remove the wrong row (usually the next row) from the sidebar +
  • Fixed bug where restoring with no article selected, then clicking an article, would auto-scroll the article view + + ]]> + Wed, 11 Nov 2026 17:30:00 -0800 + + 15.0 + + NetNewsWire 7.3b7 Date: Wed, 11 Nov 2026 20:42:59 -0800 Subject: [PATCH 5/9] Add test to make sure an Atom xhtml title handles CDATA section properly. --- .../Feeds/XML/AtomParserTests.swift | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Modules/RSParser/Tests/RSParserTests/Feeds/XML/AtomParserTests.swift b/Modules/RSParser/Tests/RSParserTests/Feeds/XML/AtomParserTests.swift index 58df54769..b7b891240 100644 --- a/Modules/RSParser/Tests/RSParserTests/Feeds/XML/AtomParserTests.swift +++ b/Modules/RSParser/Tests/RSParserTests/Feeds/XML/AtomParserTests.swift @@ -612,6 +612,26 @@ import RSParser #expect(summary.contains("

    Hello world.

    ")) } + @Test func xhtmlTitleWithCDATA() throws { + // + let xml = """ + + + turn:t + + urn:t:1 + <![CDATA[Wheels within (mouse) wheels]]> + 2020-05-01T00:00:00Z + Body. + + + """ + let d = ParserData(url: "http://example.com/", data: Data(xml.utf8)) + let feed = try #require(try FeedParser.parse(d)) + let item = try #require(feed.items.first) + #expect(item.title == "Wheels within (mouse) wheels") + } + @Test func contentTypeDefault() throws { // No `type` attribute — RFC 4287 specifies default is "text". The // parser treats it as plain text (same path as `type="text"`). From 88c29a0f9b7f1141eff89130ea095133dc3a592b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 12 Nov 2026 07:52:43 -0800 Subject: [PATCH 6/9] Report ignored tap on timeline every time instead of once per session. Easier to debug this way. --- iOS/SceneCoordinator.swift | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 3794e6e87..336814d7a 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -95,7 +95,6 @@ struct SidebarItemNode: Hashable, Sendable { var isTimelineViewControllerPending = false var isArticleViewControllerPending = false - private var hasReportedIgnoredTap = false /// `Bool` to track whether a refresh is scheduled. private var isNavigationBarSubtitleRefreshScheduled: Bool = false @@ -1242,13 +1241,11 @@ struct SidebarItemNode: Hashable, Sendable { } /// Selecting the current article while the article view isn’t showing does nothing, which is never expected. - /// Log it once per launch to the Errors log. /// private func reportIgnoredSelection(of article: Article?) { - guard let article, !hasReportedIgnoredTap, isRootSplitCollapsed, !isArticleViewControllerShowing else { + guard let article, isRootSplitCollapsed, !isArticleViewControllerShowing else { return } - hasReportedIgnoredTap = true let selectedItemCount = mainTimelineViewController?.collectionView?.indexPathsForSelectedItems?.count ?? 0 let navigationStackDepth = mainTimelineViewController?.navigationController?.viewControllers.count ?? 0 From 69f0f4dbc1b999afb1a0aeac2532a627bb520c82 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 12 Nov 2026 07:53:08 -0800 Subject: [PATCH 7/9] Update version and write release notes for iOS. --- Technotes/ReleaseNotes-iOS.markdown | 2 +- xcconfig/common/NetNewsWire_version.xcconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Technotes/ReleaseNotes-iOS.markdown b/Technotes/ReleaseNotes-iOS.markdown index 171ce1632..973786ac5 100644 --- a/Technotes/ReleaseNotes-iOS.markdown +++ b/Technotes/ReleaseNotes-iOS.markdown @@ -1,6 +1,6 @@ # iOS Release Notes -### 7.3 build 7235 11 Nov 2026 - branch: main tag: iOS-7.3-7235 +### 7.3 build 7236 12 Nov 2026 - branch: main tag: iOS-7.3-7236 Added Gray theme — inspired by newsprint design but not meant to be a literal copy Added Plum theme — uses the same layout as the Gray theme but with color diff --git a/xcconfig/common/NetNewsWire_version.xcconfig b/xcconfig/common/NetNewsWire_version.xcconfig index ade11b547..321294776 100644 --- a/xcconfig/common/NetNewsWire_version.xcconfig +++ b/xcconfig/common/NetNewsWire_version.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 7235 +CURRENT_PROJECT_VERSION = 7236 From 24a5bd9642fd6103737ab40471b73599334888f7 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 12 Nov 2026 10:37:19 -0800 Subject: [PATCH 8/9] Make arrow key navigation work from timeline to article view and back. Make up and down arrow keys scroll in article view. Fixes #5538. --- Shared/Localizable.xcstrings | 6 ++++++ iOS/Article/ArticleViewController.swift | 14 +++++++++++++- iOS/Article/WebViewController.swift | 24 +++++++++++++++++++----- iOS/KeyboardManager.swift | 17 ++++++++++++++++- 4 files changed, 54 insertions(+), 7 deletions(-) diff --git a/Shared/Localizable.xcstrings b/Shared/Localizable.xcstrings index 566273dfb..d378f3f35 100644 --- a/Shared/Localizable.xcstrings +++ b/Shared/Localizable.xcstrings @@ -1157,6 +1157,12 @@ "Scanning iCloud storage" : { "comment" : "Scan status text while fetching" }, + "Scroll Down" : { + "comment" : "Scroll Down" + }, + "Scroll Up" : { + "comment" : "Scroll Up" + }, "Search" : { "comment" : "Search" }, diff --git a/iOS/Article/ArticleViewController.swift b/iOS/Article/ArticleViewController.swift index 888086cda..d47247f99 100644 --- a/iOS/Article/ArticleViewController.swift +++ b/iOS/Article/ArticleViewController.swift @@ -120,6 +120,9 @@ final class ArticleViewController: UIViewController { override var keyCommands: [UIKeyCommand]? { return keyboardManager.keyCommands } + override var canBecomeFirstResponder: Bool { + true + } override func viewDidLoad() { super.viewDidLoad() @@ -402,10 +405,19 @@ final class ArticleViewController: UIViewController { coordinator.navigateToTimeline() } + @objc func scrollLineDown(_ sender: Any?) { + currentWebViewController?.scrollLineDown() + } + + @objc func scrollLineUp(_ sender: Any?) { + currentWebViewController?.scrollLineUp() + } + // MARK: API + // Focus this view controller rather than the web view, since the web view is replaced on each article change. func focus() { - currentWebViewController?.focus() + becomeFirstResponder() } func canScrollDown() -> Bool { diff --git a/iOS/Article/WebViewController.swift b/iOS/Article/WebViewController.swift index 48ca738ee..39f4a0a5d 100644 --- a/iOS/Article/WebViewController.swift +++ b/iOS/Article/WebViewController.swift @@ -22,6 +22,8 @@ import Images final class WebViewController: UIViewController { + private static let arrowKeyScrollDistance: CGFloat = 60 + private struct MessageName { static let imageWasClicked = "imageWasClicked" static let imageWasShown = "imageWasShown" @@ -222,10 +224,6 @@ final class WebViewController: UIViewController { } } - func focus() { - webView?.becomeFirstResponder() - } - func canScrollDown() -> Bool { guard let webView = webView else { return false } return webView.scrollView.contentOffset.y < finalScrollPosition(scrollingUp: false) @@ -242,8 +240,16 @@ final class WebViewController: UIViewController { } let overlap = 2 * UIFont.systemFont(ofSize: UIFont.systemFontSize).lineHeight * windowScene.screen.scale + let scrollDistance = webView.scrollView.layoutMarginsGuide.layoutFrame.height - overlap + scroll(up: scrollingUp, distance: scrollDistance) + } + + private func scroll(up scrollingUp: Bool, distance scrollDistance: CGFloat) { + guard let webView else { + return + } + let scrollToY: CGFloat = { - let scrollDistance = webView.scrollView.layoutMarginsGuide.layoutFrame.height - overlap let fullScroll = webView.scrollView.contentOffset.y + (scrollingUp ? -scrollDistance : scrollDistance) let final = finalScrollPosition(scrollingUp: scrollingUp) return (scrollingUp ? fullScroll > final : fullScroll < final) ? fullScroll : final @@ -262,6 +268,14 @@ final class WebViewController: UIViewController { scrollPage(up: true) } + func scrollLineDown() { + scroll(up: false, distance: Self.arrowKeyScrollDistance) + } + + func scrollLineUp() { + scroll(up: true, distance: Self.arrowKeyScrollDistance) + } + func hideClickedImage() { webView?.evaluateJavaScript("hideClickedImage();") } diff --git a/iOS/KeyboardManager.swift b/iOS/KeyboardManager.swift index 669abca29..206fb7fee 100644 --- a/iOS/KeyboardManager.swift +++ b/iOS/KeyboardManager.swift @@ -29,8 +29,11 @@ enum KeyboardType: String, Sendable { switch type { case .sidebar: _keyCommands.append(contentsOf: KeyboardManager.hardcodeFeedKeyCommands()) - case .timeline, .detail: + case .timeline: _keyCommands.append(contentsOf: KeyboardManager.hardcodeArticleKeyCommands()) + case .detail: + _keyCommands.append(contentsOf: KeyboardManager.hardcodeArticleKeyCommands()) + _keyCommands.append(contentsOf: KeyboardManager.hardcodeDetailKeyCommands()) default: break } @@ -215,4 +218,16 @@ private extension KeyboardManager { return keys } + static func hardcodeDetailKeyCommands() -> [UIKeyCommand] { + var keys = [UIKeyCommand]() + + let scrollDownTitle = NSLocalizedString("Scroll Down", comment: "Scroll Down") + keys.append(KeyboardManager.createKeyCommand(title: scrollDownTitle, action: "scrollLineDown:", input: UIKeyCommand.inputDownArrow, modifiers: [])) + + let scrollUpTitle = NSLocalizedString("Scroll Up", comment: "Scroll Up") + keys.append(KeyboardManager.createKeyCommand(title: scrollUpTitle, action: "scrollLineUp:", input: UIKeyCommand.inputUpArrow, modifiers: [])) + + return keys + } + } From e9f131319260b0d9ddcbcd2c41185d3789372c1b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 12 Nov 2026 11:00:39 -0800 Subject: [PATCH 9/9] Save split view display mode on iPad for user changes, not for ones the system makes for size transitions or in background. Fixes #5524. --- iOS/RootSplitViewController.swift | 11 +++++++++++ iOS/SceneCoordinator.swift | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/iOS/RootSplitViewController.swift b/iOS/RootSplitViewController.swift index 52a425ebd..08ec5ff1b 100644 --- a/iOS/RootSplitViewController.swift +++ b/iOS/RootSplitViewController.swift @@ -13,6 +13,9 @@ final class RootSplitViewController: UISplitViewController { var coordinator: SceneCoordinator! + /// True during rotation, window resizes, and background snapshots, when UIKit changes the display mode on its own. + private(set) var isTransitioningSize = false + override var prefersStatusBarHidden: Bool { return coordinator.prefersStatusBarHidden } @@ -26,6 +29,14 @@ final class RootSplitViewController: UISplitViewController { coordinator.resetFocus() } + override func viewWillTransition(to size: CGSize, with transitionCoordinator: UIViewControllerTransitionCoordinator) { + isTransitioningSize = true + super.viewWillTransition(to: size, with: transitionCoordinator) + transitionCoordinator.animate(alongsideTransition: nil) { [weak self] _ in + self?.isTransitioningSize = false + } + } + /// Show a column for programmatic navigation. /// Pass `bypassDisplayModeRestriction: true` for user-initiated navigation, so it can /// reveal a column the display-mode suppression below would otherwise keep hidden. diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 336814d7a..110a7a8ab 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -1843,7 +1843,13 @@ extension SceneCoordinator: UISplitViewControllerDelegate { } func splitViewController(_ svc: UISplitViewController, willChangeTo displayMode: UISplitViewController.DisplayMode) { - AppDefaults.splitViewPreferredDisplayMode = displayMode.rawValue + // Save only user-initiated changes. UIKit also changes the display mode during + // rotation, window resizes, and background snapshots, and those must not be saved. + // + let isSceneActive = svc.view.window?.windowScene?.activationState == .foregroundActive + if isSceneActive && !svc.isCollapsed && !rootSplitViewController.isTransitioningSize { + AppDefaults.splitViewPreferredDisplayMode = displayMode.rawValue + } mainTimelineViewController?.updateToolbarProgressView(for: displayMode) }