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

5842 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 8f84b09e44 Bug 1612115 - [mozlint] Fix an error in the path filtering logic, r=linter-reviewers,sylvestre CLOSED TREE
Essentially:

  FilterPath("docs").contains("docshell")

was returning True because "docshell" startswith "docs".

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

--HG--
extra : source : 10f69335c6f5779522b16c3376fc78147e4a3ce0
extra : histedit_source : 7577a814e2cdf6168cd88460c42e4472dfb8f734
2020-02-27 21:52:50 +00:00
shindli d56d4b53db Backed out 2 changesets (bug 1612115) for causing a mozlint failure in /builds/worker/checkouts/gecko/tools/lint/test/test_yaml.py CLOSED TREE
Backed out changeset 8b3bb998c3c2 (bug 1612115)
Backed out changeset 10f69335c6f5 (bug 1612115)
2020-02-28 00:07:04 +02:00
Andrew Halberstadt bec168857b Bug 1612115 - [mozlint] Fix an error in the path filtering logic, r=linter-reviewers,sylvestre
Essentially:

  FilterPath("docs").contains("docshell")

was returning True because "docshell" startswith "docs".

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

--HG--
extra : moz-landing-system : lando
2020-02-27 21:52:50 +00:00
Andreea Pavel 2b4d91ded6 Merge mozilla-central to autoland on a CLOSED TREE 2020-02-27 23:42:01 +02:00
Narcis Beleuzu aab6e5add6 Backed out changeset 99fed1b628cb (bug 1583999) as requested by Andi for braking static-analysis. a=backout 2020-02-27 19:10:03 +02:00
Mike Hommey d747b65211 Bug 1617794 - Wrap Windows tools with Wine on cross builds. r=dmajor
Windows programs run via Wine don't like Unix absolute paths (they look
like command line arguments), so we need to use relative paths.

Mingw already run fxc2 via wine, but for some reason it doesn't care
about the Unix absolute paths. genshaders does need some adjustements to
run properly with the real fxc.

Now, on actual Windows, because the temporary directory where
tempfile.NamedTemporaryFile creates files by default is not necessarily
on the same drive as where the command runs from, a relative path can't
be constructed. So we also force the temporary file to be created in the
current (obj) directory.

There is no similar concern for other files because we only go from
objdir to srcdir, and the build system already doesn't support both
being on a separate drive.

While here, flush stdout when the genshared script writes to it, so that
the messages are printed out immediately rather than randomly, later,
after output from subprocesses.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 04:42:57 +00:00
Ricky Stewart abb3559e00 Bug 1616302 - Pass in text_type to json.loads() rather than binary_type in bootstrap r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63251

--HG--
extra : moz-landing-system : lando
2020-02-26 00:06:27 +00:00
Chris Manchester b99c6dd1df Bug 1618316 - Update builders to rustc 1.41.1 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64636

--HG--
extra : moz-landing-system : lando
2020-02-27 19:47:45 +00:00
Ricky Stewart eab3f8b592 Bug 1617313 - Remaining tests in mozbuild/backend support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63908

--HG--
extra : moz-landing-system : lando
2020-02-27 16:22:18 +00:00
Ricky Stewart c29574ff5a Bug 1617303 - mozbuild/backend/recursivemake.py and /fastermake.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63880

--HG--
extra : moz-landing-system : lando
2020-02-27 16:22:21 +00:00
Ricky Stewart 5fa4fa6df1 Bug 1617014 - mozbuild/frontend/emitter.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63567

--HG--
extra : moz-landing-system : lando
2020-02-27 16:22:23 +00:00
Ricky Stewart 42b2820e92 Bug 1616989 - mozbuild/frontend/reader.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63566

--HG--
extra : moz-landing-system : lando
2020-02-27 16:22:26 +00:00
Ricky Stewart cda2226922 Bug 1616920 - mozbuild/frontend/sandbox.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63538

--HG--
extra : moz-landing-system : lando
2020-02-27 19:38:58 +00:00
Ricky Stewart 91f6d0e014 Bug 1616885 - mozbuild/frontend/context.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63520

--HG--
extra : moz-landing-system : lando
2020-02-27 16:22:16 +00:00
Mihai Alexandru Michis 6455032f2c Backed out 6 changesets (bug 1617303, bug 1617313, bug 1616885, bug 1616920, bug 1616989, bug 1617014) for causing gecko decision task bustages in talos/unittests/python.ini
CLOSED TREE

Backed out changeset 409619387576 (bug 1617313)
Backed out changeset 538f415043e2 (bug 1617303)
Backed out changeset 544cb78b8946 (bug 1617014)
Backed out changeset 0f0bf0824a95 (bug 1616989)
Backed out changeset ec9f0b18c0a7 (bug 1616920)
Backed out changeset a32c3300a011 (bug 1616885)
2020-02-27 18:16:31 +02:00
Ricky Stewart e4b69ea6b5 Bug 1617313 - Remaining tests in mozbuild/backend support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63908

--HG--
extra : moz-landing-system : lando
2020-02-27 00:25:03 +00:00
Ricky Stewart 63a331f88b Bug 1617303 - mozbuild/backend/recursivemake.py and /fastermake.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63880

--HG--
extra : moz-landing-system : lando
2020-02-27 00:23:18 +00:00
Ricky Stewart b4d26b2be6 Bug 1617014 - mozbuild/frontend/emitter.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63567

--HG--
extra : moz-landing-system : lando
2020-02-27 00:46:11 +00:00
Ricky Stewart 4b8061d7cf Bug 1616989 - mozbuild/frontend/reader.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63566

--HG--
extra : moz-landing-system : lando
2020-02-26 00:35:49 +00:00
Ricky Stewart 62664cd855 Bug 1616920 - mozbuild/frontend/sandbox.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63538

--HG--
extra : moz-landing-system : lando
2020-02-26 16:43:17 +00:00
Ricky Stewart b0dc933fe5 Bug 1616885 - mozbuild/frontend/context.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63520

--HG--
extra : moz-landing-system : lando
2020-02-26 00:41:07 +00:00
Mohammad H Sekhavat ca91501545 Bug 1617984 - Fix mach bootstrap failure on Archlinux when PKGDEST is set; r=firefox-build-system-reviewers,rstewart
Makepkg has a commented config in /etc/makepkg.conf to set the path for packages to be built:
```
#PKGDEST=/home/packages
```
When you uncommit this line, packages will be built in the specified path, instead of cwd. This causes the bootstrap script to fail.

This commit will override the PKGDEST config so that package is built in cwd and could be located by the following lines of script.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 16:33:24 +00:00
Andi-Bogdan Postelnicu 7120bcdd99 Bug 1583999 - Use non-unified sources in CompileDB. r=jwatt
Originally authored in part by Botond Ballo <botond@mozilla.com>.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 15:08:49 +00:00
Brindusan Cristian 298fec1282 Backed out changeset e343d3722e84 (bug 1583999) as requested by Andi on slack for landing with the wrong author name. CLOSED TREE 2020-02-26 17:05:12 +02:00
Botond Ballo d670a75ef4 Bug 1583999 - Use non-unified sources in CompileDB. r=jwatt
Originally authored by Botond Ballo <botond@mozilla.com>.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 13:27:37 +00:00
Mike Hommey 356b8e5725 Bug 1617801 - Add UPX as an explicit dependency. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64008

--HG--
extra : moz-landing-system : lando
2020-02-26 04:00:01 +00:00
Noemi Erli 62198d5223 Backed out changeset 2d2e184a0ae9 (bug 1617801) for causing Windows bustages CLOSED TREE 2020-02-26 05:10:40 +02:00
Mike Hommey 117ea52648 Bug 1617801 - Add UPX as an explicit dependency. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64008

--HG--
extra : moz-landing-system : lando
2020-02-25 14:13:27 +00:00
Dorel Luca 94b3e8222d Backed out changeset b576251c3862 for tooltool related failures. CLOSED TREE 2020-02-25 00:10:00 +02:00
Ben Hearsum 8ab729edc1 No bug: Import latest tooltool client. r=jgraham,rail
Differential Revision: https://phabricator.services.mozilla.com/D63870

