Commit Graph

967 Commits

Author SHA1 Message Date
Mike Hommey
b897834e16 Bug 1803480 - Fix clippy::not_unsafe_ptr_arg_deref errors. r=emilio,necko-reviewers,sylvestre,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D163542
2022-12-02 01:59:51 +00:00
Cristian Tuns
877e96873d Backed out changeset 6a46210f9aa2 (bug 1803480) for causing build bustages CLOSED TREE 2022-12-01 19:41:15 -05:00
Cristian Tuns
815ccae382 Backed out changeset 06c98719ac0a (bug 1530373) for causing build bustages on cbindgen-metadata.json.stub CLOSED TREE 2022-12-01 17:38:12 -05:00
Mike Hommey
e0f8fa84b0 Bug 1803480 - Fix clippy::not_unsafe_ptr_arg_deref errors. r=emilio,necko-reviewers,sylvestre,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D163542
2022-12-01 21:46:22 +00:00
M. Sirringhaus
0a75c2f95d Bug 1530373 - Support CTAP2 via USB HID r=supply-chain-reviewers,fluent-reviewers,flod,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D129814
2022-12-01 21:39:52 +00:00
Emilio Cobos Álvarez
68dc4f9679 Bug 1802320 - Green up and re-enable style system layout tests. r=boris
It's unclear to me when they were disabled, but we do want to enable
these as otherwise there's no way to catch bindgen issues that can end
up in subtle bugs at best, or memory corruption at worst.

Differential Revision: https://phabricator.services.mozilla.com/D162997
2022-11-25 10:52:26 +00:00
Sylvestre Ledru
2f5eb7b966 Bug 1802135 - cargo udeps: ignore some crates r=firefox-build-system-reviewers,glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D162846
2022-11-24 07:05:38 +00:00
Greg Tatum
eae482b457 Bug 1755216 - Vendor in fluent-fallback@0.7.0; r=nordzilla
Depends on D161733

Differential Revision: https://phabricator.services.mozilla.com/D161734
2022-11-17 16:00:17 +00:00
Lee Salzman
928a3a186d Bug 1799402 - Vendor wpf-gpu-raster Rust crate. r=jrmuizel,supply-chain-reviewers
This adds the wpf-gpu-raster Rust crate so we can use it for the accelerated
Canvas2D project.

Differential Revision: https://phabricator.services.mozilla.com/D161477
2022-11-12 08:06:43 +00:00
Iulian Moraru
f876a9fbe3 Backed out 3 changesets (bug 1799402) for causing windows build bustages. CLOSED TREE
Backed out changeset e51cd76008ef (bug 1799402)
Backed out changeset 3ff660b475ff (bug 1799402)
Backed out changeset 9cfa7581565e (bug 1799402)
2022-11-12 08:33:24 +02:00
Lee Salzman
6402f8af75 Bug 1799402 - Vendor wpf-gpu-raster Rust crate. r=jrmuizel,supply-chain-reviewers
This adds the wpf-gpu-raster Rust crate so we can use it for the accelerated
Canvas2D project.

Differential Revision: https://phabricator.services.mozilla.com/D161477
2022-11-12 05:42:29 +00:00
Ben Dean-Kawamura
f6d021ddd8 Bug 1795289 - Implementing UniFFI external types, r=markh
Added support for external types and a test for it.

Differential Revision: https://phabricator.services.mozilla.com/D159384
2022-11-10 17:00:50 +00:00
Mike Hommey
48a410860d Bug 1799057 - Enable rust 1.57 features of the fallible_collections crate. r=RyanVM
To work around issues the older code has with 1.65.

