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

4438 Коммитов

Автор SHA1 Сообщение Дата
Andi-Bogdan Postelnicu ecc4f819bb Bug 1509296 - Download clang based static-analysis during bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D12658

--HG--
extra : moz-landing-system : lando
2018-11-27 19:43:37 +00:00
Tom Prince b416c4d4b2 Bug 1482395: [mozrelease] Add support for generating update metadata; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12707

--HG--
extra : moz-landing-system : lando
2018-11-27 18:47:14 +00:00
Mark Banner 43e3063ea9 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

--HG--
extra : moz-landing-system : lando
2018-11-27 14:46:53 +00:00
Thomas Daede e6a11914f8 Bug 1493400 - Import dav1d into tree. r=glob
Differential Revision: https://phabricator.services.mozilla.com/D9607

--HG--
extra : moz-landing-system : lando
2018-11-24 01:53:30 +00:00
Andreea Pavel 5208359b12 Backed out changeset f851c3e82c2b (bug 1509387) for build bustages on a CLOSED TREE 2018-11-27 12:17:23 +02:00
Mark Banner a74ab6032f 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

--HG--
extra : moz-landing-system : lando
2018-11-26 20:49:00 +00:00
James Willcox 992335e0bf 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

--HG--
extra : moz-landing-system : lando
2018-11-23 20:31:57 +00:00
Chris Pearce 16512588df 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

--HG--
extra : moz-landing-system : lando
2018-11-22 21:36:46 +00:00
Tom Prince dd59ad1f35 Bug 1482395: Allow python3 specific entries in virtualenv_packages.txt; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D12706

--HG--
extra : moz-landing-system : lando
2018-11-22 21:44:09 +00:00
Andi-Bogdan Postelnicu fc1d362d7e 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

--HG--
extra : moz-landing-system : lando
2018-11-22 10:47:52 +00:00
Andi-Bogdan Postelnicu ea2810cf13 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

--HG--
extra : moz-landing-system : lando
2018-11-22 10:47:50 +00:00
Jonathan Watt 96f02e3f50 Bug 1508506. Set the necessary objdir include paths and defines for Eclipse CDT. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D12375

--HG--
extra : rebase_source : c72015e85b1f72ef02fff93a9d1b4aa68a5efb6f
extra : amend_source : 3191aa7c975b2d279eee6d843b47c0082d938370
2018-11-01 14:55:27 +00:00
Qinghao_Jack_Song 79d49a6b70 Bug 1507301 - Migrate about:sessionrestore and about:welcomeback to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D11994

--HG--
extra : moz-landing-system : lando
2018-11-19 22:01:58 +00:00
Razvan Maries 3b217cc771 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-11-20 00:36:35 +02:00
Sebastian Hengst 8e870bf61e Bug 1508248 - Update in-tree bugzilla metadata to use 'Firefox Build System :: Mach Core' for mach files r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12278

--HG--
extra : moz-landing-system : lando
2018-11-19 13:35:14 +00:00
Cosmin Sabou 4df488e5fa Backed out changeset 962527f12004 (bug 1504751) for browser chrome failures on content/aboutNetworking.js 2018-11-16 23:25:55 +02:00
Collin Wing 26d02f4f16 Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977

--HG--
extra : moz-landing-system : lando
2018-11-16 18:01:08 +00:00
Jack Smith 283514b93b Bug 1502396 - Convert change and remove master password dialogs in about:preferences to use Fluent r=jaws,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D10949

--HG--
extra : moz-landing-system : lando
2018-11-06 21:39:17 +00:00
Thomas Daede 9735214d9a 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

--HG--
extra : moz-landing-system : lando
2018-11-16 01:20:58 +00:00
Francesco Lodolo (:flod) f502206960 Bug 1507441 - Replace FTL.VariantName with FTL.Identifier in existing recipes and documentation, fix nits in recipes r=stas
Differential Revision: https://phabricator.services.mozilla.com/D12001

