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

550 Коммитов

Автор SHA1 Сообщение Дата
Matthew Gregan 07b0619d68 Bug 1697845 - Remove AudioIPC v1. r=glandium,supply-chain-reviewers,cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134931
2023-03-29 10:25:33 +00:00
Mike Hommey b6972306c0 Bug 1824255 - Update glsl to 6.0.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173488
2023-03-24 00:13:38 +00:00
Mark Hammond 333488dcfc Bug 1817904 (part 1) - Vendor a new application-services. r=skhamis,glandium
Differential Revision: https://phabricator.services.mozilla.com/D173242
2023-03-23 03:28:07 +00:00
Tiaan Louw 1da980f4b4 Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers
Make use of the new changes in the cssparser that allows 'none' keywords
in color components where allowed.  We store the none values as 0.0 (as
per the spec) and mark the components with the flags. This way we don't
have to check anything on the components before doing calculations.

As this is the last part intended to be released for the new [color-4]
changes, I've also enabled the changes on nightly.

Differential Revision: https://phabricator.services.mozilla.com/D170208
2023-03-16 11:50:55 +00:00
Marian-Vasile Laza b1bb1b3c9b Backed out changeset 160ac6b5f726 (bug 1813481) for assertion failure on nsCSSRenderingGradients.cpp. 2023-03-16 01:50:39 +02:00
Tiaan Louw a7a28cf7a6 Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers
Make use of the new changes in the cssparser that allows 'none' keywords
in color components where allowed.  We store the none values as 0.0 (as
per the spec) and mark the components with the flags. This way we don't
have to check anything on the components before doing calculations.

As this is the last part intended to be released for the new [color-4]
changes, I've also enabled the changes on nightly.

Differential Revision: https://phabricator.services.mozilla.com/D170208
2023-03-15 21:10:43 +00:00
Butkovits Atila 45514b96bb Backed out changeset deabee2364d4 (bug 1813481) for causing assertion failures at gfxUtils.cpp. CLOSED TREE 2023-03-15 19:21:19 +02:00
Tiaan Louw 29eaf0b759 Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers
Make use of the new changes in the cssparser that allows 'none' keywords
in color components where allowed.  We store the none values as 0.0 (as
per the spec) and mark the components with the flags. This way we don't
have to check anything on the components before doing calculations.

As this is the last part intended to be released for the new [color-4]
changes, I've also enabled the changes on nightly.

Differential Revision: https://phabricator.services.mozilla.com/D170208
2023-03-15 16:25:00 +00:00
Cristina Horotan d17ba6a363 Backed out changeset 00e23971f01b (bug 1813481) for causing xpcshell failures at test_css-properties-db.js CLOSED TREE 2023-03-15 11:19:59 +02:00
Tiaan Louw 56e7e7777d Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers
Make use of the new changes in the cssparser that allows 'none' keywords
in color components where allowed.  We store the none values as 0.0 (as
per the spec) and mark the components with the flags. This way we don't
have to check anything on the components before doing calculations.

As this is the last part intended to be released for the new [color-4]
changes, I've also enabled the changes on nightly.

Differential Revision: https://phabricator.services.mozilla.com/D170208
2023-03-15 08:15:54 +00:00
Sammy Khamis bbbee19545 Bug 1818349 Part 1: Vendor new version of application-services r=markh
Differential Revision: https://phabricator.services.mozilla.com/D171181
2023-03-07 07:42:14 +00:00
Ryan VanderMeulen 76b958d3b3 Backed out changesets b05343a5b533 and 57b2cda7e0db (bug 1818349) for causing bug 1819723. 2023-03-01 17:52:01 -05:00
Sammy Khamis 8c8c25f26b Bug 1818349 Part 1: Vendor new version of application-services r=markh
Differential Revision: https://phabricator.services.mozilla.com/D171181
2023-02-28 05:14:29 +00:00
Tiaan Louw 6fe94c07e9 Bug 1813481 - Use abstract color parser r=emilio,supply-chain-reviewers
In stead of having the css parser construct a color in it's own format
and then converting it to what Gecko needs to perform operations, we now
construct a Gecko friendly color type directly.

Differential Revision: https://phabricator.services.mozilla.com/D170187
2023-02-26 11:11:21 +00:00
Mike Hommey fe6592f43b Bug 1817900 - Update num_cpus to 1.15.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170445
2023-02-23 01:17:30 +00:00
Nika Layzell 8d5ea433cf Bug 1810615 - Update the async-task crate, r=supply-chain-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D168175
2023-01-31 20:35:32 +00:00
Jan-Erik Rediger 5cd8c5650a Bug 1812615 - Update to Glean v52.2.0, glean_parser 7.0.0 and UniFFI 0.23. r=chutten,markh,glandium,supply-chain-reviewers
The in-tree UniFFI bindings were regenerated with:

    ./mach uniffi generate

Differential Revision: https://phabricator.services.mozilla.com/D168060
2023-01-31 11:12:05 +00:00
Mike Hommey 970620c00a Bug 1813411 - Force-upgrade env_logger to 0.10. r=emilio
This preemptively avoids the addition of a new version of the crate.

Differential Revision: https://phabricator.services.mozilla.com/D168221
2023-01-30 17:35:12 +00:00
Norisz Fay e550bd2248 Backed out changeset f973933cb7fa (bug 1813411) for causing build bustages CLOSED TREE 2023-01-30 19:15:21 +02:00
Mike Hommey 379f0bceb5 Bug 1813411 - Force-upgrade env_logger to 0.10. r=emilio
This preemptively avoids the addition of a new version of the crate.

