Commit Graph

879 Commits

Author SHA1 Message Date
Jamie Nicol
1af6f33ce1 Bug 1634275 - Update glslopt to 0.1.2 to remove dependency on bindgen. r=jrmuizel,kats
Differential Revision: https://phabricator.services.mozilla.com/D73198
2020-04-30 12:25:17 +00:00
Benjamin Bouvier
9d52aedf32 Bug 1618595 - Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D73251
2020-04-30 11:57:24 +00:00
Rob Wu
140b5a6261 Bug 1620621 - Add XPCOM FFI for rust_cascade r=emilio,vporof
Differential Revision: https://phabricator.services.mozilla.com/D66166
2020-04-30 10:02:25 +00:00
Razvan Maries
c92da124b3 Backed out 8 changesets (bug 1620621) for build bustages. CLOSED TREE
Backed out changeset 14a57e32c414 (bug 1620621)
Backed out changeset 56b2b19a9bc1 (bug 1620621)
Backed out changeset 6df42b7528ec (bug 1620621)
Backed out changeset c23703684254 (bug 1620621)
Backed out changeset 206ad824e1bc (bug 1620621)
Backed out changeset e0f3e057b311 (bug 1620621)
Backed out changeset 12817823a3c9 (bug 1620621)
Backed out changeset 80dcb089ce8e (bug 1620621)
2020-04-30 12:29:30 +03:00
Rob Wu
021277de0e Bug 1620621 - Add XPCOM FFI for rust_cascade r=emilio,vporof
Differential Revision: https://phabricator.services.mozilla.com/D66166
2020-04-30 02:48:42 +00:00
Mark Hammond
c777f6f9ed Bug 1634257 - expose wipe_all to mozIExtensionStorageArea. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D73191
2020-04-30 08:16:26 +00:00
Stefan Hindli
49c6346195 Backed out changeset 13bb4d7dde88 (bug 1634257) for spidermoney bustages CLOSED TREE 2020-04-30 10:56:43 +03:00
Mark Hammond
baecd41165 Bug 1634257 - expose wipe_all to mozIExtensionStorageArea. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D73191
2020-04-30 07:08:38 +00:00
Dorel Luca
58186c88dc Backed out 8 changesets (bug 1620621) for XPCshell failures in xpcshell/rs-blocklist/test_blocklist_mlbf_fetch.js
Backed out changeset 06fccc75c09e (bug 1620621)
Backed out changeset 8b4e286967c0 (bug 1620621)
Backed out changeset cfde27a748fd (bug 1620621)
Backed out changeset 7abf836343be (bug 1620621)
Backed out changeset 1a28d1de8f76 (bug 1620621)
Backed out changeset 90c08438be0a (bug 1620621)
Backed out changeset 723a3b4e7bbf (bug 1620621)
Backed out changeset bbc991f09d5d (bug 1620621)
2020-04-30 05:44:28 +03:00
Rob Wu
4294b3bca0 Bug 1620621 - Add XPCOM FFI for rust_cascade r=emilio,vporof
Differential Revision: https://phabricator.services.mozilla.com/D66166
2020-04-29 23:26:48 +00:00
Lina Cambridge
add5457732 Bug 1633943 - Support tearing down a Rust StorageSyncArea. r=markh
This commit wires up `StorageSyncArea::teardown()` to call the new
`webext_storage::Store::close()` method.

It also changes `teardown` to drop the `LazyStore`, and thus close its
database connection, on the main thread if dispatching to the task
queue fails. Dispatch should only fail at shutdown, and putting the
owned reference back only adds indirection, since the `StorageSyncArea`
will still drop its `LazyStore` later in shutdown.

Finally, it includes an xpcshell test fix for
https://github.com/mozilla/application-services/pull/3050.

Differential Revision: https://phabricator.services.mozilla.com/D72992
2020-04-29 04:35:45 +00:00
Dzmitry Malyshau
c969ade19a Bug 1633472 - Update gfx-backend-vulkan 3rd party r=groves
we are handling the case where the driver technically knows about Vulkan, but no hardware supports it.

Differential Revision: https://phabricator.services.mozilla.com/D72726
2020-04-28 14:09:50 +00:00
Paul Adenot
f0c2c239ef Bug 1633266 - mach vendor rust r=kinetik
Depends on D72636

