Commit Graph

5336 Commits

Author SHA1 Message Date
Nathan Froyd
d3483bdef5 Bug 1579189 - raise the minimum clang version to 5; r=#build
We need this for "full" C++17 support (everything is supported, but some
C++17 features still have bugs) and this change also brings Linux into
parity with our Mac requirements.

MANUAL PUSH: build toolchains on inbound to avoid clogging autoland

Differential Revision: https://phabricator.services.mozilla.com/D51450
2019-11-14 11:16:38 -04:00
Tom Prince
069263ab46 Bug 1595368: [firefox-ci] Use consitent logic to determine tooltool url; r=sfraser a=task-fix
Differential Revision: https://phabricator.services.mozilla.com/D52498

Depends on D52497

--HG--
extra : histedit_source : 4b7e40193155303d8757f08aabe670e4dd127924
2019-11-11 05:50:11 +01:00
Andrew Halberstadt
21c38703ad Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre
This also moves the 'mach' docs from /python/mach to /mach. The reason being
that 'mach' doesn't really have anything to do with Python other than its
implemented in it.

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

--HG--
extra : moz-landing-system : lando
2019-11-07 23:07:20 +00:00
Ricky Stewart
50a5dbb671 Bug 1573560 - Have Node compilation write directly into FINAL_TARGET instead of requiring a symlink r=firefox-build-system-reviewers,jlast,mshal
Differential Revision: https://phabricator.services.mozilla.com/D47367

--HG--
extra : moz-landing-system : lando
2019-11-04 23:15:19 +00:00
Edwin Takahashi
9497983d61 Bug 1592855 - run mach vendor rust with python3 r=froydnj
Changes:
- use regular strings instead of byte strings when matching
- encode files in UTF-8 prior to hashing

Depends on D51414

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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:56:21 +00:00
Edwin Takahashi
c6e2eb6f8e Bug 1592855 - run mach vendor dav1d with python3 r=ahal
Changes:
- change `urlparse` import to `urllib.parse` to make switch over to python3

Depends on D51414

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:28:21 +00:00
Edwin Takahashi
9a7b0768dc Bug 1592855 - run mach vendor aom with python3 r=dminor
Changes:
- update sections of `generate_sources_mozbuild.py` and `cmakeparser.py` to be python3 compatible
- change import of `urlparse` to be python3 compatible

Depends on D51414

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:31:43 +00:00
Edwin Takahashi
b66e852ab2 Bug 1592855 - run mach vendor python with python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51414

--HG--
extra : moz-landing-system : lando
2019-11-05 15:29:44 +00:00
Gijs Kruitbosch
a81b239be2 Bug 1594025 - move 'this site is not deceptive' string into markup to allow help hamburger menu to copy it, r=flod,fluent-reviewers
The help view copies strings from the main menubar. When we moved the original DTD string
to ftl, there were performance implications for using it in browser.xhtml, so it was
only added once needed. The help view copies attributes from the items in the main menubar's
help menu, and so didn't copy the label for this item, resulting in the broken
behaviour.

To fix this, it's enough to have the string in the markup. As we've moved the other strings
into menubar.ftl, I'm taking the opportunity to move this string there, too, next to its
sibling string to report deceptive sites.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:40:47 +00:00
Geoff Brown
968cf06036 Bug 1592608 - Add more fields to ReftestManifest test descriptions; r=ahal,froydnj
Add test annotations to the ReftestManifest and TestResolver. For example, a
test description from the TestResolver might now contain 'skip-if': 'skiaContent';
similar to the content provided for manifestparser tests; this will allow
'mach test-info report' to filter tests based on reftest manifest test
annotations.
Also add the referenced-test field which identifies the test file associated
with test entries for reference files; this will allow test-verify to
run the correct reftest when only the reference file has been modified.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:09:41 +00:00
Edwin Takahashi
072601476a Bug 1591220 - migrate python-safety to run with python3 by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51184

--HG--
extra : moz-landing-system : lando
2019-11-04 21:55:21 +00:00
Andrew Halberstadt
5b57c3d580 Bug 1583353 - [mozbuild] Forward unrecognized kwargs to underlying class in MozbuildObject.from_environment(), r=firefox-build-system-reviewers,mshal
This allows subclasses of MozbuildObject to define additional instance
arguments and still use 'from_environment'.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 18:02:09 +00:00
Mark Striemer
966031d6f8 Bug 1525175 - Part 3: Move system message bars into HTML views r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D47804

--HG--
extra : moz-landing-system : lando
2019-11-01 16:01:38 +00:00
Mark Striemer
d9f5739109 Bug 1525175 - Part 1: Convert about:addons header to HTML r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43610

--HG--
rename : toolkit/mozapps/extensions/test/browser/browser_bug567127.js => toolkit/mozapps/extensions/test/browser/browser_page_options_install_addon.js
rename : toolkit/mozapps/extensions/test/browser/browser_bug570760.js => toolkit/mozapps/extensions/test/browser/browser_search_bar_focus.js
extra : moz-landing-system : lando
2019-11-01 16:26:32 +00:00
Edwin Takahashi
128ef1e636 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal,KWierso
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-30 20:42:50 +00:00
Andi-Bogdan Postelnicu
6cddfab802 Bug 1588283 - Incorrect build failure reported by coverity when using inline definitions. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D50961

