Commit Graph
3923 Commits
Author SHA1 Message Date
Dave Hunt 89ba424db5 Bug 1471171 - Bump mozterm to 1.0.0; r=emorley
MozReview-Commit-ID: IMfAOiFCHST
2018-07-02 11:57:33 +01:00
Simon Fraser d64be18286 Bug 1468394 mach python-safety command for checking requirements files r=mtabara,tomprince
Added `./mach python-safety`, distinct from python-test so it doesn't have
to be run on every CI job - its errors may not depend on the area the push has changed.

Added the python/safety directory to ensure a different Pipfile is used, avoiding
conflicts with python-test.

Differential Revision: https://phabricator.services.mozilla.com/D1825
2018-06-29 16:56:51 +00:00
Mike Hommey e75d208e28 Bug 1447116 - Require rust 1.26. r=froydnj
We're well overdue for an upgrade of the rust compiler requirements.
Now that we're building with 1.28 (albeit a beta, due to be bumped when
it's released), we can bump the requirement away from 1.24 which is now
old. 1.27 is too new, though, so settle for the older 1.26.
2018-06-26 18:05:23 +09:00
Kris Maglione 0081137796 Bug 1459004: Generate built_in_addons.json from moz.build definitions. r=mshal
MozReview-Commit-ID: 1HRLG5tSlFr
2018-06-06 16:43:00 -07:00
Andrew Halberstadt 66db90f18e Bug 1471620 - Skip python-tests locally that don't run with python 3 in CI r=davehunt
This will make sure that when running |mach python-test --python 3| locally,
we only run the tests that also run in CI with python 3 (and therefore pass
presumably).

MozReview-Commit-ID: 3OBr9yLSlSq
2018-06-27 11:10:02 -04:00
Mike Hommey 34db6f251f Bug 1471685 - Work around MSVC linker adding padding during incremental builds. r=froydnj 2018-06-28 15:53:25 +09:00
Cosmin Sabou bb987de702 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Tiberius Oros 0997271a68 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-28 01:12:18 +03:00
Chris Manchester c7690cce95 Bug 1471425 - Print output of cargo if it fails when run as a part of the Tup backend. r=mshal
MozReview-Commit-ID: BRVSLE83WMH
2018-06-26 18:17:45 -07:00
Joel Maher 6d64a9838d Bug 1468198 - remove tests that only run on b2g. r=smaug,mcmanus,whimboo 2018-06-27 09:52:19 -04:00
Bogdan Tara 31ad3dcc04 Backed out 2 changesets (bug 1447116) for debug reftests failures CLOSED TREE
Backed out changeset 0c8c7b025aee (bug 1447116)
Backed out changeset 82dc9159f28d (bug 1447116)
2018-06-27 05:17:03 +03:00
Gregory Szorc f84086a760 Bug 1469441 - Support fetching bootstrap files from an arbitrary revision; r=glandium
By making the archive URL dynamic, we can fetch an old version of the
bootstrap files. This will make it easier to test the bootstrapper in
CI.

Differential Revision: https://phabricator.services.mozilla.com/D1698
2018-06-27 12:15:44 -07:00
Gregory Szorc 209fe9287c Bug 1469441 - Use working yasm rpm URLs; r=glandium
The previously listed server wasn't working. This has likely been
broken for years (I initially authored this commit in November 2016).

Differential Revision: https://phabricator.services.mozilla.com/D1697
2018-06-26 08:11:51 +00:00
Bhavesh 951387a2ad Bug 928735 - Added ALLOW_COMPILER_WARNINGS and FAIL_ON_WARNINGS to DEPRECATED_VARIABLES list r=chmanchester 2018-06-27 09:36:52 +05:30
Andreea Pavel 2f4fd7d614 Backed out 6 changesets (bug 1371485) for failing spidermonkey build on a CLOSED TREE
Backed out changeset 9578824cbdde (bug 1371485)
Backed out changeset 36bca079ba29 (bug 1371485)
Backed out changeset c205b5921de8 (bug 1371485)
Backed out changeset 17fc0da77821 (bug 1371485)
Backed out changeset da14dc867e22 (bug 1371485)
Backed out changeset 7b604564918d (bug 1371485)
2018-06-27 21:10:15 +03:00
Dan Minor eb0ac8a78f Bug 1371485 - Use updated version of gyp; r=chmanchester
Tags: #secure-revision

Bug #: 1371485

