Commit Graph

11232 Commits

Author SHA1 Message Date
Narcis Beleuzu
b55d98b00f Backed out 21 changesets (bug 1839396) for bustages on Printer.h . CLOSED TREE
Backed out changeset c2c0876384ea (bug 1839396)
Backed out changeset 7b00061ff1d0 (bug 1839396)
Backed out changeset 560d36ce1c94 (bug 1839396)
Backed out changeset 9c97403ef422 (bug 1839396)
Backed out changeset a4f770f763f0 (bug 1839396)
Backed out changeset 326d5dabcc77 (bug 1839396)
Backed out changeset 24a2da10bd17 (bug 1839396)
Backed out changeset 45bf93263df4 (bug 1839396)
Backed out changeset 7cdbc7725383 (bug 1839396)
Backed out changeset ff43d8997410 (bug 1839396)
Backed out changeset 14d35aab82ba (bug 1839396)
Backed out changeset 1e0ae94927c1 (bug 1839396)
Backed out changeset cdbd5c0aa968 (bug 1839396)
Backed out changeset 5879c10cab2a (bug 1839396)
Backed out changeset 81ade27ceb03 (bug 1839396)
Backed out changeset e881ed1205c3 (bug 1839396)
Backed out changeset 1c777cc01b84 (bug 1839396)
Backed out changeset e078a7f110b2 (bug 1839396)
Backed out changeset c8918d4de8ac (bug 1839396)
Backed out changeset 436a663a486d (bug 1839396)
Backed out changeset 8c6bea3ac605 (bug 1839396)
2023-09-14 15:51:30 +03:00
Nicolas B. Pierron
da63680af6 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-09-14 11:41:04 +00:00
Mike Hommey
05f86467d2 Bug 1853046 - Update cbindgen to 0.26.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D188129
2023-09-13 22:51:58 +00:00
Mike Hommey
198651d478 Bug 1852646 - Always enable crash-diagnostics-dir on automation. r=firefox-build-system-reviewers,nalexander
Now that the minimum supported version of clang is 7, we don't need to
exclude clang < 7.

Differential Revision: https://phabricator.services.mozilla.com/D187946
2023-09-12 20:33:27 +00:00
Erich Gubler
24f0516a6b Bug 1851721: build(rust): add features to match both indexmap 1.9.3 and 2.* r=glandium
Supersedes <https://phabricator.services.mozilla.com/D186461>.

Differential Revision: https://phabricator.services.mozilla.com/D187520
2023-09-11 14:28:55 +00:00
John Schanck
c2229f0ab0 Bug 1851092 - land NSS ffcd992581 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D187729
2023-09-08 17:54:17 +00:00
Logan Rosen
37ac5164f3 Bug 1837047 - target aarch64 for Android builds on aarch64 hosts r=firefox-build-system-reviewers,glandium
Targeting aarch64 for Android builds on aarch64 hosts to ensure that we build an arm64 artifact that will run on an arm64 emulator, which is the only one that is supported.

Differential Revision: https://phabricator.services.mozilla.com/D187075
2023-09-08 04:21:24 +00:00
Cristina Horotan
c1fb133ca4 Backed out changeset 286cef8a7c0a (bug 1837047) for causing python mbu failure 2023-09-08 05:02:12 +03:00
Logan Rosen
6c109bc1b4 Bug 1837047 - target aarch64 for Android builds on aarch64 hosts r=firefox-build-system-reviewers,glandium
Targeting aarch64 for Android builds on aarch64 hosts to ensure that we build an arm64 artifact that will run on an arm64 emulator, which is the only one that is supported.

Differential Revision: https://phabricator.services.mozilla.com/D187075
2023-09-08 01:43:32 +00:00
Logan Rosen
f024d94b2b Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D186092
2023-09-06 16:14:30 +00:00
Logan Rosen
51f5fcdd75 Bug 1786490 - remove references to vendored pyparsing r=sylvestre,mach-reviewers,ahal,ahochheiden
Not necessary because pyparsing is no longer a dependency of packaging, so it is no longer vendored.

Differential Revision: https://phabricator.services.mozilla.com/D186411
2023-09-06 16:14:30 +00:00
Mike Hommey
458d43a2f5 Bug 1851694 - Suppress ubsan function sanitizer for rlbox's impl_invoke_with_func_ptr. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D187514
2023-09-05 22:54:44 +00:00
Julien Cristau
be736fcf5f Bug 1851405 - update references to IndexSearch. r=glandium
Fixes mach bootstrap, among others.

Differential Revision: https://phabricator.services.mozilla.com/D187361
2023-09-05 07:39:58 +00:00
Mike Hommey
494f8aa2a8 Bug 1850650 - Adjust revert-llvmorg-17-init-4120-g02e8eb1a438b.patch to llvm trunk changes. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D187403
2023-09-05 06:42:05 +00:00
Mike Hommey
88b82d1ac2 Bug 1851078 - Simplify how the linker is chosen during configure. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D187247
2023-09-04 22:22:35 +00:00
Mike Hommey
b1f3975f1d Bug 1839741 - Upgrade binutils to 2.41. r=firefox-build-system-reviewers,ahochheiden
Because it bumps the alignment requirement on aarch64, we make the
elfhack test create more relocations to make the .rela.dyn section large
enough for the test to pass.

