Commit graph

362 commits

Author SHA1 Message Date
Mozilla L10n Automation Bot
a04407ea38 [components] Import l10n. 2022-05-06 00:18:19 +00:00
Mozilla L10n Automation Bot
50160eb28f [components] Import l10n. 2022-04-30 00:23:45 +00:00
Mozilla L10n Automation Bot
4940a94c54 [components] Import l10n. 2022-04-09 00:52:50 +00:00
Gabriel Luong
65626ccd3a [components] Issue https://github.com/mozilla-mobile/android-components/issues/11864: Enable UnusedPrivateMember rule for detekt 2022-03-24 18:47:39 +00:00
mcarare
bb0bb9bc34 [components] For https://github.com/mozilla-mobile/android-components/issues/11670: Use pushEntryToHistory to update history. 2022-03-18 12:43:16 +00:00
mcarare
dc03631de7 [components] For https://github.com/mozilla-mobile/android-components/issues/11670: Use LooperMode Mode LEGACY for failing tests. 2022-03-18 12:43:16 +00:00
mcarare
2f33ad29df [components] For https://github.com/mozilla-mobile/android-components/issues/11670: Replace deprecated systemContext. 2022-03-18 12:43:16 +00:00
mcarare
42d0c1243e [components] For https://github.com/mozilla-mobile/android-components/issues/11670: Replace deprecated setupActivity. 2022-03-18 12:43:16 +00:00
Mozilla L10n Automation Bot
e009629e17 [components] Import l10n. 2022-03-12 00:21:49 +00:00
Emilio Cobos Álvarez
eb425250ac [components] PromptRequest: Consistently order confirm / dismiss callbacks. 2022-02-03 00:51:50 +00:00
Mozilla L10n Automation Bot
db7acd7c26 [components] Import l10n. 2022-01-29 00:25:31 +00:00
Jonathan Almeida
2916c0a537 [components] Close https://github.com/mozilla-mobile/android-components/issues/11444: Add optional user interaction param to goBack/goForward 2021-12-31 02:47:38 +00:00
Mozilla L10n Automation Bot
13bde61d25 [components] Import l10n. 2021-12-31 00:24:28 +00:00
Mozilla L10n Automation Bot
15c1628bac [components] Import l10n. 2021-11-17 01:03:00 +00:00
Grisha Kruglov
70bad89d04 [components] Post: Simplify handling of PageVisit#redirectSource
Most of the time redirectSource isn't set, so this makes that field
optional, and switches away from a special enum (NOT_A_SOURCE) to just a
simple nullable.
2021-11-09 21:27:05 +00:00
Gabriel Luong
7fe5c17265 [components] Issue https://github.com/mozilla-mobile/android-components/issues/11155 - Integrate onPreviewImage API from GeckoView 2021-10-25 20:46:09 +00:00
Mozilla L10n Automation Bot
f9302c26d5 [components] Import l10n. 2021-10-25 17:30:12 +00:00
Kirill Sushilnikov
6d375fe1de [components] SystemEngine's constructor changed
The params of SystemEngine's constructor was changed on this commit:
0c1c6e0c72 (diff-79859c8703d1f8be3bf2122e36eeb33f779ca43d482e63460088197361ce3e4e)
2021-09-27 10:27:47 +00:00
Mozilla L10n Automation Bot
887cf87c7b [components] Import l10n. 2021-09-22 01:45:08 +00:00
Mozilla L10n Automation Bot
89e858047c [components] Import l10n. 2021-09-12 00:22:14 +00:00
Mozilla L10n Automation Bot
47dad0f499 [components] Import l10n. 2021-09-02 00:21:44 +00:00
Mozilla L10n Automation Bot
0c48094300 [components] Import l10n. 2021-08-31 00:19:40 +00:00
Mozilla L10n Automation Bot
06bf2369d8 [components] Import l10n. 2021-08-29 00:19:31 +00:00
Jonathan Almeida
478711a6bf [components] Close https://github.com/mozilla-mobile/android-components/issues/10677: Update Mockito to 3.11.2
Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2021-08-12 02:25:56 +00:00
Sebastian Kaspari
ce323400dd [components] Run ktlintFormat to fix new ktlint errors. 2021-07-28 12:03:23 +00:00
Sebastian Kaspari
28a76101be [components] Update Kotlin to 1.5.10 (and Coroutines to 1.5.0 and Room to 2.3.0). 2021-07-19 09:32:44 +00:00
Mugurell
acf8635f10 [components] For https://github.com/mozilla-mobile/android-components/issues/10555 - Use INPUT_HANDLING_UNKNOWN as the default of InputResultDetail
We need to wait until having a response from GeckoView on how it handled the
touch only after which we'll know whether to animate the toolbar or not.

