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

444 Commits

Author SHA1 Message Date
rahulsainani
f02fe91a42 Bug 1829083 - Migrate to compose foundation pager 2023-05-15 11:13:26 +00:00
akliuxingyuan
9417625f51 fix build.gradle and update NDK to r25c 2023-05-13 17:31:02 +08:00
Jonathan Almeida
2547b55559 Bug 1827905 - Update manifestPlaceholders in variants instead of reinit
Also updated the dead links that referenced the fennec code for the
manifestPlaceholders.sharedUserId.
2023-05-10 16:38:36 +00:00
akliuxingyuan
75f90e48e6 Merge remote-tracking branch 'origin/fenix/113.0' into iceraven 2023-05-10 20:46:08 +08:00
Titouan Thibaud
0a74421dc5 Bug 1829605 - Remove (if any) trailing slash from local.properties geckoview path to avoid build failures 2023-05-03 07:10:03 +00:00
rahulsainani
c9b5c9a7d4 Bug 1827631 - Use debugImplementation for compose tooling 2023-04-20 07:11:42 +00:00
akliuxingyuan
83348b6980 addon Page locale support
hide ime when submit text
fix forkDebug build
2023-04-18 18:27:44 +08:00
akliuxingyuan
409f5fe3fb update componentsVersion
set wallpaper_url
simplify CI rlease body
2023-04-15 17:10:46 +08:00
akliuxingyuan
e95c430d11 Merge remote-tracking branch 'origin/fenix/112.0' into iceraven 2023-04-12 22:48:26 +08:00
iorgamgabriel
01cce97266 Bug 1825008 - Create a storage for submitted cookie banner site reports. 2023-04-10 18:01:47 +00:00
akliuxingyuan
06c0bd88d8 migration 2023-04-04 19:43:30 +08:00
mergify[bot]
f4774f55dc Bug 1825028 - Delay init of MozillaOnline build until privacy notice accepted (#1498)
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2023-03-31 12:53:54 -04:00
Christian Sadilek
b950e808ef Bug 1825028 - Delay init of MozillaOnline build until privacy notice accepted
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2023-03-30 01:30:03 +00:00
rahulsainani
9a0e7f1433 Bug 1823470 - Create pager indicator component 2023-03-23 18:48:58 +00:00
Aaron Train
8eaebc046e Bug 1823442 - Remove androidx.tracing:tracing dependency 2023-03-21 20:59:59 +00:00
Ryan VanderMeulen
99952d83a6 Bug 1823532 - Remove jnaForTest from project Gradle build files.
Also remove the now-unneeded jna dependency inclusion.
2023-03-21 18:39:45 +00:00
Harrison Oglesby
480828bb9b Bug 1822269 - add androidx.activity-compose and androidx.activity-ktx dependencies 2023-03-20 09:39:08 -04:00
Aaron Train
01812ad724 Bug 1819153 - Add androidx tracing dependency to resolve NoSuchMethodError 2023-03-15 21:01:59 -04:00
rahulsainani
5913d09770 Bug 1807324 - Add macrobenchmarks for startup metrics 2023-03-15 10:18:19 +01:00
Gabriel Luong
b26e07c5f2 Bug 1818826 - Remove Android Component Nimbus gradle plugin wrapper 2023-03-10 04:06:25 +00:00
rahulsainani
05191bfb90 Bug 1820130 - Remove unused accompanist insets dependency 2023-03-09 22:16:20 +00:00
Noah Bond
c329af178e Bug 1814988 - Add paging to TabsTray 2023-03-08 00:27:50 +00:00
Ryan VanderMeulen
fcd5d5c6ae Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle 2023-03-07 00:12:18 +00:00
rahulsainani
a8447fc586 Bug 1820130 - Use compose foundation insets over accompanist insets 2023-03-06 15:36:59 +00:00
Aaron Train
3c054c11a4 Bug 819153 - Add androidx tracing dep to resolve NoSuchMethodError 2023-03-03 01:08:12 +00:00
mcarare
5315062482 Bug 1802817 - Replace deprecated variant.mergedFlavor.applicationId with variant.applicationId. 2023-03-02 17:13:09 +00:00
mcarare
de3b18f003 Bug 1802817 - Migrate packagingOptions DSL properties to resources sub-block.
exclude, pickFirst methods are deprecated.
2023-03-02 17:13:09 +00:00
mcarare
547dc62353 Bug 1802817 - Migrate DSL properties from aaptOptions to androidResources.
AaptOptions interface is deprecated and renamed to AndroidResources
2023-03-02 17:13:09 +00:00
mcarare
6dd7b106cf Bug 1802817 - Set namespace via DSL in gradle build files.
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
4d8644516f Bug 1802817 - Rename DSL object from lintOptions to lint.
DSL object for configuring lint options lintOptions is deprecated.
2023-03-02 17:13:09 +00:00
mcarare
5a0b9d754d Bug 1813671 - Target JVM 11 bytecode
See https://developer.android.com/studio/releases/gradle-plugin#jvm-11-bytecode for details.
2023-03-02 17:13:09 +00:00
Gabriel Luong
f19e9d7ee0 Bug 1815939 - Clean up AC autopublish code in Fenix and Focus 2023-02-22 22:59:07 +00:00
Johan Lorenzo
fc46cfaa3d Bug 1808605 - part 3: Prefix fenix variants with fenix
(cherry picked from commit 07ee3642ad1b959ac55c946228cf5dd97e147af0)
2023-02-14 11:34:10 +00:00
Gabriel Luong
bd55e7b538 Bug 1804785 - Consume AC via gradle build with relative path in Fenix
(cherry picked from commit e1d8c790d655ad79307cc79acce149f1d2100166)
2023-02-14 11:13:16 +00:00
Johan Lorenzo
4c78ac1264 Bug 1808605 - part 3: Prefix fenix variants with fenix 2023-02-14 07:48:48 +00:00
Gabriel Luong
390e980860 Bug 1804785 - Consume AC via gradle build with relative path in Fenix 2023-02-14 07:16:27 +00:00
Gabriel Luong
6e5098f746 [fenix] Bug 1814232 - Consume upstream CFRPopupFullscreenLayout 2023-02-03 09:15:15 +00:00
sarah541
4018dd9726 [fenix] Update implementation of dependency 2023-01-17 22:01:10 +00:00
rxu
0d9bee37a5 [fenix] Update MOZILLA_ONLINE_ADDON_EXCLUSIONS 2022-12-19 23:39:15 +00:00
Gabriel Luong
47ba3a90ef [fenix] Bug 1804820 - Refactor Versions to FenixVersions 2022-12-14 00:21:55 +00:00
Gabriel Luong
9afbd1bc46 [fenix] Bug 1804820 - Refactor Deps to FenixDependencies 2022-12-14 00:21:55 +00:00
Arturo Mejia
b3618309ca [fenix] No issue: Update add-ons collection. 2022-12-13 18:50:02 +00:00
Charlie Humphreys
0410b1ade3 [fenix] update for pr feedback and add sync login event 2022-11-29 01:29:32 +00:00
Roger Yang
9ec675687a [fenix] Close https://github.com/mozilla-mobile/fenix/issues/27023: Add capability to override telemetry URL using local properties 2022-11-08 18:13:52 +00:00
mcarare
393d5161df [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
6854f664ae [fenix] Update Google Play Review dependency to 2.0.0 2022-10-14 13:23:52 +00:00
mcarare
c04cc0550d [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
5e68dd591d [fenix] For https://github.com/mozilla-mobile/fenix/issues/27133: Specify type when retrieving resValues. 2022-09-27 11:16:04 +00:00
Ryan VanderMeulen
916200a3dd [fenix] Update protobuf to latest release. 2022-09-19 14:02:30 +00:00
mcarare
614073fe24 [fenix] For https://github.com/mozilla-mobile/fenix/pull/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
ca9d35f3f7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26169 - MR Home Onboarding Dialog for upgrading users 2022-08-25 18:22:35 +00:00
Arturo Mejia
c80ac7102a [fenix] For https://github.com/mozilla-mobile/fenix/issues/21894: Move Tabs Tray to compose: Individual tab viewholders: ListViewHolder. 2022-06-27 21:27:55 +00:00
Ben Dean-Kawamura
0aff519ba1 [fenix] Adding support for app-services error reporting 2022-06-15 23:59:40 +00:00
Mugurell
3f15a9079e [fenix] For https://github.com/mozilla-mobile/fenix/issues/25311 - Set tokens used when communicating with Pocket 2022-05-25 15:53:24 +00:00
bendk
1894c0528d [fenix] Added features to support application-services branch builds (https://github.com/mozilla-mobile/fenix/pull/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
f09f6bf618 [fenix] 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
0aa4769862 [fenix] Upgrade AndroidX Espresso Deps and support API 30 (https://github.com/mozilla-mobile/fenix/pull/23904) 2022-04-27 10:53:45 -04:00
Mugurell
501829083d [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
5f491b00bb [fenix] Move experimenter.json to experimenter.yaml 2022-04-05 15:50:28 +00:00
Mugurell
e35120f075 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
51f88636e9 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22489: Remove "Fennec to Fenix" migration code 2022-03-28 06:16:55 +00:00
Arturo Mejia
1855539ab4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23489: Update SentryService reference to use the latest Sentry SDK. 2022-03-16 16:24:12 +00:00
Arturo Mejia
d2d23d32e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23489: Update SentryService reference to use legacy component. 2022-03-09 19:22:46 +00:00
Roger Yang
6d3e2a9f74 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/23804: Use version instead of date for telemetry/metrics expiration 2022-02-23 22:28:12 +00:00
Matthew Tighe
05d80bd9aa [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23504: download focus wallpapers at runtime (https://github.com/mozilla-mobile/fenix/pull/23505)
* closes https://github.com/mozilla-mobile/fenix/issues/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
9b651a484b [fenix] First use of Nimbus FML plugin (https://github.com/mozilla-mobile/fenix/pull/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
235c026c38 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22727 - Add Contile to Top Sites 2022-01-18 20:13:43 +00:00
Grisha Kruglov
4ad2c1c592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22569: Remove allopen plugin and Mockable annotations 2021-12-15 12:59:57 +00:00
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