Commit Graph

36 Commits

Author SHA1 Message Date
Brian Sanders
a731397486 Fixes #2369: Video playback is reset on rotation
The viewWillTransition(to:with:) method in WebViewController was introduced to
fix #3041, so I added an alternative solution using a resize handler in JS.
2021-12-04 18:43:53 -05:00
Maurice Parker
913e2e0666 Scale super large images down so that they can be drawn on the canvas 2021-04-07 19:31:46 -05:00
Brian Sanders
b058f27064 Fixes bugs in article search
Placement of the article search bar is now always done with constraints.
Previously, I'd used inputAccessoryView when the keyboard appeared. That
approach, although ostensibly permitted, causes a hierarchy inconsistency error
when the device orientation changes.
2020-05-15 21:41:14 -04:00
Brian Sanders
46ce824b98 Adds guard against empty search strings to Find in Article 2020-05-15 21:41:14 -04:00
Brian Sanders
2631f4f3f0 Alters search highlights so they don't intercept pointer events 2020-05-15 21:41:14 -04:00
Brian Sanders
edb7c50cb3 Improves incremental search for "Find in Article"
Article search now maintains its position in the document, if possible.
2020-05-15 21:41:14 -04:00
Brian Sanders
98e0434077 Alters Find in Article to escape regex characters by default 2020-05-15 21:40:22 -04:00
Brian Sanders
737f4bfdf5 Adds "Find in Article" activity to the share sheet
addresses #1750
2020-05-11 17:08:44 -04:00
Maurice Parker
9429f36095 Don't image zoom any previews that are just links out 2020-05-06 21:56:01 -05:00
Maurice Parker
14d8e9af30 Merge branch 'ios-release' 2020-05-06 15:12:25 -05:00
Maurice Parker
502ff3e019 Don't multiply by the device pixel ratio if that will put us over the canvas limit 2020-05-06 14:55:34 -05:00
Maurice Parker
38f992d01d Degrade zoom image quality rather than failing 2020-05-06 11:43:50 -05:00
Maurice Parker
d5a4f1625a Take device pixel ratio into consideration when drawing the image to zoom. Issue #2032 2020-05-01 16:24:29 -05:00
Maurice Parker
898681dfe6 Take device resolution into consideration when drawing image. Issue #2032 2020-04-30 15:34:17 -05:00
Maurice Parker
a48cbfe1ca Add code to show the Feed Inspector when the feed icon in the article view is pressed. Issue #1931 2020-04-28 21:26:57 -05:00
Maurice Parker
5e4ebb7298 Disallow the feed icon from the image zooming. 2020-04-28 21:03:21 -05:00
Maurice Parker
c1bb75f21e Deleted dead code 2020-04-28 20:42:31 -05:00
Maurice Parker
e6c5d2f199 Merge branch 'ios-release' 2020-04-11 15:59:37 -05:00
Maurice Parker
02f62bbb61 Fix image cropping. Issue #1967 2020-04-11 15:11:12 -05:00
Maurice Parker
6d085fdacf Inline videos and enable player controls for both Mac and iOS. Issue #1952 2020-03-28 00:56:29 -05:00
Maurice Parker
94c6ca428f Merge branch 'mac-release' 2020-03-01 16:32:31 -08:00
Maurice Parker
ad7dde8564 Merge branch 'ios-candidate' 2020-02-21 17:02:14 -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
Martin Hartl
3370b834b0 Stop media playback when article will disappear 2020-01-20 19:46:23 +01:00
Maurice Parker
3c1668c178 Make Feedbin/Twitter video usable. Issue #718 2020-01-17 12:17:38 -07:00
Maurice Parker
bd29a030e5 Make sure that the imageWasShown message always gets posted, even if the web view got reloaded. Issue #1586 2020-01-15 18:09:47 -07:00
Maurice Parker
5cd466e9fc Merge pull request #1579 from benubois/image_viewer
Use existing image for image viewer.
2020-01-09 13:00:42 -07:00
Ben Ubois
bf39ea7688 Use existing image for image viewer.
This should improve performance of the image viewer since it uses
the image data on the page instead of triggering a new download.
2020-01-09 15:18:43 +01:00
Maurice Parker
c2d298b836 Add the image title text to zoomed images. Issue #1468 2019-12-31 18:06:27 -07:00
Maurice Parker
fe7f6bb8df Make image zoom fetch requests cancellable. Issue #1178 2019-10-30 11:06:55 -05:00
Maurice Parker
575b875afa Make zoom image code more resilient on slow networks 2019-10-19 16:54:55 -05:00
Maurice Parker
3a314d2db7 Add activity indicator for image fetches. 2019-10-19 16:25:06 -05:00
Maurice Parker
cb6490222f Change image zoom animation to be a solid picture zooming in and out 2019-10-16 16:40:49 -05:00
Maurice Parker
51373885b4 Change javascript event handlers to use event.target.matches instead of walking the dom to install event handlers 2019-10-15 09:04:21 -05:00
Maurice Parker
4759cedd35 Use Javascript to fetch to the image for the ImageViewController 2019-10-13 19:41:34 -05:00
Maurice Parker
a1f26898c8 Split Mac and iOS specific javascript into individual files. 2019-10-13 15:47:11 -05:00