Commit Graph

5994 Commits

Author SHA1 Message Date
Tom Prince
01409a49a6 Bug 1630047 - Allow mozversioncontrol to add or remove multiple files at once; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D70938

--HG--
extra : moz-landing-system : lando
2020-04-15 22:16:49 +00:00
Gregory Mierzwinski
7870c996a2 Bug 1628158 - Integrate perftest-notebook into mozperftest. r=tarek
This patch integrates the majority of the mach-perftest-notebook project from the github project to the in-tree mozperftest package/tool. Certain portions of it are disabled in this integration (posting to iodide, and transform searching).

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

--HG--
extra : moz-landing-system : lando
2020-04-15 20:24:36 +00:00
Ricky Stewart
cf2b22e357 Bug 1628621 - Ensure whenever we write to the terminal, if ascii or charmap are the default locale, use utf-8 instead. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D70429

--HG--
extra : moz-landing-system : lando
2020-04-15 04:00:15 +00:00
Ricky Stewart
6e90564cb9 Bug 1629159 - Open the mach log-file with the correct mode. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D70606

--HG--
extra : moz-landing-system : lando
2020-04-14 19:00:22 +00:00
Kartikaya Gupta
e9cc085269 Bug 1629595 - Avoid rewriting .mozconfig.json in mixed-python environments. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70708

--HG--
extra : moz-landing-system : lando
2020-04-14 17:47:48 +00:00
Julian
ef534a1b06 Bug 1609557 - Migrate placesContextMenu.inc.xhtml to Fluent. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68733

--HG--
extra : moz-landing-system : lando
2020-04-14 09:13:52 +00:00
Tarek Ziadé
2da872c93f Bug 1627623 - [mozperftest] Implement Andrew's tests r=acreskey
Implements https://github.com/acreskeyMoz/browsertime_on_android_scripts
changes to mach perftest and prototype

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

--HG--
extra : moz-landing-system : lando
2020-04-14 07:46:51 +00:00
Nicholas Nethercote
8139b4051e Bug 1619840 - Remove fix_{linux,macosx}_stack.py and fix_stack_using_bpsyms.py. r=erahm
This commit removes `test_fix_stack_using_bpsyms.py`. That test can't easily be
modified to work with `fix_stacks.py` because it relies on internal
implementation details of `fix_stack_using_bpsym.py`. The unit testing done in
the `fix-stacks` repo provides test coverage that is as good or better.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 06:55:54 +00:00
Mark Striemer
c34d93b70f Bug 1626381 - Include a title on about:addons categories r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D69571

--HG--
extra : moz-landing-system : lando
2020-04-10 06:03:35 +00:00
Mike Hommey
737ee65960 Bug 1581684 - Fix mach mach-completion mach -flag <command> for python 2 commands. r=ahal
This solves an edge case where tab completing a Python 2 command with global
arguments was using the wrong Python version.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 15:42:59 +00:00
Geoff Brown
9ccbc3975a Bug 1457057 - Exit 'mach gtest' with error if debugger not found; r=bc
Simple update to gtest mach command handling of debugger arguments.

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

--HG--
extra : moz-landing-system : lando
2020-04-13 13:57:00 +00:00
Mike Hommey
0e36d45b8a Bug 1628927 - Convert symbolstore.py to python 3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70467

--HG--
extra : moz-landing-system : lando
2020-04-12 00:03:54 +00:00
Csoregi Natalia
8ed108064b Backed out changeset 789cef4e9c6d (bug 1628927) for symbol related bustage. CLOSED TREE 2020-04-11 04:31:34 +03:00
Mike Hommey
e62d5e9a93 Bug 1628927 - Convert symbolstore.py to python 3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70467

--HG--
extra : moz-landing-system : lando
2020-04-10 21:42:18 +00:00
Mike Hommey
8403480b31 Bug 1628498 - Fix corner-case in virtualenv creation. r=rstewart
This also reverts the previous hack around the issue.

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

--HG--
extra : moz-landing-system : lando
2020-04-10 21:40:25 +00:00
Artem
bb5ca86820 Bug 1624713 - Convert editBookmarkOverlay.dtd to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D68118

--HG--
extra : moz-landing-system : lando
2020-04-10 10:56:49 +00:00
Ricky Stewart
50c061e425 Bug 1628683 - Update chrome_map.py to support Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D70376

--HG--
extra : moz-landing-system : lando
2020-04-09 20:49:42 +00:00
Ricky Stewart
c8269c0f4d Bug 1628131 - Import WINFUNCTYPE from the correct module to preserve compatibility across py2/py3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D70430

--HG--
extra : moz-landing-system : lando
2020-04-09 19:13:44 +00:00
Andi-Bogdan Postelnicu
8d21444c67 Bug 1628748 - Switch to python3 seems to have broken the Compiler database backend. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70394

--HG--
extra : moz-landing-system : lando
2020-04-09 15:54:33 +00:00
Emilio Cobos Álvarez
587d6bcab6 Bug 1628498 - Hackaround: Try to build virtualenv from scratch if there was a previous one. r=rstewart
This works for me and should allow trees to reopen.

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

