Commit Graph
221 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 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 ca65bef425 Make footnotes not get so wide and handle some layout issues. 2026-05-15 20:56:25 -07:00
Brent Simmons ca26275e69 Use the new sanitizedTitle. 2026-04-22 09:53:23 -07:00
Brent Simmons 5b0957be42 Fix a case of runaway JavaScript that made it so a user had to force-quit. 2026-04-01 13:56:55 -07:00
Jason Fry 302c0b84ed Allow WKWebView to go fullscreen.
To support things like YouTube video embeds going fullscreen.
2026-03-24 22:07:22 +00:00
Justin Reeves af9b5bba02 Fix style of italic and emphasized text in articleTitle
`body a *` is overriding the color of `<i>` and `<em>` in articleTitle.

```
body a, body a:visited, body a :not(i, em) * {
		color: var(--secondary-accent-color);
	}
```

Also works.

(“Hyperlegible” is the only preinstalled theme that doesn’t do this.)
2026-02-12 20:11:20 -06:00
ClaudeandClaude Opus 4.6 4a1e471251 fix: Add !important to height:auto in default stylesheet to prevent image stretching
Inline height styles on <img> elements (common in RSS feeds) override the
stylesheet's height:auto, causing images to appear vertically stretched
when max-width constrains the width. All theme stylesheets already use
!important for this rule; this aligns the default stylesheet.

Fixes #5094

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 13:56:48 -05:00
Brent Simmons 49b939e464 Respect inline height styles on images. Fix small inline images rendering huge. Fix <https://discourse.netnewswire.com/t/markup-for-small-in-paragraph-images/71>. 2026-01-22 14:53:05 -08:00
Brent Simmons 2b529c308f Delete the isElementFullscreenEnabled = true line for the web view — which, ironically, allows videos to play fullscreen. Without crashing. Super weird. 2026-01-20 21:24:37 -08:00
Brent Simmons f1dbe8045a Adjust the article title font size. Hide the .externalLink block when it’s empty. 2026-01-08 20:23:40 -08:00
Brent Simmons 0b429ae259 Fix various SwiftLint warnings. 2026-01-01 16:17:54 -08:00
Brent Simmons 6ba9940834 Fix various SwiftLint warnings. 2025-12-31 11:38:56 -08:00
Brent Simmons 0f7ecbf951 Fix filename to match case of bundled file. This fixes a crash bug on case-sensitive file systems. 2025-12-04 09:47:32 -08:00
Brent Simmons 8f57f914dd Fix various concurrency issues. 2025-11-18 13:25:47 -08:00
Brent Simmons 1f51119aa3 Convert RSCore to approachable concurrency. 2025-11-13 17:11:34 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 37c332554d Rename article.webFeed to article.feed. 2025-11-02 15:12:00 -08:00
Brent Simmons 3de54a6862 Add main-thread assertion. 2025-09-28 12:09:58 -07:00
Brent Simmons 363dedb29d Assert that this is running on main thread. 2025-09-23 10:11:49 -07:00
Brent Simmons 2c0da64ddd Use AppDefaults.shared. 2025-09-22 22:20:03 -07:00
Brent Simmons 17296b5ebf Adde shared WebViewConfiguration. 2025-09-22 21:28:03 -07:00
Brent Simmons c6585994fb Skip underlining images that are links in the default theme. Fix #4574. 2025-09-15 11:54:40 -07:00
Nate Weaver d34031a4f6 Fix footnote popovers overlapping nearby later footnote bubbles 2025-04-28 21:20:33 -07:00
Teddy Bradford 48fc3f4c6b Add top margin to figcaption
Currently there is no margin between `img` and `figcaption` inside `figure`.

This change adds a small margin so that the text has some breathing room.
2025-04-27 21:50:15 -07:00
Stuart Breckenridge df2c126076 💄 Stops footnote links being inadvertently hidden
Stops `display: none` applying to `.newsfoot-footnote-popover a[href*='#fn’]`. This was indavertently hiding `<a>` elements where the href contains `#fn`…thus a link inside a footnote that links to another footnote was being hidden. Fixes #4485
2025-04-27 12:38:30 -07:00
Stuart Breckenridge a9f33643f6 🩹 Fixes memory leaks caused by NSString usage 2025-04-27 12:19:51 -07:00
Brent Simmons 59c09187c4 Fix link style when displayed in a footnote popover. Fix #4564. 2025-04-26 10:49:03 -07:00
Brent Simmons dccaa9c6f5 Add CSS for <u> item inside <a>. Fix double-underlines on 404 Media links — fix #4578. 2025-04-25 21:39:57 -07:00
Brent Simmons 2826913235 Add and use ArticleRenderingSpecialCases — the one special case is The Verge’s feed. This works around their bug. 2025-04-25 21:14:35 -07:00
Stuart Breckenridge 6407ff6966 💄 Modernises table view styling. 2025-01-12 20:44:42 -08:00
Brent Simmons cc0058c975 Remove unwanted underline from footnotes (sup elements with a link). 2024-12-30 18:17:10 -08:00
Brent Simmons 1e344addf9 Style link text underlines rather than using border-bottom for link underlines. 2024-12-30 17:45:13 -08:00
Brent Simmons 453489bd47 Specify SF Mono Regular for code and pre blocks — fix an issue where it was choosing a too-heavy SF Mono. 2024-12-16 07:21:19 -08:00
Brent Simmons 38bb3d1326 Update default theme with changes from John Gruber. (Feed formerly known as DFAlt.) 2024-12-14 21:21:03 -08:00
Brent Simmons 6860637912 Restore showing link in status bar on hover. 2023-12-01 17:10:01 -08:00
Brent Simmons 279a99259e Use WKUserScript to inject scripts into the page. Use permalink as base URL. 2023-11-25 11:29:56 -08:00