Differential Revision: https://phabricator.services.mozilla.com/D72637
2020-04-27 22:42:43 +00:00
Lina Cambridge
c13f9f9d49 Bug 1626128 - Change Golden Gate to depend on sync15_traits. r=markh
Now that `BridgedEngine` has been moved to `sync15_traits`, we can
remove `golden_gate_traits` from the tree, and change Golden Gate to
depend on `sync15_traits` directly.

This commit also adds a Cargo feature, `services_sync`, which reflects
the `MOZ_SERVICES_SYNC` config option. In the future, we'll use this
feature to gate implementations of `mozIBridgedSyncEngine`.

Differential Revision: https://phabricator.services.mozilla.com/D72784
2020-04-28 04:13:04 +00:00
Dzmitry Malyshau
8f221fe39d Bug 1633553 - Update dwrote to 0.11 r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D72748
2020-04-27 21:47:21 +00:00
Alex Chronopoulos
94ecd85385 Bug 1632093 - mach vendor rust. r=padenot
Depends on D72729

Differential Revision: https://phabricator.services.mozilla.com/D72730
2020-04-27 19:11:27 +00:00
Jan-Erik Rediger
d5ca718261 Bug 1632158 - Implement UUID metric for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D72654
2020-04-27 14:11:59 +00:00
Lina Cambridge
1aa777d5e1 Bug 1626506 - Add a binding for the new extension storage Rust component. r=markh
The `webext_storage_bridge` crate introduced in this commit bridges the
`mozIExtensionStorageArea` XPCOM interface to the `webext_storage` Rust
component from Application Services.

This commit factors out the following parts from bug 1623245, so that
we can land them piecemeal:

* The `mozIExtensionStorageArea` interfaces, which implement all the
  methods needed to support the `storage.sync` API.
* A Rust implementation of the above, in `StorageSyncArea`.
* A `StorageTask` type, for dispatching storage operations to a
  background task queue.
* A `LazyStore`, which wraps the Rust component's `Store` and lazily
  initializes it on the background queue the first time it's used.
* A `StorageSyncService`, which is our singleton. It holds on to a
  configured `StorageSyncArea`, and hands out references to it via
  `getInterface`. Eventually, we'll extend this to support syncing,
  too.

Differential Revision: https://phabricator.services.mozilla.com/D71897
2020-04-27 05:40:54 +00:00
Lina Cambridge
e6e665546f Bug 1626506 - Vendor the webext_storage component. r=markh
Hooray, our first Application Services Rust component! This is a
mechanical run of `mach vendor rust`, split out into its own commit
to make reviewing the Firefox bindings easier.

Differential Revision: https://phabricator.services.mozilla.com/D71895
2020-04-27 05:40:52 +00:00
Mihai Alexandru Michis
807ec47bae Backed out 2 changesets (bug 1626506) for causing bustages.
CLOSED TREE

Backed out changeset f3deedfe235d (bug 1626506)
Backed out changeset 00b40d247500 (bug 1626506)
2020-04-27 08:11:19 +03:00
Lina Cambridge
e1b6df9fd4 Bug 1626506 - Add a binding for the new extension storage Rust component. r=markh
The `webext_storage_bridge` crate introduced in this commit bridges the
`mozIExtensionStorageArea` XPCOM interface to the `webext_storage` Rust
component from Application Services.

This commit factors out the following parts from bug 1623245, so that
we can land them piecemeal:

* The `mozIExtensionStorageArea` interfaces, which implement all the
  methods needed to support the `storage.sync` API.
* A Rust implementation of the above, in `StorageSyncArea`.
* A `StorageTask` type, for dispatching storage operations to a
  background task queue.
* A `LazyStore`, which wraps the Rust component's `Store` and lazily
  initializes it on the background queue the first time it's used.
* A `StorageSyncService`, which is our singleton. It holds on to a
  configured `StorageSyncArea`, and hands out references to it via
  `getInterface`. Eventually, we'll extend this to support syncing,
  too.

Differential Revision: https://phabricator.services.mozilla.com/D71897
2020-04-27 03:23:46 +00:00
Lina Cambridge
a42e765155 Bug 1626506 - Vendor the webext_storage component. r=markh
Hooray, our first Application Services Rust component! This is a
mechanical run of `mach vendor rust`, split out into its own commit
to make reviewing the Firefox bindings easier.

