Commit Graph

604 Commits

Author SHA1 Message Date
William Durand
d00383a7ed Bug 1893387 - Refactor how required permissions/origins are passed from Gecko to the embedder in exportExtension(). r=amejiamarmol,android-reviewers,robwu,geckoview-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D208503
2024-05-15 20:35:39 +00:00
sarah541
cdf6a7eaa8 Bug 1896464 - Remove old unused strings from AC r=android-reviewers,tchoh
Differential Revision: https://phabricator.services.mozilla.com/D210210
2024-05-14 20:55:03 +00:00
Geoff Brown
a7e1483b01 Bug 1881094 - 4. remove and revise prettier exclusions for firefox-android r=android-reviewers,frontend-codestyle-reviewers,gl,webcompat-reviewers,twisniewski
- remove the firefox-android exclusions from .prettierignore
 - add a few specific exclusions to .prettierignore for files with existing errors
 - add a few specific entries to Generated.txt and ThirdPartyPaths.txt
 - add `initial_experiments.json` to the list of generated files: these are updated from Nimbus
 - run `mach lint --fix --linter=eslint -- mobile/android` to generate all the formatting changes

Differential Revision: https://phabricator.services.mozilla.com/D206915
2024-05-07 20:24:38 +00:00
jackyzy823
11e9eae213 Bug 1884484 - Implement mouse forward button navigation. r=geckoview-reviewers,android-reviewers,owlish,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D207873
2024-05-06 13:27:45 +00:00
Geoff Brown
4939eda588 Bug 1881094 - 2. remove whitespace exclusions for firefox-android r=android-reviewers,gl
Whitespace changes made with `mach lint --fix`.

Differential Revision: https://phabricator.services.mozilla.com/D206702
2024-04-04 22:19:32 +00:00
Gabriel Luong
ffcbe5214b Bug 1885561 - [Menu Redesign] Rename “Add-ons” to “Extensions” in menus and Add-ons Manager r=android-reviewers,Roger
Differential Revision: https://phabricator.services.mozilla.com/D206094
2024-04-01 21:47:30 +00:00
Perry McManis
0c8dd62ebe Bug 1884527 - remove lingering geckoadapter bits r=chutten,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205336
2024-03-22 19:36:01 +00:00
Gabriel Luong
09687df494 Bug 1822393 - Support Android Components consuming GeckoView directly. r=nalexander,geckoview-reviewers,tthibaud,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201483
2023-12-07 16:19:43 -05:00
William Durand
75cc14f496 Bug 1881676 - Unconditionally set the "Enabled" label on the toggle switch 2024-03-14 13:20:58 -04:00
Ryan VanderMeulen
70e8249b42 Bug 1883763 - Add suppressions to firefox-android code still using the now-deprecated APIs 2024-03-09 17:03:55 +00:00
mcarare
7562dc8765 Bug 1880077 - Switch to using Compose BOM instead of individual versioning 2024-02-22 08:51:53 +00:00
Roger Yang
d0effd8c00 Bug 1832357 - Fallback to loading new window requests in custom tab 2024-02-07 21:56:27 +00:00
Arturo Mejia
7f72c0bece Bug 1860472 - Clean temporary file Uploads. 2024-01-24 22:40:21 +00:00
mcarare
b911da9c2d Bug 1874124 - Add foregroundServiceType for DownloadService and FOREGROUND_SERVICE_DATA_SYNC permission. 2024-01-11 17:47:22 +00:00
William Durand
5e99127764 Bug 1870668 - Remove the mozac_feature_addons_authors string 2023-12-19 20:15:58 +00:00
Titouan Thibaud
92cf915d70 Bug 1869534: Use VerticalSwipeRefreshLayout from AndroidComponents
instead of AndroidX SwipeRefreshLayout to represent better Fenix behavior

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2023-12-12 16:10:24 +00:00
mcarare
3920370326 Bug 1865357 - Add Global Privacy Control settings in sample browser. 2023-12-07 21:58:51 +00:00
mcarare
60d3978145 Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes"
This reverts commit 592e88b3547d2e96ae04d8b5bd69cbab2ac3e97e.
2023-12-05 03:44:20 +00:00
William Durand
40c8b21971 Bug 1867295 - Introduce a new installBuiltInWebExtension method 2023-11-30 20:41:42 +00:00
William Durand
708e552a7d Bug 1867297 - Remove the use of BLOCKED_PERMISSIONS 2023-11-30 15:10:35 +00:00
Olivia Hall
42b3883a45 Bug 1860844 - Add GeckoTranslateSessionDelegate to Android Components
This bug adds a translation session delegate for receiving information
from GeckoView on the state of the toolkit translation engine and also
when to expect and offer translations on a given page.

