Commit Graph
5340 Commits
Author SHA1 Message Date
Kirk Steuber b7993df4fb Bug 1588142 - Move Fluent about:preferences title attribute to a title tag r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51713
2019-11-12 18:00:05 +00:00
Sylvestre Ledru 9c9f40909c Bug 1562642 - add missing license in python/l10n/convert_xul_to_fluent r=zbraniecki
Depends on D52590

Differential Revision: https://phabricator.services.mozilla.com/D52591
2019-11-11 22:45:02 +00:00
Andi-Bogdan Postelnicu a669bc807e Bug 1406309 - add AUTOCLOBBER for our static-analysis targets. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D52169
2019-11-12 14:01:46 +00:00
Andrew Halberstadt 9f2d4722f7 Bug 1583353 - [moztest.resolve] Implement a TestLoader that doesn't rely on the build system, r=gbrown
This loader uses 'reader.find_variables_from_ast' to parse all *_MANIFESTS variables from
moz.build files using the abstract syntax tree. This means it will find all such variables
regardless of the current buildconfig.

Differential Revision: https://phabricator.services.mozilla.com/D51834
2019-11-06 17:13:20 +00:00
Andrew Halberstadt f6718cb637 Bug 1583353 - [mozbuild.reader] Don't return root moz.build twice in 'all_mozbuild_paths', r=froydnj
Despite what the comment says, the finder *does* pick up the root moz.build. So
we end up processing it twice. This was never caught before because we only ever
used this function to read Sphinx related variables, of which the root moz.build
contains none.

Differential Revision: https://phabricator.services.mozilla.com/D51832
2019-11-05 15:38:32 +00:00
Tom Prince 6d1d6ca247 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
2019-11-11 05:50:11 +01:00
Andrew Halberstadt 4ddf424fe5 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
2019-11-07 23:07:20 +00:00
Ricky Stewart ed3f513055 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
2019-11-04 23:15:19 +00:00
Edwin Takahashi 61b3bcc9da 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
2019-11-05 18:56:21 +00:00
Edwin Takahashi d232a0283d 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
2019-11-05 15:28:21 +00:00
Edwin Takahashi c2c654502b 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
2019-11-04 20:31:43 +00:00
Edwin Takahashi ba207b7119 Bug 1592855 - run mach vendor python with python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51414
2019-11-05 15:29:44 +00:00
Gijs Kruitbosch d306e9d9f5 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
2019-11-05 17:40:47 +00:00
Geoff Brown c030e1ba6c 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
2019-11-05 17:09:41 +00:00
Edwin Takahashi 8d49ceb850 Bug 1591220 - migrate python-safety to run with python3 by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51184
2019-11-04 21:55:21 +00:00
Andrew Halberstadt 980dae843c 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
2019-10-31 18:02:09 +00:00
Mark Striemer d653199395 Bug 1525175 - Part 3: Move system message bars into HTML views r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D47804
2019-11-01 16:01:38 +00:00
Mark Striemer 72d6e44148 Bug 1525175 - Part 1: Convert about:addons header to HTML r=rpl,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D43610
2019-11-01 16:26:32 +00:00
Edwin Takahashi eff2d9461e 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
2019-10-30 20:42:50 +00:00
Andi-Bogdan Postelnicu 4c2e3fcc87 Bug 1588283 - Incorrect build failure reported by coverity when using inline definitions. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D50961
2019-10-29 18:15:28 +00:00
Mike Shal 07b429caeb 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
2019-10-29 14:17:24 +00:00
Mike Shal bf859ce3b7 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
2019-10-29 14:17:23 +00:00
Andi-Bogdan Postelnicu 77ce46f07a Bug 1587079 - disable structured log when using requests.get(...) for Coverity analysis. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D50442
2019-10-29 09:23:09 +00:00
Nathan Froyd 225bf131f3 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
2019-10-28 20:58:15 +00:00
Edwin Takahashi de81b6af44 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
2019-10-24 21:38:20 +00:00
Zibi Braniecki a7e4629a78 Bug 1591003 - Migrate urlbar notification tooltips to Fluent. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D50443
2019-10-24 18:50:26 +00:00
Bryce Seager van Dyk beb754e3fe 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
2019-10-24 18:52:42 +00:00
Philip Jägenstedt 1d887ccf3c 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
2019-10-24 14:12:32 +00:00
Cosmin Sabou 7b6de6a3e9 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)
2019-10-23 23:10:17 +03:00
Anthony Ramine 01052af7c6 Bug 1590344 - Don't unset PYTHONDONTWRITEBYTECODE anymore; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D50041
2019-10-22 21:05:53 +00:00
Cosmin Sabou 5eafb2df6e Backed out changeset e2448f988af9 (bug 1590344) for causing python failures on configure/lint.py. 2019-10-23 22:33:00 +03:00
Anthony Ramine 02f4bad1eb Bug 1590344 - Don't unset PYTHONDONTWRITEBYTECODE anymore; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D50041
2019-10-22 21:05:53 +00:00
Marco Castelluccio 195ac6698f Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830
2019-10-22 22:55:45 +00:00
Dorel Luca 08407c8119 Backed out changeset 098dacd3fabe (bug 1476339) for Linting failure in mozbuild/mozbuild/frontend/context.py. CLOSED TREE 2019-10-23 01:26:46 +03:00
Marco Castelluccio ef28cb63f7 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830
2019-10-22 21:00:34 +00:00
Dorel Luca 6fec404682 Backed out changeset ca117d13ca06 (bug 1212502) for Windows 2012 build bustage. CLOSED TREE 2019-10-22 20:53:27 +03:00
Wes Kocher 74f18e65c9 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49366
2019-10-22 17:33:13 +00:00
Ricky Stewart 888b1e1587 Bug 1582155 - Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48130
2019-10-21 18:20:53 +00:00
Ricky Stewart cce98f268b 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
2019-10-21 18:23:36 +00:00
Edwin Takahashi 77ee0179b0 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
2019-10-21 16:33:00 +00:00
Chris Manchester f4acc32d53 Bug 1587715 - Fix TypeError when submitting build telemetry without cpu_percent present. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49342
2019-10-16 04:01:26 +00:00
Cosmin Sabou 243d2845a2 Backed out changeset 015fd18edd63 (bug 1582155) for python failures on test_configure.py. 2019-10-21 19:05:02 +03:00
Ricky Stewart 5bef3cb0e9 Bug 1582155 - Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48130
2019-10-18 22:21:28 +00:00
Andi-Bogdan Postelnicu 0e961d749c Bug 1590086 - Continue full Coverity analysis even if cov-run-desktop fails. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D49934
2019-10-21 14:01:56 +00:00
Andrew Halberstadt f863acffee 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
2019-10-18 14:05:49 +00:00
Makoto Kato 438712f29e 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
2019-10-18 02:01:26 +00:00
Chris Manchester 531d04bd4c Bug 1587913 - Fix rust target detection for rustc 1.38. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D48996
2019-10-16 22:16:13 +00:00
Gijs Kruitbosch 0eabb0efa4 Bug 1588925 - fix typo in crash guard string, r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49400
2019-10-16 11:57:56 +00:00
Francesco Lodolo (:flod) cf70928558 Bug 1588992 - Remove Fluent migration recipes for Firefox 70 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D49383
2019-10-16 07:21:30 +00:00
Calixte Denizet fe383e9c52 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
2019-10-15 21:29:12 +00:00