Commit Graph
3902 Commits
Author SHA1 Message Date
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
Chris Manchester d1611a99be Bug 1319228 - Link libxul in the Tup backend. r=mshal
MozReview-Commit-ID: sqCdlqP9pj
2018-06-13 22:33:23 -07:00
Chris Manchester 3fd6990409 Bug 1319228 - Generate rules for rust in the Tup backend via cargo --build-plan. r=ted
MozReview-Commit-ID: FoCBN9ywIuQ
2018-06-13 22:33:22 -07:00
Chris Manchester c6a1d373a4 Bug 1319228 - Use pass_thru=True when running config.status to expose error messages from sub-commands. r=mshal
MozReview-Commit-ID: 3eWOM6bZOmA
2018-06-13 22:33:22 -07:00
shindli 718f5156bf Backed out 6 changesets (bug 1319228) for Btup bustages on Linux x64 on a CLOSED TREE
Backed out changeset 2eedbab9137b (bug 1319228)
Backed out changeset 6ba05238789f (bug 1319228)
Backed out changeset badf116dde30 (bug 1319228)
Backed out changeset a218f97e1b48 (bug 1319228)
Backed out changeset d3c835477d11 (bug 1319228)
Backed out changeset 3f3fa38b1a5f (bug 1319228)
2018-06-14 00:46:46 +03:00
Chris Manchester 0c2e664f4c 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: 3nvHaS5ZcIg
2018-06-13 13:00:24 -07:00
Chris Manchester b134235a84 Bug 1319228 - Link libxul in the Tup backend. r=mshal
MozReview-Commit-ID: AyhoaPIZJ6I
2018-06-13 13:00:24 -07:00
Chris Manchester f16653b287 Bug 1319228 - Generate rules for rust in the Tup backend via cargo --build-plan. r=ted
MozReview-Commit-ID: 9m0Prz3AvmC
2018-06-13 13:00:13 -07:00
Chris Manchester fea10fa81f Bug 1319228 - Use pass_thru=True when running config.status to expose error messages from sub-commands. r=mshal
MozReview-Commit-ID: DLlMAgrwHgc
2018-06-12 13:48:38 -07:00
Peter Simonyi 59c9f81732 Bug 1445383 - update ccache stats parser for ccache 3.4 and 3.5 r=froydnj
MozReview-Commit-ID: KTr9RhkJN5B
2018-06-09 14:55:46 -04:00
Sofia Carillo 43de125a1d Bug 1464235 - option to upload tup db r=mshal
MozReview-Commit-ID: JkzWTu0g41X
2018-06-06 14:04:47 -07:00
Mike Hommey 411e981f4d Bug 1467462 - Adjust test_developer_options after bug 1467041. r=froydnj
Bug 1467041 changed the default for --enable-release such that it is
affected by the milestone. Test both possible cases for milestones.
2018-06-08 07:11:42 +09:00
Gregory Szorc 5ba820f4a1 Bug 1467605 - Disable processing of fetch dependencies; r=glandium
90dca0906337 accidentally broke `mach artifact toolchain --from-build`
because that code is attempting to load toolchain tasks in isolation.
The new "use_fetches" transform added to toolchain tasks requires
that "fetch" tasks are already processed and their references are
available to toolchain tasks.

This commit adds a mechanism to effectively disable the "use_fetches"
transform when called by `mach artifact toolchain`. It is a hack. I
suspect future planned work around artifacts/fetches will necessitate
additional changes to the `mach artifact toolchain` code. But this
can be deferred to a later day: this commit unbusts `mach artifact
toolchain` and isn't super hacky, so it seems more reasonable than
backing out fetch tasks completely.

Differential Revision: https://phabricator.services.mozilla.com/D1588
2018-06-07 23:05:58 +00:00
Ciure Andrei 2eb7bebcce Backed out 1 changesets (bug 1445383) for Windows 2012 build bustages on a CLOSED TREE
Backed out changeset c4cf68b6b73f (bug 1445383)
2018-06-05 19:54:59 +03:00
Peter Simonyi d6a21347a4 Bug 1445383 - update ccache stats parser for ccache 3.4 and 3.5 r=froydnj
MozReview-Commit-ID: KTr9RhkJN5B
2018-06-05 00:09:13 -04:00
Nick Alexander 47cb6e2564 Bug 1465836 - Make MOZ_AUTOMATION artifact builds pull host binaries (mar,mbsdiff). r=chmanchester
This populates $OBJDIR/dist/host/bin as part of |mach artifact install|.

Conceptually, the mar and mbsdiff utilities should be grouped (in the
same way that the test-related binaries are grouped).  However, it's
difficult to achieve that with the current structure of the code, so
this fetches mar and mbsdiff and produces $HASH-mar.processed.jar and
$HASH-mbsdiff.processed.jar files.

MozReview-Commit-ID: 3ks5xsUEKp5
2018-05-31 11:12:26 -07:00
Andrew Halberstadt 4a20366fb3 Bug 1437526 - [docs] Upgrade doc dependencies to their latest versions, r=davehunt
This upgrades sphinx to version 1.7.5, which contained a couple backwards
incompatible changes that needed fixing.

This also leaves sphinx-js at version 2.1 as upgrading that to 2.5 seems to
introduce an intermittent in the Doc task.

MozReview-Commit-ID: FRUTcXs5yzb
2018-06-01 10:19:01 -04:00
Andreea Pavel 0ac39ad7bb Merge mozilla-central to autoland. a=merge 2018-06-03 07:27:01 +03:00
Csoregi Natalia 6e1ac76332 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-02 01:05:17 +03:00
Chris Manchester 8914565d18 Bug 1444597 - Stringify exception when logging harmless errors in post-build step to avoid confusing stacktrace. r=nalexander
MozReview-Commit-ID: 6B4WCUfjESE
2018-05-31 21:21:41 -07:00
Francesco Lodolo (:flod) 3a783fb2cd Bug 1464029 - Remove Fluent migration recipes for Firefox 60 and older r=Pike
MozReview-Commit-ID: ICRYkrW7nmy
2018-05-30 08:46:18 +02:00
Chris AtLee 841d546d18 Bug 1237182: Get rid of buildprops.json r=tomprince,sfraser
Differential Revision: https://phabricator.services.mozilla.com/D1443
2018-05-25 17:35:43 -04:00