Commit Graph

860921 Commits

Author SHA1 Message Date
Gijs Kruitbosch
0e79b6a654 Bug 1845727 - move mozSupportLink.ftl into toolkit as that's where the component lives, r=reusable-components-reviewers,fluent-reviewers,tgiles,flod
Differential Revision: https://phabricator.services.mozilla.com/D191945
2023-10-27 10:18:23 +00:00
Henrik Skupin
b519b75aa9 Bug 1861000 - [wdspec] Improve WebDriver BiDi tests when serializing nodes within an Array, Map, or Set. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D191939
2023-10-27 10:03:49 +00:00
Henrik Skupin
84b1092524 Bug 1861000 - [webdriver-bidi] Always pass extraOptions when serializing a remote value. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D191938
2023-10-27 10:03:49 +00:00
Paul Adenot
1cc58bbb5e Bug 1860423 - Reapply patches on top of libcubeb. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D191726
2023-10-27 09:53:02 +00:00
Paul Adenot
6e86a4942e Bug 1860423 - Update libcubeb to revision 5f0d1737. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D191725
2023-10-27 09:53:01 +00:00
Tiaan Louw
eae164606d Bug 1860513 - Clamp alpha NAN values to 0.0. r=emilio,layout-reviewers
Depends on: D191626

Differential Revision: https://phabricator.services.mozilla.com/D191629
2023-10-27 09:37:11 +00:00
Alexandre Lissy
c6286f0f8f Bug 1666084 - Build MPRIS name with DBus unique name r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D191858
2023-10-27 09:29:31 +00:00
Natalia Csoregi
b1b9460910 Backed out changeset d4349b4d125e (bug 1858854) for causing Bug 1861621. CLOSED TREE 2023-10-27 11:54:09 +03:00
Emilio Cobos Álvarez
07b0055ecc Bug 1861027 - Handle editor readonly mask update based on element state instead of attributes. r=masayuki
An element can be disabled even if it doesn't have the disabled
attribute.

Differential Revision: https://phabricator.services.mozilla.com/D191947
2023-10-27 08:31:29 +00:00
Emilio Cobos Álvarez
4dcca913a5 Bug 1861027 - Make nsTextControlFrame -> TextControlElement casts less verbose. r=masayuki
No behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D191946
2023-10-27 08:31:29 +00:00
Emilio Cobos Álvarez
7696b5a35e Bug 1784931 - Allow 4 restyles in progress pseudo test. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D191954
2023-10-27 08:23:05 +00:00
Karl Tomlinson
241af1cdbc Bug 1860954 add a conversion operator from MediaTrackGraphImpl to Lookup for HashSet.lookup(*graph) r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D191920
2023-10-27 07:52:45 +00:00
Alexandra Borovova
6431e9277a Bug 1859258 - [bidi] Replace "ViewportOptions" with "BoxOptions" for "browsingContext.captureScreenshot" command. r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D191843
2023-10-27 07:51:53 +00:00
Karl Tomlinson
726438b26a Bug 1860954 replace AsyncCubebTask with NS_NewRunnableFunction() r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D191919
2023-10-27 07:44:54 +00:00
Emilio Cobos Álvarez
c91ee34d5b Bug 1861253 - Draw select's menulist arrow in the select's color. r=dholbert
In the regressing bug 1849793 I removed a hunk like this because we
don't use any of the parent state on the parent properly:

```
  if (aAppearance == StyleAppearance::MozMenulistArrowButton) {
    // HTML select and XUL menulist dropdown buttons get state from the
    // parent.
    nsIFrame* parentFrame = aFrame->GetParent();
    aFrame = parentFrame;
    elementState = GetContentState(parentFrame, aAppearance);
  }
```

However that aFrame = parentFrame also changed the frame we read the
color for the fill. This is not an issue for menus because those don't
override the colors, but for the select menulist button we need to
explicitly inherit.

Differential Revision: https://phabricator.services.mozilla.com/D192002
2023-10-27 07:34:43 +00:00
Mozilla Releng Treescript
a441ab3705 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
kk -> 22e2095b7029f5dd4285024b79c9b35e5021417f
si -> 27f9ebaf52cf6dfc965d2890e2a6126f9cbbddea
sq -> 892f3294d694403446f5e204676d7b15aa216eb4
sv-SE -> ecf73b3d7024f3b0a76cd6b5822903677c8d55c1
2023-10-27 07:00:55 +00:00
Nicolas Chevobbe
9021eb95d0 Bug 1861389 - [devtools] Prevent source-list-footer to shrink. r=bomsy,devtools-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D191969
2023-10-27 06:00:41 +00:00
Karl Tomlinson
7212c381e8 Bug 1860954 remove AsyncCubebTask::mShutdownGrip r=padenot
This was added in
https://hg.mozilla.org/mozilla-central/rev/dcd375e2750d425af210fee36962219a97a334fd#l2.58
but no longer necessary as the driver keeps the graph alive since
https://hg.mozilla.org/mozilla-central/rev/5a0ddea9ad624286eb863e8419e144d5cbae4d58#l2.17

