225 Commits

Author SHA1 Message Date
Brent Simmons
f1640d8d09 Fix lint issues. 2025-01-24 22:13:01 -08:00
Brent Simmons
bbef99f2d3 Fix lint issues. 2025-01-22 22:18:09 -08:00
Brent Simmons
27500633ab Fix lint issues. 2025-01-22 21:57:59 -08:00
Brent Simmons
97757a567f Unify DetailIconSchemeHandler and ArticleIconSchemeHandler into one shared ArticleIconSchemeHandler. 2025-01-20 14:28:23 -08:00
Brent Simmons
ef09d80d44 Remove unneeded semicolons. 2025-01-19 22:13:28 -08:00
Brent Simmons
1db92f75a4 Delete PreloadedWebView and WebViewProvider. Create WebViewConfiguration for shared web view configuration code. 2025-01-15 21:55:09 -08:00
Brent Simmons
7322301be3 Move ContextMenuPreviewViewController out of storyboard and into xib. 2025-01-14 19:44:32 -08:00
Brent Simmons
5a43886640 Move ImageViewController out of storyboard and into its own xib. 2025-01-12 21:55:09 -08:00
Stuart Breckenridge
c44bdbed46
🚑Fixes #4483 by showing bars on rotation
On rotation, if the device is a .phone and it is transitioning to a `.regular` horizontal size class—it’s big—bars in the article view are surfaced to workaround a crash. This doesn’t affect behaviour on smaller iPhones or iPads.
2025-01-13 12:16:13 +08:00
Brent Simmons
7196f2f994 Create and use logicalArticleFullscreenEnabled — so it can’t think it’s in fullscreen mode without fullscreen mode being allowed. 2025-01-11 22:02:07 -08:00
Brent Simmons
59af6041ca Get Mac and iOS builds building. 2025-01-03 22:58:25 -08:00
Brent Simmons
0d70b9f4ad Reconcile with 6.1.6-ios branch. 2025-01-03 14:45:03 -08:00
Brent Simmons
62ad4d6e3b Reconcile with 6.1.6-ios branch. 2025-01-03 11:48:19 -08:00
Brent Simmons
4f0cacdd3f Fix several iOS 17 deprecation warnings. 2024-11-03 22:40:38 -08:00
Brent Simmons
62b08a4ee9 Remove no longer needed uses of @available. 2024-11-02 11:36:18 -07:00
Brent Simmons
4fa4c6a541 Continue renaming webFeed to feed. 2024-11-02 11:08:58 -07:00
Brent Simmons
fac4eded60 Continue renaming webFeed to feed. 2024-11-01 21:58:47 -07:00
Brent Simmons
1c6df38bcc Rename WebFeedIconDownloader to FeedIconDownloader. 2024-11-01 21:46:26 -07:00
Brent Simmons
3ce2a1c848 Fix warning about needing to mark WebKit as @preconcurrency. 2024-11-01 21:09:55 -07:00
Brent Simmons
4f5d287ef8 Remove last references to isFeedProvider. Fix a couple warnings. 2023-06-28 15:05:18 -07:00
Dimitris Apostolou
94ae4d348c
Fix typos 2022-01-05 00:25:20 +02:00
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
f44308c0c5 Make state restoration work on both the iPad and the iPhone 2021-09-13 02:22:15 -05:00
Maurice Parker
5001d82355 Restore article scroll position on iOS 2021-09-13 01:11:23 -05:00
Maurice Parker
7646029f2e Reload the web view when the Theme changes 2021-09-12 15:44:24 -05:00
Maurice Parker
512e83d786 Refactor Styles to now be Themes 2021-09-07 16:58:06 -05:00
Maurice Parker
56bbfe713b Fix regression that prevented universal links from working 2021-09-01 14:13:04 -05:00
Stuart Breckenridge
178e737040 Converts to a browser preference to a Bool. 2021-08-26 10:27:23 +08:00
Stuart Breckenridge
3bc18e2891 Reduces Browsers to in-app and system default 2021-08-25 15:05:18 +08:00
Stuart Breckenridge
08a1120e00
Adds app default option
Adds app defaults option for controlling link opening preferences.

Adds browser logic and images.

Browser Manager Updates

- Handles deletion of current browser
- Fixes detection of installed browsers by moving URL Types to LSApplicationQuery
- Updates icons to glyphs
- Context menus update

tidy up

- removes browser specific options and offers in-app or default browser options (can be enabled via a bool)
- adds 1Password as an option
- removes custom wording on context menus

Fixes

- makes sure browser options are available on iPad
- uses VibrantCell
- Changes Settings title to "Open Links In"
2021-08-23 23:01:48 +08:00
Maurice Parker
b3773ad01b Implement the WKUIDelegate method that is reached when JavaScript in a web view invokes window.open(). This ensures that attempts to open links from code, such as from the YouTube embedded video player, work as expected. Fixes #3088. 2021-07-29 16:48:42 -05:00
Maurice Parker
f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05:00
Maurice Parker
7e820c58e5 Reload the webview when rotating the device on an iPhone. Fixes #3041 2021-05-04 21:44:55 -05:00
Duncan Babbage
9092d075a0 Handle links with unencoded spaces. Fixes #3069 2021-04-28 22:49:32 +12:00
Stuart Breckenridge
0a433b8573
Disables reader view in iOS for Feed Providers 2021-04-10 09:03:08 +08:00
Maurice Parker
cc6449ed2a Merge branch 'ios-candidate' into main 2021-04-03 11:10:04 -05:00
Maurice Parker
0d5de9c325 Renamed Open in Safari activity to Open in Browser 2021-04-03 09:06:51 -05:00
Stuart Breckenridge
1e578828e9
: class chnaged to : AnyObject for protocols 2021-02-06 07:06:45 +08:00
Stuart Breckenridge
f85c1234a5
Adds to the URL-Extensions file 2021-01-09 06:09:50 +08:00
Stuart Breckenridge
ea77504f3a
percent encodes email addresses 2021-01-09 05:56:13 +08:00
Stuart Breckenridge
c59e3e4ddf
Emails
Acquiesce to the user’s request for a different default mail app.
2021-01-08 12:15:16 +08:00
Maurice Parker
71cdf2548d Don't use the commands from the KeyboardManager if the user is typing in a text field. Fixes #2437 2020-11-20 13:00:58 -06:00
Maurice Parker
def0bfea27 Add menu separators to article view context menu. 2020-11-13 10:18:48 -06: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
a500166af0 Merge branch 'ios-release' into main 2020-08-15 11:03:29 -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
Stuart Breckenridge
7183b853bd
#2256
Fixes #2256
2020-07-13 14:24:57 +08:00
Maurice Parker
95a8f6d72d Merge branch 'swiftui' 2020-07-10 15:28:14 -05:00