Commit Graph

5982 Commits

Author SHA1 Message Date
Cristian Tuns
56b2c76d14 Bug 1829245 - Fix spidermonkey linux64/debug bustages r=rix CLOSED TREE 2023-04-26 00:28:23 -04:00
Mike Hommey
1855bd6010 Bug 1829245 - Change how intl/component files are identified in check_vanilla_allocations. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D176102
2023-04-26 04:00:09 +00:00
Mike Hommey
acbe860fc5 Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-26 02:44:12 +00:00
Shravan Narayan
df636672ed Bug 1829268 - Update wasm2c compiler used with RLBox to support MinGW r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176254
2023-04-25 07:00:41 +00:00
Natalia Csoregi
56e93e216a Backed out changeset 35f665d19e3a (bug 1274334) for causing Gtest failures on STLWrapper. CLOSED TREE 2023-04-21 15:35:35 +03:00
Mike Hommey
45f37efa8c Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-21 09:37:19 +00:00
Natalia Csoregi
639fa048d6 Backed out changeset 0ddf006ab8f0 (bug 1274334) for causing win 2012 bustages on WebGLRenderingContextBinding.h. CLOSED TREE 2023-04-21 12:11:01 +03:00
Mike Hommey
1b4a9de576 Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-21 08:26:50 +00:00
Shravan Narayan
ed0bb19d78 Bug 1827704 - Migrate to the upstream wasm2c for RLBox sandboxing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D175439
2023-04-21 01:31:35 +00:00
Mike Hommey
94f435dbdc Bug 1828577 - Properly set *-stl-wrapper.template.h as an input to the make-stl-wrappers script. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D175734
2023-04-20 21:49:03 +00:00
Mozilla Releng Treescript
504bd0a7ee Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-04-10 15:05:17 +00:00
serge-sans-paille
23daed2f0e Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-04-06 12:55:54 +00:00
Cosmin Sabou
55d5c4b9df Backed out changeset 8725bf468d29 (bug 1808184) for breaking incremental builds (bug 1826114). a=backout 2023-04-04 16:48:15 +03:00
serge-sans-paille
1e9746ea8d Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-04-01 06:52:58 +00:00
serge-sans-paille
3cc6661196 Bug 1825555 - Portable extraction of rust dependency r=glandium
Looks like $(file <) construct is too recent for some of our downstream
users.

Differential Revision: https://phabricator.services.mozilla.com/D174210
2023-03-31 12:31:48 +00:00
André Bargull
3e45456337 Bug 1824301: Update time zone data to tzdata2023a. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D173657
2023-03-29 06:17:26 +00:00
serge-sans-paille
c0bcda8e91 Bug 1806618 - Avoid rebuilding RUST_PROGRAMS based on dependencies r=sylvestre,ahochheiden,firefox-build-system-reviewers
cargo generates dependency file for each program, systematically. Use it
to avoid redundant builds.

This handles the following situations:

* Cargo file is updated
* One of the dependency output by cargo is updated
* Binary is manually removed
* Dependency file is manually removed

Differential Revision: https://phabricator.services.mozilla.com/D165159
2023-03-23 13:38:31 +00:00
André Bargull
32434f8e6b Bug 1818103: Revert date format for en-CA. r=platform-i18n-reviewers,jfkthame
Revert the date format for en-CA per <https://github.com/unicode-org/cldr/pull/2759>.

The actual patch is based on <https://github.com/unicode-org/icu/pull/2368>.

Differential Revision: https://phabricator.services.mozilla.com/D173406
2023-03-23 09:26:42 +00:00
Marian-Vasile Laza
d630a6aad3 Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages. CLOSED TREE
Backed out changeset adae02427fe6 (bug 1808184)
Backed out changeset 6445ca9d0ee4 (bug 1806618)
2023-03-23 09:23:29 +02:00
serge-sans-paille
a881fee2ed Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
This generalizes Bug 1806618 to library files, avoiding a few extra calls
to rustc.

Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-03-23 06:30:24 +00:00
serge-sans-paille
22fc01d585 Bug 1806618 - Avoid rebuilding RUST_PROGRAMS based on dependencies r=sylvestre,ahochheiden,firefox-build-system-reviewers
cargo generates dependency file for each program, systematically. Use it
to avoid redundant builds.

This handles the following situations:

* Cargo file is updated
* One of the dependency output by cargo is updated
* Binary is manually removed
* Dependency file is manually removed

Differential Revision: https://phabricator.services.mozilla.com/D165159
2023-03-23 06:30:24 +00:00
Cosmin Sabou
a051b65f23 Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages.
Backed out changeset 04b7be54155f (bug 1808184)
Backed out changeset e00332f32a2d (bug 1806618)
2023-03-15 18:12:19 +02:00
serge-sans-paille
8c68ceadec Bug 1808184 - Avoid rebuilding RUST_LIBRARY_FILE based on dependencies r=sylvestre
This generalizes Bug 1806618 to library files, avoiding a few extra calls
to rustc.

Differential Revision: https://phabricator.services.mozilla.com/D165808
2023-03-15 15:44:29 +00:00
serge-sans-paille
1cb6d68b5a Bug 1806618 - Avoid rebuilding RUST_PROGRAMS based on dependencies r=sylvestre,ahochheiden,firefox-build-system-reviewers
cargo generates dependency file for each program, systematically. Use it
to avoid redundant builds.

This handles the following situations:

* Cargo file is updated
* One of the dependency output by cargo is updated
* Binary is manually removed
* Dependency file is manually removed

