Commit Graph

5728 Commits

Author SHA1 Message Date
Ricky Stewart
95f6c98906 Bug 1623982 - Fix performance of indented_repr in Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67688
2020-03-25 19:40:06 +00:00
Nathan Froyd
a163b5a180 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
2020-03-25 15:20:37 +00:00
Anthony Ramine
ca26644061 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
2020-03-23 16:32:07 +00:00
Artem
2338200b24 Bug 1609555 - Migrate sidebar menu DTD to fluent r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D67784
2020-03-24 19:25:55 +00:00
Artem
a29b200c72 Bug 1608197 - port createProfileWizard DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D62867
2020-03-24 16:35:16 +00:00
Geoff Brown
5a4ed526b1 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
2020-03-24 14:55:28 +00:00
Ricky Stewart
8c8cdc3305 Bug 1623765 - mach watch supports Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D67927
2020-03-23 21:34:16 +00:00
Magnus Melin
d6a731ab22 Bug 1621633 - make ./mach fluent-migration-test work for other apps too, like Thunderbird. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D66909
2020-03-20 16:49:42 +00:00
Steve Fink
d3913d9ab7 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
2020-03-22 22:12:18 +00:00
Steve Fink
4a62f6a23c Bug 1621322 - mozversioncontrol: pre-existing bug fix, do not run git test under hg r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D67584
2020-03-22 22:11:55 +00:00
Sylvestre Ledru
d2c4c26557 Bug 1623320 - Add support to run mozlint on dotfile r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D67316
2020-03-20 21:51:03 +00:00
Rob Lemley
4472423dc4 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
2020-03-20 17:12:27 +00:00
Andrew Halberstadt
cd11ea37cb Bug 1623655 - [mach] Set 'ArgumentParser.prog' properly for external parsers, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D67500
2020-03-20 13:56:42 +00:00
Andrew Halberstadt
ff73bd6c1e 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
2020-03-19 14:47:34 +00:00
Andrew Halberstadt
8cde637a6c 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
2020-03-19 18:06:41 +00:00
Andrew Halberstadt
b7556ed1a0 Bug 1623656 - [mozlint] Make output of ./mach lint --list readable, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67501
2020-03-19 18:06:41 +00:00
Ricky Stewart
c7c722906f Bug 1622529 - Don't install removed Python 2 packages on Ubuntu 20.04 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D67405
2020-03-19 17:10:53 +00:00
Geoff Brown
114f36652f Bug 1622789 - Remove mozversioncontrol dependency on distutils; r=ahal
Use mozfile.which instead of distutils.

Differential Revision: https://phabricator.services.mozilla.com/D67194
2020-03-18 17:12:14 +00:00
Andrew Halberstadt
29ec66bfed Bug 1623339 - [mozlint] Add a test for pathutils.expand_exclusions, r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D67334
2020-03-18 17:02:27 +00:00
Sylvestre Ledru
e8bda322b3 Bug 1622328 - export_telemetry_schema.py: Add the license r=Callek
Depends on D66806

Differential Revision: https://phabricator.services.mozilla.com/D66807
2020-03-16 14:53:10 +00:00
Sylvestre Ledru
5cdaf20b4b Bug 1622328 - artifact_commands.py: Add the license r=rstewart
Depends on D66805

Differential Revision: https://phabricator.services.mozilla.com/D66806
2020-03-13 21:32:09 +00:00
Artem
8053c673d2 Bug 1608165 - port profileSelection DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66912
2020-03-18 09:01:51 +00:00
Francesco Lodolo (:flod)
5375eed921 Bug 1621300 - Remove Fluent migration recipes for Firefox 73 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D66232
2020-03-18 07:21:34 +00:00
Mike Hommey
766875d32e 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
2020-03-18 04:21:18 +00:00
Ciure Andrei
71659472e7 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
309b618691 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
2020-03-17 14:01:46 +00:00
Nika Layzell
9ec3753731 Bug 1622868 - Fix ns*String pretty-printers, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D67009
2020-03-17 04:51:21 +00:00
Brendan Dahl
603520b784 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
2020-03-13 20:48:52 +00:00
Sylvestre Ledru
30780e8082 Bug 1622405 - Remove ConEmu r=dmajor
Depends on D66829

Differential Revision: https://phabricator.services.mozilla.com/D66830
2020-03-13 21:15:53 +00:00
Sylvestre Ledru
caa7c8e178 Bug 1622405 - Remove MSYS2 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D66829
2020-03-13 21:14:34 +00:00
Lee Salzman
e15a593d74 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617
2020-03-13 18:24:40 +00:00
Ricky Stewart
84a2cecb50 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
2020-03-12 21:05:26 +00:00
Chris Hartjes
116557c7a0 Bug 1560185 - Convert telemetry-tests-client suite from unittest to pytest; r=raphael,ahal,chutten
Differential Revision: https://phabricator.services.mozilla.com/D50116
2020-03-12 18:14:57 +00:00
Narcis Beleuzu
4c9d60a005 Backed out changeset 1f0cfca78242 (bug 1619460) perf regression in automation, req by rstewart. CLOSED TREE 2020-03-12 19:37:27 +02:00
anjali1903
dec7c30b90 Bug 1589610 - Make about:networking fluent IDs have a specific namespace r=valentin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66114
2020-03-12 07:17:38 +00:00
Ricky Stewart
35c7652218 Bug 1621753 - Fix Python 3 incompatibility in check_binary.py r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D66478
2020-03-11 20:39:01 +00:00
David Major
6983111d15 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
2020-03-11 02:08:37 +00:00
Andreea Pavel
f38f9326dd 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
7ab9b71133 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
2020-03-11 02:08:37 +00:00
shindli
de35627d4d 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
523b049ffb Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617
2020-03-11 12:16:26 +00:00
shindli
9c6d291ef4 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
bea55b70e2 Bug 1612941 - vendor SWGL's rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D65617
2020-03-11 11:13:40 +00:00
Mike Shal
14a6db8df4 Bug 1620744 - Convert jar_maker action to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65857
2020-03-10 20:19:47 +00:00
Mike Shal
300b41dc33 Bug 1620744 - Convert dumpsymbols.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65856
2020-03-10 20:19:44 +00:00
Mike Shal
44e1ca932b Bug 1620744 - Convert check_binary.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65855
2020-03-10 20:19:42 +00:00
Mike Shal
9925ba2d2e Bug 1620744 - Convert generate_mapfile.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65854
2020-03-10 20:19:34 +00:00
Mike Shal
c196808488 Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65853
2020-03-10 20:19:32 +00:00
Mike Shal
2d900c7d6a Bug 1620744 - Convert fat_aar.py to py3; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D65849
2020-03-10 20:19:22 +00:00
Mike Shal
72aaa743bc Bug 1620744 - Convert generate_symbols_file.py to py3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65848
2020-03-10 20:19:17 +00:00