Commit Graph

12082 Commits

Author SHA1 Message Date
Ben Hearsum
6ff7df4e0e Bug 1850045: Upgrade vendored taskgraph module to 6.2.1 r=taskgraph-reviewers,mach-reviewers,gabriel,ahal
Differential Revision: https://phabricator.services.mozilla.com/D186820
2023-09-07 15:42:09 +00:00
Lina Butler
1466383668 Bug 1851845 - Update vendored Application Services dependencies. r=markh,adw
This commit vendors the latest changes to the Suggest and Remote
Settings Rust components.

1. From the `application-services` source tree, I ran
   `./tools/update-moz-central-vendoring.py ../m-c` to update the
   revisions in the m-c source tree.
2. I added the Remote Settings component UDL file to
   `toolkit/components/uniffi-bindgen-gecko-js/mach_commands.py`, and
   updated `toolkit/components/uniffi-bindgen-gecko-js/config.toml` to
   call the `RemoteSettings` constructor on the main thread. The
   Suggest component uses the `RemoteSettingsConfig` type in its
   public API, so we must generate bindings for the Remote Settings
   component.
3. From the m-c source tree, I ran `./mach uniffi generate` to update
   the generated UniFFI bindings.

Differential Revision: https://phabricator.services.mozilla.com/D187559
2023-09-07 05:40:28 +00:00
Robert Mader
78a6ed6ce1 Bug 1843786 - webrtc: Implement Pipewire camera rotation support, r=webrtc-reviewers,pehrsons,@webrtc-reviewers
Support the Pipewire videotransform meta via the already existing shared
infrastructure. This is needed for mobile devices which often have a 90
degree rotated camera - which is likely the reason there is already
support in the shared code paths.

Upstream commit: dc4c019c62abefc09e4903abea44bc36f3427452

Differential Revision: https://phabricator.services.mozilla.com/D183652
2023-09-06 16:37:55 +00:00
Robert Mader
0cfcaa31a6 Bug 1843786 - Pipewire: Add videotransform meta, r=grulja,@webrtc-reviewers
This cherry-picks the `spa_meta_videotransform` needed for upcoming
webrtc patches, avoiding a full sync for easier porting.

Upstream commit: 01b2552b71e7475b4c9f893c43e07e8f1044a50b

Differential Revision: https://phabricator.services.mozilla.com/D183651
2023-09-06 16:37:55 +00:00
Robert Mader
15bec067ae Bug 1843786 - webrtc: Filter out non-camera nodes, r=webrtc-reviewers,pehrsons,@webrtc-reviewers
This can be helpful in various situations, such as debugging with an
unrestricted Pipewire socket or for downstream projects like
B2G/Capyloon. Additionally it will help once we move from the camera
portal to the more generic device portal.

This is intended to get upstreamed but would be nice to carry downstream
already.

Original patch by Fabrice Desré <fabrice@desre.org>

Upstream commit: a717c7ada811411e31bd7308168b4dbee5b956fa

Differential Revision: https://phabricator.services.mozilla.com/D183650
2023-09-06 16:37:55 +00:00
Logan Rosen
736b980b9a Bug 1786490 - bump Jinja2 to 3.1.2 r=sylvestre,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D186409
2023-09-06 16:14:29 +00:00
Logan Rosen
658caae5b1 Bug 1786490 - update to black 23.3.0 r=sylvestre,mach-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D186086
2023-09-06 16:14:29 +00:00
Sandor Molnar
9844277299 Backed out 3 changesets (bug 1850045) for causing decision task bustages CLOSED TREE
Backed out changeset b5870683550d (bug 1850045)
Backed out changeset 4ecd1e0ccff8 (bug 1850045)
Backed out changeset 74ec20ac8f53 (bug 1850045)
2023-09-06 16:43:22 +03:00
Ben Hearsum
c1a3964427 Bug 1850045: Upgrade vendored taskgraph module to 6.2.1 r=taskgraph-reviewers,mach-reviewers,gabriel,ahal
Differential Revision: https://phabricator.services.mozilla.com/D186820
2023-09-06 13:30:44 +00:00
Zhao Jiazhong
ab691e8a10 Bug 1851545 - Update rust crate raw-window-handle to 0.5.2. r=supply-chain-reviewers,glandium
Update crate raw-window-handle to 0.5.2 to drop dependency on crate cty.

