Commit Graph

308 Commits (48ea10cd9d62ae924757a528656265f5805019f1)

Author SHA1 Message Date
Abhijit Valluri 48ea10cd9d Merge remote-tracking branch 'mozilla/master' into fork 4 years ago
ekager 09fbb43f80 For #2486 - Adds Recently Closed Tabs 4 years ago
bbigam fd0abbecd6
Update Dependencies.kt 4 years ago
Adam Novak ba91b74887 Apply liberate patch
Apply https://gitlab.com/relan/fennecbuild/-/blob/master/fenix-liberate.patch
at edac9bd4083644ae0b8ae04e6af719892f05ee3a

License sign-off from author "relan" in
https://gitlab.com/relan/fennecbuild/-/issues/4#note_404430753

"Note that fenix-liberate.patch is a copypaste from various projects under
Apache 2.0 and MPL 2.0. I've made only trivial changes and it makes sense to
distribute them under MPL 2.0 or Apache 2.0, not AGPL.

I think I need to add license headers to all new files added by the patch."

We can pick up additional license headers if and when they're added by relan.
Almost all the code is trivial, probably-uncopyrightable stubs.

We might be supposed to put more info in the licenses screen in the app, which
I'm keeping, for some of these, but I'm not sure how.
4 years ago
Jeff Boek ff805e53ed For #14318 - Use old API to try to fix startup crash without GPS 4 years ago
Elise Richards e96eb25682 Allow play store in app review to be shown to users 4 years ago
Gabriel Luong 04dcfa5cab
For #8312 - Show Top Sites in a ViewPager (#14116) 4 years ago
Kainalu Hagiwara c119070e21 For #13030 - Use material design animation values for swipe to switch tabs. 4 years ago
Gilbert Gilb's 2743c37b40 Add custom Activity to show libraries licenses.
As Google's library for showing licences isn't open-source, this commit
reimplements its main Activity. This is in prevision to having an OSS
flavor of fenix.

We chose to not introduce dependencies to third-party libraries
such as AboutLibraries for now, and we'll stick to using Google's gradle
plugin for the dependencies extraction.

Fixes #7584

See also #162
4 years ago
Ankur Khandelwal ddfb3dfa72
Renamed Deps.mozilla_ui_publicsuffixlist to Deps.mozilla_lib_publicsuffixlist (#13201) 4 years ago
Tiger Oakes d8ff6179fe
For #7992: Use favicon style from AC (#12608) 4 years ago
Jonathan Almeida 239e3de5e9 For #12856: Add save to collections button to Tabs Tray
Using the ConcatAdapter, we're now able to insert multiple data sources
of information into one RecyclerView and preserve layout/scrolling in
addition to adding the 'Save to Collection' button.
4 years ago
Tiger Oakes 6ea94fd9af Add concept-menu dependency 4 years ago
Kainalu Hagiwara e7dc5580b2 For #3481 - Implement swipe on toolbar to switch tabs. 4 years ago
liuche 09d0688e64
CI for PR #9705 (#12748)
* #3880. Update detekt to 1.9.1

* #3880. Use `AbsentOrWrongFileLicense` detekt rule

* #3880. Update detekt baseline

Co-authored-by: Denys M <dector9@gmail.com>
4 years ago
Tiger Oakes d0e9f1f165
Update Kotlin dependency (#10806) 4 years ago
ekager 9ed85510ae For #7094 - Adds save login exceptions 4 years ago
ekager ce0f871e02 No issue - Update LeakCanary, Lottie, androidx dependencies 4 years ago
Tiger Oakes c958cc048a Update customtabs service 4 years ago
Tiger Oakes ccb532bb77
For #11534 - Don't check lastUsed mode for screenshots (#11827) 4 years ago
Jonathan Almeida e6da2bd910 Fix breaking APIs in TabsAdapter and ViewHolder 4 years ago
ekager fed3dfc64b No issue: Update androidx fragment library to next stable 4 years ago
Tiger Oakes f0295048fa Remove Mockito 4 years ago
Tiger Oakes 4fac1959b1 Increase Mockk version 4 years ago
Dennis Schubert e41fc7841a Bug 1643132 - Add WebCompat Reporter feature. 4 years ago
Sawyer Blatz 42f58a1984 For #9488: Add experimentation support 4 years ago
Vishwa Patel 4da22c605a For #10834 - Adding Sync Tabs Feature in Fenix 4 years ago
Gabriel Luong 63e529ac2b Added BrowserThumbnails dependencies 4 years ago
Christian Sadilek fd39a489b0 Closes #10827: Upgrade to Leanplum 5.4.0 4 years ago
ekager 9ce9fbc889 No issue: Update androidx appcompat and constraintlayout versions 4 years ago
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.
4 years ago
ekager 28a6b1f9d5 For #10691 - Turn on LeakCanary by default for debug builds 4 years ago
ekager a9692d9bce For #10204 - Address viewLifecycleOwner IllegalStateException crashes 4 years ago
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).
4 years ago
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.
4 years ago
ekager 716dbf2d57 No issue: Update androidx appcompat to 1.2.0-beta01 4 years ago
Michael Comella 9305331a56 For #9631: remove assertk dependency. 4 years ago
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.
4 years ago
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
4 years ago
Michael Comella f1159f3558 No issue: remove assertJ.
It was only used for 3 checks so it's not worth having a dependency on
it.
4 years ago
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>
4 years ago
Elise Richards 5202c0a2f9 Fixes #9290: Update AppCompat to latest version. 4 years ago
Sebastian Kaspari 34144fd254 Use pinned Android Components Nightly version instead of snapshots. 4 years ago
Christian Sadilek 1f189aa4d1 Update to AC 37.0.0-SNAPSHOT 4 years ago
mcarare 320fc4e4ae For #8788 Use Flexbox instead of Grid manager for top sites 4 years ago
Christian Sadilek fab0d5c9f8 Update to AC 36.0.0-SNAPSHOT 4 years ago
ekager bd4701f29e No issue: Update androidx testing 4 years ago
Michael Droettboom bb2c009c16 1592947: Use the Glean Gradle plugin 4 years ago
Arturo Mejia 3bc1ae7232 No issue: Update to AC 35.0.0-SNAPSHOT 4 years ago
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.
4 years ago