2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Commit Graph

326 Commits

Author SHA1 Message Date
Sebastian Kaspari
798c9bc294 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22580: Track APK size in perfherder 2021-11-25 16:48:49 +00:00
Matt Tighe
369af67f41 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/22321: Add temporary protoc version workaround for M1 Macbooks 2021-11-25 00:59:13 +00:00
Michael Comella
e24a305ba0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21084: put git hash on About screen in release builds. 2021-11-08 19:15:16 +00:00
Sebastian Kaspari
6f4c47613a [fenix] Update Kotlin and Jetpack Compose versions. 2021-10-25 17:59:17 +02:00
Mugurell
6261e570c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
0a08c61e8d [fenix] 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
10f5aa228b [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21172: Refactor UI tests accessing awesomebar suggestions. 2021-09-22 12:57:26 +00:00
Sebastian Kaspari
74500adfb5 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21172: Replace BrowserAwesomeBar view with AwesomeBar() composable. 2021-09-22 12:57:26 +00:00
Jan-Erik Rediger
2ab11137aa [fenix] Ensure glean-native is excluded 2021-09-14 13:14:36 -04:00
Jan-Erik Rediger
3ea7d78268 [fenix] 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
1e64f87d67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20881 print if the build is a MozillaOnline 2021-09-08 16:03:59 +00:00
Christian Sadilek
e9b1f3fb81 [fenix] Add missing androidx.lifecycle dependencies 2021-09-02 21:44:35 +00:00
Mickey Moz
dccc1133b1 [fenix] Update Android Components version (https://github.com/mozilla-mobile/fenix/pull/21109)
* Update Android Components version to 93.0.20210901143120.

* For https://github.com/mozilla-mobile/fenix/issues/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
cda4440bad [fenix] 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
e38ed593d4 [fenix] Enable Android Autofill support in all build types. 2021-08-30 18:20:22 +00:00
Mugurell
4466a39727 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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 https://github.com/mozilla-mobile/fenix/issues/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
b1cc91a9ac [fenix] For https://github.com/mozilla-mobile/fenix/issues/20586 - Basic Jetpack Compose implementation.
This is just the basic skeleton for the feature.
2021-08-23 14:38:06 +00:00
rxu
d457385e79 [fenix] Use armeabi-v7a version code for MozillaOnline builds 2021-08-23 05:51:00 +00:00
Michael Comella
fce543516e [fenix] 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
13249f7080 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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 d2ec7c648856664c27b31831959fd2e83a580968.

Revert "Dump `proguard-android-optimize.txt` into local configuration for later modification"
This reverts commit c543ae338e0bce4a6e2395f3e72742d9c0d65042.
2021-08-06 20:07:32 +00:00
Sebastian Kaspari
5949766c5d [fenix] Enable Android Autofill in Beta builds. 2021-08-04 21:07:42 +00:00
Sebastian Kaspari
cb0f5facd9 [fenix] Render debug info screen with Jetpack Compose. 2021-07-27 09:54:24 +00:00
Sebastian Kaspari
ccd84ee8e5 [fenix] Remove over-eager protobuf stripping. 2021-07-27 10:08:32 +02:00
Sebastian Kaspari
70ae207572 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/19662: Use Java 11. 2021-07-27 10:08:32 +02:00
Michael Comella
40fed783ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/19901: integrate Jetback Benchmark (microbenchmark). 2021-07-22 15:24:35 +00:00
Sebastian Kaspari
b637a576f2 [fenix] Update to Kotlin 1.5.20, Android Gradle plugin 4.2.2 and Gradle 6.7.1. 2021-07-19 09:20:50 +00:00
Mugurell
1c733e918e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20229 - Use the AC common implementation for ads/search telemetry
Everything should work exactly as before.
2021-07-14 17:55:24 +03:00
mcarare
613671c9c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in onboarding cards. 2021-07-06 16:29:09 +00:00
Sebastian Kaspari
e25cfcdc48 [fenix] Complete browser-state migration and remove browser-session dependency.
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2021-06-09 18:30:21 +02:00
isabelrios
abff667349 [fenix] Stop depending on JCenter - Screengrab and Falcon 2021-05-26 11:04:58 +02:00
Jonathan Almeida
8b8b96d7d4 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/19002: Use AbstractBinding from lib-state 2021-05-11 19:39:50 +04:00
William Lachance
adb10fab4e [fenix] No issue - Stop generating metrics.md and direct to Glean Dictionary instead (https://github.com/mozilla-mobile/fenix/pull/19411)
Now that the Glean Dictionary (https://dictionary.telemetry.mozilla.org)
has hit production, our guidance is to move away from generating
metrics.md files. The Glean Dictionary is a better solution for this task
for a couple of reasons:

1. The Glean Dictionary contains a complete reference of all metrics
and pings sent by an application (not just those defined in the
application itself, as is the case with the markdown documentation)
2. The Glean Dictionary provides additional context and links beyond
what is provided by the documentation (for example, information on
how to access metric information via BigQuery or GLAM) as well as
annotations provided by data scientists in the course of analyzing data
(see, for example, the commentary section for:
https://dictionary.telemetry.mozilla.org/apps/fenix/metrics/metrics_search_count).

This should also reduce some of the churn/burden on people when
they submit PRs, as there is no longer any need to update metrics.md
as a part of them.
2021-05-07 20:52:01 -04:00
Sebastian Kaspari
cf11703649 [fenix] Unit tests: Bump max heap size to 3072m. 2021-04-30 16:40:42 +02:00
Sebastian Kaspari
c1e6f6c9e6 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/10941: Align Nightly version with Gecko/A-C version.
Instead of using a timestamp this will synchronize the Nightly version with the version
of Gecko / A-C. So when using 90.0.20210426143115 then the Nightly version will be
90.0a1 - similar to what Firefox desktop uses.
2021-04-29 09:50:07 +02:00
Sebastian Kaspari
7c11a19369 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/19040: Remove Leanplum (Nightly) 2021-04-26 19:08:10 +02:00
Sebastian Kaspari
692611fa13 [fenix] Remove browser-search references. 2021-04-22 13:18:10 +02:00
Sebastian Kaspari
41f7cc9d24 [fenix] Update to Mozilla Android Components 90.0 2021-04-21 11:44:37 +02:00
Jonathan Almeida
16f87e47e3 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/18774: Migrate mutli-selection to store
Removes the recyclerview-selection library and replaces it with the
SelectionHolder/SelectionInteractor with a Store.

This is an implementation that's similar to what we have in other UI
lists (library).
2021-04-07 19:14:54 +04:00
Jonathan Almeida
0e3def9e83 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/18443: Use recyclerview-selection for multi-select mode in tray
Add multi-select mode to the BrowserTabsAdapter. It has the
functionality to:
 - Enable multi-select mode on long-press.
 - Enable multi-select mode when changed by an external function.
 - Only works for normal tabs (as we currently have it).

Co-authored-by: "codrut.topliceanu" <codrut.topliceanu@softvision.ro>
2021-03-27 03:42:34 +04:00
Gabriel Luong
f1b86e17ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/18408 - Add a lazy getter for AutofillCreditCardsAddressStorage 2021-03-16 13:30:43 -07:00
Sebastian Kaspari
d0152f7e79 [fenix] Integrate Android Autofill support into Nightly and debug builds. 2021-03-15 10:28:38 +01:00
Arturo Mejia
59b50be098 [fenix] Target Android 11 2021-02-24 14:26:08 -05:00
rxu
6f2c9fd4ed [fenix] Add MOZILLA_ONLINE_ADDON_EXCLUSIONS for Mozilla Online builds 2021-02-22 10:00:57 -05:00
Arturo Mejia
b863777940 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12822 - Opt-in of scoped storage 2021-02-02 12:58:44 -05:00
Jonathan Almeida
8a9b7d2ae0 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/1340: Add support for WebAuthnFeature 2021-01-29 22:57:49 +04:00
Jonathan Almeida
a4abe9782c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/15979: Add MOZILLA_OFFICIAL flag for release builds
When we build release APKs on Mozilla infrastructure, we want a way to
know this in code for features that would only work on them.
2021-01-29 10:51:33 +04:00
William Durand
cd40b8510e [fenix] Add new BuildConfig variables to support AMO non-production envs 2021-01-21 17:42:55 -05:00
isabelrios
0f6e44f7bc [fenix] Changes to run tests on beta builds (https://github.com/mozilla-mobile/fenix/pull/16786)
* Changes to run tests on beta builds

* remove dontoptime and fix bookmarks tests

* fix ktlint and smokeTest

* add variable for package name

* rebase and fix conflicts

* add yml files and modify script to run tests

* fix yml file indentation

* changes in kind file and add try_task

* fix error kind file

* fix error kind file 2

* fix error kind file 3

* fix reviewer comments

* remove mockwebserver implementation as per reviewer comment

* run beta tests only on releases branches

* reg exp for master branch

* reg exp for master branch2

* modify try_task with release branch

* remove try file

* let's start by running only one test

* address latest reviewers comments

* double check correct tasks for release branch

* remove try file after confirming beta build run

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
2021-01-14 15:47:36 +01:00
Sebastian Kaspari
7e4471eda6 [fenix] Switch to new SessionStorage / session restore API. 2021-01-05 17:11:57 +01:00
Sebastian Kaspari
89b697a9bd [fenix] Update Android Components to 69.0.20201207103252. 2020-12-07 15:21:08 +01:00