Commit Graph
335 Commits
Author SHA1 Message Date
Brent Simmons 9bc39f5172 Split ThumbnailDownloader out from ArticleThumbnailFinder. 2026-11-03 13:40:27 -08:00
Brent Simmons dc27b508b3 Make IconImageCache the source of icon notifications. 2026-11-03 11:53:31 -08:00
Brent Simmons 966641c723 Remove SingleFaviconDownloader. 2026-11-03 11:36:06 -08:00
Brent Simmons ab921e0885 Reload article view icon only if it’s for the articles feed icon, favicon, or authors. 2026-11-02 16:54:53 -08:00
Brent Simmons e485ea07d9 Finish every article icon scheme task and don’t call a stopped one. 2026-11-02 16:09:39 -08:00
Brent Simmons 60640b235e Use timeline copy in iOS image viewer only if correctly signed. 2026-10-29 12:30:00 -07:00
Brent Simmons f5b5f28ff2 Add routesThumbnailImages so that only webviews get the local image cache URL scheme. 2026-10-28 10:09:49 -07:00
Brent Simmons 640878163e Open image in image viewer from local copy. 2026-10-27 14:29:05 -07:00
Brent Simmons 2ce850441b Make AppDefaults an enum instead of singleton class. 2026-10-22 13:46:32 -07:00
Brent Simmons 59c0afe4a9 Respect the user preference for JavaScript so that YouTube embedded videos and similar appear in the preview when they should. 2026-10-22 09:45:12 -07:00
Brent Simmons c5b524b5ea Create and use a new ArticlePreviewViewController for contextual menu preview since it doesn’t have the side effects of WebViewController. 2026-10-21 21:57:51 -07:00
Brent Simmons bdc0c02553 Merge branch 'main' into main 2026-10-21 21:18:37 -07:00
Brent Simmons c70a7ab4a7 Make iOS 18 the minimum target. 2026-10-21 19:05:11 -07:00
Stuart Breckenridge ea9adedb50 Merge branch 'experiments/posh-previews' 2026-10-14 20:49:50 +08:00
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