--HG--
extra : moz-landing-system : lando
2020-02-24 19:35:30 +00:00
Jonathan Watt d0eeb047d5 Bug 1617389. When generating compile_commands.json, insert -ferror-limit before the file name. r=botond
This makes it easier to see the name of the file in the "command" field.

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

--HG--
extra : moz-landing-system : lando
2020-02-22 21:35:10 +00:00
Nathan Froyd 284f79cb5f Bug 1617172 - copy extra libraries for Mac artifact builds; r=nalexander
The motivating change here was wpt-sync try pushes failing because
`libgraphitewasm.dylib` wasn't getting packaged in Mac artifact builds.
We add `libosclientcerts.dylib` because packaging was complaining about
that library as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 21:34:58 +00:00
Emilio Cobos Álvarez 0181023bd5 Bug 1617095 - Fix mach bootstrap interactive mode with python 3. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63661

--HG--
extra : moz-landing-system : lando
2020-02-21 14:19:44 +00:00
Mike Shal 6046e59875 Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:05:04 +00:00
Csoregi Natalia 6360b24e80 Backed out 2 changesets (bug 1616630) for Android bustage. CLOSED TREE
Backed out changeset 15016546c954 (bug 1616630)
Backed out changeset dcb7dc51633b (bug 1616630)
2020-02-20 21:24:11 +02:00
Steve Fink e2dda15912 Bug 1614518 - Followup fix to undo unneeded part of change that breaks tests
Differential Revision: https://phabricator.services.mozilla.com/D63533

--HG--
extra : moz-landing-system : lando
2020-02-20 19:10:07 +00:00
Steve Fink e38809458a Bug 1614518 - Refactor method scanning when gathering commands r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62682

--HG--
extra : moz-landing-system : lando
2020-02-20 18:31:06 +00:00
Steve Fink f30d0d3f35 Bug 1614518 - Allow using declaration order for listing subcommands in help output, and allow commands to be hidden. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62385

--HG--
extra : moz-landing-system : lando
2020-02-20 18:28:26 +00:00
Steve Fink 6c335b53f8 Bug 1614518 - Implement `mach hazards` command set for running the GC rooting hazard analysis. r=ahal,jonco,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62384

--HG--
extra : moz-landing-system : lando
2020-02-20 18:27:50 +00:00
Steve Fink fb0884a86b Bug 1614518 - Make warnings.py py3-compatible r=ahal,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62382

--HG--
extra : moz-landing-system : lando
2020-02-20 18:33:10 +00:00
Steve Fink 68147f294f Bug 1614518 - Allow using internal name for selecting application to bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D62379

--HG--
extra : moz-landing-system : lando
2020-02-20 18:33:10 +00:00
Steve Fink 46dbe458f2 Bug 1614518 - Remove code only present for python 2.6 compatibility. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62378

--HG--
extra : moz-landing-system : lando
2020-02-11 17:16:45 +00:00
Mike Shal a9c693112c Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:22:38 +00:00
Lifan Zeng lifanfzeng 425e2db10a Bug 1608199 - Port devtools/client/styleeditor.dtd to Fluent, r=fluent-reviewers,flod,Gijs,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D59607

--HG--
extra : moz-landing-system : lando
2020-02-20 14:36:15 +00:00
Bastien Abadie 8a92639faf Bug 1609116 - Activate warnings for rustfmt on code review mode, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D59859

--HG--
extra : moz-landing-system : lando
2020-01-17 08:05:40 +00:00
Ricky Stewart 8528d9c4dd Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-19 21:50:50 +00:00
byron jones 095ba09dda Bug 1495394 - add `mach install-moz-phab` command; r=firefox-build-system-reviewers,chmanchester
Install moz-phab using the correct command for the current operating system as
per moz-phab's documentation.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 05:28:32 +00:00
Chris Manchester 80a9aac47f Bug 1616396 - Install rustc 1.41.0 in bootstrap r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D63258

--HG--
extra : moz-landing-system : lando
2020-02-18 22:00:34 +00:00
Mike Shal d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Zibi Braniecki 8cf0edd469 Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-18 20:07:46 +00:00
Francesco Lodolo (:flod) 915b1c4d21 Bug 1616172 - Remove encoding when printing diff in Fluent migration tests r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D63128

--HG--
extra : moz-landing-system : lando
2020-02-18 10:00:30 +00:00
shindli 419596f741 Backed out changeset e5c72e92c4dc (bug 1613801) for causing bc permafailures in browser_privatebrowsing_windowtitle.js CLOSED TREE 2020-02-18 03:07:08 +02:00
Zibi Braniecki 53ffd7288a Bug 1613801 - Don't include brand name in the window title on Mac. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62391

--HG--
extra : moz-landing-system : lando
2020-02-17 14:39:00 +00:00
Nathan Froyd 017d4d5cdf Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:40:13 +00:00
Axel Hecht d2b5def99f Bug 1615873, remaining str-byte differences in fluent migration tests, r=flod
This fixes str-vs-bytes in code paths that are only executed
with unapplied migrations, where we validate some parts of the
generated commits.

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

--HG--
extra : moz-landing-system : lando
2020-02-17 10:21:14 +00:00
Dan Mosedale 86c563adcd Bug 1547823 - Upgrade NodeJS from 8.x to 10.19.0 r=froydnj
NodeJS 8.x is End-of-Lifed and is no longer receiving security fixes.  10.19.0 is now the oldest Long Term Support version of NodeJS, and it has just been released with several HTTP security fixes.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 15:28:40 +00:00
Henrik Skupin 255a87c4a6 Bug 1573383 - [marionette] Remove firefox-puppeteer Python package. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61687

--HG--
extra : moz-landing-system : lando
2020-02-13 19:50:42 +00:00
Cosmin Sabou ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Coroiu Cristina 9526bf7b4d Backed out 3 changesets (bug 1610149) for instr bustage on a CLOSED TREE
Backed out changeset b815d0a94385 (bug 1610149)
Backed out changeset dfca4a56fa51 (bug 1610149)
Backed out changeset 0568028bb4dd (bug 1610149)
2020-02-14 01:14:05 +02:00
Nathan Froyd 1457e227c7 Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:17:49 +00:00
Brindusan Cristian e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Ricky Stewart 728d4108db Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-13 17:27:53 +00:00
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Julian c23b87e26d Bug 1608215 - port pippki DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D59635

--HG--
extra : moz-landing-system : lando
2020-02-13 15:27:17 +00:00
shindli b1e3726298 Backed out changeset 54f82c735487 (bug 1613263) for causing diff artifact bustages in generated-files.diff.txt CLOSED TREE 2020-02-13 03:51:15 +02:00
Ricky Stewart 3314dda593 Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-12 23:19:37 +00:00
Daniel Varga 8450e6f6d2 Backed out changeset 53f51116fad1 (bug 1608215) for causing browser chrome failure at security/manager/ssl/tests/mochitest/browser/browser_clientAuth_ui.js
CLOSED TREE
2020-02-12 14:56:35 +02:00
Julian 0eca4a9694 Bug 1608215 - port pippki DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D59635

--HG--
extra : moz-landing-system : lando
2020-02-12 11:03:10 +00:00
Chris Manchester 90b8c7c6b2 Bug 1613823 - Serialize cargo invocations in the build system, prioritizing gecko. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61961

--HG--
extra : moz-landing-system : lando
2020-02-11 21:51:56 +00:00
Chris Manchester 17ba38bfc0 Bug 1613823 - Add a pairwise function based on itertools to mozbuild.util. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D62070

--HG--
extra : moz-landing-system : lando
2020-02-11 21:51:48 +00:00
Masatoshi Kimura 948598bdd4 Bug 1614146 - Stop using byte literals in _hg_cleanenv. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D62398

--HG--
extra : moz-landing-system : lando
2020-02-11 04:47:54 +00:00
Chris Manchester 8fc946b2f6 Bug 1613226 - Remove obsolete python@2 from homebrew installation on macOS. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D62286

--HG--
extra : moz-landing-system : lando
2020-02-10 16:30:52 +00:00
Chris Manchester 5f7c85a15a Bug 1609595 - Add a way to request less parallelism in the build. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62103

--HG--
extra : moz-landing-system : lando
2020-02-10 16:16:57 +00:00
Artem a4ec029bee Bug 1608167 - port setDesktopBackground DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D60313

