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

10671 Коммитов

Автор SHA1 Сообщение Дата
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
Mike Hommey ff425ddcf1 Bug 1792666 - Use -isysroot instead of --sysroot on mac. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D158302
2022-09-29 07:50:27 +00:00
Sandor Molnar 864b7a93a2 Backed out 3 changesets (bug 1791682) for causing spider monkey failures. CLOSED TREE
Backed out changeset c7e6bf99e7f7 (bug 1791682)
Backed out changeset 5be243995b2f (bug 1791682)
Backed out changeset a2e1831539e7 (bug 1791682)
2022-09-24 02:53:46 +03:00
Ray Kraesig f88d2cb267 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-23 23:11:14 +00:00
Ray Kraesig c2e8c8663e 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-23 23:11:13 +00:00
Ray Kraesig 06b7e76be7 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-23 23:11:13 +00:00
Katherine Patenio 2151b62487 Bug 1762970 - update Jar Manifests documentation on Firefox Source Docs r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D150475
2022-09-23 17:12:59 +00:00
Mike Hommey f9a559f1ed Bug 1789507 - Update builders to rustc 1.64. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D157896
2022-09-22 20:51:26 +00:00
Mike Hommey 534b95e2e2 Bug 1791480 - Handle the situation when clang doesn't have the same default C++ standard for host and target. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D157799
2022-09-22 08:01:17 +00:00
Marian-Vasile Laza dca276a235 Backed out changeset 1efa06d7902a (bug 1784202) for causing mochitest failures. CLOSED TREE 2022-09-22 04:44:50 +03:00
Mike Hommey 70cdc9a963 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-09-21 20:11:34 +00:00
Butkovits Atila 86987f69cb Backed out changeset 9d40b66a9202 (bug 1784202) for causing build bustages. 2022-09-21 15:05:08 +03:00
Mike Hommey ba0be83d9b 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-09-21 09:17:18 +00:00
Florian Quèze 00e15b9118 Bug 965392 - Use a timer instead of a condvar to run the BHMgr Monitor thread, r=dthayer.
Whenever some activity starts on the thread we are monitoring, we create a timer that targets the BHMgr Monitor thread (where we capture hang stacks).
Whenever the activity stops, we cancel the timer.
In the past, this would have been very expensive because the Timer thread used to wake-up every time a timer was added or removed. This is no longer true, as we optimized the wake-up behavior of the timer thread to only wake-up when it actually needs to.

Differential Revision: https://phabricator.services.mozilla.com/D154141
2022-09-20 17:42:32 +00:00
Mike Hommey db68ae8577 Bug 1791482 - Use ARM neon flags more consistently. r=firefox-build-system-reviewers,andi
In one place, we specifically check for softfp and do the right thing,
while in another we omit doing it, while at the same time we already
have a check in arm.configure that gives us (mostly) the flags we want.

Differential Revision: https://phabricator.services.mozilla.com/D157687
2022-09-20 09:12:31 +00:00
Mike Hommey 45afb05550 Bug 1791464 - Really only define BUILD_ARM_NEON when it's meant to be defined. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D157681
2022-09-20 09:12:16 +00:00
Butkovits Atila ffd0b64433 Backed out changeset 90cbd3e4faac (bug 1784202) for causing clang-format failures. 2022-09-20 01:05:02 +03:00
Mike Hommey ec8f3d17ee 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-09-19 20:32:05 +00:00
Mike Hommey 494e20b714 Bug 1789954 - Upgrade valgrind to 3.19.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D156917
2022-09-13 21:43:23 +00:00
John Schanck 262ca63d8f Bug 1787505 - land NSS NSS_3_83_BETA2 UPGRADE_NSS_RELEASE, r=nss-reviewers,djackson
Differential Revision: https://phabricator.services.mozilla.com/D156982
2022-09-13 16:39:55 +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
Mark Striemer e73bd9df47 Bug 1788797 - Move storybook commands to mach from npm scripts r=hjones,ahal
Differential Revision: https://phabricator.services.mozilla.com/D156241
2022-09-12 21:13:20 +00:00
Kirk Steuber d2735f5957 Bug 1786667 - Don't access update components in BrowserGlue if Firefox was not built with support for them r=bhearsum,preferences-reviewers
This patch was made to guard Update functionality from being called in BrowserGlue.jsm if Firefox was not built with support for the Updater. However, it also ended up touching the updater build configuration. I discovered while testing this patch that building with `--disable-updater` does not imply `--disable-maintenance-service` or `--disable-update-agent`. So I fixed that issue as well. Once that was fixed, I could change some other code that checked `AppConstants.MOZ_UPDATER && AppConstants.MOZ_UPDATE_AGENT` since that is now equivilant to `AppConstants.MOZ_UPDATE_AGENT`.

