Commit Graph
3304 Commits
Author SHA1 Message Date
arthur.iakab 69725c7dd7 Backed out 13 changesets (bug 1500948, bug 1509362, bug 1509591, bug 1448426, bug 1500949, bug 1487249, bug 1509930, bug 1500950, bug 1500944) for causing crashes and assertion failures on PBackgroundParent.cpp:696 CLOSED TREE
Backed out changeset c3fe435e473a (bug 1509362)
Backed out changeset 6494840edc17 (bug 1509591)
Backed out changeset 123b5d5a3637 (bug 1509591)
Backed out changeset bce195f98895 (bug 1509930)
Backed out changeset 66db13126408 (bug 1500950)
Backed out changeset 3b5fffae2d2b (bug 1500949)
Backed out changeset 71c3b3677db8 (bug 1500948)
Backed out changeset 784b3b56e2ab (bug 1500944)
Backed out changeset 0bad27401ddb (bug 1500944)
Backed out changeset e0f95dd96d54 (bug 1448426)
Backed out changeset c60fa11538db (bug 1487249)
Backed out changeset 0190d4ffa54f (bug 1487249)
Backed out changeset 3cd10aba9130 (bug 1487249)
2018-11-28 02:57:32 +02:00
Nika Layzell 2f971fd9d3 Bug 1448426 - Wrap windows.h to avoid problematic define statements, r=froydnj,glandium
By default, windows.h exposes a large number of problematic define statements
which are UpperCamelCase, such as a define from `CreateWindow` to
`CreateWindow{A,W}`.

As many of these names are generic (e.g. CreateFile, CreateWindow), they can
mess up Gecko code that may legitimately have its own methods with the same
names.

The header also defines some traditional SCREAMING_SNAKE_CASE defines which
can mess up our code by conflicting with local values.

This patch adds a simple code generator which generates wrappers for these
defines, and uses them to wrap the windows.h wrapper using the `stl_wrappers`
mechanism, allowing us to use windows.h in more places.

Differential Revision: https://phabricator.services.mozilla.com/D10932
2018-11-27 18:09:33 -05:00
Cosmin Sabou 8fd1b065ba Merge mozilla-central to mozilla-inbound. 2018-11-28 00:04:55 +02:00
Mark Banner dd077d4ece Bug 1509387 - When setting up ESLint, call npm via node so that node doesn't need to be in the path. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D12742
2018-11-27 14:46:53 +00:00
Thomas Daede f102222a92 Bug 1493400 - Import dav1d into tree. r=glob
Differential Revision: https://phabricator.services.mozilla.com/D9607
2018-11-24 01:53:30 +00:00
Andreea Pavel 2896068c01 Backed out changeset f851c3e82c2b (bug 1509387) for build bustages on a CLOSED TREE 2018-11-27 12:17:23 +02:00
Mark Banner 5e538147f2 Bug 1509387 - When setting up ESLint, call npm via node so that node doesn't need to be in the path. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D12742
2018-11-26 20:49:00 +00:00
James Willcox 3696731844 Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D10775
2018-11-23 20:31:57 +00:00
Chris Pearce e54e5f68d9 Bug 1503776 - Add marionette-gpu job. r=jmaher
In order to reduce the cost of running marionette tests on a virtual machine
with a GPU, add a marionette-gpu job, and run the WebRender rollout test added
in the previous patch in this new job.

Depends on D10528

Differential Revision: https://phabricator.services.mozilla.com/D12241
2018-11-22 21:36:46 +00:00
Tom Prince c951bc4d5c Bug 1482395: Allow python3 specific entries in virtualenv_packages.txt; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D12706
2018-11-22 21:44:09 +00:00
Andi-Bogdan Postelnicu d821a8b9cb Bug 1509276 - mach static-analysis install - should accept more flags in order to make it more robust. r=sylvestre
Depends on D12599