--HG--
extra : moz-landing-system : lando
2020-02-07 12:27:21 +00:00
Ricky Stewart d259591a1c Bug 1569059 - Run 'mach bootstrap' with Python 3 r=firefox-build-system-reviewers,mshal,Callek
Differential Revision: https://phabricator.services.mozilla.com/D60898

--HG--
extra : moz-landing-system : lando
2020-02-07 18:12:23 +00:00
Zibi Braniecki b36c4e44b6 Bug 1612723 - Move reader mode l10n to use keycode. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D61484

--HG--
extra : moz-landing-system : lando
2020-02-07 00:35:32 +00:00
Bogdan Tara 520b2f5d66 Backed out changeset 6495336fced4 (bug 1612723) for assertion failure on ErrorResult.h CLOSED TREE 2020-02-07 01:55:10 +02:00
Zibi Braniecki c3fbf0c029 Bug 1612723 - Move reader mode l10n to use keycode. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D61484

--HG--
extra : moz-landing-system : lando
2020-02-06 23:09:03 +00:00
Ricky Stewart 7aeb78e3fe Bug 1604667 - Handle case where relativesrcdir doesn't exist on Windows r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D59355

--HG--
extra : moz-landing-system : lando
2020-02-05 00:06:17 +00:00
Jan Sonntag ea6b9ad701 Bug 1601684 - use distro package to provide platform information r=firefox-build-system-reviewers,mshal
This patch works around the removal of the platform.linux_distribution() function in Python 3.8 and later. It uses the in-tree third party distro package to provide linux distribution information to build system bootstrap.

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

--HG--
extra : moz-landing-system : lando
2020-02-05 11:56:28 +00:00
Emilio Cobos Álvarez 00cd8ba131 Bug 1612856 - Make ./mach cargo check accept -v and -j flags. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61468

--HG--
extra : moz-landing-system : lando
2020-02-03 15:21:16 +00:00
Jonathan Watt 70e2feaa5a Bug 1612657. Make clangd process to the end of files regardless of number of errors. r=botond
This change adds `-ferror-limit=0` to the "command" lines in the
compile_commands.json file that's built by mach.

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

--HG--
extra : moz-landing-system : lando
2020-02-02 16:49:14 +00:00
Daniel Varga 65dc08165d Merge autoland to mozilla-central. a=merge 2020-01-31 05:56:02 +02:00
Daniel Varga 3d8a78a06f Backed out changeset 6851f568b173 (bug 1611006) for causing nightly bustages a=backout 2020-01-31 03:30:45 +02:00
Zibi Braniecki f3db980355 Bug 1608022 - Migrate browser-sets to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D60068

--HG--
extra : moz-landing-system : lando
2020-01-30 21:07:20 +00:00
Zibi Braniecki 55d15562fd Bug 1608022 - Migrate the bookmark this page and edit bookmark strings to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D59387

--HG--
extra : moz-landing-system : lando
2020-01-30 21:07:08 +00:00
Ciure Andrei 7ae304fe1e Backed out 3 changesets (bug 1608022) for causing browser_findbar.js to perma fail CLOSED TREE
Backed out changeset b7097a9f6a16 (bug 1608022)
Backed out changeset 853e5ec59184 (bug 1608022)
Backed out changeset d538041cc083 (bug 1608022)
2020-01-30 18:03:31 +02:00
Zibi Braniecki 3a53fffe60 Bug 1608022 - Migrate browser-sets to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D60068

--HG--
extra : moz-landing-system : lando
2020-01-30 12:46:39 +00:00
Zibi Braniecki 2b5ea4172f Bug 1608022 - Migrate the bookmark this page and edit bookmark strings to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D59387

--HG--
extra : moz-landing-system : lando
2020-01-30 13:45:32 +00:00
Ricky Stewart a7d4a3dca0 Bug 1611465 - Remove references to cmp() function and __cmp__ method in mozbuild r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60995

--HG--
extra : moz-landing-system : lando
2020-01-30 13:15:24 +00:00
Ricky Stewart ffbd93e65a Bug 1611002 - configure/test_toolkit_moz_configure.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60777

--HG--
extra : moz-landing-system : lando
2020-01-30 10:34:51 +00:00
Mike Shal 3fe87081bf Bug 1611006 - Convert python/mozbuild/mozbuild/test/action to python3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D60769

--HG--
extra : moz-landing-system : lando
2020-01-30 09:52:25 +00:00
Edwin Takahashi 220a3bd606 Bug 1611340 - run mach doctor with python3 r=Callek
Changes:

Build string using the `format()` instead of `%` and relocate the `expandtabs` call to not trigger a AttributeError exception.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 03:05:42 +00:00
Edwin Takahashi 9a71b61495 Bug 1611352 - mozbuild/artifact_commands.py, and mozbuild/artifacts.py support Python 3 r=rstewart,firefox-build-system-reviewers
Changes:

Use compatibility layer provided by six for `iteritems` and `itervalues`.

Make `urlparse` import compatible with both 2/3.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 22:31:38 +00:00
Ricky Stewart 976f106d78 Bug 1607204 - Fix invalid command line in compile_commands.json r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59219

--HG--
extra : moz-landing-system : lando
2020-01-24 21:06:15 +00:00
Ricky Stewart 232331fdb4 Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D60743

--HG--
extra : source : f5b4973be6dac983ff87add5d198f959de2cec78
extra : amend_source : 30b53ec7c0a22138d43d9c7e85c6e43c9dea84b1
2020-01-23 17:15:38 +00:00
Csoregi Natalia 17c7439f37 Backed out changeset 5ed03cb85dcf (bug 1611006) for nightly bustages. a=backout 2020-01-24 14:02:37 +02:00
Csoregi Natalia c12e02a6be Backed out changeset f5b4973be6da (bug 1610944) for nightly bustages. a=backout 2020-01-24 13:40:32 +02:00
Mike Shal 44fdc88d8f Bug 1611006 - Convert python/mozbuild/mozbuild/test/action to python3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D60769

--HG--
extra : moz-landing-system : lando
2020-01-23 23:10:21 +00:00
Ricky Stewart e82e92605b Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60743

--HG--
extra : moz-landing-system : lando
2020-01-23 17:15:38 +00:00
Andrew Halberstadt e9029a6b3a Bug 1608535 - [mozlint] Add an option to specify the number of processes to spawn, r=Standard8
This is a ride-along commit that would have made debugging the problem solved
by this bug easier.

Depends on D60688

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

--HG--
extra : moz-landing-system : lando
2020-01-23 13:31:44 +00:00
Cosmin Sabou 7b76379364 Backed out changeset 7c2048122a9f (bug 1610944) for causing L10n bustages. 2020-01-23 07:21:28 +02:00
Ricky Stewart 3003ade6dd Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60743

--HG--
extra : moz-landing-system : lando
2020-01-22 23:46:36 +00:00
Mike Hommey db1eb4c613 Bug 1610680 - Update rustup to 1.21.1. r=dmajor
1.9.0 is outdated, and the changes from bug 1609832 actually require 1.20.0.
1.21.1 is the latest current release.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:28:37 +00:00
Mike Hommey b0dcd87476 Bug 1610680 - Fix running mozboot.rust independently on Windows. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D60629

--HG--
extra : moz-landing-system : lando
2020-01-22 13:24:53 +00:00
Mike Hommey ac43fa53ab Bug 1610680 - Fix running mozboot.rust independently after bug 1210157. r=dmajor
Bug 1210157 added `unicode_literals` to the script but one use of
literals needed to stay a bytes string.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 13:24:41 +00:00
Ricky Stewart a4e1b13e8a Bug 1609281 - Use the correct encoding when dumping the environment variables in mozconfig r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60026

--HG--
extra : moz-landing-system : lando
2020-01-22 14:34:47 +00:00
Chris Manchester b2e7950b8e Bug 1610728 - Fix tooltip positioning for html build resource viewer. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D60626

--HG--
extra : moz-landing-system : lando
2020-01-22 13:30:42 +00:00
Andi-Bogdan Postelnicu e871eaa405 Bug 1605850 - for `static-analysis autotest` don't allow running `--intree-tool` outside of automation. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D60646