--HG--
extra : histedit_source : 529e1cb5cdb3030f145f44fc1ebf0ea9ae00aa8f
2020-04-09 17:50:59 +00:00
Andrew Halberstadt
8592f79d9a Bug 1581684 - [mach] Fix regression to mach command completion, r=glandium
Not all callables have a __name__ attribute.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 05:00:20 +00:00
Benjamin Bouvier
0761d2bc71 Bug 1628641: Use OrderedDict.items() in place of Python 2's iteritems; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D70329

--HG--
extra : moz-landing-system : lando
2020-04-09 10:13:49 +00:00
Artem
c864bc38f7 Bug 1609563 - Migrate browser-allTabsMenu.inc.xhtml to Fluent r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D70238

--HG--
extra : moz-landing-system : lando
2020-04-09 06:14:25 +00:00
Gijs Kruitbosch
1e1ef247f3 Bug 1628255 - do not add a label/accesskey attribute to the button in the about:downloads and library downloads views, r=mconley,flod,fluent-reviewers
As noted by Jamie, accessible labels for richlistitem elements come from the
label elements that have value attributes within them.

In bug 1608202, we accidentally reused the same fluent message for the buttons
in about:downloads and the library download view (DownloadsViewUI.jsm) and
the context menuitems that do the same thing. This meant that
those menuitems gained a tooltip they shouldn't have, and the buttons gained
a label and accesskey they shouldn't have. The latter caused the
accessibility regression described in the bug.

This patch separates out the two usecases for the same string. I also checked
the other l10nIds used in DownloadsViewUI.jsm, and as far as I can tell this
is the only one that is reused in this way.

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

--HG--
extra : moz-landing-system : lando
2020-04-08 21:39:14 +00:00
Mike Hommey
ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

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

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Mike Hommey
0fb4a38faf Bug 1621436 - Run process_install_manifest with python3. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D70156

--HG--
extra : moz-landing-system : lando
2020-04-09 00:21:12 +00:00
Lifan Zeng lifanfzeng
c6990491a5 Bug 1608191 - Port profileDowngrade.dtd to Fluent, r=fluent-reviewers,flod,Gijs
https://phabricator.services.mozilla.com/D66648

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:56:45 +00:00
Geoff Brown
dc33776dd5 Bug 1621244 - Ensure all test files are installed, even when running only a subset; r=bc
Most (all?) mach xpcshell-test calls result in calling install_tests(None) while
most mach test calls for the same test/directory result in calling install_tests()
with a collection of test objects. Providing test objects allows install_tests()
to optimize which tests are installed, but there have been several recent bugs
that appear to be related to that optimization. Let's rely less on that optimization
and make things consistent between test/xpcshell-test. (There's a parallel
consideration for test vs mochitest.)

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

--HG--
extra : moz-landing-system : lando
2020-04-08 18:30:14 +00:00
Ricky Stewart
6805c2f318 Bug 1625285 - A few small fixes to prevent bustage under Python 3 in lint/resource monitor/testing r=marionette-reviewers,glandium,whimboo
Update code in a few places to work with Python 3, especially with regard to how we invoke subprocesses with text output. Note that the Marionette test harness code needs to be updated so that text is written out in the correct encoding (see bug 1615748).

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

--HG--
extra : moz-landing-system : lando
2020-04-08 11:42:52 +00:00
Ting-Yu Lin
b0af8afd5e Bug 1627398 Part 5 - Support dumping frame trees in CSS pixels for gdb and lldb. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D69918

--HG--
extra : moz-landing-system : lando
2020-04-07 23:42:38 +00:00
Mike Hommey
f805480ab5 Bug 1627163 - Switch python configure to python 3. r=firefox-build-system-reviewers,rstewart
This also does a few remaining python 2 incompatible changes to
.configure files.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 18:31:56 +00:00
Mike Hommey
848d849a24 Bug 1627163 - Fix a few python 3 issues in mozbuild.backend.visualstudio. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69950

--HG--
extra : moz-landing-system : lando
2020-04-07 15:39:58 +00:00
Mike Hommey
1ca5fc294d Bug 1627163 - Avoid a comparison between a str and an int in gyp. r=firefox-build-system-reviewers,rstewart
Python 3 doesn't like that.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 09:10:42 +00:00
Mike Hommey
6f5d58ae41 Bug 1627163 - Avoid scanning ConfigureSandbox._implied_options when handling implied options. r=firefox-build-system-reviewers,rstewart
ConfigureSandbox._implied_options is a list of ReadOnlyNamespaces.
In python 3.5, ReadOnlyNamespaces end up with no guarantee in the order
of their __dict__. So when comparing

   ReadOnlyNamespace(a=1, b=2)

and

   ReadOnlyNamespace(a=3, b=4)

It's not guaranteed that the a's are compared before the b's.

In ConfigureSandbox._implied_options, some of those ReadOnlyNamespace
fields are SandboxDependsFunctions, which actually raise an error when
they're being compared, because we don't want that to happen in the
sandbox.

So when using python 3, configure would randomly fail when trying to
remove items from the ConfigureSandbox._implied_options list because
removing an item from a list scans the list to find the first element
that matches.

And ConfigureSandbox._implied_options needs to be ordered, which is why
it's currently a list.

So instead of removing by value, we create a new list with the remaining
values. But because the loop recurses, and needs the updated list, we
filter first.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:38:29 +00:00
Mike Hommey
4e228dc5f5 Bug 1627873 - Always unbuffer python output when invoking python commands from mach. r=firefox-build-system-reviewers,rstewart
When the build is stalled for some random reason, and mach executed a
python subcommand (this may or may not be limited to python 3, I'm not
sure, and it doesn't really matter since it's a problem on python 3,
which matters most), the subcommand may not have actually sent its last
bits of output before the stall because its output is a pipe and in that
case python uses buffered outputs.

