Commit Graph

3686 Commits

Author SHA1 Message Date
Tiberius Oros
d88803e487 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Tiberius Oros
cd4eeec67c Merge autoland to mozilla-central. a=merge 2018-01-17 23:46:17 +02:00
Ryan VanderMeulen
f1e69cacb1 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)
2018-01-17 15:55:38 -05:00
Dustin J. Mitchell
f8b70fda23 Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P
2018-01-16 22:33:08 +00:00
Michael Froman
6bd277e02b Bug 1415922 - "Stylo packages not installed during mach bootstrap if .hgrc file has alias for log set to log -G" [r=gps] 2018-01-11 07:27:00 +02:00
Noemi Erli
aaef80e91f Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Dustin J. Mitchell
4c0f5203b5 Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P
2018-01-16 22:33:08 +00:00
Tiberius Oros
aa165e4d7c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-18 00:31:28 +02:00
Tom Prince
0b748ec8fe Bug 1430823: Pass in Parameters to load_kinds in mach artifact toolchain; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D409
2018-01-17 12:02:42 -07:00
Dustin J. Mitchell
924fdd14e9 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Dustin J. Mitchell
451e3b63c2 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Ralph Giles
c434f104ed Bug 1430933 - mozboot: Start with rustup 1.9.0. r=gps
When bootstraping the development environment on a machine without
rustup installed, download and install rustup version 1.9.0,
released 2018 January 4, instead of the older 1.5.0.

This saves a self-upgrade step in the short term and reduces the
chance of lost support failures in the long term.

MozReview-Commit-ID: H8ouRszLMsP
2018-01-16 15:11:51 -08:00
Julien Wajsberg
3dfa593655 Bug 1429094 - Define the environment variable HGRCPATH to ignore any .hgrc that may exist r=gps
By ignoring existing .hgrc we make sure we don't try to load extensions
and have a consistent output. Especially we won't have error messages
that could confuse us into extracting a wrong version number.

MozReview-Commit-ID: FwrfcbY8QpN
2018-01-09 16:48:24 +01:00
Julien Wajsberg
1e38ef1f95 Bug 1429096 - Bump the minimal mercurial version to be considered modern r=gps
This version needs to stay synchronized with version-control-tools.

MozReview-Commit-ID: BN4h9XOntjD
2018-01-10 19:21:43 +01:00
Gabriele Svelto
a9e98569ad Bug 1430788 - Fix the 'nodejs' package name when bootstraping on Gentoo; r=nalexander
MozReview-Commit-ID: 3NzJezE1cVV
2018-01-16 16:58:31 +01:00
Nick Alexander
7dcdfdb7b9 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH
2017-10-26 11:00:36 -07:00
Nick Alexander
122d1ab1b5 Bug 1411654 - Pre: Gradle is no longer experimental; IntelliJ not supported. r=maliu
IntelliJ should still work, but we're committed to Android Studio at
this point.

MozReview-Commit-ID: 3BaXB4dh4vA
2017-11-15 13:36:02 -08:00
Dorel Luca
338957886c Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)
2018-01-13 15:17:49 +02:00
Dustin J. Mitchell
bc3096cf92 Bug 1407163: raise exceptions with HTTP error info; r=glandium
MozReview-Commit-ID: B3MvsZDpj9a
2018-01-12 17:19:58 +00:00
Nick Alexander
0c59d23325 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH
2017-10-26 11:00:36 -07:00
Nick Alexander
30e3c1e12b Bug 1411654 - Pre: Gradle is no longer experimental; IntelliJ not supported. r=maliu
IntelliJ should still work, but we're committed to Android Studio at
this point.

MozReview-Commit-ID: 3BaXB4dh4vA
2017-11-15 13:36:02 -08:00
Andrew Halberstadt
857f1797a0 Bug 1403012 - Fix TypeError when running python unittests via |mach test|, r=gbrown
Mach test now creates a structured logger and passes it down into all
of the various test harnesses. Except |mach python-test| doesn't use
structured logging yet, so the argument is not expected.

For now, just accept **kwargs and ignore the logger. Eventually we'll
want to get python tests to use structured logging, and we can use it
at that point.