--HG--
extra : moz-landing-system : lando
2020-01-22 10:18:06 +00:00
Ricky Stewart 27d06e3d50 Bug 1608880 - mozbuild/test/configure/test_compile_checks.py and mozbuild/test/configure/test_moz_configure.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D59757

--HG--
extra : moz-landing-system : lando
2020-01-21 23:51:28 +00:00
Ricky Stewart 0fa8a98bdb Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-21 17:12:08 +00:00
shindli 68d14ea795 Backed out changeset 25964226853a (bug 1607204) for causing bug 1610471 which crashes the reviewbot a=backout CLOSED TREE 2020-01-21 15:40:45 +02:00
Mike Hommey 62778417a2 Bug 1609862 - Display more detailed memory info in resource usage report. r=froydnj
Instead of showing percentages, show actual numbers for memory usage,
with caveats:
- On macOS, psutil doesn't seem to be getting anything that would sum up
to the total it reports, so we keep the "percent".
- While the sum of all the fields shown on Linux does sum up to the total,
the visible usage doesn't quite match what the "percent" look like for
the same dataset.
- On Windows, only "used" and "free" are available. They do sum up to
the total.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 13:25:23 +00:00
Mike Hommey 7bc320e0e3 Bug 1609832 - Install rustfmt when running mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60213

--HG--
extra : moz-landing-system : lando
2020-01-17 14:45:12 +00:00
Gijs Kruitbosch c84869e219 Bug 1608923 - use fluent for PiP button accessible labels, r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D60200

--HG--
extra : moz-landing-system : lando
2020-01-20 19:29:57 +00:00
Andrew Halberstadt 0f4437d7d5 Bug 1608783 - [mozlint] Fix bug in 'collapse' when two paths are a prefix of one another, r=Standard8
This was happening because we had two exclude paths that were run through the 'collapse' algorithm:
editor/libeditor/tests/browserscope/lib/richtext
editor/libeditor/tests/browserscope/lib/richtext2

The problem was that in order to determine the base directory, the algorithm called
'os.path.commonprefix'. This function just returns the common string prefix, which
is the '.../lib/richtext' path. Even though in the above, the base *should* have
been '.../lib'.

To fix the problem, we add a check to ensure the computed base doesn't have any
sibling directories with the same prefix. If there are, it means 'commonprefix' was
too greedy.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 16:18:59 +00:00
Zibi Braniecki 79a10c61a3 Bug 1605467 - Migrate text action keys to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D59272

--HG--
extra : moz-landing-system : lando
2020-01-17 11:43:39 +00:00
Narcis Beleuzu d97f243585 Backed out changeset a2f061d89feb (bug 1605467) for causing Bug 1609898. 2020-01-17 13:23:33 +02:00
Mike Hommey 6e478e8f7f Bug 1609596 - Add a grid to graphs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60112

--HG--
extra : moz-landing-system : lando
2020-01-16 14:37:19 +00:00
Mike Hommey ea6a3db241 Bug 1609596 - Add a memory graph to resource usage report. r=froydnj
The original code had unfinished code to switch between different
categories, but I found it more useful to be able to see both CPU and
memory at the same time.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 02:20:18 +00:00
Mike Hommey 1dd6f3a6d1 Bug 1609596 - Move the tiers timeline to a separate div. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60110

--HG--
extra : moz-landing-system : lando
2020-01-16 14:35:15 +00:00
Mike Hommey b9802b7509 Bug 1588538 - Add missing file.
Differential Revision: https://phabricator.services.mozilla.com/D60196

--HG--
extra : moz-landing-system : lando
2020-01-17 00:23:11 +00:00
Mike Shal 32d48b4e47 Bug 1604621 - Remove HAS_MISC_RULE; r=firefox-build-system-reviewers,chmanchester
Two of these no longer have any misc:: rules associated with them, and
can be removed outright.

The remaining misc:: rule in toolkit/components/telemetry is already
traversed because it contains EXTRA_COMPONENTS, which are processed
during misc in the RecursiveMake backend. So we can remove HAS_MISC_RULE
entirely even though we still have a custom misc rule to process addons
(until bug 988938 is fixed).

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

--HG--
extra : moz-landing-system : lando
2020-01-16 20:27:09 +00:00
Ricky Stewart d8ec07b648 Bug 1607204 - Invalid command line in compile_commands.json r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59219

--HG--
extra : moz-landing-system : lando
2020-01-16 14:59:28 +00:00
Gabriele Svelto 96a70684f4 Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-16 14:14:13 +00:00
Shane Caraveo 8351044ded Bug 1524327 remove MOZ_ALLOW_LEGACY_EXTENSIONS and extensions.legacy.enabled r=zombie,aswan
Legacy extensions are no longer loaded, so we can drop the build config for it.  We
still need flags for handling experimental APIs since what we require differs between builds
and distributions.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 21:38:40 +00:00
Harry Twyford 8ad4e1813a Bug 1606909 - Port Tips from the experiment behind a pref. r=adw,fluent-reviewers,flod
Top Sites must be disabled for this to work correctly. This is because we haven't defined the behaviour for when two restricting providers are active. Bug 1607797 must be resolved before this is preffed on.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 16:28:46 +00:00
Zibi Braniecki 723beff370 Bug 1605467 - Migrate text action keys to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D59272

--HG--
extra : moz-landing-system : lando
2020-01-15 11:44:14 +00:00
Axel Hecht c32c2767c5 Bug 1607470, unset __PYVENV_LAUNCHER__ for virtualenvs, r=firefox-build-system-reviewers,rstewart
The __PYVENV_LAUNCHER__ is set on macos to indicate which
python to use. Sadly, keeping this set confuses pip in
virtualenvs.
This corresponds to https://github.com/python/cpython/pull/9516.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 23:06:54 +00:00
Masatoshi Kimura b5dabfcd52 Bug 1608091 - Stop creating unicode environ in gyp_reader.py. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D59325

--HG--
extra : moz-landing-system : lando
2020-01-14 15:49:09 +00:00
Csoregi Natalia 57eb78c63c Backed out changeset 5d0b75e5f795 (bug 1588538) for DUMP_SYMS bustage. CLOSED TREE 2020-01-14 13:53:54 +02:00
Gabriele Svelto e62e144c3c Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-14 10:08:52 +00:00
Nathan Froyd f719f6af1e Bug 1608753 - download the correct lucet package in bootstrap; r=emilio
We renamed the toolchain task in bug 1608428 and we forgot to update
bootstrap along with the renaming.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:07:21 +00:00
Ricky Stewart 39e4717ac8 Bug 1607512 - mozbuild/test/configure/test_checks_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58970

--HG--
extra : moz-landing-system : lando
2020-01-10 21:05:03 +00:00
Ricky Stewart e8aaf28d20 Bug 1607503 - mozbuild/test/configure/test_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58969

--HG--
extra : moz-landing-system : lando
2020-01-10 21:04:14 +00:00
Ricky Stewart 6c9da3c6a2 Bug 1607345 - mozbuild/configure/options.py supports Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58867

--HG--
extra : moz-landing-system : lando
2020-01-10 21:04:16 +00:00
Ricky Stewart 6a7f736bdb Bug 1607284 - mozbuild/configure/util.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58834

--HG--
extra : moz-landing-system : lando
2020-01-10 22:09:56 +00:00
Andrew Halberstadt 2fd209f77e Bug 1563797 - Use 'backports.shutil_which' instead of 'which' in configure r=glandium
This gets rid of the last use of the 'which' module left in the tree. So not
only will this help 'configure' become a little more Python 3 compatible, but
we can now remove 'third_party/python/which'.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 21:04:10 +00:00
Coroiu Cristina c9e1368a0f Backed out 5 changesets (bug 1607345, bug 1607284, bug 1607512, bug 1563797, bug 1607503) for flake8 failure at python/mozbuild/mozbuild/configure/__init__.py on a CLOSED TREE
Backed out changeset 8dab339bab78 (bug 1607512)
Backed out changeset 1c5880c1c459 (bug 1607503)
Backed out changeset 42a69c5056b0 (bug 1607345)
Backed out changeset 431cb34ec6b0 (bug 1607284)
Backed out changeset 9837631a9c71 (bug 1563797)
2020-01-10 22:59:13 +02:00
Ricky Stewart 54449c6d0e Bug 1607512 - mozbuild/test/configure/test_checks_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58970