Now, when your build is completely stalled and you ctrl+C, you end up
without these bits of output, and in some cases, those bits of output
can contain actual information, like... tracebacks.

A real life example of this is bug 1624670 when running mach build or
mach configure with the patches from bug 1627163 applied, and configure
stalls without printing out the ValueError message at all.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:52:00 +00:00
Mike Hommey
a83c3a6e86 Bug 1624670 - Cap ProcessPoolExecutor's max_workers to 60 on Windows. r=firefox-build-system-reviewers,rstewart
See https://bugs.python.org/issue26903#msg365886.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 15:55:09 +00:00
Stefan Hindli
a34a2e6240 Backed out changeset 1687bce0a804 (bug 1621244) per gbrown's request on riot CLOSED TREE 2020-04-08 00:18:01 +03:00
Geoff Brown
841cd4f179 Bug 1621244 - Ensure test head files are installed, even when in another directory; r=bc
The effect of the deleted code has been to not install required head files
when those head files are not in the same directory as the test's manifest;
that seems wrong. I am slightly concerned about the comment justifying the
short-cut, but I cannot find any ill effect from removing the code, and doing
so allows test_attachments_downloader.js to run with either xpcshell-test or test.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 19:08:57 +00:00
Sylvestre Ledru
0fcd204f92 Bug 1626098 - mach bootstrap - Only install python-pip on Ubuntu < 20.04 and Debian != "bullseye" r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D68900

--HG--
extra : moz-landing-system : lando
2020-04-07 16:40:49 +00:00
Mihai Alexandru Michis
af4ac5130b Backed out changeset a32a1f5c2676 (bug 1609557) for causing bc failures.
CLOSED TREE
2020-04-07 12:39:37 +03:00
Francesco Lodolo (:flod)
995498145a Bug 1627872 - Remove Fluent migration recipes for Firefox 74 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D69924

--HG--
extra : moz-landing-system : lando
2020-04-07 07:09:58 +00:00
Julian
018ae5bc4a Bug 1609557 - Migrate placesContextMenu.inc.xhtml to Fluent. r=fluent-reviewers,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68733

--HG--
extra : moz-landing-system : lando
2020-04-07 08:46:02 +00:00
Artem
c7560c016c Bug 1625480 - convert remaining notifications strings from browser.dtd to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D69307

--HG--
extra : moz-landing-system : lando
2020-04-03 21:10:49 +00:00
Mike Hommey
832881bcbd Bug 1627163 - Add support for python 3 to mozbuild.configure.libstdcxx. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D69534

--HG--
extra : moz-landing-system : lando
2020-04-05 08:51:21 +00:00
Mike Hommey
cc59888760 Bug 1606703 - Switch python configure lint to python 3. r=rstewart
Support for python 2 is completely dropped. It wouldn't be too much code
to support both python 2 and 3 but since configure is going to switch to
python 3 shortly after, it's not worth the effort.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 01:19:41 +00:00
Aaron Klotz
cbad7b5792 Bug 1627354: Part 3 - Update mozboot and wpt SDK dependencies; r=jgraham,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D69633

--HG--
extra : moz-landing-system : lando
2020-04-04 03:15:56 +00:00
Riley Byrd
aef12bf890 Bug 1608202 - downloads.dtd to Fluent r=mconley,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D59634

--HG--
extra : moz-landing-system : lando
2020-04-03 14:47:28 +00:00
Tarek Ziadé
5c0481ca70 Bug 1623321 - Add perftest r=sparky,perftest-reviewers,marionette-reviewers,whimboo,ahal
mach perftest

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

--HG--
extra : moz-landing-system : lando
2020-04-02 13:04:41 +00:00
Andi-Bogdan Postelnicu
53b98125ff Bug 1626640 - For modules that are compatible with the non unified build environment stop using the unified files for Coverity Analysis. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D69211

--HG--
extra : moz-landing-system : lando
2020-04-01 16:46:08 +00:00
Mike Hommey
65f99a7349 Bug 1626163 - Add rust-generated C/C++ files to generated-files. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D68964

--HG--
extra : moz-landing-system : lando
2020-03-31 21:08:37 +00:00
Edwin Takahashi
a853d06380 Bug 1608837 - fix incorrect names of reftest/crashtest variants of web-platform-tests r=ahal
The definition for reftest/crashtest variants of web-platform-tests in web-platform.yml has a trailing `s` which is technically incorrect.

This causes problems when querying ActiveData for the runtimes for these subsuites since the suite name recorded in ActiveData has the trailing s.

Changes:

  - remove the trailing `s` from the definitions

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

--HG--
extra : moz-landing-system : lando
2020-03-31 20:41:17 +00:00
Rob Lemley
3b393ab7ea Bug 1626104 - Change mach lint --config-path to be relative to topsrcdir. r=linter-reviewers,ahal
This makes the --config-path option relative to topsrcdir rather then the current
directory.
Using a relative path is difficult for a developer running mach lint locally as
the command has to change as the working directory changes. A stable base path also
facilitates creating an alias in machrc.

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

