Commit Graph

262 Commits

Author SHA1 Message Date
Christian Sadilek
6a5dcadba5 [components] Revert "Issue https://github.com/mozilla-mobile/android-components/issues/8873: Migrate feature-tab-collections to use browser-state."
This reverts commit 30d3ebb4130d05846a2b3e7fd488eef128be262c.
2020-12-15 17:20:12 +00:00
Sebastian Kaspari
800fb0d46f [components] Issue https://github.com/mozilla-mobile/android-components/issues/8873: Migrate feature-tab-collections to use browser-state. 2020-12-15 15:37:00 +00:00
Sebastian Kaspari
2191eda94e [components] Closes https://github.com/mozilla-mobile/android-components/issues/4571: Introduce API to purge (back/forward) history of tabs.
* For `PurgeHistoryUseCase` I decided to not introduce a "tab ID" parameter and instead have
  it purge the history of all tabs. It seems like this is what we need and individual tab
  history removal is not needed for now.
* Some tabs may not have an `EngineSession` assigned. Creating one just to call purgeHistory()
  seems excessive. Instead I am dropping an attached `EngineSessionState` which will cause
  those tabs to just reload the URL with not back/forward history when they get restored.
2020-12-08 19:43:08 +00:00
Mugurell
3feb7af7a8 [components] For https://github.com/mozilla-mobile/android-components/issues/9091 - Remove the data url error page
This was already deprecated. No need to keep supporting it.
2020-12-04 12:21:51 +00:00
Emilio Cobos Álvarez
41d375b7d9 [components] ktlint: Add missing newlines.
Running ./gradlew ktlint locally reports a lot of stuff like:

/home/emilio/src/moz/android-components/components/support/migration/src/test/java/mozilla/components/support/migration/MigrationIntentProcessorTest.kt:1:1: File must end with a newline (\n)

This fixes it with:

    for f in $(cat files | cut -d : -f 1); do echo "" >> $f; done

Making ./gradlew ktlint pass.
2020-12-03 17:24:44 +00:00
Mozilla L10n Automation Bot
fc76579063 [components] Import l10n. 2020-11-29 00:19:44 +00:00
Mozilla L10n Automation Bot
1695ecffae [components] Import l10n. 2020-11-26 00:18:40 +00:00
Mozilla L10n Automation Bot
0556fe0333 [components] Import l10n. 2020-11-12 00:14:35 +00:00
Sebastian Kaspari
c56f79ca03 [components] Revert "Import l10n." (lint errors)
This reverts commit 8942f787ed901de4a170f436ba843918c9900966.
2020-11-11 16:31:53 +01:00
Mozilla L10n Automation Bot
f0aad721ff [components] Import l10n. 2020-11-11 14:41:19 +00:00
Mozilla L10n Automation Bot
029a67036a [components] Import l10n. 2020-11-03 00:25:13 +00:00
Mozilla L10n Automation Bot
665146892b [components] Import l10n. 2020-10-31 00:21:41 +00:00
Mozilla L10n Automation Bot
a8160aa173 [components] Import l10n. 2020-10-30 00:20:34 +00:00
codrut.topliceanu
c84123dfb8 [components] For https://github.com/mozilla-mobile/android-components/issues/8554 - Migrate permissionFeature to KotlinFlow 2020-10-28 19:47:01 +00:00
Madalin Valceleanu
7be8b62082 [components] Renaming blacklist/whitelist aligned with iOS https://github.com/mozilla-mobile/android-components/issues/7557 2020-10-26 18:19:38 +00:00
Sebastian Kaspari
e445c6eb58 [components] Update to Gradle 6.1.1, Android Gradle plugin 4.0.1, Kotlin 1.4 and Coroutines 1.3.9.
This patch reintroduces the changes from PR https://github.com/mozilla-mobile/android-components/pull/8360 that we reverted in PR https://github.com/mozilla-mobile/android-components/pull/8623. Now the issues in
Fenix are resolved and we can land this again.
2020-10-19 07:01:53 +00:00
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