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

5609 Коммитов

Автор SHA1 Сообщение Дата
Molly Howell c4a4ebd403 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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:04:17 +00:00
Florin Strugariu cc65231541 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

--HG--
extra : moz-landing-system : lando
2019-12-05 14:06:38 +00:00
Razvan Maries c9cf973dbf 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 a85167cf6b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:16 +00:00
Chris Manchester adb6750333 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:14 +00:00
Geoff Brown 9e59579c39 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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Gurzau Raul 87ac4a3719 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 be8da63e8e Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:47 +00:00
Chris Manchester 3d90cadcda Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:40 +00:00
Ricky Stewart 64c581817a Bug 1600664 - Download the wasi sysroot during bootstrap for Linux r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55481

--HG--
extra : moz-landing-system : lando
2019-12-03 20:38:35 +00:00
Ricky Stewart 8bc5f7c9dd 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

--HG--
extra : moz-landing-system : lando
2019-12-03 18:14:39 +00:00
Nathan Froyd f47aaef62d 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

--HG--
extra : moz-landing-system : lando
2019-12-03 06:50:13 +00:00
Sebastian Hengst a47186d18f Merge mozilla-central to autoland. CLOSED TREE 2019-12-03 19:33:56 +01:00
Sebastian Hengst 4d554f0a10 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 4562fd4c3b 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 e0ecbc0991 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

--HG--
extra : moz-landing-system : lando
2019-12-03 16:43:10 +00:00
Chris Manchester 9eb1bdb17b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-11-22 00:02:18 +00:00
Chris Manchester 30f788ec38 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-11-26 13:30:58 +00:00
Chris Manchester f54bb90db2 Bug 1594903 - Remove reference to gecko-dev in bootstrap instructions. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D52770

--HG--
extra : moz-landing-system : lando
2019-11-13 14:31:28 +00:00
Ricky Stewart 149113d525 Bug 1599235 - Download lucetc during bootstrap for Linux r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54835

--HG--
extra : moz-landing-system : lando
2019-11-28 12:27:22 +00:00
Mihai Alexandru Michis d12cf9f2ad Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE
--HG--
extra : rebase_source : 60fba62a9241bec3aadc84260c2b9dacb89cf1ff
2019-12-02 16:59:55 +02:00
Andi-Bogdan Postelnicu 4204dba075 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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:25:03 +00:00
Andi-Bogdan Postelnicu dd9aed5465 Bug 1600226 - Optimize the way how we follow symlinks for static-analysis check. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55237

--HG--
extra : moz-landing-system : lando
2019-12-02 14:24:16 +00:00
Nathan Froyd 945c7515d6 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

--HG--
extra : moz-landing-system : lando
2019-11-26 21:19:53 +00:00
Francesco Lodolo (:flod) bc6ecf6708 Bug 1600560 - Remove Fluent migration recipes for Firefox 71 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D55416

--HG--
extra : moz-landing-system : lando
2019-12-02 10:12:39 +00:00
Francesco Lodolo (:flod) c611e515a2 Bug 1600421 - Style attribute for bookmark-panel should include min-width r=Pike,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55344

--HG--
extra : moz-landing-system : lando
2019-11-30 07:54:33 +00:00
Mark Striemer 415e677b84 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

--HG--
extra : moz-landing-system : lando
2019-11-29 19:36:57 +00:00
Zibi Braniecki 15b552dc41 Bug 1599303 - Migrate bookmark panel to Fluent. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54647

--HG--
extra : moz-landing-system : lando
2019-11-29 07:18:04 +00:00
Andi-Bogdan Postelnicu 5fe516cd88 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

--HG--
extra : moz-landing-system : lando
2019-11-28 15:20:22 +00:00
Ricky Stewart 6f304a37d1 Bug 1599648 - Add a py3_action build action r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D55031

--HG--
extra : moz-landing-system : lando
2019-11-27 23:38:49 +00:00
Māris Fogels dc0f691706 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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:50:32 +00:00
Ricky Stewart d5eb7d0ea5 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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:11:59 +00:00
Māris Fogels 75d85af992 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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:03 +00:00
Māris Fogels 8200f05c80 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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:01:30 +00:00
Botond Ballo 83bfe6cee0 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

--HG--
extra : moz-landing-system : lando
2019-11-25 22:17:59 +00:00
Edwin Takahashi 79d87a899e 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

--HG--
extra : moz-landing-system : lando
2019-11-25 18:27:28 +00:00
Mark Striemer 8ff9fdc060 Bug 1570792 - Toggle extension enabled state on the card r=rpl,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51699

--HG--
extra : source : cf2f28971e644574fec25c268044bde692511c08
2019-11-21 22:04:55 +00:00
Cosmin Sabou 09e4d6e7d0 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)

--HG--
extra : amend_source : 9541e3e941e7b62095715bb4859991bd48ea0489
extra : histedit_source : 51dd3724c2e8b806b2c9e531aa14119ff38f37e4
2019-11-23 01:57:15 +02:00
Andrew Halberstadt 099aff4f59 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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:27:32 +00:00
Mark Striemer fc6c868f4a Bug 1570792 - Toggle extension enabled state on the card r=rpl,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51699

--HG--
extra : moz-landing-system : lando
2019-11-21 22:04:55 +00:00
Andrew Halberstadt 3dca2855a2 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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:27:52 +00:00
Zibi Braniecki 58b54fbcc6 Bug 1591328 - Migrate the window title to Fluent. r=fluent-reviewers,Gijs,mixedpuppy
Depends on D53775

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:16:15 +00:00
Nathan Froyd 72b0fe8ee6 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

--HG--
extra : moz-landing-system : lando
2019-11-21 20:53:27 +00:00
Ricky Stewart 35f7bc06ec 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

--HG--
extra : moz-landing-system : lando
2019-11-21 14:59:19 +00:00
Māris Fogels fd2e3c6b9e 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

--HG--
extra : moz-landing-system : lando
2019-11-21 15:13:37 +00:00
Chris Manchester 60fcabc3d4 Bug 1598157 - Do not check mozilla-inbound during artifact builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54057