--HG--
extra : moz-landing-system : lando
2019-10-29 18:15:28 +00:00
Mike Shal
413e5aee89 Bug 1589209 - Bump artifact cache limits; r=nalexander
On Windows, './mach bootstrap' downloads 8 artifacts taking up 1GiB+ of
space. Given the current limits of 6 artifacts and 1GiB, this means a
full run of './mach bootstrap' doesn't actually use anything from the
cache. Each new artifact is over the limits, so the oldest artifact gets
removed from the cache before downloading the next one. Doubling the
limits here should give us some space to work with.

Depends on D50676

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

--HG--
extra : moz-landing-system : lando
2019-10-29 14:17:24 +00:00
Mike Shal
11718d06c0 Bug 1589209 - Clarify messaging when artifacts are being downloaded; r=nalexander
Artifacts are fetched to a local cache, and if the artifact in the cache
exists it won't be re-downloaded. However, the messaging suggested that
artifacts were always being downloaded when they were just re-used from
the cache, leading to confusion.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 14:17:23 +00:00
Andi-Bogdan Postelnicu
e6103a88d6 Bug 1587079 - disable structured log when using requests.get(...) for Coverity analysis. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D50442

--HG--
extra : moz-landing-system : lando
2019-10-29 09:23:09 +00:00
Nathan Froyd
7f08913d02 Bug 1584296 - add C++17 bits to fake compiler definitions in test_toolchain_configure.py; r=glandium
Separating these changes out into a separate patch/bug makes them a
little easier to verify.  Turning on C++17 support should then be just a
matter of updating expected results.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:58:15 +00:00
Edwin Takahashi
98a12cfd37 Bug 1589206 - enable test_archive.py for python 2 in mozbuild suite and annotate expected failures r=firefox-build-system-reviewers,mshal
Changes:
- remove the `unicode_literals` import from `test_archive.py` as it was causing failures when dealing with file paths
- mark failing tests with `xfail` annotations, to be investigated at a later date

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

--HG--
extra : moz-landing-system : lando
2019-10-24 21:38:20 +00:00
Zibi Braniecki
1697722146 Bug 1591003 - Migrate urlbar notification tooltips to Fluent. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50443

--HG--
extra : moz-landing-system : lando
2019-10-24 18:50:26 +00:00
Bryce Seager van Dyk
767f95076e Bug 1588947 - Refer to mozilla-unified rather than mozilla-central in bootstrap.py. r=firefox-build-system-reviewers,chmanchester
Since bootstrap now pulls mozilla-unified it makes sense to reference the
unified repo as well as central.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 18:52:42 +00:00
Philip Jägenstedt
21b473eac4 Bug 1589056 - [mozlog] Update mozlog version number to 5.0 r=jgraham
This is needed to release a new mozlog with the PRECONDITION_FAILED
test and subtest status for use in web-platform-tests.

Update all in-tree dependencies on mozlog to >=5.0. These were found
with `hg grep 'mozlog.*[0-9]'`.

Only testing/web-platform/tests/tools/wptrunner/requirements.txt
remains on 4.2.0, and it will be updated in upstream wpt after mozlog
5.0 has been released.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 14:12:32 +00:00
Cosmin Sabou
b9bc1ef9d6 Backed out 2 changesets (bug 1476339, bug 1590714) for breaking windows coverage builds and at marco's request.
Backed out changeset 0a3621d900c8 (bug 1590714)
Backed out changeset db0e1ce31ac3 (bug 1476339)

--HG--
extra : rebase_source : 2421340b6220f0858ee449a1f5bc26bf3316943b
2019-10-23 23:10:17 +03:00
Anthony Ramine
e63ea2e660 Bug 1590344 - Don't unset PYTHONDONTWRITEBYTECODE anymore; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D50041

--HG--
extra : rebase_source : 765b06658c8ee027bb7bba033bb58f90cfa91d8a
extra : source : e2448f988af9e39a6957d44446b203c24759ea8c
2019-10-22 21:05:53 +00:00
Cosmin Sabou
9e99d55f30 Backed out changeset e2448f988af9 (bug 1590344) for causing python failures on configure/lint.py. 2019-10-23 22:33:00 +03:00
Anthony Ramine
a6fa34832e Bug 1590344 - Don't unset PYTHONDONTWRITEBYTECODE anymore; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D50041

--HG--
extra : moz-landing-system : lando
2019-10-22 21:05:53 +00:00
Marco Castelluccio
04a3124744 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 22:55:45 +00:00
Dorel Luca
cf3d2dccbb Backed out changeset 098dacd3fabe (bug 1476339) for Linting failure in mozbuild/mozbuild/frontend/context.py. CLOSED TREE
--HG--
extra : amend_source : a805d5f03e8127b4248a5f95943e1f33f3b92608
2019-10-23 01:26:46 +03:00
Marco Castelluccio
cfdcf5a828 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 21:00:34 +00:00
Dorel Luca
3d43b20c77 Backed out changeset ca117d13ca06 (bug 1212502) for Windows 2012 build bustage. CLOSED TREE 2019-10-22 20:53:27 +03:00
Wes Kocher
49fba76f39 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-22 17:33:13 +00:00
Ricky Stewart
c034560cf3 Bug 1582155 - Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48130