The edgecase scenario of having pull to refresh enabled even before having a
response from GeckoView will still work because "canOverscrollTop()" only
checks for the touch to not be handled by the browser to pan the page.
2021-07-16 12:37:29 +00:00
Mozilla L10n Automation Bot
2f28b87315 [components] Import l10n. 2021-06-17 00:20:36 +00:00
Mozilla L10n Automation Bot
e50f0e5f9f [components] Import l10n. 2021-06-13 00:19:56 +00:00
Sebastian Kaspari
45c921d834 [components] AuthenticationDialogFragment: Use URL from prompt request. 2021-05-25 16:10:02 +02:00
Mozilla L10n Automation Bot
cc491ecdc9 [components] Import l10n. 2021-05-12 00:20:05 +00:00
Mozilla L10n Automation Bot
888624d690 [components] Import l10n. 2021-05-09 00:18:48 +00:00
Mozilla L10n Automation Bot
374642dc42 [components] Import l10n. 2021-04-18 00:21:12 +00:00
Mozilla L10n Automation Bot
759f040d2e [components] Import l10n. 2021-04-14 00:21:37 +00:00
Mozilla L10n Automation Bot
8fc62d6ac9 [components] Import l10n. 2021-04-11 00:20:31 +00:00
Mozilla L10n Automation Bot
9b9949bfab [components] Import l10n. 2021-04-10 00:22:55 +00:00
Mugurell
c755974f4c [components] Fix https://github.com/mozilla-mobile/android-components/issues/9614 - Use the new InputResultDetail
Both NestedGeckoView and NestedWebView will now return an InputResultDetail
wrapping many new details about how a touch event will be handled.

NestedGeckoView's InputResultDetail will be used to more accurately decide when
to animate the toolbar or start the pull to refresh feature.

NestedWebView's InputResultDetail will only have details about if it will
handle the touch or not. With all the other being unknown the dynamic toolbar
or pull to refresh features will not work.
2021-03-30 13:44:44 +00:00
Mugurell
372b60754f [components] Fix https://github.com/mozilla-mobile/android-components/issues/9614 - Deprecate EngineView#InputResult
This will be replaced by the new InputResultDetail.
2021-03-30 13:44:44 +00:00
Mozilla L10n Automation Bot
fb0237a52a [components] Import l10n. 2021-03-20 00:24:29 +00:00
Christian Sadilek
c9d791c53b [components] Adjust detekt TooManyFunctions threshold 2021-03-18 15:25:40 +00:00
Arturo Mejia
d335091a6c [components] Closes https://github.com/mozilla-mobile/android-components/issues/9787 separate content blocking setting from TrackingProtectionState.enabled 2021-03-02 16:22:42 +00:00
Mozilla L10n Automation Bot
98e4f66268 [components] Import l10n. 2021-03-01 00:16:06 +00:00
Mozilla L10n Automation Bot
e2ba42940d [components] Import l10n. 2021-02-20 00:22:57 +00:00
mcarare
fbbe75889f [components] For https://github.com/mozilla-mobile/android-components/issues/8519: Fix nullability changes in SDK 30 in unit tests. 2021-02-09 18:03:01 +00:00
mcarare
46b450643f [components] For https://github.com/mozilla-mobile/android-components/issues/8519: Suppress SDK 30 deprecations and link to opened issues. 2021-02-09 18:03:01 +00:00
mcarare
13cd254a40 [components] For https://github.com/mozilla-mobile/android-components/issues/8519: Fix nullability changes in SDk 30. 2021-02-09 18:03:01 +00:00
Mozilla L10n Automation Bot
cb18e55aca [components] Import l10n. 2021-01-29 00:18:39 +00:00
Sebastian Kaspari
8753b66468 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8370: Remove EngineSessionState.toJSON(). 2021-01-08 15:02:53 +00:00
Mozilla L10n Automation Bot
e6368dc807 [components] Import l10n. 2020-12-24 00:20:09 +00:00
Sebastian Kaspari
dca326ea45 [components] Reland "Issue https://github.com/mozilla-mobile/android-components/issues/8873: Migrate feature-tab-collections to use browser-state."
This reverts commit 31659483d081ddd98b767d438db1d834587eded2.
2020-12-16 09:30:32 +00:00
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