Commit Graph

420 Commits

Author SHA1 Message Date
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