Commit Graph

154 Commits

Author SHA1 Message Date
Tiger Oakes
0099bac510 [components] Turn on MagicNumber ignoreEnums rule 2019-07-15 11:41:43 -04:00
Simon Chae
46cb134dd8 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3666: Add useWideView=false desktopMode test case 2019-07-12 13:57:26 -04:00
Simon Chae
27cc28bd6c [components] Issue https://github.com/mozilla-mobile/android-components/issues/3666: Set desktopMode toggle against settings.useWideViewPort
For toggleDesktopMode()
2019-07-12 13:57:26 -04:00
Simon Chae
d0e8cbc06e [components] Issue https://github.com/mozilla-mobile/android-components/issues/3666: Make Settings.useWideViewPort nullable 2019-07-12 13:57:26 -04:00
Simon Chae
f0e777c486 [components] Issue https://github.com/mozilla-mobile/android-components/issues/3666: Apply useWideViewPort to WebSetting 2019-07-12 13:57:26 -04:00
Simon Chae
03fe096b30 [components] Issue https://github.com/mozilla-mobile/android-components/issues/3666: Add useWideViewPort setting and SystemEngineSession 2019-07-12 13:57:26 -04:00
Tiger Oakes
967bc87a29 [components] Replace String.toUri with Android KTX 2019-07-08 14:25:18 -04:00
Tiger Oakes
241c0462c7 [components] Fixes https://github.com/mozilla-mobile/android-components/pull/2587 - Show camera inside file prompt 2019-07-08 10:28:23 -04:00
Sebastian Kaspari
18af01ecbe [components] Issue https://github.com/mozilla-mobile/android-components/pull/3602: Add EngineView.release() for manually releasing session from view. 2019-07-03 14:44:40 +02:00
Tiger Oakes
d97e53bc16 [components] Reduce refs to Context in browser-engine-system 2019-07-02 16:19:31 -04:00
Christian Sadilek
8e73284828 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3521: Expose GeckoView load flags for loadUrl calls 2019-07-01 13:54:56 +02:00
Tiger Oakes
b248451666 [components] Issue https://github.com/mozilla-mobile/android-components/issues/3481 - Fix null checks before Android Q 2019-06-25 10:38:03 +02:00
Axel Hecht
0483091029 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@4c73402212
2019-06-24 07:39:01 -07:00
Sebastian Kaspari
d9cd74ad98 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2349: concept-engine: Add "version" property to Engine. 2019-06-14 14:30:07 +02:00
Denys M
1f8fc3fa5b [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Enable unit test binary resources globally.
Excluded few modules.
2019-06-13 09:29:52 +02:00
Denys M
eeab8c137e [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in browser-engine-system. 2019-06-12 15:19:42 +02:00
James Hugman
8768f56b97 [components] Fix https://github.com/mozilla-mobile/android-components/issues/3293 Feed request URL to session observer from different engines
This allows the slack:// (and other custom schemes).
2019-06-07 18:15:13 +01:00
Tiger Oakes
e7fdd7b70d [components] Turn on ComplexMethod ignore when expression lint 2019-06-07 10:18:31 +02:00
Denis Buzmakov
9f4c8b9e01 [components] Closes https://github.com/mozilla-mobile/android-components/issues/888: Use PixelCopy API on Oreo+ 2019-05-30 14:40:31 -07:00
Denis Buzmakov
0f6aa54106 [components] Closes https://github.com/mozilla-mobile/android-components/issues/888: Draw View on canvas instead of using drawing cache 2019-05-30 14:40:31 -07:00
James Hugman
6a99c552f1 [components] Fixes https://github.com/mozilla-mobile/android-components/issues/2976 Introduce feature-app-links
This includes UI in private tabs.

Squashed commits:
[180e515e8] Connect to Session Observer and thence to AppLinksFeature.
[77922dcc0] browser-engine-system tests passing
[045717868] lint etc
[6f7b44cad] Thread another Boolean through EngineObserver -> Session onLoadRequest
[18693cad0] Start testing the feature.
[5e0a93556] Fixup tests to use shadow package manager, and catch some new bugs.
[3a5976dde] Split use cases up for menu and intercepting cases.
[f7eae96dd] Address reviewer comments re: dead code and docs
[b15ffb88c] Rename triggeredByUserInteraction to loadRequestTriggeredByUserInteraction
[edc49b573] Move session observer into member of feature
[91ed1f5ac] Add changelog entry
[098dc5067] Add boolean flag to prevent interception of links
[f92731a44] Add load request/trigger by user interaction to session.observer
[46385577d] Move opening to another use case, with test
[56da7e7c1] Change into using feature
[643c9f453] Remove duplicate copyright
[6b3f80bbc] Add testing of get and a fragment for open use cases
[669c84567] Add AppLinksRedirectConfig and supporting use cases.

There is a url redirect creation use case, a load URL use case and an interceptor.
[72896a567] AppLinksUseCases detects if a URL can be opened with another non-browser app
[939eb62fa] Initial commit of empty feature-app-links
2019-05-30 16:36:16 +01:00
Tiger Oakes
c9500fd185 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1824 - Pull to Refresh 2019-05-29 13:04:55 -07:00
Christian Sadilek
04de05e949 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1798: Add clear data functionality to Gecko engine 2019-05-29 09:10:00 -04:00
Axel Hecht
a0bfba5cab [components] Import strings from android-l10n
Status: mozilla-l10n/android-l10n@edd6b0e79f
2019-05-21 10:18:16 -04:00
Denys M
82c19e96c7 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1628. Hide built-in WebView zoom controls in engine-system. 2019-05-16 14:31:48 -04:00
Sebastian Kaspari
8bd0491d94 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2675: Add EngineViewBottomBehavior to dynamically update vertical clipping when toolbar scrolls away.
This patch fixes issues with bottom-aligned web content that is drawn behind the toolbar, as described in:
- https://github.com/mozilla-mobile/fenix/issues/552
- https://github.com/mozilla-mobile/reference-browser/issues/464
2019-05-13 18:01:53 -04:00
Axel Hecht
646f870c78 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@4e63500774
2019-05-13 16:26:09 -04:00
Axel Hecht
f97de4a835 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@5fd2e49ca4
2019-05-08 08:49:54 -04:00
Stas Parshin
86325367a9 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1740: Add support for authentication alerts for SystemEngineView. 2019-05-07 09:08:05 -04:00
Axel Hecht
367c8dded3 [components] Import strings from android-l10n
Status: mozilla-l10n/android-l10n@68b2689e48
2019-05-06 10:15:22 -04:00
Sebastian Kaspari
5c54ec453d [components] Closes https://github.com/mozilla-mobile/android-components/issues/842: Migrate from support libraries to AndroidX. 2019-05-02 16:08:55 +02:00
Grisha Kruglov
66d17ffe07 [components] Update and expand Engine(Session) tests 2019-04-30 13:38:33 -07:00
Grisha Kruglov
b898bb7ef3 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2862: Make VisitType a requirement for HistoryTrackingDelegate's onVisited method
This shifts responsibility of constructing a VisitType for any given visit on the
caller of HistoryTrackingDelegate implementation, which is normally the engine.

This is generally what we want: engine is normally best suited to determine a visit type
for a URI that's currently being opened.
2019-04-30 13:38:33 -07:00
Grisha Kruglov
1afe4410dd [components] Closes https://github.com/mozilla-mobile/android-components/issues/2606: Blacklist URI schemas in the HistoryDelegate 2019-04-30 13:38:33 -07:00
Sebastian Kaspari
f4e9c9cf08 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2428: Update strings after L10N review. 2019-04-22 16:05:32 -04:00
Sebastian Kaspari
feffcaa2b1 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2771: Only clear Session.searchTerms after request initiated by the user. 2019-04-22 11:28:43 -04:00
Axel Hecht
1932da6b13 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@3d40a22318
2019-04-16 19:10:28 +02:00
Sebastian Kaspari
a46127d2cc [components] Update ktlint to 0.31.0. 2019-04-15 12:30:52 -04:00
Axel Hecht
b2feda5856 [components] Import strings from android-l10n
Status: mozilla-l10n/android-l10n@55d144eb8e
2019-04-15 10:39:54 +02:00
Axel Hecht
bc83b84756 [components] Import l10n from android-l10n
State: mozilla-l10n/android-l10n@932938a1ca
2019-04-05 10:44:34 +02:00
Axel Hecht
5ba3493451 [components] Import l10n from android-l10n
State: mozilla-l10n/android-l10n@7724298c8c
2019-04-04 10:56:14 +02:00
Sebastian Kaspari
a1aa6eb4b3 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2571: Add option to recover from crashed sessions. 2019-04-01 20:12:25 +02:00
Stas Parshin
77447f27a2 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2346: Fix Kotlin compiler warnings in browser-engine-system. 2019-03-25 13:14:55 +01:00
Axel Hecht
5c24536313 [components] Import localizations from mozilla-l10n/android-l10n 2019-03-22 16:06:44 +01:00
Arturo Mejia
65c64cc989 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1382: Add implementation for capture thumbnail of websites
on GeckoEngineView.
2019-03-13 10:33:47 -04:00
Arturo Mejia
509556dee9 [components] Moving captureThumbnail from EngineSession to EngineView. 2019-03-13 10:33:47 -04:00
Simon Chae
5ed63f3cb8 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2210: Allow setting custom webview instance 2019-02-27 16:58:29 -05:00
Sebastian Kaspari
c5c482eb26 [components] Update Robolectric to 4.2. 2019-02-20 19:20:42 -05:00
Arturo Mejia
c9b6d63781 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1814: Adding support for onJsConfirm dialogs in SystemEngine 2019-02-15 13:16:48 +01:00
Arturo Mejia
a3bf4c2287 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1815: Adding support for JavaScript prompts on SystemEngineView. 2019-02-06 13:33:24 -05:00