It also updates reference browser to use auto-detected defaults for
translating.
2023-11-21 22:24:04 +00:00
Ryan VanderMeulen
c65ab071b9 Bug 1821005 - Revert Gradle 8 upgrade due to startup crashes
Revert "Bug 1863744 - Update Gradle to version 8.4"

This reverts commit 829795632954148709fbe945c78d55cc62053ac8.

Revert "Bug 1821005 - Apply additional keep rules for missing classes detected while running R8."

This reverts commit 8f3f246cc5ff571323f56d46963d8d176bec91e3.

Revert "Bug 1821005 - Set UI_INJECTION_HOST mode for lint in test."

This reverts commit 6962bf0b5df57781045f68417f76527bcdf521ab.

Revert "Bug 1821005 -  Include sourcesJar as an input of publishing."

This reverts commit 41b2a48da577787c3189eec8c8af71c35cfecbfb.

Revert "Bug 1821005 - Set compileOptions for android subprojects."

This reverts commit fb21df9d0a9cd585e216733dc1bf929636df20f1.

Revert "Bug 1821005 - Replace deprecated project.buildDir"

This reverts commit 6f880de46ec73f7e5240a0279108bbb6aeb0f63b.

Revert "Bug 1821005 - Exclude generated metrics docs from detekt."

This reverts commit f17d2430bf1daabeed2724312354018050f3f52a.

Revert "Bug 1821005 - Exclude build in extensions versioning from detekt."

This reverts commit 34144c5ad1d62e2d85492f8d32341bbcd032690b.

Revert "Bug 1821005 - Add uses-feature tag for camera permission."

This reverts commit 13c80944bd1756cdcaa98eef783b6a23ad12cabd.

Revert "Bug 1821005 - Set nonTransitiveRClass and nonFinalResIds build flags to false."

This reverts commit 219fbc19c54134ad264edc79642fa1799c6f54d6.

Revert "Bug 1821005 - Apply plugin: 'kotlin-android' for UI modules."

This reverts commit ddbd5e18eb9d2b33b4de4a6df48d97ec4ab42963.

Revert "Bug 1821005 - Enable generation of the BuildConfig class"

This reverts commit 65c2b8c63790fbd2352f3f94b99c80d81d18dae1.

Revert "Bug 1821005 - Add namespace to samples-glean-library module"

This reverts commit 0239233efb1cc4e896e4aa0337e3da911eeb2f1c.

Revert "Bug 1821005 - Replace deprecated toLowerCase with lowercase."

This reverts commit 69f2c66aad3aa638a1bab31b2a1e6c597d1f3992.

Revert "Bug 1821005 - Replace deprecated 'toInt' method with 'code' property."

This reverts commit 7adb38a6fbe20de3fdb6723a10e574d183e7fcff.

Revert "Bug 1821005 - Replace deprecated execResult."

This reverts commit bfd02dd16d7e5c9dbcf34858fbbe4176d698f8cd.

Revert "Bug 1849833 - Replace deprecated extractNativeLibs manifest attribute."

This reverts commit a05bc9618457ab2d71a5d3d88d8d3b0318497a54.

Revert "Bug 1821005 - Upgrade AGP to 8.0.2"

This reverts commit fc0fadd63553e2144ce074454d502ecf307eb988.

Revert "Bug 1821005 - Upgrade kotlin-dsl to 4.1.0."

This reverts commit 14e8903e922fa22e28450520be3b6152be6a3a8f.

Revert "Bug 1821005 - Upgrade Gradle to 8.3 version."

This reverts commit f14f447a4d43588d24e4ca3efde0668ddcf7cf08.
2023-11-08 13:35:38 -05:00
mcarare
0d8b201396 Bug 1821005 - Add uses-feature tag for camera permission.
Having the camera permission automatically adds a camera hardware requirement. This removes that requirement for devices to have a camera.
2023-11-08 09:10:09 +00:00
Olivia Hall
e842bb5c42 Bug 1844523 - Translate and Restore to Original Engine Support
This patch adds engine support for translate and restoring the page after
a translation. `requestTranslate` and `requestTranslationRestore` are
the Gecko engine session functions.

This corresponding actions for these functions are `TranslateAction`,
and `TranslateRestoreAction`. The success and failure correspond to the
actions `TranslateSuccessAction` and `TranslateExceptionAction`.

