Граф коммитов

2423 Коммитов

Автор SHA1 Сообщение Дата
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
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
Barret Rennie f50d47d80e Bug 1761441 - Add component to third_party/js/cfworker r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D142078
2022-03-25 18:05:34 +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
Barret Rennie a3d490a7c9 Bug 1755599 - Vendor @cfworker/json-schema r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D138924
2022-03-25 00:01:18 +00:00
Barret Rennie 600a757877 Bug 1755599 - Add vendor configuration for @cfworker/json-schema r=mhoye,mossop
Differential Revision: https://phabricator.services.mozilla.com/D138923
2022-03-25 00:01:17 +00:00
Mitchell Hentges 451b086ce4 Bug 1724274: Downgrade vendored packages for poetry compatibility r=ahal
`importlib_metadata` and `packaging` need to be older versions to be
compatible with the modern version of `poetry`.

Differential Revision: https://phabricator.services.mozilla.com/D141675
2022-03-24 14:04:34 +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
tester 45d8ff9056 Bug 1752326 - Prevent deadlock when stopping V4L2 capture. r=ng
This is effectively a cherry-pick of the upstream commit https://webrtc.googlesource.com/src/+/974f6c64388614c332671c98dec8fffc86f35acf . The effected code was a bit different upstream, so there are minor differences.

Differential Revision: https://phabricator.services.mozilla.com/D138175
2022-03-23 20:34:21 +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
june wilde a3f7403679 Bug 1760719 - Update libjxl to 318c592d98b97d103941b90d47107f06a10c71da; r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D141716
2022-03-22 10:19:20 +00:00
Jon Bauman 72e5dabd5e Bug 1758482 - Update dav1d to new version 28a9c46e1c36540d3276299f2e284ece1d2386be from 2022-02-04T23:02:17.000-03:00. r=media-playback-reviewers,padenot
Normally updatebot would create a revision, allowing me to review it single-handedly, but https://phabricator.services.mozilla.com/D140519 was a failure because of changes updatebot didn't know how to handle, so I just need **someone** to approve the update to get this landed. This has a bit of priority since it's blocking https://bugzilla.mozilla.org/show_bug.cgi?id=1757971, which we want to get uplifted for Fx99.

Differential Revision: https://phabricator.services.mozilla.com/D140921
2022-03-14 17:17:59 +00:00
Ryan VanderMeulen 8e8d78b4a6 Bug 1756701 - Upgrade to SQLite 3.38.1. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D139435
2022-03-14 14:50:52 +00:00
Marian-Vasile Laza f5642cacbf Backed out 3 changesets (bug 1757809, bug 1755599) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 63ae4c9485e9 (bug 1757809)
Backed out changeset 2297b7533b97 (bug 1755599)
Backed out changeset e021f9e97c76 (bug 1755599)
2022-03-10 12:08:13 -08:00
Barret Rennie 2025fb62bb Bug 1755599 - Vendor @cfworker/json-schema r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D138924
2022-03-10 18:53:31 +00:00
Barret Rennie 0526a4c820 Bug 1755599 - Add vendor configuration for @cfworker/json-schema r=mhoye,mossop
Differential Revision: https://phabricator.services.mozilla.com/D138923
2022-03-10 18:53:31 +00:00
Andrew Halberstadt 044c8ee19e Bug 1748926 - Update vendored taskgraph to 1.2.0, r=releng-reviewers,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D140734
2022-03-10 16:40:33 +00:00