--HG--
extra : moz-landing-system : lando
2020-01-08 16:14:03 +00:00
Ricky Stewart 658b39b268 Bug 1607503 - mozbuild/test/configure/test_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58969

--HG--
extra : moz-landing-system : lando
2020-01-08 15:51:18 +00:00
Ricky Stewart 0e8cc6812c Bug 1607345 - mozbuild/configure/options.py supports Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58867

--HG--
extra : moz-landing-system : lando
2020-01-07 18:30:34 +00:00
Ricky Stewart 39953e00e6 Bug 1607284 - mozbuild/configure/util.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58834

--HG--
extra : moz-landing-system : lando
2020-01-08 16:17:58 +00:00
Andrew Halberstadt ab88ef1f24 Bug 1563797 - Use 'backports.shutil_which' instead of 'which' in configure r=glandium
This gets rid of the last use of the 'which' module left in the tree. So not
only will this help 'configure' become a little more Python 3 compatible, but
we can now remove 'third_party/python/which'.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 07:09:06 +00:00
Zibi Braniecki 1f2ca5b410 Bug 1605217 - Migrate Identity Panel to Fluent. r=fluent-reviewers,nhnt11,flod
Differential Revision: https://phabricator.services.mozilla.com/D57878

--HG--
extra : moz-landing-system : lando
2020-01-10 02:16:09 +00:00
Matt Singleton 112f0af384 Bug 1606955 - open hgrc in text mode for py 2 and 3 compatability. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D59268

--HG--
extra : moz-landing-system : lando
2020-01-09 16:29:42 +00:00
James Graham 570546a190 Bug 1608108 - Don't prompt for VCS when running bootstrap in an existing checkout, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59330

--HG--
extra : moz-landing-system : lando
2020-01-09 14:24:35 +00:00
Andi-Bogdan Postelnicu b85bad52aa Bug 1605879 - for `clang-tidy` based static-analysis pass the files for analysis in chuncks. r=sylvestre
Since we have a limit of the number of arguments length that the shell can support we have to
pass the files for the analysis to `run-clang-tidy.py` in chuncks, calculated in proportion
to the number or logical cpu cores.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 10:28:20 +00:00
Francesco Lodolo (:flod) 4985cc9716 Bug 1608032 - Remove Fluent migration recipes for Firefox 72 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D59279

--HG--
extra : moz-landing-system : lando
2020-01-09 09:32:53 +00:00
Brian Grinstead cb3b705aa9 Bug 1592043 - Part 3 - Automated ftl conversion for toolbox.dtd strings in toolbox-options.xhtml r=fluent-reviewers,jdescottes,flod
Generated with https://github.com/zbraniecki/convert_xul_to_fluent and:

> python3 convert.py --bug_id 1592043 --description "Migrate toolbox options strings from DTD to FTL" --mc ~/Code/mozilla-central --dom devtools/client/framework/toolbox-options.xhtml --dtd devtools/client/locales/en-US/toolbox.dtd --ftl devtools/client/locales/en-US/toolbox-options.ftl

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

--HG--
extra : moz-landing-system : lando
2020-01-08 21:51:30 +00:00
Ricky Stewart fe95d91222 Bug 1606124 - mozbuild/util.py supports Python 3 r=mars
Many of the utility classes very heavily rely on multiple inheritance which is broadly unncessary and made debugging difficult, so I ripped it out wherever it was necessary. The indented_repr() function is also more or less a re-implementation of pprint, so to support Python 3 I've instead made it a small wrapper around pprint. (This results in the output of the function being slightly different than we're used to, as pprint does sorting/indentation/line breaking differently than indented_repr() currently does, but it'll be nice to not have to maintain this code that is slightly different than pprint for no real reason.)

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

--HG--
extra : moz-landing-system : lando
2020-01-08 16:08:15 +00:00
James Graham a872a7415b Bug 1606825 - Prompt which VCS to use for gecko clone, r=firefox-build-system-reviewers,rstewart
Make the choice of VCS work via an interactive prompt rather than by
command line argument, just like we do for all other choices.

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

--HG--
extra : moz-landing-system : lando
2020-01-03 17:37:03 +00:00
Ricky Stewart bc8b6c3f8d Bug 1606692 - Scripts in python/mozbuild/mozbuild/controller support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58546

--HG--
extra : moz-landing-system : lando
2020-01-02 19:14:29 +00:00
Ricky Stewart 7d68d2a54a Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57908

--HG--
extra : moz-landing-system : lando
2020-01-02 17:27:48 +00:00
James Graham 512caca24e Bug 1605381 - Schedule wpt crashtests in CI, r=ahal
This is a new test type identified by --test-type=crashtest

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

--HG--
extra : moz-landing-system : lando
2020-01-02 17:13:54 +00:00
Ricky Stewart 1a6323e3aa Bug 1606504 - mozbuild/artifact_cache.py and mozbuild/dotproperties.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58471

--HG--
extra : moz-landing-system : lando
2020-01-02 16:38:25 +00:00
Ricky Stewart 6d2c8f49cf Bug 1606490 - /mozbuild/test/test_containers.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58462

--HG--
extra : moz-landing-system : lando
2020-01-02 16:38:25 +00:00
Ricky Stewart 3527413fa7 Bug 1606462 - mozbuild/jar.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58446

--HG--
extra : moz-landing-system : lando
2020-01-01 00:16:01 +00:00
Sylvestre Ledru 298a3a26a6 Bug 1605852 - Run clang-tidy with C++17 support r=andi
Differential Revision: https://phabricator.services.mozilla.com/D58190

--HG--
extra : moz-landing-system : lando
2020-01-02 13:56:31 +00:00
Bogdan Tara 34fdeae60f Merge autoland to mozilla-central. a=merge 2020-01-01 23:47:55 +02:00
Sylvestre Ledru 1c2732b6aa Bug 1606541 - Fix a too agressive replace r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58490

--HG--
extra : moz-landing-system : lando
2020-01-01 19:06:14 +00:00
Sylvestre Ledru b6a14cf6c2 Bug 1606541 - Add "error:" in case of error to facilitate the search and be more consistent r=andi
Differential Revision: https://phabricator.services.mozilla.com/D58484

--HG--
extra : moz-landing-system : lando
2020-01-01 14:57:50 +00:00
Ciure Andrei b23acd28e8 Backed out changeset fe3a47b458ad (bug 1605264) for causing build bustages on central a=backout 2020-01-01 13:00:37 +02:00
Ricky Stewart 13365ed474 Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57908

--HG--
extra : moz-landing-system : lando
2019-12-31 21:19:33 +00:00
Mihai Alexandru Michis cf4c87e366 Backed out changeset 2e68d872fa50 (bug 1605264) for causing bustages in mozapps/installer/packager.mk
CLOSED TREE
2019-12-31 21:54:25 +02:00
Ricky Stewart 024cc29999 Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57908

--HG--
extra : moz-landing-system : lando
2019-12-31 19:00:03 +00:00
Ricky Stewart 7c9506eeb4 Bug 1606340 - mozbuild/test/test_line_endings.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58394

--HG--
extra : moz-landing-system : lando
2019-12-31 15:34:57 +00:00
Ricky Stewart 381aaed084 Bug 1606336 - mozbuild/mozinfo.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58381

--HG--
extra : moz-landing-system : lando
2019-12-30 22:50:19 +00:00
Ricky Stewart f82289148a Bug 1606160 - mozbuild/base.py and mozbuild/mozconfig.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58323

--HG--
extra : moz-landing-system : lando
2019-12-31 15:30:10 +00:00
Geoff Lankow c16253f7e0 Bug 1605030 - Remove mozmill infrastructure from the tree r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58105

--HG--
extra : moz-landing-system : lando
2019-12-31 09:09:26 +00:00
Ricky Stewart c84ceb4edf Bug 1606008 - mach build-backend takes a long time to recursively list all files called "config.status" r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D58314

--HG--
extra : moz-landing-system : lando
2019-12-30 18:38:46 +00:00
Zibi Braniecki 3b0c2d1abd Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713