--HG--
extra : moz-landing-system : lando
2019-11-20 23:50:34 +00:00
Geoff Lankow ada7694a92 Bug 1595696 - Shift artifact namespace transformation to the job class definition. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52631

--HG--
extra : moz-landing-system : lando
2019-11-20 19:01:26 +00:00
Cosmin Sabou 3ee0fc5c70 Backed out changeset 530a567814d0 (bug 1596438) for causing bug 1597957. 2019-11-20 18:45:35 +02:00
Andrew Halberstadt 497cccb9c6 Bug 1596431 - [python] Add an --ipython flag to |mach python|, r=firefox-build-system-reviewers,chmanchester
This will install ipython into the default virtualenv if it doesn't exist. Unless --no-virtualenv
is specified in which case an error will be printed.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 20:54:40 +00:00
Ricky Stewart 906b8677fd Bug 1596438 - mach build fails on Windows if using upper-case drive letter paths r=firefox-build-system-reviewers,chmanchester
`os.path.abspath` on Windows doesn't return a consistent value -- the capitalization can vary based on environmental factors that I don't fully understand. Regardless, normalize case where this function is called in config_status.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 23:31:14 +00:00
Mike Shal 3ce3aba1c7 Bug 1593948 - Touch clobber in configure.py instead of clobber.py; r=firefox-build-system-reviewers,chmanchester
If configure is invoked manually, clobber.py is bypassed and the CLOBBER
file doesn't get touched. The clobber check in Makefile.in gets
triggered causing the build to stop.

Moving the objdir/CLOBBER file creation into configure.py should cause
it to be created regardless of how configure is invoked.

Depends on D53290

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

--HG--
extra : moz-landing-system : lando
2019-11-19 21:49:13 +00:00
Ricky Stewart af09bd9e37 Bug 1596475 - Add WASM_CFLAGS, WASM_CXXFLAGS, WASM_LDFLAGS r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53070

--HG--
extra : moz-landing-system : lando
2019-11-19 16:25:49 +00:00
Nathan Froyd cfbed66842 Bug 1597686 - do some basic typechecking on BaseCompileFlags.flag_variables; r=rstewart
Bug 1596868 was triggered by forgetting a comma, turning an intended
tuple into a string, which Python dutifully iterated over as a sequence
of single characters.  Let's add some basic typechecking so these sort
of mistakes don't happen again.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 16:22:05 +00:00
Makoto Kato d1e9c700c9 Bug 1596645 - Support ./mach bootstrap for non-atrifact build of GeckoView on mozilla-build. r=froydnj
Now since we use unicode_literals by bug 1210157, mercurial version check will be error due to `TypeError: environment can only contain strings`.
So we don't use unicode for os.environment['PATH'] when appending Java path.

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

--HG--
extra : moz-landing-system : lando
2019-11-18 19:30:14 +00:00
Alexander Surkov 40f1b26958 Bug 1594122 - remove skip xbl tests option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53262

--HG--
extra : moz-landing-system : lando
2019-11-15 20:33:32 +00:00
Andi-Bogdan Postelnicu 2bdb101f7d Bug 1596456 - unpack arguments as list to `_get_infer_args`. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D53398

--HG--
extra : moz-landing-system : lando
2019-11-18 12:05:28 +00:00
Ricky Stewart cf78fa6491 Bug 1596868 - CXXFLAGS, LDFLAGS, etc. regressed by bug 1595906 r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D53249

--HG--
extra : moz-landing-system : lando
2019-11-15 18:34:50 +00:00
Axel Hecht f357172632 Bug 1594676, normalize Fluent files when validating migration tests, r=flod,stas
There's a lot of formatting that is irrelevant for Fluent,
and it's hard to diff usefully on the text file.
Instead, normalize the Fluent files by parsing them, and serialzing
them with Junk included.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 17:37:34 +00:00
Tom Schuster d9e39bab32 Bug 1595297 - Add EARLY_BETA_OR_EARLIER to mozinfo. r=firefox-build-system-reviewers,mshal
We need this to disable a test on the right versions.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 01:38:19 +00:00
Gabriele Svelto 6ff1e8b815 Bug 1516367 - Move the minidump-analyzer out of the crash reporter application bundle r=spohl,dmajor
The minidump-analyzer tool was originally conceived to be used from the crash
report client and as such was installed in the crash reporter client
application bundle on macOS. It was later adapted to work from Firefox itself
but this caused linking problems when invoked from the Firefox app bundle.
This patch moves the minidump-analyzer into the Firefox app bundle and adapts
the relevant code to find it there.

The minidump-analyzer was also not signed like the rest of our executables and
this patch addresses that issue too.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 21:11:59 +00:00
Razvan Maries 5af92f5f8a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-11-15 00:41:27 +02:00
Razvan Maries 4e42de3ec8 Merge mozilla-inbound to mozilla-central a=merge 2019-11-14 23:49:26 +02:00
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
Sylvestre Ledru bdfd8579c3 Bug 1562642 - add missing license in python/mozrelease/mozrelease r=catlee
Depends on D52591

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

--HG--
extra : moz-landing-system : lando
2019-11-13 16:00:24 +00:00
Jesse Schwartzentruber ddd306f948 Bug 1596227 - Fix Android platform_guess for x86_64 and aarch64. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52909

--HG--
extra : moz-landing-system : lando
2019-11-14 01:58:51 +00:00
Nick Thomas e4c017966b Bug 1595632 - don't hardcode TC root url for release start emails, r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D52947

--HG--
extra : moz-landing-system : lando
2019-11-14 03:15:51 +00:00
Kirk Steuber 3beae18aeb Bug 1588142 - Move Fluent about:preferences title attribute to a title tag r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51713

