Commit graph

343 commits

Author SHA1 Message Date
github-actions
8875d45f75 Import translations from android-l10n 2023-03-08 04:16:31 +00:00
owlishDeveloper
83b0e8dc6c Bug 1806741 - Expose hasRuleForBrowsingContext API 2023-03-08 02:46:16 +00:00
Ryan VanderMeulen
0e5e70291c Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle 2023-03-07 00:12:18 +00:00
mcarare
1f589a2e0b Bug 1802817 - Set namespace via DSL in gradle build files.
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
cd1b348c9b Bug 1802817 - Rename DSL object from lintOptions to lint.
DSL object for configuring lint options lintOptions is deprecated.
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643 Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
ohall-m
3d6e24b0a1 Bug 1809919 - Implement ActivityContextDelegate in AC
This bug implements the GeckoView.ActivityContextDelegate in AC. The
purpose of this feature is to give GeckoView access to the containing
activity to start a PrintManager (or for potential other uses). Not to
be confused with the runtime delegate of GeckoActivityDelegate, which is
tightly tied to webauthn.
2023-02-15 17:54:07 +00:00
Mozilla L10n Automation Bot
89d5f65999 Import l10n. 2023-01-28 00:48:05 +00:00
Mozilla L10n Automation Bot
77fdd602c0 Import l10n. 2023-01-26 01:26:00 +00:00
Alexandru2909
fb35eb4eb7 Bug 1799679 - Preserve search terms for search engine result pages 2023-01-03 07:56:37 +00:00
Mozilla L10n Automation Bot
130360184d Import l10n. 2022-12-27 01:01:49 +00:00
Mozilla L10n Automation Bot
f1082aeac8 Import l10n. 2022-12-24 00:48:23 +00:00
Mozilla L10n Automation Bot
eb88d37e79 Import l10n. 2022-12-23 17:38:00 +00:00
Christian Sadilek
4fcc97ab8d Revert "Bug 1799679 - Preserve search terms for search engine result pages"
This reverts commit bf984d2d9a1d6db4452393e0b4421e9b808f0bdf.
2022-12-13 12:39:05 -05:00
Alexandru2909
a8dc241789 Bug 1799679 - Preserve search terms for search engine result pages 2022-12-12 19:55:08 +00:00
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05:00
Mihai Adrian Carare
e087b524a6 Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33. (https://github.com/mozilla-mobile/firefox-android/pull/62)
* Bug 1796353 - Build with compileSdkVersion for Android 13 / API 33.

* Bug 1796353 - Update method signature for View.AccessibilityDelegate.

* Bug 1796353 - Handle AccessibilityNodeInfo.CollectionInfo.obtain deprecation.

* Bug 1796353 - Update method signature for View.OnAttachStateChangeListener.

* Bug 1796353 - Handle getParcelableExtra(String) deprecation.

* Bug 1796353 - Handle getParcelable(String) deprecation.

* Bug 1796353 - Handle getParcelableArrayListExtra(String) deprecation.

* Bug 1796353 - Move URLStringUtils to ktx package.

This is needed to avoid circular dependencies for some needed changes.

* Bug 1796353 - Suppress deprecation for get(String).

* Bug 1796353 - Replace removed method setAppCacheEnabled.

* Bug 1796353 - Handle PackageManager methods deprecations.

* Bug 1796353 - Handle getSerializable(String) deprecation.

* Bug 1796353 - Handle stopForeground deprecation.

* Bug 1796353 - Update method signature for GestureDetector.SimpleOnGestureListener.

* Bug 1796353 - Handle AccessibilityEvent.obtain deprecation.

* Bug 1796353 - Handle getParcelableArrayList(String) deprecation.

* Bug 1796353 - Handle getParcelableArray(String) deprecation.

* Bug 1796353 - Handle getSerializableExtra(String) deprecation.

* Bug 1796353 - Handle readParcelable(classLoader) deprecation.

* Bug 1796353 - Handle FillResponse.Builder setAuthentication deprecation.

* Bug 1796353 - Handle Dataset.Builder setValue deprecation.

* Bug 1796353 - Suppress get(String) deprecation.

We still need to use this method because we do not know the type beforehand.

* Bug 1796353 - Handle onBackPressed() deprecation.

* Bug 1796353 - Suppress queryBroadcastReceivers deprecation.

* Bug 1796353 - Suppress package manager methods deprecation.

* Bug 1796353 - Catch and report exceptions when handling touch event detection.

* Bug 1796353 - Suppress deprecation for getPackageInfo used in tests with SDK 28.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 00:35:40 -05:00
mcarare
ef3c3593c1 [components] No issue: Update AndroidX Annotation to the latest version.
Update imports for annotations moved to Companion Object.
2022-10-25 19:19:29 +00:00
mcarare
d39fcba1f7 [components] For https://github.com/mozilla-mobile/android-components/issues/12489: Add deprecation annotation to overridden method.
Also copy deprecation message from deprecated member.
2022-10-18 08:20:59 +00:00
Gabriel Luong
d9d783b698 [components] Issue https://github.com/mozilla-mobile/android-components/issues/12939: Address all ktlint issues 2022-10-17 17:07:40 -04:00
Mozilla L10n Automation Bot
c264ab19e6 [components] Import l10n. 2022-10-15 00:20:11 +00:00
Mozilla L10n Automation Bot
1b14baec2a [components] Import l10n. 2022-09-08 00:20:22 +00:00
mcarare
97ae5efa57 [components] For https://github.com/mozilla-mobile/android-components/issues/12381: Remove VisibleForTesting annotation.
Values are also accessed from code, not just from tests.
2022-08-31 09:47:47 +00:00
Mozilla L10n Automation Bot
291f58aa12 [components] Import l10n. 2022-08-29 00:25:29 +00:00
Jonathan Almeida
7bb88450b5 [components] Close https://github.com/mozilla-mobile/android-components/issues/12267: Add support for Save to PDF in GeckoEngineSession
Adds support for Save to PDF from the GeckoSession by plugging the
API into `onExternalResponse` to provide the same flow as a typical
file download experience would be.

Co-authored-by: Olivia Hall <ohall@mozilla.com>
2022-08-15 14:29:34 +00:00
Mozilla L10n Automation Bot
a4b61db992 [components] Import l10n. 2022-07-28 00:26:37 +00:00
Mozilla L10n Automation Bot
7aa7d4f653 [components] Import l10n. 2022-07-09 00:24:10 +00:00
Mozilla L10n Automation Bot
05bf637908 [components] Import l10n. 2022-07-02 00:20:24 +00:00
Mozilla L10n Automation Bot
b957002826 [components] Import l10n. 2022-06-29 00:26:15 +00:00
Mozilla L10n Automation Bot
233b13f5c7 [components] Import l10n. 2022-05-22 16:27:46 +00:00
Mugurell
d78b06b6bf [components] For https://github.com/mozilla-mobile/android-components/pull/11175 - Migrate runBlocking and runBlockingTest to runTest in unit tests
Used `runTestOnMain` where `MainCoroutineRule` was used or needed to be used,
`runTest` elsewhere.

Extra effort for removing all `runBlocking` occurrences in unit tests.
`kotlinx.coroutines.test.runTest` is a test specific API that seems like a more
appropriate way for running tests in a coroutine than the general
`kotlinx.coroutines.runBlocking` api.
2022-05-10 13:45:03 +00:00
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