Sample usage is provided on reference browser. The sample is currently
hardcoded to support Spanish to English page translations until the next
API is introduced.
2023-11-03 21:10:32 +00:00
Arturo Mejia
5c80d72706 Bug 1858439 - Refactor how addons icons are loaded https://github.com/mozilla-mobile/firefox-android/pull/4065 2023-10-30 16:10:54 +00:00
William Durand
f17b2e2769 Bug 1858925 - Fix homepageUrl field on the Addon class 2023-10-16 16:42:00 +00:00
William Durand
4d4202701b Bug 1858199 - Add link to review pages in add-ons details view 2023-10-11 14:06:28 +00:00
William Durand
1883946a8b Bug 1847088 - Show a notification in the Fenix add-on manager when the extensions process spawning is disabled 2023-10-09 22:02:14 +00:00
William Durand
44536c681d Bug 1857232 - Linkify author of an add-on in the details view
The biggest change here is that we no longer have a list of authors for
an add-on, we only have one author (optional). This is because Gecko
only considers a single author.
2023-10-05 21:42:00 +00:00
mike a
1563919318 Bug 1851079 – refactored Activity enterImmersiveMode to enable proper unit testing 2023-10-04 16:21:08 +00:00
mcarare
06ab2382da Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-21 13:28:28 +00:00
Zac McKenney
af99635693 Bug 1852335 - Renamed WebExtensionPopupFeature and ExtensionProcessDisabledPopupFeature to observers 2023-09-14 03:34:40 +00:00
Olivia Hall
0d4b676142 Bug 1843592 - Implement Experiment Delegate in Android Components
This patch adds a default `NimbusExperimentDelegate` that is set on the
Fenix runtime to allow GeckoView to communicate with Nimbus.
2023-08-10 16:34:05 +00:00
William Durand
366d05ff41 Bug 1847706 - Slightly refactor the AddonsProvider and its default implementation (https://github.com/mozilla-mobile/firefox-android/pull/3154)
* Bug 1847706 - Rename `AddonsProvider.getAvailableAddons()` to `AddonsProvider.getFeaturedAddons()`

* Bug 1847706 - Rename `AddonCollectionProvider` to `AMOAddonsProvider`

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-09 18:15:42 +00:00
mike a
90cc12c255 Bug 1815637 - cherry picking 548379d, the original rtl commit 2023-08-04 04:32:44 +00:00
Arturo Mejia
8b238ff494 Reverts "Bug 1815637 - Add rtl support." 2023-07-13 17:55:12 +00:00
Gabriel Luong
573533651e Bug 1840210 - Rename mozac_ic_share to mozac_ic_share_android_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
306637a196 Bug 1840210 - Rename mozac_ic_refresh to mozac_ic_arrow_clockwise_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
fe9b6e854c Bug 1840210 - Rename mozac_ic_reader_mode to mozac_ic_reader_view_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
66a39ea6e5 Bug 1840210 - Rename mozac_ic_link to mozac_ic_link_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
1a1c51c7ec Bug 1840210 - Rename mozac_ic_information to mozac_ic_information_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
6eb3873250 Bug 1840210 - Rename mozac_ic_forward to mozac_ic_forward_24 2023-07-10 22:15:49 +00:00
Gabriel Luong
4d231b86f3 Bug 1840210 - Rename mozac_ic_back to mozac_ic_back_24 2023-07-10 22:15:49 +00:00
Arturo Mejia
2fd17a3a34 Bug 1836360 - Add a dialog for handling FedCM showPolicyPrompt. 2023-06-28 22:54:17 +00:00
Olivia Hall
4875874900 Bug 1836778 - Add Support for Printing in GeckoEngineSession
This bug adds an option to print the current page's content using the
Android Print Spooler via GeckoView with status on the Engine in AC.
2023-06-15 15:13:35 +00:00
Makoto Kato
72c40136d0 Bug 1796434 - Part 1. Add WebAppContentFeature to set display value in the Web App Manifest. 2023-06-12 23:54:02 +00:00
Jonathan Almeida
bf0963d42b Bug 1827716 - Remove adveritising of TWA support in AndroidManifest
This is the last remaining part to remove that was started in
https://github.com/mozilla-mobile/android-components/issues/12024.
2023-05-19 13:48:04 +00:00
mike a
0f6ee09218 Bug 1815637 - Add rtl support 2023-05-09 18:41:08 +00:00
Noah Bond
830d0e0cc1 Bug 1826457 - Update Compose version to 1.4.2 and Lifecycle version to 2.6.1 2023-04-27 03:17:17 +00:00
Geoff Brown
4b36c91e06 Bug 1825116 - Add license notice where missing (https://github.com/mozilla-mobile/firefox-android/pull/1637)
* Bug 1825116 - Add license notice where missing

* Bug 1825116 - Revert changes to strings.xml

* Bug 1825116 - Restore ic_cc*.xml
2023-04-19 21:08:15 +00:00