Commit Graph

2441 Commits

Author SHA1 Message Date
Mike Hommey
309ed8ae59 Bug 1769901 - Update numerous rust crates. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146660
2022-05-18 23:59:49 +00:00
Csoregi Natalia
1022fa6048 Backed out changeset 6762fd57aa0f (bug 1769901) for causing build bustages. CLOSED TREE 2022-05-19 01:04:49 +03:00
Mike Hommey
beaa7521c7 Bug 1769902 - Update the itoa crate to 1.0.x. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146662
2022-05-18 21:04:31 +00:00
Mike Hommey
2e79f54e44 Bug 1769901 - Update numerous rust crates. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146660
2022-05-18 21:00:05 +00:00
Jim Blandy
6ca282be89 Bug 1769633: Update wgpu to b51fd851. r=jgilbert
Fix Firefox for compute_pass_dispatch functions renamed upstream.

Remove set_index_buffer ffi functions; they're now in wgpu.

Differential Revision: https://phabricator.services.mozilla.com/D146509
2022-05-17 03:09:07 +00:00
Jim Blandy
da6683f8de Bug 1769633: Update vendored autocfg to 1.1.0, and re-apply local fixes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146488
2022-05-17 03:09:06 +00:00
Molnar Sandor
f4c40b82c0 Backed out 2 changesets (bug 1769633) for causing build bustages in jimb/rust/wgpu/wgpu-core. CLOSED TREE
Backed out changeset d7b9bac2ace5 (bug 1769633)
Backed out changeset 82d7d8a51cdd (bug 1769633)
2022-05-17 03:39:06 +03:00
Jim Blandy
ec00294922 Bug 1769633: Update wgpu to b51fd851. r=jgilbert
Fix Firefox for compute_pass_dispatch functions renamed upstream.

Remove set_index_buffer ffi functions; they're now in wgpu.

Differential Revision: https://phabricator.services.mozilla.com/D146509
2022-05-17 00:26:01 +00:00
Jim Blandy
17a9056ab0 Bug 1769633: Update vendored autocfg to 1.1.0, and re-apply local fixes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146488
2022-05-17 00:26:00 +00:00
Molnar Sandor
74e42d0f2f Backed out 5 changesets (bug 1743020) for causing linux build bustages in function2.hpp CLOSED TREE
Backed out changeset cf237471cf75 (bug 1743020)
Backed out changeset 78eb51447ce5 (bug 1743020)
Backed out changeset c486f95d55ec (bug 1743020)
Backed out changeset c0abfda55404 (bug 1743020)
Backed out changeset 16be18ca73fb (bug 1743020)
2022-05-14 10:31:12 +03:00
Nika Layzell
2f30490823 Bug 1743020 - Part 2: Vendor the function2 library, r=glandium,mhoye
The function2 library is a header-only library which provides support
for defining move-only function types, similar to the proposed
std::move_only_function in C++23, but with support for additional
customization.

This appears to be the first time we've vendored code using the boost
license, so I've added it to license.html and moz_yaml.py, and have
requested review to ensure it is OK to use code with this license.

Differential Revision: https://phabricator.services.mozilla.com/D145690
2022-05-13 23:43:52 +00:00
John Schanck
e76a11f1cf Bug 1768710 - Upgrade rust-cascade to 1.4.0 and sha2 to 0.10.2. r=keeler,webdriver-reviewers,whimboo,glandium
This also upgrades the headers crate to 0.3.7. Webdriver depends on warp 0.2,
which depends on headers 0.3. But headers < 0.3.7 depends on sha-1 < 0.10. We
need sha-1 and sha2 at the same minor version to avoid duplicate block-buffer,
generic-array, and digest crates.

Differential Revision: https://phabricator.services.mozilla.com/D146010
2022-05-13 13:39:31 +00:00
Tom Ritter
d018d41bad Bug 1767843 - Update dav1d to ffb59680356fd210816cf9e46d9d023ade1f4d5a r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D145913
2022-05-10 19:05:16 +00:00
M. Sirringhaus
208ea397be Bug 1766759 - Use PID when populating the LinuxDsoDebug stream. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D145062
2022-05-10 07:15:15 +00:00
Tooru Fujisawa
9fcc2426e8 Bug 1767562 - Bump jsparagus for bug 1766730. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D145434
2022-05-04 13:27:48 +00:00
Kagami Sascha Rosylight
0d3b3ecabe Bug 1767432 - Update libjxl to 192ddd r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D145332
2022-05-04 00:22:14 +00:00
Bobby Holley
83a758a1fb Bug 1767052 - Upgrade crossbeam-utils from 0.8.6 to 0.8.8. r=Gankra
Differential Revision: https://phabricator.services.mozilla.com/D145114
2022-04-29 19:20:00 +00:00
Ryan VanderMeulen
c63a0df15f Bug 1766853 - Upgrade to SQLite 3.38.3. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D144962
2022-04-28 14:32:54 +00:00
Andrew Halberstadt
a4e3dd8c6a Bug 1748929 - Upgrade taskgraph to version 1.4.0, r=releng-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D144622
2022-04-26 13:17:48 +00:00
Glenn Watson
7004a2fbc3 Bug 1765520 - Use a faster traversal for render_on / free_after r=gfx-reviewers,lsalzman
When there are a large number of sibling backdrop-filter primitives
present, the existing naive recursive traversals to assign the
`render_on` and `free_after` passes hit pathological cases. In
the test case for this bug, a debug build takes 12+ seconds to
complete on my development machine.