Differential Revision: https://phabricator.services.mozilla.com/D156902
2022-09-09 15:01:13 +00:00
Andi-Bogdan Postelnicu d4f5769a01 Bug 1746462 - add support for --enable-linker=mold on linux. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D134330
2022-09-09 11:01:50 +00:00
Cosmin Sabou ecfd7cff79 Backed out changeset 7dd0bcf1eeed (bug 1787505) for causing mass mochitest failures. r=land NSS NSS_3_83_BETA1 UPGRADE_NSS_RELEASE CLOSED TREE 2022-09-09 01:53:53 +03:00
John Schanck db095eb9f2 Bug 1787505 - land NSS NSS_3_83_BETA1 UPGRADE_NSS_RELEASE, r=keeler
2022-09-08  John M. Schanck  <jschanck@mozilla.com>

	* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.83 beta
	[97fec8885336] [NSS_3_83_BETA1]

	* lib/softoken/pkcs11.c:
	Bug 1789886 - resource leak in NSC_OpenSession. r=bbeurdouche

	[b225a756abc2]

	* lib/pkcs12/p12d.c:
	Bug 1788875 - Remove set-but-unused variables from
	SEC_PKCS12DecoderValidateBags. r=nss-reviewers,bbeurdouche

	[132476bbefc5]

2022-09-07  Ludovic Hirlimann  <ludovic@mozilla.com>

	* cmd/lib/secpwd.c, coreconf/BeOS.mk, coreconf/config.mk,
	coreconf/nsinstall/nsinstall.c, lib/certhigh/ocsp.c,
	lib/dbm/include/mcom_db.h, lib/freebl/sysrand.c,
	lib/freebl/unix_rand.c, lib/jar/jar.h, lib/jar/jarfile.c,
	lib/nss/nssinit.c, lib/ssl/config.mk, lib/ssl/sslimpl.h,
	lib/ssl/sslmutex.c, lib/ssl/sslmutex.h, lib/ssl/sslnonce.c,
	lib/ssl/sslsnce.c, lib/ssl/sslsock.c, lib/ssl/unix_err.c,
	lib/util/secport.c, lib/util/secport.h, lib/zlib/zconf.h,
	lib/zlib/zutil.h:
	Bug 1563221 remove older oses that are unused part3/ BeOS r=nss-
	reviewers,djackson

	Depends on D36757

	[e0b144ea73b7]

	* coreconf/IRIX.mk, coreconf/IRIX5.2.mk, coreconf/IRIX5.3.mk,
	coreconf/IRIX5.mk, coreconf/IRIX6.2.mk, coreconf/IRIX6.3.mk,
	coreconf/IRIX6.5.mk, coreconf/IRIX6.mk, coreconf/arch.mk,
	lib/freebl/Makefile, lib/freebl/mpi/mpi.h, tests/set_environment:
	Bug 1563221 remove older unix support in NSS part 3 Irix r=nss-
	reviewers,djackson

	Depends on D36756

	[ee2e9b06b590]

	* lib/dbm/config/config.mk:
	Bug 1563221 remove support for older unix in NSS part 2 DGUX r=nss-
	reviewers,djackson

	Depends on D36755

	[b066df5e9148]

	* cmd/modutil/install.c, coreconf/OSF1.mk, coreconf/OSF1V2.0.mk,
	coreconf/OSF1V3.0.mk, coreconf/OSF1V3.2.mk, coreconf/OSF1V4.0.mk,
	coreconf/OSF1V4.0B.mk, coreconf/OSF1V4.0D.mk, coreconf/OSF1V5.0.mk,
	coreconf/OSF1V5.1.mk, coreconf/arch.mk, lib/dbm/config/config.mk,
	lib/freebl/Makefile, lib/freebl/arcfour.c, lib/freebl/mpi/mpi.c,
	lib/freebl/unix_rand.c, lib/ssl/sslsnce.c, tests/header,
	tests/mksymlinks, tests/nssqa, tests/platformlist.tbx,
	tests/set_environment:
	Bug 1563221 remove support for older unix in NSS part 1 OSF r=nss-
	reviewers,djackson

	[17f9365a7a1d]

2022-09-07  John M. Schanck  <jschanck@mozilla.com>

	* lib/ckfw/builtins/nssckbi.h:
	Bug 1778413 - Set nssckbi version number to 2.58. r=nss-
	reviewers,bbeurdouche

	Depends on D156583

	[2367ce7cdd32]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1785297 - Add two SECOM root certificates to NSS.
	r=KathleenWilson

	Depends on D156582

	[9be22516dac9]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1787075 - Add two DigitalSign root certificates to NSS.
	r=KathleenWilson

	Depends on D156581

	[04200c0488ee]

	* lib/ckfw/builtins/certdata.txt:
	Bug 1778412 - Remove Camerfirma Global Chambersign Root from NSS.
	r=KathleenWilson

	[a217a119cff1]

2022-09-06  John M. Schanck  <jschanck@mozilla.com>

	* lib/softoken/pkcs11.c, lib/softoken/pkcs11u.c:
	Bug 1767921 - check SFTKSlot head after acquiring session lock.
	r=rrelyea

	[ed04d4729b99]

2022-08-30  Kai Engert  <kaie@kuix.de>

	* coreconf/coreconf.dep:
	Dummy change, trigger a build to test latest NSPR commits.
	[bb1ae751d359]