Differential Revision: https://phabricator.services.mozilla.com/D161234
2022-11-04 02:38:22 +00:00
Chris H-C
dc97794aa6 Bug 1797494 - Opt Firefox Desktop into Glean's 10^6 preinit queue r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D160410
2022-10-27 14:08:21 +00:00
Matthew Gregan
f32a40fb13 Bug 1797398 - Update cubeb-coreaudio-rs to 93b5c01a. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D160304
2022-10-26 09:42:33 +00:00
Sammy Khamis
a88a17098f Bug 1791851 - Add tabs as a uniffi component r=teshaq,LougeniaBailey,bdk
Differential Revision: https://phabricator.services.mozilla.com/D157979
2022-10-25 20:03:22 +00:00
Sammy Khamis
ae967d0592 Bug 1791851 - mach vendor changes for tabs component r=teshaq,LougeniaBailey,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D157978
2022-10-25 20:03:21 +00:00
az
062c22031f Bug 1794916 - Update cubeb-pulse-rs crate to 0.4.1 r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D159637
2022-10-18 23:11:11 +00:00
Paul Adenot
50795e9e7c Bug 1793294 - Update cubeb-rs crates to 0.10.3. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D158954
2022-10-17 13:18:54 +00:00
Nika Layzell
fa1d6665db Bug 1794001 - Part 5: remove the regex-ffi crate, r=xpcom-reviewers,kmag
It is no longer necessary now that `rure` bindings are in use.

Differential Revision: https://phabricator.services.mozilla.com/D158876
2022-10-13 21:46:56 +00:00
Nika Layzell
67d291d83c Bug 1794001 - Part 1: Import the rure crate for rust regex ffi, r=xpcom-reviewers,supply-chain-reviewers,kmag
While we already have an in-tree `regex-ffi` crate which provides basic
access to regex functionality for use in FormAutofillNative, the `regex`
crate itself provides and maintains its own c api as the `rure` crate.
This patch vendors in `rure` to allow us to use the more-fully-featured
official ffi.

Differential Revision: https://phabricator.services.mozilla.com/D158873
2022-10-13 21:46:54 +00:00
Cristian Tuns
8d27a1d79c Backed out 15 changesets (bug 1794001, bug 1793995, bug 1693271) for causing build bustages CLOSED TREE
Backed out changeset 5d4b0c23342f (bug 1793995)
Backed out changeset 79a5023e7822 (bug 1793995)
Backed out changeset 4330821df43f (bug 1793995)
Backed out changeset a653699a5cef (bug 1793995)
Backed out changeset 264a0154514e (bug 1793995)
Backed out changeset 6773cada61a8 (bug 1793995)
Backed out changeset d55a78f3627a (bug 1793995)
Backed out changeset 16299839e25e (bug 1793995)
Backed out changeset 10c5cf69b3f0 (bug 1693271)
Backed out changeset 84e7bf515c94 (bug 1693271)
Backed out changeset b8dbabe61a9a (bug 1794001)
Backed out changeset 3cfe4087793d (bug 1794001)
Backed out changeset dd03b0396eb9 (bug 1794001)
Backed out changeset d4f9b4a3029a (bug 1794001)
Backed out changeset 148d136ce549 (bug 1794001)
2022-10-12 22:12:26 -04:00
Nika Layzell
1471eed8ef Bug 1794001 - Part 5: remove the regex-ffi crate, r=xpcom-reviewers,kmag
It is no longer necessary now that `rure` bindings are in use.

Differential Revision: https://phabricator.services.mozilla.com/D158876
2022-10-12 23:57:21 +00:00
Nika Layzell
7a483d8c11 Bug 1794001 - Part 1: Import the rure crate for rust regex ffi, r=xpcom-reviewers,supply-chain-reviewers,kmag
While we already have an in-tree `regex-ffi` crate which provides basic
access to regex functionality for use in FormAutofillNative, the `regex`
crate itself provides and maintains its own c api as the `rure` crate.
This patch vendors in `rure` to allow us to use the more-fully-featured
official ffi.

Differential Revision: https://phabricator.services.mozilla.com/D158873
2022-10-12 23:57:19 +00:00
Cristian Tuns
d6fbf59d81 Backed out 15 changesets (bug 1794001, bug 1693271, bug 1793995) for causing build bustages on RustRegex.h CLOSED TREE
Backed out changeset 93fa076646e1 (bug 1793995)
Backed out changeset 3deec78af656 (bug 1793995)
Backed out changeset 61d74f2cf5cf (bug 1793995)
Backed out changeset 8484584cc787 (bug 1793995)
Backed out changeset f7d78fffc836 (bug 1793995)
Backed out changeset 37ccdfa60f9a (bug 1793995)
Backed out changeset 06d7d4823419 (bug 1793995)
Backed out changeset 5cb4daddadb9 (bug 1793995)
Backed out changeset 8b71c15f24c7 (bug 1693271)
Backed out changeset 77c06db920fe (bug 1693271)
Backed out changeset e286fb05d64f (bug 1794001)
Backed out changeset ea8ba9ce54c8 (bug 1794001)
Backed out changeset 27715593ce6f (bug 1794001)
Backed out changeset d1030c02b560 (bug 1794001)
Backed out changeset 80b01e63ca54 (bug 1794001)
2022-10-12 12:57:05 -04:00
Nika Layzell
dfce9adfed Bug 1794001 - Part 5: remove the regex-ffi crate, r=xpcom-reviewers,kmag
It is no longer necessary now that `rure` bindings are in use.

