Commit Graph
1135 Commits
Author SHA1 Message Date
Brent Simmons 94897de070 Convert account screens to SwiftUI. 2026-09-18 10:06:04 -07:00
Brent Simmons c88fd9c880 Make sure BatchUpdate.shared.start() and end() are always paired in all cases. 2026-09-16 20:32:05 -07:00
Brent Simmons 8b4221eb0a Drop the network check, since we don’t know network status when this code runs (it runs at startup). 2026-09-05 09:36:34 -07:00
Brent Simmons c00e66c462 Use a non-persistent, private-browsing-like WebKit configuration setting for the article web view. 2026-09-01 21:31:39 -07:00
Brent Simmons a6dd4b2441 Write theme unzipping tests. 2026-08-31 20:56:01 -07:00
Brent Simmons dbf49b1717 Download themes from http and https URLs only. Use a download maximum size. 2026-08-31 17:35:58 -07:00
Brent Simmons f4ddfa07a9 Manage dinosaurs selection by ID rather than row index. 2026-08-31 09:57:33 -07:00
Brent Simmons f4be0f3823 Strip inline aspect-ratio styles so text no longer overlaps images that overflow their aspect-ratio boxes. Fixes #5404. 2026-08-26 14:41:51 -07:00
Dave MarquardandClaude Opus 4.8 f28d204c12 Support Substack-style footnotes in the article popover
Substack footnote references are bare <a id="footnote-anchor-N"
href="#footnote-N"> anchors (not wrapped in <sup> like Multimarkdown),
and their targets are backlink anchors whose note text lives in the
following sibling elements rather than inside the target itself. Neither
the footnote badge styling nor the newsfoot popover recognized them.

- main.js: broaden styleLocalFootnotes() to also badge these bare
  anchors, and let isLocalFootnote() accept the "#footnote-" hash prefix
  (it previously only matched "#fn").
- newsfoot.js: add a Substack footnote format that recognizes the
  reference and extracts note content from the sibling elements after
  the backlink; the click handler now uses each format's own content
  extractor instead of assuming the target's innerHTML.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-24 12:26:53 -07:00
Brent Simmons 63468ce882 Filter out Slashdot’s weird iframe. See https://discourse.netnewswire.com/t/slashdot-slipping-an-iframe-in-item-description/349 2026-08-10 19:52:36 -07:00
Brent Simmons 3da877e99d Fix the Reader View button sometimes disappearing from the article toolbar by re-syncing its state whenever the current article page changes and by ignoring stale extractor callbacks. 2026-08-08 10:40:01 -07:00
Brent Simmons 5a488866e7 Consult the icon downloaders ahead of the session cache so a newly arrived feed icon replaces a stale one. Fixes #5376. 2026-08-02 22:39:51 -07:00
Brent Simmons 5dc9b758aa Add strings. 2026-08-02 17:04:08 -07:00
Brent Simmons 57bd515dcb Keep the feed icon out of the image zoom handler — tapping it opens the feed inspector only. 2026-08-02 17:01:29 -07:00
Brent Simmons 057b56ff73 Merge branch '7.1.3-pre'
# Conflicts:
#	xcconfig/common/NetNewsWire_mac_target_common.xcconfig
#	xcconfig/common/NetNewsWire_version.xcconfig
2026-08-02 16:26:42 -07:00
Brent Simmons 35ff1599e6 Fix text selection in a footnote-within-a-footnote by keeping the outer popover open for clicks inside a nested one. Fixes #2372. 2026-08-02 13:24:56 -07:00
Brent Simmons a1e29926f3 Deal with names and access protection for recent changes in ArticleExtractor. 2026-08-02 11:42:10 -07:00
Claude d38fab3d16 Fix Full Article extraction for Naver Blog
Naver Blog's desktop site (blog.naver.com) is a JavaScript-heavy SPA
that Mercury/Feedbin's extractor cannot parse, returning no content.
The mobile site (m.blog.naver.com) renders as static HTML and extracts
successfully.

Add extractionURL(for:) to ArticleExtractor that transforms
blog.naver.com URLs to m.blog.naver.com before sending to the extractor
service, also stripping the ?fromRss=true&trackingCode=rss tracking
parameters that Naver appends to RSS feed links.