Differential Revision: https://phabricator.services.mozilla.com/D12635
2018-11-22 10:47:52 +00:00
Andi-Bogdan Postelnicu d34dcf3102 Bug 1508635 - mach clang-format should be able to print back the file that has been reformatted to stdin, suitable when it ise used with 3rd party tools for merging. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D12599
2018-11-22 10:47:50 +00:00
Marco Castelluccio 77cccc32fa Bug 1489100 - Specify tests per suite in MOZHARNESS_TEST_PATHS. r=ahal 2018-11-15 17:54:13 +01:00
Jonathan Watt 255eb7b7d3 Bug 1508506. Set the necessary objdir include paths and defines for Eclipse CDT. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12375
2018-11-01 14:55:27 +00:00
Jonathan Watt 2e68271f67 Bug 1408675 p4. Set per-directory include paths for Eclipse CDT. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12011
2018-10-31 17:49:22 +00:00
Jonathan Watt 21b8d9f1cb Bug 1408675 p3. Have Eclipse CDT globally set MOZILLA_CLIENT and the NSS include path. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12010
2018-10-31 14:19:51 +00:00
Jonathan Watt ace0cd0218 Bug 1408675 p2. Fix Eclipse CDT project missing defines. r=botond
consume_object() is only called with Defines objects for directories containing
a moz.build file that sets a DEFINES value, and those Defines objects only
contain the defines set in that moz.build (not defines that affect the
directory's files that are set elsewhere).  That's why we fail to set some
defines.

This commit changes consume_object to obtain defines from the ComputedFlags
objects that it is passed instead.  We get one of these objects for every
directory with a moz.build, and we can obtain all defines passed to the
compiler for the files in a given directory from these objects.

Differential Revision: https://phabricator.services.mozilla.com/D12009
2018-10-31 13:27:00 +00:00
Jonathan Watt 849e91a1a2 Bug 1408675 p1. Set Eclipse CDT per-directory defines in the right place. r=botond
We've been setting per-directory defines in the "CDT Managed Build Setting
Entries" which are ignored(!) during indexing since we don't use the Eclipse
managed build system (we use mach). We need to set the defines as "CDT User
Setting Entries".

Differential Revision: https://phabricator.services.mozilla.com/D12008
2018-10-31 10:02:35 +00:00
Jonathan Watt 1e34f8a14e Bug 1501507. Make the Eclipse CDT project ignore some directories when indexing. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D9606
2018-10-30 15:56:29 +00:00
Thomas Daede 3c58aca6bf Bug 1501796 - Use nasm when yasm is requested. r=firefox-build-system-reviewers,mshal
Includes changes to support nasm's stricter include paths.

Supports falling back to yasm if nasm is missing.

Differential Revision: https://phabricator.services.mozilla.com/D9972
2018-11-16 01:20:58 +00:00
Cosmin Sabou 068fcbe0a2 Backed out changeset 565215cf2e5e (bug 1501802) for causing mass mda failures. CLOSED TREE 2018-11-15 09:17:08 +02:00
Bob Clary 0475b740d1 Bug 1501802 - Update tooltool.py fetch_file to log.info exceptions instead of log.debug, r=garbas 2018-11-10 03:10:08 -08:00
Thomas Daede 96da91900d Bug 1501796 - Add USE_NASM mozbuild option. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D9868
2018-11-07 00:26:07 +00:00
Andreea Pavel 9d857f691b Backed out changeset 2bc6db0a2574 (bug 1486524) android raptor failures ona CLOSED TREE 2018-11-14 23:04:59 +02:00
James Willcox 1719c73fa2 Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D10775
2018-11-14 17:48:58 +00:00
Ted Mielczarek dc4dd2c5cb bug 1507047 - fix packaging of generated Rust sources. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11874
2018-11-14 16:03:47 +00:00
Chris Manchester aa79a6bb4c Bug 1505859 - Allow rusttests to run when requested without --enable-rust-tests. r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D11514
2018-11-10 14:59:39 +00:00
Connor Sheehan 91c76cc7d0 Bug 1505086: move verify_statedir from telemetry submission script to mozbuild.telemetry r=ted
A subsequent commit will require similar logic to the
checks found in this command. Moving to mozbuild will
allow us to re-use the function instead of re-writing
similar logic.

Differential Revision: https://phabricator.services.mozilla.com/D11277
2018-11-12 14:57:49 +00:00
shindli 9331299b4e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-10 23:40:36 +02:00
Ted Mielczarek 6e12dde581 bug 1505325 - fix build telemetry path filtering when cwd is outside of topsrcdir/objdir. r=firefox-build-system-reviewers,chmanchester
The build telemetry code attempts to filter paths to avoid PII from usernames
and other things. It does this by converting every commandline argument to
an absolute path and then making them relative to topsrcdir or topobjdir and
omitting any that fail. This meant that running a mach command with a cwd
outside of the topsrcdir or objdir would omit all arguments since they were
converted to absolute paths from the cwd.

This change fixes this by adding the cwd to the list of paths used to create
relative paths. Additionally we add the user's home directory to that list
to try to avoid usernames sneaking through. Finally, instead of simply
removing these path prefixes, we replace them with sigils: $topsrcdir,
$objdir, $HOME.

Differential Revision: https://phabricator.services.mozilla.com/D11174
2018-11-10 19:14:44 +00:00
Ted Mielczarek a523f95192 bug 1505325 - refactor telemetry gathering slightly. r=firefox-build-system-reviewers,chmanchester
After bug 1497638 the method by which build telemetry data gets written
to disk is slightly convoluted. Since we're now invoking `gather_telemetry`
from `post_dispatch_handler`, we just make that function return the data
it gathers and inline the contents of `telemetry_handler` after the call
to it.

Differential Revision: https://phabricator.services.mozilla.com/D11173
2018-11-10 19:04:06 +00:00
Cosmin Sabou 3376a2604d Backed out changeset 4034fbcc0a55 (bug 1501802) for causing mass mochitest failures. 2018-11-10 15:21:03 +02:00
Bob Clary df334c7417 Bug 1501802 - Update tooltool.py fetch_file to log.info exceptions instead of log.debug, r=garbas 2018-11-10 03:10:08 -08:00
Dan Gohman 985641ea40 Bug 1505777: [Cranelift] Update to Cranelift 0.23. r=bbouvier 2018-11-09 05:15:49 -08:00
Daniel Varga a108aa9406 Merge mozilla-central to autoland. a=merge 2018-11-09 12:22:53 +02:00
Mike Hommey 2a13029533 Bug 1505634 - Allow MOZ_ARTIFACT_REVISION to point to unknown mercurial changesets. r=nalexander
When using artifact builds, one can use the MOZ_ARTIFACT_REVISION
environment variable to force download artifacts from the given
revision.

When the VCS is git, it expects the revision to be a git ref or commit
sha1, which is resolved to a mercurial changeset via git-cinnabar.

It can however be convenient to just point to a given mercurial revision
directly, from, say, try, without pulling it first. This can actually be
useful even when the VCS is mercurial.

So if the given revision doesn't resolve to an existing git or hg commit,
and it's a complete 40-character sha1, we assume it's a valid mercurial
changeset.

Differential Revision: https://phabricator.services.mozilla.com/D11266
2018-11-09 02:29:38 +00:00
Chris Manchester ef8c3e4448 Bug 1505072 - Implement rusttests as a non-default sub-graph of the build. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11240
2018-11-08 17:02:27 +00:00
arthur.iakab 3814acbceb Merge mozilla-central to inbound 2018-11-07 23:56:03 +02:00
Kim Moir 1f0286d0b0 Bug 1485228 - Add support for repackage msi r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D9331
2018-11-07 17:45:46 +00:00
Nick Alexander cd9a49ed12 Bug 1503651 - Drop audience flavor dimension. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D10412
2018-11-06 23:21:30 +00:00
Chris Manchester 3b65ab4605 Bug 1504844 - Log a reason when the build driver decides to run configure. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D10966
2018-11-06 00:03:48 +00:00
Jonathan Watt fe9c610c02 Bug 1505386. Remove dead B2G code from the Eclipse CDT project generator. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D11169
2018-10-25 09:32:05 +01:00
Cosmin Sabou d17a6ab373 Backed out 48 changesets (bug 1376873, bug 1502992) for causing windows 7 wpt crashes on several files.
Backed out changeset b9db1780bb9c (bug 1502992)
Backed out changeset f9f879bd247c (bug 1376873)
Backed out changeset f029e9f3ceaf (bug 1376873)
Backed out changeset 7317f657a9a7 (bug 1376873)
Backed out changeset 4efbe4d0050c (bug 1376873)
Backed out changeset 26e09a6dee05 (bug 1376873)
Backed out changeset afbd3a8108de (bug 1376873)
Backed out changeset 23b5fb1a2577 (bug 1376873)
Backed out changeset 5d9c7a09616c (bug 1376873)
Backed out changeset f15c4be0f19f (bug 1376873)
Backed out changeset 3d11b041baf2 (bug 1376873)
Backed out changeset 9674bbefc68e (bug 1376873)
Backed out changeset 5a45d2c706d6 (bug 1376873)
Backed out changeset 9b82f16618b9 (bug 1376873)
Backed out changeset 0c3c2fc4646b (bug 1376873)
Backed out changeset 381df4c6ae88 (bug 1376873)
Backed out changeset acc06acb5342 (bug 1376873)
Backed out changeset 60fdf3598932 (bug 1376873)
Backed out changeset 176b82dccf4c (bug 1376873)
Backed out changeset 58e47be76761 (bug 1376873)
Backed out changeset d082eb8d80c6 (bug 1376873)
Backed out changeset 622f78404b8a (bug 1376873)
Backed out changeset 086c722131f9 (bug 1376873)
Backed out changeset 79010785539c (bug 1376873)
Backed out changeset 6b2919ed789b (bug 1376873)
Backed out changeset da8d3eb163bd (bug 1376873)
Backed out changeset 0fc8c65e163e (bug 1376873)
Backed out changeset de3f5bd6846b (bug 1376873)
Backed out changeset 2951112ade46 (bug 1376873)
Backed out changeset 9fe47f8ea1b8 (bug 1376873)
Backed out changeset b94935661622 (bug 1376873)
Backed out changeset 6eca45c83131 (bug 1376873)
Backed out changeset 909f472c2e40 (bug 1376873)
Backed out changeset 19d9a30b300c (bug 1376873)
Backed out changeset 6a52b92ff037 (bug 1376873)
Backed out changeset 6a6771656fe5 (bug 1376873)
Backed out changeset ffdbeba93fa6 (bug 1376873)
Backed out changeset d12ad321047d (bug 1376873)
Backed out changeset d1f7d44e05a4 (bug 1376873)
Backed out changeset b59e1fca5c13 (bug 1376873)
Backed out changeset 5d7a8864505d (bug 1376873)
Backed out changeset e1ea09e84feb (bug 1376873)
Backed out changeset bc92eac0522f (bug 1376873)
Backed out changeset 1f86d23e4806 (bug 1376873)
Backed out changeset d78c5c50b6b8 (bug 1376873)
Backed out changeset 2e1af73cdd2e (bug 1376873)
Backed out changeset dda3c784b0c0 (bug 1376873)
Backed out changeset f40ca921b74b (bug 1376873)
2018-11-03 03:12:43 +02:00
Tooru Fujisawa ddb6eeb8b9 Bug 1492716 - Part 4: Add linter for configure option with function default. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8836
2018-10-16 20:28:13 +09:00
Tooru Fujisawa e4559e99ad Bug 1492716 - Part 3: Add linter for configure option with bool default. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8835
2018-10-16 20:28:12 +09:00
Tooru Fujisawa e76135c1ee Bug 1492716 - Part 2.1: Support empty string in help formatting rule and fixed some more cases. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D9631
2018-10-24 18:04:00 +09:00
Tooru Fujisawa c2fc6442b4 Bug 1492716 - Part 2: Add formatting rule to help text for --{enable,disable,with,without}. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8834
2018-10-16 20:28:12 +09:00
Gurzau Raul 412b8e6f9c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-09 07:46:56 +02:00
Dan Minor b3ea8a4388 Bug 1376873 - Allow gn to have a non-default target; r=chmanchester
MozReview-Commit-ID: GBQSi6z059y

Differential Revision: https://phabricator.services.mozilla.com/D7423
2018-01-11 16:29:05 -05:00
Nathan Froyd 08ec56f517 Bug 1502964 - part 1 - bump the minimum required version of cargo-vendor; r=ted.mielczarek
The newer version features the usual crop of bugfixes we need.
2018-11-02 10:56:08 -04:00