Differential Revision: https://phabricator.services.mozilla.com/D165159
2023-03-15 15:44:29 +00:00
Mike Hommey
054dacdca3 Bug 1822216 - Avoid linking C programs with the C++ compiler. r=firefox-build-system-reviewers,ahochheiden
What was added in bug 1378830 was broken by bug 1255485. Not in a super
visible way, but the undesirable side effect is that C programs end up
being linked against the C++ runtime. Which didn't cause practical
problems until bug 1820947.

Differential Revision: https://phabricator.services.mozilla.com/D172519
2023-03-14 03:03:03 +00:00
Sebastian Hengst
21ce1c8805 Merge mozilla-central to autoland. CLOSED TREE 2023-03-13 18:29:02 +01:00
Arthur Carcano
ee3f98a749 Bug 1819569 - Remove nss/crmf cluster. r=bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D171338
2023-03-13 11:26:16 +00:00
Mozilla Releng Treescript
9986d4aded Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-03-13 15:37:20 +00:00
Mozilla Releng Treescript
b78b0ca988 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-02-13 16:28:07 +00:00
Simon Friedberger
64526ee2d8 Bug 1810790 - Remove Origin Telemetry. r=chutten,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D167779
2023-02-04 18:42:16 +00:00
Cristian Tuns
2d820afafb Backed out changeset aefea186c9bc (bug 1810790) for causing mochitest failures on performance/browser_preferences_usage.js CLOSED TREE 2023-02-02 08:48:01 -05:00
Simon Friedberger
19d608932e Bug 1810790 - Remove Origin Telemetry. r=chutten,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D167779
2023-02-02 11:57:11 +00:00
Cristian Tuns
e2e9e39c80 Backed out changeset 30517fbc6b05 (bug 1810790) for causing multiple failures CLOSED TREE 2023-01-30 13:13:35 -05:00
Simon Friedberger
d9e8467b1e Bug 1810790 - Remove Origin Telemetry. r=chutten,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D167779
2023-01-30 16:24:45 +00:00
Fabrice Le Fessant
98cfeed071 Bug 1810126 - Add a generic mechanism to run cargo-* commands. r=glandium,firefox-build-system-reviewers,ahochheiden
`mach cargo COMMAND` will run `cargo-COMMAND` using `cargo build`
arguments by default. However, it is possible to tune the arguments
using either command-line arguments, or a YAML file in `config/cargo/`.
A file `config/cargo/template.yaml` can be used to create a new
configuration for a new cargo sub-command.

Differential Revision: https://phabricator.services.mozilla.com/D166780
2023-01-27 01:18:52 +00:00
Mike Hommey
e450188d9b Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D167879
2023-01-26 22:21:04 +00:00
Stanca Serban
a06825384e Backed out changeset dc600ee31d6f (bug 1812276) for causing shlwapi.h related bustages. CLOSED TREE 2023-01-26 23:37:05 +02:00
Mike Hommey
5b3a349f5e Bug 1812276 - Add a minimal shlwapi.h wrapper, like we do with windows.h. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D167879
2023-01-26 21:06:10 +00:00
Yannis Juglaret
5725440d8a Bug 1812264 - Add manifests automatically on mingw builds. r=glandium
This is a backout of changeset a47d1c31b581 from bug 1657863; the underlying problem was fixed in bug 1766432.
This backout will homogenize regular builds and MinGW builds.
It will allow MinGW tests to properly identify the running version of Windows, and thus have more realistic coverage.

The full story, as described in bug 1812264:
Bug 1656141 added manifests to MinGW binaries.
This caused TestDllInterceptor.exe to now realize it's not running on Windows 8, thus it can run the tests that make use of the ACG mitigation.
However ACG was broken in MinGW builds, causing perma bug 1657863 in TestDllInterceptor.exe, where we decided to remove the automatic manifests to remove the perma.
The problem with using ACG in MinGW builds was figured out in bug 1766432, and fixed accordingly.
We can thus now restore automatic manifests in MinGW builds.

Differential Revision: https://phabricator.services.mozilla.com/D167828
2023-01-26 08:04:41 +00:00
Lu Yahan
7bbe78478c Bug 1800431 - Add jit build condig for riscv64.r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D163406
2023-01-23 11:51:34 +00:00
Mozilla Releng Treescript
d39a17381a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-01-16 14:09:46 +00:00
Arthur Carcano
0a7977a9f9 Bug 1804280 - Refactor cargo subcommands in rust.mk. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D163956
2023-01-11 04:12:41 +00:00
Mike Hommey
015395b015 Bug 1807779 - Stop requiring to set WINEPATH manually when cross-compiling for arm64 windows. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165588
2022-12-28 22:48:50 +00:00
Marco Castelluccio
f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Iain Ireland
84a115258d Bug 1805798: Allow-list std::string in RegExpUnparser::VisitClassSetOperand r=sfink
V8 is creating a `std::string` in code that only runs under `--trace-regexp-parser`, which is indirectly calling `new`.

Differential Revision: https://phabricator.services.mozilla.com/D165085
2022-12-22 18:45:11 +00:00
Mozilla Releng Treescript
9f891a508e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-12-12 14:52:47 +00:00
Arthur Carcano
aac035a5dd Bug 1803557 - Refactor cargo subcommands in mach_commands.py. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D163588
2022-12-07 06:07:22 +00:00
ahochheiden
bf231d4320 Bug 1802097 - Check return code of cargo udeps and cargo audit to determine if they aren't installed, and provide the necessary commands to install them if they aren't r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D162902
2022-12-01 23:54:17 +00:00
André Bargull
5e2b3f9f08 Bug 1803516: Update time zone data to tzdata2022g. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D163568
2022-12-01 14:05:39 +00:00
Arthur Carcano
c14cbced66 Bug 1803492 - Fix linker issues during mach cargo clippy
The patch is from Arthur Carcano <arthur.carcano@ocamlpro.com>, r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D163551
2022-12-01 04:23:47 +00:00