Commit Graph
5387 Commits
Author SHA1 Message Date
Andi-Bogdan Postelnicu 5abc31373d Bug 1600226 - Optimize the way how we follow symlinks for static-analysis check. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55237
2019-12-02 14:24:16 +00:00
Nathan Froyd 5958bda871 Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

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

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

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

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

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

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

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

Remove `environment` from the python3 blacklist.

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

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

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

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

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D51341
2019-11-21 15:13:37 +00:00
Chris Manchester cb9b50f716 Bug 1598157 - Do not check mozilla-inbound during artifact builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54057
2019-11-20 23:50:34 +00:00
Geoff Lankow 3ee10932b0 Bug 1595696 - Shift artifact namespace transformation to the job class definition. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52631
2019-11-20 19:01:26 +00:00
Cosmin Sabou d39a5e8747 Backed out changeset 530a567814d0 (bug 1596438) for causing bug 1597957. 2019-11-20 18:45:35 +02:00
Andrew Halberstadt 4771589daa 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
2019-11-19 20:54:40 +00:00
Ricky Stewart 89332c4c8e 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
2019-11-19 23:31:14 +00:00
Mike Shal 1b9e697381 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
2019-11-19 21:49:13 +00:00
Ricky Stewart 8ac5081ed3 Bug 1596475 - Add WASM_CFLAGS, WASM_CXXFLAGS, WASM_LDFLAGS r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53070
2019-11-19 16:25:49 +00:00
Nathan Froyd 364afd5508 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
2019-11-19 16:22:05 +00:00
Makoto Kato 81ec7cd851 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
2019-11-18 19:30:14 +00:00
Alexander Surkov aad0fabf6f Bug 1594122 - remove skip xbl tests option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53262
2019-11-15 20:33:32 +00:00
Andi-Bogdan Postelnicu 8520a54c3f Bug 1596456 - unpack arguments as list to _get_infer_args. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D53398
2019-11-18 12:05:28 +00:00
Ricky Stewart 6b874a1e26 Bug 1596868 - CXXFLAGS, LDFLAGS, etc. regressed by bug 1595906 r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D53249
2019-11-15 18:34:50 +00:00
Axel Hecht e8a6ecb664 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
2019-11-15 17:37:34 +00:00
Tom Schuster ee1eecd216 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
2019-11-15 01:38:19 +00:00
Gabriele Svelto 83a105a7cc 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
2019-11-14 21:11:59 +00:00
Razvan Maries 49c8035768 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-11-15 00:41:27 +02:00
Razvan Maries 74747322d2 Merge mozilla-inbound to mozilla-central a=merge 2019-11-14 23:49:26 +02:00
Nathan Froyd 342e54ad6b 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 3bd977408f Bug 1562642 - add missing license in python/mozrelease/mozrelease r=catlee
Depends on D52591

Differential Revision: https://phabricator.services.mozilla.com/D52592
2019-11-13 16:00:24 +00:00
Jesse Schwartzentruber 74f50694ed Bug 1596227 - Fix Android platform_guess for x86_64 and aarch64. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52909
2019-11-14 01:58:51 +00:00
Nick Thomas 8b6d5f0c3d Bug 1595632 - don't hardcode TC root url for release start emails, r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D52947
2019-11-14 03:15:51 +00:00
Kirk Steuber e5b65bf33b Bug 1588142 - Move Fluent about:preferences title attribute to a title tag r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51713
2019-11-14 00:17:13 +00:00
Csoregi Natalia 5bbfe75ef4 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 b7993df4fb Bug 1588142 - Move Fluent about:preferences title attribute to a title tag r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D51713
2019-11-12 18:00:05 +00:00
Sylvestre Ledru 9c9f40909c Bug 1562642 - add missing license in python/l10n/convert_xul_to_fluent r=zbraniecki
Depends on D52590

Differential Revision: https://phabricator.services.mozilla.com/D52591
2019-11-11 22:45:02 +00:00
Andi-Bogdan Postelnicu a669bc807e Bug 1406309 - add AUTOCLOBBER for our static-analysis targets. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D52169
2019-11-12 14:01:46 +00:00
Ricky Stewart c088a3dd99 Bug 1595906 - Allow opting out of hardening compile flags on a granular basis r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52756
2019-11-14 17:13:28 +00:00