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

10710 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey c72fd7b701 Bug 1788837 - Default to lld for mac builds. r=firefox-build-system-reviewers,andi,ahochheiden
This had been attempted in bug 1747532 but failed for some reason and we
limited it to local builds with clang >= 13. Now enable by default on any
build with clang >= 15.

Differential Revision: https://phabricator.services.mozilla.com/D156267
2022-11-09 23:54:07 +00:00
ahochheiden 604d394173 Bug 1744340 - Enable colored output on Windows - r=firefox-build-system-reviewers,glandium
- The bug that was constantly disabling `VIRTUAL_TERMINAL_PROCESSING` has been fixed upstream in CYGWIN (fdbd153932) and merged into MSYS2 (e4fdb0cb73)
- The upcoming MozillaBuild `4.0.2` release will have the updated MSYS2 that contains this fix, allowing us to enable colored output on Windows.
- We will enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` once (For each stdout and stderr) on initializing the formatter to ensure that `VIRTUAL_TERMINAL_PROCESSING` is enabled whenever Mach is called..
- These changes will only be active if the MozillaBuild version is greater than or equal to Release `4.0.2`

Differential Revision: https://phabricator.services.mozilla.com/D138256
2022-11-09 04:33:19 +00:00
Butkovits Atila fe7ef22ba5 Backed out 7 changesets (bug 1744340, bug 1798827) for causing mach failures at test_commands.py. CLOSED TREE
Backed out changeset 9cb83a8d1f28 (bug 1798827)
Backed out changeset ebff36a14737 (bug 1744340)
Backed out changeset 5d6aabaf72c4 (bug 1744340)
Backed out changeset 8efafab5495f (bug 1744340)
Backed out changeset 8a873505f17d (bug 1744340)
Backed out changeset 3024fff68f6c (bug 1744340)
Backed out changeset 42a0a61583f0 (bug 1744340)
2022-11-09 04:21:47 +02:00
ahochheiden fbba799d5f Bug 1744340 - Enable colored output on Windows - r=firefox-build-system-reviewers,glandium
- The bug that was constantly disabling `VIRTUAL_TERMINAL_PROCESSING` has been fixed upstream in CYGWIN (fdbd153932) and merged into MSYS2 (e4fdb0cb73)
- The upcoming MozillaBuild `4.0.2` release will have the updated MSYS2 that contains this fix, allowing us to enable colored output on Windows.
- We will enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` once (For each stdout and stderr) on initializing the formatter to ensure that `VIRTUAL_TERMINAL_PROCESSING` is enabled whenever Mach is called..
- These changes will only be active if the MozillaBuild version is greater than or equal to Release `4.0.2`

Differential Revision: https://phabricator.services.mozilla.com/D138256
2022-11-09 00:40:56 +00:00
Butkovits Atila 206b028a0a Backed out 2 changesets (bug 1772908) for causing 1799741. CLOSED TREE
Backed out changeset 3b84539c5aeb (bug 1772908)
Backed out changeset 8e25782bd2b9 (bug 1772908)
2022-11-08 23:40:05 +02:00
Christian Holler 0ee39a42f7 Bug 1798865 - Adjust llvm-symbolizer lookup order. r=glandium,andi
Differential Revision: https://phabricator.services.mozilla.com/D161138
2022-11-08 08:16:22 +00:00
Cosmin Sabou 4d88a72636 Backed out 2 changesets (bug 1798865) for causing spidermonkey exceptions.
Backed out changeset e14f128a212e (bug 1798865)
Backed out changeset 70a4325293f5 (bug 1798865)
2022-11-08 07:15:14 +02:00
Mike Hommey 1ed19c9524 Bug 1791476 - When clang is newer than rust's llvm, use clang sanitizer runtimes. r=firefox-build-system-reviewers,ahochheiden
To do so, we move cargo-linker from shell to python because it's more
convenient.

Differential Revision: https://phabricator.services.mozilla.com/D161010
2022-11-08 00:44:27 +00:00
Mike Hommey c7eb03d629 Bug 1799062 - Update builders to clang 15.0.4. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D161240
2022-11-07 22:22:15 +00:00
Christian Holler 1021958950 Bug 1798865 - Adjust llvm-symbolizer lookup order. r=glandium,andi
Differential Revision: https://phabricator.services.mozilla.com/D161138
2022-11-07 22:19:43 +00:00
Mike Hommey 8de8afc061 Bug 1798613 - Revert llvm-symbolizer change that causes timeouts in some cases. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D161249
2022-11-07 22:15:55 +00:00
Ray Kraesig b91ab1da24 Bug 1772908 - [5/6] Implement WinHandleWatcher r=xpcom-reviewers,nika
Implement a version of Chromium's `base::ObjectWatcher` which does not
rely on the Chromium MessageLoop.

Differential Revision: https://phabricator.services.mozilla.com/D159562
2022-11-04 21:04:19 +00:00
Ray Kraesig e6891605ce Bug 1772908 - [3/6] Consistently stop UpdateWatcher thread r=application-update-reviewers,bytesized
The UpdateWatcher thread might not be shut down if `ProcessUpdates`
returned an error. Rework `StartStagedUpdate` so that the thread will be
shut down after any early return.