Differential Revision: https://phabricator.services.mozilla.com/D156884
2022-09-08 20:11:56 +00:00
criss 4d4b56017b Backed out changeset a0e6cd2b39c7 (bug 1788837) for causing regressions. CLOSED TREE 2022-09-08 03:13:29 +03: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
Mike Hommey f01efda5c6 Bug 1789056 - Adjust revert-llvmorg-14-init-11890-gf86deb18cab6.patch to clang trunk changes. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D156497
2022-09-06 08:44:43 +00:00
Mike Hommey 636aef20cd Bug 1788870 - Stop shipping libc++ along clang. r=firefox-build-system-reviewers,andi
There are some ABI issues with libc++ headers in clang 15. The main
reason we are shipping libc++ with our clang is that the macos SDK,
up to and including 11.1, only contained the libc++ libraries, but
not the headers. The first SDK that contains the headers is 11.3
(there is no 11.2, at least publicly available), and we're now using
it.

Another problem with libc++ is that the way we currently build it is
deprecated and is going to yields hard errors soon enough on clang
trunk.

The simplest thing to do right now is to just stop shipping libc++.

Eventually, we may want to ship it correctly in a different way, for
all platforms, which was not happening anyways.

Differential Revision: https://phabricator.services.mozilla.com/D156283
2022-09-05 21:37:07 +00:00
Mike Hommey 3b6d66eba3 Bug 1788858 - Remove HOST_MAJOR_VERSION. r=firefox-build-system-reviewers,necko-reviewers,andi
`HAS_CONNECTX` is not used in `netwerk/protocol/http` as of bug 1689604.
In NSPR, it is used to enable the use of `connectx`, which is available
since macOS 10.11, and we target 10.12, which means it's always
available, so we don't need to check for it based on the target version
(and checking the host version was wrong, too).

Differential Revision: https://phabricator.services.mozilla.com/D156275
2022-09-05 21:24:25 +00:00
Mike Hommey ef98b71931 Bug 1788854 - Require MacOSX 11.3 SDK. r=firefox-build-system-reviewers,andi
Because the relevant SDK is not installed on the mac workers, we pull it
via fetches and adjust the plain build mozconfig as well as mozconfigs
for rusttest, grouping most things in build/macosx/mozconfig.common.

And because the SDK itself now has all the relevant headers, we don't
need the old check for system C++ headers (which also happens to have
outdated instructions)

Differential Revision: https://phabricator.services.mozilla.com/D156280
2022-09-04 21:07:02 +00:00
Mike Hommey 49b4329f1c Bug 1788854 - Upgrade MacOS SDK to 11.3. r=firefox-build-system-reviewers,andi
We keep the older 11.0 and 10.11 SDKs for openh264.

Ideally, we'd rename the SDK directory not to contain its version, but
ld64 actually relies on the directory name to figure out the platform
version when it's not given to it, which it's not. We can make clang do
that, but it's rather involved (because it also requires setting up the
host linker properly, which we don't do), so we just go the easy route
and keep the SDK version in its directory.

Differential Revision: https://phabricator.services.mozilla.com/D156279
2022-09-04 21:07:01 +00:00
Mike Hommey f7e039970b Bug 1784202 - Properly set target flags for clang mac builds. r=firefox-build-system-reviewers,andi
Currently, when building clang for mac, which we cross-compile, we're
always passing a x86-64 target, even on arm64. This cancels out with the
LLVM build system adding `-arch arm64`, so it worked fine... until clang
15, where some things end up being built without `-arch arm64` and
things end up broken.

Differential Revision: https://phabricator.services.mozilla.com/D156258
2022-09-04 21:01:53 +00:00
Mike Hommey f251bb8977 Bug 1788837 - Default to lld for mac builds. r=firefox-build-system-reviewers,andi
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 >= 14.

Differential Revision: https://phabricator.services.mozilla.com/D156267
2022-09-02 07:26:11 +00:00
Cristian Tuns fa81b64fc1 Merge autoland to mozilla-central. a=merge 2022-08-31 11:13:07 -04:00
Ryan VanderMeulen e3ba9c8bc0 Backed out changeset 9ef37c6da56b (bug 965392) for suspicion of causing bug 1784591 and bug 1786242. 2022-08-31 10:35:46 -04:00
Manuel Bucher 2f9b6fc184 Bug 1782992 - Update link to new location of mochitest documentation r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D155991
2022-08-31 07:56:57 +00:00
Jesse Schwartzentruber 9962f512b5 Bug 1787530 - Apply ASAN allocator oom patch to clang-trunk. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D155742
2022-08-31 04:46:39 +00:00
Ryan VanderMeulen c88b9e5d6b Bug 1787525 - Remove unneeded Wno-error=coverage-mismatch suppression. r=firefox-build-system-reviewers,ahochheiden
Depends on D155738

Differential Revision: https://phabricator.services.mozilla.com/D155739
2022-08-30 00:19:33 +00:00