MozReview-Commit-ID: 8LwdbgI0vqR
2018-01-12 11:22:58 -05:00
Margareta Eliza Balazs
a773d5e139 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Dustin J. Mitchell
cb2823906c Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Tim Nguyen
e0347f3526 Bug 1428938 - Remove legacy toolbar customization code. r=Gijs
MozReview-Commit-ID: 1ppfxI7yYJW
2018-01-11 16:35:17 +00:00
Sylvestre Ledru
ee2a7f050d Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX
2018-01-10 08:55:38 +01:00
Andrew Halberstadt
574920bfb2 Bug 1429158 - Ensure 'six' and 'mozterm' are available from the one-click-loaner mach environment, r=jmaher
Mach itself now depends on 'six', so it needs to be packaged in the test archive.

MozReview-Commit-ID: 8lWc0cxwrss
2018-01-09 14:29:45 -05:00
Narcis Beleuzu
3159c52c9b Backed out 2 changesets (bug 1396582) for build bustage "ImportError: No module named which". r=backout a=backout on a CLOSED TREE
Backed out changeset a677efcd8768 (bug 1396582)
Backed out changeset 4e81669959ed (bug 1396582)
2018-01-09 22:45:50 +02:00
Gregory Szorc
67f3d25b5b Bug 1396582 - Remove __main__ from mozbuild.virtualenv; r=nalexander
I'm pretty certain nobody relies on this any more. The original
use of this code was to support virtualenv creation in configure.
Now that configure is written in Python and that Python code calls
out to the VirtualenManager API directly, this wrapping code isn't
used.

MozReview-Commit-ID: Cii1GjVOGaA
2018-01-08 15:49:16 -08:00
Gregory Szorc
5a6879494f Bug 1396582 - Move Python version checking to moz.configure; r=nalexander
The Python version validation in virtualenv.py is only called in 2
locations: `python -m mozbuild.virtualenv` and in moz.configure.

I believe that nobody calls `python -m mozbuild.virtualenv` any more.
That means that moz.configure is the only caller of
verify_python_version(). That means we can inline the logic into
moz.configure.

It makes sense for version checking to live in moz.configure because
the role of moz.configure is to evaluate the sanity of the environment.
So this commit does just that.

MozReview-Commit-ID: 7FLL0cGblFS
2018-01-08 15:46:35 -08:00
Gregory Szorc
b456405afd Bug 1426566 - Make -v an alias to --verbose for mach python-test; r=froydnj,nalexander
This alias is super common. It exists for other mach commands. Seems
useful to have for consistency.

MozReview-Commit-ID: 3gBvIHcMEZs
2018-01-05 14:19:33 -08:00
Dustin J. Mitchell
361208e156 Bug 1426255: combine Files:SCHEDULES correctly; r=gps
When multiple SCHEDULES are set for the same file (for example in different
files), combine them in a sensible way: the union of inclusive components, and
whichever has set its exclusive components.

Two conflicting assignments to SCHEDULES.exclusive is considered an error.  We
might relax this situation later if a sensible answer can be determined.  Note
that this error will only be detected when a reader consults the relevant file.

MozReview-Commit-ID: A49L9ISZXOE
2017-12-19 23:58:17 +00:00
Ciure Andrei
f93328fdbe Backed out changeset e4ca69cab96a (bug 1426255) for bustage failures on /python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules r=backout a=backout on a CLOSED TREE 2018-01-08 23:34:50 +02:00
Dustin J. Mitchell
b8de24f28b Bug 1426255: combine Files:SCHEDULES correctly; r=gps
When multiple SCHEDULES are set for the same file (for example in different
files), combine them in a sensible way: the union of inclusive components, and
whichever has set its exclusive components.

Two conflicting assignments to SCHEDULES.exclusive is considered an error.  We
might relax this situation later if a sensible answer can be determined.  Note
that this error will only be detected when a reader consults the relevant file.

MozReview-Commit-ID: A49L9ISZXOE
2017-12-19 23:58:17 +00:00
Dustin J. Mitchell
5aac8cbe3f Bug 1403322: Switch jsreftests, jittests, test-verify to SCHEDULES; r=ahal
..and remove support for when.files-changed in the test kind.  It is still used
for other kinds, and that will be addressed in other bugs.

This is re-landing of this bug, now without running test-verify excessively.

MozReview-Commit-ID: GBilXAktICZ
2017-12-20 00:39:21 +00:00
Sebastian Hengst
e969e89952 Bug 1427398 - building language packs shouldn't require all l10n changesets to be already public. r=gps
MozReview-Commit-ID: 2zH9Ja9POLj
2017-12-30 01:31:35 +01:00
Ted Mielczarek
dba323bbd3 bug 1401647 - use a 64-bit Rust toolchain for win32 builds. r=nalexander,rillian
We currently use a 32-bit Rust toolchain for win32 builds, but this can lead
to OOM situations. This patch makes win32 builds use a 64-bit Rust toolchain,
which requires a little bit of extra configuration because rustc needs to
be able to find a link.exe that produces 64-bit binaries for building
things like build scripts, which are host binaries.

