Commit Graph

3257 Commits

Author SHA1 Message Date
Nathan Froyd
6a25f52bd6 Bug 1411680 - fix clang toolchain downloaded by mach bootstrap on Linux; r=nalexander
We renamed this toolchain a while back, but never updated bootstrap.
2017-10-25 15:10:31 -04:00
Jonathan Watt
04cefe5bfc Bug 1411546 - Make Eclipse CDT handle .jsm and .xul files. r=botond 2017-10-25 17:30:39 +01:00
Attila Craciun
7bcf901c3b Merge inbound to mozilla-central r=merge a=merge 2017-10-25 12:30:28 +03:00
Geoff Brown
97898a02d1 Bug 1410911 - Only run test-verify when certain file types are changed; r=dustin
When first introduced, test-verify was only run when .js/.html/.xul/.xhtml files
were changed. Recently, it seems to run on every push. This is a speculative fix:
There may be confusion between "test-verify" and "test-verification" so I am
using "test-verify" consistently.
2017-10-24 15:17:27 -06:00
Ralph Giles
cdae0e4453 Bug 1411073 - av1: Log the output of generate_sources_mozbuild.sh. r=mshal
By default, run_process() eats the output of the child process,
which means when it fails we get an exception about the return
code, but none of the error messages the script printed, with
makes the cause of failure opaque.

Resolve this by passing a log_name parameter, which will cause
the default line_handler to pass all lines of output to the
local logging instance, by default at the INFO level.

MozReview-Commit-ID: FIVRggeKT4f

--HG--
extra : rebase_source : 813f578aeb1801a9508eb0cb1cd5e9ca1429148e
2017-10-23 14:15:11 -07:00
Sebastian Hengst
24b7b2eb7c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 23:59:14 +02:00
Mike Hommey
bf5c85e4ef Bug 1411156 - Set MOZ_DEBUG globally as both a CONFIG and a #define. r=mshal
Bug 1365460 introduced code paths behind MOZ_DEBUG #ifdefs, but
MOZ_DEBUG is never defined, while it is available in CONFIG in
moz.builds. This is kind of a confusing situation, but the fact that
we've been able to avoid those problems for so long would tend to
put the blame on mozjemalloc, and fixes should go there.