https://claude.ai/code/session_01DWJjZT2o7Cir7tmGYR3Z2U
2026-08-02 11:20:15 -07:00
Brent Simmons 6d259827f0 Use a constant logging system name instead of getting it from Bundle. 2026-08-02 10:33:23 -07:00
Brent Simmons 921d269471 Preserve the aspect ratio of fixed-size iframes when the article width shrinks them. Helps with #4940. 2026-08-01 10:57:58 -07:00
Brent Simmons 7809b713de Fix bug where decoding errors during syncing would display as theme import errors. Also: show account name and type in sync error messages. Fixes #3849. 2026-08-01 09:41:04 -07:00
Brent Simmons 113208eadf Hide Mailchimp newsletter social icon walls in the article view. 2026-07-30 08:49:20 -07:00
Brent Simmons 85e527b0a1 Extract the body fragment of articles that are full HTML pages. Fixes #3008. 2026-07-30 08:43:39 -07:00
Brent Simmons 75755af700 Use browser agent UA for image and theme downloads. Fixes #4868. 2026-07-29 10:17:31 -07:00
Brent Simmons 166b60b59f Hand off the web page instead of the article while the in-app browser is open. Fixes #5369. 2026-07-29 08:54:55 -07:00
Brent Simmons d61c476965 Update smart feeds unread count on app activation and on day change. Fixes #3936. 2026-07-28 21:41:11 -07:00
Brent Simmons 936176c6a8 Fix Handoff showing "No selection" after the source device is locked. Fixes #5368. 2026-07-28 08:49:45 -07:00
Brent Simmons 0e8bbf43e5 Make VoiceOver announce the article view feed icon as a Get Feed Info button. Fixes #4591. 2026-07-27 21:48:45 -07:00
Brent Simmons bbd158f799 Add Clean Up command to global keyboard shortcuts in hopes it will work around whatever is going on with this keyboard shortcut not firing. Side effect: adds shortcut to iOS. Fixes #5294. 2026-07-27 16:28:34 -07:00
Brent Simmons f1e0b9f6f7 Pass any selected HTML to MarsEdit and Microblog. Fixes #535. 2026-07-27 16:01:05 -07:00
Brent Simmons 7e5e630a4b Hide social-share icon blocks — their unsized SVG icons rendered at full width in Reader View. Fixes #4512. 2026-07-26 11:08:35 -07:00
Brent Simmons fe7ee7d9e3 Size inline SVG icons that depend on stripped stylesheets — honor Tailwind w-[N]/h-[N] classes and Material for MkDocs .twemoji markup. Fixes #4371. 2026-07-26 11:01:56 -07:00
Brent Simmons eab6a596e6 Make negative side margins zero on tables in the overflow wrapper. Fixes #4266. 2026-07-26 10:46:04 -07:00
Brent Simmons 137aeaf901 Keep absolutely positioned feed content from escaping the article body and overlapping the title. Fixes #4566. 2026-07-26 09:27:31 -07:00
Brent Simmons 3bcda738e6 Fix SwiftLint issue. 2026-07-08 10:00:34 -07:00
Brent Simmons 7ed23bde76 Use SF Symbols instead of custom icons for the reader view icon. 2026-07-08 09:52:23 -07:00
Brent Simmons f8df32529b Use a WebKit user-agent string for web content (content displayed in web views) with NetNewsWire as the app name. 2026-07-07 21:34:11 -07:00
Brent Simmons 4d9a6407f4 Get unread count from AccountManager rather than AppDelegate. Also: fix bug where next unread button would be enabled when there is just one unread article and it's the current article. Fixes #5008. 2026-07-07 10:57:38 -07:00
Brent Simmons 801d8b3e85 Fix wrapFrames to detect iframe height attributes with units. Fixes #2847. 2026-07-07 09:56:09 -07:00
Brent Simmons f3ad3b4bc2 Strip location.href assignments. 2026-07-06 10:25:10 -07:00
Brent Simmons de464b6a34 Handle < in title that is not used as beginning of HTML tag. 2026-07-04 17:26:43 -07:00
Brent Simmons 3eac947dd4 Match title tags by name so <abbr> and other attributed tags render as text instead of raw markup. 2026-07-04 12:45:05 -07:00
Brent Simmons 808403b005 Account for the appearance/disappearance of the scrollbar — keep the left edge of the article stable. 2026-07-02 16:33:32 -07:00
Brent Simmons d801b39bed Exclude dinosaurs that have no articles in the database — we might just not have their articles yet. Make Mac Dinosaurs text field live. Edit iOS footer text for the no-dinosaurs case. 2026-06-23 09:31:58 -07:00
Brent Simmons c3dc344507 Add a font cache — makes timeline scrolling more efficient. 2026-06-21 16:35:04 -07:00
Brent Simmons fb27660cac Evaluate dynamic colors once instead of on every call. 2026-06-21 16:34:07 -07:00
Brent Simmons 0d36fb311b Use dynamic RSColor (NS/UI Color) instead of CGColor, which allows one-time evaluation of smart-feed icons. 2026-06-21 16:06:09 -07:00
Brent Simmons d90ba8b612 Add MainActor annotation. 2026-06-20 10:34:51 -07:00
Brent Simmons 2c5986fa74 Fix timeline star performance by tinting via contentTintColor instead of re-rendering per cell. 2026-06-19 21:56:45 -07:00
Brent Simmons 70cefdcf9b Add ActivityLog API to simplify use of ActivityLog. 2026-06-19 10:05:47 -07:00