--HG--
extra : moz-landing-system : lando
2019-11-14 00:17:13 +00:00
Csoregi Natalia 6db46a2b36 Backed out 4 changesets (bug 1588142) for failures on browser_canvasframe_helper_02.js. CLOSED TREE
Backed out changeset 2284a535c8bc (bug 1588142)
Backed out changeset 939b6b3922c2 (bug 1588142)
Backed out changeset 1a5f2b044f82 (bug 1588142)
Backed out changeset 87336cc7f8a1 (bug 1588142)
2019-11-14 00:18:21 +02:00
Kirk Steuber f28fdd0bc0 Bug 1588142 - Move Fluent about:preferences title attribute to a title tag r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51713

--HG--
extra : moz-landing-system : lando
2019-11-12 18:00:05 +00:00
Sylvestre Ledru e7b21d82c2 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

--HG--
extra : moz-landing-system : lando
2019-11-11 22:45:02 +00:00
Andi-Bogdan Postelnicu a4b03d3e1f Bug 1406309 - add `AUTOCLOBBER` for our static-analysis targets. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D52169

--HG--
extra : moz-landing-system : lando
2019-11-12 14:01:46 +00:00
Ricky Stewart 7a000bc5ca Bug 1595906 - Allow opting out of hardening compile flags on a granular basis r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52756

--HG--
extra : moz-landing-system : lando
2019-11-14 17:13:28 +00:00
Andrew Halberstadt 99f6a2c376 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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:13:20 +00:00
Andrew Halberstadt 48615d1c1b 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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:38:32 +00: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
Ms2ger 30b4e2a534 Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in various mochitests.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 08:22:15 +00:00
shindli 56880b8b3b Backed out changeset 8fb923925923 (bug 1194860) for causing perma mda3 failures in dom/media/webaudio/test/test_convolverNodeChannelInterpretationChanges.html CLOSED TREE
--HG--
extra : histedit_source : f6827f0392c7d385c8a78cb2ec2458cf679afa4a
2019-10-14 19:27:08 +03:00
Ms2ger 6d1c58e46c Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in mochitest-chrome
tests in dom/animation/test.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 15:13:32 +00:00
shindli 8aa10c0b78 Backed out changeset 73cbc0f61053 (bug 1194860) for causing lint failure in /builds/worker/checkouts/gecko/dom/imptests/testharness.js CLOSED TREE 2019-10-14 16:43:11 +03:00
Ms2ger ea25c9e00d Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in mochitest-chrome
tests in dom/animation/test.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 12:59:10 +00:00
Kenny Levinsen 0c0d7c5752 Bug 1583582 - Mach should not depend on fields in /etc/os-release. r=kvark
Some fields of /etc/os-release are optional, so do not throw KeyError's when they're missing.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:27:14 +00:00
Edouard Oger 25eb2d60df Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410

--HG--
extra : moz-landing-system : lando
2019-10-11 17:06:57 +00:00
Andrew Halberstadt 91116caeac Bug 1587206 - [lint.flake8] Enable E117 across the tree, r=sylvestre
Prevents over-indentation.

Depends on D48611

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:51:45 +00:00
Andrew Halberstadt 142851700b Bug 1587206 - [lint.flake8] Enable F811 across the tree, r=sylvestre
This prevents redefinition of unused variables.

Depends on D48610

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:51:20 +00:00
Andrew Halberstadt 2b0d90e3ad Bug 1587206 - [lint.flake8] Enable F632 across the tree, r=sylvestre
This ensures we use ==/!= to strings and ints (instead of is/is not).

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:50:33 +00:00
Andreea Pavel eb350d4f6b Backed out changeset 4695136f7e82 (bug 1549049) for assertion failures at ErrorResult.h on a CLOSED TREE 2019-10-11 00:53:42 +03:00
Edouard Oger 136a86deed Bug 1549049 - Unify Sync Now buttons logic. r=markh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48410

--HG--
extra : moz-landing-system : lando
2019-10-10 21:08:01 +00:00
Brendan Dahl a51ca19772 Bug 1510785 - Support disabling XBL related tests. r=gbrown
Adds a way for mochitest, reftest, and crashtests to skip XBL related
tests when XBL is disabled. Also, add an app constant so JS can
check whether XBL is enabled.

Depends on D45614

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

--HG--
extra : moz-landing-system : lando
2019-10-08 23:52:33 +00:00
Mike Shal 07e8548c0b Bug 1581279 - Fix ./mach clobber --full for Python3; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48615

--HG--
extra : moz-landing-system : lando
2019-10-08 22:49:07 +00:00
Mark Banner 307a88a039 Bug 1563026 - Migrate search one-offs xul fragment to use fluent. r=fluent-reviewers,mak,flod
Differential Revision: https://phabricator.services.mozilla.com/D47078

--HG--
extra : moz-landing-system : lando
2019-10-08 10:05:54 +00:00
Bastien Abadie cd9df12219 Bug 1584452 - Remove $SRCDIR prefix in chrome map generation, r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48069

--HG--
extra : moz-landing-system : lando
2019-10-07 08:04:47 +00:00
Geoff Lankow 68b84bf193 Bug 1585828 - Replace is_firefox_or_android condition with has_build condition on mach run/mach install r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47992

--HG--
extra : moz-landing-system : lando
2019-10-04 13:20:07 +00:00
Nick Alexander c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Anmol Agarwal d2dbcf8eba Bug 1433941 - Passed remainder arguments as it is |mach python-test| r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47832

--HG--
extra : moz-landing-system : lando
2019-10-04 18:32:37 +00:00
Andrew Halberstadt 9067e54ba4 Bug 1586010 - [mozversioncontrol] Ensure env in appropriate format for subprocess, r=chmanchester
Environment should be bytes on Python 2 (to avoid Windows errors) and text on
Python 3. The 'ensure_subprocess' env utility function handles this.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:48:24 +00:00
Narcis Beleuzu 63d8758e03 Bug 1586246 - Fix linting on bug_1586246_migration.py. CLOSED TREE
--HG--
extra : histedit_source : 8d45d1950e08022b38c859581ae67992cfbfd364
2019-10-04 18:20:22 +03:00
Zibi Braniecki b1310453e8 Bug 1586246 - Migrate autohide-context to Fluent using convert script. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D48171