--HG--
extra : moz-landing-system : lando
2020-03-31 19:41:22 +00:00
Andi-Bogdan Postelnicu
db9f108877 Bug 1626190 - Add mach command that checks syntax for C/C++ files. r=bastien
This was designed to be used outside of the `unified build system` in order to keep
individual files syntax sane and to use the `compile_commands.json` outside of the
`unified build` environment.

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

--HG--
extra : moz-landing-system : lando
2020-03-31 15:02:01 +00:00
Mark Striemer
21205b994f Bug 1525178 - Part 3: Add second about:addons sidebar in HTML r=fluent-reviewers,rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D60424

--HG--
extra : moz-landing-system : lando
2020-03-30 19:45:05 +00:00
Michal Novotny
e3d86ceafe Bug 1587353 - Add http3 tests r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D48670

--HG--
extra : moz-landing-system : lando
2020-03-25 13:36:00 +00:00
Bogdan Tara
6b0b300cc5 Backed out 3 changesets (bug 1620145) for lints failure and Android bustages CLOSED TREE
Backed out changeset eee5907efc81 (bug 1620145)
Backed out changeset 80acd7d7bc10 (bug 1620145)
Backed out changeset f07bb47f20b3 (bug 1620145)
2020-03-28 01:36:27 +02:00
Aaron Klotz
fa8d4a5ee5 Bug 1620145: Part 0 - Set compileSdkVersion to use ANDROID_TARGET_SDK; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D68612

--HG--
extra : moz-landing-system : lando
2020-03-27 22:52:30 +00:00
Bingjing Yan
e55f6eaf40 Bug 1608188 - blocklist.dtd to Fluent r=mconley,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D59633

--HG--
extra : moz-landing-system : lando
2020-03-27 21:32:43 +00:00
Julian
8f869c8980 Bug 1608200 - port toolkit/chrome/global/wizard.dtd to Fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66771

--HG--
extra : moz-landing-system : lando
2020-03-27 14:08:01 +00:00
Paul Morris
8f4c70e8a1 Bug 1612198 - Remove last remnants of NO_COMPONENTS_MANIFEST build variable. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D65584

--HG--
extra : moz-landing-system : lando
2020-03-27 12:36:03 +00:00
Noemi Erli
0f8207e011 Backed out changeset 49509cff8c94 (bug 1624713) for causing bc failures in nsAtom.h CLOSED TREE 2020-03-26 20:46:07 +02:00
Artem
55666ff912 Bug 1624713 - Convert editBookmarkOverlay.dtd to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D68118

--HG--
extra : moz-landing-system : lando
2020-03-26 17:26:09 +00:00
Ricky Stewart
3a63c03607 Bug 1624740 - Use io.StringIO instead of io.BytesIO to capture text in building.py r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D68201

--HG--
extra : moz-landing-system : lando
2020-03-26 12:13:25 +00:00
sourab
6a08fb7e82 Bug 1622269 - Use fluent to display cert error titles. r=flod,prathiksha,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D66968

--HG--
extra : moz-landing-system : lando
2020-03-26 14:35:50 +00:00
byron jones
8559ac6776 Bug 1623544 - Install python3-pip on Debian during bootstrap; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D68160

--HG--
extra : moz-landing-system : lando
2020-03-25 15:31:09 +00:00
Nicholas Nethercote
e7da41700a Bug 1624980 - Install fix-stacks with mach bootstrap on artifact builds. r=glandium
Because it's needed for DMD, which can be run on artifact builds.

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

--HG--
extra : moz-landing-system : lando
2020-03-26 00:49:38 +00:00
Ricky Stewart
e52b331537 Bug 1623982 - Fix performance of indented_repr in Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67688

--HG--
extra : moz-landing-system : lando
2020-03-25 19:40:06 +00:00
Nathan Froyd
98d5951dcc Bug 1624670 - remove max_workers argument for ProcessPoolExecutor; r=dmajor
`ProcessPoolExecutor` will naturally default to the number of CPUs on
the machine and will also handle edge cases on Windows.

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

--HG--
extra : moz-landing-system : lando
2020-03-25 15:20:37 +00:00
Anthony Ramine
4bbeb892c3 Bug 1624190 - Use time.process_time() on Python 3; r=rstewart
time.clock() is deprecated since Python 3.3 and gone in Python 3.8.

Depends on D67773

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

--HG--
extra : moz-landing-system : lando
2020-03-23 16:32:07 +00:00
Artem
655b101159 Bug 1609555 - Migrate sidebar menu DTD to fluent r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D67784

--HG--
extra : moz-landing-system : lando
2020-03-24 19:25:55 +00:00
Artem
0a5bdf8085 Bug 1608197 - port createProfileWizard DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D62867

--HG--
extra : moz-landing-system : lando
2020-03-24 16:35:16 +00:00
Geoff Brown
d46135408b Bug 1598746 - Adjust some mochitest and reftest SCHEDULES.exclusive entries; r=ahal
Use finer granularity for some reftest/mochitest SCHEDULES.exclusive entries,
so that reftest-plain does not run when only crashtests are modified, and
vice versa; similarly, break up mochitest into mochitest/browser-chrome/chrome/
a11y. Use schedules-component instead of category.

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

--HG--
extra : moz-landing-system : lando
2020-03-24 14:55:28 +00:00
Ricky Stewart
c1c042cab7 Bug 1623765 - mach watch supports Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D67927