Differential Revision: https://phabricator.services.mozilla.com/D168221
2023-01-30 15:59:42 +00:00
zaggy1024 3a3cae761c Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 21:25:51 +00:00
Butkovits Atila 2e5eede2fe Backed out 5 changesets (bug 1788119) for causing bustages complaining about AVIFDecodedData. CLOSED TREE
Backed out changeset 430e71478ff5 (bug 1788119)
Backed out changeset 9493029c76b9 (bug 1788119)
Backed out changeset 7d5cc211e3f5 (bug 1788119)
Backed out changeset 3eaac75dde3c (bug 1788119)
Backed out changeset 1f8eacf96c71 (bug 1788119)
2023-01-27 22:54:08 +02:00
zaggy1024 6e1edc99bb Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 19:54:29 +00:00
Norisz Fay 58c65f7c8f Backed out 5 changesets (bug 1788119) for causing build bustages on DecoderData.cpp CLOSED TREE
Backed out changeset 56abc66f7e84 (bug 1788119)
Backed out changeset 00d82acfaa2f (bug 1788119)
Backed out changeset 4ba88410cdf6 (bug 1788119)
Backed out changeset eeb1461933aa (bug 1788119)
Backed out changeset 8dce9350abb8 (bug 1788119)
2023-01-27 21:11:42 +02:00
zaggy1024 2628afb491 Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 18:35:14 +00:00
Tiaan Louw 86d43cae15 Bug 1128204 - Implement color() function from CSS specification r=emilio,supply-chain-reviewers
Colors can now be defined in different color spaces with the color()
function.

https://w3c.github.io/csswg-drafts/css-color-4/#predefined

Differential Revision: https://phabricator.services.mozilla.com/D164866
2023-01-27 12:44:18 +00:00
Sammy Khamis e87e5cf1c9 Bug 1800186 - Part 1: Vendor new version of application-services r=markh,bdk
Differential Revision: https://phabricator.services.mozilla.com/D167219
2023-01-23 19:15:40 +00:00
Chris H-C af3328afcc Bug 1765921 - Rename `fog` crate to `firefox-on-glean` r=TravisLong,supply-chain-reviewers
This matches the empty-and-published-to-crates.io crate, which should allow for
easier optional dependencies in Rust.

Differential Revision: https://phabricator.services.mozilla.com/D165317
2023-01-20 23:14:03 +00:00
Jan-Erik Rediger a0b8b4d660 Bug 1811218 - Revert patch override for Glean and rkv. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167245
2023-01-20 12:58:07 +00:00
Tiaan Louw 5b5450146f Bug 1352757 - Add lab(), lch(), oklab(), oklch() to specified colors. r=supply-chain-reviewers,emilio
Use new changes from cssparser and use the new lab/lch/oklab/oklch color
formats.

Introduced a new color type AbsoluteColor.  It represents any kind of
color that has absolute numerical values.  It is also tied to a color
space and therefore can be trivially converted to another color space.

Differential Revision: https://phabricator.services.mozilla.com/D163579
2023-01-20 10:55:51 +00:00
Butkovits Atila d9180d2428 Backed out 2 changesets (bug 1811218, bug 1808586) for causing build bustages complaining about Cargo and Glean. CLOSED TREE
Backed out changeset 94f6ca4f4103 (bug 1808586)
Backed out changeset 046b4eafd1b3 (bug 1811218)
2023-01-20 12:57:03 +02:00
Jan-Erik Rediger e3e9a85328 Bug 1811218 - Revert patch override for Glean and rkv. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167245
2023-01-20 09:28:30 +00:00
Butkovits Atila 6970213e8e Backed out 2 changesets (bug 1811218, bug 1808586) for causing build bustages. CLOSED TREE
Backed out changeset 076e5dd4ec05 (bug 1808586)
Backed out changeset 46676e77e0b8 (bug 1811218)
2023-01-20 12:15:42 +02:00
Jan-Erik Rediger df10257b3e Bug 1811218 - Revert patch override for Glean and rkv. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D167245
2023-01-20 09:28:30 +00:00
Marian-Vasile Laza ea060cc229 Backed out changeset b4dba80235dc (bug 1765921) for causing WR bustages. 2023-01-19 22:17:14 +02:00
Chris H-C 76c4c1615c Bug 1765921 - Rename `fog` crate to `firefox-on-glean` r=TravisLong,supply-chain-reviewers
This matches the empty-and-published-to-crates.io crate, which should allow for
easier optional dependencies in Rust.

Differential Revision: https://phabricator.services.mozilla.com/D165317
2023-01-19 19:55:24 +00:00
Cosmin Sabou c5cbcf0a2e Backed out changeset 218b12b92ccb (bug 1352757) for causing failures on test_transitions_per_property.html. 2023-01-19 19:34:50 +02:00
Tiaan Louw bb0657c1b2 Bug 1352757 - Add lab(), lch(), oklab(), oklch() to specified colors. r=supply-chain-reviewers,emilio
Use new changes from cssparser and use the new lab/lch/oklab/oklch color
formats.

Introduced a new color type AbsoluteColor.  It represents any kind of
color that has absolute numerical values.  It is also tied to a color
space and therefore can be trivially converted to another color space.

Differential Revision: https://phabricator.services.mozilla.com/D163579
2023-01-19 16:17:15 +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
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
Mike Hommey 78f9dfc456 Bug 1807780 - Remove now unused liblowercase. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165597
2022-12-29 00:05:49 +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 4f24e132f8 Bug 1804359 - Update uuid to 1.x. r=emilio,janerik,webdriver-reviewers,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164008
2022-12-22 09:11:10 +00:00
Mike Hommey 703a424db9 Bug 1806763 - Remove remaining dependency on nom 6. r=emilio,supply-chain-reviewers
The last use is glsl, waiting for a new release with
https://github.com/phaazon/glsl/pull/154 merged.