--HG--
extra : moz-landing-system : lando
2019-10-04 14:56:30 +00:00
Jared Wein 7fa1305555 Bug 1583428 - Remove the alt attribute for the favicon since it is not helpful and remove the alt attribute on the breached website icon so the title of 'Breached Website' is spoken. r=fluent-reviewers,MattN,flod
Differential Revision: https://phabricator.services.mozilla.com/D47811

--HG--
extra : moz-landing-system : lando
2019-10-03 16:05:22 +00:00
Andrew Halberstadt ae2f34a5b1 Bug 1585686 - [mozlint] Avoid UnicodeEncodeError for users who have an 'ascii' locale r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D47941

--HG--
extra : moz-landing-system : lando
2019-10-03 13:17:08 +00:00
Andrew Halberstadt d25a545d74 Bug 1585146 - [mach] Bump to 1.0.0 and add Python classifiers, r=firefox-build-system-reviewers,mshal
Depends on D47668

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

--HG--
extra : moz-landing-system : lando
2019-10-01 18:32:07 +00:00
Andrew Halberstadt 07d6b341a6 Bug 1585146 - [mach] Move '--disable-tests' check to a pre_dispatch_handler, r=firefox-build-system-reviewers,mshal
This logic is very 'mozill-central' specific and should live outside of mach
core if possible. Luckily we already have a concept of a 'pre_dispatch_handler'
that is meant for exactly this type of use case.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 22:31:23 +00:00
Brian Grinstead 9f7e4bb9b1 Bug 1550549 - Convert XUL textboxes to HTML inputs in pageInfo.xul r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D30537

--HG--
extra : moz-landing-system : lando
2019-10-02 12:30:43 +00:00
Chris Manchester 1259c2a612 Bug 1585258 - Call `ensure_subprocess_env` when setting environment variables during an artifact build. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47798

--HG--
extra : moz-landing-system : lando
2019-10-01 17:58:26 +00:00
Andrew Halberstadt 9935b8c10c Bug 1584567 - [mach] Remove support for conditional_names, r=nalexander
Depends on D47626

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

--HG--
extra : moz-landing-system : lando
2019-10-01 12:40:28 +00:00
Andrew Halberstadt 8336574b61 Bug 1584567 - Merge desktop + android commands (run and install) back together, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47626

--HG--
extra : moz-landing-system : lando
2019-09-30 16:59:27 +00:00
Chris Manchester 0f719094bc Bug 1583234 - Set HGPLAIN when running hg during an artifact build. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47656

--HG--
extra : moz-landing-system : lando
2019-09-30 21:35:40 +00:00
Ciure Andrei c3cb84e1d5 Backed out changeset 45f760e2a4c1 (bug 1583234) when causing linting failures CLOSED TREE 2019-10-01 00:20:12 +03:00
Chris Manchester f31f9e1083 Bug 1583234 - Set HGPLAIN when running hg during an artifact build. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47656

--HG--
extra : moz-landing-system : lando
2019-09-30 20:55:22 +00:00
Andrew Halberstadt d3eae4b83c Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-30 15:09:41 +00:00
Andrew Halberstadt 4c2f5c065e Bug 1580280 - [configure] Define '__bool__' on PositiveOptionValue for Python 3 compatibility, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47609

--HG--
extra : moz-landing-system : lando
2019-09-30 19:42:11 +00:00
Anmol Agarwal 35d00cbafb Bug 1494090 - Added -x option to |mach python-test| r=ahal
Bug 1494090 - Added -x option to |mach python-test|

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

--HG--
extra : moz-landing-system : lando
2019-09-30 20:18:08 +00:00
Nathan Froyd 56e10ca03e Bug 1577220 - update to the r20 Android NDK; r=snorp,nalexander
This version has a newer libc++, brings along some linker fixes, etc.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 13:50:43 +00:00
Mike Shal 26236dc8c1 Bug 1581248 - Strip //?/ prefixes in mozpath.relpath(); r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D46320

--HG--
extra : moz-landing-system : lando
2019-09-25 22:32:58 +00:00
Oana Pop Rus 4b9792db7c Backed out changeset 371641b1010b (bug 1580280) for lints failure on a CLOSED TREE 2019-09-26 00:18:33 +03:00
Andrew Halberstadt fdc7d0afac Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:14 +00:00
Rob Wu 7172b30de9 Bug 1556413 - Automatically untap caskroom/versions in bootstrap r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44639

--HG--
extra : moz-landing-system : lando
2019-09-23 17:04:00 +00:00
Andrew Halberstadt 898dfb96b4 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417

--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Gabriele Svelto 5be5470fba Bug 1582078 - Fix the .mozbuild creation prompt r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46267

--HG--
extra : moz-landing-system : lando
2019-09-24 00:54:23 +00:00
Nick Alexander 458fa264fe Bug 1582662 - Fix xpcshell test suites against artifact builds on try. r=chmanchester
Bug 1580996 cleaned up handling of `{application,platform}.ini` but
inadvertently populated `.ini` files from test archives into the
object directory.  That causes issues, especially on try.  Test INI
files should come from the local artifact build and not from the
upstream test archives.

Rather than re-instate the test at the time when processed test
archives are _unpacked_, the test is done as test archives are
packed/processed.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 21:47:42 +00:00
Aaron Klotz f9be0e1c7f Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

Depends on D43156

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

--HG--
extra : moz-landing-system : lando
2019-09-23 20:18:37 +00:00
Anmol Agarwal d6766388f1 Bug 1554657 - Add a verbose mode to |mach lint| to display log output r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D43507

--HG--
extra : moz-landing-system : lando
2019-09-23 13:19:25 +00:00
Andi-Bogdan Postelnicu aacf84276a Bug 1527818 - Add Coverity analysis for full build on try. r=marco,bastien
Differential Revision: https://phabricator.services.mozilla.com/D46477

