Commit Graph

247 Commits (11baf289f3880a57f59e207e59189dca808e7414)

Author SHA1 Message Date
Tiger Oakes a2d4efd120 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7992: Use favicon style from AC (https://github.com/mozilla-mobile/fenix/pull/12608) 4 years ago
Jonathan Almeida 502a50bfa0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12983: Fix deep link scheme for nightly builds
When we simplified our variants, our deep link scheme for nightly was
lost.
4 years ago
Tiger Oakes a0f58194e2 [fenix] Add concept-menu dependency 4 years ago
Tiger Oakes 2c08b342e8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12871 - Use local TWA DAL API (https://github.com/mozilla-mobile/fenix/pull/12872) 4 years ago
Kainalu Hagiwara a6a8c4dc08 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3481 - Implement swipe on toolbar to switch tabs. 4 years ago
Johan Lorenzo 13e8560acf [fenix] Bug 1652979 - Stop producing fennecNightly, fenixNightly and fenixBeta (https://github.com/mozilla-mobile/fenix/pull/12225) 4 years ago
Tiger Oakes 82d1b4380d [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/12493: Remove kapt plugin 4 years ago
ekager 772f69c5f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7094 - Adds save login exceptions 4 years ago
Michael Comella 2a3a343393 [fenix] For perf-frontend-issueshttps://github.com/mozilla-mobile/fenix/issues/44: add local property to autosign release builds. 4 years ago
Tiger Oakes e69b1e06f1 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/9832 - Change targetSdkVersion to Android 10 (https://github.com/mozilla-mobile/fenix/pull/11014) 4 years ago
Christian Sadilek bcfd40018f [fenix] Update built-in extensions for new AC/GV API
New API (installBuiltIn/ensureBuiltin) requires
- Gecko IDs and new permissions
- Extension will only be re-installed if it has a new version

This includes a gradle task to automatically generate a
new version in manifest.json for every build so we don't
forget to update the version and end up with changes that
are never applied.
4 years ago
Johan Lorenzo bb0083c558 [fenix] Bug 1649400 - part 1: ship org.mozilla.fenix as a nightly product (https://github.com/mozilla-mobile/fenix/pull/12127) 4 years ago
Christian Sadilek 9a6e44cf41 [fenix] Configure M3 AMO collection for all builds (https://github.com/mozilla-mobile/fenix/pull/12055) 4 years ago
Jonathan Almeida 850d3fa90f [fenix] Fix breaking API in WebNotificationFeature 4 years ago
Marc Leclair 890963491c [fenix] Added A-C version 48.0.20200626213814 4 years ago
Tiger Oakes 766c82ba60 [fenix] Update customtabs service 4 years ago
Christian Sadilek 4de31aba98 [fenix] Configure M3 AMO collection for Nightly/Debug 4 years ago
Tiger Oakes 9818176c34 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11534 - Don't check lastUsed mode for screenshots (https://github.com/mozilla-mobile/fenix/pull/11827) 4 years ago
Jonathan Almeida 81929addcc [fenix] Fix breaking APIs in TabsAdapter and ViewHolder 4 years ago
Tiger Oakes 110771d077 [fenix] Remove Mockito 4 years ago
Dennis Schubert 0b87f96637 [fenix] Bug 1643132 - Add WebCompat Reporter feature. 4 years ago
Sawyer Blatz 3daf6fcef4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9488: Add experimentation support 4 years ago
Vishwa Patel d7faa8c2c5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10834 - Adding Sync Tabs Feature in Fenix 4 years ago
Gabriel Luong 231054a97a [fenix] Added BrowserThumbnails dependencies 4 years ago
Jan-Erik Rediger 9014f63534 [fenix] Dump `proguard-android-optimize.txt` into local configuration for later modification
This was achived by:

* Adding `-printconfiguration r8.txt` to `proguard-rules.pro`
* Copying the part from start of `r8.txt` to before the `-printconfiguration` line into its own file.

This gets us exactly what was used in the bundled version.
4 years ago
Grisha Kruglov 4899aa5ca1 [fenix] Only set real BUILD_DATE for non-debug builds
This avoids BuildConfig modifications between local dev builds,
and speeds up the builds by avoiding running tasks that depend on BuildConfig.

Locally, depending on exact build circumstances, this saves about 5% of build runtime
for simple code changes, and about 90% of build runtime for no-op builds.
4 years ago
Michael Comella 413daedf6c [fenix] For https://github.com/mozilla-mobile/fenix/issues/10757: remove no-op Experiments code and dependency.
We were supposed to have removed Experiments for performance purposes.
However, I find some code dangling in the tree.

Experiments.initialize is no longer called so I suspect
Experiments.withExperiment is a no-op. I verified that the lambda
function provided to it never ran in my local geckoBetaDebug on startup.
Assuming experiments behavior doesn't change in other build types, this
change appears safe.
4 years ago
Christian Sadilek 5f7d514788 [fenix] Configure M2 AMO collection for all builds 4 years ago
David Walsh b2cad42ba9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10148 - Add basic tab tray implementation without exposing to rest of app (https://github.com/mozilla-mobile/fenix/pull/9934) 4 years ago
Roger Yang d08756b53a [fenix] Close https://github.com/mozilla-mobile/fenix/issues/9960: Launch URI in Fenix if failed to launch in custom tab (https://github.com/mozilla-mobile/fenix/pull/9964) 4 years ago
Michael Comella de6bbb791a [fenix] For https://github.com/mozilla-mobile/fenix/issues/9644: restrict deps to specific repositories (https://github.com/mozilla-mobile/fenix/pull/9649)
* For https://github.com/mozilla-mobile/fenix/issues/9644: remove unnecessary leanplum maven repository.

The docs say it is [1] "only needed for Android SDK versions below 4.3.0".
That is API 18 and our min SDK is 21.

[1]: https://docs.leanplum.com/reference#android-setup

* For https://github.com/mozilla-mobile/fenix/issues/9644: move buildscript block from :app to root project.

This will reduce the amount of duplication we need in specifying
restricted dependencies and centralize repository definitions. Since
we're a one project app, it shouldn't have a significant impact on
performance.

* For https://github.com/mozilla-mobile/fenix/issues/9644: restrict dependencies following FFTV config.

However, there is a resolution error to be fixed in the next commit.

This is verbatim from FFTV except I removed the no-op "improve security
if code is refactored incorrectly" lines: these lines rarely changed and
I'm not that concerned. It might be better to simplify the
configuration.

Source:
  62a2fa680c/buildSrc/src/main/java/org/mozilla/gradle/Dependencies.kt (L7)
  62a2fa680c/build.gradle (L31)

* For https://github.com/mozilla-mobile/fenix/issues/9644: restrict firebase deps to google repo.

This fixes the resolution error from the previous PR.
4 years ago
Christian Sadilek 7ca7557c17 [fenix] Configure M2 AMO collection for Nightly/Debug 4 years ago
Michael Comella b9fe826cef [fenix] No issue: Move Do and OpenClass to utils pkg.
They were both in their packages by themselves, which feels unnecessary.
Unfortunately, a utils pkg is discouraged by kotlin but we don't have a
better place for them right now. Maybe an annotations/ pkg for the
latter?
4 years ago
Michael Comella 18a639a64d [fenix] For https://github.com/mozilla-mobile/fenix/issues/9631: remove assertk dependency. 4 years ago
Michael Comella 74fbc518db [fenix] For https://github.com/mozilla-mobile/fenix/issues/9605: Add LintUnitTestRunner gradle task.
This will prevent us from regressing on adding older versions of the
unit test runner.
4 years ago
Sebastian Kaspari 548a18ba32 [fenix] Use same configuration for "forPerformanceTest" builds like we do for "fennec" flavor builds. 4 years ago
ekager ccee01a230 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8944 - Adds custom lint checks 4 years ago
Christian Sadilek 0c9b5ec2a9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9414: Make AMO collection configurable 4 years ago
Jonathan Almeida ffe0b68182 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7661: Add deeplink schemas for fennec variants 4 years ago
Christian Sadilek 356df2cc0e [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9333: Prevent compression of omni.ja to improve startup time
Co-authored-by: Markus Stange <mstange@themasta.com>
Co-authored-by: Agi Sferro <agi@sferro.dev>
4 years ago
Ryan Kelly 7d08e36843 [fenix] Add support for application-services autoPublish local dev workflow. 4 years ago
Jonathan Almeida 061af2c380 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7661: Add variant-specific schemas for deep links
In order to target specific variants of Fenix, we're adding schemas that
are specific that app in order to avoid collisions with the other
variants and with other forks of fenix that may have the same schemas.

The current schema for variants:
 - Fenix Nightly: `fenix-nightly://`
 - Fenix Beta: `fenix-beta://`
 - Everything else: `fenix://`
4 years ago
Sebastian Kaspari 4169924754 [fenix] Use pinned Android Components Nightly version instead of snapshots. 4 years ago
mcarare d8cba93d1b [fenix] For https://github.com/mozilla-mobile/fenix/issues/8788 Use Flexbox instead of Grid manager for top sites 4 years ago
Michael Droettboom b30f9b1970 [fenix] 1592947: Use the Glean Gradle plugin 4 years ago
Grisha Kruglov 32802e7fc8 [fenix] Remove direct A-S dependency; switch to using 'full' megazord
As far as I can tell, we never actually exercise the a-s libraries in Fenix tests currently (this was one of the presumed reasons for having a direct dependency).
In a different branch I've started work on adding end-to-end tests, but currently that's blocked on trying to figure out to load native libraries in tests (somehow, fenix's setup is different than what we have in A-C, not yet clear to me in what way).

Another reason for a direct dependency (i think) is that we needed it to configure a `fenix` megazord. This could be solved via a `support-megazord-fenix` a-c component that provides the correct transient dependencies,
but we can also just switch to use the `full` megazord instead, which is essentially what fenix megazord is at this point. A-S team wants to remove the fenix megazord, so this will help. This is what this patch does.
4 years ago
Mihai Branescu 4fe9033c0f [fenix] For https://github.com/mozilla-mobile/fenix/issues/4231
Added kapt plugin + dependencies in order to be able to use Room
Added recent apps to share fragment (top 6)
Extracted dimens of share_to_apps.xml in the dimens file
4 years ago
Jeff Boek 72618be169 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3869 - Uses RegionSearchLocalizationProvider in the search engine provider 4 years ago
Aaron Train 5bc087bd9b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8316: Disable animations for instrumented tests (https://github.com/mozilla-mobile/fenix/pull/8317) 4 years ago
Alessio Placitelli b0cd0692ed [fenix] Test that 'baseline' pings are sent by Fenix
This is an initial instrumented test for Fenix
that checks if a 'baseline' ping is generated when
going to background.
4 years ago