--HG--
extra : moz-landing-system : lando
2019-12-25 10:01:46 +00:00
Ciure Andrei c79fc6e32a Backed out changeset 0267e42c0db5 (bug 1604960) for causing bc permafails 2019-12-25 05:15:16 +02:00
Zibi Braniecki ebad9a1dbf Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713

--HG--
extra : moz-landing-system : lando
2019-12-24 20:43:17 +00:00
Nathan Froyd 2408890a7d Bug 1605537 - remove coverage and warning flags from wasm flags; r=firefox-build-system-reviewers,rstewart
Warning flags might have been generated for a different compiler, so we
can't use them here.  The same argument applies to coverage flags.

Depends on D58070

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

--HG--
extra : moz-landing-system : lando
2019-12-23 16:49:14 +00:00
Nathan Froyd 6005490cac Bug 1605537 - override optimization settings for wasm compilation; r=firefox-build-system-reviewers,rstewart
The optimization flags that may have been chosen for our target compiler
are not necessarily appropriate for our wasm compiler.

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

--HG--
extra : moz-landing-system : lando
2019-12-23 16:49:32 +00:00
Andrew Halberstadt b9e9d2e942 Bug 1603844 - Remove ability to 'install-to-subdir' from test objects, r=firefox-build-system-reviewers,rstewart
There was only a single use of 'install-to-subdir' in all our manifests (which
was removed in the previous commit). All the comments around it suggest that it
was a giant hack. Removing it cleans up a lot of complexity and saves me the
trouble of needing to support it in the new sourcedir based TestResolver.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 16:48:00 +00:00
Mike Shal 97bd574229 Bug 1601777 - Check if any build backend is out of date; r=froydnj
By default we create both the RecursiveMake and FasterMake backends, but
building.py is only checking if the RecursiveMake backend is out of date
to decide if the backend needs to be updated. Since the FasterMake
backend may have different input files, we also need to check if that's
out of date, otherwise renaming certain files can cause './mach build
faster' to break.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 17:49:26 +00:00
Jonathan Watt 7c7fe33b1d Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal
This undoes the mistaken move of this directory into third_party that happened
as part of bug 1346025.

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

--HG--
rename : third_party/python/lldbutils/README.txt => python/lldbutils/README.txt
rename : third_party/python/lldbutils/lldbutils/__init__.py => python/lldbutils/lldbutils/__init__.py
rename : third_party/python/lldbutils/lldbutils/content.py => python/lldbutils/lldbutils/content.py
rename : third_party/python/lldbutils/lldbutils/general.py => python/lldbutils/lldbutils/general.py
rename : third_party/python/lldbutils/lldbutils/gfx.py => python/lldbutils/lldbutils/gfx.py
rename : third_party/python/lldbutils/lldbutils/layout.py => python/lldbutils/lldbutils/layout.py
rename : third_party/python/lldbutils/lldbutils/utils.py => python/lldbutils/lldbutils/utils.py
extra : moz-landing-system : lando
2019-12-20 17:10:12 +00:00
Nathan Froyd 6476df37aa Bug 1605215 - apply shared library naming conventions to wasm sandboxed libraries; r=firefox-build-system-reviewers,rstewart
Because that's what they really are under the hood.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 22:20:44 +00:00
Edwin Takahashi 691d57b5ad Bug 1581016 - mozpack/copier.py and mozpack/test_copier.py supports python3 r=glandium,rstewart
Change import order.

Enable python3 testing for `test_copier.py`.

In the test methods, ensure the returned file names are decoded as UTF-8 by default.

In the test methods, check for byte-string by default; in python2, this would be treated like the standard string.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 22:00:39 +00:00
Razvan Maries eef36cc7e7 Backed out 2 changesets (bug 1605215) for perma fails on test_emitter.py. CLOSED TREE
Backed out changeset 2e26df04968e (bug 1605215)
Backed out changeset de5881f3d6ce (bug 1605215)
2019-12-19 23:36:43 +02:00
Nathan Froyd cf45cda557 Bug 1605215 - apply shared library naming conventions to wasm sandboxed libraries; r=firefox-build-system-reviewers,rstewart
Because that's what they really are under the hood.

Depends on D57871

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

--HG--
extra : moz-landing-system : lando
2019-12-19 20:54:38 +00:00
Razvan Maries 4a6468a68a Backed out changeset 69687a23245e (bug 1603804) for Lint failure. CLOSED TREE
--HG--
rename : python/lldbutils/README.txt => third_party/python/lldbutils/README.txt
rename : python/lldbutils/lldbutils/__init__.py => third_party/python/lldbutils/lldbutils/__init__.py
rename : python/lldbutils/lldbutils/content.py => third_party/python/lldbutils/lldbutils/content.py
rename : python/lldbutils/lldbutils/general.py => third_party/python/lldbutils/lldbutils/general.py
rename : python/lldbutils/lldbutils/gfx.py => third_party/python/lldbutils/lldbutils/gfx.py
rename : python/lldbutils/lldbutils/layout.py => third_party/python/lldbutils/lldbutils/layout.py
rename : python/lldbutils/lldbutils/utils.py => third_party/python/lldbutils/lldbutils/utils.py
2019-12-19 20:16:17 +02:00
Jonathan Watt 8e978a5ef3 Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal
This undoes the mistaken move of this directory into third_party that happened
as part of bug 1346025.

The .flake8 changes are required because lldbutils used to be excluded from
linting by virtue of being inside third_party, but would otherwise be subject
to it after this move. Fixing the existing lint errors will happen in:

  - https://bugzilla.mozilla.org/show_bug.cgi?id=1605144
  - https://bugzilla.mozilla.org/show_bug.cgi?id=1605145

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

--HG--
rename : third_party/python/lldbutils/README.txt => python/lldbutils/README.txt
rename : third_party/python/lldbutils/lldbutils/__init__.py => python/lldbutils/lldbutils/__init__.py
rename : third_party/python/lldbutils/lldbutils/content.py => python/lldbutils/lldbutils/content.py
rename : third_party/python/lldbutils/lldbutils/general.py => python/lldbutils/lldbutils/general.py
rename : third_party/python/lldbutils/lldbutils/gfx.py => python/lldbutils/lldbutils/gfx.py
rename : third_party/python/lldbutils/lldbutils/layout.py => python/lldbutils/lldbutils/layout.py
rename : third_party/python/lldbutils/lldbutils/utils.py => python/lldbutils/lldbutils/utils.py
extra : moz-landing-system : lando
2019-12-19 16:37:46 +00:00
Andrew Halberstadt 20606598b3 Bug 1604360 - [python] Fix ./mach python --ipython, r=mars
We recently updated the version of pip we use, and it no longer supports
--use-wheels.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:05:29 +00:00
Coroiu Cristina 4b1f3db61d Backed out changeset 254b3c9cfd03 (bug 1603804) for lint failure at builds/worker/checkouts/gecko/python/lldbutils/lldbutils on a CLOSED TREE
--HG--
rename : python/lldbutils/README.txt => third_party/python/lldbutils/README.txt
rename : python/lldbutils/lldbutils/__init__.py => third_party/python/lldbutils/lldbutils/__init__.py
rename : python/lldbutils/lldbutils/content.py => third_party/python/lldbutils/lldbutils/content.py
rename : python/lldbutils/lldbutils/general.py => third_party/python/lldbutils/lldbutils/general.py
rename : python/lldbutils/lldbutils/gfx.py => third_party/python/lldbutils/lldbutils/gfx.py
rename : python/lldbutils/lldbutils/layout.py => third_party/python/lldbutils/lldbutils/layout.py
rename : python/lldbutils/lldbutils/utils.py => third_party/python/lldbutils/lldbutils/utils.py
2019-12-19 14:44:28 +02:00
Jonathan Watt 93534e98f9 Bug 1603804. Move third_party/python/lldbutils to python/lldbutils. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D57141