Differential Revision: https://phabricator.services.mozilla.com/D181684
2023-09-01 01:20:34 +00:00
Mike Hommey
fe3139c268 Bug 1850650 - Adjust revert-llvmorg-15-init-11205-gcead4eceb01b to clang trunk. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D187091
2023-08-31 19:38:29 +00:00
Mike Hommey
bc3c8bc2b8 Bug 1850460 - Revert clang trunk commit that conflicts with our changes. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D187063
2023-08-30 05:26:19 +00:00
Mike Hommey
625cfd2e2f Bug 1841905 - Update builders to rustc 1.72. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D186682
2023-08-28 21:02:47 +00:00
Mike Hommey
71ac4d413d Bug 1850307 - Avoid truncation in TestSprintfLiteral.cpp. r=nika
Clang trunk started to warn about uses of snprintf that always lead to
truncation. The warning is hit in the test, but it's not really an
interesting part of the test, so prevent clang from warning by making
the format string smaller.

Differential Revision: https://phabricator.services.mozilla.com/D186990
2023-08-28 20:53:30 +00:00
Cristina Horotan
afccc66e1a Backed out changeset f77e9c7c1ae0 (bug 1832022) for causing mochitest failures. CLOSED TREE 2023-08-28 17:42:54 +03:00
Olli Pettay
7cb3608207 Bug 1832022 - Consider to increase import-instr-limit to 30, r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D185078
2023-08-28 10:25:05 +00:00
Natalia Csoregi
47d4ddc1c9 Backed out 2 changesets (bug 1848956) for causing increasingly high webgpu failures on cts.https.html. CLOSED TREE
Backed out changeset fbbf71ea5127 (bug 1848956)
Backed out changeset 3dd540c62c79 (bug 1848956)
2023-08-24 15:10:23 +03:00
Nicolas Silva
ac7bc41315 Bug 1848956 - Update wgpu to revision 57874e5c540330c8183e19ee87654cf24bb5c250. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
***
fixup

Differential Revision: https://phabricator.services.mozilla.com/D186461
2023-08-24 11:01:46 +00:00
John Schanck
ae9ae9b8c9 Bug 1845711 - land NSS NSS_3_93_BETA1 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D186738
2023-08-23 22:56:22 +00:00
Mike Hommey
368daa89f8 Bug 1849273 - Remove the explicit --enable-crashreporter in mozconfig.common. r=firefox-build-system-reviewers,ahochheiden
It has been enabled by default on the relevant platforms essentially
forever, so it doesn't need to be explicitly enabled.

As such, since --enable-crashreporter is not really a useful thing to
point at to wrt build options, we remove its mention from the
configuring build options doc.

Differential Revision: https://phabricator.services.mozilla.com/D186513
2023-08-23 19:07:08 +00:00
Norisz Fay
c5e74dfe84 Backed out changeset 4a4d5e64aec5 (bug 1846178) for causing mochitest failures on test_script_loader_js_cache.html/cache_module.html CLOSED TREE 2023-08-23 11:19:39 +03:00
Henri Sivonen
acc51e7036 Bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D185797
2023-08-23 07:11:47 +00:00
Stanca Serban
8aa4e033a1 Backed out changeset bc91ede31572 (bug 1848956) for causing webgpu failures. 2023-08-22 20:57:58 +03:00
Nicolas Silva
a8d0e26d58 Bug 1848956 - Update wgpu to revision 57874e5c540330c8183e19ee87654cf24bb5c250. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
***
fixup

Differential Revision: https://phabricator.services.mozilla.com/D186461
2023-08-22 14:03:58 +00:00
renevietnam29@gmail.com
c0f7841e56 Bug 1842987 Remove dom.forms.enterkeyhint r=emilio,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D184620
2023-08-14 13:52:35 +00:00
Rob Lemley
232ef086e2 Bug 1848232 - Allow building notificationserver.dll with Thunderbird. r=nalexander
Goes with bug 1838139 (for comm-central) for the packaging code.

