Commit Graph

129 Commits

Author SHA1 Message Date
Sebastian Kaspari
e435a2f994 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3738: Depend on "fat" GeckoView build from browser-engine-gecko-beta. 2019-07-15 12:12:10 +02:00
Arturo Mejia
c9e335fe22 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3743: Adding TrackingProtectionPolicy.CookiePolicy 2019-07-12 12:09:02 -04:00
Sebastian Kaspari
662ac4497b [components] Issue https://github.com/mozilla-mobile/android-components/issues/3616: (Merge day) browser-engine-gecko-nightly (69) -> browser-engine-gecko-beta (69) 2019-07-12 09:31:29 +02: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
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
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
8d8fe4614e [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in browser-engine-gecko-beta. 2019-06-12 10:11:27 +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
Sebastian Kaspari
0343df4169 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3188: Uplift recording devices API to browser-engine-gecko-beta. 2019-06-05 11:40:21 +02:00
James Hugman
fc5877991a [components] Closes https://github.com/mozilla-mobile/android-components/issues/3217 Add extra reset of requestFromWebContent flag so app-links detection is less sensitive. 2019-06-04 15:57:42 +01:00
Tiger Oakes
9c9c72e3ac [components] Implement canScrollVerticallyUp in gecko beta 2019-06-03 07:02:13 -07:00
James Hugman
e42ec7e563 [components] Fixes https://github.com/mozilla-mobile/android-components/issues/3205 - Track whether or not a loadRequest comes from web content. 2019-05-31 14:30:33 -04: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
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
James Hugman
e033430a5f [components] Ensure page reload is available after error pages are displayed 2019-05-23 20:49:47 +01:00
Christian Sadilek
06287dca30 [components] Issue https://github.com/mozilla-mobile/android-components/issues/3026: Fix crash when device has a global font size other than 1.0 2019-05-23 10:58:36 -04:00
Sebastian Kaspari
d56703cd00 [components] (Merge day) browser-engine-gecko-nightly (68) -> browser-engine-gecko-beta (68). 2019-05-22 10:35:30 -04:00
Sebastian Kaspari
2612b3bd2d [components] (Merge day) browser-engine-gecko-beta (67) -> browser-engine-gecko-release (67). 2019-05-22 10:35:30 -04:00
Arturo Mejia
048a4068ab [components] Closes https://github.com/mozilla-mobile/android-components/issues/2725: Add safe browsing categories to TrackingProtectionPolicy. 2019-05-17 14:40:16 -04:00
Sawyer Blatz
2c44078c95 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2982: Enables desktop viewport when requesting desktop 2019-05-14 17:46:42 -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
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
f4bf46d4dc [components] Improve onVisited comments 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
Christian Sadilek
8ee3139bf2 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2243: Add engine API for WebExtension messaging 2019-04-25 11:18:58 -04:00
Christian Sadilek
1e5c342886 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2439: Tests creating GeckoView instance block indefinitely 2019-04-16 11:58:58 -04:00
Sebastian Kaspari
553018302a [components] Closes https://github.com/mozilla-mobile/android-components/issues/2736: Update GeckoView Nightly to 68.0.20190414095735. 2019-04-15 20:16:07 +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
Sebastian Kaspari
b2d63853c9 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2497: Update GeckoView Nightly to 68.0.20190329094433 and new state API. 2019-03-29 10:41:41 -04:00
James Hugman
6a42a67585 [components] Add tests. 2019-03-29 10:54:36 +01:00
James Hugman
643a1d68bf [components] Expose automaticFontSizeAdjustment 2019-03-29 10:54:36 +01:00
Sebastian Kaspari
e50ce3ce23 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2374: (Merge day) browser-engine-gecko-nightly (67) -> browser-engine-gecko-beta (67). 2019-03-21 10:00:53 +01:00
Arturo Mejia
509556dee9 [components] Moving captureThumbnail from EngineSession to EngineView. 2019-03-13 10:33:47 -04:00
Sebastian Kaspari
f3bce57be0 [components] browser-engine-gecko-*: Explicitly set autofill flag. 2019-02-21 12:50:47 -05:00
Sebastian Kaspari
0e221d7f88 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2087: Update to GeckoView Nightly 67.0.20190220040540. 2019-02-20 13:50:04 -05:00
Arturo Mejia
cefd0d0c0f [components] Closes https://github.com/mozilla-mobile/android-components/issues/1949: Adding feature-sitepermissions component 2019-02-11 15:32:52 -05:00
Arturo Mejia
b84ab929c5 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1472: Adding support for JavaScript confirm dialogs. 2019-02-11 10:39:19 -05:00
Dmitry Borodin
640b16f232 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1028: Add x86 servo build variant 2019-02-07 13:47:21 +01:00
Sebastian Kaspari
c96e003d11 [components] (Merge day) browser-engine-gecko-nightly (66) -> browser-engine-gecko-beta (66). 2019-01-30 15:20:42 +01:00
Arturo Mejia
640327f0f3 [components] Making activeMatchOrdinal zero based in GeckoEngineSession 2019-01-28 20:41:56 -05:00
Arturo Mejia
dadac1d1b0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1473: Adding support for pop-up dialog when opening a new window
for GeckoEngine.
2019-01-23 20:24:44 -05:00
Arturo Mejia
ceaa77c0a7 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1771:Adding support for single choice items with sub-menus group 2019-01-21 13:02:05 -05:00
Christian Sadilek
3d2ba10d9e [components] Closes https://github.com/mozilla-mobile/android-components/issues/1714: Support enabling tracking protection for session type 2019-01-16 13:26:32 -05:00
Arturo Mejia
d65452df54 [components] Refactoring PromptsFeature 2019-01-16 10:32:29 -05:00
Arturo Mejia
136cfacf1c [components] Closes https://github.com/mozilla-mobile/android-components/issues/1471: Add support for text prompts dialogs. 2019-01-16 10:32:29 -05:00
Sebastian Kaspari
1a971da296 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1681 - Add ClipboardSuggestionProvider for providing URL suggestions from clipboard. 2019-01-15 18:52:17 +01:00