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

3936 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey b2837054ff Bug 1469091 - Build the clang plugin as a host shared library. r=ted
This adds just enough host shared library support for this one use case,
but also takes shortcuts, because fully supporting host shared library
is a deep rabbit hole I'm not ready to take just to fix --enable-lto
--enable-clang-plugin on mac builds.

One downside is that one my machine the plugin now takes > 80s to build,
instead of 15s before, thanks to the lack of unified sources.

--HG--
extra : rebase_source : bf52a72a01d4e3eb77cf52b646b19734b9273075
2018-07-05 14:58:09 +09:00
Dave Hunt c20ffc6c6b Bug 1472199 - [mozbuild] Remove unittest dependency from test_pythonutil.py and narrow to tests module; r=ahal
The test checks the modules imported, which means it will fail if we import mozbuild.base to determine the topsrcdir. Rather than include the additional modules, which may change in the future, I have narrowed the scope of the test to the mozbuild/tests module.

MozReview-Commit-ID: GiaPzp19adE

--HG--
extra : rebase_source : 9d79ad79bef2b45e3f62190200bc46f21d57f90d
2018-07-05 14:27:29 +01:00
Mike Hommey da38aeba7d Bug 1457168 - Make configure tests use LINKER_LDFLAGS. r=chmanchester
Because we have no linking configure test in python configure (yet), we
just make old-configure tests use LINKER_LDFLAGS, and make those flags
added to LDFLAGS by old-configure at the same time.

--HG--
extra : rebase_source : 80ab7c5021c7ddd1b53d58ef76cd4372a524d3cb
2018-07-04 16:18:48 +09:00
Nathan Froyd c1a8b8a10d Bug 1473291 - handle valueless dynamic section entries; r=glandium
Some dynamic entry types, like DT_BIND_NOW, are printed without a value
by readelf.  Handle such types gracefully.
2018-07-04 20:51:25 -04:00
Bogdan Tara 6eafe1c00b Backed out changeset 9c75cab2e322 (bug 733530) for breaking artifact builds 2018-07-04 14:50:22 +03:00
Gurzau Raul 03062dd04b Merge inbound to mozilla-central. a=merge 2018-07-04 12:58:33 +03:00
Rok Garbas 2a544047c6 Bug 1471541 - switch to new tooltool url, r=jlund
--HG--
extra : rebase_source : 85cd6f1e78ec293d5c9fba8d41b31b5ca8bc521e
2018-07-03 15:35:58 -07:00
Chris AtLee 8745339529 Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743

--HG--
extra : moz-landing-system : lando
2018-07-03 18:33:02 +00:00
Francesco Lodolo (:flod) 82c5603c1b Bug 1472972 - Remove Fluent migration recipes for Firefox 61 r=Pike
MozReview-Commit-ID: DnhDlFPf070

--HG--
extra : rebase_source : ad32ec36f98ed8036103cb1d897e75fabc1b007b
2018-07-03 13:58:05 +02:00
Andi-Bogdan Postelnicu 88041b74a8 Bug 1472721 - mach static-analysis - use header_filter regex expression in order to better filter files. r=janx
MozReview-Commit-ID: JXzs46L23rM

--HG--
extra : rebase_source : 04d663479fbc5785ec99ec1a4bfdbd9f19b25cd2
2018-07-03 14:37:46 +03:00
Myk Melez cb3429d30b Bug 1467148 - exclude .DS_Store file from list of subdirs to check for license info, r=ted
vendor_rust.py checks all dirs in third_party/rust/ for license information, but it wasn't distinguishing between subdirs and files when listing the contents of that directory, and the script earlier causes macOS to create a .DS_Store file in the directory, which the script then treats as a subdir, causing an IOError "not a directory". This change excludes the .DS_Store file (and other non-dirs) from the list of subdirs of third_party/rust/ to check for license info.

MozReview-Commit-ID: 4CrJH9tZLnG

--HG--
extra : rebase_source : 464ad17f4c9b76303f9024d8eaad475b1fc248f7
2018-07-02 14:27:22 -07:00
Andi-Bogdan Postelnicu 68fedeb80b Bug 1472502 - fix mach static-analysis clear-cache. r=sylvestre
MozReview-Commit-ID: AUlYNnEAtbS