Differential Revision: https://phabricator.services.mozilla.com/D165250
2022-12-21 21:18:29 +00:00
Mike Hommey 85d653a9c8 Bug 1804360 - Update goblin to 0.6.0. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164009
2022-12-19 22:55:28 +00:00
Mike Hommey 18d0f30768 Bug 1805809 - Update uniffi to 0.21.1 for more determinism across platforms. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164896
2022-12-19 22:52:29 +00:00
Ryan VanderMeulen 88a2250e32 Backed out 2 changesets (bug 1805809, bug 1804360) for breaking Fenix UI tests (bug 1806321).
Backed out changeset e753835928e7 (bug 1804360)
Backed out changeset 2d62469a1741 (bug 1805809)
2022-12-18 13:42:34 -05:00
Jim Blandy dde6692f0e Bug 1806166: Update wgpu to f14bee67 (2022-12-16) r=nical,supply-chain-reviewers
This brings in various bugfixes and improvements from upstream,
including the fix for bug 1791809 and a workaround for bug 1804530.

In this update, `wgpu_core` leaves the selection of backends to its
users, rather than trying to guess which backends to use itself, based
on the target architecture and operating system. For Firefox, this
means that `gfx/wgpu_bindings/Cargo.toml` is now responsible for
selecting back ends.

Firefox's WebGPU implementation should never use `wgpu`'s GLES
backend. Firefox can now explain this to `wgpu-core`, causing it to
drop its dependency on `glow`, `bitflags_serde_shim` and `slotmap`.
These are no longer vendored, and their exemptions in
`supply-chain/config.toml` can be dropped.

The new `wgpu-core` updates to version 0.37.1+1.3.235 of the `ash`
crate, and this patch moves ash's supply-chain exemption forward to
the new version. We expect to finish vetting that next week, but
because this `wgpu-core` update is urgently needed, we want to extend
the exemption for the time being.

The dependency on `slotmap` had been patched to an empty file in
`build/rust/dummy-web`, which can now be removed.

The new `wgpu-core` no longer uses `cfg_aliases`, so Firefox no longer
needs to vendor that.

Differential Revision: https://phabricator.services.mozilla.com/D164928
2022-12-17 22:25:49 +00:00
Mike Hommey a86772f0b5 Bug 1804360 - Update goblin to 0.6.0. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164009
2022-12-16 22:28:34 +00:00
Mike Hommey 8fd72b5fca Bug 1805809 - Update uniffi to 0.21.1 for more determinism across platforms. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164896
2022-12-16 22:25:57 +00:00
Noemi Erli 439dc54f0c Backed out 2 changesets (bug 1804360, bug 1805809) for causing build bustages CLOSED TREE
Backed out changeset d53c68a9d084 (bug 1804360)
Backed out changeset c7aa21aa29c9 (bug 1805809)
2022-12-16 23:46:24 +02:00
Mike Hommey eb90db3c02 Bug 1804360 - Update goblin to 0.6.0. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164009
2022-12-16 21:24:37 +00:00
Mike Hommey f4b7d29428 Bug 1805809 - Update uniffi to 0.21.1 for more determinism across platforms. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164896
2022-12-16 21:20:02 +00:00
Cristian Tuns f07aa4cd45 Backed out changeset faf4dc4cc2b7 (bug 1804360) as requested by Glandium CLOSED TREE 2022-12-16 16:13:21 -05:00
Mark Hammond 8fd66feff0 Bug 1801295 (part 2) - vendor new application-services with the fix. r=skhamis
Depends on D164781

Differential Revision: https://phabricator.services.mozilla.com/D164782
2022-12-15 22:51:51 +00:00
Mike Hommey 266c958712 Bug 1804360 - Update goblin to 0.6.0. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164009
2022-12-15 09:13:24 +00:00
Mike Hommey cb37196702 Bug 1804586 - Update rusqlite to 0.28. r=markh,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164167
2022-12-13 00:32:35 +00:00
Mike Hommey 03ce56dee2 Bug 1804570 - Update alsa crate to 0.7. r=gsvelto,supply-chain-reviewers
We also artificially update nix to 0.25 in preparation for bug 1793784.

