Commit graph

246 commits

Author SHA1 Message Date
Sebastian Kaspari
9afa3a75f7 [components] Revert Gradle, Android Gradle Plugin and Kotlin upgrade. (PR https://github.com/mozilla-mobile/android-components/pull/8360)
Revert "Address even more lint errors."

This reverts commit e98ee991b34d318e671c644d63daec53902e68ff.

Revert "Update to Gradle 6.6.1."

This reverts commit cdda701c8f2be6c0486ddf1494885accf78aab00.

Revert "Address lint errors."

This reverts commit 26cb5b27bc2be672c89e7e0c63eeeda9f64c0d08.

Revert "Move JNA configuration to root project."

This reverts commit 694ef37cc30e727f3ec5d275c0e9583385980a43.

Revert "Issue https://github.com/mozilla-mobile/android-components/issues/8319: Update to Kotlin 1.4, Coroutines 1.3.9 and Android lint 27.0.1."

This reverts commit ad675c35e794050dbf8514a2d2fe7506ce0c546c.

Revert "Update Glean to 33.0.4."

This reverts commit 4731c4e2fa52d40f4062a47f02078ca0c85de632.

Revert "Update Glean to 33.0.0."

This reverts commit 352cf88a4d4bad64330d0ec997814fd8b13928c2.

Revert "Update Gradle to 6.1.1."

This reverts commit 18e88aa1a2528b10f7d81ff9dbf1df094071b6ce.

Revert "Update Android Gradle Plugin to 4.0.1."

This reverts commit f915a3b47b0f5584889ff62a80c9642bccfa36ce.
2020-10-06 14:57:11 +02:00
Arturo Mejia
593c25629e [components] Closes https://github.com/mozilla-mobile/android-components/issues/8312:Adds support for ContentDelegate#onExternalResponse 2020-10-05 17:32:38 +00:00
Mozilla L10n Automation Bot
35c8de4ab5 [components] Import l10n. 2020-10-05 00:29:08 +00:00
Mozilla L10n Automation Bot
51662a3fe3 [components] Import l10n. 2020-10-04 00:25:33 +00:00
Sebastian Kaspari
1142ece2d6 [components] Issue https://github.com/mozilla-mobile/android-components/issues/8319: Update to Kotlin 1.4, Coroutines 1.3.9 and Android lint 27.0.1. 2020-10-02 18:44:27 +00:00
Arturo Mejia
c5df5ad6d2 [components] Improve download flow 2020-09-25 20:22:57 +00:00
Mozilla L10n Automation Bot
b427b25d68 [components] Import l10n. 2020-09-25 00:22:10 +00:00
Sebastian Kaspari
ab57ccf41c [components] Closes https://github.com/mozilla-mobile/android-components/issues/7886: SessionStorage: Write state as stream to disk instead of building model in memory first. 2020-09-11 13:16:32 +02:00
MozLando
8dd247565a [components] Merge https://github.com/mozilla-mobile/android-components/pull/8285
8285: Import strings from android-l10n. r=pocmo a=mozilla-l10n-automation-bot

n/t

Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
2020-09-09 21:08:04 +00:00
Mozilla L10n Automation Bot
f67c8d27e1 [components] Import l10n. 2020-09-09 00:05:30 +00:00
Sebastian Kaspari
e89445fc90 [components] Issue https://github.com/mozilla-mobile/android-components/issues/7689: Move Profiler interface from concept-engine to concept-base. 2020-09-08 12:41:07 +02:00
Sebastian Kaspari
c66d74ce23 [components] Issue https://github.com/mozilla-mobile/android-components/issues/8255: Lazily restore engine sessions after content process kill or crash.
* Instead of keeping the EngineSessionState inside EngineSession, we now always attach it to EngineState and also do not
  clear it anymore.
* If the content process gets killed we now just suspend affected EngineSession instances. They will automatically and
  lazily get restored from the last EngineSessionState once needed.
* On a content process crash we now mark the EngineState as crashed and suspend the EngineSession. We will not restore
  the EngineSession until explicitly restored by the application.
2020-09-07 13:30:04 +02:00
Mozilla L10n Automation Bot
c325d0c9e4 [components] Import l10n. 2020-08-25 00:01:46 +00:00
Roger Yang
a085381461 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7797: Strip common subdomain before checking if the new URL is in the same domain 2020-07-27 18:45:02 -04:00
Mozilla L10n Automation Bot
44e2a0b045 [components] Import l10n. 2020-07-20 00:14:05 +00:00
Roger Yang
a5dca58a10 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7710: Stop intercepting redirect with subframe load request without user action 2020-07-15 15:27:14 -04:00
Jeff Boek
b1ddac9b1d [components] For https://github.com/mozilla-mobile/fenix/issues/2681 - Adds bypassCache parameter to reload. 2020-07-14 10:53:24 -07:00
MozLando
928bc13f2f [components] Merge https://github.com/mozilla-mobile/android-components/pull/7668
7668: Closes https://github.com/mozilla-mobile/android-components/issues/7664: Add EngineSession.goToHistoryIndex to jump to a specifi… r=jonalmeida a=person808

…c index in a sessions history.




Co-authored-by: Kainalu Hagiwara <kainaluh808@gmail.com>
2020-07-10 01:48:40 +00:00
Kainalu Hagiwara
ad50481c81 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7664: Add EngineSession.goToHistoryIndex to jump to a specific index in a sessions history. 2020-07-09 18:24:20 -07:00
Mozilla L10n Automation Bot
05be1fe837 [components] Import l10n. 2020-07-10 00:29:50 +00:00
Mozilla L10n Automation Bot
b35c3c0b85 [components] Import l10n. 2020-07-09 13:47:36 +00:00
Jovan Gerodetti
1cbf3722e8 [components] Provide request interceptor to automatically navigate into PWAs https://github.com/mozilla-mobile/android-components/issues/7366
- a WebAppInterceptor is needed to redirect to a separate WebApp
  activity
- the manifest dao currently reports a web app as installed when it was
  last used before the deadline / expiration time. This is the oposite
  of what it's supposed to do.
- The intent extension should also hold an override URL so a WebApp
  intent can be launched with a deeplink.
- The WebAppIntentProcessor currently launches new sessions for each
  intent. This will break user expectations when they start to be
  switched to a already running WebApp activity but loose their session.
- we need a cache for currently installed web app scopes, so we don't
  have to do blocking IO during page load.
2020-07-07 08:47:40 +02:00
Roger Yang
1b7fe5567f [components] Closes https://github.com/mozilla-mobile/android-components/issues/7603: Direct navigation should open in external app if user preference is on 2020-07-02 13:36:41 -04:00
Nazım Can Altınova
1320080327 [components] Add firefox profiler marker API to the GeckoEngine 2020-07-01 15:01:24 +02:00
Roger Yang
d71419cce4 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7507: Redirect should open in external app if user preference is on 2020-06-26 20:50:58 -04:00
Mozilla L10n Automation Bot
ef5a17643e [components] Import l10n. 2020-06-09 00:12:05 +00:00
Mozilla L10n Automation Bot
dcefc358fc [components] Import l10n. 2020-06-04 00:07:24 +00:00
Mozilla L10n Automation Bot
2f593e567c [components] Import l10n. 2020-06-03 00:04:53 +00:00
Mozilla L10n Automation Bot
d9256fddf7 [components] Import l10n. 2020-05-28 00:09:44 +00:00
MozLando
2306e369be [components] Merge https://github.com/mozilla-mobile/android-components/pull/7014
7014: Closes https://github.com/mozilla-mobile/android-components/issues/7013 fix mozac_browser_engine_system_auth_message description comment r=psymoon a=Amejia481

cc: @flodolo



Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2020-05-19 13:58:21 +00:00
Mozilla L10n Automation Bot
1241d01c44 [components] Import l10n. 2020-05-19 13:16:25 +00:00
Arturo Mejia
5269a19ee6 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7013 fix mozac_browser_engine_system_auth_message description comment 2020-05-18 15:12:59 -04:00
Arturo Mejia
b558290141 [components] Closes https://github.com/mozilla-mobile/android-components/issues/6942: Update tracking protection lists
domain_blacklist.json maps to disconnect-blacklist.json
commit(shavar-prod-lists) 7912b297d88984062557f9a69ee81ef5186d3d5f

domain_whitelist.json maps to disconnect-entitylist.json
commit(shavar-prod-lists) 099bd886ba8880757059e82c606d8a1e17648637
2020-05-15 14:48:54 -04:00
Arturo Mejia
e1e748fedd [components] Closes https://github.com/mozilla-mobile/android-components/issues/6856 Add Fingerprinters to the recommended Tracking protection
policy
2020-05-04 12:01:36 -04:00
Mozilla L10n Automation Bot
6890da8d3c [components] Import l10n. 2020-05-03 00:06:30 +00:00
Mozilla L10n Automation Bot
e3fd70d50f [components] Import l10n. 2020-04-29 00:01:14 +00:00
Jonathan Almeida
b86fa6dfb5 [components] Close https://github.com/mozilla-mobile/android-components/issues/6601: Update targetSdkVersion to 29 2020-04-28 03:16:54 -04:00
Mozilla L10n Automation Bot
37b99155a0 [components] Import l10n. 2020-04-23 00:00:43 +00:00
Mugurell
28fa5298dd [components] For https://github.com/mozilla-mobile/android-components/issues/3182 - Separate behaviours depending on user's MotionEvents
There are currently 3 Views interested in handling user's MotionEvents:
- GeckoView which renders web content
- SwipeRefreshLayout which handles pull down to refresh
- BrowserToolbar which can be dynamically hidden

Each of them have different behaviours based on different conditions so I
- removed the coupling of BrowserToolbar and Geckoview from `NestedGeckoView`.
It's `onTouchEventForResult` will now only set behaviour for GeckoView.
- created a new EngineView enum to expose the `PanZoomController` possible
result of how a specific user touch was handled to any components that have a
reference to an instance of EngineView without the need to have
`concept-engine` as a dependency.
- implemented specific behaviour in `SwipeRefreshFeature` for the pull down to
refresh functionality and in the `BrowserToolbarBottomBehavior` for the dynamic
navigation bar functionality.

Mapped PanZoomController's INPUT_RESULT to a new enum in order to not enforce
the need of including geckoview as a dependency in all components interested in
how a user's `MotionEvent` was handled and also because webview doesn't expose
such values so we needed a wrapper for it's handled or not boolean return.
2020-04-01 17:39:24 +03:00
Mozilla L10n Automation Bot
5e0b6ae930 [components] Import l10n. 2020-03-31 00:01:20 +00:00
Gabriel Luong
2498983b5d [components] Closes https://github.com/mozilla-mobile/android-components/issues/6352: Add contextId to BrowserState 2020-03-28 00:09:42 -04:00
Mozilla L10n Automation Bot
d2893d3b07 [components] Import l10n. 2020-03-18 00:02:10 +00:00
MozLando
2927b1326e [components] Merge https://github.com/mozilla-mobile/android-components/pull/6182 https://github.com/mozilla-mobile/android-components/pull/6197 https://github.com/mozilla-mobile/android-components/pull/6270 https://github.com/mozilla-mobile/android-components/pull/6286 (part 2)
6182: https://github.com/mozilla-mobile/android-components/issues/3832: Add support for additional headers when loading url r=pocmo a=psymoon



6197: Import strings from android-l10n. r=jonalmeida a=mozilla-l10n-automation-bot

n/t

6270: For https://github.com/mozilla-mobile/android-components/issues/6269: Notify active sessions when all exceptions are removed. r=Amejia481 a=ValentinTimisica

I also updated the tests accordingly.
Made this change because the tracking protection icon is not updated after the
exceptions are removed.




6286: Closes https://github.com/mozilla-mobile/android-components/issues/6281: Do not automatically dismiss confirm dialogs r=Amejia481 a=csadilek

The feature to automatically dismiss can maybe be made more robust to not be affected by lifecycle changes (https://github.com/mozilla-mobile/android-components/issues/6281#issuecomment-599739212), but in either case we don't want to automatically dismiss confirmation dialogs, as these require user interaction before the next page load anyway.

Similar fix to: https://github.com/mozilla-mobile/android-components/pull/5704/

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
Co-authored-by: ValentinTimisica <valentin.timisica@softvison.ro>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-03-17 17:18:11 +00:00
Mozilla L10n Automation Bot
639baa7eeb [components] Import l10n. 2020-03-17 14:44:12 +00:00
Simon Chae
3e0d4de23a [components] Issue https://github.com/mozilla-mobile/android-components/issues/3832: Add support for additional headers when loading url 2020-03-17 10:28:19 -04:00
codrut.topliceanu
e636a49d03 [components] For https://github.com/mozilla-mobile/android-components/pull/7632 - Implement notifyObservers of onNavigateBack in SystemEngineSession 2020-03-11 10:47:38 +02:00
Mozilla L10n Automation Bot
c64f76d84a [components] Import l10n. 2020-03-06 00:25:11 +00:00
Arturo Mejia
4a4d9a4c82 [components] Issue https://github.com/mozilla-mobile/android-components/issues/6163 remove the domain_overrides 2020-03-05 14:49:31 -05:00
Arturo Mejia
acae49f949 [components] Issue https://github.com/mozilla-mobile/android-components/issues/6163 Remove the Disconnect category for the SystemEngine 2020-03-05 14:44:58 -05:00
Arturo Mejia
335e263a79 [components] Closes https://github.com/mozilla-mobile/android-components/issues/6163: Update tracking protection lists
domain_blacklist.json maps to disconnect-blacklist.json
commit(shavar-prod-lists) d5755856f4eeab4ce5e8fb7896600ed7768368e5

domain_whitelist.json maps to disconnect-entitylist.json
commit(shavar-prod-lists) 01dcca911aa7787fd835a1a19cef1012296f4eb7
2020-03-05 14:44:58 -05:00