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

593 Коммитов

Автор SHA1 Сообщение Дата
Kershaw Chang d773f6d866 Bug 1844387 - Update neqo and remove env_logger, r=glandium,supply-chain-reviewers,sunil
Differential Revision: https://phabricator.services.mozilla.com/D184096
2023-07-31 21:06:08 +00:00
Jan-Erik Rediger 1c2fbc9d73 Bug 1840044 - Update to Glean 53.1.0, UniFFI 0.24.1 and latest application-services. r=TravisLong,nika,markh,supply-chain-reviewers
Update:
  - Glean to v53.1.0
  - UniFFI to v0.24.1
  - application-services to a recent nightly that uses the above
    versions

- Updated `rusqlite` in toolkit/library/rust/shared/Cargo.toml
- Updated `uniffi-bindgen-gecko-js` to work with the new UniFFI.  Also
  updated it's askama version.
- Vetted new cargo dependencies

Ran `mach uniffi generate` to regenerate the code.

Differential Revision: https://phabricator.services.mozilla.com/D181872
2023-07-26 15:34:27 +00:00
Mike Hommey e7516e7935 Bug 1841878 - Upgrade minidump-common to latest trunk. r=gsvelto,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182815
2023-07-24 20:18:53 +00:00
Ben Visness 67731fc42a Bug 1831176: Update wast crate. r=yury,glandium,supply-chain-reviewers
Updating wast to the latest version in order to get the new binary encoding for cast instructions.

Differential Revision: https://phabricator.services.mozilla.com/D184022
2023-07-21 22:00:04 +00:00
Gabriele Svelto 9e6f16b062 Bug 1689358 - Generate minidumps for child process crashes using the minidump-writer crate on Android r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178783
2023-07-21 12:05:38 +00:00
Sandor Molnar fb1981e4cf Backed out changeset 93b5aead9fb9 (bug 1840044) for causing multiple failures, incl. build bustages CLOSED TREE 2023-07-20 22:00:20 +03:00
Jan-Erik Rediger f74614d6b0 Bug 1840044 - Update to Glean 53.1.0, UniFFI 0.24.1 and latest application-services. r=TravisLong,nika,markh,supply-chain-reviewers
Update:
  - Glean to v53.1.0
  - UniFFI to v0.24.1
  - application-services to a recent nightly that uses the above
    versions

- Updated `rusqlite` in toolkit/library/rust/shared/Cargo.toml
- Updated `uniffi-bindgen-gecko-js` to work with the new UniFFI.  Also
  updated it's askama version.
- Vetted new cargo dependencies

Ran `mach uniffi generate` to regenerate the code.

Differential Revision: https://phabricator.services.mozilla.com/D181872
2023-07-20 17:22:56 +00:00
Mike Hommey 7c063cf058 Bug 1844000 - Update parking-lot to 0.12.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183825
2023-07-19 20:16:02 +00:00
Mike Hommey abc77ae254 Bug 1844000 - Add a windows-targets crate. r=emilio
This adds a crate that override's the windows-targets crate to avoid
depending on the large import libraries in its dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D183824
2023-07-19 20:16:02 +00:00
Mike Hommey f375009d22 Bug 1844000 - Patch redox_syscall to an empty crate. r=emilio,sylvestre
Also preemptively add 0.3 for future needs.

Differential Revision: https://phabricator.services.mozilla.com/D183823
2023-07-19 20:16:02 +00:00
Iulian Moraru 36b9b99f8e Backed out changeset 1c1f6303ef48 (bug 1689358) for causing build bustages. CLOSED TREE 2023-07-05 11:33:30 +03:00
Gabriele Svelto ef566ff845 Bug 1689358 - Generate minidumps for child process crashes using the minidump-writer crate on Android r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178783
2023-07-05 07:54:28 +00:00
Mike Hommey 7db694cb35 Bug 1841205 - Update num-derive to 0.4. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182539
2023-07-04 07:29:36 +00:00
Mike Hommey e46d768d3c Bug 1841160 - Update phf to 0.11.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182514
2023-07-04 07:29:08 +00:00
Mike Hommey 16cada87f1 Bug 1840022 - Switch phf_macros to syn 2. r=emilio,supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D181855
2023-06-24 20:18:24 +00:00
Mike Hommey 09e321a9db Bug 1840021 - Switch num-derive to syn 2. r=emilio,supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D181854
2023-06-24 20:18:06 +00:00
Mike Hommey d8456fd716 Bug 1836230 - Update bindgen to 0.66.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179656
2023-06-21 08:52:22 +00:00
Mike Hommey 39ed3add07 Bug 1838354 - Change how the rust workspace hack is added. r=firefox-build-system-reviewers,webdriver-reviewers,ahochheiden,whimboo
First, instead of using a path, use a version, which is more convenient
(via a patch in the top-level Cargo.toml).

