Commit Graph

101 Commits

Author SHA1 Message Date
Maurice Parker e5a9205747 Always reload the web view when the showing state changes. Issue #1775 2020-02-06 11:41:06 -08:00
Maurice Parker 268c20da56 Set all the web view delegates to nil when recycling to prevent unintended behaviors. Issue #1777 2020-02-06 10:36:39 -08:00
Maurice Parker d1f1ca22b6 Add a hack to prevent horizontal scrolling on iPad. Issue #1714 2020-02-05 13:46:59 -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 8ed9958631 Change full article setting to enable or disable the feature. Issue #1773 2020-02-04 11:24:06 -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 8cb28b63b8 Always swap out the web view to prevent white flashing between articles and make loading faster. 2020-01-31 21:07:08 -07:00
Maurice Parker a0f429448f Call completions immediately if the previous WebViewController was deallocated because the iPad was rotated. Issue #1757 2020-01-30 18:48:51 -07:00
Maurice Parker ab8deab726 Correct object ownership to remove retain cycle 2020-01-30 12:53:27 -07:00
Nate Weaver 447cc44b8e Put <title> and <base> in the <head> instead of <body>
This also means renderHTML() is no longer needed.
2020-01-30 06:15:14 -06: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 c293bc3a12 Animate timeline article selection and scrolling when done via article swiping. Issue #1732 2020-01-29 16:31:50 -07:00
Maurice Parker f96bb9c3e0 Store more article view controller state when destroying and recreating them. Issue #1729 2020-01-29 11:30:52 -07:00
Maurice Parker dd5633b5ae Change to use the correct URL when reloading an image. 2020-01-27 16:27:13 -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 470f2159e8 Remove dead code left from when WebViewController was split from ArticleViewController. 2020-01-27 11:50:28 -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 4a63b28c73 Change how next and previous articles are selected so that animation timings can't impact them. Issue #1707 2020-01-26 14:21:04 -07:00
Maurice Parker bc5a8c3705 Reset scroll position when article is reset. Issue #1716 2020-01-26 13:01:03 -07:00
Maurice Parker 785775801a Don't force cast scrollY as it might not always be set. Issue #1685 2020-01-25 15:36:43 -07:00
Maurice Parker deab8f8c6c Change to stop recycling the article view controller when switching panel modes on the iPad. Issue #1570 2020-01-21 11:05:47 -07:00
Maurice Parker 61c854b031 Fix animation layer stripping. Issue #1668 2020-01-20 13:16:03 -07:00
Martin Hartl 3370b834b0 Stop media playback when article will disappear 2020-01-20 19:46:23 +01:00
Maurice Parker 7e35bd1ec4 Remove unused parameter. It was obsoleted, but not removed. 2020-01-19 15:36:19 -07:00
Maurice Parker 88f565e03f Use the DOM Y position to restore the scroll offset. This mostly fixes Issue #1494. 2020-01-19 11:48:26 -07:00
Maurice Parker f0d8a9038d Reload the web view every 10 renderings to clean it up. Issue #1487 2020-01-18 11:59:24 -07:00
Maurice Parker 34984551c6 Fully reload the page when the content size changes. Issue #1642 2020-01-17 12:53:50 -07:00
Maurice Parker f9e529bd3b Fix multiwindow auto layout errors. Issue #1636 2020-01-16 21:29:10 -07:00
Maurice Parker 2584462bc1 Fix scrolling code so that it takes into consideration the content is under the bars now. Issue #1633 2020-01-16 19:40:13 -07:00
Maurice Parker 4eedd96507 Fix regression that prevented Safari from opening from Activity dialog. 2020-01-15 18:23:09 -07:00
Maurice Parker 3e604e0b34 Load the feed article if the extracted article fails to parse. Issue #1542 2020-01-15 17:34:02 -07:00
Maurice Parker c384362a78 Set extractor button state on viewDidLoad. Issue #1627 2020-01-15 17:28:37 -07:00
Kiel Gillard 0d0b6b8fa6 Gives iOS a chance to open universal links. #1625 2020-01-16 09:56:51 +11:00
Martin Hartl c739d77817 Provide dedicated TitleActivityItemSource when sharing to Omnifocus and Things 2020-01-11 09:12:41 +01:00
Maurice Parker f1e01bd43f Automatically show the nav and toolbars when separating controllers. Issue #1593 2020-01-09 21:22:29 -07:00
Maurice Parker 1b1b3e796e Shoehorn the controller into the little area allowed for context previews in landscape. Issue #1569 2020-01-09 21:11:13 -07:00
Maurice Parker 9fedf68b3f Add action to Share button to open in Safari. Issue #1573 2020-01-09 18:27:52 -07:00
Maurice Parker 3115abc72e Enhance accessibility for toggle toolbar buttons. Issue #1581 2020-01-09 14:38:25 -07:00
Maurice Parker 96c781f468 Change so that we don't crash if the article extractor completes and its delegate is deallocated. Issue #1566 2020-01-08 11:22:11 -07:00
Maurice Parker 15569e62b2 Prevent crash when the web view load hasn't set up the tap zone constraints. Issue #1564 2020-01-08 10:54:41 -07:00
Maurice Parker c2d298b836 Add the image title text to zoomed images. Issue #1468 2019-12-31 18:06:27 -07:00
Maurice Parker f0a5309786 Fix bug that prevented first article from being selected on iPad. 2019-12-31 17:06:13 -07:00
Maurice Parker af76e44c0f Changed ArticleViewController to utilize UIPageViewController to provide gesture based navigation. 2019-12-31 16:55:39 -07:00
Maurice Parker 00ed368683 Change the full screen tap zone to be the center of the navigation bar instead of the whole navigation bar. Issue #1450. 2019-12-26 12:21:56 -07:00
Brent Simmons 15184aa3f1 Finish changes mandated by DatabaseQueue changes. 2019-12-16 22:45:59 -08:00
Maurice Parker 6f2e6a7d9a Add mask back in so that the zoom image doesn't overlay the bars when zooming back. 2019-12-10 17:54:14 -07:00
Maurice Parker 9b3793968f Change image zoom animation to take safe area into consideration when determining image origin. Issue #1425 2019-12-09 14:29:17 -07:00
Maurice Parker 2ea8253e25 Make navigation and toolbars transparent. Issue #1413 2019-12-07 11:53:53 -07:00
Maurice Parker 87a82eb290 Remove attempt to remove the context menu interaction. 2019-11-29 18:16:27 -06:00
Maurice Parker d62ff04c64 Fix next unread menu option when in fullscreen. 2019-11-29 13:26:14 -06:00