--HG--
extra : moz-landing-system : lando
2020-03-23 21:34:16 +00:00
Magnus Melin
ed65822beb Bug 1621633 - make ./mach fluent-migration-test work for other apps too, like Thunderbird. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D66909

--HG--
extra : moz-landing-system : lando
2020-03-20 16:49:42 +00:00
Steve Fink
86ca4b5374 Bug 1621322 - Implement mach lint --revset=REV r=ahal
In the process, fixed a few bugs:
 - the template eg `{file_adds % "\n{file}"}` produced a leading blank line,
   which led to everything being linted.
 - 'd' was replaced with 'r' in diff_filters, but the replacement was discarded.
 - as a result of the above, `hg status -d` was being used ("show only deleted (but tracked) files") and now it is `hg status -r` ("show only removed files"). I *think* this is what was intended?

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

--HG--
extra : moz-landing-system : lando
2020-03-22 22:12:18 +00:00
Steve Fink
eac1725c91 Bug 1621322 - mozversioncontrol: pre-existing bug fix, do not run git test under hg r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67584

--HG--
extra : moz-landing-system : lando
2020-03-22 22:11:55 +00:00
Sylvestre Ledru
7cfa120eb9 Bug 1623320 - Add support to run mozlint on dotfile r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67316

--HG--
extra : moz-landing-system : lando
2020-03-20 21:51:03 +00:00
Rob Lemley
c7061b9ab3 Bug 1622974 - Add mozlint parameter to set additional config file path. r=ahal
Adds --config-paths parameter to mach mozlint where test configuration
files (.yml) can be located. The default path "tools/lint" is set automatically
and additional paths have preference over the default.
This allows Thunderbird to run mozlint-based tests in Taskcluster with a
different configuration.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 17:12:27 +00:00
Andrew Halberstadt
5c0793899d Bug 1623655 - [mach] Set 'ArgumentParser.prog' properly for external parsers, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D67500

--HG--
extra : moz-landing-system : lando
2020-03-20 13:56:42 +00:00
Andrew Halberstadt
3315f2c93c Bug 1623433 - [mozlint] Create a LintProcess utility class to consolidate some of our lint implementations, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67410

--HG--
extra : moz-landing-system : lando
2020-03-19 14:47:34 +00:00
Andrew Halberstadt
c568660c37 Bug 1570654 - [mozlint] Filter out non-existent paths in filterpaths, r=linter-reviewers,sylvestre
While we validate user specified paths early and only consider the 'AM' (added
+ modified) diff filter from versioncontrol, it's still possible to get
non-existent files when using --outgoing. This situation can happen when you
have a commit series that first modifies a file in an earlier commit, and then
moves/deletes it in a later commit.

To get around this, just silently filter out any file paths that don't exist.

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

--HG--
extra : moz-landing-system : lando
2020-03-19 18:06:41 +00:00
Andrew Halberstadt
ed55b7f24b Bug 1623656 - [mozlint] Make output of ./mach lint --list readable, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67501

--HG--
extra : moz-landing-system : lando
2020-03-19 18:06:41 +00:00
Ricky Stewart
da102cb24e Bug 1622529 - Don't install removed Python 2 packages on Ubuntu 20.04 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D67405

--HG--
extra : moz-landing-system : lando
2020-03-19 17:10:53 +00:00
Geoff Brown
23f67ba1d1 Bug 1622789 - Remove mozversioncontrol dependency on distutils; r=ahal
Use mozfile.which instead of distutils.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 17:12:14 +00:00
Andrew Halberstadt
5712219535 Bug 1623339 - [mozlint] Add a test for pathutils.expand_exclusions, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67334

--HG--
extra : moz-landing-system : lando
2020-03-18 17:02:27 +00:00
Sylvestre Ledru
6d6260820c Bug 1622328 - export_telemetry_schema.py: Add the license r=Callek
Depends on D66806

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

--HG--
extra : moz-landing-system : lando
2020-03-16 14:53:10 +00:00
Sylvestre Ledru
e9317b451e Bug 1622328 - artifact_commands.py: Add the license r=rstewart
Depends on D66805

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:32:09 +00:00
Artem
3c3a57a026 Bug 1608165 - port profileSelection DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66912

--HG--
extra : moz-landing-system : lando
2020-03-18 09:01:51 +00:00
Francesco Lodolo (:flod)
5b21d08fd3 Bug 1621300 - Remove Fluent migration recipes for Firefox 73 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D66232

--HG--
extra : moz-landing-system : lando
2020-03-18 07:21:34 +00:00
Mike Hommey
646579d57d Bug 1618781 - Use the taskcluster artifact for pdbstr on both Windows native and cross builds. r=froydnj
And make it an explicit dependency of the build system.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 04:21:18 +00:00
Ciure Andrei
19d8351b5f Backed out 2 changesets (bug 1618781) for toolchain bustages CLOSED TREE
Backed out changeset 83026834b242 (bug 1618781)
Backed out changeset ac168e956e3a (bug 1618781)
2020-03-18 05:32:00 +02:00
Mike Hommey
570134e4a8 Bug 1618781 - Use the taskcluster artifact for pdbstr on both Windows native and cross builds. r=froydnj
And make it an explicit dependency of the build system.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 14:01:46 +00:00
Nika Layzell
096611a30f Bug 1622868 - Fix ns*String pretty-printers, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D67009