--HG--
extra : rebase_source : 049909e12ee8ad187912ee18c3b810fd90f74b76
2018-07-02 12:05:07 +03:00
Dave Hunt 50ea4ccf48 Bug 1471171 - Indicate that mozterm is universal and works on any version of Python; r=emorley
MozReview-Commit-ID: FZwCHyEh2vS

--HG--
extra : rebase_source : 198b0df626be5c6dd1297363b7c65b18199df376
2018-07-02 12:03:10 +01:00
Dave Hunt a5f6b0db76 Bug 1471171 - Bump mozterm to 1.0.0; r=emorley
MozReview-Commit-ID: IMfAOiFCHST

--HG--
extra : rebase_source : 50acfbe06d0f4e62660f0ba0fd0d11050c35f9e8
2018-07-02 11:57:33 +01:00
Simon Fraser 1c95120d44 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

--HG--
extra : moz-landing-system : lando
2018-06-29 16:56:51 +00:00
Mike Hommey 993aa6d00f 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.

--HG--
extra : rebase_source : a17aa496bf3d4af4d1349d69a637c686c6817d0f
2018-06-26 18:05:23 +09:00
Kris Maglione b2a784a8bf Bug 1459004: Generate built_in_addons.json from moz.build definitions. r=mshal
MozReview-Commit-ID: 1HRLG5tSlFr

--HG--
rename : python/mozbuild/mozbuild/action/generate_builtin_addons.py => toolkit/mozapps/extensions/gen_built_in_addons.py
extra : rebase_source : 7079d5f6a9355201497ea85a0d8ea8fdcee43a64
2018-06-06 16:43:00 -07:00
Andrew Halberstadt 9435736ade 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

--HG--
extra : rebase_source : 456340d0ecdddf1078f2b5b4ebb1eddf3813b26a
2018-06-27 11:10:02 -04:00
Mike Hommey e44bfe7b57 Bug 1471685 - Work around MSVC linker adding padding during incremental builds. r=froydnj
--HG--
extra : rebase_source : 0e6f711d5f8517ca37d39c6f5a39cd0c0e3ec387
2018-06-28 15:53:25 +09:00
Cosmin Sabou f4b3baf021 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Tiberius Oros 945c24abe5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-28 01:12:18 +03:00
Chris Manchester fd325c1c6f Bug 1471425 - Print output of cargo if it fails when run as a part of the Tup backend. r=mshal
MozReview-Commit-ID: BRVSLE83WMH

--HG--
extra : rebase_source : ce2b5b785a6487db09136882452d509c842c758f
2018-06-26 18:17:45 -07:00
Joel Maher e923cd7f53 Bug 1468198 - remove tests that only run on b2g. r=smaug,mcmanus,whimboo 2018-06-27 09:52:19 -04:00
Bogdan Tara ee8db3bbe1 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 ff2bb5e8f2 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

--HG--
extra : rebase_source : 9ba582cf3c138dba433e2bb354650f14b3f16aa7
extra : amend_source : 8a515bb755187e7f0d87b90a25a99f3803ea9e0f
extra : source : 1dcd43dd2a7b04e2bb714349033a456ea5158f3e
2018-06-27 12:15:44 -07:00
Gregory Szorc f0815b582e 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 6fb877a7a8 Bug 928735 - Added ALLOW_COMPILER_WARNINGS and FAIL_ON_WARNINGS to DEPRECATED_VARIABLES list r=chmanchester
--HG--
extra : amend_source : 94b3e7b561507a27401c9a534e3d55eaa22622f3
2018-06-27 09:36:52 +05:30
Andreea Pavel 00c91fc905 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 dbb123a006 Bug 1371485 - Use updated version of gyp; r=chmanchester
Tags: #secure-revision

Bug #: 1371485

Differential Revision: https://phabricator.services.mozilla.com/D1801

--HG--
extra : rebase_source : 5c6bb163af9b03e70a8b128ef477c2a4922d6ca4
2018-06-21 14:39:34 -04:00
Mike Hommey 1ad0baf79f 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.

--HG--
extra : rebase_source : c788ef4f7da9949b81df2f0577af6f6039ea63d8
2018-06-26 18:05:23 +09:00
Mike Hommey 0ddc27774e 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.

--HG--
extra : rebase_source : de968c61dc4ef337fdc28745c202334ac41763cd
2018-06-26 14:40:51 +09:00
Mike Hommey b231504a1b Bug 1471132 - Avoid ASAN padding between NSModules. r=froydnj
--HG--
extra : rebase_source : 480ea315a847ffb63a8cb1e583669a61f1a7f3eb
2018-06-26 14:39:49 +09:00
Mike Hommey 354a9e27a0 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.