Differential Revision: https://phabricator.services.mozilla.com/D71895
2020-04-27 02:59:45 +00:00
Thom Chiovoloni
475b53142b Bug 1632575 - Update vendored rusqlite to 0.23.1 r=lina
Differential Revision: https://phabricator.services.mozilla.com/D72439
2020-04-24 20:43:34 +00:00
Bastien Orivel
8052061256 Bug 1606281 - Part 1: Update warp to 0.2. r=jgraham,webdriver-reviewers
Pretty straightforward update. This duplicates the tokio stack because
audioipc hasn't been updated yet.  (https://github.com/djg/audioipc-2/issues/97)

Differential Revision: https://phabricator.services.mozilla.com/D71462
2020-04-20 15:27:31 +00:00
Tooru Fujisawa
ade632335d Bug 1632737 - Cover GCThing::Function in match. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D72287
2020-04-24 20:14:22 +00:00
Jan-Erik Rediger
e44691d67b Bug 1632131 - Simple smoke test for FOG's string metric type. r=chutten
A first Rust test, which should run without any interaction with
Firefox.
This will eventually break down when we get IPC in there.

Depends on D72128

Differential Revision: https://phabricator.services.mozilla.com/D72385
2020-04-24 19:08:32 +00:00
Jan-Erik Rediger
0542e950e5 Bug 1632131 - Implement a string metric for the in-tree Glean API. r=chutten
Currently there's no user, so we do some trickery to actually make sure
it gets compiled.

It also lacks a test, that will follow in the next commit,
as it's a bit more complex to set up a Glean instance for a test run.

Differential Revision: https://phabricator.services.mozilla.com/D72128
2020-04-24 19:08:25 +00:00
Cosmin Sabou
e78c4952e3 Backed out 2 changesets (bug 1632131) for causing SM bustages. CLOSED TREE
Backed out changeset 7715960a9f53 (bug 1632131)
Backed out changeset 559882b9b092 (bug 1632131)
2020-04-24 19:40:16 +03:00
Jan-Erik Rediger
52e00a6770 Bug 1632131 - Simple smoke test for FOG's string metric type. r=chutten
A first Rust test, which should run without any interaction with
Firefox.
This will eventually break down when we get IPC in there.

Differential Revision: https://phabricator.services.mozilla.com/D72385
2020-04-24 15:22:44 +00:00
Jan-Erik Rediger
e4443a7c40 Bug 1632131 - Implement a string metric for the in-tree Glean API. r=chutten
Currently there's no user, so we do some trickery to actually make sure
it gets compiled.

It also lacks a test, that will follow in the next commit,
as it's a bit more complex to set up a Glean instance for a test run.

Differential Revision: https://phabricator.services.mozilla.com/D72128
2020-04-24 15:23:30 +00:00
Simon Sapin
5af9f4fc2a Bug 1631721 - Remove hashglobe r=manishearth
Differential Revision: https://phabricator.services.mozilla.com/D71743
2020-04-23 00:19:51 +00:00
Simon Sapin
67ea7f6752 Bug 1631721 - Use hashbrown instead of hashglobe r=manishearth
Differential Revision: https://phabricator.services.mozilla.com/D71741
2020-04-23 00:19:51 +00:00
Simon Sapin
cbe24024bb Bug 1631721 - Vendor the hashbrown crate r=manishearth
This is the hash map implementation now used in the Rust standard library:

* https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#a-new-hashmapk-v-implementation
* https://github.com/rust-lang/rust/pull/58623
* https://crates.io/crates/hashbrown

Differential Revision: https://phabricator.services.mozilla.com/D71740
2020-04-23 00:19:50 +00:00
Dzmitry Malyshau
4b29474d3f Bug 1630813 - Remove gfx/wgpu/wgpu-native, move wgpu-remote out into gfx/wgpu_bindings r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D71699
2020-04-22 15:35:13 +00:00
Tooru Fujisawa
0a10fbcaaf Bug 1631827 - Update jsparagus, use the first script in EmitResult, and store GCThings in SmooshScriptStencil. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D71787
2020-04-22 13:50:43 +00:00
Alex Chronopoulos
6b59c61f22 Bug 1628634 - mach vendor rust. r=padenot
Depends on D71929

Differential Revision: https://phabricator.services.mozilla.com/D71930
2020-04-22 12:08:08 +00:00
Jamie Nicol
f548e9a284 Bug 1604615 - Optimize webrender shaders at build time. r=gw
Move more shader parsing code to webrender_build, so it can be used
both at runtime and build time.