Differential Revision: https://phabricator.services.mozilla.com/D1801
2018-06-21 14:39:34 -04:00
Mike Hommey 858dcbef8d Bug 1447116 - Require rust 1.26. r=froydnj
We're well overdue for an upgrade of the rust compiler requirements.
Now that we're building with 1.28 (albeit a beta, due to be bumped when
it's released), we can bump the requirement away from 1.24 which is now
old. 1.27 is too new, though, so settle for the older 1.26.
2018-06-26 18:05:23 +09:00
Mike Hommey d090be0e8b Bug 1471132 - Change how static xpcom components are linked. r=froydnj
Overall, this makes the whole setup less fragile, and make it work with
LTO in more situations.
2018-06-26 14:40:51 +09:00
Mike Hommey 6e16cb2f68 Bug 1471132 - Avoid ASAN padding between NSModules. r=froydnj 2018-06-26 14:39:49 +09:00
Mike Hommey a3c7fb2e87 Bug 1470127 - Move binary checks to a standalone script. r=froydnj
We perform, on the binaries we build, a series of check, that are
implemented as half-baked make commands, invoked after linking them.

- check libstdc++ symbol versions to ensure binary compatibility with
  a baseline.
- check glibc symbol versions to ensure binary compatibility with a
  baseline.
- check that target binaries don't contain text relocations.
- check that libmozglue is linked before libc on android.
- on libxul, check that NSModules are laid out correctly.
- on libxul, check that there is more than one PT_LOAD segment.

Those checks happen to work where they matter, but their setup is
unreliable. For example, the checks for symbol versions are supposed to
work for libclang-plugin on cross osx builds, but in fact, don't,
because the readelf path doesn't exist, and the command doesn't fail in
that case.

So move them all to a standalone script, performing the checks more
thoroughly (especially the NSModules one, where we now also check that
they are all adjacent), and more verbosely.
2018-06-21 18:13:03 +09:00
Chris AtLee 38b52784b6 Bug 733530: Support tar.gz test archives for artifact builds r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1841
2018-06-26 20:30:24 +00:00
Dan Mosedale 37ef5aade3 Bug 1466574 - make generate_builtin_addons handle races better, r=ted
MozReview-Commit-ID: D9irkni3gQv
2018-05-31 09:56:20 -07:00
Gregory Szorc 05407aac26 Bug 1469999 - Use yaml.safe_load() for loading linter config file; r=ahal
yaml.load() is unsafe and can lead to arbitrary code execution via
syntax like `!!python/object/apply:os.system`. yaml.safe_load() is
more reasonable.

