Commit Graph

938 Commits

Author SHA1 Message Date
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
Chris H-C
9ea9ac00d6 Bug 1698184 - Test runtime registration of FOG metrics r=janerik
Adds a test-only method to JS that permits the runtime registration of metrics.
Also uses that to cover JOG with tests: registering and smoke-testing metrics
of each metric type.
(Events being a notable (temporary) exception)

Instead of writing parsers, use serde_json for the optional extra metric args.

Differential Revision: https://phabricator.services.mozilla.com/D143051
2022-06-21 20:34:56 +00:00
Chris H-C
59e9fa7b3e Bug 1698184 - Set out a skeleton of the JOG system r=janerik
We're gonna try our best to keep most of the JOG stuff in bindings/jog.

We won't always be able to. For example:
In order for the created metrics instances to be available to e.g. FFI,
we'll have to codegen them into the `fog` crate.

Differential Revision: https://phabricator.services.mozilla.com/D143047
2022-06-21 20:34:54 +00:00
smolnar
616bfebbf9 Bug 1773213 - Follw up build bustage fix. CLOSED TREE 2022-06-17 04:34:30 +03:00
Mike Hommey
3db2119615 Bug 1773213 - Centralize gkrust features. r=firefox-build-system-reviewers,ahochheiden
gkrust features are currently repeated between 4(!) files:
gkrust-features.mozbuild, where they are defined for the build system,
toolkit/library/rust/shared/Cargo.toml, where they are defined for the
gkrust_shared crate, and toolkit/library/gtest/rust/Cargo.toml and
toolkit/library/rust/Cargo.toml, where they are defined for the
gkrust-gtest and gkrust crates respectively. The last two are entirely
redundant.

Differential Revision: https://phabricator.services.mozilla.com/D148612
2022-06-17 00:10:29 +00:00
Chris Martin
deb6508e91 Bug 1770098 - Disable Win32k Lockdown with incompatible mitigations r=handyman,Gankra
Differential Revision: https://phabricator.services.mozilla.com/D148962
2022-06-16 14:05:00 +00:00
Mike Hommey
f8a6d49328 Bug 1773189 - Avoid windows-sys dependencies being pulled in by cargo update. r=emilio
Some crates in our graph have dependencies on parking_lot >= 0.11,
<=0.12, meaning `cargo update` might pull parking_lot 0.12, which brings
windows-sys.

mio >= 0.8.1 also pulls windows-sys in.

Differential Revision: https://phabricator.services.mozilla.com/D148587
2022-06-08 22:41:53 +00:00
Emilio Cobos Álvarez
1c58e2a928 Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug
Add a dom/base/rust crate called just "dom" where we can share these.

Most of the changes are automatic:

  s/mozilla::EventStates/mozilla::dom::ElementState/
  s/EventStates/ElementState/
  s/NS_EVENT_STATE_/ElementState::/
  s/NS_DOCUMENT_STATE_/DocumentState::/

And so on. This requires a new cbindgen version to avoid ugly casts for
large shifts.

Differential Revision: https://phabricator.services.mozilla.com/D148537
2022-06-07 23:09:52 +00:00
Mike Hommey
bdd97708e7 Bug 1772048 - Update rustc_version and semver crates. r=emilio,webdriver-reviewers,kinetik,whimboo
semver 1.0 doesn't and won't support Clone on semver::Error[1], so we
convert the mozversion error type to store the string version of the
error, which is an incompatible change requiring a version bump on the
crate.

1. https://github.com/dtolnay/semver/pull/280

Differential Revision: https://phabricator.services.mozilla.com/D147825
2022-06-07 10:01:32 +00:00
Mike Hommey
d94e9caec3 Bug 1772962 - Force the url crate to stay at 2.1.0. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D148464
2022-06-07 02:21:04 +00:00
Mike Hommey
3cc027f707 Bug 1772961 - Prevent accidental upgrades of tokio-reactor and tokio-threadpool. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D148463
2022-06-07 02:01:35 +00:00
Mike Hommey
d82e0bde4e Bug 1772961 - Update audioipc to latest revision. r=kinetik
While here, move from mozilla/audioipc-2 to mozilla/audioipc, as the
former redirects to the latter.