At build time optimize a set of shaders and feature flag combinations,
using glslopt. Some features are skipped because they are not
supported by the gl version, because the optimizer does not support
them, or because webrender does not need them currently.

Use build-parallel to ensure the optimization is performed in parallel
using the make jobserver. Write the optimized shader source to a
hashmap to be used at runtime, in addition to the unoptimized source.

Differential Revision: https://phabricator.services.mozilla.com/D70032
2020-04-21 10:32:03 +00:00
Jamie Nicol
b3f0dc3a6a Bug 1604615 - Add glslopt and build-parallel as build dependencies of webrender. r=jrmuizel
Update Cargo.lock files and vendor sources in to tree.

Differential Revision: https://phabricator.services.mozilla.com/D70030
2020-04-21 10:31:46 +00:00
Paul Adenot
86e2733819 Bug 1631448 - mach vendor rust. r=chunmin,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D71624
2020-04-20 21:59:17 +00:00
Kirk Steuber
42eceb0734 Bug 1624391 - Add capability to parse update XMLs to the update agent r=agashlin,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D69064
2020-04-17 20:48:10 +00:00
Kirk Steuber
39419a82db Bug 1624391 - Add XML downloading capability to the update agent r=agashlin,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D69063
2020-04-17 20:47:53 +00:00
Kirk Steuber
9579958b80 Bug 1624391 - Add Update URL Generation to the update agent r=agashlin,mhowell
This patch does not include the capability to read update URLs set by enterprise policy. That capability will be added later, when we add other enterprise policy support.

Differential Revision: https://phabricator.services.mozilla.com/D69062
2020-04-17 20:47:30 +00:00
Nico Grunbaum
4f8f4fd418 Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 09:17:46 +00:00
Brindusan Cristian
094e7f1fa3 Backed out 2 changesets (bug 1628630) for build bustages at SdpAttribute.h. CLOSED TREE
Backed out changeset 5c05d978aa32 (bug 1628630)
Backed out changeset bbd66b8940bb (bug 1628630)
2020-04-16 09:01:26 +03:00
Nico Grunbaum
53809171df Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 05:35:58 +00:00
Glenn Watson
f276147e7f Bug 1630480 - Update gleam GL bindings to 0.11.0 r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D71133

--HG--
extra : moz-landing-system : lando
2020-04-16 02:13:31 +00:00
Dzmitry Malyshau
06da709344 Bug 1629891 - Fix spirv-cross revision in root Cargo.toml overrides r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D70900

--HG--
extra : moz-landing-system : lando
2020-04-14 17:18:05 +00:00
Chun-Min Chang
c0327eb4e1 Bug 1628132 - P3: Update cubeb-coreaudio to 0f62d38. r=kinetik
Pick commits:
- 0f62d38: backend: Allow Clippy's cognitive_complexity lint on several functions. (#83)
- fbf5cbd: Update to cubeb-backend 0.6.3. (#82)
- b49264b: Remove unknown devices when querying devices in scope (#81)

Differential Revision: https://phabricator.services.mozilla.com/D70777

--HG--
extra : moz-landing-system : lando
2020-04-14 00:44:24 +00:00
Dzmitry Malyshau
964f4f889c Bug 1629605 - wgpu tracking fixes r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D70707

--HG--
extra : moz-landing-system : lando
2020-04-14 00:32:50 +00:00
Dzmitry Malyshau
e8a60d2eab Bug 1624174 - Update wgpu to get the coordinate spaces right r=jgilbert
The updated wgpu has the coordinate space fixes.
Depends on

  - https://phabricator.services.mozilla.com/D70421
  - https://phabricator.services.mozilla.com/D70432
  - https://phabricator.services.mozilla.com/D70646

Differential Revision: https://phabricator.services.mozilla.com/D70140

--HG--
rename : third_party/rust/rendy-descriptor/Cargo.toml => third_party/rust/gfx-descriptor/Cargo.toml
rename : third_party/rust/rendy-memory/Cargo.toml => third_party/rust/gfx-memory/Cargo.toml
rename : third_party/rust/rendy-memory/src/allocator/dynamic.rs => third_party/rust/gfx-memory/src/allocator/general.rs
rename : third_party/rust/rendy-memory/src/heaps/heap.rs => third_party/rust/gfx-memory/src/heaps/heap.rs
rename : third_party/rust/rendy-memory/src/utilization.rs => third_party/rust/gfx-memory/src/stats.rs
extra : moz-landing-system : lando
2020-04-13 13:42:15 +00:00