Second, we make the build system itself enforce its presence for any
crate that is hooked to the build system as a program or library.

Finally, for each crate depending on the workspace hack, we add a
feature named after it, and make the build system enforce that the
feature is set. For now, this remains unused, but the end goal is to
have each of those features enable the dependencies each of these
crates need, so that if crate A and B need dependency D, but crate C
doesn't, building crate C doesn't build D.

Differential Revision: https://phabricator.services.mozilla.com/D180910
2023-06-21 07:31:44 +00:00
Mike Hommey 460db62e52 Bug 1836658 - Update cssparser to 0.31.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D180906
2023-06-14 20:50:14 +00:00
Mike Hommey de03354dee Bug 1837098 - Move l10nregistry tests to a separate crate. r=dminor,supply-chain-reviewers,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D180159
2023-06-07 23:07:05 +00:00
Mike Hommey 465c8eccac Bug 1836413 - Replace terminal_size with a dummy crate that returns a fixed 80x25 terminal size. r=supply-chain-reviewers,webdriver-reviewers,whimboo,jgraham
In practice, the result looks better than with clap's wrap_help
disabled, and, as a matter of personal preference, looks better to
me than when using the actual terminal size.

This will allow to upgrade clap to a more recent version without
pulling in windows-sys.

Differential Revision: https://phabricator.services.mozilla.com/D179748
2023-06-07 20:11:12 +00:00
Mathew Hodson c50e4b780b Bug 1823866 - Update cose-rust to fix warning. r=manuel,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179301
2023-06-06 13:23:08 +00:00
Mike Hommey d0b7892964 Bug 1836229 - Update serde_with to 3.0.0. r=emilio,supply-chain-reviewers
We upgrade enumset alongside so that we keep only one copy of darling.

Differential Revision: https://phabricator.services.mozilla.com/D179651
2023-06-05 20:28:30 +00:00
Emilio Cobos Álvarez a01ea76d78 Bug 1835066 - Make our nesting implementation match the new spec better. r=tlouw
Differential Revision: https://phabricator.services.mozilla.com/D179687
2023-06-04 10:22:29 +00:00
Mike Hommey 7f9189e866 Bug 1836412 - Replace oslog with a dummy crate. r=janerik,supply-chain-reviewers
It's only used by glean in code that is not actually used. It allows to
remove the only use of dashmap, which is a rather complex crate.

Differential Revision: https://phabricator.services.mozilla.com/D179747
2023-06-02 21:42:02 +00:00
Mike Hommey 25a2da729c Bug 1836402 - Disable clap default features in uniffi-bindgen-gecko-js. r=bdk,supply-chain-reviewers
The tool is not directly user visible, and it's not super useful for
features like color to be enabled.

Differential Revision: https://phabricator.services.mozilla.com/D179742
2023-06-02 21:40:30 +00:00
Butkovits Atila 21a077393f Backed out changeset ab9f3266184b (bug 1815186) for causing failures at test_color_to.html. 2023-05-22 23:29:17 +03:00
Tiaan Louw fc8e61b225 Bug 1815186 - Add ColorTo to InspectorUtils to convert color to other color spaces. r=emilio,layout-reviewers,supply-chain-reviewers
This will allow calling `InspectorUtils.ColorTo("red", "lab")` and
receive `{color: "lab(54.3 80.8 69.9)", components: [54.3, 80.8, 69.9, 1.0], adjusted: false}`.

The adjusted value is always "false", because gamut checking and mapping
is not supported at the moment. See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1823363

Differential Revision: https://phabricator.services.mozilla.com/D169942
2023-05-22 17:19:14 +00:00
Emilio Cobos Álvarez 3abb2e9d89 Bug 1833151 - [css-nesting] Update cssparser again. r=tlouw,supply-chain-reviewers,zrhoffman
This changes the cssparser setup to:

 * Avoid having to do copies of the ParsingContext all over the place,
   which is useful because I plan to stash more nesting state in there.

 * Use the new RuleBodyParser which allows parsing qualified rules,
   declarations, and so on. Though we still don't use this anywhere.

The next step is to join NestedRuleParser and PropertyDeclarationParser,
so that we can parse declarations in a lot of the nested rules as well.

