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

9039 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson c3d8e7bf97 Bug 1800942 - Temporarily log inputs to ExtrapolateLocalTime. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D166924
2023-01-17 07:28:12 +00:00
Matthew Gregan 886d44aef1 Bug 1801049 - Update AudioIPC macOS branch to 73c8a02d. r=cubeb-reviewers,padenot
Picks up a single fix to address a deadlock triggered when attempting to
configure an audio device that has been removed.

Differential Revision: https://phabricator.services.mozilla.com/D166736
2023-01-17 00:35:51 +00:00
Chris H-C 8f0cfe819b Bug 1805427 - Update Glean to 52.0.0 r=glandium,janerik,webdriver-reviewers,supply-chain-reviewers
Depends on D164603

Differential Revision: https://phabricator.services.mozilla.com/D164604
2023-01-16 18:51:18 +00:00
Chris H-C 218ffcf2d8 Bug 1805427 - Update glean_parser to 6.4.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D164603
2023-01-16 18:51:18 +00:00
serge-sans-paille 46a6cbf6ca Bug 1801557 - import xsimd to third_party r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162537
2023-01-16 11:05:19 +00:00
Updatebot a8187e40b4 Bug 1810317 - Update libjxl to 27f0ffaf77ca9d08222bb17406483ae4509de4dd r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D166869
2023-01-15 06:14:42 +00:00
Cosmin Sabou dbfbedca53 Merge mozilla-central to autoland. 2023-01-14 01:56:35 +02:00
Cosmin Sabou 251ada4676 Backed out 3 changesets (bug 1801557, bug 1804226) for causing Bug 1810251. a=backout
Backed out changeset 99419440af5c (bug 1804226)
Backed out changeset 741734906105 (bug 1801557)
Backed out changeset 6bb3ced40693 (bug 1801557)
2023-01-14 01:30:07 +02:00
Andreas Pehrson a784c6d7df Bug 1731520 - libwebrtc: Cherry-pick commit d100a589c8. r=ng
Upstream commit: https://webrtc.googlesource.com/src/+/d100a589c82b57659d4ab8dba856fd68b21f1f40
    Add dimensions to video settings in objc sdk camera backend.

    This is required by some virtual cameras, like Snap Camera from
    Snapchat.

    Bug: webrtc:14783
    Change-Id: I3d841936c17f3f227af9a94a4c3b0f37940d43b2
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288361
    Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#39073}

Differential Revision: https://phabricator.services.mozilla.com/D166587
2023-01-13 21:18:24 +00:00
Andreas Pehrson bb0b138de0 Bug 1731520 - libwebrtc: Cherry-pick commit 8bec181bfc. r=ng
Upstream commit: https://webrtc.googlesource.com/src/+/8bec181bfc4f3e3fee422513c0f75f90e80e4ed6
    Finish converting RTCCameraVideoCapturerTests to XCTest

    Failed gunit assertions in these XCTestCase classes cannot result in
    failed tests.

    Bug: webrtc:8382
    Change-Id: I47b50b74f60029fafeff4ca885775482a85dfdd3
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288603
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38995}