Differential Revision: https://phabricator.services.mozilla.com/D185954
2023-08-12 17:50:28 +00:00
Mike Hommey
4027128b33 Bug 1845498 - Use a response file with ar/llvm-lib when possible. r=firefox-build-system-reviewers,ahochheiden
We've apparently hit a threshold in non-unified builds where there are
too many files on the command line when creating the js_static library
on Windows. The way around that is to do something similar to shared
library linking, using a response file (shared library linking has more
possibilities, but it's a different story). Unfortunately, not all
static library creation tools are equal, and while llvm-lib, GNU ar and
llvm-ar support response files, BSD ar and probably others (e.g. the one
on Solaris?) don't, so we have to try and detect whether that works.

Differential Revision: https://phabricator.services.mozilla.com/D185419
2023-08-10 21:47:08 +00:00
Mike Hommey
bba33ffab4 Bug 1847190 - Don't use the configure_cache in the packed relative relocations configure check. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185418
2023-08-09 22:54:23 +00:00
Mike Hommey
d66980ade7 Bug 1720484 - Add /usr/lib64/pkgconfig to the list of pkg-config directories we try in sysroots. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185375
2023-08-09 22:53:18 +00:00
Mike Hommey
51de975dd9 Bug 1847101 - Define WORDS_BIGENDIAN when targeting big endians. r=firefox-build-system-reviewers,ahochheiden
Some third party code (cairo, pixman, some media libs) rely on this
define being set. When they are built standalone, they get it from
autoconf, but we don't run their configure scripts, so that's missed.

Differential Revision: https://phabricator.services.mozilla.com/D185351
2023-08-09 22:25:07 +00:00
Mike Hommey
44b24790fa Bug 1847199 - Add toolchains for clang 17.0.0-rc2. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185424
2023-08-09 20:26:14 +00:00
Mike Hommey
3cb3ea3b50 Bug 1847198 - Update builders to clang 16.0.6. r=firefox-build-system-reviewers,ahochheiden
Remove llvmorg-17-init-11952-g2f0a1699eab7.patch as it was applied
upstream.

Differential Revision: https://phabricator.services.mozilla.com/D185423
2023-08-09 20:26:14 +00:00
Cristian Tuns
ff69e79f19 Backed out changeset a8267c9267da (bug 1840902) for causing mochitest failures in automation.py CLOSED TREE 2023-08-08 19:40:55 -04:00
Harshit Sohaney
d79723acb5 Bug 1840902 - Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r=bvandersloot
Depends on D182366

Differential Revision: https://phabricator.services.mozilla.com/D184979
2023-08-08 20:21:44 +00:00
Tom Marble
1566d8b177 Bug 1847587 - convert .ini manifests to .toml: batch 1 fixups r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D185591
2023-08-07 20:45:46 +00:00
Narcis Beleuzu
8a4a9fad67 Backed out changeset 588b596bcb73 (bug 1847587) for mochitest failures on test_focusrings.xhtml . CLOSED TREE 2023-08-08 02:04:14 +03:00
Tom Marble
87a9d38a88 Bug 1847587 - convert .ini manifests to .toml: batch 1 fixups r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D185591
2023-08-07 20:45:46 +00:00
Kagami Sascha Rosylight
9308e83bc6 Bug 1844843 - Remove warning about targeting Android on Windows r=m_kato,nalexander DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D185162
2023-08-03 19:35:46 +00:00
Mike Hommey
4a05ff7242 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,ahochheiden
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-08-02 06:12:51 +00:00
Brad Werth
945241d7f5 Bug 1845144 Part 1: Update build configs with minimum macOS 10.15 target, update docs. r=glandium
This changes the minimum macOS target from 10.12 to 10.15 in several build
scripts and in documentation that references the minimum version
requirement.

Differential Revision: https://phabricator.services.mozilla.com/D184432
2023-08-02 02:26:14 +00:00
Mike Hommey
eb6bdd90e5 Bug 1835053 - Remove syn v1 from the workspace-hack. r=firefox-build-system-reviewers,ahochheiden
It's the last crate with a remaining dependency on syn v1. The
transition is over.

Differential Revision: https://phabricator.services.mozilla.com/D184999
2023-08-02 00:25:47 +00:00
Mike Hommey
8196877812 Bug 1846406 - Update derive_more to 1.0.0-beta-2 to switch it to syn 2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184998
2023-08-02 00:25:47 +00:00
ahochheiden
05f6219e68 Bug 1846068 - Load all command modules for ./mach busted r=firefox-build-system-reviewers,glandium
Since it depends on the `command_handlers` from `Registrar` for the
`file` `sub_command` to determine the appropriate component, we need to
load all command modules so that we can file against any of them.

Differential Revision: https://phabricator.services.mozilla.com/D184853
2023-08-01 19:59:26 +00:00
ahochheiden
f71b25f3ce Bug 1845833 - Add the ability to specify command dependencies for commands r=firefox-build-system-reviewers,glandium
This just forces other command modules to be loaded in addition to the
'base' command. We need this so that decorators needed by the 'base'
command that are in another command module are ran during initialization
(eg: `@SettingsProvider`).

I thought about centralizing the `@SettingsProvider` decorators into one
module and always loading it, but they can depend on the
'command_handlers' in `Registrar`, so the modules they're currently in
have to be loaded for them to execute, so there wasn't a way around
this.

Differential Revision: https://phabricator.services.mozilla.com/D184852
2023-08-01 19:59:25 +00:00