--HG--
extra : moz-landing-system : lando
2018-11-15 12:48:09 +00:00
Cosmin Sabou ccee39ae4a Backed out changeset 565215cf2e5e (bug 1501802) for causing mass mda failures. CLOSED TREE 2018-11-15 09:17:08 +02:00
Andreea Pavel e3299fd2db Backed out 5 changesets (bug 1498640, bug 1436037, bug 1497660, bug 1505579) for mass failures on a CLOSED TREE
Backed out changeset 914a7a899dd1 (bug 1436037)
Backed out changeset e072757bf691 (bug 1436037)
Backed out changeset b0805a8cf6eb (bug 1505579)
Backed out changeset aa32ba9e6df3 (bug 1498640)
Backed out changeset ce441b8a784c (bug 1497660)
2018-11-15 07:53:41 +02:00
Andrew Halberstadt b03e2aa337 Bug 1436037 - [python] Create Windows python-test tasks, r=gps
The following python-test paths are being moved out of 'make check' and into their own task:
- python/mozlint
- testing/mozbase
- tools/lint

The following python-test paths previously did not run on Windows:
- python/mozterm
- testing/marionette
- testing/raptor
- tools/tryselect

MozReview-Commit-ID: C07FANaYzf7

Depends on D10758

Differential Revision: https://phabricator.services.mozilla.com/D10759

--HG--
extra : moz-landing-system : lando
2018-11-15 00:49:45 +00:00
Bob Clary 6c435b86b6 Bug 1501802 - Update tooltool.py fetch_file to log.info exceptions instead of log.debug, r=garbas
--HG--
extra : source : 4034fbcc0a551d86deb3463115c0cf7f8c228b65
2018-11-10 03:10:08 -08:00
Jack Smith 50bf6ce556 Bug 1491676 - Moves permissions strings r=flod,Gijs,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D9917

--HG--
extra : moz-landing-system : lando
2018-11-14 23:11:24 +00:00
Jack Smith 8551788086 Bug 1491676 - Moves download folder strings r=flod,Gijs,zbraniecki
Depends on D8554

Differential Revision: https://phabricator.services.mozilla.com/D8928

--HG--
extra : moz-landing-system : lando
2018-11-14 23:10:36 +00:00
Jack Smith 46b22a84c3 Bug 1491676 - Moves out of space warning strings r=flod,Gijs,zbraniecki
Depends on D8553

Differential Revision: https://phabricator.services.mozilla.com/D8554

--HG--
extra : moz-landing-system : lando
2018-11-14 23:09:50 +00:00
Jack Smith e1f7803613 Bug 1491676 - Moves master password dialog strings r=flod,Gijs,zbraniecki
Depends on D8552

Differential Revision: https://phabricator.services.mozilla.com/D8553

--HG--
extra : moz-landing-system : lando
2018-11-14 23:08:51 +00:00
Thomas Daede d8bea75863 Bug 1501796 - Add USE_NASM mozbuild option. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D9868

--HG--
extra : moz-landing-system : lando
2018-11-07 00:26:07 +00:00
Thomas Daede 9ae2c6e168 Bug 1501796 - Add nasm to bootstrap scripts. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D9852

--HG--
extra : moz-landing-system : lando
2018-11-09 05:27:54 +00:00
Connor Sheehan 1e603661c4 Bug 1506759: remove `try-except` block which swallows `OSError` r=ted
We have a few bugs filed as intermittent failures all relating
to an `AssertionError` on the return value of this block, which
seems to have a relevant value when `OSError` is thrown. Removing
this will not fix the problem but will at least let us see the
true cause of the failure for debugging and stabilization.

Differential Revision: https://phabricator.services.mozilla.com/D11884

--HG--
extra : moz-landing-system : lando
2018-11-14 16:33:22 +00:00
Andreea Pavel 9351d666e7 Backed out changeset 2bc6db0a2574 (bug 1486524) android raptor failures ona CLOSED TREE 2018-11-14 23:04:59 +02:00
James Willcox b97296cf79 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

--HG--
extra : moz-landing-system : lando
2018-11-14 17:48:58 +00:00
Ted Mielczarek 5cc31b03b8 bug 1507047 - fix packaging of generated Rust sources. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11874

--HG--
extra : moz-landing-system : lando
2018-11-14 16:03:47 +00:00
Qinghao_Jack_Song c998d3abb3 Bug 1498444 - Migrate Sanitize Dialogs to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D8130

--HG--
extra : moz-landing-system : lando
2018-11-13 17:58:43 +00:00
Panos Astithas b23feb0362 Bug 1506317 - Use clang-7.0 for bootstraping using macports r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D11548

--HG--
extra : moz-landing-system : lando
2018-11-13 05:01:37 +00:00
Qinghao_Jack_Song 8d34d6b733 Bug 1498451 - Migrate Device Manager Dialog of Preferences Section to use Fluent for localization r=Gijs,flod,zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D7978