--HG--
extra : moz-landing-system : lando
2020-03-17 04:51:21 +00:00
Brendan Dahl
a1088aa304 Bug 1566930 - Default to auto install on the various android mach commands. r=gbrown,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D64230

--HG--
extra : moz-landing-system : lando
2020-03-13 20:48:52 +00:00
Sylvestre Ledru
70e97e578f Bug 1622405 - Remove ConEmu r=dmajor
Depends on D66829

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

--HG--
extra : moz-landing-system : lando
2020-03-13 21:15:53 +00:00
Sylvestre Ledru
59307d7c00 Bug 1622405 - Remove MSYS2 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D66829

--HG--
extra : moz-landing-system : lando
2020-03-13 21:14:34 +00:00
Lee Salzman
739b23d170 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-13 18:24:40 +00:00
Ricky Stewart
13aa77e4a5 Bug 1619460 - ensure subsequent runs of ./mach build-backend under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:26 +00:00
Chris Hartjes
1a8f28437c Bug 1560185 - Convert telemetry-tests-client suite from unittest to pytest; r=raphael,ahal,chutten
Differential Revision: https://phabricator.services.mozilla.com/D50116

--HG--
extra : moz-landing-system : lando
2020-03-12 18:14:57 +00:00
Narcis Beleuzu
4437350f38 Backed out changeset 1f0cfca78242 (bug 1619460) perf regression in automation, req by rstewart. CLOSED TREE
--HG--
extra : rebase_source : ef3f1ce03bc9fdedb81d33ede68f9925f447ba32
2020-03-12 19:37:27 +02:00
anjali1903
fa2de4bbc5 Bug 1589610 - Make about:networking fluent IDs have a specific namespace r=valentin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66114

--HG--
extra : moz-landing-system : lando
2020-03-12 07:17:38 +00:00
Ricky Stewart
c90e3b5f8c Bug 1621753 - Fix Python 3 incompatibility in check_binary.py r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D66478

--HG--
extra : moz-landing-system : lando
2020-03-11 20:39:01 +00:00
David Major
8c86c42e0f Bug 1619461 - Enable the new pass manager in clang builds. r=rstewart,glandium
LLVM's new pass manager has been in the works for several years and has better optimization (sometimes much better) than the legacy pass manager. I think it's in good enough shape for us to try at this point.

While we only really need the new pass manager for shippable builds, as a general principle I'd like to use it as much as possible, to help catch bugs for upstream. Therefore this patch enables the new pass manager by default for all clang builds, with the only exceptions being compilers older than version 9, and xcode clang where we can't trust the version number. There isn't a specific problem with older versions; I just don't want to sign up for the support cost of debugging people's local builds that may be fixed already.

I don't expect it to be necessary, but just in case, an opt-out is available via `ac_add_options --disable-new-pass-manager`.

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

--HG--
extra : rebase_source : 91df800146700e4958b8e645ebbd3cf7b11a2f1e
extra : source : 2f5aba2e2c099a1df26e3444ccec2be0b4ff4613
2020-03-11 02:08:37 +00:00
Andreea Pavel
bfc7043d13 Backed out changeset 2f5aba2e2c09 (bug 1619461) for build bustages at testBug1117235.js on a CLOSED TREE 2020-03-11 16:42:42 +02:00
David Major
21170f3a10 Bug 1619461 - Enable the new pass manager in clang builds. r=rstewart,glandium
LLVM's new pass manager has been in the works for several years and has better optimization (sometimes much better) than the legacy pass manager. I think it's in good enough shape for us to try at this point.

While we only really need the new pass manager for shippable builds, as a general principle I'd like to use it as much as possible, to help catch bugs for upstream. Therefore this patch enables the new pass manager by default for all clang builds, with the only exceptions being compilers older than version 9, and xcode clang where we can't trust the version number. There isn't a specific problem with older versions; I just don't want to sign up for the support cost of debugging people's local builds that may be fixed already.

I don't expect it to be necessary, but just in case, an opt-out is available via `ac_add_options --disable-new-pass-manager`.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 02:08:37 +00:00
shindli
8a8793039d Backed out 12 changesets (bug 1612941) for webrender linting bustage CLOSED TREE
Backed out changeset bbb8ec38f354 (bug 1612941)
Backed out changeset cd798d2a0433 (bug 1612941)
Backed out changeset c02c4c5bf7f7 (bug 1612941)
Backed out changeset 2e0c9b9bd507 (bug 1612941)
Backed out changeset ec0fffd12dec (bug 1612941)
Backed out changeset 2d6f65fe6ec0 (bug 1612941)
Backed out changeset dd1a92041bb4 (bug 1612941)
Backed out changeset 3cae17a5ec80 (bug 1612941)
Backed out changeset edfca5676513 (bug 1612941)
Backed out changeset f94d5c7cee41 (bug 1612941)
Backed out changeset 67bba000daba (bug 1612941)
Backed out changeset 60151122db4d (bug 1612941)
2020-03-11 14:28:55 +02:00
Lee Salzman
d2ae8dbd06 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-11 12:16:26 +00:00
shindli
0830b5e7f8 Backed out 12 changesets (bug 1612941) for causing bustages CLOSED TREE
Backed out changeset 29f9f745ff65 (bug 1612941)
Backed out changeset d92e03315f8d (bug 1612941)
Backed out changeset 9b1360daa75a (bug 1612941)
Backed out changeset ad7f43d72b08 (bug 1612941)
Backed out changeset 30b28118362a (bug 1612941)
Backed out changeset 76f80dce8875 (bug 1612941)
Backed out changeset 375896f494ae (bug 1612941)
Backed out changeset bd8ba66dc2ac (bug 1612941)
Backed out changeset 54ec5a6e8e45 (bug 1612941)
Backed out changeset 419105739e53 (bug 1612941)
Backed out changeset c198dedeaa1b (bug 1612941)
Backed out changeset 87ddcdfc5fcf (bug 1612941)
2020-03-11 14:01:26 +02:00
Lee Salzman
9bf1ae5b21 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617