More cosmetically, rename the updater thread to "Updater Thread": it's
not limited to being a watcher-thread, but is also used for the initial
update checks.

Differential Revision: https://phabricator.services.mozilla.com/D159560
2022-11-04 21:04:18 +00:00
Tyson Smith 31bc02d92c Bug 1799013 - Add compiler-rt-rss-limit-heap-profile.patch to clang-15.json. r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D161217
2022-11-03 22:49:46 +00:00
Nick Alexander e5289052b2 Bug 1792258 - Post: Make it easier to test (Android) multi-locale packages. r=geckoview-reviewers,m_kato
This commit updates the outdated documentation for producing multi-locale
packages, and also arranges for Android multi-locale packages to produce a
GeckoViewExample binary that has `libs` and `assets/omni.ja`.  Together, these
greatly ease multi-locale testing.

Differential Revision: https://phabricator.services.mozilla.com/D160705
2022-11-03 21:36:26 +00:00
Mark Striemer 02523cc40a Bug 1792237 - ./mach addwidget to scaffold a shared front-end component r=hjones
Depends on D161141

Differential Revision: https://phabricator.services.mozilla.com/D157937
2022-11-03 21:32:34 +00:00
Mike Hommey eddb810ffd Bug 1798840 - Revert clang trunk change that heavily breaks Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D161112
2022-11-03 07:18:33 +00:00
Mike Hommey 4ac82edfab Bug 1796072 - Don't let newer clang default to lld on Android. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D161095
2022-11-03 06:09:28 +00:00
Mike Hommey 40c87bb4d2 Bug 1798829 - Cherry-pick lld fix for EH personalities. r=firefox-build-system-reviewers,andi
This should have been in bug 1784202, but somehow got lost in some
rebase.

Differential Revision: https://phabricator.services.mozilla.com/D161101
2022-11-03 04:49:11 +00:00
ohall-m 3b204056d6 Bug 1771343 - GeckoView Android API 33 (Android 13) r=geckoview-reviewers,jgraham,jnicol,nalexander,jonalmeida
Updating GeckoView from Android API level 31 to API 33 for target and compile.

Differential Revision: https://phabricator.services.mozilla.com/D159764
2022-11-02 10:53:33 +00:00
Mike Hommey 3ff4ecb3f8 Bug 1798602 - Include mozconfig.linux in linux tsan mozconfig. r=decoder
The main side effect is that it enables lld on those builds.

Differential Revision: https://phabricator.services.mozilla.com/D160993
2022-11-02 08:05:03 +00:00
Chris Peterson 1944552082 Bug 1791950 - Enable C++20 -Wenum-float-conversion warnings. r=firefox-build-system-reviewers,glandium
C++20 deprecates some operations involving enums and floating point types. Since these warnings are enabled by default in C++20, we won't need to manually enabled this warning after mozilla-central is compiled with -std=c++20 (bug 1768116).

https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-float-conversion

Differential Revision: https://phabricator.services.mozilla.com/D160718
2022-11-02 04:44:31 +00:00
Rob Lemley aa1bb4f0ca Bug 1797894 - Set gAppData->vendor to NULL when not set otherwise. r=glandium
As suggested in the review for bug 1793005 (D158441). Sets gAppData->vendor to
NULL when otherwise falsy without changing the value set by old-configure. There
are places in the code such as BackgroundTasks.cpp from toolkit that depend on
MOZ_APP_VENDOR being a string value, empty or otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D160651
2022-11-01 23:51:51 +00:00
Mike Hommey bee90b0f95 Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-11-01 23:46:33 +00:00
ahochheiden fc391c3273 Bug 1766497 - Doc updates regarding `venv` r=firefox-build-system-reviewers,nalexander
- Removed references to Python 2
- Replaced references to `virtualenv` with `venv`

Depends on D145787

Differential Revision: https://phabricator.services.mozilla.com/D158922
2022-11-01 07:48:06 +00:00
John Schanck 968bd89420 Bug 1795087 - land NSS bed3afeff7fd UPGRADE_NSS_RELEASE, r=nss-reviewers,bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D160258
2022-10-27 18:15:15 +00:00
Mike Hommey a017df7de0 Bug 1797653 - Temporarily revert another clang trunk change that breaks bindgen. r=firefox-build-system-reviewers,andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D160443
2022-10-27 03:58:14 +00:00
Sandor Molnar 55c9f970f6 Backed out changeset 59151d6a9b0b (bug 1784202) for causing crashes @strlen + 0x30 2022-10-26 14:59:24 +03:00
Iulian Moraru 035c7039d3 Bug 1796518 - fix for 'NoneType' object has no attribute 'KIND' failure. CLOSED TREE 2022-10-26 04:11:13 +03:00
Mike Hommey 402fce07b9 Bug 1796518 - Tweak lld flags for faster linkage on developer builds. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D159832
2022-10-25 22:58:25 +00:00
Iulian Moraru e4ed3b0322 Backed out changeset ecf1b742df6c (bug 1797233) as per glandium's request. CLOSED TREE 2022-10-26 01:37:19 +03:00
Mike Hommey 80e9f6c416 Bug 1797233 - Revert clang upstream change that breaks building for macOS. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D160169
2022-10-25 09:11:46 +00:00
Mike Hommey cfce5ea6fe Bug 1784202 - Update builders to clang 15. r=firefox-build-system-reviewers,andi
We keep clang 14 for webrender-wrench for now, because of bug 1789346.

