Commit Graph

117 Commits

Author SHA1 Message Date
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
2c2b976ad0 [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in browser-engine-gecko. 2019-06-11 15:12: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
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
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
Sebastian Kaspari
2612b3bd2d [components] (Merge day) browser-engine-gecko-beta (67) -> browser-engine-gecko-release (67). 2019-05-22 10:35:30 -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
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
64ae21d78b [components] Issue https://github.com/mozilla-mobile/android-components/issues/2374: (Merge day) browser-engine-gecko-beta (66) -> browser-engine-gecko-release (66). 2019-03-21 10:00:53 +01:00
Arturo Mejia
2f7fa2366d [components] Closes https://github.com/mozilla-mobile/android-components/issues/2127 and https://github.com/mozilla-mobile/android-components/issues/2351: Integrating store to site permissions
feature flow.
2019-03-19 14:49:43 -04: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
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
1650a04cb8 [components] (Merge day) browser-engine-gecko-beta (65) -> browser-engine-gecko-release (65). 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
Arturo Mejia
c6130f8df7 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1530: Add support for html input datetime-local and time
for GeckoEngine.
2019-01-14 12:57:55 -05:00
Arturo Mejia
f3b43b529d [components] Closes https://github.com/mozilla-mobile/android-components/issues/1469: Added support for input type color. 2019-01-14 09:47:48 -05:00
Arturo Mejia
0a79d8a79f [components] Closes https://github.com/mozilla-mobile/android-components/issues/1470: Add support for Authentication dialogs. 2019-01-11 14:24:07 -05:00
Mitchell Hentges
8fd19cdf3a [components] Moves description to be part of project.ext 2019-01-11 10:08:32 +01:00
Mitchell Hentges
3ee4d96a84 [components] Reads componentsVersion from .buildconfig.yml 2019-01-11 10:08:32 +01:00
Christian Sadilek
bf7b90e3c1 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1645: Default behaviour for window requests in engine-gecko 2019-01-03 21:03:17 -05:00
Arturo Mejia
b6f3932e86 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1468: Adding support for html input types file for GeckoEngine. 2018-12-21 22:20:52 -05:00
Sebastian Kaspari
af3cbeafb0 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1396: CustomTabsService: Implement mayLaunchUrl() 2018-12-20 13:42:53 +01:00
Sebastian Kaspari
7647c16b8f [components] Refactor EngineSessionHolder to keep a reference to an EngineSession or EngineSessionState.
The main change here is that EngineSessionHolder can now hold an EngineState and this state
is used when we need to create an EngineSession (which will clear the state). This has the
following advantages:

* When restoring we can just attach the EngineState and do not need to create the
  EngineSession immediately. With that we do not load all the EngineSessions and everything
  at once. Initially only the selected EngineSession will be created and loaded. That will
  make the restore faster and use less resources when restoring a lot of sessions.

* (Not in this commit, for a follow-up) It allows us to close EngineSession instances and
  just keep the EngineState around until we need the EngineSession again. That's something
  we could do in low memory situations or when there are just too many sessions/tabs open
  to be performant (e.g. only keep the last recently used EngineSession instances around).
2018-12-19 11:30:07 +01:00
Sebastian Kaspari
1ce704b087 [components] (Merge day) browser-engine-gecko-beta (64) -> browser-engine-gecko-release (64) 2018-12-17 23:52:01 -05:00
Arturo Mejia
8f46429f5f [components] Closes https://github.com/mozilla-mobile/android-components/issues/1436: Add support for html input type date for GeckoEngine. 2018-12-12 18:04:57 -05:00
Arturo Mejia
c3dcbdf31e [components] Closes https://github.com/mozilla-mobile/android-components/issues/1435: Add support for alert popup for GeckoEngine. 2018-12-12 00:58:06 -05:00
Christian Sadilek
97d21898b9 [components] Cleanup: GeckoEngineSessionTests incorrectly referring to WebView 2018-11-30 14:08:59 -05:00
Lina Cambridge
c4a70391a2 [components] Wire up the history tracking delegate for GeckoView Nightly. 2018-11-30 11:17:36 +01:00
Arturo Mejia
23d17a6fed [components] Closes https://github.com/mozilla-mobile/android-components/issues/1434: Add support for choice html elements for GeckoEngine 2018-11-28 10:50:35 -05:00
Sebastian Kaspari
f279d6b621 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1491: Close underlying GeckoSession when GeckoEngineSession is getting closed. 2018-11-27 19:27:05 -05:00
Arturo Mejia
cc546897aa [components] Closes https://github.com/mozilla-mobile/android-components/issues/1446: Giving correct parameters to guessFileName when a file name is null in Gecko Release/nightly/beta 2018-11-22 09:15:13 +01:00
Christian Sadilek
d988d12c1c [components] Closes https://github.com/mozilla-mobile/android-components/issues/1383: App crash caused by invalid URI in GeckoSession 2018-11-21 13:40:26 -05:00
Arturo Mejia
6bef8371a1 [components] Closes https://github.com/mozilla-mobile/android-components/issues/1333: Implementing onCrash in Gecko Release/nightly/beta 2018-11-20 14:41:05 -05:00