Depends on D191917

Differential Revision: https://phabricator.services.mozilla.com/D191918
2023-10-27 05:52:41 +00:00
Karl Tomlinson
1f14e11c93 Bug 1860954 remove mIterationEnd and mStateComputedTime from FallbackWrapper r=pehrsons
Depends on D191837

Differential Revision: https://phabricator.services.mozilla.com/D191917
2023-10-27 05:52:41 +00:00
Karl Tomlinson
bcc6c0bd6a Bug 1860954 name GraphDriver audio streams with document title r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D191837
2023-10-27 05:52:41 +00:00
Vinny Diehl
e4bd447bd9 Bug 1858854 - Validate input to setTimeZone r=arai
Differential Revision: https://phabricator.services.mozilla.com/D191935
2023-10-27 05:48:57 +00:00
Nicolas Chevobbe
98522e12ba Bug 1857722 - [devtools] Handle Proxy objects in custom formatter. r=devtools-reviewers,ochameau.
We were catching Proxy object in the ObjectActor before
we're calling the custom formatter machinery, so we weren't
calling the custom formatter hooks with Proxy objects.
A test is added to ensure these are handled now.
I had to switch the test to use findMessageVirtualizedByType
as the new logged message might be outside of the viewport.

Differential Revision: https://phabricator.services.mozilla.com/D191936
2023-10-27 05:46:28 +00:00
Mike Hommey
94aaf5f3de Bug 1861510 - Force cargo to run when Cargo.lock changes. r=firefox-build-system-reviewers,ahochheiden
There are a number of occasions where changes to rust code doesn't
trigger cargo to run on an incremental build. In most cases, these
changes are accompanied with a change in Cargo.lock, so let's make cargo
run every time Cargo.lock changes.

Differential Revision: https://phabricator.services.mozilla.com/D192018
2023-10-27 05:23:32 +00:00
Mike Hommey
4ab7257405 Bug 1859851 - Handle escaped spaces in dependencies. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D191688
2023-10-27 05:13:59 +00:00
Mike Hommey
3b09aa6133 Bug 1859851 - Use $? instead of $^ when invoking rebuild_check. r=firefox-build-system-reviewers,andi
$? will only pass the dependencies that have triggered the command to be
called, which will save some work in rebuild_check. However, since
rebuild_check does the difference between removed and modified files,
it still needs to keep checking files.

But, the real reason we need this check is that gkrust.d can have
dependencies with spaces in them, and Make special variables like $^ or
$? don't handle those nicely, and while those files with spaces in
them are most likely unchanged (in most cases, they are going to be
files from the Windows SDK), they end up always reported as the cause
for rebuilds when setting REBUILD_CHECK. $? is more likely not to
contain files with spaces.

Differential Revision: https://phabricator.services.mozilla.com/D191381
2023-10-27 05:13:59 +00:00
Mike Hommey
445012b5ed Bug 1859851 - Move REPORT_BUILD to the rule that contains the dependencies. r=firefox-build-system-reviewers,sergesanspaille
Because the force-cargo-* rules don't have actual dependencies, the
REPORT_BUILD call can't usefully report why cargo is invoked when
setting REBUILD_CHECK.

This also has the side effect of making the non-verbose output nicer
(containing the actual built file rather than force-cargo-*)

Differential Revision: https://phabricator.services.mozilla.com/D191380
2023-10-27 05:13:58 +00:00
Mike Hommey
330ef2cdc9 Bug 1859851 - Add missing skipping cargo trick on host rust targets. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D191379
2023-10-27 05:13:58 +00:00
Mike Hommey
11562556c0 Bug 1859851 - Share the rule that avoids invoking cargo between the two places that use the trick. r=firefox-build-system-reviewers,ahochheiden
There are subtle differences in the two implementations that actually
make the variant for RUST_PROGRAMS not work currently:
- there is a %.h leftover from bug 1855623
- there is a missing $(basename) when trying to find the .d file,
  preventing it from being found.

With a common rule, we avoid such subtle differences, and that also
allows to further implement fixes without missing one of the cases.

This will also allow to add the same trick to other rules, which should
already have it.