Differential Revision: https://phabricator.services.mozilla.com/D155532
2022-10-25 07:28:24 +00:00
Mike Hommey 681ce3b213 Bug 1796727 - Exclude ReleaseNotes.rst from clang patches. r=firefox-build-system-reviewers,nalexander DONTBUILD
It's too volatile, and it doesn't matter to us.

Differential Revision: https://phabricator.services.mozilla.com/D159984
2022-10-23 23:01:00 +00:00
Kagami Sascha Rosylight 9d5273c9c4 Bug 1796542 - Allow nonexistent path with allow_space=True r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D159842
2022-10-20 20:22:50 +00:00
Sandor Molnar 4097e46ddb Merge mozilla-central to autoland a=merge 2022-10-19 00:41:42 +03:00
Mike Hommey c13f7a7abe Bug 1795215 - Keep -Wno-* flags when disabling compiler warnings. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D159364
2022-10-18 19:46:45 +00:00
Mike Hommey 8f4d47c529 Bug 1795207 - Move the remainder of warning flags setup in old-configure to python. r=firefox-build-system-reviewers,andi
While we're here, make the setup more consistent across host/target
c/c++, and remove the C compiler warning flags from the C linker flags,
where they are irrelevant.

Differential Revision: https://phabricator.services.mozilla.com/D159358
2022-10-18 19:46:44 +00:00
Mike Hommey d5d60b9920 Bug 1795576 - Temporarily revert clang trunk change that breaks bindgen. a= DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D159555
2022-10-17 23:57:47 +00:00
Mike Hommey c456ff9412 Bug 1794074 - Revert clang trunk change wrt thread safety analysis. a=land-fix CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D158824
2022-10-13 22:31:17 +00:00
Mike Hommey a51fe143d2 Bug 1794955 - Adjust revert-llvmorg-14-init-11890-gf86deb18cab6_clang_16.patch to upstream changes. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D159242
2022-10-13 03:43:55 +00:00
Sandor Molnar ffa4d00965 Backed out changeset 84e2e4cd020e (bug 1794074) for causing bug 1794226 CLOSED TREE 2022-10-09 00:14:09 +03:00
Eemeli Aro 45a8fe66c1 Bug 1734217 - Merge all about:neterror front-end handling under toolkit. r=mkmelin,smaug,nalexander,flod,Gijs
Following a suggestion from :mkmelin, this seems like an optimal solution: the overriding/duplication in m-c is removed, and all users get a more powerful default choice that they're still able to override with their own, should they so wish.

For clarity and to match other `about:` pages, the shared code is placed under `toolkit/content/`, and all content under `docshell/resources/` is removed.

Differential Revision: https://phabricator.services.mozilla.com/D156478
2022-10-07 18:40:27 +00:00
Jesse Schwartzentruber fd39390143 Bug 1792757 - Dump sanitizer heap profile when rss limit is exhausted. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D158301
2022-10-07 13:29:59 +00:00
Mike Hommey 32fd7c9b16 Bug 1794074 - Revert clang trunk change wrt thread safety analysis. a=fix
Differential Revision: https://phabricator.services.mozilla.com/D158824
2022-10-07 08:01:10 +00:00
Dennis Jackson 7da0562237 Bug 1792135 - land NSS NSS_3_84_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,nkulatova
Differential Revision: https://phabricator.services.mozilla.com/D158772
2022-10-06 22:47:02 +00:00
Ray Kraesig 76d7055093 Bug 1791682 - [3/3] Remove thread names only used in tests r=andi
Remove all the thread names only used in tests from ThreadAllows.txt.
Instead, list the test files that create them in ThreadFileAllows.txt.

Differential Revision: https://phabricator.services.mozilla.com/D157762
2022-09-30 00:11:22 +00:00
Ray Kraesig 55dd66f10d Bug 1791682 - [2/3] Allow multiple path-elements in ThreadFileAllows.txt r=andi
Filenames alone do not uniquely identify files in the Mozilla codebase.
Allow specification of path-elements alongside filenames.

Differential Revision: https://phabricator.services.mozilla.com/D157761
2022-09-30 00:11:22 +00:00
Ray Kraesig 99f55ae3f2 Bug 1791682 - [1/3] Allow comments in thread-checker definition files r=andi
Expand the processor for ThreadAllows.txt and ThreadFileAllows.txt to
also recognize and permit comments prefixed by `#`.

Differential Revision: https://phabricator.services.mozilla.com/D157760
2022-09-30 00:11:21 +00:00
Mike Hommey 08d382aa75 Bug 1792666 - Add comment that was meant to be added but ended up missing DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D158316
2022-09-29 08:43:45 +00:00