Differential Revision: https://phabricator.services.mozilla.com/D166586
2023-01-13 21:18:23 +00:00
Andreas Pehrson 33bd5399b2 Bug 1731520 - libwebrtc: Cherry-pick commit 8ce2fc1448. r=ng
Upstream commit: https://webrtc.googlesource.com/src/+/8ce2fc1448fb4d92480059957cb6c0b76896b59e
    Add back lost RotationCamera tests

    Lost in
    https://webrtc.googlesource.com/src/+/c8a6fb2bb8762de17008dee97c5fb6e762f7e056

    Bug: webrtc:8382
    Change-Id: Ic9abd5d2b5d2593354e759c328b423ba272c8b9b
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288700
    Reviewed-by: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Commit-Queue: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
    Cr-Commit-Position: refs/heads/main@{#38991}

Differential Revision: https://phabricator.services.mozilla.com/D166585
2023-01-13 21:18:23 +00:00
Andreas Pehrson 105005d20b Bug 1731520 - libwebrtc: Cherry-pick commit 7e176c41b9. r=ng
Upstream commit: https://webrtc.googlesource.com/src/+/7e176c41b9818052d79d5e3065b36655edbebd6d
    Get RTCCameraVideoCapturerTests working again

    See commit
    https://webrtc.googlesource.com/src/+/c8a6fb2bb8762de17008dee97c5fb6e762f7e056
    where the setup methods for RTCCameraVideoCaptureTests' test cases were
    lost. Both "setup" where XCTest instead looks for "setUp", and
    "setupWithMockedCaptureSession" which isn't called explicitly anywhere.

    This commit splits the old RTCCameraVideoCaptureTests into two;
    RTCCameraVideoCaptureTests for tests using "setup", and
    RTCCameraVideoCaptureTestsWithMockedCaptureSession for tests using
    "setupWithMockedCaptureSession".

    Bug: webrtc:8382
    Change-Id: I64cefff744e12f62d65e04133512de1e10d17d95
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/288601
    Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
    Reviewed-by: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
    Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#38931}

Differential Revision: https://phabricator.services.mozilla.com/D166584
2023-01-13 21:18:22 +00:00
Andreas Pehrson 9ca8cc2677 Bug 1806605 - Pass TrackingId instead of nsCString to CaptureStage. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D165824
2023-01-13 14:25:00 +00:00
serge-sans-paille 149f737bd0 Bug 1801557 - import xsimd to third_party r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162537
2023-01-13 13:31:43 +00:00
Butkovits Atila b3c00ab7ae Backed out 4 changesets (bug 1806605) as requested by Jib. CLOSED TREE
Backed out changeset 56989b96892c (bug 1806605)
Backed out changeset d5cc6cfba0ee (bug 1806605)
Backed out changeset e85b278387fc (bug 1806605)
Backed out changeset 0fa64a630cc7 (bug 1806605)
2023-01-12 23:46:47 +02:00
Andreas Pehrson ab6bca52d0 Bug 1800942 - Add DCHECKs to TimestampExtrapolator::ExtrapolateLocalTime. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D166536
2023-01-11 22:42:36 +00:00
Andreas Pehrson 310a2c2e29 Bug 1808667 - Set pipewire flag in CreateDesktopCaptureOptions instead of in libwebrtc. r=ng
This restores the default value of the flag to verbatim libwebrtc code, and adds
a pref so it can be toggled off.

Differential Revision: https://phabricator.services.mozilla.com/D166036
2023-01-11 16:27:09 +00:00
Andreas Pehrson b31369d4bc Bug 1806605 - Pass TrackingId instead of nsCString to CaptureStage. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D165824
2023-01-11 11:47:45 +00:00
Gabriele Svelto 2075a2a0a9 Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158669
2023-01-10 22:14:30 +00:00
Norisz Fay 8dc1a8ef3c Backed out 3 changesets (bug 1804226, bug 1801557) for causing failures on AudioNodeEngineGeneric.h CLOSED TREE
Backed out changeset fc718f9cc51d (bug 1804226)
Backed out changeset 8409212faaf1 (bug 1801557)
Backed out changeset 49c08aab9622 (bug 1801557)
2023-01-10 14:16:40 +02:00
serge-sans-paille b172be87b8 Bug 1801557 - import xsimd to third_party r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162537
2023-01-10 10:22:33 +00:00
Mike Hommey f26e1e9273 Bug 1807884 - Update warp to 0.3.3. r=webdriver-reviewers,supply-chain-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D165651
2023-01-10 00:50:06 +00:00
Kagami Sascha Rosylight c9046ede50 Bug 1807473 - Update libjxl and highway r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D166317
2023-01-09 16:54:44 +00:00
Cristian Tuns af7d7f81ec Backed out 3 changesets (bug 1804226, bug 1801557) for causing build bustages on AudioNodeEngineGeneric.h CLOSED TREE
Backed out changeset 4615951ea4dd (bug 1804226)
Backed out changeset c401e374a769 (bug 1801557)
Backed out changeset 5d265c462faf (bug 1801557)
2023-01-05 16:32:51 -05:00
serge-sans-paille f5f6cc7a46 Bug 1801557 - import xsimd to third_party r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162537
2023-01-05 21:08:15 +00:00
Byron Campen [:bwc] e4f5497456 Bug 1807193: Update our copy of webrtc-sdp to 0.3.10. r=ng,supply-chain-reviewers
This is primarily to pick up https://github.com/mozilla/webrtc-sdp/pull/268

Depends on D165991

Differential Revision: https://phabricator.services.mozilla.com/D166107
2023-01-05 20:35:28 +00:00
Nicolas Silva 7b36cb3adb Bug 1808331 - Update wgpu. r=#webgpu-reviewers CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D165962
2023-01-04 16:22:30 +00:00
Stanca Serban d46c924b0b Backed out changeset e0a5ed021a2c (bug 1808331) for causing linting failures. 2023-01-04 18:36:53 +02:00
Stanca Serban 848e2cfb4b Backed out 3 changesets (bug 1804226, bug 1801557) for AudioNodeEngine bustages related. CLOSED TREE
Backed out changeset 55a4d00bc8b2 (bug 1804226)
Backed out changeset f47bedfe0f5f (bug 1801557)
Backed out changeset cccb159a5b46 (bug 1801557)
2023-01-04 18:34:57 +02:00
serge-sans-paille 9f8ff13fb7 Bug 1801557 - import xsimd to third_party r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D162537
2023-01-04 15:44:31 +00:00
Nicolas Silva 8db661cfd8 Bug 1808331 - Update wgpu. r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D165869
2023-01-04 13:19:44 +00:00
Michael Froman 7b43afa0de Bug 1807959 - pt2 - remove all casting fixes from libwebrtc. r=ng
Reverts the following commits:
291351e28be1 - Bug 1766646 - (fix-62b6c92298) fix casting like in Bug 1654112 - fix try builds for macos
11592e575991 - Bug 1766646 - (fix-e902f28d2a) fix casting issue
53c81a729001 - Bug 1766646 - (fix-2ddc39e2b9) fix casting issue
de4d4bd3be12 - Bug 1766646 - (fix-9a99905301f) fix a casting issue
77d0769c98e8 - Bug 1766646 - (fix-d6cdf80072) fix casting issue
ffdb4b370427 - Bug 1790097 - (fix-88af20356f) fix casting issue
0e2a8032b2dc - Bug 1800920 - (fix-7aaeb5a270) fix casting issue

Depends on D165691

Differential Revision: https://phabricator.services.mozilla.com/D165692
2023-01-04 03:20:10 +00:00
Michael Froman b7adc27064 Bug 1807959 - pt1 - remove build mitigations from 699496c38ca1 (Bug 1654112 - fix try builds for macos.) r=ng
Differential Revision: https://phabricator.services.mozilla.com/D165691
2023-01-04 03:20:10 +00:00
Ben Dean-Kawamura 79c4dcd5b0 Bug 1788306: UniFFI callback interfaces, r=nika
Started callback interface functionality to UniFFI.  Currently this only
supports the async fire-and-forget use case, where Rust queues a JS
function to run, but doesn't wait (or `await`) for the response.

The basic system is:

  - The JS code registers a callback interface handler with the C++
    code.  This handler is responsible for the specifics of invoking the
    callback.
  - The C++ code defines a function to call a JS handler.  Once the JS
    handler registers itself with C++, the C++ registers it's function
    with Rust.
  - The C++ code queues the call to the JS main thread.
  - Because of how UniFFI handles callback interfaces, the C++ code can
    be "dumb".  UniFFI sends a object id, method id, and RustBuffer
    encoding all arguments.  This means C++ doesn't need to care about
    the specific arguments, they get unpacked by JS.

I tried to keep the generated code as simple as possible by moving the
complexity to static code.  For JS this meant writing a generic
`UniFFICallbackHandler` class in the static code that the generated code
constructs.  For C++ this meant the generated code defines a
`UniFFIGetCallbackInterfaceInfo` function that returns a struct with all
the data specific to a callback interface (it's name, the UniFFI
scaffolding init function, etc).  The static code can then define a
generic `QueueCallback` function that looks up the callback interface
info using the interface ID and then makes the call.

Allow UniFFI functions to run on the main thread rather than always
being dispatched to a worker thread.  This allows us to test invoking
callback interfaces from the main thread thread. I don't think we will
use this much currently, since we don't want to block the main thread
for any significant amount of time. However, this will pair well with
the next step in the project which is async -- allowing async Rust
functions to call async JS functions. In that scenario, dispatching to
the worker thread is unnecessary.

Callback interface objects present a potential memory leak, since you
can easily create a cycle between a JS Callback object and a UniFFIed
Rust object, and the GC has no way of detecting it.  To try to detect
these there's some shutdown code that checks that there are no callbacks
registered during shutdown and prevents any future callbacks from being
registered.

Added a `config.toml` file and code to parse it.  This is needed to
specify which functions should run on the main thread.

Updated the git commits for the several UniFFI examples/fixtures.

Differential Revision: https://phabricator.services.mozilla.com/D156116
2023-01-03 20:57:53 +00:00
Ray Kraesig be447ee5ef Bug 1807981 - Audit winreg 0.10.1 as safe-to-run, and upgrade to it r=supply-chain-reviewers,webdriver-reviewers,whimboo
Upgrade winreg (currently used only by mozrunner) to 0.10.1.

As winreg 0.5.1 is currently listed as an exemption in `supply-chain`,
audit the new version as a blank slate, rather than performing an audit
of the diffs; this is both simpler and allows removing the exemption.

(There are some uses of `unsafe` that would be concerning in deployment
(more for reasons of stability than security), but the crate does
qualify as `safe-to-run`.)

winreg 0.5.1 is currently only used by mozrunner, which requires no
source changes for this upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D165723
2023-01-03 06:25:38 +00:00
Mike Hommey 06330c8a21 Bug 1807630 - Update the object crate to 0.30.0. r=mstange,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165528
2022-12-30 21:49:55 +00:00
Mike Hommey 664e09d9df Bug 1806766 - Update coreaudio-sys to 0.2.11. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165712
2022-12-30 00:21:13 +00:00
Mike Hommey b2601b1488 Bug 1806766 - Update env_logger to 0.9.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165711
2022-12-30 00:21:13 +00:00
Mike Hommey 0b30b96d8b Bug 1806766 - Update toml to 0.5.10. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165710
2022-12-30 00:21:12 +00:00
Mike Hommey 9e2406b96c Bug 1806766 - Update threadbound to 0.1.5. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165709
2022-12-30 00:21:12 +00:00
Mike Hommey 5e41c8d3e1 Bug 1806766 - Update serde_repr to 0.1.10. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165708
2022-12-30 00:10:28 +00:00
Mike Hommey 6d3eebe433 Bug 1806766 - Update serde_bytes to 0.11.8. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165707
2022-12-30 00:10:28 +00:00
Mike Hommey 51a5a837ff Bug 1806766 - Update serde to 1.0.152. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165706
2022-12-30 00:10:27 +00:00
Mike Hommey ad38b42dc3 Bug 1806766 - Update ryu to 1.0.12. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165705
2022-12-30 00:10:27 +00:00
Mike Hommey 89ed83f0d7 Bug 1806766 - Update rustversion to 1.0.11. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165704
2022-12-30 00:10:27 +00:00
Mike Hommey 49660c86c2 Bug 1806766 - Update quote to 1.0.23. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165703
2022-12-30 00:10:26 +00:00
Mike Hommey bc51e4dde3 Bug 1806766 - Update proc-macro-hack to 0.5.20+deprecated. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165702
2022-12-30 00:10:26 +00:00
Mike Hommey 2eea67d5f1 Bug 1806766 - Update parking_lot_core to 0.8.6. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165701
2022-12-30 00:10:25 +00:00
Mike Hommey 2d974f4d16 Bug 1806766 - Update ohttp to 0.2.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165700
2022-12-30 00:10:25 +00:00
Mike Hommey b05baaf3df Bug 1806766 - Update libc to 0.2.139. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165699
2022-12-30 00:10:24 +00:00