Differential Revision: https://phabricator.services.mozilla.com/D187426
2023-09-06 03:43:08 +00:00
Drew Willcoxon
d9464e5021 Bug 1851256 - Part 1: Vendor the application-services suggest Rust component into mozilla-central. r=lina
This is part 1 of 3 and vendors the [suggest component](https://github.com/mozilla/application-services/tree/main/components/suggest) from
application-services into m-c. `suggest` depends on `remote_settings`, so it was
also vendored. Part 2 will generate JS bindings with uniffi.

This is my first time doing this so I'll explain how I generated this patch in
case I did something wrong:

1. I manually added `suggest` to the following files:
   * Top-level `Cargo.toml`
   * `toolkit/library/rust/shared/Cargo.toml`
   * `toolkit/library/rust/shared/lib.rs` -- I followed the example of `tabs`,
     not sure if `suggest::uniffi_reexport_scaffolding!()` is necessary
2. I ran `./mach vendor rust`

That's it, there were no errors or problems.

Differential Revision: https://phabricator.services.mozilla.com/D187323
2023-09-05 21:11:57 +00:00
Michael Froman
0fbd0623d8 Bug 1851665 - fix difference betweeen backport of libwebrtc upstream 56d126074e and actual upstream 56d126074e. r=dbaker,webrtc-reviewers
A couple small changes crept in during the backport that don't exist in
the actual upstream commit.

Differential Revision: https://phabricator.services.mozilla.com/D187498
2023-09-05 20:10:41 +00:00
Michael Froman
9ba934305e Bug 1851645 - add missing cherry-pick no-op tracking file for Bug 1830945. r=dbaker,webrtc-reviewers DONTBUILD
The changes from 1830945 were landed upstream in v116's release branch as
commit 04ee24493d as a cherry-pick of dcf600d7a5.  dcf600d7a5's no-op file
will be created automatically when running build_no_op_commits.sh at the
proper time so a tracking file for it is not needed yet.

Differential Revision: https://phabricator.services.mozilla.com/D187489
2023-09-05 19:41:20 +00:00
Michael Froman
e662c43269 Bug 1774628 - re-enable support for Windows.Graphics.Capture APIs in libwebrtc. - moz.build file updates. r=pehrsons,webrtc-reviewers
Depends on D186862

Differential Revision: https://phabricator.services.mozilla.com/D186863
2023-09-01 13:23:52 +00:00
Michael Froman
7c670e41ed Bug 1774628 - re-enable support for Windows.Graphics.Capture APIs in libwebrtc. r=pehrsons,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186862
2023-09-01 13:23:51 +00:00
Jeff Muizelaar
c3b462663f Bug 1849487. Futher improve miter joining. r=lsalzman
This avoids numerical stability problems when computing the
miter pointer intersection when the lines are nearly parallel.

Differential Revision: https://phabricator.services.mozilla.com/D187057
2023-08-30 01:42:23 +00:00
Ryan VanderMeulen
e7dae1d581 Bug 1850022 - Upgrade to SQLite 3.43.0. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D187003
2023-08-29 13:10:56 +00:00
stransky
a5b56640d8 Bug 1821629 [Pipewire/DMABuf] Don't create dmabuf backend if it's disabled r=ng,webrtc-reviewers
Depends on D172224

Differential Revision: https://phabricator.services.mozilla.com/D172229
2023-08-29 12:43:42 +00:00
stransky
da0a2bbf56 Bug 1821629 [DMABuf] Don't use DMABuf if it's disabled by Firefox gfx config r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172224
2023-08-29 12:43:41 +00:00
Sebastian Hengst
9ebf038bbe Merge mozilla-central to autoland. CLOSED TREE 2023-08-29 13:14:06 +02:00
Willy R. Vasquez
88e2f3bd9e Bug 1850471 - Vendor in the most recent wasm2c rlbox sandbox. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187020
2023-08-29 06:26:34 +00:00
Henri Sivonen
1e1bec8c6e Bug 1849874 - Update from packed_simd_2 to packed_simd. r=supply-chain-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D186716
2023-08-28 18:46:28 +00:00
Henri Sivonen
1178fd7cbe Bug 1849869 - Update proc-macro2 to 1.0.66. r=supply-chain-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D186713
2023-08-28 17:59:33 +00:00
Emilio Cobos Álvarez
8affedea0d Bug 1836948 - Patch rayon-core with proposed use_current_thread API. r=smaug,jnicol,supply-chain-reviewers
This applies https://github.com/rayon-rs/rayon/pull/1063 to our
rayon-core. I'm hopeful it can be merged upstream soon, but meanwhile
this seems worth having on its ow.

Differential Revision: https://phabricator.services.mozilla.com/D186722
2023-08-28 17:55:31 +00:00
John Schanck
fba2249b4b Bug 1850025 - vendor authenticator-rs v0.4.0-alpha20. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186806
2023-08-28 17:48:55 +00:00
Jeff Muizelaar
bbe138bbe0 Bug 1841020. Improve miter joining. r=lsalzman
This updates aa-stroke to c7bc7190f6d3115bc81640c0433649c1fce9491c
which fixes some degenerate behaviour when mitering parallel lines.

Differential Revision: https://phabricator.services.mozilla.com/D186859
2023-08-28 01:10:12 +00:00
Cristian Tuns
7042a4a444 Backed out changeset efeef29d315b (bug 1841020) as requested by jrmuizel. CLOSED TREE 2023-08-26 09:16:22 -04:00
Jeff Muizelaar
148a8b6a3f Bug 1841020. Improve miter joining. r=lsalzman
This updates aa-stroke to fef8702c4c8afd7d47e7a5aafb6fa347c96b50be
which fixes some degenerate behaviour when mitering parallel lines.

Differential Revision: https://phabricator.services.mozilla.com/D186859
2023-08-25 20:39:36 +00:00
Michael Froman
00f384e063 Bug 1849902 - remove unnecessary libwebrtc change in ivf_file_writer.cc r=webrtc-reviewers,dbaker
Differential Revision: https://phabricator.services.mozilla.com/D186727
2023-08-24 14:29:34 +00:00
Natalia Csoregi
47d4ddc1c9 Backed out 2 changesets (bug 1848956) for causing increasingly high webgpu failures on cts.https.html. CLOSED TREE
Backed out changeset fbbf71ea5127 (bug 1848956)
Backed out changeset 3dd540c62c79 (bug 1848956)
2023-08-24 15:10:23 +03:00
Nicolas Silva
ac7bc41315 Bug 1848956 - Update wgpu to revision 57874e5c540330c8183e19ee87654cf24bb5c250. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
***
fixup

Differential Revision: https://phabricator.services.mozilla.com/D186461
2023-08-24 11:01:46 +00:00
Michael Froman
934f8f464d Bug 1849752 - remove unnecessary libwebrtc change in GlGenericDrawer.java r=jolin,ng,webrtc-reviewers
These imports were removed during the change from android.support to androidx, but
seem to be unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D186658
2023-08-23 18:13:25 +00:00
Mike Hommey
4bcef93926 Bug 1849322 - Add checks to ensure people don't land things that make ./mach vendor rust non-idempotent. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D186529
2023-08-23 18:04:05 +00:00
Michael Froman
6a976eec3d Bug 1849750 - remove unnecessary libwebrtc change in mean_variance_estimator.cc r=ng,webrtc-reviewers
These changes were made to fix warnings in the build, but we no longer build this
file.

Differential Revision: https://phabricator.services.mozilla.com/D186654
2023-08-23 17:45:18 +00:00
Michael Froman
7c110a7fea Bug 1849646 - remove unnecessary libwebrtc change in filter_ar_fast_q12.c r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186635
2023-08-23 17:45:11 +00:00
Stanca Serban
8aa4e033a1 Backed out changeset bc91ede31572 (bug 1848956) for causing webgpu failures. 2023-08-22 20:57:58 +03:00
Updatebot
ce59cf1c5a Bug 1845578 - Update libdrm to 4de32c86096c09b0ad8aa18d6fd4536159d2c0cd r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D184619
2023-08-22 17:32:48 +00:00
Nicolas Silva
a8d0e26d58 Bug 1848956 - Update wgpu to revision 57874e5c540330c8183e19ee87654cf24bb5c250. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
***
fixup

Differential Revision: https://phabricator.services.mozilla.com/D186461
2023-08-22 14:03:58 +00:00
Dan Baker
1d44361b96 Bug 1848427 - Increasing max payload types supported by sipcc sdp parser.;r=ng
Differential Revision: https://phabricator.services.mozilla.com/D186487
2023-08-18 18:43:34 +00:00
Cristina Horotan
0e744431f1 Backed out changeset 366fe4ef2cd3 (bug 184827) for landing with the wrong bug number. CLOSED TREE 2023-08-18 19:40:23 +03:00
Dan Baker
c6be0516fb Bug 184827 - Increasing max payload types supported by sipcc sdp parser.;r=ng
Differential Revision: https://phabricator.services.mozilla.com/D186487
2023-08-17 20:20:04 +00:00
Michael Froman
e7b8d13b75 Bug 1847074 - updated libwebrtc patch stack 2023-08-17 13:51:52 -05:00
Michael Froman
70f53f5db8 Bug 1850146 - remove unnecessary libwebrtc changes in jvm_android.cc. r=dbaker
After landing Bug 1826428 to remove jvm_android.cc from the build and
giving time for that to simmer for a while with no known effects, we
can remove our modifications.

Differential Revision: https://phabricator.services.mozilla.com/D186855
2023-08-25 17:57:03 +00:00
John Schanck
937b7e0393 Bug 1848172 - vendor authenticator-rs v0.4.0-alpha19. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186273
2023-08-17 17:27:46 +00:00
Updatebot
78c3beaf49 Bug 1848578 - Update libjxl to e6202f7181eff36c78bfdb79aa9bd45c3d1d614b r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D186097
2023-08-16 10:25:21 +00:00
Michael Froman
9040057393 Bug 1847833 - aec_debug_size_, aec_debug_size(), set_aec_debug_size(uint32_t size) are no longer used. r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185931
2023-08-16 01:45:44 +00:00
Michael Froman
a6ea76ffe9 Bug 1847833 - remove aec log output size limiting code from libwebrtc's apm_data_dumper. r=ng,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185930
2023-08-16 01:45:44 +00:00
Michael Froman
d0bed050b9 Bug 1847074 - Vendor libwebrtc from 8fbabf340d
Upstream commit: https://webrtc.googlesource.com/src/+/8fbabf340da0bd6c9f1450a8c4522c54390598a1
    [M115] Revert mid check in SdpOfferAnswerHandler::CreateDataChannel.

    This check was added here:
      https://webrtc-review.googlesource.com/c/src/+/300544

    When createOffer is used before createAnswer, this check would cause
    SetupDataChannelTransport_n to not be called for the remote channel.

    (cherry picked from commit 299cdc9057fb8925f1692ac8c7573f51b7872df6)

    Bug: webrtc:15258
    Change-Id: Ifdab35d1b0260ff03fef4beff13acf8090d59d8f
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/310460
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
    Cr-Original-Commit-Position: refs/heads/main@{#40357}
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/313620
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/branch-heads/5790@{#8}
    Cr-Branched-From: 2eacbbc03a4a41ea658661225eb1c8fc07884c33-refs/heads/main@{#40122}
2023-08-14 15:01:53 -05:00
Michael Froman
0ba94b2d03 Bug 1847074 - Vendor libwebrtc from 2abe6e2214
We already cherry-picked this when we vendored 151be743d4.

Upstream commit: https://webrtc.googlesource.com/src/+/2abe6e2214fa4fcecdb9614715c55a82c0067e25
    [M115] Bail out early if the RTP send module for a SSRC was not found

    since it might have been deregistered previously.

    BUG=chromium:1454860,chromium:1459124

    (cherry picked from commit c0ed83eac258032a2416b7e4200bd074a6455f4b)

    Change-Id: I70ba43265361d040e568f83b6400ff8f3c2a8e98
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/311800
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Philipp Hancke <phancke@microsoft.com>
    Cr-Original-Commit-Position: refs/heads/main@{#40431}
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/312121
    Cr-Commit-Position: refs/branch-heads/5790@{#7}
    Cr-Branched-From: 2eacbbc03a4a41ea658661225eb1c8fc07884c33-refs/heads/main@{#40122}
2023-08-14 15:00:55 -05:00
Michael Froman
08bb4e36b2 Bug 1847074 - Vendor libwebrtc from 43670de877
We already cherry-picked this when we vendored a624ee1be7.

Upstream commit: https://webrtc.googlesource.com/src/+/43670de877297a980bfdd1353dd2eb68360e2f2a
    [M115] Avoid touching channel after OnSctpDataChannelClosed

    (cherry picked from commit eec1810760ccbdf95c68ed0d2c2ae10a8575551a)

    Bug: chromium:1454086
    Change-Id: I39573b706c4031d091c45a182b13cb3b2dba6233
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/309920
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
    Cr-Original-Commit-Position: refs/heads/main@{#40332}
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/310921
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/branch-heads/5790@{#6}
    Cr-Branched-From: 2eacbbc03a4a41ea658661225eb1c8fc07884c33-refs/heads/main@{#40122}
2023-08-14 14:59:59 -05:00