--HG--
extra : moz-landing-system : lando
2019-09-23 11:10:23 +00:00
shindli 921b45df78 Merge autoland to mozilla-central. a=merge 2019-09-22 00:46:56 +03:00
Brindusan Cristian 125c934a04 Backed out 8 changesets (bug 1542830) for causing Nightly bustages. a=backout
Backed out changeset 6fcb417f7ff4 (bug 1542830)
Backed out changeset 1aa253e6604a (bug 1542830)
Backed out changeset 73ec288886cd (bug 1542830)
Backed out changeset 84b903e60dc9 (bug 1542830)
Backed out changeset 8e2da9ff5f5a (bug 1542830)
Backed out changeset c4e547a6a039 (bug 1542830)
Backed out changeset 919f1af7c135 (bug 1542830)
Backed out changeset da7e775c4051 (bug 1542830)

--HG--
rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
2019-09-22 00:01:01 +03:00
arthur.iakab 78b937649f Backed out changeset 33b58a35cd4e (bug 1435915)for causing Nighlty bustages a= backout 2019-09-21 16:38:54 +03:00
Zibi Braniecki 5e03cd7ff2 Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723

--HG--
extra : source : 33b58a35cd4e9c52f6b0969c8e28e249e2a92154
2019-09-20 15:44:55 +00:00
Zibi Braniecki d19841f79e Bug 1435915 - Remove preferences.properties. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45723

--HG--
extra : moz-landing-system : lando
2019-09-20 15:44:55 +00:00
Zibi Braniecki 3e2efa20f0 Bug 1508156 - Use fluent for the default application choice section of about:preferences. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D45622

--HG--
extra : moz-landing-system : lando
2019-09-20 20:09:42 +00:00
Aaron Klotz 4f7aaf1573 Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 19:43:21 +00:00
Ciure Andrei 7db4ad5d80 Backed out 8 changesets (bug 1542830) for causing spidermonkey bustages CLOSED TREE
Backed out changeset b9f7fc8d0172 (bug 1542830)
Backed out changeset b85f58fd5bbd (bug 1542830)
Backed out changeset 0a9169ab2623 (bug 1542830)
Backed out changeset 39a7c05d54ef (bug 1542830)
Backed out changeset 7a3cbd2f59f0 (bug 1542830)
Backed out changeset 268530552281 (bug 1542830)
Backed out changeset df658ffb8599 (bug 1542830)
Backed out changeset e7bef6486a38 (bug 1542830)

--HG--
rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
2019-09-20 21:21:39 +03:00
Aaron Klotz 1d681f2935 Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 16:59:57 +00:00
Andreea Pavel 31d9596a28 Backed out 8 changesets (bug 1542830) for gecko decision failure on a CLOSED TREE
DONTBUILD

Backed out changeset 4f72161be496 (bug 1542830)
Backed out changeset 7ee12138946d (bug 1542830)
Backed out changeset 9e90ee4981c6 (bug 1542830)
Backed out changeset 363039c98534 (bug 1542830)
Backed out changeset 70ffff30551a (bug 1542830)
Backed out changeset c25b7bf354d9 (bug 1542830)
Backed out changeset d156dc595b69 (bug 1542830)
Backed out changeset 9f5dbd1b2959 (bug 1542830)

--HG--
rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
2019-09-20 19:49:27 +03:00
Aaron Klotz 64eef06887 Bug 1542830: Part 3 - Add ntdll_freestanding.lib to freestanding; r=mhowell,froydnj
The `freestanding` library is built with specific compiler flags to signify
that it is indeed freestanding code. That is, it does not depend on a
standard library.

One of the requirements of freestanding code is that the toolchain still
expects implementations of `memcpy`, `memmove`, `memcmp`, and `memset`.

I did briefly implement my own naive versions of these functions, but that
solution is less than ideal since the implementations must be `extern` and are
thus picked up by the entire `firefox.exe` binary. This denies the rest of
`firefox.exe` the benefit of optimized implementations. On Windows, the
sandbox is linked into `firefox.exe`, so we cannot just shrug and
assume that naive implementations will not have any effect on anything.

There are, however, optimized implementations of these functions that are
exported by `ntdll.dll`. They are not included in the `ntdll.lib` that is
included in the Windows SDK. Using `llvm-dlltool`, we can build an import
library containing the missing entries and then add that library to `OS_LIBS`.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 00:09:39 +00:00
Mike Hommey 7a952b88db Bug 1579471 - Remove the in-tree .cargo/config. r=mshal
It was added in bug 1575760 and turns out to be causing a lot more
problems than anticipated.

However, the previous status quo is also not ideal, so we do
auto-generate .cargo/config.in instead, with a little trick that allows
to just copy it to .cargo/config instead of how individual scripts would
previously manually preprocess it.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 00:47:22 +00:00
Nicholas Nethercote 91294276b6 Bug 1579775 - Extend testing of `#filter slashslash`. r=glandium
Depends on D45152

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:44:32 +00:00
Nicholas Nethercote d2520b74ee Bug 1579775 - Improve some comments in preprocessor.py. r=glandium
In particular, there was some weird use of blank lines.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:43:48 +00:00
Erica Wright b575a6d9a1 Bug 1581428 - Show tooltips for links in Protection Report. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D46215

--HG--
extra : moz-landing-system : lando
2019-09-18 21:39:43 +00:00
Andrew Halberstadt 0ff26e43bb Bug 1579455 - [mozbuild] Create distinct 'init' virtualenvs for Python 2 vs 3 r=nalexander,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D45419

--HG--
extra : moz-landing-system : lando
2019-09-18 17:13:47 +00:00
Andrew Halberstadt 274c70df70 Bug 1579455 - [mozbuild] Fix output issues with Python 3 in virtualenv.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45418

--HG--
extra : moz-landing-system : lando
2019-09-16 16:52:55 +00:00
Zibi Braniecki f421461cc8 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881

--HG--
extra : moz-landing-system : lando
2019-09-18 16:53:54 +00:00
Zibi Braniecki ccb7771759 Bug 1581185 - Fix relative paths in migration script generation. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45880

