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
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
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
Mike Hommey
dbe8730364
Bug 1806766 - Update inherent to 1.0.3. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165643
2022-12-29 21:08:10 +00:00
Mike Hommey
1d0c05f6f8
Bug 1806766 - Update hyper to 0.14.23. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165642
2022-12-29 21:08:10 +00:00
Mike Hommey
a30ea5b3b8
Bug 1806766 - Update form_urlencoded to 1.1.0. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165641
2022-12-29 21:08:10 +00:00
Mike Hommey
699c065dc3
Bug 1806766 - Update zip to 0.6.3. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165640
2022-12-29 21:08:09 +00:00
Mike Hommey
6d07b4e6a6
Bug 1806766 - Update unicode-xid to 0.2.4. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165639
2022-12-29 21:08:09 +00:00
Mike Hommey
8f780be94d
Bug 1806766 - Update unicode-width to 1.10.0. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165638
2022-12-29 21:08:08 +00:00
Mike Hommey
00c649b71a
Bug 1806766 - Update unicode-segmentation to 1.10.0. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165637
2022-12-29 21:08:08 +00:00
Mike Hommey
8135dd659e
Bug 1806766 - Update unicode-normalization to 0.1.22. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165636
2022-12-29 21:08:07 +00:00
Mike Hommey
af8bfd9786
Bug 1806766 - Update unicode-ident to 1.0.6. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165635
2022-12-29 21:08:07 +00:00
Mike Hommey
0c0c446c24
Bug 1806766 - Update unic-langid to 0.9.1. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165634
2022-12-29 21:08:06 +00:00
Mike Hommey
09124da7a5
Bug 1806766 - Update cstr to 0.2.11. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165332
2022-12-29 04:14:34 +00:00
Mike Hommey
f5d75f8abe
Bug 1807789 - Update enumset to 1.0.12. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165599
2022-12-28 20:53:26 +00:00
Mike Hommey
429af26654
Bug 1807789 - Update darling to 0.14.2. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165598
2022-12-28 20:53:26 +00:00
Mike Hommey
3f12b1cfbc
Bug 1806766 - Update typenum to 1.16.0. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165574
2022-12-28 20:48:56 +00:00
Mike Hommey
7ec9a6f94e
Bug 1806766 - Update tracing to 0.1.37. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165573
2022-12-28 20:48:56 +00:00
Mike Hommey
b08baad081
Bug 1806766 - Update tokio-stream to 0.1.11. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165572
2022-12-28 20:48:55 +00:00
Mike Hommey
9c1aa50e61
Bug 1806766 - Update tokio-macros to 1.8.2. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165571
2022-12-28 20:48:55 +00:00
Mike Hommey
c2e9fb5416
Bug 1806766 - Update time to 0.3.17. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165570
2022-12-28 20:48:54 +00:00
Mike Hommey
db3417cdda
Bug 1806766 - Update time to 0.1.45. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165569
2022-12-28 20:48:54 +00:00
Mike Hommey
837045081c
Bug 1806766 - Update thiserror to 1.0.38. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165568
2022-12-28 20:48:53 +00:00
Mike Hommey
212af467a3
Bug 1806766 - Update textwrap to 0.15.2. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165567
2022-12-28 20:48:52 +00:00
Mike Hommey
f69e1b6552
Bug 1806766 - Update rust_decimal to 1.27.0. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165566
2022-12-28 20:48:52 +00:00
Mike Hommey
f6f87913e8
Bug 1806766 - Update sfv to 0.9.3. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165565
2022-12-28 20:48:51 +00:00
Mike Hommey
420eb54c16
Bug 1806766 - Update serde_json to 1.0.91. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165539
2022-12-27 20:45:13 +00:00
Mike Hommey
dd219c949e
Bug 1806766 - Update serde to 1.0.151. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165538
2022-12-27 20:45:12 +00:00
Mike Hommey
400c15cb95
Bug 1806766 - Update syn to 1.0.107. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165537
2022-12-27 20:45:12 +00:00
Mike Hommey
4e8fac76fc
Bug 1806766 - Update socket2 to 0.4.7. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165536
2022-12-27 20:45:11 +00:00
Mike Hommey
a503921e10
Bug 1806766 - Update smallvec to 1.10.0. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165535
2022-12-27 20:45:11 +00:00
Mike Hommey
adc9621daa
Bug 1806766 - Update sha2 to 0.10.6. r=emilio,supply-chain-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D165534
2022-12-27 20:45:11 +00:00