Instead, switch to a topological sort for `render_on` assignment,
and use a non-recursive traversal to set `free_after` (which relies
on having the passes in-order from the topo sort to avoid recursion).

Differential Revision: https://phabricator.services.mozilla.com/D144359
2022-04-22 21:17:39 +00:00
Paul Adenot
764a944e17 Bug 1765969 - Update cubeb-coreaudio-rs to 44eca958. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D144426
2022-04-22 15:54:12 +00:00
Jim Blandy
dab2ea0580 Bug 1765462: Update wgpu to 0b61a191 (2022-4-18) r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D144074
2022-04-20 16:29:04 +00:00
ganguin
89ffa8cc58 Bug 1661450 - 2/2 Make webrtc depend on MOZ_X11 r=ng
dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh:

* regenerated json and moz.build files
* remove previous json files

Differential Revision: https://phabricator.services.mozilla.com/D142905
2022-04-20 09:32:10 +00:00
ganguin
e2f88e166b Bug 1661450 - 1/2 Make webrtc depend on MOZ_X11 r=ng
1. add the MOZ_X11 config flag in build/gn.mozbuild and set the gn_vars
accordingly.

2. create the new gn-config/mozconfig files and delete previous ones
dom/media/webrtc/third_party_build/gn-configs/**.mozconfig with
--enable-default-toolkit=cairo-gtk3-wayland-only for the non X11 version.
New toolkit nmae is required to force disable X11 detection as
cairo-gtk3-wayland will auto-detect X11 and make generate-gn-build-files.sh
fail.

3. Add the MOZ_X11 config flag in python/mozbuild/mozbuild/gn_processor.py

Then run
dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh

Differential Revision: https://phabricator.services.mozilla.com/D142904
2022-04-20 09:32:10 +00:00
Mike Hommey
6b078d7de3 Bug 1660745 - Update encoding_rs to 0.8.31 and packed_simd to 0.3.7. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D88002
2022-04-20 06:24:28 +00:00
Mike Hommey
082a0514b0 Bug 1764725 - Fix gtest uninitialized warnings with GCC. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D144076
2022-04-20 03:40:51 +00:00
criss
8d62d22b30 Backed out 10 changesets (bug 1661450) for causing build bustages on nsWindow.cpp. CLOSED TREE
Backed out changeset 2c41d82de0c5 (bug 1661450)
Backed out changeset 5f58fcd7ac0b (bug 1661450)
Backed out changeset 62e56a6dcd22 (bug 1661450)
Backed out changeset 4b422ffa729f (bug 1661450)
Backed out changeset 6ca4705772da (bug 1661450)
Backed out changeset 031a6313459f (bug 1661450)
Backed out changeset 06ddf05e97d6 (bug 1661450)
Backed out changeset 4388b1b9aafd (bug 1661450)
Backed out changeset 600f9fd09fa6 (bug 1661450)
Backed out changeset cc5e8efe3ebf (bug 1661450)
2022-04-19 12:25:14 +03:00
ganguin
70d1f273cc Bug 1661450 - 2/2 Make webrtc depend on MOZ_X11 r=ng
dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh:

* regenerated json and moz.build files
* remove previous json files

Differential Revision: https://phabricator.services.mozilla.com/D142905
2022-04-19 08:35:29 +00:00
ganguin
d87231be26 Bug 1661450 - 1/2 Make webrtc depend on MOZ_X11 r=ng
1. add the MOZ_X11 config flag in build/gn.mozbuild and set the gn_vars
accordingly.

2. create the new gn-config/mozconfig files and delete previous ones
dom/media/webrtc/third_party_build/gn-configs/**.mozconfig with
--enable-default-toolkit=cairo-gtk3-wayland-only for the non X11 version.
New toolkit nmae is required to force disable X11 detection as
cairo-gtk3-wayland will auto-detect X11 and make generate-gn-build-files.sh
fail.

3. Add the MOZ_X11 config flag in python/mozbuild/mozbuild/gn_processor.py

Then run
dom/media/webrtc/third_party_build/gn-configs/generate-gn-build-files.sh

Differential Revision: https://phabricator.services.mozilla.com/D142904
2022-04-19 08:35:29 +00:00
Dana Keeler
6cfd1da232 Bug 1724747 - osclientcerts: avoid rental crate r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D143777
2022-04-15 18:35:00 +00:00
Chris H-C
9d7fd96da1 Bug 1764549 - Update Glean SDK to v44.1.1 r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D143749
2022-04-14 20:35:08 +00:00
Nika Layzell
bf323019ce Bug 1761511 - Part 2: Vendor the latest version of gtest, r=ahal
This patch was performed automatically using `./mach vendor
third_party/googletest/moz.yaml`.

Differential Revision: https://phabricator.services.mozilla.com/D142609
2022-04-14 02:09:20 +00:00
Nika Layzell
62ac49698a Bug 1761511 - Part 1: Set up moz.yaml vendoring for gtest, r=ahal,tjr
This doesn't actually vendor the library in, but sets up the basic
configuration to allow it to be vendored in.

The latest commit on the main branch, rather than the latest tag, is used as
recommended by the googletest documentation.

Differential Revision: https://phabricator.services.mozilla.com/D142608
2022-04-14 02:09:20 +00:00
Paul Adenot
70126304ab Bug 1764574 - mach vendor rust. r=cubeb-reviewers,chunmin
Depends on D143611

Differential Revision: https://phabricator.services.mozilla.com/D143612
2022-04-13 17:23:38 +00:00
Mike Hommey
8937b90c26 Bug 1289641 - Vendor the vsdownload script. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D143125
2022-04-12 22:52:53 +00:00
Butkovits Atila
59ebe1ff72 Backed out 7 changesets (bug 1289641) for causing Python failures. CLOSED TREE
Backed out changeset 0c1cedebf915 (bug 1289641)
Backed out changeset 575732020bd2 (bug 1289641)
Backed out changeset 55b68a71e03a (bug 1289641)
Backed out changeset 0b16a05aa405 (bug 1289641)
Backed out changeset acbff13b91b3 (bug 1289641)
Backed out changeset 2645367da7cb (bug 1289641)
Backed out changeset 8b22a8ec44fe (bug 1289641)
2022-04-12 22:23:27 +03:00
Tooru Fujisawa
1d21d52bd8 Bug 1763276 - Bump jsparagus for bug 1282976. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D143440
2022-04-12 09:16:08 +00:00
Mike Hommey
bd90bf1f39 Bug 1289641 - Vendor the vsdownload script. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D143125
2022-04-11 23:00:08 +00:00
Jan-Erik Rediger
236b8d27b0 Bug 1763602 - Update to Glean v44.1.0. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D143162
2022-04-11 08:25:00 +00:00
Mitchell Hentges
09af1e78c9 Bug 1659593: Make ./mach vendor python cross-platform r=ahal
Use `poetry` instead of `pip-compile`, then leverage `pip` to assert
that there's no conflicts between environments.

This enables simplifying `requirements.in`, since `colorama` is now
automatically picked up, as vendoring is no longer linux-py3.6-specific.

`poetry==1.2.0a2` was chosen because it was the first version that would
include `pip`/`setuptools`/`wheel` in the `requirements.txt`, yet it was
also the last version that supports Python 3.6 (as still used in CI in
some spots).

Sorry about the `requirements.txt` noise, that's because poetry doesn't
sort hashes yet [1]. Fortunately, you can be confident in
`requirements.txt` changes by checking that this patch doesn't include
changes to vendored packages themselves (I'm including the results of a
`./mach vendor python`).

[1] https://github.com/python-poetry/poetry/issues/5408

Differential Revision: https://phabricator.services.mozilla.com/D142884
2022-04-07 18:00:28 +00:00
Jim Blandy
8c4605cfa4 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-07 00:33:59 +00:00
Cosmin Sabou
97d21fa167 Backed out 5 changesets (bug 1761511) for causing build bustages. CLOSED TREE
Backed out changeset 687de8c00013 (bug 1761511)
Backed out changeset 88e6cf5c70e5 (bug 1761511)
Backed out changeset 4c40758f54f1 (bug 1761511)
Backed out changeset 8a18abcccda4 (bug 1761511)
Backed out changeset 1afb1f32a6a4 (bug 1761511)
2022-04-07 00:13:00 +03:00
Nika Layzell
e1ae287818 Bug 1761511 - Part 2: Vendor the latest version of gtest, r=ahal
This patch was performed automatically using `./mach vendor
third_party/googletest/moz.yaml`.

Differential Revision: https://phabricator.services.mozilla.com/D142609
2022-04-06 20:45:06 +00:00
Nika Layzell
919ce7efb2 Bug 1761511 - Part 1: Set up moz.yaml vendoring for gtest, r=ahal,tjr
This doesn't actually vendor the library in, but sets up the basic
configuration to allow it to be vendored in.

The latest commit on the main branch, rather than the latest tag, is used as
recommended by the googletest documentation.

Differential Revision: https://phabricator.services.mozilla.com/D142608
2022-04-06 20:45:06 +00:00
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
John Lin
4087c24a22 Bug 1741244 - p5: proper assignment of FEC setting to encoders in SoftwareFallbackWrapper. r=mjf
Cherry-picked from https://webrtc.googlesource.com/src/+/3791d332c53b283d76d2d3f2fc7e2e74ae28ba1e

Differential Revision: https://phabricator.services.mozilla.com/D137316
2022-04-02 01:20:25 +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
Ryan VanderMeulen
222adc0e8f Bug 1756701 - Upgrade to SQLite 3.38.2. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D142241
2022-03-29 14:32:11 +00:00