--HG--
extra : moz-landing-system : lando
2019-09-18 16:55:02 +00:00
Andreea Pavel aa63cb5bb5 Backed out 2 changesets (bug 1581185) for linting failure at xul.py on a CLOSED TREE
Backed out changeset 86f77b5cc705 (bug 1581185)
Backed out changeset 5bb71874a9f3 (bug 1581185)
2019-09-18 19:43:45 +03:00
Zibi Braniecki 92b3a465b8 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881

--HG--
extra : moz-landing-system : lando
2019-09-18 16:25:27 +00:00
Zibi Braniecki 24d44bff69 Bug 1581185 - Fix relative paths in migration script generation. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45880

--HG--
extra : moz-landing-system : lando
2019-09-18 16:25:17 +00:00
Andreea Pavel f09273c694 Backed out changeset 8c4399f3a332 (bug 1581428) for failing browser_protections_report_ui.js on a CLOSED TREE 2019-09-18 19:17:52 +03:00
Dzmitry Malyshau ee04e8a14a Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190

--HG--
extra : moz-landing-system : lando
2019-09-18 15:12:37 +00:00
Erica Wright 049e9d1b0b Bug 1581428 - Show tooltips for links in Protection Report. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D46215

--HG--
extra : moz-landing-system : lando
2019-09-18 12:33:08 +00:00
Nathan Froyd 94691b7a75 Bug 1582114 - add the Zlib license to permitted licenses for Rust crates; r=mhoye
New releases of the `adler32-rs` crate have this license, and we already
incorporate zlib into Firefox, so crates using this license should be allowed.

..and since `adler32-rs` now has an obviously acceptable license, we can
remove it from the list of build-time exceptions.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 14:02:18 +00:00
Ciure Andrei f16f5c928d Backed out changeset 7cf84cb03658 (bug 1581921) for causing a lint issue in bootstrap.py CLOSED TREE 2019-09-18 16:55:49 +03:00
Dzmitry Malyshau e9b3f1eaec Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190

--HG--
extra : moz-landing-system : lando
2019-09-18 13:38:30 +00:00
Kevin Jacobs 671a4b685e Bug 1562773 - Add delegated credentials tests r=keeler,jcj
Add xpcshell tests for Delegated Credentials

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

--HG--
extra : moz-landing-system : lando
2019-09-17 23:31:36 +00:00
Nick Alexander b28d70119a Bug 1580996 - Make artifact builds fetch Android artifacts from `geckoview_example.apk`. r=froydnj
The underlying native libraries are identical between Fennec and
GeckoView example.  This paves the way for removing Fennec entirely.

At the same, remove the `.ini` extraction, which is no longer required.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 22:37:34 +00:00
Andrew Halberstadt eaa4c05610 Bug 1567642 - [mozbuild] Fix flake8 under Python 3 lint issues r=firefox-build-system-reviewers,chmanchester
Depends on D45412

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

--HG--
extra : moz-landing-system : lando
2019-09-17 18:51:43 +00:00
Andrew Halberstadt 3b6e9c57e2 Bug 1567642 - [mach] Fix flake8 under Python 3 lint issues r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D45412

--HG--
extra : moz-landing-system : lando
2019-09-17 18:52:28 +00:00
Erica Wright 8b7d823b40 Bug 1561184 - Show tooltip text for protection report in app menu r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D45583

--HG--
extra : moz-landing-system : lando
2019-09-17 12:56:43 +00:00
prathiksha 474ef9a0f2 Bug 1561443 - Move _getErrorMessageFromCode from NetErrorChild.jsm to aboutNetError.js. r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D36542

--HG--
extra : moz-landing-system : lando
2019-09-17 09:49:59 +00:00
Andrew Halberstadt 6fc4da9266 Bug 1580280 - [mozbuild] Fix Python 3 issues in nodeutil.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45437

--HG--
extra : moz-landing-system : lando
2019-09-10 22:15:36 +00:00
Andrew Halberstadt 5b5dc5542a Bug 1580280 - [lint] Support Python 3 in the flake8 integration r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D45436

--HG--
extra : moz-landing-system : lando
2019-09-11 10:00:58 +00:00
Andrew Halberstadt e6e5e7b6fa Bug 1580280 - [mozlint] Support Python 3 in the mozlint library r=egao
Differential Revision: https://phabricator.services.mozilla.com/D45435

--HG--
extra : moz-landing-system : lando
2019-09-11 15:07:29 +00:00
Tarek Ziadé 5dd9d5bcd0 Bug 1562870 - generate conditioned profiles r=gbrown,bc,aerickson
Generates "conditioned" profiles.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 19:44:35 +00:00
Andi-Bogdan Postelnicu 1b886ecee7 Bug 1576659 - Update infer to 0.17.0. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D43471

--HG--
extra : moz-landing-system : lando
2019-09-13 14:25:32 +00:00
Brian Grinstead e765d4cd04 Bug 1580978 - Rename browser-urlbar-identity-button to urlbar-identity-button r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45831

--HG--
extra : moz-landing-system : lando
2019-09-13 12:14:37 +00:00
Brian Grinstead 29a25895f3 Bug 1580978 - Migrate the notification-popup-box element to ftl r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D45758

--HG--
extra : moz-landing-system : lando
2019-09-13 12:14:26 +00:00
Bastien Abadie 0a3932b284 Bug 1550516 - Export clang-tidy check configuration in static-analysis json output, r=sylvestre.
Differential Revision: https://phabricator.services.mozilla.com/D45652

--HG--
extra : moz-landing-system : lando
2019-09-13 07:50:23 +00:00
championshuttler a19f899a6f Bug 1580492 - Run mach 'core' commands with Python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45694

--HG--
extra : moz-landing-system : lando
2019-09-12 20:26:45 +00:00
Bastien Abadie 0725033ef3 Bug 1550517 - Exclude 3rd party files on static-analysis check, r=sylvestre.
Differential Revision: https://phabricator.services.mozilla.com/D45630