Differential Revision: https://phabricator.services.mozilla.com/D191378
2023-10-27 05:13:57 +00:00
Mike Hommey
515f93080b Bug 1861360 - let dumpsymbols run in parallel. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D191943
2023-10-27 03:38:44 +00:00
Chris Peterson
102a715cda Bug 1860949 - Fix C++20 build by converting TestBase64 test result from UTF-16 to UTF-8. r=xpcom-reviewers,emilio
basic_ostream::operator<< overloads that accept char16_t and char32_t were removed in C++20, so std::cout << u'X' is no longer allowed. Previously, these overloads would print an integer or pointer address, not a character or string as the caller might have expected.

https://en.cppreference.com/w/cpp/io/basic_ostream/operator_ltlt2

Differential Revision: https://phabricator.services.mozilla.com/D191921
2023-10-27 02:14:59 +00:00
Masayuki Nakano
7e6da5b9b6 Bug 1859245 - part 4: Make HTMLEditor handle only the new direction mode r=m_kato
Depends on D191607

Differential Revision: https://phabricator.services.mozilla.com/D191608
2023-10-27 01:57:29 +00:00
Masayuki Nakano
982ddb7a9a Bug 1859245 - part 3: Make JoinNodesTransaction and SplitNodeTransaction handle only the new direction mode r=m_kato
Depends on D191606

Differential Revision: https://phabricator.services.mozilla.com/D191607
2023-10-27 01:57:29 +00:00
Masayuki Nakano
22a3483011 Bug 1859245 - part 2: Make HTMLEditor::DoJoinNodes and HTMLEditor::DoSplitNode handle only the new direction mode r=m_kato
Depends on D191605

Differential Revision: https://phabricator.services.mozilla.com/D191606
2023-10-27 01:57:29 +00:00
Masayuki Nakano
7954ac40cc Bug 1859245 - part 1: Make JoinNodesResult and SplitNodeResult handle only the new direction mode r=m_kato
Depends on D191604

Differential Revision: https://phabricator.services.mozilla.com/D191605
2023-10-27 01:57:28 +00:00
Cathie Chen
ef95647a77 Bug 1836525 - [Content-visibility] Make content-visibility animatable, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D190694
2023-10-27 00:43:25 +00:00
Narcis Beleuzu
e8968d56fe Backed out 3 changesets (bug 1860954) for mda crashes on GraphDriver.cpp . CLOSED TREE
Backed out changeset f8fb0c0c0219 (bug 1860954)
Backed out changeset 7ec3e94c5263 (bug 1860954)
Backed out changeset a612c74c9280 (bug 1860954)
2023-10-27 04:30:29 +03:00
Narcis Beleuzu
1fb4fc56fe Backed out 5 changesets (bug 1859851) for SM bustages . CLOSED TREE
Backed out changeset eb6ad3bf3ab1 (bug 1859851)
Backed out changeset 7dfba9feb9e5 (bug 1859851)
Backed out changeset 6b93f8e31abe (bug 1859851)
Backed out changeset 5a5c3ff9308c (bug 1859851)
Backed out changeset 7c4c7eb2d7ab (bug 1859851)
2023-10-27 04:19:13 +03:00
Narcis Beleuzu
f410b33677 Bug 1861291 - Fix Python fail on test_recursivemake.py . CLOSED TREE 2023-10-27 04:06:14 +03:00
Mike Hommey
6cf496014d Bug 1861509 - Don't try to build gkrust-gtest before gkrust. r=firefox-build-system-reviewers,ahochheiden
Back when this was added, there was an incentive to try to build
gkrust-gtest before gkrust so that libxul-gtest could have a chance
to link and be dumpsymbol'ed while gkrust compiles.

While we may still want that to happen to some degree, the way it's done
right now, with how things evolved over the years, ends up being
counterproductive and ends up delaying all the rust compiles entirely.

We'll deal with improving the overall ordering of builds in bug 1651293.

(This only affects CI)

Differential Revision: https://phabricator.services.mozilla.com/D192015
2023-10-27 00:09:06 +00:00
Mike Hommey
680a660d33 Bug 1861291 - Move manual dependencies upon wasm2c to the backend. r=firefox-build-system-reviewers,ahochheiden
This change introduces the possibility for more interdependencies being
recorded automatically, but making this work reliably more generally
we'll probably need more work, so at the moment, just make it work for
wasm2c.

Differential Revision: https://phabricator.services.mozilla.com/D191925
2023-10-27 00:07:22 +00:00
Mike Hommey
3f5e73c216 Bug 1861291 - Move relrhack manual interdependency to the backend. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D191924
2023-10-27 00:07:22 +00:00
Mike Hommey
c9b509ad96 Bug 1861291 - Remove manual interdependency for updateagent. r=firefox-build-system-reviewers,nalexander
Updateagent was removed in bug 1681574.