--HG--
extra : rebase_source : 7072e622e95f363d4a6c3a8e272d3445d998b592
2018-06-21 18:13:03 +09:00
Chris AtLee 0a72084572 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 7514746d09 Bug 1466574 - make generate_builtin_addons handle races better, r=ted
MozReview-Commit-ID: D9irkni3gQv

--HG--
extra : rebase_source : 22ce8dd77b1d9f22c82fe58e6b8a515828cbb840
2018-05-31 09:56:20 -07:00
Gregory Szorc 6e4366049c 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

--HG--
extra : rebase_source : 597c07b3c1538dc27ad6f46e01cdb7f48755d0bc
extra : histedit_source : 131d570f8ac1ee047487cba54822dbf20abf6681
2018-06-20 14:29:27 -07:00
Gregory Szorc 871e349399 Bug 1469999 - Use yaml.safe_load() for loading clang-tidy config file; r=chmanchester
yaml.load() isn't secure.

--HG--
extra : rebase_source : 03eb1715acd62ab8c98bf4d850cc39a88140a998
extra : histedit_source : 8b3b4823c1f1c20be58494a5f98041e7c46ca3b4
2018-06-20 14:29:06 -07:00
Dave Hunt e4acd5d754 Bug 1428362 - Add Python 3 support to mozterm; r=ahal
MozReview-Commit-ID: CBl7XKXPABv

--HG--
extra : rebase_source : 8652319ece563ec103fc623157a6784ea2c643a5
2018-05-30 13:51:30 +01:00
Dave Hunt cc768253df Bug 1466211 - Use --python for selecting target Python when using |mach python-test|; r=ahal
MozReview-Commit-ID: J8DSmX8mItb

--HG--
extra : rebase_source : 0e471ade56c7bb78fe090f05e7657ae1f35f7936
2018-06-13 14:18:21 -07:00
Dave Hunt 3a2583759b Bug 1466211 - Switch all |mach python-test| tests to run using pipenv; r=ahal
MozReview-Commit-ID: AzmdDgAgZgI

--HG--
extra : rebase_source : cd4603b707bd4ca3f7e0783cf5b9adb8c47a9e01
extra : source : e550be515be30148c0a89c33953dff4148a6a171
2018-06-08 13:24:27 +01:00
Botond Ballo 43d0c35753 Bug 1470494 - Configure 'mark occurrences' preferences in generated Eclipse CDT project. r=kats
MozReview-Commit-ID: HqiQyfYnPi7

--HG--
extra : rebase_source : a79648b27f5be65d4cc7639031dda752745dc903
2018-06-22 13:08:03 -04:00
Botond Ballo 5123abd986 Bug 1470494 - Configure indexer in generated Eclipse CDT project to automatically update the index. r=kats
MozReview-Commit-ID: G0yX1ei7rII

--HG--
extra : rebase_source : 1403d8bead2dde220f7e7de61ea3f3a37efb5ad5
2018-06-22 13:07:41 -04:00
Margareta Eliza Balazs 7a2b0ea957 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 a9121c5eef Bug 1466211 - Use --python for selecting target Python when using |mach python-test|; r=ahal
MozReview-Commit-ID: J8DSmX8mItb

--HG--
extra : rebase_source : 1366a59d847cb8d9289161207b3b708280e70bae
2018-06-13 14:18:21 -07:00
Dave Hunt 026a332568 Bug 1466211 - Switch all |mach python-test| tests to run using pipenv; r=ahal
MozReview-Commit-ID: AzmdDgAgZgI

--HG--
extra : rebase_source : 8db60e196667ae97e0f994930c9adbb4d2030d34
extra : source : e550be515be30148c0a89c33953dff4148a6a171
2018-06-08 13:24:27 +01:00
Cosmin Sabou c913a59748 Merge central to inbound. a=merge 2018-06-21 04:19:13 +03:00
Cosmin Sabou 4c18cd4036 Merge inbound to central. a=merge
--HG--
rename : servo/components/style/properties/longhand/box.mako.rs => servo/components/style/properties/longhands/box.mako.rs
2018-06-21 04:16:40 +03:00
Jan Keromnes f6609edce0 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 146bb709e4 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 3c701634e0 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-20 14:28:15 +03:00