29 Commits
Author SHA1 Message Date
Brent Simmons 970c28e7c1 Refill web view pool synchronously so pending dequeue doesn’t hit an empty queue. 2026-11-16 08:08:00 -08:00
Brent Simmons 29b7bcb04c Enable/disable JavaScript per navigation instead of rebuilding web views. 2026-09-18 13:53:59 -07:00
Brent Simmons 9843bdb779 Rebuild web views on changing JavaScript-enabled setting. 2026-09-17 17:16:38 -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 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
Brent Simmons e3cf33b9dc Remove some web views when app is suspended. 2026-04-14 09:38:59 -07:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons 4fa0b65d98 Convert from default MainActor isolation to unspecified default isolation. 2025-11-17 21:53:40 -08:00
Brent Simmons b2875736b3 Simplify MainThreadOperation and MainThreadOperationQueue. Make MainThreadOperation a class instead of a protocol. (The extremely rare case where subclasses are a good idea.) 2025-11-11 19:09:33 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons f80d081874 Fix a typo. 2025-09-23 10:08:57 -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 ee9c14783f Revert webview changes that might be the cause of the no-scroll-on-coming-back-from-sleep bug. 2025-05-08 21:29:58 -07:00
Brent Simmons b7d4041781 Simplify WebView loading on iOS. 2025-04-28 21:00:31 -07:00
Maurice Parker cf8dbb26f7 Resolve issue where we could have a web view deallocated before getting displayed. 2020-09-01 18:54:46 -05:00
Maurice Parker acaeb4164a Fix issue where web views that never readied themselves would clog up the queue. 2020-09-01 18:27:55 -05:00
Maurice Parker 4c221058d8 Don't insert the web view into the queue until the preload process has already started. 2020-08-26 18:08:43 -05:00
Maurice Parker 84389e2cf4 Move from using views for the queue to using an array and remove unneeded flush of queue 2020-07-16 13:56:07 -05:00
Maurice Parker 4ba2ab4baa Complete the dequeue operation even if the web view navigation fails 2020-07-08 13:22:19 -05:00
Maurice Parker 46a96a7d50 Serialize access to the web view provider. Issue #2043 2020-05-07 11:32:11 -05:00
Maurice Parker 76d5f4a073 Remove flush and restore of web view queues. Issue #1882 2020-03-11 17:02:16 -06:00
Maurice Parker 5a5abb0b87 Ensure that the dom is fully loaded on *all* web views before being made available to process JavaScript. Issue #1756 & Issue #1808 2020-02-25 15:10:51 -08:00
Maurice Parker dfd6be5fa6 Flush are rebuild web view queue when suspending and restoring the app. Issue #1563 2020-02-04 16:00:26 -08:00
Maurice Parker 596575c0e8 Delay making the initial web view available to give it some time to load the DOM. Issue #1756 2020-02-01 16:41:10 -08:00
Maurice Parker ab8deab726 Correct object ownership to remove retain cycle 2020-01-30 12:53:27 -07:00
Maurice Parker f9589faa59 Keep queued WKWebViews in a hidden view until they are needed. Issue #1563 2020-01-29 17:39:40 -07:00
Maurice Parker 3a99e6430f Make the article icon code specify the desired article so that it can't pull the wrong one by mistake. Issue #1707 2020-01-27 12:58:32 -07:00
Maurice Parker 97d6c69431 Change to always reload the page when rendering an article. Issue #1713 2020-01-26 20:29:58 -07:00
Maurice Parker af76e44c0f Changed ArticleViewController to utilize UIPageViewController to provide gesture based navigation. 2019-12-31 16:55:39 -07:00