Differential Revision: https://phabricator.services.mozilla.com/D178053
2023-05-16 18:02:52 +00:00
Natalia Csoregi ca7c470a98 Backed out changeset 7abf96264256 (bug 1833151) for causing multiple failures e.g. 431948-1.html and test_font_feature_values_parsing.html. CLOSED TREE 2023-05-16 17:41:11 +03:00
Emilio Cobos Álvarez 1885448293 Bug 1833151 - [css-nesting] Update cssparser again. r=tlouw,supply-chain-reviewers
This changes the cssparser setup to:

 * Avoid having to do copies of the ParsingContext all over the place,
   which is useful because I plan to stash more nesting state in there.

 * Use the new RuleBodyParser which allows parsing qualified rules,
   declarations, and so on. Though we still don't use this anywhere.

The next step is to join NestedRuleParser and PropertyDeclarationParser,
so that we can parse declarations in a lot of the nested rules as well.

Differential Revision: https://phabricator.services.mozilla.com/D178053
2023-05-16 13:28:27 +00:00
Bobby Holley 1fb791e7c4 Bug 1830488 — Remove cssparser override. r=emilio,glandium,supply-chain-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D176817
2023-05-02 15:36:58 +00:00
Emilio Cobos Álvarez 8d2220d803 Bug 1830369 - [css-nesting] Update cssparser to allow parsing qualified rules along with declarations. r=tlouw,supply-chain-reviewers
No implementation just yet (the default QualifiedRuleParser
implementation just rejects stuff), but this is plumbing that I'd rather
get reviewed separately.

Differential Revision: https://phabricator.services.mozilla.com/D176686
2023-04-29 18:21:25 +00:00
Emilio Cobos Álvarez 0277d1fb8f Bug 1826304 - Update base64 in some in-tree crates. r=glandium,webdriver-reviewers,necko-reviewers,supply-chain-reviewers,jesup,jgraham,emilio
Patch old base64 0.13 to 0.21 to avoid introducing the dup dependency.

Differential Revision: https://phabricator.services.mozilla.com/D175116
2023-04-17 21:12:47 +00:00
Sandor Molnar eb2de1ef8a Backed out changeset 694a4c9a4085 (bug 1826304) for causing xpc failures in security/manager/ssl/tests/unit/test_cert_storage.js CLOSED TREE 2023-04-14 18:09:53 +03:00
Emilio Cobos Álvarez a3c219bee7 Bug 1826304 - Update base64 in some in-tree crates. r=glandium,webdriver-reviewers,necko-reviewers,supply-chain-reviewers,jesup,jgraham,emilio
Patch old base64 0.13 to 0.21 to avoid introducing the dup dependency.

Differential Revision: https://phabricator.services.mozilla.com/D175116
2023-04-14 13:50:45 +00:00
John Schanck 20bcb2f55f Bug 1827748 - vendor authenticator-rs v0.4.0-alpha.12. r=keeler,glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175294
2023-04-13 18:59:35 +00:00
Mike Hommey 907ae956e3 Bug 1826669 - Upgrade rust-cascade to 1.5.0. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174821
2023-04-06 21:18:44 +00:00
Alex Franchuk 22d0f39eef Bug 1823692 - Storing the memory around the instruction IP is broken in 32-bit Linux builds r=gsvelto,glandium,supply-chain-reviewers
Using the newer version of the crash-context crate corrects the 32-bit Linux context structure,
which was the cause of the IP memory not being stored (among possibly other 32-bit Linux issues).

Differential Revision: https://phabricator.services.mozilla.com/D174314
2023-04-06 13:38:54 +00:00
Mike Hommey 1dbceadc1c Bug 1826485 - Force update ntapi to 0.4. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174729
2023-04-05 22:00:51 +00:00
Mike Hommey 1de53ad3c6 Bug 1825480 - Update crossbeam-epoch to 0.9.14 and minidump-writer to current master. r=gsvelto,supply-chain-reviewers
This updates memoffset to 0.8 and nix to 0.26.

Differential Revision: https://phabricator.services.mozilla.com/D174055
2023-03-30 21:08:39 +00:00
Mike Hommey 93784bacca Bug 1825478 - Update bindgen to 0.64. r=emilio,necko-reviewers,supply-chain-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D174054
2023-03-30 21:05:14 +00:00
Mike Hommey deb12f66cd Bug 1825478 - Update coreaudio-sys to 0.2.12. r=emilio,supply-chain-reviewers
The only change is a dependency on bindgen 0.64, which we
force-downgrade to 0.63 for now.

Differential Revision: https://phabricator.services.mozilla.com/D174053
2023-03-30 21:05:13 +00:00
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