Differential Revision: https://phabricator.services.mozilla.com/D158876
2022-10-12 15:39:52 +00:00
Nika Layzell
3db8df6402 Bug 1794001 - Part 1: Import the rure crate for rust regex ffi, r=xpcom-reviewers,supply-chain-reviewers,kmag
While we already have an in-tree `regex-ffi` crate which provides basic
access to regex functionality for use in FormAutofillNative, the `regex`
crate itself provides and maintains its own c api as the `rure` crate.
This patch vendors in `rure` to allow us to use the more-fully-featured
official ffi.

Differential Revision: https://phabricator.services.mozilla.com/D158873
2022-10-12 15:39:50 +00:00
Paul Adenot
1e6e8dbc6e Bug 1793806 - Update cubeb-coreaudio-rs to 3ba2ca6ef. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D158686
2022-10-06 09:18:13 +00:00
Matthew Gregan
81bded9d8f Bug 1792743 - Update AudioIPC macOS branch to 42eb59ab. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D158285
2022-09-29 20:07:37 +00:00
az
58d6e6e949 Bug 1789547 - Update cubeb-pulse to 0.10.1 r=cubeb-reviewers,kinetik
Depends on D156632

Differential Revision: https://phabricator.services.mozilla.com/D156633
2022-09-11 23:15:24 +00:00
az
1d3ec50e11 Bug 1789547 - Update cubeb-coreaudio to 0.10.1 r=kinetik,cubeb-reviewers
Depends on D156631

Differential Revision: https://phabricator.services.mozilla.com/D156632
2022-09-11 23:15:23 +00:00
az
f8d891886d Bug 1789547 - Upgrade cubeb-sys to 0.10.1 r=padenot,supply-chain-reviewers,cubeb-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156631
2022-09-11 23:15:23 +00:00
Sandor Molnar
f5085dfd25 Backed out 4 changesets (bug 1789547) for causing build bustages in src/cubeb_pulse.c CLOSED TREE
Backed out changeset f4a705068a81 (bug 1789547)
Backed out changeset 2e0a33171e43 (bug 1789547)
Backed out changeset 3d81b7118d30 (bug 1789547)
Backed out changeset f5ad9813b7b7 (bug 1789547)
2022-09-10 01:38:23 +03:00
az
52d0bc005f Bug 1789547 - Update cubeb-pulse to 0.10.1 r=cubeb-reviewers,kinetik
Depends on D156632

Differential Revision: https://phabricator.services.mozilla.com/D156633
2022-09-09 22:17:32 +00:00
az
7386c6dd55 Bug 1789547 - Update cubeb-coreaudio to 0.10.1 r=kinetik,cubeb-reviewers
Depends on D156631

Differential Revision: https://phabricator.services.mozilla.com/D156632
2022-09-09 22:17:31 +00:00
az
50940bde41 Bug 1789547 - Upgrade cubeb-sys to 0.10.1 r=padenot,supply-chain-reviewers,cubeb-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156631
2022-09-09 22:17:31 +00:00
Sammy Khamis
0245c26f0e Bug 1788412 - Add support generating UniFFi for custom types r=bdk,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156112
2022-09-02 02:56:12 +00:00
Matthew Gregan
4f911a99b1 Bug 1785208 - Update AudioIPC macOS branch. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D154875
2022-08-24 06:55:04 +00:00
Ben Dean-Kawamura
847f3947ec Bug 1766045 - Vendoring in Rust code for uniffi-bindgen-gecko-js r=glandium,supply-chain-reviewers
- Added `--enable-uniffi-fixtures` flag.  When set, we will compile in
  the UniFFI test fixtures into our shared Rust crate and eventually
  into `libxul`.