--HG--
extra : moz-landing-system : lando
2020-03-11 11:13:40 +00:00
Mike Shal
2626cb441d Bug 1620744 - Convert jar_maker action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65857

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:47 +00:00
Mike Shal
c2e3a05aa3 Bug 1620744 - Convert dumpsymbols.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65856

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:44 +00:00
Mike Shal
b5ef4a8d81 Bug 1620744 - Convert check_binary.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65855

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:42 +00:00
Mike Shal
091526302b Bug 1620744 - Convert generate_mapfile.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65854

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:34 +00:00
Mike Shal
419f244300 Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65853

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:32 +00:00
Mike Shal
2723002de4 Bug 1620744 - Convert fat_aar.py to py3; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D65849

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:22 +00:00
Mike Shal
81d78a3ca0 Bug 1620744 - Convert generate_symbols_file.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65848

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:17 +00:00
Mike Shal
2b42b650a2 Bug 1620744 - Convert process_define_files.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65847

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:15 +00:00
Mike Shal
4017368b2f Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:13 +00:00
Ben Hearsum
c0a501bb63 No bug: Update vendored copy of tooltool client r=rail
Differential Revision: https://phabricator.services.mozilla.com/D66287

--HG--
extra : moz-landing-system : lando
2020-03-10 19:04:11 +00:00
Daniel Varga
09acd57d19 Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json
CLOSED TREE

Backed out changeset 6beda54bcb9b (bug 1620744)
Backed out changeset a1e97f0b91ef (bug 1620744)
Backed out changeset b8faa0184d4f (bug 1620744)
Backed out changeset 3bc8fda68107 (bug 1620744)
Backed out changeset 8e95b21b2ae3 (bug 1620744)
Backed out changeset 1de09de1a802 (bug 1620744)
Backed out changeset 622a2f7414fa (bug 1620744)
Backed out changeset 3372c9ab721c (bug 1620744)
Backed out changeset 0997313a9f99 (bug 1620744)
Backed out changeset 2fa34749bbfa (bug 1620744)
Backed out changeset 6d597d2eb792 (bug 1620744)
Backed out changeset 78e78f7c7b26 (bug 1620744)
Backed out changeset 6e4d85b19f88 (bug 1620744)
2020-03-10 21:13:18 +02:00
Adam Gashlin
068828be61 Bug 1621070 - Skip BaseRustProgram init when COMPILE_ENVIRONMENT is missing. r=froydnj
Based on the bug 1336153 patch which protected Rust libraries.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 17:51:47 +00:00
Mike Shal
45ba77d509 Bug 1620744 - Convert jar_maker action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65857

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:48 +00:00
Mike Shal
a6b38f31ae Bug 1620744 - Convert dumpsymbols.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65856

--HG--
extra : moz-landing-system : lando
2020-03-10 17:38:05 +00:00
Mike Shal
7e2ee7cfd9 Bug 1620744 - Convert check_binary.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65855

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:43 +00:00
Mike Shal
ed1692cfb3 Bug 1620744 - Convert generate_mapfile.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65854

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:41 +00:00
Mike Shal
d58365f0ce Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65853

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:39 +00:00
Mike Shal
fd97dcb49c Bug 1620744 - Convert fat_aar.py to py3; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D65849

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:29 +00:00
Mike Shal
a55b51c1bf Bug 1620744 - Convert generate_symbols_file.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65848

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:26 +00:00
Mike Shal
3c283ac575 Bug 1620744 - Convert process_define_files.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65847

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:24 +00:00
Mike Shal
a1ea58eb94 Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:22 +00:00
Ricky Stewart
5a39034089 Bug 1619460 - ensure subsequent runs of ./mach build-backend under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-09 22:34:19 +00:00
nemesisBR
257e8f570e Bug 1619956 : Added link to documentation without adding a new command. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D65934

--HG--
extra : moz-landing-system : lando
2020-03-10 10:26:18 +00:00
Andrew Halberstadt
829a13e276 Bug 1601140 - Support line comments in third_party/python/requirements.in, r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D64756

--HG--
extra : moz-landing-system : lando
2020-03-09 13:23:31 +00:00
Makoto Kato
070a000dd4 Bug 1620511 - Make ensure_mobile_android_packages Python3 compatible. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65683

--HG--
extra : moz-landing-system : lando
2020-03-06 17:30:27 +00:00
Mike Hommey
7ef39a5fd8 Bug 1617043 - Track the time spent in fetch-content and mach artifact toolchain. r=rstewart
Note: while we can use time.monotonic in fetch-content, we can't in
mach artifact toolchain yet because it's still python2.

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

