Commit Graph
166 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 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 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
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 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 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
Stuart Breckenridge 2a457b4c8f ✨ Adds posh context menus 2026-02-03 20:35:00 +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