- Vendoring in the Rust crates needed for `uniffi-bindgen-gecko-js`

Differential Revision: https://phabricator.services.mozilla.com/D144467
2022-08-03 18:59:36 +00:00
Butkovits Atila
40e37ac36e Backed out 6 changesets (bug 1766045) for causing build bustages. CLOSED TREE
Backed out changeset 113593df6272 (bug 1766045)
Backed out changeset f137315bb6af (bug 1766045)
Backed out changeset d86ad195a9a0 (bug 1766045)
Backed out changeset e8bc2ec40cff (bug 1766045)
Backed out changeset 2d33e41ac507 (bug 1766045)
Backed out changeset 4d5874e16302 (bug 1766045)
2022-08-03 17:40:30 +03:00
Ben Dean-Kawamura
7e0b88b4ef Bug 1766045 - Vendoring in Rust code for uniffi-bindgen-gecko-js r=glandium,supply-chain-reviewers
- Added `--enable-uniffi-fixtures` flag.  When set, we will compile in
  the UniFFI test fixtures into our shared Rust crate and eventually
  into `libxul`.
- Vendoring in the Rust crates needed for `uniffi-bindgen-gecko-js`

Differential Revision: https://phabricator.services.mozilla.com/D144467
2022-08-03 13:48:27 +00:00
criss
99aeaa01aa Backed out 2 changesets (bug 1766045) for causing Bp-hybrid failures on UniFFIGeneratedScaffolding.cpp
Backed out changeset 5708672d0e83 (bug 1766045)
Backed out changeset cc77fd5ec7a8 (bug 1766045)
2022-08-03 00:01:58 +03:00
Ben Dean-Kawamura
b930e2747e Bug 1766045 - Vendoring in Rust code for uniffi-bindgen-gecko-js r=glandium,supply-chain-reviewers
- Added `--enable-uniffi-fixtures` flag.  When set, we will compile in
  the UniFFI test fixtures into our shared Rust crate and eventually
  into `libxul`.
- Vendoring in the Rust crates needed for `uniffi-bindgen-gecko-js`

Differential Revision: https://phabricator.services.mozilla.com/D144467
2022-08-02 19:51:48 +00:00
Matthew Gregan
08bd10f8b4 Bug 1782147 - Update AudioIPC v1 branch to fb7a2b12. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D153126
2022-07-29 05:36:23 +00:00
Matthew Gregan
ad49f4e825 Bug 1781993 - Update AudioIPC macOS branch to 499b955. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D152983
2022-07-28 21:37:45 +00:00
Ryan Hunt
9865684fd5 Bug 1781425 - wasm: Remove baldrdash. r=jseward,supply-chain-reviewers
The baldrdash integration of Cranelift is agreed between SM and CL
to be the wrong shape. Our import of the code base is also old and
causes difficulties for us when upgrading some crates (see bug
1774829). We should remove it for now to unblock bug 1774829.

Differential Revision: https://phabricator.services.mozilla.com/D152806
2022-07-27 22:30:17 +00:00
Jari Jalkanen
0cafcb21bc Bug 1758324 - Generate hash to represent file system entries. r=dom-storage-reviewers,janv
Depends on D140862

Differential Revision: https://phabricator.services.mozilla.com/D145732
2022-07-19 08:50:14 +00:00
Simon Friedberger
17da8fbcfd Bug 1775035 - Add Rust and XPCOM scaffolding for DAPTelemetry. r=emilio
Rust is required to use the external libprio-rs Rust library.
C++ XPCOM is added because writing XPCOM objects in Rust is still
difficult.

Differential Revision: https://phabricator.services.mozilla.com/D151805
2022-07-14 14:39:19 +00:00
Bogdan Szekely
34bc2f31f2 Backed out changeset 2fa9fd80ad28 (bug 1680975) for causing build bustages on CubebUtils.cpp CLOSED TREE 2022-07-12 16:03:26 +03:00
Greg V
e55748b376 Bug 1680975 - Enable cubeb remoting on FreeBSD r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D98866
2022-07-12 12:48:30 +00:00