Differential Revision: https://phabricator.services.mozilla.com/D164165
2022-12-13 00:24:03 +00:00
Mike Hommey ff048ff15c Bug 1804361 - Update memoffset to 0.7.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164013
2022-12-12 22:52:59 +00:00
Mark Hammond 15847c3f6a Bug 1804545 - Re-vendor application-services to pickup fix to IDs in sync payload. r=skhamis,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164135
2022-12-08 00:26:37 +00:00
Mark Hammond e925353b45 Bug 1803726 (part 1) - update to a new application-services. r=bdk,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D163672
2022-12-04 10:30:29 +00:00
Mike Hommey 94c0c63594 Bug 1801029 - Upgrade bindgen to 0.63.0. r=emilio,necko-reviewers,supply-chain-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D163375
2022-11-30 22:06:50 +00:00
John Schanck 479f9ec25e Bug 1789520 - rust implementation of nssckbi. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156612
2022-10-31 17:09:43 +00:00
Sammy Khamis 91b6f8fd65 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
Jan-Erik Rediger 2003f2a8b0 Bug 1796087 - Update to Glean v51.5.0 and UniFFI 0.21.0. r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D159689
2022-10-20 12:42:47 +00:00
Nika Layzell 1e93d06f14 Bug 1794001 - Part 6: Patch rure to remove cdylib and staticlib targets, r=#xpcom-reviewers CLOSED TREE
Cargo will attempt to build all targets for dependencies, and there
appears to be no option to turn that functionality off (see
https://github.com/rust-lang/cargo/issues/11232). If we try to build the
`rure` crate as a cdylib during a PGO build, it causes linker issues,
which make the build fail. As this artifact isn't necessary for our
build, we can patch the crate to remove the cdylib and staticlib
crate-type definitions, making the build pass as only the artifact we
need is built.

Differential Revision: https://phabricator.services.mozilla.com/D159332
2022-10-13 21:46:07 +00:00
pmcmanis b3d8c6d5d8 Bug 1793786 - Update Glean version to 51.4.0 r=chutten,supply-chain-reviewers,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158759
2022-10-07 20:19:49 +00:00
Butkovits Atila 1bed1fd6e7 Backed out changeset a5df97f61fec (bug 1793786) for causing build bustages. CLOSED TREE 2022-10-07 16:35:21 +03:00
pmcmanis 5d43825505 Bug 1793786 - Update Glean version to 51.4.0 r=chutten,supply-chain-reviewers,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158759
2022-10-07 13:05:21 +00:00
Mark Hammond 5ecc219891 Bug 1790931 - vendor a new application-services so golden_gate doesn't get stale. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D157402
2022-09-19 23:37:51 +00:00
Jan-Erik Rediger f6a6e37ef5 Bug 1788040 - Update to Glean v51.2.0. r=chutten,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D156937
2022-09-13 12:57:58 +00:00
Dragana Damjanovic f29ba14bfb Bug 1772092 - Neqo version 0.6.1 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D156603
2022-09-07 10:10:27 +00:00
Mark Hammond a1f19c7267 Bug 1787688 (part 1) - vendor a new application-services. r=bdk,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D155815
2022-09-02 00:32:53 +00:00
Mike Hommey 0082be5823 Bug 1788157 - Straighten up uniffi Cargo.toml patches. r=markh
Without strict =version dependencies in the patch, cargo is lost when
new versions are published on crates.io.

Differential Revision: https://phabricator.services.mozilla.com/D156039
2022-08-31 02:35:55 +00:00
Mike Hommey 790d70c82e Bug 1785002 - Force update hashbrown to 0.12.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D154762
2022-08-16 21:47:43 +00:00
Mike Hommey 8a01779722 Bug 1783985 - Remove compat with rustc < 1.61 from packed_simd. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D154341
2022-08-16 00:56:23 +00:00
Mike Hommey 24252edb7e Bug 1783784 - Update packed_simd_2 to 0.3.8. r=hsivonen,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D154063
2022-08-11 06:55:49 +00:00
Mike Hommey 6608b13f64 Bug 1783790 - Fix Cargo.toml patch for uniffi-rs. r=bdk
Differential Revision: https://phabricator.services.mozilla.com/D154038
2022-08-09 21:12:18 +00:00
Ben Dean-Kawamura fd4cfd1807 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
Ben Dean-Kawamura 1cf71b7095 Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-03 18:59:35 +00:00
Butkovits Atila a8ad39a288 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 760c603bcb 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
Ben Dean-Kawamura 703dbdfe3a Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-03 13:48:27 +00:00
criss 04616ca52e 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 fb5bfb756d 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
Ben Dean-Kawamura c1816bab45 Bug 1766045 - Initial work for UniFFI JS bindings r=nika
Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
is completely static and doesn't need to be generated.

There's support for both synchronus and async functions, but we haven't
decided the how we want this to be configured.  In practice, almost all
functions will need to be async, so for now we're just forcing all
functions to be.

The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
bindings.  This binary needs to be fed a list of UDL files, the path of
the .cpp file to generate, and the directory to generate .jsm files in
(and also all of those arguments again, but for the test fixtures).
This is quiet a horrible UI, but it's going to be wrapped in a mach
command.

The `uniffi-js` directory contains shared C++ code for
`uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
functionality here and have the generated code simply forward function
calls here.

Still Todo:
  - CallbackInterfaces
  - Custom and external types
  - Datetime and TimeInterval

Differential Revision: https://phabricator.services.mozilla.com/D144472
2022-08-02 19:51:47 +00:00
Ryan Hunt 5b07c7d827 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
Gabriele Svelto 607615ac09 Bug 1779097 - Fix issues in midir that would be rejected by recent compilers r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D152507
2022-07-22 21:29:30 +00:00
Travis Long 2855beea72 Bug 1772132 - Update Glean and remove cargo metadata replacement. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151499
2022-07-14 13:11:13 +00:00
Norisz Fay 31e76fd90f Backed out changeset ce93635100b6 (bug 1772132) for causing webrender build bustage CLOSED TREE 2022-07-13 22:08:19 +03:00
Travis Long a285a07c6e Bug 1772132 - Update Glean and remove cargo metadata replacement. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151499
2022-07-13 18:00:35 +00:00
Bogdan Szekely 6030807e22 Backed out changeset 1ff9bb6e4a8c (bug 1772132) for causing build bustage. CLOSED TREE 2022-07-13 16:17:53 +03:00
Travis Long e826b78da5 Bug 1772132 - Update Glean and remove cargo metadata replacement. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151499
2022-07-13 12:59:16 +00:00
smolnar 36788ca992 Backed out changeset ab4790cd94eb (bug 1772132) for causing wrench bustage CLOSED TREE 2022-07-13 12:04:13 +03:00
Travis Long 86debe7916 Bug 1772132 - Update Glean and remove cargo metadata replacement. r=janerik,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151499
2022-07-13 08:43:41 +00:00
Mike Hommey 9e2c3b1a7f Bug 1774513 - Fix neqo-common compatibility with log >= 0.4.16. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D149464
2022-06-23 20:31:56 +00:00
Mike Hommey a211cd2aea Bug 1774501 - Update stylo to itertools:0.10, itoa:1.0 and toml:0.5. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D149454
2022-06-16 20:44:03 +00:00
Mike Hommey 34cf638dd6 Bug 1773399 - Update getrandom to 0.2.7. r=emilio,supply-chain-reviewers,bholley
Differential Revision: https://phabricator.services.mozilla.com/D149326
2022-06-15 22:03:20 +00:00
Butkovits Atila 4f215efcf9 Backed out changeset 8f87ffd7365c (bug 1773399) for causing build bustages. CLOSED TREE 2022-06-16 00:43:00 +03:00
Mike Hommey 644033c9d8 Bug 1773399 - Update getrandom to 0.2.7. r=emilio,supply-chain-reviewers,bholley
Differential Revision: https://phabricator.services.mozilla.com/D149326
2022-06-15 21:26:20 +00:00
Mike Hommey 527752ca63 Bug 1773399 - Update idna to 0.2.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D148737
2022-06-14 20:32:28 +00:00
Sebastian Hengst d0dce2754d Backed out 2 changesets (bug 1772092) for causing frequent crashes (bug 1774118 and bug 1774125). a=backout
Backed out changeset ec91915d325c (bug 1772092)
Backed out changeset 1aadfdf2c854 (bug 1772092)
2022-06-14 10:16:35 +02:00
Dragana Damjanovic 0141e578c4 Bug 1772092 - Update neqo to version 0.6.0 r=necko-reviewers,kershaw,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147855
2022-06-13 11:05:08 +00:00
criss 44a8e72bfb Backed out 2 changesets (bug 1772092) for causing build bustages. CLOSED TREE
Backed out changeset 30a2c0f4c97f (bug 1772092)
Backed out changeset 7dd164e9428c (bug 1772092)
2022-06-09 13:29:59 +03:00
Dragana Damjanovic c530c7b6b8 Bug 1772092 - Update neqo to version 0.6.0 r=necko-reviewers,kershaw,glandium
Differential Revision: https://phabricator.services.mozilla.com/D147855
2022-06-09 10:09:52 +00:00
Mike Hommey 04162811ce 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
Jan-Erik Rediger 2428c3ec64 Bug 1771743 - Upgrade rkv to include dependency updates. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D148504
2022-06-08 09:45:30 +00:00
Mike Hommey 8279f183b4 Bug 1773180 - Update cexpr to 0.6. r=emilio
Now that nom 7 was pulled in by glean/uniffi in bug 1768834, we don't
need to prevent cexpr from pulling it.

Differential Revision: https://phabricator.services.mozilla.com/D148575
2022-06-08 00:27:41 +00:00
Emilio Cobos Álvarez 255763ef57 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 f42205257e Bug 1772986 - Update crates that depend on hashbrown 0.9. r=gfx-reviewers,emilio,nical
Differential Revision: https://phabricator.services.mozilla.com/D148476
2022-06-07 20:28:05 +00:00
Jan-Erik Rediger 8182bee632 Bug 1768834 - Switch to Glean with UniFFI integration r=glandium,chutten
Upgrades to Glean v50.0.1, which comes with a rewritten core and
UniFFI-powered bindings.
Glean has some API changes, so we swap it over to that. Mostly mechanical changes.
Also upgrades to inherent v1.0 in fog.
This matches what Glean uses internally and gets rid of one duplicated crate.

Also upgrades to glean-parser==6.0.1

One crate duplication now (change in `python/mozbuild/mozbuild/vendor/vendor_rust.py` required).
Some new crates now vendored.
These are transitive dependencies of Glean dependencies, all with valid
licenses and already used in other products (mobile).

Differential Revision: https://phabricator.services.mozilla.com/D146062
2022-06-07 12:37:20 +00:00
Mike Hommey 89e0a977d1 Bug 1684384 - Update glsl to 6.0. r=gfx-reviewers,lsalzman
Derived from patch by Dimitri Sabadie.

Differential Revision: https://phabricator.services.mozilla.com/D100511
2022-06-07 06:17:35 +00:00
Mark Hammond af7332ea7a Bug 1772953 - update to a recent application-services. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D148458
2022-06-07 01:04:28 +00:00
Mark Hammond 428e1a95f3 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
Mike Hommey 762def9bb8 Bug 1772068 - Force update toml to 0.5. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147839
2022-06-02 01:06:14 +00:00
Mike Hommey 37504e8bcb Bug 1772068 - Force update paste to 1.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147838
2022-06-02 01:06:14 +00:00
Mike Hommey 600bc7f33d Bug 1772068 - Force update env_logger to 0.9. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147837
2022-06-02 01:06:13 +00:00
Mike Hommey 46156fb100 Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers
At the same time, update mdns_service to socket2 0.4 to avoid a duplicate.

Differential Revision: https://phabricator.services.mozilla.com/D147479
2022-06-01 22:05:53 +00:00
Marian-Vasile Laza 03a1ff18e4 Backed out 6 changesets (bug 1772068, bug 1710421) for causing multiple web-platform failures. CLOSED TREE
Backed out changeset 7dc183461431 (bug 1772068)
Backed out changeset 437682fe4871 (bug 1772068)
Backed out changeset 717912ea0672 (bug 1772068)
Backed out changeset 6790f990c322 (bug 1772068)
Backed out changeset 33831638ba99 (bug 1710421)
Backed out changeset b35aaa56fa54 (bug 1710421)
2022-06-01 15:01:10 +03:00
Mike Hommey 7a0f51774b Bug 1772068 - Force update toml to 0.5. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147839
2022-06-01 10:36:16 +00:00
Mike Hommey 9d7c444899 Bug 1772068 - Force update paste to 1.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147838
2022-06-01 10:36:16 +00:00
Mike Hommey 37111304e0 Bug 1772068 - Force update env_logger to 0.9. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147837
2022-06-01 10:36:15 +00:00
Mike Hommey d50e4bf7f4 Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers
At the same time, update mdns_service to socket2 0.4 to avoid a duplicate.

Differential Revision: https://phabricator.services.mozilla.com/D147479
2022-06-01 09:57:13 +00:00
Marian-Vasile Laza 5d7edc0d2e Backed out 2 changesets (bug 1710421) for causing web-platform failures on context.rs. CLOSED TREE
Backed out changeset bdd6f29ebeeb (bug 1710421)
Backed out changeset 1739da34411f (bug 1710421)
2022-06-01 10:34:41 +03:00
Mike Hommey 2bfc571ce5 Bug 1710421 - [webdriver] Update warp and hyper dependencies. r=mjf,webdriver-reviewers
At the same time, update mdns_service to socket2 0.4 to avoid a duplicate.

Differential Revision: https://phabricator.services.mozilla.com/D147479
2022-06-01 06:44:07 +00:00
Mike Hommey b523023954 Bug 1770894 - Force update hashbrown to 0.11. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147379
2022-05-31 22:05:03 +00:00
Mike Hommey 1cda4fe2c7 Bug 1770894 - Force update rand to 0.8. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147377
2022-05-31 22:05:01 +00:00
Cosmin Sabou d3d37bf987 Backed out 4 changesets (bug 1770894) for causing build bustages.
Backed out changeset d4bd20e7ac74 (bug 1770894)
Backed out changeset ae6ffff33128 (bug 1770894)
Backed out changeset 2e4f492a8222 (bug 1770894)
Backed out changeset 13111f4c114a (bug 1770894)
2022-05-31 01:18:01 +03:00
Mike Hommey 0c40e18d9f Bug 1770894 - Force update hashbrown to 0.11. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147379
2022-05-30 21:37:38 +00:00
Mike Hommey 27d763e0af Bug 1770894 - Force update rand to 0.8. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147377
2022-05-30 21:37:37 +00:00
Mike Hommey f686964c71 Bug 1770894 - Force update memmap2 to 0.3. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147255
2022-05-30 21:37:35 +00:00
Mike Hommey a10c04a7dc Bug 1770894 - Patch redox_users with an empty crate. r=emilio
We don't support redox, so we might as well avoid pulling dependencies
we'll never need and may pull duplicates.

Differential Revision: https://phabricator.services.mozilla.com/D147250
2022-05-30 21:37:33 +00:00
Mike Hommey f9d9d6369f Bug 1770894 - Force update itertools to 0.10. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147249
2022-05-30 21:37:33 +00:00
Mike Hommey 8f5e659734 Bug 1770894 - Force update cfg-if to 1.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147248
2022-05-30 21:37:32 +00:00
Mike Hommey 0f7d648b3b Bug 1770894 - Force update bindgen to 0.59. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147150
2022-05-30 21:37:30 +00:00
Mike Hommey beaa7521c7 Bug 1769902 - Update the itoa crate to 1.0.x. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D146662
2022-05-18 21:04:31 +00:00
M. Sirringhaus 208ea397be Bug 1766759 - Use PID when populating the LinuxDsoDebug stream. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D145062
2022-05-10 07:15:15 +00:00
Bas Schouten a46cd6bcd5 Bug 1751693 - Followup: Address missed review comment by glandium. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144386
2022-04-22 04:59:07 +00:00
Bas Schouten 6932a162a8 Bug 1751693: Add telemetry probe to measure glyph rasterization time and the required plumbing for WR. r=jrmuizel,nical
Differential Revision: https://phabricator.services.mozilla.com/D140681
2022-04-22 04:39:52 +00:00
Mike Hommey 6b078d7de3 Bug 1660745 - Update encoding_rs to 0.8.31 and packed_simd to 0.3.7. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D88002
2022-04-20 06:24:28 +00:00
Emilio Cobos Álvarez 5c525da4a0 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
Nika Layzell 3207c4d890 Bug 1746533 - Part 1: Use custom vendored version of async-task, r=emilio
This version adds a new `FallibleTask` wrapper type which allows polling the
task without panicking.

Differential Revision: https://phabricator.services.mozilla.com/D136945
2022-01-26 15:36:13 +00:00
Mike Hommey e013590cd1 Bug 1751331 - Add a mozbuild crate that exposes some build configuration items. r=firefox-build-system-reviewers,andi
This will be used as a central point of authority rather than individual
crates figuring things out on their own.

Differential Revision: https://phabricator.services.mozilla.com/D136558
2022-01-25 21:29:50 +00:00
criss 592389ca2d 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 68e6c861f5 Bug 1751331 - Add a mozbuild crate that exposes some build configuration items. r=firefox-build-system-reviewers,andi
This will be used as a central point of authority rather than individual
crates figuring things out on their own.

Differential Revision: https://phabricator.services.mozilla.com/D136558
2022-01-25 09:03:02 +00:00
Mike Hommey cca868ba68 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
Mike Hommey cf732621d4 Bug 1748779 - Update midir and coremidi. r=gsvelto
The midir update reduces the differences with upstream to the coremidi
version.

And now the coremidi override is done via a patch at the top-level. The
revision we were using is gone, but it turns out the new master is
identical in content (at least, as far as vendoring is concerned).

Differential Revision: https://phabricator.services.mozilla.com/D135194
2022-01-07 09:14:10 +00:00
Mike Hommey 01c4ac46ad Bug 1748779 - Move dummy-web in-tree. r=firefox-build-system-reviewers,andi
It will make it easier to adjust those dummy libs when necessary.

Differential Revision: https://phabricator.services.mozilla.com/D135192
2022-01-07 09:14:10 +00:00
Henri Sivonen cc4a22e024 Bug 1747394 - Check for space-like bytes instead of just space after a copyright sign. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D134609
2021-12-23 13:37:43 +00:00
Henri Sivonen 917c511c5f Bug 1731482 - Detect lone windows-1252 copyright sign as window-1252. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D134605
2021-12-23 13:14:34 +00:00
Gabriele Svelto 97a5174c27 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
Dana Keeler e06d1bceee Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,glandium,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Depends on D130820

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-18 01:30:24 +00:00
Mike Hommey bd5b9568e1 Bug 1744886 - Override the vcpkg and cmake crates. r=firefox-build-system-reviewers,andi,mhentges
with mostly empty crates.

We don't want cargo to be unexpectedly calling into other build systems.

Differential Revision: https://phabricator.services.mozilla.com/D133848
2021-12-17 01:16:06 +00:00
Marian-Vasile Laza 18ee06e0b2 Backed out 2 changesets (bug 1744886) for causing build bustages. CLOSED TREE
Backed out changeset 6453423359d0 (bug 1744886)
Backed out changeset 7383efc30b77 (bug 1744886)
2021-12-16 02:13:41 +02:00
Mike Hommey 4b86be51fc Bug 1744886 - Override the vcpkg and cmake crates. r=firefox-build-system-reviewers,andi
with mostly empty crates.

Differential Revision: https://phabricator.services.mozilla.com/D133848
2021-12-15 21:40:22 +00:00
Mike Hommey 7fc0016de5 Bug 1744886 - Reorder Cargo.toml patches for convenience. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D133847
2021-12-15 21:40:22 +00:00
Cosmin Sabou 045a43b2c8 Backed out 2 changesets (bug 1712837) for causing an increase in crashes (bug 1735798). a=backout
Backed out changeset 51773d1ab7b5 (bug 1712837)
Backed out changeset 97b0a77e4ce7 (bug 1712837)
2021-12-15 12:24:03 +02:00
Dana Keeler fe0468b14a Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-13 23:59:08 +00:00
Cristian Tuns 9ad5101118 Backed out changeset 5396b58ddae7 (bug 1712837) for causing Android ARMv7 build bustages. a=backout 2021-12-10 09:35:39 -05:00
Dana Keeler c52192ebff Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-10 00:24:49 +00:00
Mike Hommey d82eec0cb3 Bug 1744677 - Remove Cargo.toml patch for wasmtime crates. r=rhunt
Apart from Cargo.toml being garbled by cargo on publication, what's
vendored is exactly the same as on crates.io, so we don't need to use a
patch to pull from git anymore.

Differential Revision: https://phabricator.services.mozilla.com/D133040
2021-12-08 05:40:54 +00:00
Mike Hommey 5f59304205 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 40b66aba95 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 4f85247807 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
Mike Hommey ff6f9d7f54 Bug 1738133 - Undo workaround for https://github.com/rust-lang/rust/issues/88576. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D133015
2021-12-07 06:37:26 +00:00
Mike Hommey 0d44c1b862 Bug 1744643 - Upgrade cc to v1.0.72. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D133014
2021-12-07 01:55:42 +00:00
Andreea Pavel 041f6f706d Backed out 2 changesets (bug 1712837) for win build bustages on a CLOSED TREE
Backed out changeset e754af875d57 (bug 1712837)
Backed out changeset 020eaab241a8 (bug 1712837)
2021-12-07 02:21:09 +02:00
Dana Keeler 8d68ea1d86 Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-06 23:43:32 +00:00
Matthew Gregan ab4500a609 Bug 1743740 - Rename vendored mio 0.6 to make it possible to vendor later mio versions. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D132537
2021-12-02 05:39:49 +00:00
Csoregi Natalia 59f022092c Backed out 2 changesets (bug 1712837) for causing RemoteProcessMonitor failures. CLOSED TREE
Backed out changeset e3ed61b61357 (bug 1712837)
Backed out changeset 19b9dfd60749 (bug 1712837)
2021-12-01 22:36:35 +02:00
Dana Keeler c02a76841b Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika,jschanck
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-12-01 18:10:34 +00:00
Marian-Vasile Laza 133cd29435 Backed out 2 changesets (bug 1712837) for causing mochitest and marionette test failures. CLOSED TREE
Backed out changeset ecfd23a7ef69 (bug 1712837)
Backed out changeset 51529cb4682e (bug 1712837)
2021-11-11 01:52:57 +02:00
Dana Keeler 15ebcb5e82 Bug 1712837 - introduce ipcclientcerts to allow client certificates to work with the socket process r=rmf,kershaw,necko-reviewers,ipc-reviewers,nika
This patch introduces ipcclientcerts, a PKCS#11 module that the socket process
can load to get access to client certificates and keys managed by the parent
process. This enables client certificate authentication to work with the socket
process (particularly for keys stored outside of NSS, as with osclientcerts or
third-party PKCS#11 modules).

Differential Revision: https://phabricator.services.mozilla.com/D122392
2021-11-10 21:48:47 +00:00
Mike Hommey d5c0037acd Bug 1739040 - Pick cc upstream patch for GCC 11 on armhf linux. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D130228
2021-11-03 03:30:29 +00:00
Mike Hommey 3e2e10708d Bug 1736459 - Handle null RawHandles in winapi-util. r=xpcom-reviewers,nika
This works around a regression in rust 1.56's libstd.

Differential Revision: https://phabricator.services.mozilla.com/D129571
2021-10-27 22:35:56 +00:00
Mike Hommey 23c14710ec Bug 1730397 - Update packed_simd to a version that supports rustc >= 1.56. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D125604
2021-09-17 08:55:04 +00:00
Cristian Tuns ddab55fd76 Backed out changeset 74e579530088 (bug 1730397) as requested by Glandium. CLOSED TREE 2021-09-17 02:56:11 -04:00
Mike Hommey 077579366c Bug 1730397 - Update packed_simd to a version that supports rustc >= 1.56. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D125604
2021-09-17 04:12:36 +00:00
Marian-Vasile Laza b228e7547d Backed out changeset 9af854b99136 (bug 1730397) as requested by the dev for causing SM bustages. CLOSED TREE 2021-09-15 11:42:13 +03:00
Mike Hommey 74279e7019 Bug 1730397 - Update packed_simd to a version that supports rustc >= 1.56. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D125604
2021-09-15 07:53:21 +00:00
Mike Hommey 1639e1ee88 Bug 1730397 - Apply prost-derive fix for function name collision. r=emilio
This applies edb1464b71
to our copy of prost 0.6.1.

Differential Revision: https://phabricator.services.mozilla.com/D125507
2021-09-15 07:53:20 +00:00
Dzmitry Malyshau 5695f517a5 Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley
This update makes wgpu a vendored dependency instead of having it in gfx/wgpu.

## Notes


It relies on https://phabricator.services.mozilla.com/D123157

It has a quirk related to OpenGL ES backend. Previousy, we manually had to disable GL backend
in order to avoid vendoring WASM dependencies in. This time, manual editing is more complicated,
so instead this change adds a few cargo patch lines to point WASM dependencies to dummy projects.

The update also totally removes SPIRV-Cross, since the latest `wgpu` doesn't depend on it any more.
The compiled binary size for Gecko should improve with this.

Differential Revision: https://phabricator.services.mozilla.com/D123153
2021-09-03 16:52:08 +00:00
Gabriele Svelto 55e8eba74b Bug 1728431 - Update the vendored nix crate to version 0.15 r=KrisWright
This patch bumps the minidump_writer_linux crate but does not import any new
changes, the only difference is that it now depends on nix 0.15

Differential Revision: https://phabricator.services.mozilla.com/D124175
2021-09-02 06:13:52 +00:00
Dzmitry Malyshau c196398803 Bug 1726628 - Switch cargo resolver to 2 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D123157
2021-09-01 21:11:33 +00:00
Mike Hommey 0b4372e828 Bug 1721968 - Remove support for lucetc for rlbox. r=firefox-build-system-reviewers,shravanrn,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D120700
2021-08-11 21:58:52 +00:00
Jan-Erik Rediger 1dc3abde95 Bug 1670261 - Upgrade Glean, include glean-ffi and re-export its symbols. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D121084
2021-08-10 07:49:07 +00:00
Butkovits Atila 0474a346a1 Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE
Backed out changeset 58ab9d5d45b7 (bug 1670261)
Backed out changeset e68f58dd9c24 (bug 1670261)
Backed out changeset af093190c4f7 (bug 1670261)
Backed out changeset 150c73837e22 (bug 1670261)
Backed out changeset c42784eeccee (bug 1670261)
Backed out changeset 45ab05c0c371 (bug 1670261)
2021-08-03 15:11:22 +03:00
Jan-Erik Rediger 7c32951ef9 Bug 1670261 - Upgrade Glean, include glean-ffi and re-export its symbols. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D121084
2021-08-02 16:22:45 +00:00
Henri Sivonen 78a66d15e6 Bug 1719674 - Make packed_simd compile with Rust 1.54. r=glandium
Cherry-pick upstream commits
58ba720df8
728d47506f
to update the shuffle API for const generics and to remove the unnecessary `const_fn`
feature gate.

Differential Revision: https://phabricator.services.mozilla.com/D119538
2021-07-15 08:42:08 +00:00
M. Sirringhaus 086d5c7b45 Bug 1714465 - Add ThreadNamesStream support to minidump_writer_linux. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D117154
2021-06-30 15:03:52 +00:00
Henri Sivonen b5366f5a31 Bug 1716709 - Remove RUSTC_BOOTSTRAP for xmldecl. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D117980
2021-06-17 06:44:25 +00:00
Mike Hommey 4665615833 Bug 1716518 - Upgrade crossbeam-related crates to newer releases. r=emilio
crossbeam-channel to v0.5.1
crossbeam-deque to v0.7.3
crossbeam-epoch to v0.8.2
crossbeam-utils to v0.6.6, v0.7.2, and v0.8.5

autocfg 0.1.6 ends up removed because nothing uses it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D117750
2021-06-15 20:39:43 +00:00
Deian Stefan ba18513783 Bug 1710685 - Part 1: Update RLBox lucetc to fix clock() on mac r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D116544
2021-06-08 17:40:21 +00:00
Henri Sivonen bd9a21c236 Bug 1706862 - Make chardetng detect half-width katakana. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D115209
2021-05-31 11:52:17 +00:00
Yury Delendik 986df9d9d5 Bug 1712634 - Update cranelift to version 0.74. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D115845
2021-05-25 17:38:20 +00:00
Csoregi Natalia b40f2c7919 Backed out 2 changesets (bug 1710685) for causing build bustage. CLOSED TREE
Backed out changeset 52b5058cff53 (bug 1710685)
Backed out changeset 0693e56e6e85 (bug 1710685)
2021-05-18 19:41:33 +03:00
Deian Stefan 00baae6102 Bug 1710685 - Part 1: Update RLBox lucetc to fix clock() on mac r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D114923
2021-05-18 15:25:00 +00:00
M. Sirringhaus cca1566127 Bug 1710099 - Update the minidump_writer_linux crate to replace the unmaintained memmap crate. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D114728
2021-05-10 13:00:45 +00:00
Yury Delendik 50fe06fce0 Bug 1706427 - Update wasmparser and cranelift. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D112806
2021-05-04 14:59:40 +00:00
Mike Hommey d674f870ce Bug 1709237 - Upgrade the failure crate to 0.1.8. r=emilio
Replace the use of a third-party github repo with a in-tree patch.

Differential Revision: https://phabricator.services.mozilla.com/D114191
2021-05-04 02:22:45 +00:00