Commit Graph

356 Commits

Author SHA1 Message Date
rxu
b10b33dac0 Update MOZILLA_ONLINE_ADDON_EXCLUSIONS 2022-12-19 23:39:15 +00:00
Gabriel Luong
7d15265299 Bug 1804820 - Refactor Versions to FenixVersions 2022-12-14 00:21:55 +00:00
Gabriel Luong
36c06f1276 Bug 1804820 - Refactor Deps to FenixDependencies 2022-12-14 00:21:55 +00:00
Arturo Mejia
278e1d301a No issue: Update add-ons collection. 2022-12-13 18:50:02 +00:00
Charlie Humphreys
65a4442d89 update for pr feedback and add sync login event 2022-11-29 01:29:32 +00:00
Roger Yang
5af08cd72c Close #27023: Add capability to override telemetry URL using local properties 2022-11-08 18:13:52 +00:00
mcarare
6913cd59c9 For #27541: Update AndroidX Annotation to latest version.
Add AndroidX Annotation as a direct dependency to app build.gradle.
Update imports for annotations moved to Companion Object.
2022-10-25 19:15:08 +00:00
Ryan VanderMeulen
e6ca08df3b Update Google Play Review dependency to 2.0.0 2022-10-14 13:23:52 +00:00
mcarare
7a240eb9f6 For #26930: Upgrade kotlin to 1.7.10 and compose compiler to 1.3.0.
Replace deprecated Xopt-in with op-in.
Replace deprecated Xjvm-default=enable with Xjvm-default=all.
2022-10-06 08:12:01 +00:00
mcarare
1a21d49390 For #27133: Specify type when retrieving resValues. 2022-09-27 11:16:04 +00:00
Ryan VanderMeulen
de14a20fae Update protobuf to latest release. 2022-09-19 14:02:30 +00:00
mcarare
bcfd0eb125 For #12725: Upgrade compose to 1.2.1 version.
Split versioning of compose compiler.
Enable Xjvm-default to allow inheriting from interfaces with '@JvmDefault' members
like AbstractComposeView, NestedScrollConnection.
2022-09-06 16:23:52 +00:00
Gabriel Luong
9a64acd4b6 For #26169 - MR Home Onboarding Dialog for upgrading users 2022-08-25 18:22:35 +00:00
Arturo Mejia
5f1448460e For #21894: Move Tabs Tray to compose: Individual tab viewholders: ListViewHolder. 2022-06-27 21:27:55 +00:00
Ben Dean-Kawamura
ad222521be Adding support for app-services error reporting 2022-06-15 23:59:40 +00:00
Mugurell
2343b7534c For #25311 - Set tokens used when communicating with Pocket 2022-05-25 15:53:24 +00:00
bendk
7d027b2280
Added features to support application-services branch builds (#22945)
- Added support for `localProperties.branchBuild.application-services`
  and `localProperties.branchBuild.android-components`.  These work like
  the autoPublish properties. However, rather than
  auto-building/publishing application-services/android-components as
  part of the fenix build, we build it ahead of time with a specific
  version name, then specify that version in `local.properties` as
  `localProperties.branchBuild.application-services.version`.
- Added support for the `localProperties.branchBuild.fenix` gradle
  property to set the version for fenito set the version for fenix
- Added support for the absolute paths when running the substutition
  scripts.

The plan is to use this feature to build/test fenix using a particular
checkout of application-services and androd-components, with the
versions set to the git commit id.
2022-05-19 14:47:37 +00:00
Jan-Erik Rediger
7bbee763a6 Auto-publish & substitute local Glean package
Careful with this: If anything inside Glean Core changes this will still
require a local substitute for the Gecko build.
2022-05-05 15:35:21 +00:00
Aaron Train
04daad863f
Upgrade AndroidX Espresso Deps and support API 30 (#23904) 2022-04-27 10:53:45 -04:00
Mugurell
5383d3ed63 For #24618 - Add Fenix own ServiceWorkerSupport
This replaces the default implementation from Android-Components to add the
functionality to first navigate to the browser fragment before responding to
service workers' requests of opening new tabs.

This will register itself when the main activity is created and unregister
itself when that activity is destroyed to support requests even when the
activity is in background but prevent any leaks.
2022-04-08 14:08:23 +00:00
James Hugman
733da8694d Move experimenter.json to experimenter.yaml 2022-04-05 15:50:28 +00:00
Mugurell
6fb54b08f2 For #24331 - Support for opening new tabs when requested by service workers
Use the new `ServiceWorkerSupport` AC components for this.
Had to be installed in `FenixApplication` since there is a circular dependency
between the initialization of the required engine the `tabsUseCases` arguments.
2022-03-31 16:20:32 +00:00
Sebastian Kaspari
834d0ee12d Issue #22489: Remove "Fennec to Fenix" migration code 2022-03-28 06:16:55 +00:00
Arturo Mejia
0aab006a1c For #23489: Update SentryService reference to use the latest Sentry SDK. 2022-03-16 16:24:12 +00:00
Arturo Mejia
ba5a4affb7 For #23489: Update SentryService reference to use legacy component. 2022-03-09 19:22:46 +00:00
Roger Yang
a7442c4474 Close #23804: Use version instead of date for telemetry/metrics expiration 2022-02-23 22:28:12 +00:00
Matthew Tighe
9dc0506ec2
closes #23504: download focus wallpapers at runtime (#23505)
* closes #23504: download focus wallpapers at runtime

* address pr feedback

* only download wallpapers if feature flag is set
2022-02-01 21:45:55 +00:00
jhugman
82a6f8cae4
First use of Nimbus FML plugin (#23400)
* Consume Nimbus FML plugin

* Convert Homescreen to use FML

* Convert nimbusValidation to use FML

* Convert legacy experiments to use the feature API and FML

Remove dead helper code and documentation

* Fixup failing test

Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-28 12:48:05 +00:00
Gabriel Luong
26b65a2a23 For #22727 - Add Contile to Top Sites 2022-01-18 20:13:43 +00:00
Grisha Kruglov
8de4c0b4db For #22569: Remove allopen plugin and Mockable annotations 2021-12-15 12:59:57 +00:00
Sebastian Kaspari
a6d5d21e0b Issue #22580: Track APK size in perfherder 2021-11-25 16:48:49 +00:00
Matt Tighe
5003c14e7e Closes #22321: Add temporary protoc version workaround for M1 Macbooks 2021-11-25 00:59:13 +00:00
Michael Comella
c026d8b28a For #21084: put git hash on About screen in release builds. 2021-11-08 19:15:16 +00:00
Sebastian Kaspari
170fa9705e Update Kotlin and Jetpack Compose versions. 2021-10-25 17:59:17 +02:00
Mugurell
e4489b8d7d For #21593 - Persist stories categories selections in a Proto DataStore
A fast and easy solution with all the ACID requirements.
Also supports easy migrations if later the data we need persisted changes.
2021-10-04 11:54:42 +00:00
Jan-Erik Rediger
2198c0f014 Don't manually exclude glean-native
The latest geckoview-omni package correctly declares its capabilities,
including the `glean-native` one.
Additionally it is able to pick geckoview-omni over glean-native in all
configurations.
2021-09-30 19:51:29 +00:00
Sebastian Kaspari
cd61ef1c1d Issue #21172: Refactor UI tests accessing awesomebar suggestions. 2021-09-22 12:57:26 +00:00
Sebastian Kaspari
6d99c34f12 Issue #21172: Replace BrowserAwesomeBar view with AwesomeBar() composable. 2021-09-22 12:57:26 +00:00
Jan-Erik Rediger
276626e5ba Ensure glean-native is excluded 2021-09-14 13:14:36 -04:00
Jan-Erik Rediger
c7d7337f00 Use glean-native in tests
The Glean core native code is now shipped through GeckoView directly
(through its `-omni` packages).
For local tests we need a library matching the host-platform, which is
available in the glean-native package.
2021-09-14 13:14:36 -04:00
Arturo Mejia
dd1fb24705 For #20881 print if the build is a MozillaOnline 2021-09-08 16:03:59 +00:00
Christian Sadilek
a3cd81e7b8 Add missing androidx.lifecycle dependencies 2021-09-02 21:44:35 +00:00
Mickey Moz
4c30483c57
Update Android Components version (#21109)
* Update Android Components version to 93.0.20210901143120.

* For #21043 - Integrate AC changes

* Fix breaking API changes of RestoreAction

Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2021-09-01 18:08:19 -04:00
Christian Sadilek
b7c2c0eb0b Do not run unit tests in parallel
This is to investigate the intermittent mockk class
generation/loading issues. Since we can not reproduce
locally and the failures are intermittent they could
be caused by us running unit tests in parallel.
2021-09-01 16:27:07 -04:00
Sebastian Kaspari
846274b7cd Enable Android Autofill support in all build types. 2021-08-30 18:20:22 +00:00
Mugurell
cb32b1437e For #17917 - Remove the kotlin-android-extensions plugin
This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`

For #17917 - Remove the `kotlin-android-extensions` plugin

This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`
2021-08-24 10:26:36 +00:00
Mugurell
6ae8c90f41 For #20586 - Basic Jetpack Compose implementation.
This is just the basic skeleton for the feature.
2021-08-23 14:38:06 +00:00
rxu
f88be38796 Use armeabi-v7a version code for MozillaOnline builds 2021-08-23 05:51:00 +00:00
Michael Comella
667ef89220 No issue: move kotlin-allopen outside appVariants loop.
The kotlin-allopen plugin could be getting applied for each variant we
have in the app. With the changed code, it will only get applied once.
2021-08-12 20:39:27 +00:00
Michael Comella
3994747be9 Closes #20679: revert allowaccessmodification proguard disabling.
We disabled the allowaccessmodification proguard option because it broke
functionality or crashed the app (I can't rememeber). As far as we know,
the R8 bug was fixed in the R8 bundled with the Android Gradle Plugin
v4.1. We're now on AGP v7.0.0-rc1 so we should be able to revert this
now.

This commit reverts the following commits:

Revert "Proguard/r8: Do not allow access modification."
This reverts commit 98bf27fdd4.

Revert "Dump `proguard-android-optimize.txt` into local configuration for later modification"
This reverts commit 88fe3fbf82.
2021-08-06 20:07:32 +00:00