--HG--
extra : moz-landing-system : lando
2018-11-12 19:34:21 +00:00
Chris Manchester 3f10fd4a47 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

--HG--
extra : moz-landing-system : lando
2018-11-10 14:59:39 +00:00
Connor Sheehan 966aaae6ae 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

--HG--
extra : moz-landing-system : lando
2018-11-12 14:57:49 +00:00
Ciure Andrei edcd1c640e Backed out changeset 25ccc02a44ff (bug 1504751) for high frequency browser_aboutURLs.js failures CLOSED TREE 2018-11-12 13:55:03 +02:00
Collin Wing 1d92fadf7d Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977

--HG--
extra : moz-landing-system : lando
2018-11-12 02:10:10 +00:00
shindli fbde86e1a5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-10 23:40:36 +02:00
Ted Mielczarek 54b3bbd1ce bug 1505205 - don't write telemetry for recursive mach command invocations. r=firefox-build-system-reviewers,chmanchester
This change tries to ensure that we don't write telemetry data for mach
commands invoked recursively as part of other mach commands. The intent of
build system telemetry is to only collect data about commands that users are
invoking directly.

There are two ways that we found mach commands can be recursively invoked:
* By running a python subprocess to recursively invoke mach (used in
  `mach bootstrap` to call `mach artifact toolchain`)
* By using `Registrar.dispatch` to delegate to a sub-command (used by many
  build system commands to invoke `mach build`).

The subprocess case is handled here by having mach set a `MACH_MAIN_PID`
environment variable whose value is the current process' pid on startup if it
does not already exist in the environment. Telemetry code then checks that the
value of that variable matches the current pid and skips writing telemetry data
if not.

The dispatch case is handled by making `MachRegistrar` store the current depth
of the command stack and pass it to the `post_dispatch_handler` which will skip
writing telemetry data if depth != 1.

Additionally the `should_skip_dispatch` function in mach_bootstrap is renamed
to `should_skip_telemetry_submission`, which was its original intent. The
combination of checks added in this change should be sufficient for deciding
when to write telemetry data, and we were not collecting telemetry for the set
of mach commands in that function (which included `mach bootstrap`).

In order to facilitate writing a test for the dispatch case this change adds a
`mach python --exec-file` option to execute Python code directly in the context
of the `mach python` command.

Differential Revision: https://phabricator.services.mozilla.com/D11207

--HG--
extra : moz-landing-system : lando
2018-11-10 19:04:30 +00:00
Ted Mielczarek e85df1cdc8 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

--HG--
extra : moz-landing-system : lando
2018-11-10 19:14:44 +00:00
Ted Mielczarek 0da497b124 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

--HG--
extra : moz-landing-system : lando
2018-11-10 19:04:06 +00:00
Ted Mielczarek 8e018fdef0 bug 1505325 - add a basic test for build telemetry. r=firefox-build-system-reviewers,chmanchester
This change adds python/mach/mach/test/test_telemetry.py which contains
a simple test that running mach with the build telemetry setting enabled
causes us to write a telemetry file. The test fixture in the file should
make it easy to write additional tests.

A necessary precursor to make the tests work was to change mach_bootstrap's
`should_skip_dispatch` function, which would refuse to write telemetry data
if stdout was not a terminal (which it isn't in the tests) and also in
automation. The latter test is moved to ensure that we don't *submit*
telemetry data from automation, but we can still write it to disk. Machines
in automation should never have the telemetry setting enabled outside of
these tests anyway, so this should not change anything in practice.

Differential Revision: https://phabricator.services.mozilla.com/D11172

--HG--
extra : moz-landing-system : lando
2018-11-10 19:04:05 +00:00
Cosmin Sabou 128b3dd055 Backed out changeset 4034fbcc0a55 (bug 1501802) for causing mass mochitest failures. 2018-11-10 15:21:03 +02:00
Bob Clary c728438f81 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
Nathan Froyd 9f42e70b61 Bug 1504031 - follow-up - require Rust 1.30.1 in bootstrap; r=me 2018-11-09 18:47:37 -05:00
Dan Gohman 4e44a47e11 Bug 1505777: [Cranelift] Update to Cranelift 0.23. r=bbouvier
--HG--
extra : rebase_source : 9200ae6f70dd796efd26e41745ee892a256d92b7
2018-11-09 05:15:49 -08:00