--HG--
rename : third_party/python/lldbutils/README.txt => python/lldbutils/README.txt
rename : third_party/python/lldbutils/lldbutils/__init__.py => python/lldbutils/lldbutils/__init__.py
rename : third_party/python/lldbutils/lldbutils/content.py => python/lldbutils/lldbutils/content.py
rename : third_party/python/lldbutils/lldbutils/general.py => python/lldbutils/lldbutils/general.py
rename : third_party/python/lldbutils/lldbutils/gfx.py => python/lldbutils/lldbutils/gfx.py
rename : third_party/python/lldbutils/lldbutils/layout.py => python/lldbutils/lldbutils/layout.py
rename : third_party/python/lldbutils/lldbutils/utils.py => python/lldbutils/lldbutils/utils.py
extra : moz-landing-system : lando
2019-12-16 19:39:06 +00:00
Dan Mosedale 42eb841eff Bug 1604295 - Update NodeJS to 8.17.0 and npm to 6.13.4 r=Standard8
This patch causes the newest version of NodeJS 8.17.0 to be used to build the mozilla toolchains installed on the CI machines as well as by `mach bootstrap`, which in turn gets an important security fix by updating to npm 6.13.4.

This patch also causes mach commands which call npm to abort if the version in use is older than 6.13.4 to avoid (especially) exploits on local developers that exfiltrate their data.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 21:59:33 +00:00
Ricky Stewart 27fa46c7df Bug 1604337 - mozpack/packager/* files support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57386

--HG--
extra : moz-landing-system : lando
2019-12-18 23:35:54 +00:00
Ricky Stewart 4bb9805afe Bug 1604277 - mozpack/errors.py and mozpack/manifests.py support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57362

--HG--
extra : moz-landing-system : lando
2019-12-18 22:06:35 +00:00
Ricky Stewart 7c927ba04b Bug 1602540 - mozpack/files.py and test_files.py support Python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57004

--HG--
extra : moz-landing-system : lando
2019-12-18 23:23:12 +00:00
Bogdan Tara 9351449802 Backed out 3 changesets (bug 1604337, bug 1602540, bug 1604277) for build-linux64-artifact/opt (AB) bustages CLOSED TREE
Backed out changeset 4ac19b94051e (bug 1604337)
Backed out changeset 93e2ef0d77b3 (bug 1604277)
Backed out changeset 4ac9cc8c39b1 (bug 1602540)
2019-12-19 00:02:39 +02:00
Ricky Stewart 6131b0e7ab Bug 1604337 - mozpack/packager/* files support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57386

--HG--
extra : moz-landing-system : lando
2019-12-18 16:43:09 +00:00
Ricky Stewart c8aa318a85 Bug 1604277 - mozpack/errors.py and mozpack/manifests.py support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57362

--HG--
extra : moz-landing-system : lando
2019-12-18 16:43:09 +00:00
Ricky Stewart 3e58392872 Bug 1602540 - mozpack/files.py and test_files.py support Python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57004

--HG--
extra : moz-landing-system : lando
2019-12-18 21:15:48 +00:00
Mike Shal 0e0d7f71a9 Bug 1602857 - Only install mercurial if required in OSX mach boostrap; r=firefox-build-system-reviewers,rstewart
If mercurial is already installed via pip (or possibly other means),
then mach bootstrap will fail. We should check if we already have a
sufficient mercurial before forcing it to be installed with
ports/homebrew.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 23:44:17 +00:00
Zibi Braniecki bb46639778 Bug 1600528 - Migrate browser-context.inc to Fluent. r=Gijs,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55396

--HG--
extra : moz-landing-system : lando
2019-12-18 06:26:58 +00:00
Sylvestre Ledru 41312ab8df Bug 1601578 - mach - doc environment with python 3 r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55937

--HG--
extra : moz-landing-system : lando
2019-12-17 19:17:43 +00:00
Razvan Maries c98dba73a9 Backed out 5 changesets (bug 1601612, bug 1601578) for Lint failure. CLOSED TREE
Backed out changeset c5b62adb19f1 (bug 1601612)
Backed out changeset 67431d96c78f (bug 1601612)
Backed out changeset 22099810071a (bug 1601612)
Backed out changeset 457049dcb9b4 (bug 1601612)
Backed out changeset 45277ab0d639 (bug 1601578)
2019-12-17 09:49:51 +02:00
Sylvestre Ledru e945783c5b Bug 1601578 - mach - doc environment with python 3 r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55937

--HG--
extra : moz-landing-system : lando
2019-12-17 01:30:41 +00:00
Andrew Halberstadt 68fc6af908 Bug 1603561 - [mozbuild] Ignore all potential objdirs in BuildReader._relevant_mozbuild_finder, r=firefox-build-system-reviewers,chmanchester
Currently BuildReader._relevant_mozbuild_finder attempted to exclude objdirs by
ignoring the pattern 'obj*'. However this can cause problems for developers who
don't prefix their objdirs with the string 'obj'. This attempts to ignore all
objdirs by looking for 'config.status' files in the topsrcdir.

This wasn't a huge issue before because BuildReader._relevant_mozbuild_finder
was only used in a handful of obscure edge cases. But now it's being invoked by
the taskgraph and consequently |mach try|. So we'll see this issue pop up for
people more frequently.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 01:35:05 +00:00
Chris Manchester 43db981303 Bug 1528374 - Add a simple script to wrap mozinstall. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20408

--HG--
extra : moz-landing-system : lando
2019-12-16 22:05:32 +00:00
Oana Pop Rus b49aefd3c9 Backed out 3 changesets (bug 1528374) for build bustages failures during artifact upload: file-missing-on-worker: Could not read directory /Users/task_1576213467/artifacts on a CLOSED TREE
Backed out changeset 3c2a1cf616b4 (bug 1528374)
Backed out changeset 967d0072cd2f (bug 1528374)
Backed out changeset 0d0186ecd70e (bug 1528374)
2019-12-16 23:50:45 +02:00
Chris Manchester 5ae641c13d Bug 1528374 - Add a simple script to wrap mozinstall. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20408

--HG--
extra : moz-landing-system : lando
2019-12-13 05:43:44 +00:00
J.C. Jones 942507de3e Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-16 17:35:49 +00:00
Csoregi Natalia 5f6f55422f Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-16 18:52:41 +02:00
J.C. Jones 4916451c01 Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-14 18:52:26 +00:00
Ricky Stewart 479b38bcac Bug 1603262 - mozbuild/makeutil.py and mozbuild/test_makeutil.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56968

--HG--
extra : moz-landing-system : lando
2019-12-13 20:49:13 +00:00
Andreea Pavel 1adff31cb1 Backed out changeset 7d55de92c194 (bug 1594931) for failing xpcshell at test_sdr_preexisting.js on a CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-13 22:48:02 +02:00
J.C. Jones 515c7f644c Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change removes the legacy libnssdbm database that we migrated away from since Firefox 60.

This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password. It otherwise removes support for libnssdbm everywhere in Gecko.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-13 19:00:35 +00:00
Eric Rahm 6c0b70d6d9 Bug 1594344 - Part 3: Use new dump_syms in automation. r=froydnj
This optionally uses the rust-based `dump_syms` toolchain if it has been
installed, otherwise it uses the locally built version.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 10:28:13 +00:00
Noemi Erli 24e02f049b Backed out 3 changesets (bug 1528374) per tomprice's request for breaking macOS signing jobs CLOSED TREE
Backed out changeset 5a6fa3b5123b (bug 1528374)
Backed out changeset 32f3b1b3fe3b (bug 1528374)
Backed out changeset a412a319534c (bug 1528374)
2019-12-13 06:48:05 +02:00
Chris Manchester 358028ed9e Bug 1528374 - Add a simple script to wrap mozinstall. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20408

--HG--
extra : moz-landing-system : lando
2019-12-12 01:23:33 +00:00
Masatoshi Kimura 7276b36871 Bug 1590693 - Unship empty chrome.manifest files. r=glandium
Bug 1295542 added empty chrome.manifest files to prevent malware from abusing
them. This workaround is no longer necessary because Firefox stopped reading
chrome.manifest outside omni.ja since bug 1543761.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 11:13:42 +00:00
Chris Manchester b98761748c Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828

--HG--
extra : moz-landing-system : lando
2019-12-12 01:42:38 +00:00
Coroiu Cristina 37bd29f93c Backed out changeset 5b1c7a3bd4b2 (bug 1603300) for flake failure at mozbuild/test/configure/test_toolchain_helpers.py
--HG--
extra : amend_source : 97d3600c2c14d18b21d9ac45ac98d3bc3a872e88
2019-12-12 03:31:15 +02:00
Chris Manchester 8f2f5c50d4 Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828

--HG--
extra : moz-landing-system : lando
2019-12-12 01:17:01 +00:00
Ricky Stewart 8125df23f2 Bug 1603181 - mozbuild/preprocessor.py and test_preprocessor.py support Python3 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56808

--HG--
extra : moz-landing-system : lando
2019-12-12 00:13:25 +00:00
Ricky Stewart e642c8a1b2 Bug 1602961 - ./mach clobber gradle should clean up $topobjdir/gradle r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D56638

--HG--
extra : moz-landing-system : lando
2019-12-11 21:23:22 +00:00
Māris Fogels 030fc0897c Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 18:49:06 +00:00
Ricky Stewart d43df94c5e Bug 1601753 - `./mach build` does not build WASM_LIBRARY by default r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56092

--HG--
extra : moz-landing-system : lando
2019-12-10 15:48:38 +00:00
Ricky Stewart 2a74ae61fc Bug 1602525 - mozpack/archive.py and mozpack/test_archive.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56419

--HG--
extra : moz-landing-system : lando
2019-12-09 22:09:54 +00:00
Dorel Luca 682cfaa718 Backed out 3 changesets (bug 1594344) for Decision task failure on taskcluster/ci/toolchain/rust-size.yml. CLOSED TREE
Backed out changeset 3208e2b16458 (bug 1594344)
Backed out changeset 57b641bb4d4b (bug 1594344)
Backed out changeset 36458762149d (bug 1594344)

--HG--
rename : taskcluster/ci/toolchain/dump-syms.yml => taskcluster/ci/toolchain/rust-size.yml
rename : taskcluster/scripts/misc/build-dump-syms.sh => taskcluster/scripts/misc/build-rust-size.sh
2019-12-10 15:59:12 +02:00
Eric Rahm cb21b61e01 Bug 1594344 - Part 3: Use new dump_syms in automation. r=froydnj
This optionally uses the rust-based `dump_syms` toolchain if it has been
installed, otherwise it uses the locally built version.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 13:37:45 +00:00
Mike Shal 580f0c293f Bug 1557788 - Remove OBJS_VAR_SUFFIX & .i_o suffix for instrumented builds; r=firefox-build-system-reviewers,chmanchester
In 1-tier PGO builds that shared the objdir between the instrumented and
profile-use builds, the instrumented build objects used a different
suffix (.i_o) to separate them from the profile-use build (which uses
the default .o suffix). These builds are now always in separate objdirs,
and don't need special suffix rules anymore.

As a bonus, this helps fix an issue with buildid.cpp continually
rebuilding because libxul_so.list always lists the inputs as *.o, which
don't exist if we're using a .i_o suffix. Make would always re-create
buildid.cpp and therefore libxul.so in the instrumented build even when
nothing has changed.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:49 +00:00
Andrew Halberstadt 4cd0658446 Bug 1464038 - Update virtualenv to version 16.7.8 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D56229

--HG--
rename : third_party/python/virtualenv/tests/__init__.py => third_party/python/virtualenv/docs/changelog/.gitkeep
rename : third_party/python/virtualenv/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl => third_party/python/virtualenv/tests/old-wheels/pip-9.0.1-py2.py3-none-any.whl
rename : third_party/python/virtualenv/virtualenv_support/setuptools-36.8.0-py2.py3-none-any.whl => third_party/python/virtualenv/tests/old-wheels/setuptools-30.4.0-py2.py3-none-any.whl
rename : third_party/python/virtualenv/virtualenv_support/setuptools-39.0.1-py2.py3-none-any.whl => third_party/python/virtualenv/virtualenv_support/setuptools-41.6.0-py2.py3-none-any.whl
extra : moz-landing-system : lando
2019-12-09 15:45:24 +00:00
Ted Campbell 04d3467fd8 Bug 1602228 - Support ./mach run for application=js builds r=froydnj
Allow running the jsshell using ./mach run. This copies the debugger
parameter handling from desktop configurations.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 14:55:35 +00:00
David Major b5204ec2a8 Bug 1601872 - Handle the case when the mozconfig has no configure_args r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D56207

--HG--
extra : moz-landing-system : lando
2019-12-06 17:41:10 +00:00
Mike Shal 25308d30a2 Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester
Local PGO builds now use 3-tier machinery under the hood. Instead of a
single object directory that gets cleaned in between the instrumented
and profile-use builds, now the instrumented build uses a separate
'${objdir}/instrumented' directory. This makes it easier to handle
within mach since we can drive the two builds with environment variables
and keep all build artifacts separate, without needing to do manual
cleanup in between.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 01:07:32 +00:00
Chris Manchester 5a33be02e2 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:11 +00:00
Chris Manchester 7caa07b115 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:09 +00:00
Molly Howell c4a4ebd403 Bug 1599142 - Fix several Windows compatibility issues in documentation generation. r=ahal,froydnj
This patch addresses the following issues which prevent building the
documentation on a Windows system:

1. check_jsdoc attempts to launch a file by the name of jsdoc using
   subprocess.check_output(). But, the file jsdoc is a Bash script,
   so it can't be launched this way on Windows. We should find the
   correct file name to use instead (likely jsdoc.cmd).
2. The Windows CopyFile API will fail if the destination directory does
   not exist. The procedure that creates the staging directory for Sphinx
   attempts to use this API before any directories are created, so most calls
   to it fail and most files don't get staged. These errors are ignored, so
   the result is that Sphinx succeeds in generating a set of documentation
   that is mostly empty.
3. Several instances where manually constructed paths that contain both back
   and forward slashes are compared to or otherwise used with normalized paths,
   resulting in incorrect behaviors.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:04:17 +00:00
Florin Strugariu cc65231541 Bug 1593674 - remove marionette VideoStream YouTube test as it's duplicated in raptor r=tarek,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D52820

--HG--
extra : moz-landing-system : lando
2019-12-05 14:06:38 +00:00
Razvan Maries c9cf973dbf Backed out 3 changesets (bug 1595218) for build bustages. CLOSED TREE
Backed out changeset 499b0c27da4f (bug 1595218)
Backed out changeset f2f230a3028d (bug 1595218)
Backed out changeset 93ec75efbf41 (bug 1595218)
2019-12-05 02:53:04 +02:00
Chris Manchester a85167cf6b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:16 +00:00
Chris Manchester adb6750333 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:14 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Gurzau Raul 87ac4a3719 Backed out 3 changesets (bug 1595218) for Windows wrench failures.
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Chris Manchester be8da63e8e Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:47 +00:00
Chris Manchester 3d90cadcda Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:40 +00:00
Ricky Stewart 64c581817a Bug 1600664 - Download the wasi sysroot during bootstrap for Linux r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55481

--HG--
extra : moz-landing-system : lando
2019-12-03 20:38:35 +00:00
Ricky Stewart 8bc5f7c9dd Bug 1600520 - Build flags order regression: OS include paths used before local paths r=froydnj
Remove the "clever" logic from patch D53070, which was meant to reduce code duplication, and replace with easier-to-understand logic. Copy-and-paste the previous version of the CompileFlags class before patch D53070 to ensure that we stamp out the regression.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 18:14:39 +00:00
Nathan Froyd f47aaef62d Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 06:50:13 +00:00
Sebastian Hengst a47186d18f Merge mozilla-central to autoland. CLOSED TREE 2019-12-03 19:33:56 +01:00
Sebastian Hengst 4d554f0a10 Backed out changeset 3034ec8681ac (bug 1590745) for breaking local macOS 10.15 builds (bug 1600720). a=backout 2019-12-03 19:06:29 +01:00
shindli 4562fd4c3b Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Alexander Kuleshov e0ecbc0991 Bug 1513775: fix mach bootstrap on Fedora when mercurial is not installed r=froydnj
If Mercurial (hg) is not installed on a Centos/Fedora system, execution
of:

  $ ./mach bootstrap

will be failed as the bootstrap script tries to execute:

  # dnf update mercurial

This commit adds 'dnf install' command if the mercurial wasn't
installed on the system. This command will try to execute installation
of mercurial.

In other case there will be a try to upgrade to the latest possibly version
of mercurial.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 16:43:10 +00:00
Chris Manchester 9eb1bdb17b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-11-22 00:02:18 +00:00