--HG--
extra : moz-landing-system : lando
2019-10-21 18:20:53 +00:00
Ricky Stewart
16a6c7da5c Bug 1587232 - ./mach vendor rust leaves the tree in an unclear state if it would bring in a file that's too large r=firefox-build-system-reviewers,mshal
Add code to clean up Git and Hg repositories, and invoke that where `./mach vendor rust` would throw an error. Unfortunately, `cargo vendor` also updates the repo's root `Cargo.lock` file in-place and while we could `git checkout`/`hg revert` that file for the user, `Cargo.lock` may have had pre-existing changes that would be overwritten by such a change. Instead of a potentially destructive update in the error case, I've opted to add an extra error message to tell you how to deal with that one file.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 18:23:36 +00:00
Edwin Takahashi
8eb4f8e716 Bug 1581224 - convert mach uuid to be compatible with both python2/3 r=Callek
Changes:
- remove `uuid` from the python3 blacklist in `mach`
- enable `test_telemetry.py` for python3
- adjust test outcome expectation for Windows + python3, suspect `mozpack.path` is not filtering Windows path correctly in python3 environment
- switch file read mode between `r` and `rb` depending on version of python

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

--HG--
extra : moz-landing-system : lando
2019-10-21 16:33:00 +00:00
Chris Manchester
079c3c1179 Bug 1587715 - Fix TypeError when submitting build telemetry without cpu_percent present. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49342

--HG--
extra : moz-landing-system : lando
2019-10-16 04:01:26 +00:00
Cosmin Sabou
af6083b6c6 Backed out changeset 015fd18edd63 (bug 1582155) for python failures on test_configure.py.
--HG--
extra : rebase_source : 0d9dcf79f447a91fb8acf3a41e91a0c18c1d8c7e
2019-10-21 19:05:02 +03:00
Ricky Stewart
bd328cad45 Bug 1582155 - Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48130

--HG--
extra : moz-landing-system : lando
2019-10-18 22:21:28 +00:00
Andi-Bogdan Postelnicu
c5b22adcf8 Bug 1590086 - Continue full Coverity analysis even if cov-run-desktop fails. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D49934

--HG--
extra : moz-landing-system : lando
2019-10-21 14:01:56 +00:00
Andrew Halberstadt
0912d6c960 Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander
The BuildReader's 'find_sphinx_variables' function is hardcoded to look for the
SPHINX_TREES and SPHINX_PYTHON_PACKAGE_DIRS variables. But it's otherwise
implemented to find any arbitrary variable (as long as they are a simple list
or dict).

This change simply moves the variable name(s) to the function call. The comment
about possibly wanted to use a higher level AST library to parse other kinds of
variables still applies, but for now this change is good enough to suit my
needs.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:05:49 +00:00
Makoto Kato
9f744d72cd Bug 1565634 - mach install should install GVE as default. r=nalexander
Fennec is removed, but mach install still tries to install Fennec. It should
install GVE instead.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 02:01:26 +00:00
Chris Manchester
e69835925b Bug 1587913 - Fix rust target detection for rustc 1.38. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D48996

--HG--
extra : moz-landing-system : lando
2019-10-16 22:16:13 +00:00
Gijs Kruitbosch
d263dfefb6 Bug 1588925 - fix typo in crash guard string, r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49400

--HG--
extra : moz-landing-system : lando
2019-10-16 11:57:56 +00:00
Francesco Lodolo (:flod)
30d8324d54 Bug 1588992 - Remove Fluent migration recipes for Firefox 70 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D49383

--HG--
extra : moz-landing-system : lando
2019-10-16 07:21:30 +00:00
Calixte Denizet
98f3f94379 Bug 1586036 - Add the files under obj-dir/dist/xpcrs/rt|bt in generated-sources.json r=firefox-build-system-reviewers,chmanchester
Some generated files are missing in generated-sources.json so just add them.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 21:29:12 +00:00
Edouard Oger
f6c6575b00 Bug 1588793 - Load Sync Now string at startup. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49296

--HG--
extra : moz-landing-system : lando
2019-10-15 17:17:52 +00:00
Dorel Luca
fafb51f01d Backed out changeset 7f353853da83 (bug 1588793) as requsted by the dev. CLOSED TREE 2019-10-15 18:43:25 +03:00
Edouard Oger
8b32e670f0 Bug 1588793 - Load Sync Now string at startup. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49296

--HG--
extra : moz-landing-system : lando
2019-10-15 15:26:24 +00:00
Andi-Bogdan Postelnicu
d3a12373bd Bug 1584468 - for review-time static analysis try to match files from the obj directory to files from the repo. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D48702

--HG--
extra : moz-landing-system : lando
2019-10-15 11:36:12 +00:00