--HG--
extra : moz-landing-system : lando
2019-09-12 08:49:40 +00:00
Erica Wright a9430a3f1d Bug 1579705 - Update level labels for Enhanced Tracking Protection. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D45384

--HG--
extra : moz-landing-system : lando
2019-09-11 18:14:25 +00:00
Brian Grinstead 9ccf6b264c Bug 1579540 - Migrate urlbar.viewSiteInfo.label from dtd to ftl r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45467

--HG--
extra : moz-landing-system : lando
2019-09-11 16:36:14 +00:00
Razvan Maries 2fb41871a9 Backed out 2 changesets (bug 1562773) for build bustages. CLOSED TREE
Backed out changeset 154b23d4a214 (bug 1562773)
Backed out changeset f32f7a644981 (bug 1562773)
2019-09-11 04:40:29 +03:00
Kevin Jacobs c2dfc6480d Bug 1562773 - Add delegated credentials tests r=keeler,jcj
Add xpcshell tests for Delegated Credentials

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

--HG--
extra : moz-landing-system : lando
2019-09-10 20:15:12 +00:00
Mike Shal d3b795e0d2 Bug 1575680 - Move node invocations to misc tier; r=firefox-build-system-reviewers,chmanchester
These were originally in exports because having it in the same tier as
the install rule interacted poorly with VPATH. Now that we no longer
have a generic VPATH rule, make can handle the rules properly with
everything in misc.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 17:44:56 +00:00
Brian Grinstead 8144335fd7 Bug 1579550 - Fix fluent conversion script imports;r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D45090

--HG--
extra : moz-landing-system : lando
2019-09-10 18:17:06 +00:00
Mike Hommey e4076e2b2f Bug 1579156 - Fix binding tests after bug 1573566. r=chmanchester
The build system has no clue that there is something to build in
dom/bindings/test. It's currently all handled via make rules generated
by the backend, but ideally, this would all be handled by the frontend
emitting appropriate GeneratedFiles and Sources objects.

In the meanwhile, we just force the make backend to recurse through
dom/bindings/test.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 02:55:03 +00:00
Csoregi Natalia 453f8b162f Backed out changeset 8b5aa1f7d1f3 (bug 1579156) for bustage due to missing dom/bindings/test. CLOSED TREE 2019-09-10 02:18:51 +03:00
Mike Hommey 73e529409a Bug 1579156 - Fix binding tests after bug 1573566. r=nalexander
The build system has no clue that there is something to build in
dom/bindings/test. It's currently all handled via make rules generated
by the backend, but ideally, this would all be handled by the frontend
emitting appropriate GeneratedFiles and Sources objects.

In the meanwhile, we just force the make backend to recurse through
dom/bindings/test.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 22:45:47 +00:00
Andrew Halberstadt e1a687b64f Bug 1579455 - [mozbuild] Fix some Python 3 incompatibilities in virtualenv.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45072

--HG--
extra : moz-landing-system : lando
2019-09-09 20:38:41 +00:00
Mike Shal f8f5fce637 Bug 1496746 - Remove VPATH; r=glandium
Having a full VPATH for the srcdir sometimes causes make to grab the
wrong prerequisite for a rule, in particular if we have a file in the
srcdir and also generate a file of the same name in the objdir. We don't
really need VPATH anymore though, since most of the information comes
from mozbuild, where we can explicitly list the path to the srcdir or
objdir as necessary.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 17:44:47 +00:00
Sylvestre Ledru 20b343675a Bug 1577726 - Move generated directories into a dedicated file (Generated.txt) from ThirdPartyPaths.txt r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D44147

--HG--
extra : moz-landing-system : lando
2019-09-05 14:24:21 +00:00
Andrew Halberstadt 07e4b56faa Bug 1577826 - [mozbuild] Create an 'ensure_subprocess_env' utility function, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D44667

--HG--
extra : moz-landing-system : lando
2019-09-04 23:49:33 +00:00
Chris Manchester 0bb09fc35d Bug 1578596 - Require rustc 1.37. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D44699

--HG--
extra : moz-landing-system : lando
2019-09-04 19:08:28 +00:00
Andrew Halberstadt b491b45f70 Bug 1577517 - [mozbuild] Fix bug in error handling case when 'terminal-notifier' is not installed, r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D44156

--HG--
extra : moz-landing-system : lando
2019-09-04 17:50:56 +00:00
Andrew Halberstadt 41d9e6e547 Bug 1578198 - [configure] Ensure wrapped_subprocess uses text env with Python 3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D44483

--HG--
extra : moz-landing-system : lando
2019-09-04 02:37:48 +00:00
Francesco Lodolo (:flod) 1c3c190bfe Bug 1578163 - Remove Fluent migration recipes for Firefox 69 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D44357

--HG--
extra : moz-landing-system : lando
2019-09-03 07:24:32 +00:00
Andrew Halberstadt 8c97bc7a17 Bug 1577908 - [mach] Disable suggested command execution until Python 3 migration is finished, r=glandium
The mach driver will now run all misspelled commands with Python 3. That means
we can't automatically execute the suggested command anymore, as it may need to
run against Python 2.

Ideally we could figure out a way to check the command against the 'mach'
whitelist, but until then, let's just disable automatic execution. Worst case
scenario we can turn it back on after the migration has finished.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 03:46:16 +00:00
Andrew Halberstadt 23aca97aa6 Bug 1577501 - [mach] Make sure ./mach help <command> uses the correct Python, r=glandium
Some commands use external argument parsers, so invoking |mach help <command>| will import
external modules (which may only be Python 2 compatible).

This makes sure that we detect the actual subcommand we're generating help for
and use the proper Python.

A much simpler solution would have been to run |mach help| with Python 2 all
the time. However, as we convert things to Python 3 this would have meant that
Python 3 only code would blow up. This would have forced us to continue
supporting Python 2, even for Python 3-only commands.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 00:39:22 +00:00
Andrew Halberstadt f2210ba1ed Bug 1568638 - [build] Create objdir in test_manifest backend if it doesn't exist r=mshal
This fixes an edge case where a task needs to invoke the TestManifest backend from a source dir that doesn't have an objdir created yet.

