Commit Graph

305 Commits

Author SHA1 Message Date
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