Commit Graph
5411 Commits
Author SHA1 Message Date
Chris Manchester 49294eadc7 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901
2019-12-05 04:53:11 +00:00
Chris Manchester 78a2e38c55 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-12-05 04:53:09 +00:00
Molly Howell 4347e75b48 Bug 1599142 - Fix several Windows compatibility issues in documentation generation. r=ahal,froydnj
This patch addresses the following issues which prevent building the
documentation on a Windows system:

1. check_jsdoc attempts to launch a file by the name of jsdoc using
   subprocess.check_output(). But, the file jsdoc is a Bash script,
   so it can't be launched this way on Windows. We should find the
   correct file name to use instead (likely jsdoc.cmd).
2. The Windows CopyFile API will fail if the destination directory does
   not exist. The procedure that creates the staging directory for Sphinx
   attempts to use this API before any directories are created, so most calls
   to it fail and most files don't get staged. These errors are ignored, so
   the result is that Sphinx succeeds in generating a set of documentation
   that is mostly empty.
3. Several instances where manually constructed paths that contain both back
   and forward slashes are compared to or otherwise used with normalized paths,
   resulting in incorrect behaviors.

Differential Revision: https://phabricator.services.mozilla.com/D54549
2019-12-05 17:04:17 +00:00
Florin Strugariu bdba4739fe Bug 1593674 - remove marionette VideoStream YouTube test as it's duplicated in raptor r=tarek,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D52820
2019-12-05 14:06:38 +00:00
Razvan Maries bc3a8a17bf Backed out 3 changesets (bug 1595218) for build bustages. CLOSED TREE
Backed out changeset 499b0c27da4f (bug 1595218)
Backed out changeset f2f230a3028d (bug 1595218)
Backed out changeset 93ec75efbf41 (bug 1595218)
2019-12-05 02:53:04 +02:00
Chris Manchester 25830f3e60 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901
2019-12-04 23:37:16 +00:00
Chris Manchester 8d403f2786 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-12-04 23:37:14 +00:00
Geoff Brown 0bada8d818 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

Differential Revision: https://phabricator.services.mozilla.com/D55756
2019-12-04 13:55:45 +00:00
Gurzau Raul 9775618d98 Backed out 3 changesets (bug 1595218) for Windows wrench failures.
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Chris Manchester 1c004aa7e6 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901
2019-12-03 21:51:47 +00:00
Chris Manchester 06636052f9 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-12-03 21:51:40 +00:00
Ricky Stewart 2bf5279b18 Bug 1600664 - Download the wasi sysroot during bootstrap for Linux r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55481
2019-12-03 20:38:35 +00:00
Ricky Stewart 644515aa28 Bug 1600520 - Build flags order regression: OS include paths used before local paths r=froydnj
Remove the "clever" logic from patch D53070, which was meant to reduce code duplication, and replace with easier-to-understand logic. Copy-and-paste the previous version of the CompileFlags class before patch D53070 to ensure that we stamp out the regression.

Differential Revision: https://phabricator.services.mozilla.com/D55472
2019-12-03 18:14:39 +00:00
Nathan Froyd a740d66e61 Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D54202
2019-12-03 06:50:13 +00:00
Sebastian Hengst f5428610e5 Merge mozilla-central to autoland. CLOSED TREE 2019-12-03 19:33:56 +01:00
Sebastian Hengst b18287fd54 Backed out changeset 3034ec8681ac (bug 1590745) for breaking local macOS 10.15 builds (bug 1600720). a=backout 2019-12-03 19:06:29 +01:00
shindli 8df00ca071 Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Alexander Kuleshov 2353f8b443 Bug 1513775: fix mach bootstrap on Fedora when mercurial is not installed r=froydnj
If Mercurial (hg) is not installed on a Centos/Fedora system, execution
of:

  $ ./mach bootstrap

will be failed as the bootstrap script tries to execute:

  # dnf update mercurial

This commit adds 'dnf install' command if the mercurial wasn't
installed on the system. This command will try to execute installation
of mercurial.

