1
0
Fork 0
Commit Graph

181 Commits (de8bc2f8a512e44bd3a9219da7dcc1a94fff51be)

Author SHA1 Message Date
Jeff Boek 27d8c09def
Fixes #1735 - adds the ability to write code against the build channel (#2388) 2019-05-09 22:05:49 +00:00
Emily Kager 60fe8de3ec No issue: Update constraintlayout and androidx dependencies (#2396) 2019-05-09 16:19:44 -05:00
Colin Lee 78f8354fbb Fix build breakage over FragmentScenario integration 2019-05-08 10:27:24 -05:00
Colin Lee 96b68948b5
For #1710: Create scaffolding for Robolectric tests (#2282) 2019-05-07 16:36:37 -05:00
Mitchell Hentges 282ad31345
Updates Fenix taskcluster tasks to support beta release (#1893)
* Updates Fenix taskcluster tasks to support beta release

* Throw error if -PversionName isn't set for release builds

* Uses beta secrets for beta

* Improves nightly and beta treeherder symbols
2019-05-06 19:09:29 +02:00
Christian Sadilek 9b0422b062 Issue #910: Integrate feature-readerview component (#2269)
Closes #908, Closes #910, Closes #911, Closes #912

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2019-05-03 21:01:45 +00:00
Alessio Placitelli 0d82431195 Generate the `activation` ping and send it with Glean (#1707)
This fetches the Google Advertising ID, salts it and
then applies hashing before sending a ping with it,
at startup. Hashing and salting are used in order
to prevent ourselves to correlate advertising IDs
from the same user running different products we
own off a single device. We will never send the
client_id and the Google Advertising ID in the same
ping.
2019-05-03 09:40:21 -05:00
Mitchell Hentges 9a2cf4339b Fixes #1566, #2076 (#2194) 2019-05-02 14:08:31 +00:00
Emily Kager 4da5a26536 Closes #2000 - Don't flash LeakCanary setting in release builds (#2006) 2019-04-25 07:42:00 -07:00
Johan Lorenzo 194aa0cbb0 Enable raptor tests on Fenix 2019-04-24 09:35:23 -04:00
Grisha Kruglov f560ec8e8d Closes #1902: Remove direct appservices dependencies
Our main dependency - android-components - is tightly integrated
against a certain version of appservices. Having a direct dependency
at the Fenix level is a foot-gun: it allows Fenix to consume an API-incompatible
version of appservices, breaking parts of android-components. Due to
how gradle dependency resolution works, this breakage is "silent": there are
no compile time warnings. A recent example of this is broken history sync,
and buggy FxA experience in Fenix.

This patch removes a direct dependency, letting android-components dictate
which appservices version should be used Fenix builds.
2019-04-23 17:41:07 -05:00
Mitchell Hentges 92b6d4a925 Moves release flavour to build type (#1693) 2019-04-22 11:02:39 -07:00
Jeff Boek f19a773ab9
Merge pull request #1842 from boek/i1840-collections_featureflag
For #1840 - Adds a save tab group button and puts it behind a feature  flag
2019-04-20 14:15:18 -07:00
Colin Lee d1fd5ec879 For #113: QR Scan 2019-04-19 14:47:53 -07:00
Kevin Brosnan 493bab42a4 UI tests for the home screen 2019-04-16 13:38:06 -07:00
Colin Lee 4c43ff09a8 For #1139: Cold start has Dispatchers.Main 1/5th second delay 2019-04-11 14:24:18 -05:00
Colin Lee b54d4d1d58 Closes #1312, #1236, #1237, #1238, #1239: Creating, Editing, and Deleting Bookmarks and Bookmark Folders 2019-04-08 14:48:36 -05:00
ekager 568edda8bc Update RecyclerView to 1.1.0-alpha04 2019-04-06 19:53:01 -07:00
Jonathan Almeida f00e388dd4 Update GV architectures to nightly 2019-04-04 19:33:37 -07:00
Emily Kager c0a1d36b50 No issue: Remove conflicting appcompat dependency 2019-04-04 06:04:19 +09:00
Sebastian Kaspari 15888eb106 Build against GeckoView 68.0 (browser-engine-gecko-nightly). 2019-04-03 11:09:34 -05:00
Christian Sadilek a17b5b86c2 Closes #1329: Raptor performance tests can no longer be executed 2019-04-02 19:18:45 -07:00
Sebastian Kaspari 8fa9467290 Gradle: Ignore non-greenfield build variants. 2019-04-02 13:49:48 -05:00
Johan Lorenzo 7f772404ce Run build and tests on PRs and pushes 2019-04-02 13:36:35 +02:00
Colin Lee bd81e72239 Fixes #916, fixes #917, fixes #920: Save, share, and delete bookmarks 2019-04-01 16:16:08 -05:00
Christian Sadilek 6491adf029 For #423: Add release build type for raptor perf. testing 2019-03-29 10:20:02 -07:00
Jeff Boek 379875a62a Fixes #1162 - replaces about page with an Android Fragment 2019-03-27 10:46:19 -07:00
Colin Lee 0acf8698ef Closes #1151: As a developer, Flipper integration might help me with debugging 2019-03-22 17:12:53 -05:00
Sebastian Kaspari 4d20f99082 Issue #1077: Switch to GeckoView Beta (67.0). 2019-03-22 11:18:06 -05:00
Colin Lee 72b9d4ebdb No issue: Upgrade to stable Navigation library and ignore ktlint issues in generated code 2019-03-15 12:00:40 -07:00
Grisha Kruglov 2b00d1120f Integrate BackgroundSyncManager, enable history syncing
This patch integrates the new a-c BackgroundSyncManager, which is the
main entry point for interacting with Sync. Behind the scenes, it uses
WorkManager in order to sync configured syncable stores.

Current behaviour:
- sync runs on start, with a slight delay
- sync runs on a schedule few times a day, to lessen the startup sync burden

Also included is a basic UI integration in order to allow user to synchronize
on demand, and monitor sync state.
2019-03-13 19:07:28 -05:00
Jeff Boek 521ca74836 Fixes #891 - Adds the leanplum sdk 2019-03-08 14:27:00 -08:00
ekager 1d939f209e No issue: Update Navigation Library 2019-03-06 22:33:59 -08:00
Colin Lee b9aee25edd Fixes #675: Integrate Adjust SDK (for Greenfield flavor) 2019-03-01 12:57:59 -06:00
Arturo Mejia 725074ec16 Adding support for Site Permissions. 2019-02-28 13:32:08 -08:00
Colin Lee dfd3e93d17 Fixes #745: Integrate Browser-Icons component for favicons 2019-02-28 13:31:44 -08:00
Grisha Kruglov 46789f4c62 Issue #418: Basic Firefox Accounts integration
This patch integrates relevant a-c components, and updates the current Preferences
UI to allow signing-in and displaying basic account information (email, displayName).

Currently there's no Accounts UI, and so singing out or otherwise interacting with the
account isn't possible.
2019-02-27 18:07:05 -05:00
Grisha Kruglov 9a9740bfd3 Issue #309: Consume Fenix megazord; enable Rust logging 2019-02-27 18:07:05 -05:00
Sebastian Kaspari 0bffc071b6 Closes #698: Create product flavors for Fennec transition.
* greenfield (pure Fenix without anything added)
* firefoxNightly (To replace Firefox Nightly)
* firefoxBeta (To replace Firefox Beta)
* firefoxRelease (To replace Firefox Release)

For now it will be a bit annoying to have all those flavors. But once the transition has been
successfully completed we can start to tear them down again.

Once GeckoView universal builds are available we can get rid of the "abi" dimension.

If this is going to slow down the CI process then I might look into parallelizing the build
or potentially introducing a taskcluster CI setup (if that makes sense).
2019-02-27 13:02:44 -06:00
Colin Lee 64ef207613 Limit Raptor to debug and special builds 2019-02-26 11:26:58 -06:00
Sawyer Blatz 721d181d0b
Closes #622: Adds Glide (#623) 2019-02-21 09:38:00 -08:00
Colin Lee 5cf61c95db Fixes #589: Add sample unit tests for a component 2019-02-20 09:20:40 -08:00
Colin Lee 6d71faa44d Fixes #541: Crash on Home Screen
The Android Lifecycle Architecture component does not have fine-grained enough lifecycle event callbacks to safely manage Rx subscriptions in Fragment lifecycles. Added autodispose to simplify.
2019-02-16 19:40:39 -08:00
Sebastian Kaspari 5903e8b652 Issue #444: Adapt version code for aarch64 to follow order: X86 > aarch64 > ARM. 2019-02-14 10:19:40 -06:00
Colin Lee ee229c9709 Fixes #354: Overflow menu for multitasking in current session 2019-02-14 10:14:57 -06:00
Jeff Boek 2e525813f6 Adds build date to the about page 2019-02-13 13:20:12 -06:00
Colin Lee 2bc769190e Fixes #401: Resolve known leak and install LeakCanary 2019-02-13 09:37:13 -08:00
Sebastian Kaspari b4d1ac0d63 Closes #472: Integrate feature-session-bundling component.
This will take care of saving and restoring the (`SessionManager`) state.
2019-02-13 09:35:45 -08:00
Sebastian Kaspari 5f8a15e9ae Introduce aarch64 flavor and publish nightly build. 2019-02-13 08:59:31 -08:00
Emily Kager 0c8b2a8a1e Closes #449 - Adds Basic About Page with Dated Version Name 2019-02-12 16:04:01 -08:00
Colin Lee c3e8e83776 Enable Proguard plus optimizations for release 2019-02-12 14:20:06 -08:00
Colin Lee f09dc2453f Fixes #351 Create home screen component for multitasking 2019-02-09 15:52:10 -06:00
Emily Kager 77883c0f30 Closes #403 Use Fragments for Navigation, Add Toolbar to HomeActivity 2019-02-08 12:57:38 -08:00
Emily Kager 4f3c0ee8ad Closes #378 - Creates Library Fragment UI and adds resources 2019-02-06 08:04:04 -08:00
Jonathan Almeida 21508f49ca WIP: Integrate feature-customtabs component 2019-02-05 17:30:51 -08:00
Jeff Boek a6004fea20 Closes #146 & Closes #147: Integrates find in page
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
2019-02-01 23:00:37 -08:00
Sebastian Kaspari 344bc0aea6 Move architecture/mvi code to separate gradle module. 2019-02-01 09:45:55 -06:00
Sebastian Kaspari 7d807f5a0a Closes #263: Integrate service-glean component. 2019-01-31 09:04:15 -08:00
Emily Kager 8368f4fbb2 Part of #288 - Set up basic settings menu 2019-01-30 14:29:17 -08:00
Christian Sadilek b7384a2633 Closes #264: Integrate feature-contextmenu component 2019-01-30 15:14:35 -06:00
Christian Sadilek 614374942a Closes #265: Integrate feature-prompts component 2019-01-30 14:25:58 -06:00
Colin Lee 273f33b244 Fixes #290: Integrate new Fenix architecture 2019-01-30 13:44:58 -06:00
Sebastian Kaspari d5515c9f6e Issue #267: Integrate lib-crash component and upload crash reports to sentry and socorro. 2019-01-30 09:11:15 -06:00
Grisha Kruglov f78b62751d Use abiFilter in product flavour definitions to filter for the supported architectures
This fixes a regression from https://github.com/mozilla-mobile/fenix/pull/294

That patch adds a dependency which loads some native libraries. Those native libs are
shipped for a variety of architectures. Specifically, there are versions of aarch64 and armv7.
What seems to happen is that since those libraries are loaded first (GV is lazily initialized
after history stuff), and since aarch64 versions of these libs is chosen by the native loader,
consequent native loads select for the same abi type. aarch64 version of libmozglue isn't there,
loader fails to find it and we crash.

Being explicit with the abiFilter in the product flavour definitions strips out aarch64 app-services
libs from the apk. When they're loaded first, armv7 versions are picked (since we don't have any other
ones), and everything works correctly afterwards.

Another way to achieve the same result would be to exclude arm64 libs via packagignOptions directive:
packagingOptions { exclude "lib/arm64-v8a/**" }

... but that's a less flexible approach in the longer term.
2019-01-29 16:37:48 -08:00
Christian Sadilek 8ac32ee988 Closes #266 - Integrate feature-downloads component 2019-01-29 14:42:07 -06:00
Grisha Kruglov 0e3965632a Closes #270: Integrate browser-storage-sync for history storage and toolbar autocompletion 2019-01-29 14:40:59 -06:00
Colin Lee 69e9617272 Fixes #127: Add architecture classes 2019-01-28 15:07:48 -06:00
Sebastian Kaspari 63973c4086 Add application id suffix for debug builds.
This makes it a bit more pleasant to work with devices that also have the Nightly builds installed.
2019-01-28 10:33:08 -08:00
Emily Kager 5a3fc1325f Adds toolbar with autocomplete and menu to BrowserFragment 2019-01-24 14:39:51 -08:00
Jeff Boek 3e0ed05c0e Adds missing licenses 2019-01-24 14:13:28 -08:00
Jeff Boek 560aea9b56 For #141 - wires up toolbar and awesomebar 2019-01-24 14:13:28 -08:00
Jeff Boek 480ae93a72 For #141 - Adds autocomplete ot the search screen
- Adds convenience extensions to Context and Fragment
- Imports more components from Android Components
2019-01-24 14:13:28 -08:00
Jonathan Almeida a038b5f8e4 Use support-ktx for Lifecycle.addObservers 2019-01-24 09:25:46 -08:00
Jeff Boek 4c4f344a97 For #131 - Loads mozilla.org in the browser fragment 2019-01-18 15:47:19 -08:00
Emily Kager 4421adecbb Implement Navigation, Add Search Fragment, Add Browser Fragment 2019-01-15 14:08:37 -08:00
Mitchell Hentges 55abe72754 Adds schedule_nightly_graph.py 2019-01-14 13:09:17 -08:00
Mitchell Hentges 8476587ed6 Adds schedule_nightly_graph.py 2019-01-14 13:09:17 -08:00
Jeff Boek 3378ee4209 For #150 - Adds the search bar 2019-01-12 17:09:28 -06:00
Colin Lee 6449a7b798 Fix buildSrc dependencies and androidX usages 2019-01-07 16:20:22 -06:00
Colin Lee 393829e2aa Re-add automation folder; support multiple arch builds 2019-01-07 15:06:15 -06:00
Jeff Boek e34f7e166d Initializes Android project
Co-authored-by: Colin Lee <mncolinlee@gmail.com>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
Co-authored-by: Emily Kager <emilykager@gmail.com>
2018-12-07 15:25:38 -05:00