Commit Graph

587 Commits

Author SHA1 Message Date
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
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
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
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
Mike Hommey
d968427783 Bug 1751331 - Use the mozbuild crate in moz_asserts. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D136560
2022-01-25 21:29:50 +00:00
criss
c9010b39b3 Backed out 10 changesets (bug 1751331) for causing bustages. CLOSED TREE
Backed out changeset 5ce212465a26 (bug 1751331)
Backed out changeset 14d62b8ffa5a (bug 1751331)
Backed out changeset 76f46bd9afa1 (bug 1751331)
Backed out changeset 147faaad046f (bug 1751331)
Backed out changeset f85b049d12f9 (bug 1751331)
Backed out changeset 16d8d3f8378b (bug 1751331)
Backed out changeset 1cd9386a3927 (bug 1751331)
Backed out changeset 20faacba6db6 (bug 1751331)
Backed out changeset 7d17f75bcb38 (bug 1751331)
Backed out changeset 28b9aab1f174 (bug 1751331)
2022-01-25 13:00:25 +02:00
Mike Hommey
5bab21c932 Bug 1751331 - Use the mozbuild crate in moz_asserts. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D136560
2022-01-25 09:03:02 +00:00
Matthew Gregan
8802f5a380 Bug 1726279 - Enable AudioIPC rework for Windows and Linux by default. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134930
2022-01-14 03:52:35 +00:00
Mike Hommey
6cebcd25eb Bug 1730004 - Add a crate with diagnostic / nightly asserts. r=nika,emilio
Original patch by emilio.

Differential Revision: https://phabricator.services.mozilla.com/D125190
2022-01-07 21:24:45 +00:00
Matthew Gregan
71a9fccb48 Bug 1748515 - Update AudioIPC macOS branch to 978b4082. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D135080
2022-01-05 04:32:36 +00:00
Matthew Gregan
f50379bc9c Bug 1748160 - Add pref to select audioipc/audioipc2 version at runtime. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134929
2022-01-03 22:35:34 +00:00
Matthew Gregan
f994ef0e5a Bug 1748037 - Update AudioIPC macOS branch to 62086d05. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134889
2021-12-31 00:09:44 +00:00
Gabriele Svelto
721d793279 Bug 1747196 - Build the Web MIDI midir backend only on known supported platforms rather than excluding unsupported ones r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D134491
2021-12-29 08:14:52 +00:00
Matthew Gregan
0a6d95f5b2 Bug 1747213 - Update AudioIPC macOS branch to 2ec125ec. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134490
2021-12-28 22:42:55 +00:00
Erik Nordin
e1f383f1f8 Bug 1743659 - Part 1: Update Gecko's L10nRegistry to use the new l10nregistry-rs API r=zbraniecki,dminor,eemeli,fluent-reviewers,webidl,smaug?,eemeli?,zbraniecki
- Updates Gecko's L10nRegistry class to use the new ResourceId type,
  which can be either optional or required regarding a particular resource.
- Adds JS tests verifying the new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D133578
2021-12-22 19:08:38 +00:00
Gabriele Svelto
a0b259ab33 Bug 1201598 - Add a midir-based implementation for WebMIDI r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D131351
2021-12-21 11:34:52 +00:00
Gabriele Svelto
0faffe260d Bug 1728436 - Vendor the midir crate r=padenot
This is as close to usptream as currently possibly. Only a few changes were
done to the dependencies: the wasm target was removed and the coremidi
dependency was updated to pick up a more recent version so that we don't need
to vendor separate versions of the core-foundation and core-foundation-sys
crates.

This vendors the following crates:
* alsa-sys
* alsa
* coremidi
* coremidi-sys
* memalloc
* midir

Overall this adds ~30K lines of code, over half of which is in the alsa
bindings alone.

Differential Revision: https://phabricator.services.mozilla.com/D124640
2021-12-21 11:34:51 +00:00
Jon Bauman
84214289ca Bug 1745608 - Add additional AVIF telemetry for unimplemented features. r=aosmond CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D133580
2021-12-18 20:05:19 +00:00
Matthew Gregan
39fddb2d83 Bug 1746689 - Update AudioIPC macos branch to e9eac9d7. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134202
2021-12-18 01:24:04 +00:00
Matthew Gregan
2e2dfc550c Bug 1746352 - Update audioipc to 515bb210. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D133995
2021-12-16 10:37:12 +00:00
Butkovits Atila
e429c6f59e Backed out changeset 65cda71ffcdd (bug 1746352) for causing bustages complaining about new API. CLOSED TREE 2021-12-16 12:17:45 +02:00
Matthew Gregan
3a9fd1ddee Bug 1746352 - Update audioipc to 776ef93a. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D133995
2021-12-16 09:32:27 +00:00
Matthew Gregan
9bfda5d581 Bug 1726275 - Update AudioIPC to pick up IPC rework. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D132541
2021-12-16 06:24:23 +00:00
Marian-Vasile Laza
deca139ff3 Backed out changeset 736011c1640c (bug 1726275) for causing build bustages. CLOSED TREE 2021-12-16 06:08:19 +02:00
Matthew Gregan
58dd7130cb Bug 1726275 - Update AudioIPC to pick up IPC rework. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D132541
2021-12-16 03:02:02 +00:00
Paul Adenot
12a063359b Bug 1745724 - Update cubeb-pulse-rs to revision f2456201dbfdc. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D133631
2021-12-13 14:18:08 +00:00
Mike Hommey
f634b22334 Bug 1744668 - Upgrade viaduct to the version from application-services v84.0.0. r=markh
This removes the need for the local prost-derive patch.
Viaduct itself has not changed a whole lot.

Differential Revision: https://phabricator.services.mozilla.com/D133025
2021-12-08 05:23:04 +00:00
Sandor Molnar
c3e455780b Backed out 3 changesets (bug 1744668) for causing multiple failures. CLOSED TREE
Backed out changeset 46c822b70a3f (bug 1744668)
Backed out changeset a1b048e394fe (bug 1744668)
Backed out changeset 49b593d05354 (bug 1744668)
2021-12-08 04:18:29 +02:00
Mike Hommey
73b0ad902d Bug 1744668 - Upgrade viaduct to the version from application-services v87.1.0. r=markh
This removes the need for the local prost-derive patch.
Viaduct itself has not changed a whole lot.

Differential Revision: https://phabricator.services.mozilla.com/D133025
2021-12-07 21:25:29 +00:00
Chun-Min Chang
5c3e182bd4 Bug 1744567 - Update cubeb-coreaudio-rs to dea28d0 r=cubeb-reviewers,kinetik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132976
2021-12-06 23:54:19 +00:00
Jesse Schwartzentruber
f8196872cc Bug 1731721 - Preliminary HTTP/3 fuzzing target r=dragana,decoder,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126177
2021-11-25 19:01:04 +00:00
Iulian Moraru
2a2002eb39 Backed out changeset 667e91aa1dea (bug 1731721) for causing multiple build bustages. CLOSED TREE 2021-11-24 20:32:30 +02:00