We will now generate a batch file that sets LIB to the paths to 64-bit
libraries and invokes the x64-targeting link.exe, and add a section to the
.cargo/config file to instruct cargo to use that batch file as the linker
when producing 64-bit binaries.

MozReview-Commit-ID: 9vKBbm7Gvra
2017-12-14 10:20:33 -06:00
Mark Banner
7c567b3441 Bug 1424921 - Support Lint dependencies in bootstrap. r=froydnj
- Add node as a dependency on Linux and Mac
- Add python3 for Mac only (linux generally has it installed already).

MozReview-Commit-ID: EpNWFTI9UXc
2018-01-03 21:11:44 +00:00
Margareta Eliza Balazs
acf78652f9 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2018-01-04 10:07:11 +02:00
Mike Hommey
9b2ce4e9a9 Bug 1427468 - Allow to run mach python without a virtualenv. r=nalexander
Sometimes, one just wants to run a one-off script with access to all
(or most) the libraries available like mozbuild, etc. but without
the weight of the whole virtualenv, which implies having an objdir
setup, etc.

One of my use cases is to run our preprocessor before the objdir is even
setup, and I'd rather not have one automatically created.
2017-12-31 15:50:29 +09:00
Mike Hommey
a666b96be9 Bug 1427466 - Allow mach clobber python to work without an objdir. r=nalexander 2017-12-31 15:38:34 +09:00
Andrew Halberstadt
da5ee7d8a0 Bug 1421799 - [test_archive] Add 'mozterm' to common.tests.zip r=gbrown
This makes sure the mozterm module is available to the testers. The
setup.py was needed to it could be installed from requirements.txt.

This module does not yet live on pypi.

MozReview-Commit-ID: 9AL0EZ1uVgL
2017-12-15 16:51:30 +00:00
Zibi Braniecki
d5a8009b3a Bug 1411012 - Migrate a small chunk of Privacy pane in Preferences to Fluent. r=mshal,Pike
MozReview-Commit-ID: ahAZCinoui
2017-11-09 12:11:32 -08:00
Sebastian Hengst
5199c70807 Backed out 5 changesets (bug 1421799) for failing firefox ui functional tests. r=backout on a CLOSED TREE
Backed out changeset f9f32474fdaf (bug 1421799)
Backed out changeset 18b4fa241936 (bug 1421799)
Backed out changeset 88dca5c8cfac (bug 1421799)
Backed out changeset 8c1f1ab754a5 (bug 1421799)
Backed out changeset e028f677bc80 (bug 1421799)
2018-01-03 20:21:28 +02:00
c68b23e9cf Bug 1421799 - [test_archive] Add 'mozterm' to common.tests.zip r=gbrown
This makes sure the mozterm module is available to the testers. The
setup.py was needed to it could be installed from requirements.txt.

This module does not yet live on pypi.

MozReview-Commit-ID: 9AL0EZ1uVgL
2017-12-15 16:51:30 +00:00
Mike Hommey
00cfebcca3 Bug 1427450 - bootstrap: Don't install mesa, libiw and libnotify development files. r=froydnj
mesa is not necessary as of bug 938489 (there was even a bootstrap patch
that never landed)
libiw is not necessary as of bug 799391.
libnotify is not necessary as of bug 783765.
2017-12-31 09:15:44 +09:00
Pierre Bertran
b4bcc32ffa Bug 1427790 - Ensure that Java8 is bootstrapped on Mac to maintain Android SDK compatibility. r=nalexander 2018-01-03 08:32:00 -05:00
Makoto Kato
31a1a6e78f Bug 1397776 - Removing armv6 config support for Android. r=glandium
We no longer support Android/armv6 and we requires NEON for Android/arm, so
we can remove armv6 support for Android.

MozReview-Commit-ID: Hh17BTyE0wR
2017-12-15 16:32:54 -06:00
Tom Prince
b0724a4cbb Bug 1426528: Get rid of support for BRANDING_FILES in moz.build; r=glandium
MozReview-Commit-ID: 72R6toOA1R0
2017-12-20 15:42:05 -07:00
Tom Prince
c70b14d8cb Bug 1426528: Pass paths to extra dmg files explicitly when packing; r=glandium
MozReview-Commit-ID: FKwZcNycUW8
2017-12-21 13:38:35 -07:00