In other case there will be a try to upgrade to the latest possibly version
of mercurial.

Differential Revision: https://phabricator.services.mozilla.com/D55639
2019-12-03 16:43:10 +00:00
Chris Manchester 85f61f6de2 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901
2019-11-22 00:02:18 +00:00
Chris Manchester fb4488c07b Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900
2019-11-26 13:30:58 +00:00
Chris Manchester 8c05a8210f Bug 1594903 - Remove reference to gecko-dev in bootstrap instructions. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D52770
2019-11-13 14:31:28 +00:00
Ricky Stewart d527c8606c Bug 1599235 - Download lucetc during bootstrap for Linux r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54835
2019-11-28 12:27:22 +00:00
Mihai Alexandru Michis 9d4486de99 Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE 2019-12-02 16:59:55 +02:00
Andi-Bogdan Postelnicu c3357d5af9 Bug 1600558 - for static-analysis mutate the proper wildcards from clang-tidy to python. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55423
2019-12-02 14:25:03 +00:00
Andi-Bogdan Postelnicu 5abc31373d Bug 1600226 - Optimize the way how we follow symlinks for static-analysis check. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55237
2019-12-02 14:24:16 +00:00
Nathan Froyd 5958bda871 Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D54202
2019-11-26 21:19:53 +00:00
Francesco Lodolo (:flod) c0242eec77 Bug 1600560 - Remove Fluent migration recipes for Firefox 71 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D55416
2019-12-02 10:12:39 +00:00
Francesco Lodolo (:flod) 8500af1af7 Bug 1600421 - Style attribute for bookmark-panel should include min-width r=Pike,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55344
2019-11-30 07:54:33 +00:00
Mark Striemer c3b96195d6 Bug 1593649 - Part 1: Fix a11y issues with about:addons header/recommendations r=robwu,rpl,fluent-reviewers,flod
Add a proper title and popup attributes to page-options button.
Make recommended card's add-on names headings.
Give the HTML pane a title so it reads better in screen readers.
Always include a label for the search box.
Clarify the label on the extension enable checkbox.

Differential Revision: https://phabricator.services.mozilla.com/D54874
2019-11-29 19:36:57 +00:00
Zibi Braniecki 1e753d4b69 Bug 1599303 - Migrate bookmark panel to Fluent. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54647
2019-11-29 07:18:04 +00:00
Andi-Bogdan Postelnicu 9f6b3fd522 Bug 1600048 - fix the call to map_file_to_source that prevented the json export for clang-tidy to work. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55110
2019-11-28 15:20:22 +00:00
Ricky Stewart d6d4621011 Bug 1599648 - Add a py3_action build action r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D55031
2019-11-27 23:38:49 +00:00
Māris Fogels 993b4e011f Bug 1599744 - Ensure unicode env vars are handled by virtualenv r=ahal
Ensure that environment variables with unicode values are handled correctly
when setting up a virtualenv.

