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

3241 Коммитов

Автор SHA1 Сообщение Дата
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
Andi-Bogdan Postelnicu f5b2afe28b Bug 1405654 - set default value for header-filter the same as source. r=sylvestre
MozReview-Commit-ID: 705as3mM1dA

--HG--
extra : rebase_source : e873da5dd97d0709b67ec7275dc9ab19bde55515
2017-10-05 16:26:53 +03:00
Andi-Bogdan Postelnicu f83a012c7c Bug 1405607 - do not pass to run-clang-tidy files that are going to be scanned. r=sylvestre
MozReview-Commit-ID: BPyk9v7vzLr

--HG--
extra : rebase_source : 3f4bc945d473cffb85678e7a51a8ec80d66a4597
2017-10-04 12:41:31 +03:00
Andreas Tolfsen 894334f11e Bug 1405304 - Add Unix formatter for mozlint. r=ahal
This patch introduces a new report formatter for the mozlint
framework used by "./mach lint" that respects Unix output conventions,
popularised by grep(1), compilers, and preprocessors.

The output format looks like this:

	testing/marionette/driver.js:1153:48: no-unused-vars error: 'resp' is defined but never used.

Many editors (ed, Emacs, vi, Acme) recognise this format, allowing
users to interact with the output like a hyperlink to jump to the
specified location in a file.

MozReview-Commit-ID: 3IyiFmNbtMY

--HG--
extra : rebase_source : a2628a999c187a1c43f3cc5d32e6db835028eca4
2017-10-03 14:45:17 +01:00
Andrew Halberstadt 6b65448914 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : b81ab806cd2455f4e4fc761863fe699feadd0bb5
2017-09-26 10:47:22 -04:00
Andi-Bogdan Postelnicu c400efcc18 Bug 1403846 - add "header-filter" option argument to static-analysis from mach. r=sylvestre
MozReview-Commit-ID: GulGPCCi9U4

--HG--
extra : rebase_source : e7ed44a35c8eb4bba677c1d2ad50c382fc4879f7
2017-09-28 11:21:34 +03:00
Wes Kocher 382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Nathan Froyd f0fcd23367 Bug 1373878 - part 2 - build system support for Rust tests; r=rillian 2017-10-02 09:21:22 -04:00
Sebastian Hengst b1575a7d2b Backed out changeset ddfc127526b2 (bug 1403222) for failing python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules, at least for Linux asan opt builds. r=backout on a CLOSED TREE 2017-10-02 16:03:12 +02:00
Andrew Halberstadt ef896de9c0 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc

--HG--
extra : rebase_source : 6c456c91985f2006910bda66fdbc5d18e066d020
2017-09-26 10:47:22 -04:00
Andrew Halberstadt 98df27cb1b Bug 1401199 - [mozversioncontrol] Add property to get hash of HEAD revision, r=mshal
MozReview-Commit-ID: 9XWlLeGcPeQ

--HG--
extra : rebase_source : 89cf1dbe133d2ce4d8ffaad017aa151ed08491cd
2017-09-29 11:10:59 -04:00
Andi-Bogdan Postelnicu 88b1f10b9f Bug 1402302 - sync checkers for static-analysis with the mozreview bot. r=sylvestre
MozReview-Commit-ID: I5rn4DEXGOK

--HG--
extra : rebase_source : 049079671c84a670718cf2efa2bd1a8c851446cc
2017-09-30 14:54:58 +03:00
Wes Kocher 2d79871195 Backed out changeset 048af66f7711 (bug 1402302) for lint issues in config.yaml a=backout
MozReview-Commit-ID: 8vkN5D8YVks
2017-09-29 14:23:59 -07:00
Andi-Bogdan Postelnicu c182f3e18d Bug 1402302 - sync checkers for static-analysis with the mozreview bot. r=sylvestre
MozReview-Commit-ID: I5rn4DEXGOK

--HG--
extra : rebase_source : 880d5ed66b45ca3de83b12561bf1a75eb5f1b198
2017-09-29 23:48:19 +03:00
Mike Shal 9e6798ac00 Bug 1402012 - Update buildconfig.py to use PartialConfigEnvironment; r=glandium
By using the PartialConfigEnvironment, the clients of buildconfig will
depend on config.statusd/ files instead of config.status directly.
Clients can access substs and defines using buildconfig.substs['FOO'] or
buildconfig.defines['BAR'], and then collect file-level dependencies for
make using buildconfig.get_dependencies(). All GENERATED_FILES rules
already make use of this because file_generate.py automatically includes
these dependencies (along with all python modules loaded).

As a result of this commit, re-running configure will no longer cause
the world to be rebuilt. Although config.status is updated, no build
steps use config.status directly and instead depend on values in
config.statusd/, which are written with FileAvoidWrite. Since those
files are not official targets according to the make backend, make won't
try to continually rebuild the backend when those files are out of date.
And since they are FileAvoidWrite, make will only re-run dependent steps
if the actual configure value has changed.

As a result of using JSON to load data from the config.statusd
directory, substs can be unicode (instead of a bare string type).
generate_certdata.py converts the subst manually to a string so the
value can be exported to the environment without issue on Windows.

Additionally, patching the buildconfig.substs dict no longer works, so
the unit-symbolstore.py test was modified to patch the underlying
buildconfig.substs._dict instead.

The other files that needed to be modified make use of all the defines
for the preprocessor. Those that are used during 'mach build' now use
buildconfig.defines['ALLDEFINES'], which maps to a special
FileAvoidWrite file generated for the PartialConfigEnvironment.

MozReview-Commit-ID: 2pJ4s3TVeS8

--HG--
extra : rebase_source : d6bb0208483f9f043e7be1b36907ca13243985f8
2017-08-24 22:52:01 -04:00
Mike Shal 7db69cf3f7 Bug 1402012 - Use PartialConfigEnvironment in process_define_files.py; r=glandium
This removes the dependency on config.status for CONFIGURE_DEFINE_FILES.
Instead, each file depends on the specific configure values that it
uses.

MozReview-Commit-ID: H4oLmJei1KR

--HG--
extra : rebase_source : 287498e8c336d24b1c95d29caf97e5febb56063b
2017-08-21 15:34:07 -04:00
Mike Shal 10d4a372fd Bug 1402012 - Create config.statusd directory; r=glandium
The config.statusd directory is created alongside config.status, which
contains the same information but is split across many files instead of
all in a single file. This allows the build system to track dependencies
on individual configure values.

MozReview-Commit-ID: 2DbwKCJuNSX

--HG--
extra : rebase_source : 8b6257fd9c75cff3e4b6513d69048c0e3fdda5f4
2017-08-18 10:41:50 -04:00