Except that bug 1261161 explains that the only existing alternative
(the DEBUG #define), as used in MFBT, is not working for spidermonkey,
so it actually makes sense to converge to MOZ_DEBUG rather than DEBUG.

So start defining MOZ_DEBUG globally, fixing the mozjemalloc issues of
not having the debug code enabled. Bug 1261161 can then take care of
changing the DEBUG #ifdefs.

--HG--
extra : rebase_source : 37e3d03ac8350c62c8059d4ca01d1ecfdf5f421a
2017-10-24 14:07:37 +09:00
Gabriele Svelto
d2bf4663bd Bug 1411196 - Make |mach bootstrap| on Gentoo use the latest version of Oracle's JDK for Fennec builds; r=froydnj
MozReview-Commit-ID: 7bUtundkBZU

--HG--
extra : source : dc1e64ab4995a17b52181ab703d9e0f5aea71d75
2017-10-24 11:15:16 +02:00
Gregory Szorc
a544b0acf2 Bug 1410969 - Add support for writing JSON from mach file-info; r=ahal
The feature should be pretty self-explanatory. It will enable easier
machine readable output.

MozReview-Commit-ID: GK148VCcNjm

--HG--
extra : rebase_source : ae5b241f275cfe3038ec202c080796270465c770
2017-10-23 11:01:00 -07:00
Gregory Szorc
1ac035d512 Bug 1410969 - Properly resolve wildcards in mach file-info; r=ahal
I likely regressed this as part of e9416a307987 (bug 1397406).

Before this change, '*' in filenames didn't work.

MozReview-Commit-ID: 33m83H6UTZ

--HG--
extra : rebase_source : 5732cd2b7f4851c6cd564c8dcbd7d303fbad570b
2017-10-23 10:49:55 -07:00
Sebastian Hengst
350e485aec Backed out changeset 106f4a9da29f (bug 1411196) for flake8 linting failure at python/mozboot/mozboot/gentoo.py:55: line too long. r=backout
--HG--
extra : amend_source : fc2ad36ae25b119efab6f1123ae8cf5a7c485a24
2017-10-24 15:33:14 +02:00
Gabriele Svelto
09786859d6 Bug 1411196 - Make mach bootstrap use the latest version of Oracle's JDK when building fennec; r=froydnj
MozReview-Commit-ID: 7bUtundkBZU

--HG--
extra : rebase_source : d45f6a26e37d66782bca622da739add62c005d50
2017-10-24 11:15:16 +02:00
Zibi Braniecki
095e0cb367 Bug 1410451 - Do not merge en-US file for missing .ftl file in JarMaker. r=mshal
MozReview-Commit-ID: DxDAKGC7NKm

--HG--
extra : rebase_source : 799cf98c6e6a6e658d56cd7568457b97c1ade05c
2017-10-20 09:12:29 -07:00
Xidorn Quan
da57ee4877 Bug 1403407 - Require cargo-vendor 0.1.12 to remove .cargo-ok. r=gps
MozReview-Commit-ID: 2LhIUMOvkRL

--HG--
extra : rebase_source : eb9eb30740cfcd88e0b16cab909b1ef7b599f0f6
2017-10-01 21:32:50 +11:00
Steve Armand
2f063d0a37 Bug 1410752 - MacPorts in bootstrap.py is out of date, and fails on Sierra and High Sierra r=gps
MozReview-Commit-ID: gNjwQ26sZh

--HG--
extra : rebase_source : e0e6ab8e2e69afeeb4483d0c84e4155db92f35a6
2017-10-22 21:40:29 -04:00
Andrew Halberstadt
6e3d5384d5 Bug 1410454 - Fix ImportError regression in mozboot, r=nalexander
This fixes a regression from bug 1408365. Ideally these imports would
be defined at the top of the file, then the py2 linter would have caught
them. Even more ideally, mozboot would have some tests that hit these
code paths.

MozReview-Commit-ID: BWvIwAdUBF4

--HG--
extra : rebase_source : 6472f730a5cd12aa98af7a21f958d1ad2400f995
2017-10-20 14:31:47 -04:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Geoff Brown
4d79215673 Bug 1390606 - Include emulator in android sdk installation from 'mach bootstrap'; r=nalexander 2017-10-18 15:30:43 -06:00
Blake Kaplan
3fa965430b Bug 1406212 - Remove references to extensions.e10sBlocksEnabling. r=Felipe
MozReview-Commit-ID: 11q3Go0IkPh

--HG--
extra : rebase_source : fdcf714d18effc964191665eb8422305bda92b65
2017-10-16 13:52:48 -07:00
Nick Alexander
ca7be79cec Bug 1406572 - Install Proguard JAR as part of |mach bootstrap|. r=rillian
I think we're approaching an inflection point for the bootstrapper,
one where it no longer is possible to bootstrap without a source
checkout.  For now, however, let's just do the simplest thing and
install the Proguard JAR along the happy path.

MozReview-Commit-ID: xUY37eE6oR

--HG--
extra : rebase_source : 31549ab3b6d662d84761c2a260cd236a5809c8ac
2017-10-17 15:48:32 -07:00
Nick Alexander
af26e68984 Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu
The goal is to use a newer Android-Gradle build plugin version (2.3.3
is latest stable).  That requires a modern Gradle (anything 3.3+, but
3.4.1 is the default from my Android Studio), and also a newer
build-tools (25.0.3 is latest stable).

The locations of lint output changed, and we want to use the standard
output location because it's difficult to accommodate variant details
in custom names.  We change the location of findbugs output to follow
suit.

This requires either:

- fixing lint errors
- adding to the lint whitelist
- using the new lint baseline

It's best to use the new lint baseline, which will happen in the next commit.

MozReview-Commit-ID: D19FzIDCJrE

--HG--
extra : rebase_source : 12d132c0c3e0dbe2b8873b31360ea96d612de44c
2017-10-16 15:09:15 -07:00
Jonathan Watt
a13d2f1feb Bug 1409121 - Include the generated WebIDL and IPDL source files in Eclipse CDT. r=botond DONTBUILD NPOTB
MozReview-Commit-ID: Er2rCZs45N3

--HG--
extra : rebase_source : b10e2a66feae29380fe321d83d28586e474e5846
2017-09-29 20:07:40 +01:00
Jonathan Watt
d52de87818 Bug 1408795 - Disable Eclipse CDT's binary parser. r=botond DONTBUILD NPOTB
By default Eclipse CDT will scan the source tree for binaries so that it can
add those binaries to the list of things that it can run.  This scanning is a
constant interuption and can last several seconds.  Besides that, it's
currently useless for our setup since the only binaries that we're interested
in running are in the object directory (which it doesn't scan), and those are
set up during project generation.  (The only binaries found in the source tree
are a couple of uninteresting bundled libraries.)

CLOSED TREE

MozReview-Commit-ID: 2WaH8qceALq
2017-09-28 11:10:43 +01:00
Jonathan Watt
35625e155f Bug 1408795 - Disable Eclipse CDT's "scalability" mode for files with fewer than 15,000 lines. r=botond
By default, scalability mode is activated for files with 5,000 lines or more.
There are quite a few C++ files with more than 5,000 lines, and Eclipse seems
to work fine with them with scalability mode turned off (even
nsCSSFrameConstructor.cpp which is over 13,000 lines long).  Increasing the
number of lines before scalability mode is enabled allows Eclipse to handle
these files better.

MozReview-Commit-ID: 8mGYIHStHes
2017-09-28 10:57:30 +01:00
Jonathan Watt
a6c2da4491 Bug 1408795 - Have Eclipse CDT treat Objective-C files as C++. r=botond
Without this setting, eclipse will refuse to open Objective-C files (it will
defer to an external editor).  Adding *.mm to the file types that are treated
as C++ allows Eclipse to open them, and to provide some code assistance for
the bits of the files that it can understand.

MozReview-Commit-ID: ASeXesWxY4g
2017-09-28 10:36:53 +01:00
Jonathan Watt
c8b6a31ed6 Bug 1408795 - Enable Eclipse CDT's "Refresh using native hooks or polling" setting. r=botond
This setting allows Eclipse to notice when files it has open are changed
externally (such as by hg/git, for example).  It can then update the contents
that it has for the open files, avoiding annoying issues such as saving changes
after an `hg pull -u` resulting in either "Resource is out of sync" errors or
else clobbering of the changes hg made to files.

MozReview-Commit-ID: 8WmewM7lbHe
2017-09-28 10:12:47 +01:00
Jonathan Watt
2673974e60 Bug 1408795 - Prevent Eclipse CDT's blocking "Welcome" screen from showing on startup. r=botond
The blocking Welcome screen is quite confusing for a new user. It is not clear
where to find the Mozilla stuff they expect to see when opening Eclipse, or
that the user needs to close the entire content area to get to it. Besides that
the screen isn't very useful for Mozilla people who will find more relevant
help from searching the online documentation, and who won't be creating new
projects in the generated workspace, etc.

MozReview-Commit-ID: 8YssnonAR1d
2017-09-28 09:53:08 +01:00
Jonathan Watt
a95425e42c Bug 1408795 - Turn off Eclipse CDT's "Ensure newline at the end of file" setting. r=botond
The setting to ensure that there is a newline at the end of files when they
are saved is very annoying.  Besides adding unnecessary and unexpected cruft
to diffs, some parts of the codebase (some of the reftest directories for
example) have a policy of NOT having a newline at the end of their files.

MozReview-Commit-ID: IjIYxDsKS13
2017-09-28 09:37:10 +01:00
Jonathan Watt
c0331fe643 Bug 1408810 - Get the Eclipse CDT code formatter working again. r=botond
This makes us write the code formatter settings into the workspace settings
directory instead of the project settings directory.  This is preferable
since when users make settings changes they are more likely to work with the
workspace settings, so we should put them there.  Putting them there also
fixes a bug whereby the calls to _write_noindex/_remove_noindex would
overwrite the formatter settings file shortly after it had been created.

To get the formatter to show up in the UI we also need to set the formatter
settings as a one line pref value in the CDT UI settings.  This duplication
is what Eclipse does when a new formatter is manually added, and it's
necessary to get the formatter working correctly.

MozReview-Commit-ID: KP4w0VbNCF7
2017-09-27 19:43:16 +01:00
Steve Armand
82b69a173f Bug 1408365 - Enable flake8/py2/py3 linters on python/mozboot. r=ahal
MozReview-Commit-ID: 3koZq509bjP

--HG--
extra : rebase_source : 9accfc2b727fd7c1f4fad97d1a244d62f4fae714
2017-10-13 23:33:00 -04:00
Ralph Giles
5bbd8ade03 Bug 1408565 - mozboot: Upgrade to rust 1.21.0. r=nalexander
We expect to start requiring rust 1.21 soon, so have
./mach bootstrap upgrade users to it to consolidate
churn between now and then.

MozReview-Commit-ID: HEnXm25duUr

--HG--
extra : rebase_source : d05071ee5c2852eb69da22e80623f21ca8c6f7cb
2017-10-13 14:11:01 -07:00
Mike Hommey
400434c402 Bug 1408224 - Avoid confusing errors in automation logs when failing to purge toolchain cache. r=mshal
For some reason, Windows builders are setup in a way that prevents a
task from purging the toolchain cache of old files. Until that is
figured out and fixed, all the error message related to that achieves is
confuse people because the treeherder Failure Classification tab shows
them first. Practically speaking, the error doesn't prevent anything
from working properly. The worst that can happen is disk space running
out because of the toolchain cache being filled up, which would lead to
actual errors.

As the error happens on very many windows build, that leads to a lot of
errors being bucketed on bug 1391811, while they may well be varying
unrelated issues.

It also leads to people thinking their try builds fail because of that,
when they aren't (e.g. bug 1408212).

--HG--
extra : rebase_source : e25fc99db8e0920cfa238d0f78f15c78e140e3ec
2017-10-13 09:15:55 +09:00
Mike Hommey
0914d9c689 Bug 1408317 - Take endianness into consideration when looking for rust target. r=froydnj
--HG--
extra : rebase_source : 8e65363f4544f82f0e96ae7643402b7a5f41bb60
2017-10-13 18:33:30 +09:00
Nick Alexander
34633c477b Bug 1352599 - Part 2: Add PROGUARD_JAR configure option. r=chmanchester
MozReview-Commit-ID: KOzcGY6txI6

--HG--
extra : rebase_source : 1fefdd2935b3e00fbd3234a832d827e91c1fcc75
2017-10-12 14:28:31 -07:00
Nick Alexander
754043c133 Bug 1407872 - Use Python yes-like pipe for --no-interactive in |mach bootstrap|. r=gbrown
The old system was simply in place because I couldn't figure out how
to pipe `yes | ...` in Python.  This is good enough to replace it, and
much less fragile since the license hashes change frequently.

MozReview-Commit-ID: AhJJPqMKfUh

--HG--
extra : rebase_source : 86289e692d646181d545457fc953610e165ee2df
2017-10-13 11:48:52 -07:00
Andrew Halberstadt
083becc479 Bug 1408385 - Make sure python-test tasks turn orange if no tests are run, r=davehunt
MozReview-Commit-ID: 8HAGvOg1Bbp

--HG--
extra : rebase_source : 97daec8d622865094b31be918a28ed5cc5a1e51b
2017-10-13 09:42:06 -04:00
Sebastian Hengst
49ce6f44af Backed out changeset cb5f4236d080 (bug 1352599) 2017-10-12 23:40:21 +02:00
Nick Alexander
8f7363149e Bug 1352599 - Post: Disable failing java.configure test. r=Aryx on a CLOSED TREE 2017-10-12 22:55:59 +02:00
Dustin J. Mitchell
8a895872c0 Bug 1403322 - schedule test-verification inclusively; r=ahal
MozReview-Commit-ID: CsIUEq6CDln

--HG--
extra : rebase_source : 40ef63f09b5972ce2adb650b279be5d5fe48dd99
2017-10-11 17:36:16 +00:00
Dustin J. Mitchell
c673307b64 Bug 1403322 - schedule jsreftests inclusively; r=ahal
This is just one flavor of the "reftets" suite, so we need to add a distinct
scheduling component for it.

MozReview-Commit-ID: AtKuvuUCk1l

--HG--
extra : rebase_source : 3f316f0293e8d1245fc6e891bbcd044586ab6c06
2017-10-11 17:31:20 +00:00
Dustin J. Mitchell
0b3b170dce Bug 1403322 - schedule jittests inclusively; r=ahal
MozReview-Commit-ID: JcvMSTBJ83p

--HG--
extra : rebase_source : d51581a5418fdf5b119b8670ccf89cafcc0743ae
2017-10-11 17:21:11 +00:00
Mike Hommey
184d10ed22 Bug 1407465 - Make most _MANIFESTS variables use SourcePaths. r=chmanchester
--HG--
extra : rebase_source : 5124bcc7393d7cadb26a3a96b9a1b78d902cdaa3
2017-10-05 11:15:27 +09:00
Nick Alexander
68f1512696 Bug 1405408 - Part 1: Use Task Cluster proxy to download non-public artifacts. r=dustin
MozReview-Commit-ID: L6VfQuAmHLC

--HG--
extra : rebase_source : 8346a0d9822834fe1ab2bb463c826cb15b69a0e9
2017-10-04 13:24:41 -07:00
Nick Alexander
abeea7e96e Bug 1405408 - Pre: Handle query string and fragments in URL parameters. r=dustin
This was simply oversight before.  I ran into this using the
taskcluster-proxy /bewit interface, which returns a URL of the form
https://domain.net/short/path/to.file?bewit="several thousand
characters", which leads to an IOError due to the long path.  Let's
assume that such query strings and fragments are transient; we should
drop these parts of the fetched URLs when writing to disk.

MozReview-Commit-ID: FMJHMp7a3rA

--HG--
extra : rebase_source : da701e7d5250f59f39e4b6262952a08d0068e9ac
2017-10-05 13:30:21 -07:00
Sebastian Hengst
296a098e22 merge mozilla-central to autoland. r=merge a=merge 2017-10-10 23:57:56 +02:00
Zibi Braniecki
1a94113a62 Bug 1407395 - Guard against empty defines entry when generating langpack manifest. r=Pike
MozReview-Commit-ID: t4Oc1tqbxE

--HG--
extra : rebase_source : 0a43772e13064fc7e468d7bd46c5c63dc773f779
2017-10-10 13:16:29 -07:00
André Reinald
5516cf8a4c Bug 1405389 - Change port name from py27-readline to py27-gnureadline to enable mach bootstrap on current macports. r=nfroyd
MozReview-Commit-ID: E9AlS8RCSp9

--HG--
extra : amend_source : 1d50db24437832978a5c793978cdb8c91c5c599d
2017-10-10 11:17:24 +02:00
Mike Hommey
6a8726dd5f Bug 1319332 - Derive the rust targets from the build host/target. r=froydnj
--HG--
extra : rebase_source : acf6ee7f0a3f172480e653acc58c5ced1c13c254
2017-10-05 16:10:45 +09:00
Joel Maher
fcf8cee97a Bug 1395247 - copy speedometer into talos package. r=rwood 2017-10-09 11:10:34 -04:00
Andi-Bogdan Postelnicu
80b3b45176 Bug 1405602 - add clang-apply-replacements to path used by mach static-analysis. r=sylvestre
MozReview-Commit-ID: CiJ8sckSXNw

--HG--
extra : rebase_source : cbc692dc5ab46202a5c998b350363fe3f78dc300
2017-10-04 17:02:50 +03:00