Differential Revision: https://phabricator.services.mozilla.com/D191923
2023-10-27 00:07:21 +00:00
Mike Hommey
f5dd99851d Bug 1861291 - Allow RustPrograms to have USE_LIBS. r=firefox-build-system-reviewers,ahochheiden
The information will only be used for deriving in-tree
interdependencies.

Differential Revision: https://phabricator.services.mozilla.com/D191922
2023-10-27 00:07:21 +00:00
Mike Hommey
51e176eb5e Bug 1861507 - Separate rust targets and individual rust crates in profiles. r=firefox-build-system-reviewers,ahochheiden
There are unfortunate cases where all the rust targets don't end up on
the same line, and that's kind of confusing.

This keeps the rust targets using "Rust" (in config/makefiles/rust.mk)
and switching individual crates to "RustCrate". They will still appear
close to each other in the profiles, but targets will now have their
dedicated line.

Differential Revision: https://phabricator.services.mozilla.com/D192013
2023-10-27 00:02:10 +00:00
Mike Hommey
cc280619c4 Bug 1861288 - Improve coverage of the pre-export and export phases in profiles. r=firefox-build-system-reviewers,ahochheiden
At the top-level, what we currently have is something akin to:
  export: some deps
    echo BUILDSTATUS TIER_START export
    make recurse_export
    ...

In practice, what this means is that `some` and `deps` are built outside
the export tier/phase.

Since recurse_export is itself a recipe with dependencies, we can "just"
move `some` and `deps` to become dependencies of recurse_export instead.
But since in non top-level directories, recurse_export is not a thing,
we still need to keep the dependencies on export there.

Unfortunately, we have one instance of something built during
recurse_export that relied on its undeclared/undeclarable dependencies
being built before recurse_export, so we need to accomodate for that.

Also, for some reason, recurse_pre-export was a two-colons recipe, while
the other recurse_* recipes were single-colon, so fix that.

Come to think of it, the same probably applies to misc and libs, which
this would mechanically fix alongside.

Incidentally, this also makes those things that ran before recurse_* run
in parallel of the other things that run during recurse_*.

Differential Revision: https://phabricator.services.mozilla.com/D191913
2023-10-27 00:01:35 +00:00
Mike Hommey
d812b6e780 Bug 1859851 - Handle escaped spaces in dependencies. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D191688
2023-10-26 23:59:15 +00:00
Mike Hommey
14746b3ff0 Bug 1859851 - Use $? instead of $^ when invoking rebuild_check. r=firefox-build-system-reviewers,andi
$? will only pass the dependencies that have triggered the command to be
called, which will save some work in rebuild_check. However, since
rebuild_check does the difference between removed and modified files,
it still needs to keep checking files.

But, the real reason we need this check is that gkrust.d can have
dependencies with spaces in them, and Make special variables like $^ or
$? don't handle those nicely, and while those files with spaces in
them are most likely unchanged (in most cases, they are going to be
files from the Windows SDK), they end up always reported as the cause
for rebuilds when setting REBUILD_CHECK. $? is more likely not to
contain files with spaces.

Differential Revision: https://phabricator.services.mozilla.com/D191381
2023-10-26 23:59:15 +00:00
Mike Hommey
206eecffbe Bug 1859851 - Move REPORT_BUILD to the rule that contains the dependencies. r=firefox-build-system-reviewers,sergesanspaille
Because the force-cargo-* rules don't have actual dependencies, the
REPORT_BUILD call can't usefully report why cargo is invoked when
setting REBUILD_CHECK.

This also has the side effect of making the non-verbose output nicer
(containing the actual built file rather than force-cargo-*)

Differential Revision: https://phabricator.services.mozilla.com/D191380
2023-10-26 23:59:14 +00:00
Mike Hommey
3a044c7203 Bug 1859851 - Add missing skipping cargo trick on host rust targets. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D191379
2023-10-26 23:59:14 +00:00
Mike Hommey
4baa2479d0 Bug 1859851 - Share the rule that avoids invoking cargo between the two places that use the trick. r=firefox-build-system-reviewers,ahochheiden
There are subtle differences in the two implementations that actually
make the variant for RUST_PROGRAMS not work currently:
- there is a %.h leftover from bug 1855623
- there is a missing $(basename) when trying to find the .d file,
  preventing it from being found.

With a common rule, we avoid such subtle differences, and that also
allows to further implement fixes without missing one of the cases.

This will also allow to add the same trick to other rules, which should
already have it.

Differential Revision: https://phabricator.services.mozilla.com/D191378
2023-10-26 23:59:13 +00:00