Commit Graph
5375 Commits
Author SHA1 Message Date
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
Andrew Halberstadt 9f2d4722f7 Bug 1583353 - [moztest.resolve] Implement a TestLoader that doesn't rely on the build system, r=gbrown
This loader uses 'reader.find_variables_from_ast' to parse all *_MANIFESTS variables from
moz.build files using the abstract syntax tree. This means it will find all such variables
regardless of the current buildconfig.

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

Differential Revision: https://phabricator.services.mozilla.com/D51832
2019-11-05 15:38:32 +00:00
Tom Prince 6d1d6ca247 Bug 1595368: [firefox-ci] Use consitent logic to determine tooltool url; r=sfraser a=task-fix
Differential Revision: https://phabricator.services.mozilla.com/D52498

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

Differential Revision: https://phabricator.services.mozilla.com/D52253
2019-11-07 23:07:20 +00:00
Ricky Stewart ed3f513055 Bug 1573560 - Have Node compilation write directly into FINAL_TARGET instead of requiring a symlink r=firefox-build-system-reviewers,jlast,mshal
Differential Revision: https://phabricator.services.mozilla.com/D47367
2019-11-04 23:15:19 +00:00
Edwin Takahashi 61b3bcc9da Bug 1592855 - run mach vendor rust with python3 r=froydnj
Changes:
- use regular strings instead of byte strings when matching
- encode files in UTF-8 prior to hashing

Depends on D51414

Differential Revision: https://phabricator.services.mozilla.com/D51728
2019-11-05 18:56:21 +00:00
Edwin Takahashi d232a0283d Bug 1592855 - run mach vendor dav1d with python3 r=ahal
Changes:
- change `urlparse` import to `urllib.parse` to make switch over to python3

Depends on D51414

Differential Revision: https://phabricator.services.mozilla.com/D51648
2019-11-05 15:28:21 +00:00
Edwin Takahashi c2c654502b Bug 1592855 - run mach vendor aom with python3 r=dminor
Changes:
- update sections of `generate_sources_mozbuild.py` and `cmakeparser.py` to be python3 compatible
- change import of `urlparse` to be python3 compatible

Depends on D51414

Differential Revision: https://phabricator.services.mozilla.com/D51692
2019-11-04 20:31:43 +00:00
Edwin Takahashi ba207b7119 Bug 1592855 - run mach vendor python with python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51414
2019-11-05 15:29:44 +00:00
Gijs Kruitbosch d306e9d9f5 Bug 1594025 - move 'this site is not deceptive' string into markup to allow help hamburger menu to copy it, r=flod,fluent-reviewers
The help view copies strings from the main menubar. When we moved the original DTD string
to ftl, there were performance implications for using it in browser.xhtml, so it was
only added once needed. The help view copies attributes from the items in the main menubar's
help menu, and so didn't copy the label for this item, resulting in the broken
behaviour.

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

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

Differential Revision: https://phabricator.services.mozilla.com/D51113
2019-11-05 17:09:41 +00:00
Edwin Takahashi 8d49ceb850 Bug 1591220 - migrate python-safety to run with python3 by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51184
2019-11-04 21:55:21 +00:00