--HG--
extra : moz-landing-system : lando
2020-03-07 10:46:14 +00:00
Ricky Stewart
bd01350f97 Bug 1619788 - Ensure files generated by ./mach configure don't have CRLF line endings, even under Python 3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D65354

--HG--
extra : moz-landing-system : lando
2020-03-06 02:19:21 +00:00
Mike Hommey
5da778f6e4 Bug 1617147 - Stop setting check_prog result to : for missing programs. r=nalexander,rstewart
This was cargo culted from the autoconf equivalent, and while it makes a
command that does "$(PROG) foo" work because it becomes ": foo", that
may or may not actually be a desirable outcome.

OTOH, we do have some places where there are some "ifdef PROG" that are
just plain wrong when PROG is always actually set.

One place I do know that does check if the value is not ":" is for
OBJCOPY, which is still set from autoconf.

All in all, looking at all the check_prog(allow_missing=True) we have in
python configure, it doesn't seem anything is checking for ":", and that
doesn't seem like the right status quo.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 21:52:10 +00:00
Simon Fraser
c15cc3a5c0 Bug 1619930 Update python-safety dependencies r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D65328

--HG--
extra : moz-landing-system : lando
2020-03-05 13:48:16 +00:00
Nicholas Nethercote
c22c891c55 Bug 1604095 - Add fix_stacks.py, which uses fix-stacks, and use it in DMD. r=gsvelto
On Linux and Mac, this makes `dmd.py` *much* faster when it is first run on a
DMD data file.

On Windows, this makes DMD actually usable locally. Previously the stacks
weren't fixed and so were rubbish.

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

--HG--
extra : moz-landing-system : lando
2020-03-05 00:24:23 +00:00
Nicholas Nethercote
62a87c4bd1 Bug 1604095 - Install fix-stacks in mach bootstrap. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D64529

--HG--
extra : moz-landing-system : lando
2020-03-05 00:23:40 +00:00
Geoff Brown
dc64cf08e6 Bug 1619586 - Major version bump for mozlog and mozcrash; r=bc,marionette-reviewers,perftest-reviewers,jgraham,whimboo
Major version number bump for both mozlog and mozcrash + requirements update.
This is very much like the previous mozlog major bump - see bug 1591384.
This patch does not update testing/web-platform/tests/tools/wptrunner/requirements.txt;
I expect that will be automatically updated by the pyup.io bot once mozlog is re-released.

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

--HG--
extra : moz-landing-system : lando
2020-03-04 00:32:38 +00:00
Divya Rani
427ae6c5f6 Bug 1619280 - Port warnings-summary [mach] to Python 3.r=championshuttler,firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D64951

--HG--
extra : moz-landing-system : lando
2020-03-03 19:18:52 +00:00
Ben Hearsum
81dd219ee4 No bug: Update tooltool client to latest upstream version. r=rail
Differential Revision: https://phabricator.services.mozilla.com/D65139

--HG--
extra : moz-landing-system : lando
2020-03-03 16:42:10 +00:00
Ricky Stewart
f99df6b4fe Bug 1619408 - Make remaining tweaks to build system code to allow running ./mach build with Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D65017

--HG--
extra : moz-landing-system : lando
2020-03-02 21:33:48 +00:00
Mark Banner
58ef4b8178 Bug 1612077 - Use parallel directory processing for Lint when no path is specified or a support file is touched. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D61219

--HG--
extra : moz-landing-system : lando
2020-03-02 21:51:58 +00:00
Narcis Beleuzu
0543d20741 Backed out changeset 8b2c3a0fa051 (bug 1612077) lint failures on test_support_files.py. CLOSED TREE 2020-03-02 19:38:08 +02:00
Mark Banner
02ccafc74c Bug 1612077 - Use parallel directory processing for Lint when no path is specified or a support file is touched. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D61219

--HG--
extra : moz-landing-system : lando
2020-03-02 15:02:23 +00:00
Tarek Ziadé
71814e3255 Bug 1618390 - Use mozlog in condprof r=whimboo
This patch refactors the condprof logging so it uses mozlog

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

--HG--
extra : moz-landing-system : lando
2020-02-28 16:27:40 +00:00
Mike Hommey
6fdc4fe0c3 Bug 1618775 - Uniformize preprocessor-inserted paths between platforms. r=froydnj
The preprocessor adds line markers in preprocessed files with line
numbers and file they came from. Bug 1528892 changed those markers
to be independent of the topobjdir and topsrcdir, by replacing them
with $OBJDIR and $SRCDIR, respectively.

This goes further, making these paths always use forward-slash, and
never backwards-slash, making the preprocessed files identical whether
the build occurred on Windows or Unix. (well, except when building
for different targets for target-specific sections)

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

--HG--
extra : moz-landing-system : lando
2020-02-28 12:31:49 +00:00
Mike Shal
5701a85794 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-02-28 20:56:31 +00:00
Mihai Alexandru Michis
45d339f5d6 Backed out changeset 9b60a11f4550 (bug 1612077) for causing failures in mozlint/test/test_roller.py 2020-02-28 16:18:12 +02:00
Mark Banner
4948a30dbf Bug 1612077 - Use parallel directory processing for Lint when no path is specified or a support file is touched. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D61219

--HG--
extra : moz-landing-system : lando
2020-01-31 12:45:12 +00:00
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