Depends on D43513

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

--HG--
extra : moz-landing-system : lando
2019-08-30 17:01:12 +00:00
Edwin Gao a0497df342 Bug 1577603 - convert mach clobber to run with python 3.5 r=nalexander
Changes:
- remove binary encoding when the subdirectories are being collected
- do not open file in binary mode when reading from `telemetry_client_id.json`

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

--HG--
extra : moz-landing-system : lando
2019-08-30 17:25:47 +00:00
Nick Thomas f03bae30af Bug 1577664 - pass product version to the complete mar generation script, r=Callek
MOZ_FULL_PRODUCT_VERSION is only used here, while tools/update-packaging/make_full_update.sh expects MOZ_PRODUCT_VERSION.

Depends on D44089

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

--HG--
extra : moz-landing-system : lando
2019-08-30 01:35:08 +00:00
Mark Striemer 9aff921500 Bug 1533863 - Use icons instead of text for buttons in about:config r=fluent-reviewers,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D43627

--HG--
rename : browser/components/aboutlogins/content/icons/edit.svg => browser/themes/shared/icons/edit.svg
extra : moz-landing-system : lando
2019-08-29 21:03:13 +00:00
Dan Minor 8d11bb48b4 Bug 1554976 - Allow network functions needed by Rust mDNS responder; r=tjr
This removes these functions: bind, getaddrinfo, recvfrom, sendto, setsockopt,
socket from the check_networking test to allow for their use by the Rust mDNS
responder.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:48:38 +00:00
Tom Ritter 004d9a25d7 Bug 1570597 - Pass the -delayload flag to lld correctly for MinGW builds r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D43455

--HG--
extra : moz-landing-system : lando
2019-08-28 14:18:29 +00:00
Chris Manchester 1dcf500d9c Bug 1577049 - Provide sccache and dist-toolchains during bootstrap on Windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43700

--HG--
extra : moz-landing-system : lando
2019-08-28 18:31:23 +00:00
Gurzau Raul a6c5c5e3ac Backed out 14 changesets (bug 1554976) for Windows build bustages on a CLOSED TREE.
Backed out changeset a9b209d9d880 (bug 1554976)
Backed out changeset 27b4dddf9597 (bug 1554976)
Backed out changeset 3e16c10bb966 (bug 1554976)
Backed out changeset 6a404fca61dc (bug 1554976)
Backed out changeset 77c4e76c8130 (bug 1554976)
Backed out changeset 24f146b86cc4 (bug 1554976)
Backed out changeset b49b4326dcfd (bug 1554976)
Backed out changeset e2c837d1e0a0 (bug 1554976)
Backed out changeset 24728144c263 (bug 1554976)
Backed out changeset a099e69241a0 (bug 1554976)
Backed out changeset 0e34595c2680 (bug 1554976)
Backed out changeset a506bb40047e (bug 1554976)
Backed out changeset 513026415092 (bug 1554976)
Backed out changeset e0fc6a1d4332 (bug 1554976)
2019-08-28 18:10:11 +03:00
Dan Minor 023252b4a9 Bug 1554976 - Allow network functions needed by Rust mDNS responder; r=tjr
This removes these functions: bind, getaddrinfo, recvfrom, sendto, setsockopt,
socket from the check_networking test to allow for their use by the Rust mDNS
responder.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:09:50 +00:00
Māris Fogels a445a87248 Bug 1210157 - Fix Python 3 issues in mozboot.gentoo and mozboot.archlinux r=firefox-build-system-reviewers,mshal
Fix some library calls and syntax that are required to support Python 3.

Depends on D39364

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:18 +00:00
Māris Fogels 9e273f1008 Bug 1210157 - Make bootstrap.py work with Python 3.5+ and Python 2.7 r=firefox-build-system-reviewers,mshal
Make bootstrap.py compatible with both Python 3.5+ and Python 2.7. Remove
Python 2.6 support as Python 2.6 is no longer supported in the Firefox source
tree.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:18 +00:00
Māris Fogels 6aec656a0f Bug 1210157 - Add a --debug option to bootstrap.py r=nalexander
Add an option to run bootstrap.py with '--debug'. This will print full
tracebacks if the bootstrap process encounters an uncaught exception. It should
be useful for developers who are working on the bootstrap code as well as users
when writing bug reports.

Depends on D39362

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels bc36ca8edd Bug 1569046 - Add Python 3 support to mozboot.osx r=firefox-build-system-reviewers,mshal
Make the mozboot.osx module work with Python 3 in addition to
Python 2.7.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:48 +00:00
Māris Fogels 9399eb1a1a Bug 1210157 - Add Python 3 support to mozboot Android toolchain bootstrap r=nalexander
Support installing the android development toolchain with Python 3 as well as
Python 2.7.

Depends on D39361

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels 6cc808b85a Bug 1210157 - Add Python 3 support to the mozboot Debian bootstrapper r=firefox-build-system-reviewers,mshal
Add support for Python 3 and Python 2.7 to the Debian-based linux distro
bootstrap routines.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels fef8423731 Bug 1210157 - Add Python 3 support to mozboot.base and mozboot.bootstrap r=firefox-build-system-reviewers,mshal
Add support for both Python 3 and Python 2.7 to the mozboot.base and
mozboot.bootstrap modules.  Remove legacy Python 2.6 code or mark it for later
removal.

Depends on D39359

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

--HG--
extra : moz-landing-system : lando
2019-08-22 22:42:50 +00:00
Māris Fogels 15db7ec0c8 Bug 1210157 - Use unicode_literals in all mozboot modules r=firefox-build-system-reviewers,mshal
Add unicode_literals to all mozboot module __future__ statements to support
running the modules under Python 3.  Remove comments about unicode_literals and
Python 2.6 support as Python 2.6 is no longer supported in tree.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:16 +00:00