2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00
Commit Graph

412 Commits

Author SHA1 Message Date
Michael Comella
b0b2f87ab4 For #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.
2020-05-18 15:38:38 -07:00
ekager
28a6b1f9d5 For #10691 - Turn on LeakCanary by default for debug builds 2020-05-18 15:08:09 -07:00
MickeyMoz
2a5c5850fd Update Android Components version to 42.0.20200518130035. 2020-05-18 12:16:07 -07:00
MickeyMoz
a547946dfc Update Android Components version to 42.0.20200515130053. 2020-05-15 10:52:07 -04:00
Simon Chae
cb307061ab Update Android Components version to 42.0.20200514130134 2020-05-14 10:44:33 -07:00
Christian Sadilek
7993f1017d Migrate feature-accounts to browser-state 2020-05-13 14:24:56 -04:00
Mickey Moz
837d1d2423
Update Android Components version to 41.0.20200513130106. (#10623) 2020-05-13 10:42:35 -04:00
Simon Chae
9a30d57db9
Update Android Components version to 41.0.20200512130104 🎲🎲 (#10600)
* Update GLEAN metrics and ping formatting

* Update Android Components version to 41.0.20200512130104.
2020-05-12 14:52:58 -04:00
Sebastian Kaspari
d58c022619 Integrate activity for showing past crashes. 2020-05-12 09:14:20 +02:00
MickeyMoz
3824534a2a Update Android Components version to 41.0.20200510130109. 2020-05-10 19:38:47 -07:00
MickeyMoz
046009a105 Update Android Components version to 41.0.20200508130136. 2020-05-08 11:42:06 -04:00
MickeyMoz
51a8fb4a39 Update Android Components version to 41.0.20200507130125. 2020-05-07 08:56:53 -07:00
Simon Chae
a851b76ea3
Update Android Components version to 41.0.20200506130132 (#10443) 2020-05-06 13:17:17 -04:00
Jeff Boek
d72e455c0d No Issue - Update to AC 41.0.20200505190119 2020-05-05 17:52:27 -04:00
MickeyMoz
89c9aaa173 Update Android Components version to 40.0.20200504130127. 2020-05-04 10:37:29 -04:00
MickeyMoz
befd24bf98 Update Android Components version to 40.0.20200503130122. 2020-05-04 09:14:16 +03:00
Arturo Mejia
b9f65dda4d No issue: Fix top sites migration schema issue. 2020-04-30 19:41:24 -04:00
MickeyMoz
0a00371660 Update Android Components version to 40.0.20200430130114. 2020-04-30 18:43:44 +03:00
MickeyMoz
ce8a82bf1a Update Android Components version to 40.0.20200428130031. 2020-04-28 15:20:12 -04:00
Arturo Mejia
a1d49eded0 Update Android Components version 2020-04-27 16:43:05 -04:00
ekager
a9692d9bce For #10204 - Address viewLifecycleOwner IllegalStateException crashes 2020-04-24 17:12:08 -07:00
Mickey Moz
aa5a49ec54
Update Android Components version to 39.0.20200424130104. (#10190) 2020-04-24 11:03:57 -04:00
Christian Sadilek
def715d82a Upgrade to A-C 39.0.20200422203205 2020-04-22 14:38:41 -07:00
Christian Sadilek
fbfbb7c2d0 Upgrade to A-C 39.0.20200422145552 2020-04-22 09:08:27 -07:00
Arturo Mejia
4fc21ef417 Update Android Components version 2020-04-22 11:33:32 -04:00
Michael Comella
ce0bad5ffb No issue: update robolectric to 4.3.1.
This may have minor performance improvements.

I don't see any value in hoisting all dependency versions so I removed
it for this dep. I also see an additional downside (additional indirection to
find values in addition to the indirection of storing all the dependencies in
a single file).
2020-04-21 09:42:37 -07:00
MickeyMoz
2a7c73e138 Update Android Components version to 39.0.20200421130115. 2020-04-21 11:10:14 -04:00
MickeyMoz
ce6e5cb181 Update Android Components version to 39.0.20200420130119. 2020-04-20 10:33:47 -04:00
MickeyMoz
94f19b7fee Update Android Components version to 39.0.20200418130110. 2020-04-18 10:23:42 -07:00
MickeyMoz
fb7b875938 Update Android Components version to 39.0.20200417130058. 2020-04-17 10:31:56 -04:00
MickeyMoz
335642d4f4 Update Android Components version to 39.0.20200416130123. 2020-04-16 11:56:27 -04:00
Michael Comella
f0464b9e72
For #9644: restrict deps to specific repositories (#9649)
* For #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 #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 #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 #9644: restrict firebase deps to google repo.

This fixes the resolution error from the previous PR.
2020-04-15 10:54:36 -07:00
MickeyMoz
a253909a4d Update Android Components version to 39.0.20200415130046. 2020-04-15 10:51:27 -04:00
Arturo Mejia
8872baef39 Update Android Components version 2020-04-14 11:34:55 -07:00
MickeyMoz
85eef1f136 Update Android Components version to 39.0.20200413130047. 2020-04-13 12:46:10 -04:00
MickeyMoz
aefccc40fc Update Android Components version to 39.0.20200412130044. 2020-04-13 09:38:17 +03:00
Mickey Moz
2fc19d2d95
Update Android Components version to 39.0.20200410130104. (#9852) 2020-04-10 10:16:13 -07:00
MickeyMoz
d3a5fe5eb4 Update Android Components version to 39.0.20200409130114. 2020-04-09 18:30:17 +03:00
ekager
716dbf2d57 No issue: Update androidx appcompat to 1.2.0-beta01 2020-04-08 11:11:06 -07:00
MickeyMoz
09d93c2a45 Update Android Components version to 39.0.20200408130125. 2020-04-08 08:10:58 -07:00
Christian Sadilek
c427b0a70b Upgrade to Android Components 38.0.20200407190120 2020-04-07 16:31:03 -04:00
MickeyMoz
d9b5cedd9b Update Android Components version to 38.0.20200407130106. 2020-04-07 20:12:59 +03:00
Michael Comella
9305331a56 For #9631: remove assertk dependency. 2020-04-06 16:56:40 -07:00
Jeff Boek
c632b93ee7
For #220 - Removes feature flag for language picker (#9191)
* For #220 - Removes feature flag for language picker

* For #220 - Updates Android Components
2020-04-06 14:29:52 -07:00
MickeyMoz
14649a435d Update Android Components version to 38.0.20200406130135. 2020-04-06 17:34:42 +03:00
MickeyMoz
ba767ffcc7 Update Android Components version to 38.0.20200405130126. 2020-04-06 10:18:18 +03:00
Michael Comella
db495784d2 For #9605 - review: lintUnitTestRunner depends on compile.
See added comments for explanation.
2020-04-03 09:27:49 -07:00
Michael Comella
b60a21c08d For #9605: Add LintUnitTestRunner gradle task.
This will prevent us from regressing on adding older versions of the
unit test runner.
2020-04-03 09:27:49 -07:00
MickeyMoz
f46cfc2ad2 Update Android Components version to 38.0.20200403130109. 2020-04-03 16:15:31 +02:00
Michael Comella
d903791992 No issue: upgrade test deps to 1.3.0-alpha05.
ReaderViewTest failed on the 1.2.0 stable release so I'm upgrading to a
newer version (of which only alpha is available) to see if it's fixed.
2020-04-02 16:28:23 -07:00
Michael Comella
2ccc21bd0d No issue: pin androidx test dependencies; add note.
I removed the version constant indirection for these items because I found it
challenging:
- it makes it harder to quickly identify which versions are in use
because it requires jumping to a new screen for each dependency
- it increases the length of the file, obscuring what's available
2020-04-02 16:28:23 -07:00
MickeyMoz
0c0b7b30a8 Update Android Components version to 38.0.20200402130113. 2020-04-02 11:44:11 -04:00
Michael Comella
f1159f3558 No issue: remove assertJ.
It was only used for 3 checks so it's not worth having a dependency on
it.
2020-04-02 07:57:19 -07:00
MickeyMoz
34fb49aac8 Update Android Components version to 38.0.20200401130040. 2020-04-02 13:43:34 +03:00
Emily Kager
b94ac93ce9
Upgrade to detekt 1.6.0 (#9306)
Changelog:

https://arturbosch.github.io/detekt/changelog.html

Fixes #7360.  Also use more exact test glob.

Co-authored-by: Andrew Gaul <andrew@gaul.org>
2020-04-01 15:42:46 -07:00
ValentinTimisica
cee34893ed
For #8412: Passes error handling function to 'CustomTabWindowFeature' (#8903)
* For #8412: Passes error handling function to 'CustomTabWindowFeature'

Change required for showing error message when the app can't handle a specific
scheme. Implemented in AC:
https://github.com/mozilla-mobile/android-components/pull/6122

* Upgrade AC version

Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
2020-03-31 10:17:29 -07:00
MickeyMoz
43727a1370 Update Android Components version to 38.0.20200329190103. 2020-03-30 11:49:30 +02:00
Sebastian Kaspari
02aabea14a Update to new feature-media API. 2020-03-29 23:13:13 -07:00
Sebastian Kaspari
0f0d56e60a Issue #5208: Use new tab/collection restore API. 2020-03-26 10:55:12 -07:00
MickeyMoz
4b804da8dd Update Android Components version to 38.0.20200326130056. 2020-03-26 12:27:50 -04:00
Elise Richards
5202c0a2f9 Fixes #9290: Update AppCompat to latest version. 2020-03-25 11:45:57 -07:00
MickeyMoz
a7b9493e17 Update Android Components version to 38.0.20200325130041. 2020-03-25 10:39:35 -04:00
mcarare
6a1e634e02 Update AC Version 2020-03-24 17:10:19 +02:00
MickeyMoz
eaa69cf72b Update Android Components version to 37.0.20200322190046. 2020-03-23 10:31:15 -04:00
MickeyMoz
a9ad65e63c Update Android Components version to 37.0.20200322130043. 2020-03-23 11:20:18 +01:00
MickeyMoz
fdbf1d197b Update Android Components version to 37.0.20200319190049. 2020-03-20 10:44:36 -04:00
Grisha Kruglov
eb14532c3c Closes #7450: Lazy storage initialization
Make sure that we actually lazily initialize our storage layers.

With this patch applied, storage layers (history, logins, bookmarks) will be initialized when first
accessed. We will no longer block GeckoEngine init, for example, on waiting for the logins storage
to initialize (which needs to access the costly securePrefStorage).
Similarly, BackgroundServices init will no longer require initialized instances of the storage
components - references to their "lazy wrappers" will suffice.

In practice, this change changes when our storage layers are initialized in the following ways.
Currently, we will initialize everything on startup. This includes loading our megazord, as well.

With this change, init path depends on if the user is signed-into FxA or not.

If user is not an FxA user:
- on startup, none of the storage layers are initialized
- history storage will be initialized once, whenever:
  - first non-customTab page is loaded (access to the HistoryDelegate)
  - first interaction with the awesomebar
  - history UI is accessed
- bookmarks storage will be initialized once, whenever:
  - something is bookmarked, or we need to figure out if something's bookmarked
  - bookmarks UI is accessed
- logins storage will be initialized once, whenever:
  - first page is loaded with a login/password fields that can be autofilled
  - (or some other interaction by GV with the autofill/loginStorage delegates)
  - logins UI is accessed
- all of these storages will be initialized if the user logs into FxA and starts syncing data
  - except, if a storage is not chosen to be synced, it will not be initialized

If user is an FxA user:
- on startup, none of the storage layers are initialized
- sometime shortly after startup is complete, when a sync worker runs in the background, all storage
layers that are enabled to sync will be initialized.

This change also means that we delay loading the megazord until first access (as described above).
2020-03-19 15:46:50 -07:00
MickeyMoz
5ed131969a Update Android Components version to 37.0.20200318190037. 2020-03-19 13:47:16 +02:00
Arturo Mejia
b44360ab74 Update Android Components version 2020-03-18 17:25:51 -07:00
Sawyer Blatz
b4e1360f59
For #3086: Adds settings animations (#9187) 2020-03-17 12:35:00 -07:00
MickeyMoz
341393abaa Update Android Components version to 37.0.20200317130045. 2020-03-17 11:49:54 -04:00
Sebastian Kaspari
34144fd254 Use pinned Android Components Nightly version instead of snapshots. 2020-03-17 12:09:36 +01:00
Christian Sadilek
1f189aa4d1 Update to AC 37.0.0-SNAPSHOT 2020-03-11 15:21:28 -04:00
mcarare
320fc4e4ae For #8788 Use Flexbox instead of Grid manager for top sites 2020-03-09 11:01:14 -07:00
Christian Sadilek
fab0d5c9f8 Update to AC 36.0.0-SNAPSHOT 2020-03-05 16:02:23 -05:00
ekager
bd4701f29e No issue: Update androidx testing 2020-02-28 13:28:16 -08:00
Michael Droettboom
bb2c009c16 1592947: Use the Glean Gradle plugin 2020-02-28 13:24:58 -08:00
Arturo Mejia
3bc1ae7232 No issue: Update to AC 35.0.0-SNAPSHOT 2020-02-27 17:44:23 +01:00
Grisha Kruglov
fddf77280c 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.
2020-02-25 17:30:57 -08:00
Mihai Branescu
fdbf63fb97 For #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
2020-02-19 10:36:58 -08:00
Sebastian Kaspari
d7e1259e7b
Use Mozilla Android Components 34.0.0-SNAPSHOT. (#8527) 2020-02-19 16:59:34 +02:00
ekager
d41b3608ac For #8504 - Update Lottie version to 3.3.0 2020-02-18 17:44:30 -08:00
Jeff Boek
a8746320d7 For #3869 - Uses RegionSearchLocalizationProvider in the search engine provider 2020-02-18 10:10:16 -08:00
ekager
2b0a5086d5 No issue: Update to latest LeakCanary version 2020-02-18 10:08:32 -08:00
Alessio Placitelli
8875a6be72 Bump Glean to v25.0.0
This is required for making the new A-C snapshot work.
2020-02-18 09:44:21 +01:00
Sebastian Kaspari
4400ee00cd Use Mozilla Android Components 33.0.0-SNAPSHOT. 2020-02-14 12:02:58 +01:00
Simon Chae
b9089e2bdb Update mozilla_service_glean_forUnitTests version 2020-02-12 13:41:28 -08:00
Sebastian Kaspari
f0af6d6f6e Update Mozilla Android Components to 32.0.0-SNAPSHOT. 2020-02-10 17:13:58 +01:00
Emily Kager
5839f5891c No issue: Update androidx dependencies 02.08.20 2020-02-10 11:33:12 +01:00
Sebastian Kaspari
267314ebac Update to Mozilla Android Components 31.0.0-SNAPSHOT. 2020-02-06 11:48:10 +01:00
Grisha Kruglov
3f9ed2992c Bump to a-s 0.50.0 2020-02-05 13:29:17 -05:00
Gabriel Luong
64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-02-04 01:41:51 -05:00
Jonathan Almeida
cbcc56bbba For #373: Implement LeanPlum push messaging
Also closes #6250, since we rely solely on the SDK itself to consume the
messages straight from FCM.
2020-02-04 00:13:56 +01:00
Simon Chae
db34700e3a
Update a-c snapshot version to 30.0.0 (#8003) 2020-01-30 16:55:06 +01:00
Vlad Filippov
3fbfdac129 Changelog: https://github.com/mozilla/application-services/releases/tag/v0.48.3
Ref: mozilla-mobile/android-components#5703

@grigoryk @ekager r?
2020-01-29 16:25:57 +01:00
Gabriel Luong
584b270aa4 For #6758 - Part 2: Add AC dependencies for top sites feature 2020-01-24 15:18:25 -08:00
Chenxia Liu
4dc0aa2bfb Update Fenix to 29.0.0-SNAPSHOT 2020-01-22 11:47:51 -08:00
Will Hawkins
f69009aa9e No Issue: Add custom detekt rule to blacklist certain properties
Add a custom detekt rule to blacklist certain properties. This is
immediately useful for making sure that developers do not configure
runtime behavior using the `BuildConfig.DEBUG` property but it is
useful in a wider context.
2020-01-17 15:46:32 -08:00
Vlad Filippov
dd701233f5 Bump a-s dependency to 0.48.2
Changelog: https://github.com/mozilla/application-services/releases/tag/v0.48.2
2020-01-13 18:44:52 -08:00
Colin Lee
7baf54f566
For #5182: Loading experiments on startup is slow, remove Fretboard (#7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
2020-01-13 12:38:32 -06:00