Commit Graph
5431 Commits
Author SHA1 Message Date
J.C. Jones 1e0eb0cfc0 Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change removes the legacy libnssdbm database that we migrated away from since Firefox 60.

This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password. It otherwise removes support for libnssdbm everywhere in Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D55708
2019-12-13 19:00:35 +00:00
Eric Rahm c41ca0f4ec Bug 1594344 - Part 3: Use new dump_syms in automation. r=froydnj
This optionally uses the rust-based `dump_syms` toolchain if it has been
installed, otherwise it uses the locally built version.

Differential Revision: https://phabricator.services.mozilla.com/D53320
2019-12-13 10:28:13 +00:00
Noemi Erli 807f00da58 Backed out 3 changesets (bug 1528374) per tomprice's request for breaking macOS signing jobs CLOSED TREE
Backed out changeset 5a6fa3b5123b (bug 1528374)
Backed out changeset 32f3b1b3fe3b (bug 1528374)
Backed out changeset a412a319534c (bug 1528374)
2019-12-13 06:48:05 +02:00
Chris Manchester 841e241d4b Bug 1528374 - Add a simple script to wrap mozinstall. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20408
2019-12-12 01:23:33 +00:00
Masatoshi Kimura a48b54a512 Bug 1590693 - Unship empty chrome.manifest files. r=glandium
Bug 1295542 added empty chrome.manifest files to prevent malware from abusing
them. This workaround is no longer necessary because Firefox stopped reading
chrome.manifest outside omni.ja since bug 1543761.

Differential Revision: https://phabricator.services.mozilla.com/D55954
2019-12-12 11:13:42 +00:00
Chris Manchester ec99325102 Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828
2019-12-12 01:42:38 +00:00
Coroiu Cristina 1e8af2a1fd Backed out changeset 5b1c7a3bd4b2 (bug 1603300) for flake failure at mozbuild/test/configure/test_toolchain_helpers.py 2019-12-12 03:31:15 +02:00
Chris Manchester a98e99af34 Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828
2019-12-12 01:17:01 +00:00
Ricky Stewart 7fb2bb4dc7 Bug 1603181 - mozbuild/preprocessor.py and test_preprocessor.py support Python3 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56808
2019-12-12 00:13:25 +00:00
Ricky Stewart 24273fc032 Bug 1602961 - ./mach clobber gradle should clean up $topobjdir/gradle r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D56638
2019-12-11 21:23:22 +00:00
Māris Fogels 9ebf0e4566 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-12-03 18:49:06 +00:00
Ricky Stewart d16b5b694c Bug 1601753 - ./mach build does not build WASM_LIBRARY by default r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56092
2019-12-10 15:48:38 +00:00
Ricky Stewart 332691fc41 Bug 1602525 - mozpack/archive.py and mozpack/test_archive.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56419
2019-12-09 22:09:54 +00:00
Dorel Luca 8a9a0bfa1c Backed out 3 changesets (bug 1594344) for Decision task failure on taskcluster/ci/toolchain/rust-size.yml. CLOSED TREE
Backed out changeset 3208e2b16458 (bug 1594344)
Backed out changeset 57b641bb4d4b (bug 1594344)
Backed out changeset 36458762149d (bug 1594344)
2019-12-10 15:59:12 +02:00
Eric Rahm 3f2579ea0e Bug 1594344 - Part 3: Use new dump_syms in automation. r=froydnj
This optionally uses the rust-based `dump_syms` toolchain if it has been
installed, otherwise it uses the locally built version.

Differential Revision: https://phabricator.services.mozilla.com/D53320
2019-12-10 13:37:45 +00:00
Mike Shal c59463a28d Bug 1557788 - Remove OBJS_VAR_SUFFIX & .i_o suffix for instrumented builds; r=firefox-build-system-reviewers,chmanchester
In 1-tier PGO builds that shared the objdir between the instrumented and
profile-use builds, the instrumented build objects used a different
suffix (.i_o) to separate them from the profile-use build (which uses
the default .o suffix). These builds are now always in separate objdirs,
and don't need special suffix rules anymore.

As a bonus, this helps fix an issue with buildid.cpp continually
rebuilding because libxul_so.list always lists the inputs as *.o, which
don't exist if we're using a .i_o suffix. Make would always re-create
buildid.cpp and therefore libxul.so in the instrumented build even when
nothing has changed.

Differential Revision: https://phabricator.services.mozilla.com/D56115
2019-12-09 18:03:49 +00:00
Andrew Halberstadt b46c53aafe Bug 1464038 - Update virtualenv to version 16.7.8 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D56229
2019-12-09 15:45:24 +00:00
Ted Campbell d7dd2b5852 Bug 1602228 - Support ./mach run for application=js builds r=froydnj
Allow running the jsshell using ./mach run. This copies the debugger
parameter handling from desktop configurations.

Differential Revision: https://phabricator.services.mozilla.com/D56296
2019-12-09 14:55:35 +00:00
David Major 701656f599 Bug 1601872 - Handle the case when the mozconfig has no configure_args r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D56207
2019-12-06 17:41:10 +00:00
Mike Shal d75f743833 Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester
Local PGO builds now use 3-tier machinery under the hood. Instead of a
single object directory that gets cleaned in between the instrumented
and profile-use builds, now the instrumented build uses a separate
'${objdir}/instrumented' directory. This makes it easier to handle
within mach since we can drive the two builds with environment variables
and keep all build artifacts separate, without needing to do manual
cleanup in between.

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

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

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

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

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

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

  $ ./mach bootstrap

will be failed as the bootstrap script tries to execute:

  # dnf update mercurial

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

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D54874
2019-11-29 19:36:57 +00:00
Zibi Braniecki 1e753d4b69 Bug 1599303 - Migrate bookmark panel to Fluent. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54647
2019-11-29 07:18:04 +00:00