Commit Graph
150 Commits
Author SHA1 Message Date
Brent Simmons d1829e4983 Set userInterfaceStyle on SFSafariViewController in hopes of mitigating the flash of white that can happen when in dark mode. Fixes #5383. 2026-08-05 09:32:59 -07:00
Brent Simmons b5278c58a9 Exit element fullscreen before re-rendering or tearing down the article web view. Fixes #5382. 2026-08-04 11:49:57 -07:00
Brent Simmons 4795efbed4 Ignore late scroll position callbacks that arrive after the article has changed. 2026-08-03 09:30:45 -07:00
Brent Simmons 4021fb3639 Fix bug where reader view articles could open scrolled to the middle instead of the top. Fixes #5243. 2026-08-03 09:27:27 -07:00
Brent Simmons 276fcab290 Don't open a browser when WebKit reports a tap on an embedded video's controls as a link activation targeting the media source. Fixes #3788. 2026-08-02 17:22:27 -07:00
Brent Simmons 8cce44d768 Cancel the pending image download when web view activity stops, so a late completion can't present the image viewer. 2026-08-02 16:59:39 -07:00
Brent Simmons bec611c1fc Fix blank UI after dismissing a full-screen image. Fixes #3641. 2026-08-02 16:57:28 -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 e99f23d07e Recover from WebKit content-process termination — refresh the preloaded web view pool on foreground, and never render into a web view whose process died. Fixes #5310. 2026-07-26 11:29:04 -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 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 1665d2a055 Revert fragile content loading monitoring. 2026-07-06 10:19:35 -07:00
Brent Simmons f6b8c18f48 Prevent JavaScript from navigating to another page. Fixes #4150. 2026-07-06 08:52:25 -07:00
Brent Simmons 85c000aad3 Add and use DownloadResponse. Note in activity log when a download was returned from the cache. 2026-06-18 09:08:02 -07:00
Brent Simmons fb05b944cf Regularize comments for localized strings so the Localizable.xcstrings file doesn't change just because we switched targets. 2026-06-06 14:43:31 -07:00
Brent Simmons 973b79a1fc Move images code to new Images module. 2026-05-29 10:46:00 -07:00
Brent Simmons 5bdfde3876 Dismiss share sheet on going to background so it doesn’t get stuck. Fixes #4269. 2026-05-27 13:27:50 -07:00
Brent Simmons 1818caecdd Fix bug, introduced in previous beta, where the bottom of the article view could get funky and low-res. Use the proper scroll effect API. 2026-05-23 22:25:49 -07:00
Brent Simmons 83a18dea94 Hide and show the scroll edge effect view to fix a bug with it obscuring the bottom of the fullscreen article view. Fixes #5298. 2026-05-21 12:23:32 -07:00
Brent Simmons dc7da4397f Revert showBars() fullscreen guard — was breaking toolbar visibility on state restoration. 2026-05-20 14:20:33 -07:00
Brent Simmons 474d881b31 Fix a WebKit crash with fullscreen content. 2026-05-20 10:37:18 -07:00
Brent Simmons c9d54214e3 Guard WebViewController.showBars() against running when bars aren't hidden. 2026-05-18 16:50:43 -07:00
Brent Simmons a8885d0444 Fix iOS crash on article disappear: don't animate showBars() in viewWillDisappear. 2026-05-18 16:24:30 -07:00
Stuart Breckenridge d44d20b20d 🐛 Fix full-screen article view
Remove the split view collapse check from the full-screen availability
condition and drop the trait collection transition override that forced
bars to appear on rotation. Fixes #5145.
2026-04-16 21:06:44 +08:00
Brent Simmons e96aa92fdb Fix bug hiding the space for the toolbar when in fullscreen. Fixes #5234. 2026-04-12 11:59:53 -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
Brent Simmons b71312134c Rename isNotifyAboutNewArticles to newArticleNotificationsEnabled. Rename isReaderViewAlwaysOn to readerViewAlwaysEnabled. 2026-03-07 13:58:56 -08:00
Brent Simmons c635cb9d06 Add debug code for writing rendered article HTML to disk. 2026-01-08 20:30:51 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons e96b92a4c3 Fix various SwiftLint warnings. 2026-01-02 10:45:46 -08:00
Brent Simmons 36956c0345 Fix various SwiftLint warnings. 2026-01-02 10:17:41 -08:00
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons 61e109a0d5 Fix various SwiftLint warnings. 2026-01-01 15:59:20 -08:00
Brent Simmons a0e9363127 Save state to UserDefaults. 2025-12-04 21:08:47 -08:00
Brent Simmons 599636b310 Create an SFSafariViewController safely — don’t crash on an unhandled Objective-C exception. 2025-12-04 09:32:46 -08:00
Brent Simmons beeeabba24 Convert AppAssets to shared Assets. 2025-11-19 10:38:18 -08:00
Brent Simmons 39ffd38461 Continue conversion from AppAssets to shared Assets. 2025-11-18 22:08:33 -08:00
Brent Simmons b7c7c09ea6 Fix various concurrency issues. 2025-11-18 19:07:17 -08:00
Brent Simmons 415a6f4661 Fix various concurrency issues. 2025-11-18 16:29:59 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons faba422eca Rename some instances of webfeed as feed. 2025-11-03 09:32:50 -08:00
Brent Simmons 48bb1b407c Rename some instances of webfeed as feed. 2025-11-02 16:17:42 -08:00
Brent Simmons 37c332554d Rename article.webFeed to article.feed. 2025-11-02 15:12:00 -08:00
Brent Simmons 69aa4e734f Fix deprecation warning. 2025-11-02 10:30:36 -08:00
Brent Simmons 5a8403c053 Download and display image, since we can no longer get the image from the webview due to security policies. 2025-09-28 11:51:42 -07:00
Brent Simmons 95d2d0e07b Remove extraneous whitespace. 2025-09-23 10:08:39 -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
Brent Simmons 4d930dd5e4 Restore changes reverted in previous beta. 2025-05-09 20:30:04 -07:00
Brent Simmons 9aa93166b7 Revert more changes since 6193 in hopes of fixing the scrolling bug. 2025-05-09 09:22:34 -07:00