Commit Graph
320 Commits
Author SHA1 Message Date
Brent Simmons 3756e7fc75 Fix crashing bug (concurrency) observing UserDefaults did change notifications. 2026-09-18 17:23:50 -07:00
Brent Simmons 29b7bcb04c Enable/disable JavaScript per navigation instead of rebuilding web views. 2026-09-18 13:53:59 -07:00
Brent Simmons 8b8d8cec5f Disable JavaScript for Slashdot, no matter what user setting says. See <https://discourse.netnewswire.com/t/dickover-in-the-slashdot-rss-feed/372> 2026-09-18 13:45:34 -07:00
Brent Simmons 9843bdb779 Rebuild web views on changing JavaScript-enabled setting. 2026-09-17 17:16:38 -07:00
Brent Simmons 26de11a799 Fix bug where a custom gesture recognizer delegate could prevent timeline rows from being tapped on iOS 27 beta. 2026-08-14 10:29:24 -07:00
Brent Simmons d7f1d1694c Keep the article web view alive while it's in element fullscreen, so deallocating it mid-transition can't trigger the WebKit crash in WebFullScreenManagerProxy. Fixes #5382. 2026-08-10 09:36:14 -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 9256a6858a Stop overriding UISplitViewController.show(_:) which causes issues with tapping timeline rows (and other issues). 2026-08-06 13:05:39 -07:00
Brent Simmons 00efcc2bcf Defer the pending article page flush until the swipe transition has finished, to avoid a UIKit assertion crash. Fixes #5384. 2026-08-05 09:37:56 -07:00
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 6d259827f0 Use a constant logging system name instead of getting it from Bundle. 2026-08-02 10:33:23 -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 e306d3bd34 Use Safari icon instead of globe to match other open-in-browser commands. Fixes #3712. 2026-07-05 21:20:57 -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 7b136b6bbe Fix UIPageViewController setViewControllers crash by re-checking transition state in async block. 2026-05-30 12:54:49 -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 98b05ca283 Put image view in navigation controller so that close and share buttons are laid out properly (ignoring iPad traffic lights). Fixes #5260. 2026-05-27 11:38:09 -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 b100374065 Fix iOS pager crash: defer setViewControllers when called during active UIPageViewController transition. 2026-05-18 16:41:21 -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
Brent Simmons 8a176dfcdb Revert change that emptied the webview cache, since that seemed to trigger an intermittent bug. Fixes #5280. 2026-04-27 11:45:01 -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 e3cf33b9dc Remove some web views when app is suspended. 2026-04-14 09:38:59 -07:00
Brent Simmons 53b240e383 Expand the hit point of the reader view button. Fixes #5144. 2026-04-12 15:49:35 -07: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 c12970dfc4 Space out the toolbar items on iOS 17/18. Give the article extractor button a stable width, so it doesn’t change widths when the progress indicator is showing. 2026-04-02 10:33:14 -07:00
Brent Simmons 948dbaf10a Use a spinning progress indicator in place of the reader view when it’s been pressed, while it’s fetching the reader view version. Disable the button while it’s in progress to prevent accidentally turning it off. 2026-04-01 17:29:20 -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 50af78936c Fix bug on iOS 17 and 18 where the article content would be active and not blurred behind the navbar. 2026-03-31 09:02:00 -07:00
Brent Simmons 95dfaae20c Make sure reader button has no tint on iOS 26 and up. 2026-03-30 09:40:27 -07:00
Brent Simmons 5974d0adc4 Make sure next unread button is centered in article view toolbar. 2026-03-30 09:17:27 -07:00
Brent Simmons d4a95ae007 Fix tint color for reader view button. 2026-03-29 22:12:33 -07:00