Differential Revision: https://phabricator.services.mozilla.com/D148462
2022-06-07 02:01:35 +00:00
Mark Hammond
afed51b193 Bug 1772070 - vendor the current application-services. r=janerik,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147833
2022-06-03 12:41:13 +00:00
Emilio Cobos Álvarez
be6cf42324 Bug 1768301 - Don't run stylo tests in coverage builds for now. r=dshin
This should un-bust ccov builds for now. See comment for the follow-up
work.

Differential Revision: https://phabricator.services.mozilla.com/D146088
2022-05-11 15:27:30 +00:00
Paul Adenot
cd18bf9f03 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
Matthew Gregan
38fb1a3874 Bug 1761691 - Fix audio_thread_priority build when dbus is build disabled. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D144077
2022-04-20 21:37:06 +00:00
Paul Adenot
aa9130f5b8 Bug 1764574 - Update cubeb-coreaudio-rs to a5a21ccb. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D143611
2022-04-13 17:23:38 +00:00
Chun-Min Chang
97e007cc86 Bug 1762036 - Update cubeb-coreaudio to 39f7e69 r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D142363
2022-03-29 23:01:49 +00:00
Matthew Gregan
e2f44db69d 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
a5d2671b4a Bug 1757407 - Add l10nregistry to RUST_TESTS; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D142105
2022-03-25 20:39:46 +00:00
Dan Minor
13d2003911 Bug 1757407 - Point to in-tree version of l10nregistry-rs; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D139851
2022-03-25 20:39:43 +00:00
Paul Adenot
02c4e3266b Bug 1761392 - Update cubeb-coreaudio-rs to 14a712c4f5. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D142055
2022-03-25 16:47:23 +00:00
Paul Adenot
ad420d4748 Bug 1760774 - Update cubeb-coreaudio-rs, cubeb-pulse-rs, audioipc{,-v2}, audio_thread_priority and cubeb-sys. r=cubeb-reviewers,kinetik
Depends on D141756

Differential Revision: https://phabricator.services.mozilla.com/D141757
2022-03-23 10:56:55 +00:00
Dimi
8c1279def9 Bug 1681985 - P3. Implement CreditCardRuleset in C++ r=sgalich,emilio
Depends on D137269

Differential Revision: https://phabricator.services.mozilla.com/D137271
2022-03-11 11:45:59 +00:00
Matthew Gregan
ee08987f12 Bug 1757473 - Update AudioIPC macOS branch to 8e3c4c1b. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D139891
2022-03-01 04:56:47 +00:00
Chris H-C
d47a9bc303 Bug 1753615 - FOG rusttests no longer test panics, can run in ccov r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D139620
2022-02-25 14:26:57 +00:00
Emilio Cobos Álvarez
229dcbcde5 Bug 1755956 - Add initial boilerplate for origin trials. r=smaug,hsivonen
This patch imports and implements all the infrastructure for origin
trial tokens, minus the crypto stuff / token verification.

We still don't hook it anywhere. The intended setup for now would be to
have the `OriginTrials` object hanging off the `Document` (or global
perhaps, not sure yet). That has a self-descriptive API to enable trials
(UpdateFromToken), and check enabledness status (IsEnabled).

There are some tests in the origin-trial-token crate
(third_party/rust/origin-trial-token/tests.rs). No test for the DOM code
yet because this isn't hooked into yet.

Differential Revision: https://phabricator.services.mozilla.com/D139033
2022-02-18 13:57:30 +00:00
Matthew Gregan
c259659474 Bug 1754861 - Update AudioIPC macOS branch to 8b5c7db0. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 23:07:39 +00:00
smolnar
8bb34a391f Backed out changeset ea9c0779e27f (bug 1754861) for causing mda failures. CLOSED TREE 2022-02-11 00:24:21 +02:00
Matthew Gregan
054395721e Bug 1754861 - Update AudioIPC macOS branch to d4ea0f2e. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 21:46:19 +00:00