Differential Revision: https://phabricator.services.mozilla.com/D55019
2019-11-27 20:50:32 +00:00
Ricky Stewart 9f583f367a Bug 1594867 - Add moz.build/backend bits to specify files that should be built as a sandboxed wasm library r=firefox-build-system-reviewers,mshal
Add backend stuff to build sandboxed wasm libraries. (Don't actually update any moz.build files to consume this yet.)

Differential Revision: https://phabricator.services.mozilla.com/D54152
2019-11-27 20:11:59 +00:00
Māris Fogels 78d19b2063 Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

Differential Revision: https://phabricator.services.mozilla.com/D50819
2019-11-25 20:23:03 +00:00
Māris Fogels 52c1285409 Bug 1598830 - Fix sys.executable in the macOS Python tests r=ahal
Homebrew on OS X will change Python's sys.executable to a custom value
which messes with mach's virtualenv handling code. Override Homebrew's
changes with the correct sys.executable value.

Differential Revision: https://phabricator.services.mozilla.com/D54602
2019-11-26 15:01:30 +00:00
Botond Ballo 2fca46c2e4 Bug 1590857 - Don't prompt to install Android app if the user is running 'mach install'. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54381
2019-11-25 22:17:59 +00:00
Edwin Takahashi c865ba8e47 Bug 1598839 - run mach environment with python3 r=ahal
Changes:

Remove `environment` from the python3 blacklist.

Remove the option to specify `configure` for the formatting argument, since it has never been supported (the method has never been implemented).

Differential Revision: https://phabricator.services.mozilla.com/D54395
2019-11-25 18:27:28 +00:00
Mark Striemer 1953adc031 Bug 1570792 - Toggle extension enabled state on the card r=rpl,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51699
2019-11-21 22:04:55 +00:00
Cosmin Sabou 2953f0d5fc Backed out 4 changesets (bug 1570792, bug 1593358, bug 1575905) for causing bug 1593402 to near permafail. CLOSED TREE
Backed out changeset 43490702945f (bug 1593358)
Backed out changeset cf2f28971e64 (bug 1570792)
Backed out changeset 67f284b0e4c2 (bug 1575905)
Backed out changeset 13d8e61774f1 (bug 1575905)
2019-11-23 01:57:15 +02:00
Andrew Halberstadt 736ecd0699 Bug 1596426 - [mozbuild] Add a 'manifest_relpath' key to all tests in the TestManifestBackend, r=froydnj
I would prefer if this (and the other keys there) were added by the
ReftestManifest object instead:
https://searchfox.org/mozilla-central/rev/652014ca1183c56bc5f04daf01af180d4e50a91c/layout/tools/reftest/reftest/__init__.py#39

But since there is already precedent here, it's easiest to tag
'manifest_relpath' along with the others. Bug 1590388 will likely handle
cleaning all this up.

Differential Revision: https://phabricator.services.mozilla.com/D53970
2019-11-21 21:27:32 +00:00
Mark Striemer e5e94c4548 Bug 1570792 - Toggle extension enabled state on the card r=rpl,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51699
2019-11-21 22:04:55 +00:00
Andrew Halberstadt abbf4c2b4e Bug 1598099 - [mozbuild] Catch correct exception when instantiating a Repository object without a build config, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54021
2019-11-21 21:27:52 +00:00
Zibi Braniecki d441077c48 Bug 1591328 - Migrate the window title to Fluent. r=fluent-reviewers,Gijs,mixedpuppy
Depends on D53775

Differential Revision: https://phabricator.services.mozilla.com/D53776
2019-11-21 19:16:15 +00:00
Nathan Froyd a6f149054e Bug 1536848 - raise the minimum gcc version to 7; r=dmajor
We need this for full C++17 support.

Differential Revision: https://phabricator.services.mozilla.com/D51451
2019-11-21 20:53:27 +00:00
Ricky Stewart 5c4c07719d Bug 1598134 - configure and unit test performance regressed by inspect.stack() call from bug 1582155 r=mshal,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54038
2019-11-21 14:59:19 +00:00
Māris Fogels db37eebba7 Bug 1593105 - [mozbuild] Port mozbuild.util.FileAvoidWrite to Python 3 r=firefox-build-system-reviewers,mshal
The FileAvoidWrite class does a bunch of stuff with bytes and strings
that doesn't work in Python 3.  Make sure the object is handling only
bytes or only strings under the hood so Python 3 is happy.

The FileAvoidWrite unit tests written with MockedOpen don't work in
Python 3 either.  Swap them out for vanilla pytest tests without
the MockedOpen dependency.

Differential Revision: https://phabricator.services.mozilla.com/D51341
2019-11-21 15:13:37 +00:00
Chris Manchester cb9b50f716 Bug 1598157 - Do not check mozilla-inbound during artifact builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54057
2019-11-20 23:50:34 +00:00
Geoff Lankow 3ee10932b0 Bug 1595696 - Shift artifact namespace transformation to the job class definition. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52631
2019-11-20 19:01:26 +00:00
Cosmin Sabou d39a5e8747 Backed out changeset 530a567814d0 (bug 1596438) for causing bug 1597957. 2019-11-20 18:45:35 +02:00