Differential Revision: https://phabricator.services.mozilla.com/D1738
2018-06-20 14:29:27 -07:00
Gregory Szorc 823cf13c9c Bug 1469999 - Use yaml.safe_load() for loading clang-tidy config file; r=chmanchester
yaml.load() isn't secure.
2018-06-20 14:29:06 -07:00
Dave Hunt cf46b26a3f Bug 1428362 - Add Python 3 support to mozterm; r=ahal
MozReview-Commit-ID: CBl7XKXPABv
2018-05-30 13:51:30 +01:00
Dave Hunt f030e0307f Bug 1466211 - Use --python for selecting target Python when using |mach python-test|; r=ahal
MozReview-Commit-ID: J8DSmX8mItb
2018-06-13 14:18:21 -07:00
Dave Hunt cdf5d703ce Bug 1466211 - Switch all |mach python-test| tests to run using pipenv; r=ahal
MozReview-Commit-ID: AzmdDgAgZgI
2018-06-08 13:24:27 +01:00
Botond Ballo 67feee8ae7 Bug 1470494 - Configure 'mark occurrences' preferences in generated Eclipse CDT project. r=kats
MozReview-Commit-ID: HqiQyfYnPi7
2018-06-22 13:08:03 -04:00
Botond Ballo 81b5273b1b Bug 1470494 - Configure indexer in generated Eclipse CDT project to automatically update the index. r=kats
MozReview-Commit-ID: G0yX1ei7rII
2018-06-22 13:07:41 -04:00
Margareta Eliza Balazs 61cf444c53 Backed out 7 changesets (bug 1466211) for bustage e.g. z/task_1529662815/src/js/src/configure --enable-ctypes --enable-optimize on a CLOSED TREE
Backed out changeset 6680ca0acc27 (bug 1466211)
Backed out changeset dfdf4ea83655 (bug 1466211)
Backed out changeset 23eb377e2e6d (bug 1466211)
Backed out changeset fe821d61ecbf (bug 1466211)
Backed out changeset e04950c7c496 (bug 1466211)
Backed out changeset 4b197754381a (bug 1466211)
Backed out changeset 1695d4464c54 (bug 1466211)
2018-06-22 14:33:21 +03:00
Dave Hunt 6cf842b92a Bug 1466211 - Use --python for selecting target Python when using |mach python-test|; r=ahal
MozReview-Commit-ID: J8DSmX8mItb
2018-06-13 14:18:21 -07:00
Dave Hunt 12e6bc71ce Bug 1466211 - Switch all |mach python-test| tests to run using pipenv; r=ahal
MozReview-Commit-ID: AzmdDgAgZgI
2018-06-08 13:24:27 +01:00
Cosmin Sabou 99bcdf3c59 Merge central to inbound. a=merge 2018-06-21 04:19:13 +03:00
Cosmin Sabou e508f7bd05 Merge inbound to central. a=merge 2018-06-21 04:16:40 +03:00
Jan Keromnes 756c774c91 Bug 1468811 - Fail static-analysis autotest when a clang-tidy check doesn't exist. r=sylvestre 2018-06-19 08:06:00 +03:00
Chris Manchester a4c77904d4 Bug 1469815 - Add new output files from style crate build script to cargo_build_defs.py for the Tup build. r=mshal 2018-06-20 10:16:58 -07:00
Andreea Pavel 163176b1ef Merge mozilla-inbound to mozilla-central. a=merge 2018-06-20 14:28:15 +03:00
Myk Melez e1ad2a3f47 Bug 1467307 - whitelist BSD-2-Clause license for Rust crates, r=gps
MozReview-Commit-ID: HVOlQlfley1
2018-06-06 07:46:57 -07:00
Dorel Luca e18de2196e Merge mozilla-central to mozilla-inbound 2018-06-20 01:06:23 +03:00
Chris Manchester d2c9df6bc1 Bug 1469067 - Build host programs in their final locations rather than copying them to dist/host/bin. r=mshal
MozReview-Commit-ID: BrSou1ee2qV
2018-06-18 14:22:20 -07:00
Kris Maglione 835157b444 Bug 1468362: Remove ADDON_SINGING buildconfig setting. r=aswan
MozReview-Commit-ID: MeD4VQPVf6
2018-06-12 13:56:58 -04:00
Chris Manchester afa57464ca Bug 1467319 - Generate fewer redundant conditions when generating moz.build files fron gn configs. r=mshal
MozReview-Commit-ID: Ef67haFgx3A
2018-06-06 17:36:45 -07:00
Chris Manchester d80e2008e4 Bug 1466254 - Don't assume flags/includes only appear once when factoring gn-generated moz.build conditions. r=mshal
Some recently introduced gn-configs contain duplicate flags/includes, which
aren't handled correctly and introduce non-determinism into the gn-moz.build
generation. This patch makes the moz.build generator faithfully reproduce
duplicated flags, usually to no effect, which is unfortunate in these cases,
but a reasonable approach for the moz.build generator in general.

MozReview-Commit-ID: 6PvobD9JRwN
2018-06-06 17:12:19 -07:00
Chris Manchester 4a92dc147b Bug 1466254 - Sort conditions when generating the moz.build file at the root of a gn project. r=mshal
MozReview-Commit-ID: FCv8VDho2OF
2018-06-06 17:11:16 -07:00
Mike Shal c109760a8d Bug 1469712 - Don't update mtime for backend file during --dry-run; r=gps
When we do a './mach build-backend --dry-run', no files in the objdir
should be written or touched. Updating the mtime of the backend file
during dry-run causes a future './mach build' to think that the backend
is up-to-date when it is not, which causes an incorrect build.

MozReview-Commit-ID: 2NA0rcSGrvL
2018-06-19 17:15:37 -04:00
Sebastian Hengst 4124655c70 Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander
MozReview-Commit-ID: 6bs0jkTP6rP
2018-06-20 21:34:40 +03:00
assiya ee8a2b6114 Bug 1468328 - Make other codecoverage import statements Python3 compatible. r=marco
MozReview-Commit-ID: J3uaRsbE1sf
2018-06-16 00:06:25 -07:00
Dave Hunt 8904bd7472 Bug 1465887 - Allow test manifests to skip based on Python version; r=ahal
This patch allows us to enable Python 3 tests and skip any tests that fail so that we can work on adding support for Python 3 without risking regressing any existing support. It will also eventually allow us to skip tests from running against Python 2, when we decide to drop support for it. To skip a test against Python 3, add "skip-if = python == 3" to the [DEFAULT] or test file section of a manifest file.

MozReview-Commit-ID: KYzjW6PQw2Q
2018-06-10 18:30:46 +01:00
assiya 3616df8078 Bug 1468328 - Make import statement Python3 compatible. r=marco
MozReview-Commit-ID: 6NPlMjT6K8J
2018-06-14 07:32:58 -07:00
Chris Manchester b3d668560d Bug 1319228 - Build dependentlibs.list in the tup backend, create a group for shared libraries to be used as its input. r=mshal
MozReview-Commit-ID: 5nDZpTcqVfv
2018-06-13 22:33:23 -07:00