From b7865f6e6b0ea55c6aaf0936ae0bf223418cb126 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 23 May 2025 09:13:21 -0700 Subject: [PATCH 01/34] Remove Technotes from Help menu. --- Mac/AppDelegate.swift | 5 ----- Mac/Base.lproj/Main.storyboard | 6 ------ 2 files changed, 11 deletions(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 79a53d955..e8f3dd76b 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -640,11 +640,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, Browser.open("https://netnewswire.com/slack", inBackground: false) } - @IBAction func openTechnotes(_ sender: Any?) { - - Browser.open("https://github.com/brentsimmons/NetNewsWire/tree/main/Technotes", inBackground: false) - } - @IBAction func showHelp(_ sender: Any?) { Browser.open("https://netnewswire.com/help/mac/6.1/en/", inBackground: false) diff --git a/Mac/Base.lproj/Main.storyboard b/Mac/Base.lproj/Main.storyboard index c2906ddec..92eab39f9 100644 --- a/Mac/Base.lproj/Main.storyboard +++ b/Mac/Base.lproj/Main.storyboard @@ -639,12 +639,6 @@ - - - - - - From 9b86bc75b0fd53fd96c12d71abc6642ea1c6dc1f Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 26 Jun 2025 21:48:21 -0700 Subject: [PATCH 02/34] Update privacy policy with latest version from website. --- Technotes/privacypolicy.markdown | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/Technotes/privacypolicy.markdown b/Technotes/privacypolicy.markdown index 19e5a31bd..5159d4f65 100644 --- a/Technotes/privacypolicy.markdown +++ b/Technotes/privacypolicy.markdown @@ -1,13 +1,15 @@ # NetNewsWire Privacy Policy -This policy describes the information Ranchero Software and Brent Simmons may receive from NetNewsWire users and how that information is handled. +This policy describes the information Brent Simmons may receive from NetNewsWire users and how that information is handled. There are two things we do: * We gather crash logs from NetNewsWire users who opt in. * We log traffic to our website, which we view in aggregate. -In other words, we don’t want any private information — except that we want to be able to identify and fix crashing bugs, and we like to know things like how many times the app has been downloaded. +In other words, we don’t want any private information. We really, really don’t — it’s of zero use to us and it would be a burden to have to store it securely. + +But we do want to do two things: 1) identify and fix crashing bugs, and 2) find out how many people are visiting our website and see which pages are more or less popular. Details on these, and other privacy topics, are below. @@ -16,13 +18,15 @@ Details on these, and other privacy topics, are below. If you opt in to sending crash logs, we will have a copy of your crash logs. * If you’re using an App Store version of the app, and you opt in with Apple, then Apple has a copy and we have a copy. -* If you’re using a version downloaded directly from us, and you opt in, then it’s just us. +* If you’re using a Mac version downloaded directly from us, and you opt in, then it’s just us. -When NetNewsWire sends a crash log directly to us, it sends only the text of the crash log. No additional information, such as email address, is sent (though our website logging system — see below — will record some information, including time and IP address). +When NetNewsWire for Mac sends a crash log directly to us, it sends only the text of the crash log. No additional information, such as email address, is sent (though our website logging system — see below — will record some information, including time and IP address). Crash logs are stored privately and are kept confidential. -However, we may make significant parts of a crash log available publicly when there‘s no personal identification in that part of the crash log. For example, we might share something like this: +However, we may make all or significant parts of a crash log available publicly when there‘s no personal identification in that part of the crash log. + +We might make all of a crash log available (again, if there’s no personal identification), or just part — something like this: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_secinit.dylib 0x00007fff6c06689f _libsecinit_setup_secinitd_client + 1393 @@ -44,15 +48,15 @@ We look at the logs in aggregate — for instance, to find how many times NetNew ## Other topics -### Cookies, JavaScript, Ads +### No Cookies, JavaScript, Trackers, Ads -Neither ranchero.com nor inessential.com use any cookies or JavaScript, and they do not display any ads. +Neither netnewswire.com nor inessential.com (Brent’s blog) use any cookies, JavaScript, or trackers, and they do not display any ads. ### Related sites -The [NetNewsWire GitHub repository](https://github.com/brentsimmons/NetNewsWire) does use cookies and JavaScript, because that’s how GitHub works. The repository, including the issue tracker and anything you post there, is public. See [GitHub’s privacy policy](https://help.github.com/en/github/site-policy/github-privacy-statement) for more information. +The [NetNewsWire GitHub repository](https://github.com/Ranchero-Software/NetNewsWire) does use cookies and JavaScript, because that’s how GitHub works. The repository, including the issue tracker and anything you post there, is public. See [GitHub’s privacy policy](https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement) for more information. -The NetNewsWire Slack group also uses cookies and JavaScript, because that’s how Slack works. The group is public: anyone may join. See [Slack’s privacy policy](https://slack.com/privacy-policy) for more info. +The [NetNewsWire Slack group](https://netnewswire.com/slack) also uses cookies and JavaScript, because that’s how Slack works. The group is public: anyone may join. See [Slack’s privacy policy](https://slack.com/trust/privacy/privacy-policy) for more info. Posting to the GitHub repository and joining the Slack group are optional, opt-in activities. @@ -62,7 +66,6 @@ NetNewsWire displays HTML that comes from feeds from other sites. Some of these ## Questions or comments -If you have questions or comments about this privacy policy, please contact brent@ranchero.com. - -This [policy](https://github.com/brentsimmons/NetNewsWire/blob/main/Technotes/privacypolicy.markdown) is stored in the NetNewsWire GitHub repository, where you can track any changes we might make. +If you have questions or comments about this privacy policy, please contact Brent Simmons on the [Slack group](https://netnewswire.com/slack) or on [Mastodon](https://indieweb.social/@brentsimmons). +This [policy](https://github.com/brentsimmons/NetNewsWire/blob/master/Technotes/privacypolicy.markdown) is stored in the NetNewsWire GitHub repository, where you can track any changes we might make. From 9ba313288f15135482ca4cd7fc560a9ea5df1883 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Sat, 28 Jun 2025 19:56:49 -0500 Subject: [PATCH 03/34] Wrap argument in quotes --- NetNewsWire.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index 41dd76ac5..4fb6fcfd8 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -1238,7 +1238,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "xcrun -sdk macosx swift buildscripts/VerifyNoBS.swift --xcode ${PROJECT_DIR}/${PROJECT_NAME}.xcodeproj/project.pbxproj\n"; + shellScript = "xcrun -sdk macosx swift buildscripts/VerifyNoBS.swift --xcode \"${PROJECT_DIR}/${PROJECT_NAME}.xcodeproj/project.pbxproj\"\n"; }; /* End PBXShellScriptBuildPhase section */ From 052aab735ab1bb0fc5668a5a1c1a4dad4a37ce00 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Tue, 15 Jul 2025 21:40:49 -0500 Subject: [PATCH 04/34] Fix importing OPML --- Mac/Resources/Info.plist | 17 +++++++++++++++++ Shared/UniformTypeIdentifiers+Extras.swift | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Mac/Resources/Info.plist b/Mac/Resources/Info.plist index 63d665f84..73c0ec6cf 100644 --- a/Mac/Resources/Info.plist +++ b/Mac/Resources/Info.plist @@ -100,6 +100,23 @@ UTImportedTypeDeclarations + + UTTypeConformsTo + + public.xml + + UTTypeDescription + OPML + UTTypeIdentifier + org.opml.opml + UTTypeTagSpecification + + public.filename-extension + + opml + + + UTTypeConformsTo diff --git a/Shared/UniformTypeIdentifiers+Extras.swift b/Shared/UniformTypeIdentifiers+Extras.swift index ff1f91092..e33211a7e 100644 --- a/Shared/UniformTypeIdentifiers+Extras.swift +++ b/Shared/UniformTypeIdentifiers+Extras.swift @@ -10,5 +10,5 @@ import UniformTypeIdentifiers extension UTType { - static let opml = UTType(filenameExtension: "opml", conformingTo: UTType.xml)! + static let opml = UTType("org.opml.opml")! } From a59da346bc2d5a58a69134dbf9962b4ceb62264b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 4 Aug 2025 11:28:32 -0700 Subject: [PATCH 05/34] Add Claude support. --- .claude/settings.local.json | 8 +++++ CLAUDE.md | 62 +++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 .claude/settings.local.json create mode 100644 CLAUDE.md diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 000000000..cfc635a58 --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,8 @@ +{ + "permissions": { + "allow": [ + "Bash(find:*)" + ], + "deny": [] + } +} \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000..7be690084 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,62 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Build and Development Commands + +### Building and Testing +- **Full build and test**: `./buildscripts/build_and_test.sh` - Builds both macOS and iOS targets and runs all tests +- **Quiet build and test**: `./buildscripts/quiet_build_and_test.sh` - Same as above with less verbose output +- **Manual Xcode builds**: + - macOS: `xcodebuild -project NetNewsWire.xcodeproj -scheme NetNewsWire -destination "platform=macOS,arch=arm64" build` + - iOS: `xcodebuild -project NetNewsWire.xcodeproj -scheme NetNewsWire-iOS -destination "platform=iOS Simulator,name=iPhone 16" build` + +### Testing +- Run all tests: Use the `NetNewsWire.xctestplan` which includes tests from all modules +- Individual test runs follow same xcodebuild pattern with `test` action instead of `build` + +### Setup +- First-time setup: Run `./setup.sh` to configure development environment and code signing +- Manual setup: Create `SharedXcodeSettings/DeveloperSettings.xcconfig` in parent directory + +## Project Architecture + +### High-Level Structure +NetNewsWire is a multi-platform RSS reader with separate targets for macOS and iOS, organized as a modular architecture with shared business logic. + +### Key Modules (in /Modules) +- **RSCore**: Core utilities, extensions, and shared infrastructure +- **RSParser**: Feed parsing (RSS, Atom, JSON Feed, RSS-in-JSON) +- **RSWeb**: HTTP networking, downloading, caching, and web services +- **RSDatabase**: SQLite database abstraction layer using FMDB +- **Account**: Account management (Local, Feedbin, Feedly, NewsBlur, Reader API, CloudKit) +- **Articles**: Article and author data models +- **ArticlesDatabase**: Article storage and search functionality +- **SyncDatabase**: Cross-device synchronization state management +- **Secrets**: Secure credential and API key management + +### Platform-Specific Code +- **Mac/**: macOS-specific UI (AppKit), preferences, main window management +- **iOS/**: iOS-specific UI (UIKit), settings, navigation +- **Shared/**: Cross-platform business logic, article rendering, smart feeds + +### Key Architectural Patterns +- **Account System**: Pluggable account delegates for different sync services +- **Feed Management**: Hierarchical folder/feed organization with OPML import/export +- **Article Rendering**: Template-based HTML rendering with custom CSS themes +- **Smart Feeds**: Virtual feeds (Today, All Unread, Starred) implemented as PseudoFeed protocol +- **Timeline/Detail**: Classic three-pane interface (sidebar, timeline, detail) + +### Extension Points +- Share extensions for both platforms +- Safari extension for feed subscription +- Widget support for iOS +- AppleScript support on macOS +- Intent extensions for Siri shortcuts + +### Development Notes +- Uses Xcode project with Swift Package Manager for module dependencies +- Requires `xcbeautify` for formatted build output in scripts +- API keys are managed through buildscripts/updateSecrets.sh (runs during builds) +- Some features disabled in development builds due to private API keys +- Code signing configured through SharedXcodeSettings for development \ No newline at end of file From 690546f9a24afe01ce751b1aa09afa728e95947b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 4 Aug 2025 11:31:00 -0700 Subject: [PATCH 06/34] Restore Technotes folder. Will be using this for documentation so that Claude can read it. --- NetNewsWire.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index 41dd76ac5..24d58e433 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -504,6 +504,7 @@ /* End PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet section */ /* Begin PBXFileSystemSynchronizedRootGroup section */ + 840A1F092E41337800CFCCFC /* Technotes */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = Technotes; sourceTree = ""; }; 842E249F2DB9F9B800FF7DD8 /* Mac */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (842E25332DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 842E25342DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet */, 842E25352DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 842E25362DB9F9B800FF7DD8 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Mac; sourceTree = ""; }; 8448F1F62D1E36BF0048BA50 /* Widget */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (8448F2052D1E36BF0048BA50 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Widget; sourceTree = ""; }; 84719F0E2DB9C52B00EEF332 /* Tests */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (84719F272DB9C52B00EEF332 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84719F282DB9C52B00EEF332 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Tests; sourceTree = ""; }; @@ -632,6 +633,7 @@ 84D2200922B0BC4B0019E085 /* CONTRIBUTING.md */, 848E84CA2DB743FF0023F3BA /* NetNewsWire.xctestplan */, 848CEF1E2DB74B56002B35B5 /* NetNewsWire-iOS.xctestplan */, + 840A1F092E41337800CFCCFC /* Technotes */, 842E249F2DB9F9B800FF7DD8 /* Mac */, 84A6CFB52D1B4EC500F23315 /* iOS */, 513145F9235A55A700387FDC /* Intents */, From aa2826c3014f6ba5117f74f0a61283b41cdadc65 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 4 Aug 2025 11:35:16 -0700 Subject: [PATCH 07/34] Add CLAUDE.md to project tree. --- NetNewsWire.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index 24d58e433..4a07df8d3 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -277,6 +277,7 @@ 513C5CE6232571C2003D4054 /* NetNewsWire iOS Share Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "NetNewsWire iOS Share Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; 518B2ED22351B3DD00400001 /* NetNewsWire-iOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "NetNewsWire-iOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 6581C73320CED60000F4AD34 /* Subscribe to Feed.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Subscribe to Feed.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; + 840A1F0A2E4133F400CFCCFC /* CLAUDE.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CLAUDE.md; sourceTree = ""; }; 840D617C2029031C009BC708 /* NetNewsWire.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NetNewsWire.app; sourceTree = BUILT_PRODUCTS_DIR; }; 845B14A51FC2299E0013CF92 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 848CEF1E2DB74B56002B35B5 /* NetNewsWire-iOS.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = "NetNewsWire-iOS.xctestplan"; sourceTree = ""; }; @@ -631,6 +632,7 @@ children = ( 845B14A51FC2299E0013CF92 /* README.md */, 84D2200922B0BC4B0019E085 /* CONTRIBUTING.md */, + 840A1F0A2E4133F400CFCCFC /* CLAUDE.md */, 848E84CA2DB743FF0023F3BA /* NetNewsWire.xctestplan */, 848CEF1E2DB74B56002B35B5 /* NetNewsWire-iOS.xctestplan */, 840A1F092E41337800CFCCFC /* Technotes */, From 8b98403caeee3990111ba66df62dc60e7841bfb4 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 4 Aug 2025 11:36:40 -0700 Subject: [PATCH 08/34] Update CLAUDE.md to note location of documentation in Technotes folder. --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 7be690084..791884065 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -59,4 +59,5 @@ NetNewsWire is a multi-platform RSS reader with separate targets for macOS and i - Requires `xcbeautify` for formatted build output in scripts - API keys are managed through buildscripts/updateSecrets.sh (runs during builds) - Some features disabled in development builds due to private API keys -- Code signing configured through SharedXcodeSettings for development \ No newline at end of file +- Code signing configured through SharedXcodeSettings for development +- Documentation and technical notes are located in the `Technotes/` folder \ No newline at end of file From d86f60208bf6b4524c1052934300c1fa0a3a9aab Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 4 Aug 2025 11:45:35 -0700 Subject: [PATCH 09/34] Allow claude to do more find-y things. --- .claude/settings.local.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index cfc635a58..f0daa3783 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -1,7 +1,9 @@ { "permissions": { "allow": [ - "Bash(find:*)" + "Bash(find:*)", + "Bash(grep:*)", + "Bash(ls:*)" ], "deny": [] } From 67f5460c234831d6252db6edfa37b2b18b90be1f Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 4 Aug 2025 11:45:47 -0700 Subject: [PATCH 10/34] Remove outdated sentence. --- Technotes/ArticlesAndStatuses.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Technotes/ArticlesAndStatuses.markdown b/Technotes/ArticlesAndStatuses.markdown index 2d00b8a99..040172903 100644 --- a/Technotes/ArticlesAndStatuses.markdown +++ b/Technotes/ArticlesAndStatuses.markdown @@ -20,7 +20,7 @@ This way the app can store those statuses without having to have their correspon ## Strange Behavior -The articles database periodically deletes old articles that have been read. (In theory. This code has still to be written at this date (28 April 2019).) +The articles database periodically deletes old articles that have been read. However, it retains old statuses for a considerably longer period of time. From c6daea6bf16dc20677242563c600ff5e9e9baa60 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 4 Aug 2025 11:50:35 -0700 Subject: [PATCH 11/34] Add Technotes/Bugs folder and MacStateRestoration.md file. Starting to move things like this out of my personal notes and into the repo. --- Technotes/Bugs/MacStateRestoration.md | 59 +++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Technotes/Bugs/MacStateRestoration.md diff --git a/Technotes/Bugs/MacStateRestoration.md b/Technotes/Bugs/MacStateRestoration.md new file mode 100644 index 000000000..fd5c337ae --- /dev/null +++ b/Technotes/Bugs/MacStateRestoration.md @@ -0,0 +1,59 @@ +# Mac State Restoration + +https://github.com/Ranchero-Software/NetNewsWire/issues/4589 + +https://github.com/Ranchero-Software/NetNewsWire/issues/4631 + +## State to restore + +Hide Read Articles +Hide Read Feeds +Windows positions, including split view positions + +## Warnings + + WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState:. + +## How state restoration works according to Apple + +Info.plist: NSApplicationSupportsRestorableState - true + +NSUserInterfaceItemIdentification + +NSWindowRestoration Protocol +window.restorationClass = … + +encodeRestorableStateWithCoder: +restoreStateWithCoder: + +self.restorationIdentifier = "MainWindowController" + +AppDelegate — application:shouldRestoreApplicationState: and application:shouldSaveApplicationState: for complex cases + +Can be turned on and off via system pref + +## Tests + +Window 1 +Restore position — yes +Restore split view position — sometimes +Restore timeline position — no +Restore Hide Read Feeds — yes +Restore Hide Read Articles for inessential — yes + +Window 2 +Restore position +Restore split view position +Restore Hide Read Feeds +Restore Hide Read Articles for The Verge + +Restores second window but not first + +With state restoration enabled, all three windows appear, but with not everything restored + +--- + +Close windows tests + +1 window +detail scroll not restored From ab5c6bcb3b8b050c4207c81864c681efde5dff17 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 11 Aug 2025 10:58:52 -0700 Subject: [PATCH 12/34] =?UTF-8?q?Replace=20BBC=20in=20default=20feeds=20wi?= =?UTF-8?q?th=20Scripting=20News=20=E2=80=94=C2=A0BBC=E2=80=99s=20feeds=20?= =?UTF-8?q?have=20gone=20wonky.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Shared/Importers/DefaultFeeds.opml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Importers/DefaultFeeds.opml b/Shared/Importers/DefaultFeeds.opml index ff0de393f..3b3a6fe8b 100644 --- a/Shared/Importers/DefaultFeeds.opml +++ b/Shared/Importers/DefaultFeeds.opml @@ -4,7 +4,6 @@ Default Feeds - @@ -17,6 +16,7 @@ + From a360184ec3d3659498e48ec54ae1c1d366118dac Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 11 Aug 2025 11:07:24 -0700 Subject: [PATCH 13/34] Bump version to 6.1.10. --- xcconfig/common/NetNewsWire_ios_target_common.xcconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcconfig/common/NetNewsWire_ios_target_common.xcconfig b/xcconfig/common/NetNewsWire_ios_target_common.xcconfig index 1ef59ad83..b2f59d660 100644 --- a/xcconfig/common/NetNewsWire_ios_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_ios_target_common.xcconfig @@ -1,7 +1,7 @@ // High Level Settings common to both the iOS application and any extensions we bundle with it -MARKETING_VERSION = 6.1.9 -CURRENT_PROJECT_VERSION = 6197 +MARKETING_VERSION = 6.1.10 +CURRENT_PROJECT_VERSION = 6198 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; From 27edb31b6a1250310fb3e3efbfcf83694bed6486 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 11 Aug 2025 11:10:05 -0700 Subject: [PATCH 14/34] Write release notes for 6.1.10-6198. --- iOS/ReleaseNotes-iOS.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iOS/ReleaseNotes-iOS.markdown b/iOS/ReleaseNotes-iOS.markdown index a46552d00..1b4864c21 100644 --- a/iOS/ReleaseNotes-iOS.markdown +++ b/iOS/ReleaseNotes-iOS.markdown @@ -1,5 +1,9 @@ # iOS Release Notes +### 6.1.10 TestFlight build 6198 11 Aug 2025 - branch: main tag iOS-6.1.10-6198 + +Replaced BBC in default feeds (for new users) because its feeds have gone wonky. Replaced with Scripting News. + ### 6.1.9 AppStore build 6197 13 May 2025 - branch: main tag iOS-6.1.9 (Same build as 6197 TestFlight) Fixed bug where links in footnotes — in light mode, using the default theme — would be invisible From 40006125e8a4f5e8c8c1cfd38d72eabbe3ca8cad Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 11 Aug 2025 17:28:00 -0700 Subject: [PATCH 15/34] Move release notes back to Technotes. --- NetNewsWire.xcodeproj/project.pbxproj | 2 -- {Mac => Technotes}/ReleaseNotes-Mac.markdown | 0 {iOS => Technotes}/ReleaseNotes-iOS.markdown | 0 3 files changed, 2 deletions(-) rename {Mac => Technotes}/ReleaseNotes-Mac.markdown (100%) rename {iOS => Technotes}/ReleaseNotes-iOS.markdown (100%) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index cac12949d..545de5aea 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -293,7 +293,6 @@ membershipExceptions = ( /Localized/SafariExtension/SafariExtensionViewController.xib, /Localized/ShareExtension/ShareViewController.xib, - "ReleaseNotes-Mac.markdown", Resources/Info.plist, Resources/NetNewsWire.provisionprofile, "Resources/org.sparkle-project.Downloader.xpc", @@ -368,7 +367,6 @@ /Localized/ShareExtension/MainInterface.storyboard, IntentsExtension/Info.plist, IntentsExtension/IntentHandler.swift, - "ReleaseNotes-iOS.markdown", Resources/Info.plist, ShareExtension/Info.plist, ShareExtension/ShareFolderPickerAccountCell.xib, diff --git a/Mac/ReleaseNotes-Mac.markdown b/Technotes/ReleaseNotes-Mac.markdown similarity index 100% rename from Mac/ReleaseNotes-Mac.markdown rename to Technotes/ReleaseNotes-Mac.markdown diff --git a/iOS/ReleaseNotes-iOS.markdown b/Technotes/ReleaseNotes-iOS.markdown similarity index 100% rename from iOS/ReleaseNotes-iOS.markdown rename to Technotes/ReleaseNotes-iOS.markdown From b2fa3126587b7e5b7eaa2b2682edb57e1bb318e3 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 11 Aug 2025 17:29:44 -0700 Subject: [PATCH 16/34] Bump version and build. --- xcconfig/common/NetNewsWire_mac_target_common.xcconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig index 541b6d663..96c9be733 100644 --- a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig @@ -1,6 +1,6 @@ // High Level Settings common to both the Mac application and any extensions we bundle with it -MARKETING_VERSION = 6.1.10b2 -CURRENT_PROJECT_VERSION = 6137 +MARKETING_VERSION = 6.1.10b3 +CURRENT_PROJECT_VERSION = 6138 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon From 823ea794399572dfcc0350fd3387305640b44a13 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 12 Aug 2025 09:48:38 -0700 Subject: [PATCH 17/34] Write change notes for Mac 6.1.10b3. --- Technotes/ReleaseNotes-Mac.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Technotes/ReleaseNotes-Mac.markdown b/Technotes/ReleaseNotes-Mac.markdown index 2c34a2b17..fe0605c80 100644 --- a/Technotes/ReleaseNotes-Mac.markdown +++ b/Technotes/ReleaseNotes-Mac.markdown @@ -1,5 +1,9 @@ # Mac Release Notes +### 6.1.10b3 build 6138 11 Aug 2025 - branch main tag: mac-6.1.10b3 + +Fixed bug, introduced in previous test build, that prevented choosing an OPML file to import + ### 6.1.10b2 build 6137 13 May 2025 - branch main tag: mac-6.1.10b2 Fixed bug, introduced in previous test build, that prevented adding a Feedly account From 145c47ba71bb6dd2b38c51ec5d5c41d575d3130c Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 12 Aug 2025 10:25:02 -0700 Subject: [PATCH 18/34] Update appcast for 6.1.10b3. --- Appcasts/netnewswire-beta.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Appcasts/netnewswire-beta.xml b/Appcasts/netnewswire-beta.xml index 44d7cc899..383069014 100755 --- a/Appcasts/netnewswire-beta.xml +++ b/Appcasts/netnewswire-beta.xml @@ -6,6 +6,18 @@ Most recent NetNewsWire changes with links to updates. en + + NetNewsWire 6.1.10b3 + +
  • Fixed bug, introduced in previous test build, that prevented choosing an OPML file to import
  • + + ]]>
    + Tue, 12 Aug 2025 10:10:00 -0700 + + 13.0 +
    + NetNewsWire 6.1.10b2 Date: Tue, 12 Aug 2025 10:42:43 -0700 Subject: [PATCH 19/34] Move how-to Mac Sparkle release from personal notes to Technotes. --- Technotes/How To Do Mac Sparkle Release.md | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Technotes/How To Do Mac Sparkle Release.md diff --git a/Technotes/How To Do Mac Sparkle Release.md b/Technotes/How To Do Mac Sparkle Release.md new file mode 100644 index 000000000..32b325f25 --- /dev/null +++ b/Technotes/How To Do Mac Sparkle Release.md @@ -0,0 +1,57 @@ +# How To Do Mac Sparkle Release + +NetNewsWire_mac_target_common.xcconfig + update MARKETING_VERSION and CURRENT_PROJECT_VERSION + +ReleaseNotes-Mac.markdown +main branch +Write change notes in notes +Include branch and tag + +Run buildscripts/quiet_build_and_test.sh + +Make sure there are no outstanding changes + +Archive build +Developer ID distribution - notarize +Wait while processing + +Export +Smoke test + +On main: update Technotes/Status.md +commit + +Tag the app: +git tag mac-6.1.5b4 + +Push: +git push origin mac-6.1.5b4 + +Find tag in GitHub - https://github.com/Ranchero-Software/NetNewsWire/tags +Turn into release — NetNewsWire 6.1.5b4 for Mac +Add change notes +Zip app - NetNewsWire6.1.5b4.zip +Upload binary to release +Publish release +Copy file to releases archive — iCloud Drive/Archive/Releases/ + +Update Appcast on main branch + Add changes + Update title + Update pubDate + Update enclosure URL + Update version + Update file size - length + +Run xmllint on appcast + xmllint --noout netnewswire-beta.xml + +Upload appcast +Commit and push git change + +Test updating via appcast + +Optionally: +Announce on Slack +Announce on blog From b5fd7f070f035384d12762cdaa4c4371cc785d7e Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 12 Aug 2025 10:44:46 -0700 Subject: [PATCH 20/34] Move how-to iOS TestFlight release from personal notes to Technotes. --- Technotes/How To Do iOS TestFlight Release.md | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Technotes/How To Do iOS TestFlight Release.md diff --git a/Technotes/How To Do iOS TestFlight Release.md b/Technotes/How To Do iOS TestFlight Release.md new file mode 100644 index 000000000..e73d03c94 --- /dev/null +++ b/Technotes/How To Do iOS TestFlight Release.md @@ -0,0 +1,74 @@ +# How To Do iOS TestFlight Release + +Be sure to have updated code and be *on correct branch* + +## Edit Build Version + +NetNewsWire_ios_target_common.xcconfig + +Possibly bump MARKETING_VERSION +Increment CURRENT_PROJECT_VERSION by 1 (usually) + +Commit change. + +## Test + +Run buildscripts/quiet_build_and_test.sh to be sure all platforms build and tests pass. + +Build and run app on device + +Smoke test +If it fails, bail. +Check in and push changes. + +## Create Release Notes + +On main: + +ReleaseNotes-iOS.markdown + +Go to milestone and find closed bugs since last release notes +Add to iOS Release Notes note + +Write release notes + +Commit change. + +## Archive and Upload + +Archive +Distribute to TestFlight + +## Status + +Update NetNewsWire Status doc in Technotes +Commit + +## Tag + +On branch (or on main, if working on main): + +Use SemVer with tags +Tag the app: git tag iOS-6.1.5-6124 +Push: git push origin iOS-6.1.5-6124 + +## Release the app + +In AppStoreConnect add groups and release the app +Paste in the release notes +Announce in Slack +Optionally blog about it + +## GitHub release + +Make new release from tag + +https://github.com/Ranchero-Software/NetNewsWire/tags + +Example title: +NetNewsWire 6.1.6 (6140) for iOS - TestFlight + +## Notes + +Public TestFlight link: +https://testflight.apple.com/join/wpedPMRR From 5d895a57e363104f2f1da09ee34c948d77bb8e42 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 12 Aug 2025 10:45:58 -0700 Subject: [PATCH 21/34] Move how-to iOS AppStore release from personal notes to Technotes. --- Technotes/How To Do iOS App Store Release.md | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Technotes/How To Do iOS App Store Release.md diff --git a/Technotes/How To Do iOS App Store Release.md b/Technotes/How To Do iOS App Store Release.md new file mode 100644 index 000000000..993f91fd9 --- /dev/null +++ b/Technotes/How To Do iOS App Store Release.md @@ -0,0 +1,29 @@ +# How To Do App Store Release + +Write release notes in ReleaseNotes-iOS.markdown on main +Commit release notes + +Tag the app if needed: + + git tag iOS-6.1.9 + git push origin iOS-6.1.9 + +Click + near iOS App +Type in new version name +Scroll way down to Build section and choose the build (latest TestFlight build, presumably) +Fill in What’s New text +Click Save at top of screen +Click Add for Review next to Save + +On next screen, click Submit to App Review + +Make new release from tag + +https://github.com/Ranchero-Software/NetNewsWire/tags + +Example title: +NetNewsWire 6.1.6 (6140) for iOS - AppStore + +Announce on Slack +Announce on NetNewsWire blog +Optionally announce on inessential From e5443e5e1e06c0677373da35059c78bb3ded39ae Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 12 Aug 2025 11:07:08 -0700 Subject: [PATCH 22/34] Move status document from personal notes to Technotes. --- Technotes/Status.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Technotes/Status.md diff --git a/Technotes/Status.md b/Technotes/Status.md new file mode 100644 index 000000000..caa2596c5 --- /dev/null +++ b/Technotes/Status.md @@ -0,0 +1,21 @@ +# NetNewsWire Status + +Current milestone: NetNewsWire 6.1.10 + https://github.com/Ranchero-Software/NetNewsWire/milestone/60 + +Current bug: Mac restoration issues + https://github.com/Ranchero-Software/NetNewsWire/issues/4589 + +## iOS + +iOS shipping: 6.1.9 (6197) + +TestFlight: 6.1.10 (6198) + https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-6.1.10-6198 + +## Mac + +Mac shipping: 6.1.9 + +Beta: 6.1.10b3 + https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-6.1.10b3 From 4886bb6718d9f37868a617d88a7c2b8d7d25faf4 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Thu, 14 Aug 2025 20:00:58 +0800 Subject: [PATCH 23/34] Fixes #4714 Unread count text is now centre justified. --- iOS/Base.lproj/Main.storyboard | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/iOS/Base.lproj/Main.storyboard b/iOS/Base.lproj/Main.storyboard index a6cb66924..181f59a4c 100644 --- a/iOS/Base.lproj/Main.storyboard +++ b/iOS/Base.lproj/Main.storyboard @@ -1,9 +1,9 @@ - + - + @@ -405,7 +405,7 @@ -
    -