Commit graph

1101 commits

Author SHA1 Message Date
Gabriel Luong
10bf459698 Bug 1876335 - use GRADLE_MAVEN_REPOSITORIES in more places. r=owlish,geckoview-reviewers,nalexander,tthibaud,android-reviewers
To ensure that we can build offline, we need to prevent gradle from
going through remote maven repos directly.

That means also overriding the default plugin repository
(plugins.gradle.org) in the `pluginManagement` section.

Differential Revision: https://phabricator.services.mozilla.com/D201497
2024-01-18 15:38:47 +01:00
Julien Cristau
bf00a15eb7 Bug 1876323 - port firefox-android getGitHash functions to add mercurial support. r=owlish,ahal,nalexander,geckoview-reviewers,firefox-build-system-reviewers,tthibaud,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201392
2024-01-24 13:18:08 +01:00
t-p-white
d4300473fe Bug 1813913 - Added support for Custom Tabs setColorScheme & setColorSchemeParams API 2024-03-05 17:52:49 +00:00
mcarare
7562dc8765 Bug 1880077 - Switch to using Compose BOM instead of individual versioning 2024-02-22 08:51:53 +00:00
William Durand
9bc2c90781 Bug 1875229 - Add support for extensions not allowed in private windows 2024-02-14 19:11:16 +00:00
t-p-white
82ab4627f9 Bug 1812843 - Maintain aspect ratio when resizing a bitmap for the 'add' button in CustomTabsToolbarFeature 2024-02-05 21:48:57 +00:00
jackyzy823
4c3be42838 Bug 1874522 - Catch OOM, set desired size and disable coil-kt cache in SVG decoder 2024-02-05 20:35:54 +00:00
github-actions
71356474b3 Import translations from android-l10n 2024-02-03 00:26:38 +00:00
jackyzy823
2ef49bc465 Bug 1839067 - Ensure response's body closed whether request is success or not. 2024-01-23 22:03:17 +00:00
jackyzy823
dd3c7926c2 Bug 1850006 - conservative flag limits to mozilla services only 2024-01-23 21:08:32 +00:00
RebecaTudor
0f567f5991 Bug 1809798 - Loads the right wallpaper for the right orientation
Before, the orientation was taken from the application context which
didn't update during orientation change. Which caused to load the wrong
wallpaper when the phone was rotated. With these changes we can send
the correct orientation taken from the HomeActivity context.
2024-01-22 11:46:48 +00:00
rahulsainani
d301f268d2 Bug 1872704 - Fix home activity leak by ExtensionsProcessDisabledController 2024-01-18 19:59:53 +00:00
t-p-white
01f1578630 Bug 1874861 - Removed redundant LongParameterList suppression's 2024-01-18 18:37:49 +00:00
sarah541
f3f3e7ff19 Bug 1872753- handle RemoteSettings serialization to disk with kotlinx 2024-01-10 05:47:41 +00:00
github-actions
df9fdd5468 Import translations from android-l10n 2024-01-05 00:30:24 +00:00
Titouan Thibaud
2bea4582fd Bug 1871548 - Add telemetry for Open PDF in Fenix 2024-01-02 20:44:46 -05:00
rahulsainani
2e836eb562 Bug 1872137 - Extract test mode log sink logic 2023-12-28 10:15:50 +00:00
github-actions
624f3c8332 Import translations from android-l10n 2023-12-27 00:27:11 +00:00
rahulsainani
6a48d4e927 Bug 1870798 - Use fakes in log tests 2023-12-21 12:23:32 +00:00
rahulsainani
236d307014 Bug 1867606 - Make message param logging api non nullable 2023-12-19 09:58:19 +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
Arturo Mejia
da8b634981 Bug 1866293 - Add support for installing an add-on a from local file. 2023-11-29 22:37:38 +00:00
Paul Marks
237be4fd72 Bug 1803465 - extend isURLLenient to match IPv6 literals (https://github.com/mozilla-mobile/firefox-android/pull/4090)
* Bug 1803465 - extend isURLLenient to match IPv6 literals

Also known as Bug 1807752

* Bug 1803465 - Keep autolinkWebUrlPattern in sync with isURLLenient.

This lets the "Fill link from clipboard" feature accept IPv6 literals
like https://[2606:4700:4700::1111]

* Bug 1803465 - more IPv6 test cases for isURLLenient

* Bug 1803465 - Update changelog.md

* Bug 1803465 - Bump IPv6 literals to Firefox 121

* Bug 1803465 - Reorganize unit tests

* Bug 1803465 - More unit tests

* Bug 1803465 - Replace INVERT() with comments.

* Bug 1803465 - Update changelog

---------

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-11-22 18:32:11 +00:00
t-p-white
2650062e27 Bug 1859981 - Make 'content:' URI an invalid web URL 2023-11-17 10:32:15 +00:00
sarah541
f62a46684f Bug 1834820 - Update RemoteSettings downloader class 2023-11-16 18:01:02 +00:00
github-actions
546b57c9f9 Import translations from android-l10n 2023-11-16 01:03:52 +00:00
Luca Greco
69d1b93ba6 Bug 1859585 - WebExtensionSupport should update installExtensions entries on AddonManagerDelegate.onReady calls. 2023-11-13 14:18:47 +00:00
github-actions
f8593e994f Import translations from android-l10n 2023-11-11 00:30:35 +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
t-p-white
63beeed321 Bug 1863559 - Updated SafeUrl.stripUnsafeUrlSchemes to handle null unsafeText 2023-11-08 11:00:20 +00:00
mcarare
3172019bb5 Bug 1821005 - Replace deprecated project.buildDir
This has been replaced by project.layout.buildDirectory.
2023-11-08 09:10:09 +00:00
mcarare
04345cb27b Bug 1821005 - Enable generation of the BuildConfig class
For modules that use buildConfigField and generate metrics, because BuildConfig is not generated by default after Gradle 8.
2023-11-08 09:10:09 +00:00
Lina Butler
55d95206ab Bug 1861415 - Filter out sponsored URLs from other suggestion providers in Fenix.
This commit:

* Adds an `AwesomeBarView.SearchResultFilter` type, with variants to
  only include results for the current search engine (`CurrentEngine`)
  and exclude results with a matching query parameter
  (`ExcludeSponsored`).
* Adds a `String.urlContainsQueryParameters` extension function for
  using the `ExcludeSponsored` filter with the synced tabs provider.
* Refactors the `AwesomeBarView.get*Provider` methods to take an
  optional `SearchResultFilter`.
2023-11-03 06:54:44 +00:00
Ryan VanderMeulen
37806f700e Bug 1861989 - Update Robolectric to version 4.11.1 2023-11-01 15:45:28 +00:00
Zac McKenney
ef8eb8a169 Bug 1857487 - Kill the app when backgrounded and extensions process spawning threshold is exceeded 2023-10-18 08:04:01 +00:00
sarah541
0edc1fcdbd Bug 1834820 - Add RemoteSettings downloader class 2023-10-16 18:42:45 +00:00
mcarare
7e47586e45 Bug 1859017 - Handle nullability changes. 2023-10-16 13:39:23 +00:00
mcarare
fbfcc83411 Bug 1859017 - Replace setDispatcher method with var assignment.
setDispatcher method no longer exists.
2023-10-16 13:39:23 +00:00
William Durand
9e03acb389 Bug 1858498 - Do not show post-install dialog during updates 2023-10-11 21:48:22 +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
f1f1138cc6 Bug 1810047 - Fixup WebExtensionPromptFeature 2023-10-05 21:08:45 +00:00
William Durand
126aebde87 Bug 1810047 - Implement UI for webextensions optional permissions. 2023-10-04 18:42:27 +00:00
mike a
1563919318 Bug 1851079 – refactored Activity enterImmersiveMode to enable proper unit testing 2023-10-04 16:21:08 +00:00
Titouan Thibaud
5b3f57c009 Bug 1853743: Support any image format for the profile picture on FedCM Select Account Dialog 2023-09-28 14:04:29 +00:00
github-actions
20a0997481 Import translations from android-l10n 2023-09-24 00:31:01 +00:00
William Durand
fa2b9c2f63 Bug 1851974 - Add Oppo to the strict mode exclusion list 2023-09-14 17:18:12 +00:00
Zac McKenney
af99635693 Bug 1852335 - Renamed WebExtensionPopupFeature and ExtensionProcessDisabledPopupFeature to observers 2023-09-14 03:34:40 +00:00
Arturo Mejia
ca33172d7f Bug 1848100 - Implement add-ons installation failed listener 2023-09-12 16:18:54 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00