Commit Graph

1890 Commits

Author SHA1 Message Date
Cristian Tuns
0f7608c52d Backed out changeset b67fef0360d9 (bug 1762730) for causing build bustages CLOSED TREE 2022-04-05 17:37:32 -04:00
Jim Blandy
8075da04f9 Bug 1762730: Update wgpu-core, wgpu-hal, and wgpu-types to 75e82afd. r=jgilbert
New versions of several crates are introduced to third_party/rust, by
changing the versions requested in `gfx/wgpu_bindings/Cargo.toml` and
running `mach vendor rust`:

- `wgpu-core`, `wgpu-hal`, and `wgpu-types`, as used by `wgpu_bindings`
- `naga`, `ash`, and `metal`, as used by the above

These are all exact copies of the upstream sources, at the git
revisions listed in `.cargo/config.in`.

This brings in fixes for some upstream `wgpu` bugs that were fuzzblockers:

- Compute pipelines never freed at runtime, leaking memory #2564
  https://github.com/gfx-rs/wgpu/issues/2564

- Device::drop doesn't actually free the device when using backend::direct::Context #2563
  https://github.com/gfx-rs/wgpu/issues/2563

The Firefox sources also needed some adjustments to catch up with
upstream changes:

- The C type `mozilla::webgpu::ffi::WGPUTextureFormat` is now a struct
  containing a tag enum and a union, not just an enum. This is needed
  for [gfx-rs/wgpu#2477](https://github.com/gfx-rs/wgpu/pull/2477).

  (Note that Firefox's `WebGPU.webidl` is behind the current spec,
  so even though the newest ASTC texture formats are supported in `wgpu`,
  they're not available in Firefox yet.)

- `wgpu` got a new feature, `id32`, which cbindgen needed to be told
  about so that it would generate preprocessor-protected code like
  this:

      #if defined(WGPU_FEATURE_ID32)
      typedef uint32_t WGPUNonZeroId;
      #endif

      #if !defined(WGPU_FEATURE_ID32)
      typedef uint64_t WGPUNonZeroId;
      #endif

  instead of just spitting out two conflicting definitions of
  `WGPUNonZeroId`.

- The `wgpu_core::hub::IdentityHandlerFactory` trait's `spawn` method
  no longer takes a `min_index` argument. (Our implementations of that
  trait never used that argument anyway, so this was easy to
  accommodate.)

Differential Revision: https://phabricator.services.mozilla.com/D142779
2022-04-05 20:13:28 +00:00
Tooru Fujisawa
c667bd6c01 Bug 1761218 - Bump jsparagus for bug 1760989 and bug 1761755. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D142468
2022-03-30 17:11:00 +00:00
Chun-Min Chang
cc7684c67d Bug 1762036 - mach vendor rust r=cubeb-reviewers,kinetik
Depends on D142363

Differential Revision: https://phabricator.services.mozilla.com/D142364
2022-03-29 23:01:49 +00:00
Marian-Vasile Laza
6080eee972 Backed out changeset 6a067384b1c0 (bug 1751693) for causing wr bustages on Cargo.toml. CLOSED TREE 2022-03-28 00:44:57 -07:00
Bas Schouten
3f4629d024 Bug 1751693: Add telemetry probe to measure glyph rasterization time and the required plumbing for WR. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D140681
2022-03-28 07:21:14 +00:00
Matthew Gregan
789c845570 Bug 1761580 - Update AudioIPC branches. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D142150
2022-03-25 23:23:33 +00:00
Dan Minor
f4825ff71f Bug 1757407 - Re-run mach vendor rust; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D139855
2022-03-25 20:39:44 +00:00
Paul Adenot
cf857a0bc3 Bug 1761392 - mach vendor rust. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D142056
2022-03-25 16:47:23 +00:00
Mike Hommey
db439334ca Bug 1757571 - Upgrade crossbeam-channel to 0.5.4. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D141563
2022-03-24 06:08:27 +00:00
Tooru Fujisawa
3f2455f7ca Bug 1760930 - Bump jsparagus for bug 1760605. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D141840
2022-03-23 13:43:18 +00:00
Paul Adenot
d2ed518283 Bug 1760774 - mach vendor rust. r=cubeb-reviewers,kinetik
Depends on D141757

Differential Revision: https://phabricator.services.mozilla.com/D141758
2022-03-23 10:56:56 +00:00
Dimi
5186434570 Bug 1681985 - P3. Implement CreditCardRuleset in C++ r=sgalich,emilio
Depends on D137269

Differential Revision: https://phabricator.services.mozilla.com/D137271
2022-03-11 11:45:59 +00:00
Tooru Fujisawa
3edb437261 Bug 1758877 - Bump jsparagus for bug 885514. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D140721
2022-03-10 11:46:43 +00:00
Dana Keeler
23c938c2f3 Bug 1615974 - avoid memmapping CRLite filters in cert_storage r=jschanck,robwu
Differential Revision: https://phabricator.services.mozilla.com/D140266
2022-03-09 22:46:15 +00:00
Jan-Erik Rediger
11825d8e68 Bug 1758509 - Update regex crate to 1.5.5 r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D140532
2022-03-09 08:43:35 +00:00
Mike Hommey
f7b39f73c2 Bug 1758021 - Get is_{arm,aarch64}_feature_detected from std::arch on rustc >= 1.60. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D140278
2022-03-04 00:39:40 +00:00
Lee Salzman
619a501c21 Bug 1757449 - Make WR NativeFontHandle use String instead of CGFont on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D139882
2022-03-02 10:11:05 +00:00
criss
b13da6025c Backed out changeset e0f1d94942ce (bug 1757449) for causing build bustages on macOs. CLOSED TREE 2022-03-02 12:02:50 +02:00
Lee Salzman
a3df467ef4 Bug 1757449 - Make WR NativeFontHandle use String instead of CGFont on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D139882
2022-03-02 09:34:31 +00:00
Matthew Gregan
d98490d201 Bug 1757473 - Update AudioIPC macOS branch to 8e3c4c1b. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D139891
2022-03-01 04:56:47 +00:00
Emilio Cobos Álvarez
5c525da4a0 Bug 1755956 - Add initial boilerplate for origin trials. r=smaug,hsivonen
This patch imports and implements all the infrastructure for origin
trial tokens, minus the crypto stuff / token verification.

We still don't hook it anywhere. The intended setup for now would be to
have the `OriginTrials` object hanging off the `Document` (or global
perhaps, not sure yet). That has a self-descriptive API to enable trials
(UpdateFromToken), and check enabledness status (IsEnabled).

There are some tests in the origin-trial-token crate
(third_party/rust/origin-trial-token/tests.rs). No test for the DOM code
yet because this isn't hooked into yet.

Differential Revision: https://phabricator.services.mozilla.com/D139033
2022-02-18 13:57:30 +00:00
Valentin Gosu
a1f3c24dce Bug 1755954 - Keep only vendored sfv 0.9.1 r=necko-reviewers,glandium,dragana
It seems sfv 0.8.0 is used in the tree, while neqo is using the newer 0.9.1.
Updating http-sfv to use sfv 0.9.1 should remove the code duplication.

Differential Revision: https://phabricator.services.mozilla.com/D139027
2022-02-18 08:51:51 +00:00
Alexis Beingessner
3435e9e912 Bug 1755833 - update thin-vec to 0.2.5. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D138984
2022-02-18 03:23:16 +00:00
Jan-Erik Rediger
c6eac14b6e Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D138446
2022-02-15 13:35:07 +00:00
Marian-Vasile Laza
013d79e7e6 Backed out 4 changesets (bug 1754474) for causing bc test failures. CLOSED TREE
Backed out changeset c6dd8b681aca (bug 1754474)
Backed out changeset 596955256cc6 (bug 1754474)
Backed out changeset fc692b3c27a2 (bug 1754474)
Backed out changeset 59eb7951a5eb (bug 1754474)
2022-02-11 17:30:03 +02:00
Jan-Erik Rediger
76df6d315f Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D138446
2022-02-11 14:27:38 +00:00
Matthew Gregan
13a95078c3 Bug 1754861 - Update AudioIPC macOS branch to 8b5c7db0. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 23:07:39 +00:00
smolnar
e62f3ab431 Backed out changeset ea9c0779e27f (bug 1754861) for causing mda failures. CLOSED TREE 2022-02-11 00:24:21 +02:00
Matthew Gregan
fe86399007 Bug 1754861 - Update AudioIPC macOS branch to d4ea0f2e. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 21:46:19 +00:00
Mike Hommey
960795641b Bug 1742972 - Upgrade lmdb-rkv-sys to 0.11.2. r=emilio
It will stop creating a text_env section, which in turn will work around
the linking problems on no-opt builds on arm64 mac.

Differential Revision: https://phabricator.services.mozilla.com/D137902
2022-02-04 22:19:32 +00:00
Mike Hommey
0439dd06a3 Bug 1742972 - Add lmdb-rkv-sys dependency to gkrust{,-gtest} to work around rust issue 58393. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D137901
2022-02-04 22:19:32 +00:00
Dragana Damjanovic
2185d4ea34 Bug 1752117 - Neqo version 0.5.7 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D137254
2022-01-31 05:17:42 +00:00
James Graham
f09c241a85 Bug 1421766 - Make geckodriver read marionette port from MarionetteActivePort in profile, r=webdriver-reviewers,jdescottes,whimboo
When no marionette port is explicitly specified, and the Firefox
version is >= 95, pass in a port number of 0 from geckodriver to
firefox, so that marionette binds on a free port. Then read the port
it used from the profile. This avoids the possibility of races between
geckodriver picking a free port and marionette binding to that port.

This could also be used on Android, but isn't implemented as part of
this patch.

Differential Revision: https://phabricator.services.mozilla.com/D136740
2022-01-27 10:32:17 +00:00
Nika Layzell
3207c4d890 Bug 1746533 - Part 1: Use custom vendored version of async-task, r=emilio
This version adds a new `FallibleTask` wrapper type which allows polling the
task without panicking.

Differential Revision: https://phabricator.services.mozilla.com/D136945
2022-01-26 15:36:13 +00:00
Mike Hommey
8fd03d2f80 Bug 1751331 - Use the mozbuild crate in nserror. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D136567
2022-01-25 21:29:53 +00:00
Mike Hommey
b82810b455 Bug 1751331 - Use the mozbuild crate in gecko-profiler. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D136566
2022-01-25 21:29:53 +00:00
Mike Hommey
e467585271 Bug 1751331 - Use the mozbuild crate in xpcom. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D136565
2022-01-25 21:29:52 +00:00
Mike Hommey
9ca6bf836b Bug 1751331 - Use the mozbuild crate in glean. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D136564
2022-01-25 21:29:52 +00:00
Mike Hommey
bb2c244246 Bug 1751331 - Use the mozbuild crate in static_prefs. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D136563
2022-01-25 21:29:52 +00:00
Mike Hommey
2239244615 Bug 1751331 - Use the mozbuild crate in servo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D136562
2022-01-25 21:29:51 +00:00
Mike Hommey
7723b5cc59 Bug 1751331 - Use the mozbuild crate in cranelift. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D136561
2022-01-25 21:29:51 +00:00
Mike Hommey
1654ae7332 Bug 1751331 - Use the mozbuild crate in moz_asserts. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D136560
2022-01-25 21:29:50 +00:00
Mike Hommey
b049d1d9cf Bug 1751331 - Use the mozbuild crate in mozglue-static. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D136559
2022-01-25 21:29:50 +00:00
Mike Hommey
e013590cd1 Bug 1751331 - Add a mozbuild crate that exposes some build configuration items. r=firefox-build-system-reviewers,andi
This will be used as a central point of authority rather than individual
crates figuring things out on their own.

Differential Revision: https://phabricator.services.mozilla.com/D136558
2022-01-25 21:29:50 +00:00
criss
592389ca2d Backed out 10 changesets (bug 1751331) for causing bustages. CLOSED TREE
Backed out changeset 5ce212465a26 (bug 1751331)
Backed out changeset 14d62b8ffa5a (bug 1751331)
Backed out changeset 76f46bd9afa1 (bug 1751331)
Backed out changeset 147faaad046f (bug 1751331)
Backed out changeset f85b049d12f9 (bug 1751331)
Backed out changeset 16d8d3f8378b (bug 1751331)
Backed out changeset 1cd9386a3927 (bug 1751331)
Backed out changeset 20faacba6db6 (bug 1751331)
Backed out changeset 7d17f75bcb38 (bug 1751331)
Backed out changeset 28b9aab1f174 (bug 1751331)
2022-01-25 13:00:25 +02:00
criss
bc6de6a896 Backed out 2 changesets (bug 1751331) for causing multiple failures. CLOSED TREE
Backed out changeset c4081656bc53 (bug 1751331)
Backed out changeset 27df9b0ccfb1 (bug 1751331)
2022-01-25 11:41:52 +02:00
Mike Hommey
209e7cc15f Bug 1751331 - Use the mozbuild crate in nserror. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D136567
2022-01-25 09:03:05 +00:00
Mike Hommey
4db4c572b5 Bug 1751331 - Use the mozbuild crate in gecko-profiler. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D136566
2022-01-25 09:03:05 +00:00
Mike Hommey
5fa0297527 Bug 1751331 - Use the mozbuild crate in xpcom. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D136565
2022-01-25 09:03:04 +00:00