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

6703 Коммитов

Автор SHA1 Сообщение Дата
Alex Lopez ad68ed0ba9 Bug 1682959 - Remove legacy_resolver support from mach. r=mhentges
Now that all the conflicts in python dependencies that made the
new pip resolver fail have been resolved, we no longer need to support
the legacy resolver that was added as a temporary measure.

Depends on D106154

Differential Revision: https://phabricator.services.mozilla.com/D106503
2021-02-25 18:37:00 +00:00
Ian Neal 22e0c0b5b8 Bug 1692706 - Update ccache stats parser for ccache 4.x. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D105863
2021-02-25 07:00:39 +00:00
Mike Conley 3da2d710da Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-24 02:52:30 +00:00
Dorel Luca df1d85fc90 Backed out 2 changesets (bug 1688960, bug 1693177) for Browser-chrome failures in browser/base/content/test/sync/browser_sync.js. CLOSED TREE
Backed out changeset 13e08408add0 (bug 1693177)
Backed out changeset a34474998cd6 (bug 1688960)
2021-02-24 03:36:21 +02:00
Mike Conley 7404b84286 Bug 1688960 - Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105081
2021-02-23 23:16:12 +00:00
Tom Ritter 9535519563 Bug 1692575: Refactor the updatebot part of the moz.yaml schema to support multiple task types r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D105096
2021-02-23 16:34:31 +00:00
Andi-Bogdan Postelnicu fc5eb87bb7 Bug 1648941 - fix for Coverity Static Analysis crash in layout. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D106076
2021-02-23 11:44:53 +00:00
Mike Hommey e5c73b99a0 Bug 1692940 - Don't bootstrap yasm. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105599
2021-02-23 01:26:47 +00:00
Mike Hommey fbbe02d958 Bug 1692940 - Remove build system support for yasm. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105432
2021-02-23 01:26:46 +00:00
Mike Hommey 3485076564 Bug 1692940 - Turn the USE_YASM unit test into a USE_NAME one. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105431
2021-02-23 01:26:46 +00:00
Mike Hommey ac09a33318 Bug 1692940 - Remove test case for yasm version validation. r=firefox-build-system-reviewers,dmajor
We're going to remove arguments to the function, and eventually remove
it.

Differential Revision: https://phabricator.services.mozilla.com/D105426
2021-02-23 01:26:44 +00:00
Mike Conley d4da30ccf4 Bug 1690573 - Migrate the report-site-issue UI access point to the Help menu. r=denschub,mixedpuppy,fluent-reviewers,webcompat-reviewers,flod
We're not 100% certain if Help is the right spot for this, but we're going
to give it a shot and see. If it turns out it _is_ the right spot, we'll
probably do something a little more self-contained, and less hacky.

I'm leaving the old .properties file just in case we change our mind here.
Yes, we'll want to port to Fluent anyways, but our ultimate choice of where
we put this thing is probably going to dictate where the string lives.

Differential Revision: https://phabricator.services.mozilla.com/D104832
2021-02-23 00:11:05 +00:00
Mike Hommey caa72b33bd Bug 1693215 - Don't check for yasm for libav. r=firefox-build-system-reviewers,dmajor
Bug 1476231 actually removed libav, so we don't build it, and don't need
neither the yasm check nor the LIBAV_FFT_ASFLAGS variable.
However, we still have checks, both in moz.build and code, for
MOZ_LIBAV_FFT, so we need to keep that.

Differential Revision: https://phabricator.services.mozilla.com/D105399
2021-02-22 22:11:26 +00:00
Stephen A Pohl 3ebbac5e0c Bug 1690842: Disable the native theme in content on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D105889
2021-02-22 13:45:56 +00:00
Aaron Klotz 31c74eb891 Bug 1581971: Part 6 - Support mach run --debug with lldb for Android; r=mhentges
* We add new options to the Android variant of `mach run`:
  * `--debug`: enables running with a debugger;
  * `--debugger`: Allows the user to override the default debugger (`lldb`).
                  The provided argument must still be `lldb` compatible; this
                  is for enabling the ability to specify some kind of wrapper
                  script or other debugger front-end, if desired;
  * `--debugger-args`: Additional arguments to pass to the debugger's command line;
  * `--no-attach`: Runs the app and prepares the device for debugging, but does
                   not actually attach any debuggers. The required ports are
                   printed to the log, and then `mach` exits, thus allowing for
                   the user to manually connect.
  * `--use-existing-process`: This allows the user to attach to an existing
                              process, instead of killing existing process(es)
                              and starting from scratch. This is useful for
                              users who want to attach to an existing process
                              that is already in a desired state.

When debugging is enabled:

BEFORE the app starts:
* `verify_android_device` will install `lldb-server` if necessary;
* We run `am set-debug-app -w --persistent` to ensure that the app is set as the
  device's debug app. Since we pass `-w`, when Android starts the target app, it
  will wait for `jdb` to attach before proceeding.

AFTER the app starts:
* We start `lldb-server` and obtain the name of its socket file;
* We obtain the pid of the parent process. Alternatively, if
  `--use-existing-process` was specified and there are already extant child
  processes, we prompt the user to choose which process to which they would
  initially like to attach.
* We forward a local TCP port for `jdb` debugging.
* We run `jdb` in the background to connect to the process and then quit.
  This is solely for the purpose of dismissing Android's "waiting for debugger"
  dialog.
* In the foreground, we run `lldb`, specifying a set of initial commands that
  are required to for symbol resolution and to automatically connect to the
  target pid.


Why `lldb`? I chose it for consistency with Android Studio. Somebody else is
welcome to implement `gdb` support if they wish. :-)

Differential Revision: https://phabricator.services.mozilla.com/D94384
2021-02-19 21:07:20 +00:00
Aaron Klotz 7847613f0d Bug 1581971: Part 1 - Bump Android NDK requirement to 21d; r=snorp,firefox-build-system-reviewers,mhentges
NDK 21 includes `lldb-server`, which we need in order to support
`./mach run --debug` with `lldb`.

The Android SDK manager no longer includes a standalone `lldb` package; perhaps
it was deprecated? Anyway, this appears to currently be the best way to get
`lldb-server` into a location that is easy to find during build configuration.

Differential Revision: https://phabricator.services.mozilla.com/D94379
2021-02-19 21:07:18 +00:00
Mike Hommey 2bfb5b72cb Bug 1692943 - Wrap subprocess.run in the configure sandbox. r=firefox-build-system-reviewers,andi,mhentges
The subprocess.* wrapping in configure alters the environment sent
to the subprocess in two ways:
- variable keys and values are normalized to unicode to make python
  happy.
- when no explicit environment is passed, default to the sandbox
  environment.

The sandbox environment has one major difference with the original
environment, which is that PYTHONEXECUTABLE is unset, and that's known
to cause problems on mac, which it does when configure executes
`mach artifact toolchain` for --enable-bootstrap.

Differential Revision: https://phabricator.services.mozilla.com/D105265
2021-02-18 22:50:35 +00:00
Mike Hommey fa35a4b8c7 Bug 1692939 - Turn namespace() into a builtin in python configure. r=firefox-build-system-reviewers,mhentges
This removes the need for some --help dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D105263
2021-02-18 22:44:40 +00:00
Mike Hommey 5e19605601 Bug 1692939 - Add sorted() as an allowed builtin in python configure. r=firefox-build-system-reviewers,mhentges
It has no side effects and is safe to use in the configure sandbox.

Differential Revision: https://phabricator.services.mozilla.com/D105262
2021-02-18 22:44:39 +00:00
Mike Hommey 454656b5cc Bug 1692939 - Detect when builtins are imported that don't need to be. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D105261
2021-02-18 22:44:39 +00:00
Mike Hommey 8e2ec28550 Bug 1692611 - Add a handler to the logger added in bug 1692103. r=firefox-build-system-reviewers,mhentges
Indidentally, this fixes the failure code path, because the change in
bug 1692103 was such that the logger output was not captured in `out`.

Differential Revision: https://phabricator.services.mozilla.com/D105390
2021-02-18 22:39:10 +00:00
Itiel 05d88b715b Bug 1692301 - Add dark mode support for about:buildconfig r=mconley,glandium
Also make it so it'd match the style of other about: pages.

Differential Revision: https://phabricator.services.mozilla.com/D104877
2021-02-18 22:05:09 +00:00
Mike Hommey 3713567f10 Bug 1692941 - Use zip and unzip paths per configure in make_{zip,unzip}. r=firefox-build-system-reviewers,andi,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D105264
2021-02-17 21:30:28 +00:00
Sylvestre Ledru 522855d598 no bug - fix(fluent) - Remove Windows CR r=zbraniecki DONTBUILD
Done with
./mach lint -l file-whitespace -n --fix python/l10n/convert_xul_to_fluent/lib/migration.py

Differential Revision: https://phabricator.services.mozilla.com/D105298
2021-02-17 20:50:25 +00:00
Mike Hommey b6d915dd07 Bug 1692383 - Upgrade python-zstandard to 0.15.1. r=firefox-build-system-reviewers,mhentges
As far as I can tell, we don't use zstandard from python2. As the last
version supporting python2 is 0.14.1, drop installing the python2
version.

Differential Revision: https://phabricator.services.mozilla.com/D105075
2021-02-17 00:53:38 +00:00
Tarek Ziadé 31380bc0c1 Bug 1681669 - Add vision document for mozperftest. r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D99318
2021-02-16 18:37:23 +00:00
Sean Feng 2502c7c5dd Bug 1688995 - Fall back to default PATH if fzf doesn't exist in mozbuild r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D103115
2021-02-16 18:11:38 +00:00
Mitchell Hentges a3eb85e571 Bug 1687980: Make macOS quickstart docs more concise r=sylvestre,mhoye
* Puts the docs in order, so that contributors aren't jumping to the
  middle of the page to install system tools, then back to the top to
  clone Firefox.
* Removes docs on MacPorts since it's being removed in bug 1688263.
* Removes step to manually install brew packages since that happens
   automatically in bootstrap now.
* Simplifies mercurial installation docs
* Removes unnecessary mozconfig-tweaking instructions
* Removes almost-always-unnecessary DEFINE and troubleshooting
  information.

Differential Revision: https://phabricator.services.mozilla.com/D102973
2021-02-16 17:48:11 +00:00
Mike Hommey 6f9a7abe9b Bug 1692416 - Allow toolchain-alias to be a list. r=taskgraph-reviewers,firefox-build-system-reviewers,jmaher,mhentges
Original patch by Rob Lemley [:rjl], with a small simplification, and an
additional change to make `mach artifact toolchain` happy.

Original discussion in https://phabricator.services.mozilla.com/D66837

Differential Revision: https://phabricator.services.mozilla.com/D104976
2021-02-12 22:28:01 +00:00
Kagami Sascha Rosylight 30ec71696c Bug 1692300 - Disable symlinking in dist/bin r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D104873
2021-02-12 21:50:15 +00:00
Mike Hommey ecfbd1076c Bug 1692390 - Skip the creation of a python2 virtualenv on arm64 mac. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D104950
2021-02-12 21:31:10 +00:00
Tom Ritter 2f17e8f817 Bug 1689454 - Reenable moz_yaml python tests; r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D103374
2021-02-12 21:04:07 +00:00
Mike Hommey 5f86b697af Bug 1692137 - Allow local linux builds to use a bootstrapped sysroot. r=firefox-build-system-reviewers,andi,mhentges
Bug 1690930 added sysroots that can be bootstrapped. With this change,
we allow --enable-bootstrap=install to pull the right sysroot for the
configured target, and --enable-bootstrap to update it if it was already
there.

Differential Revision: https://phabricator.services.mozilla.com/D104797
2021-02-12 20:31:49 +00:00
Mike Hommey 2f408c9631 Bug 1692137 - Properly handle env=None passed to subprocess functions in configure. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D104796
2021-02-12 20:31:49 +00:00
Mike Hommey 35f65167bd Bug 1692103 - When getting mozconfig info for MozbuildObject, log separately. r=firefox-build-system-reviewers,mhentges
The code in MozbuildObject.get_mozconfig_and_target relies on the
configure sandbox to find mozconfig (and target). With
--enable-bootstrap, configure itself ends up calling into taskgraph code
that, eventually ends in in MozbuildObject.get_mozconfig_and_target,
which, because it currently logs to the same place, has at least the
following two effects:
- MOZ_CONFIGURE_TRACE logging breaks. I'm not sure exactly why, but the
log level is lost.
- the output from the configure code that runs for
MozbuildObject.get_mozconfig_and_target ends up mixed with the output
from configure itself, and it appears to the user as if things happened
twice (which it did, actually, but that's not something that should be
shown to the user).

So, we redirect to a separate logger.

Differential Revision: https://phabricator.services.mozilla.com/D104776
2021-02-11 03:37:15 +00:00
Sebastian Hengst 95efea0752 Bug 1691508 - label messages about missing mappings of files to Bugzilla tasks as error. r=jmaher
This lets Treeherder pick up the line as failure line and show it to Try users
and code sheriffs.
Rule used: "^[A-Za-z.]+Error: "

It also adds an instruction how to fix the reported issue.

Differential Revision: https://phabricator.services.mozilla.com/D104452
2021-02-08 21:38:47 +00:00
Akshat Dixit ad11827401 Bug 1591991 Add lint Fixed count support to linters r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D102082
2021-02-08 19:00:10 +00:00
Emilio Cobos Álvarez 34a6457e63 Bug 1690898 - Add a mozinfo entry for nnt, and update WPT test expectations. r=jgraham
Other platforms are going to need more annotations, so this allows us to
update one line while rolling out the feature, rather than updating a
bunch of test expectations. Also should be clearer.

Let me know if there are better ways to do this.

Differential Revision: https://phabricator.services.mozilla.com/D104102
2021-02-05 14:27:47 +00:00
Bogdan Tara b3d9616178 Backed out changeset e21ae6fdc524 (bug 1690898) for Event-dispatch-redispatch.html failures CLOSED TREE 2021-02-05 16:12:09 +02:00
Emilio Cobos Álvarez 874b18c2d3 Bug 1690898 - Add a mozinfo entry for nnt, and update WPT test expectations. r=jgraham
Other platforms are going to need more annotations, so this allows us to
update one line while rolling out the feature, rather than updating a
bunch of test expectations. Also should be clearer.

Let me know if there are better ways to do this.

Differential Revision: https://phabricator.services.mozilla.com/D104102
2021-02-05 08:59:34 +00:00
Akshat Dixit 43b65bee68 Bug 1646433 ./mach lint -l foobar handles the error correctly r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D102806
2021-02-04 22:04:11 +00:00
Emma Malysz d2e6a106ee Bug 1690359 - Move task manager to help menu r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103843
2021-02-03 16:46:57 +00:00
Emma Malysz e7e6abb53d Bug 1689366, simplify bookmark panel r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103402
2021-02-02 18:56:19 +00:00
Mike Hommey 4030da2448 Bug 1689494 - Don't include gmp-clearkey in test archives. r=releng-reviewers,jmaher
It's already part of Firefox, and makes the gtest initialization print
an error message because the one already in Firefox can't be
overwritten.

Differential Revision: https://phabricator.services.mozilla.com/D103475
2021-01-29 13:31:07 +00:00
june wilde 44072640b0 Bug 1689449 - Add libpng to mach vendor's valid licenses; r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D103372
2021-01-28 21:09:43 +00:00
Mike Hommey 5d9084e8a0 Bug 1689058 - Rename clang-cl toolchains to clang. r=firefox-build-system-reviewers,dmajor
Bug 1553230 made configure automatically get toolchain artifacts in some
cases. The artifacts for clang-cl builds are clang.tar.zst, and extract to
clang/. Configure derives the task name from that knowledge, and fails
to find clang-cl tasks because of that.

For consistency, these tasks should be called clang. They are clang
builds anyways, and like any other clang builds, they also contain
clang-cl.

Differential Revision: https://phabricator.services.mozilla.com/D103150
2021-01-28 00:30:56 +00:00
Kershaw Chang 0d82c1d0d8 Bug 1684041 - Add ODoH test r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102629
2021-01-27 22:04:25 +00:00
Dan Minor fd50ec0311 Bug 1510797 - Migrate about:webrtc to Fluent; r=ng,flod
Differential Revision: https://phabricator.services.mozilla.com/D102931
2021-01-27 12:11:47 +00:00
Nick Alexander dc4f42262e Bug 1675848 - Part 1: Add "backgroundtask" filter to chrome manifest parsing. r=mossop,kmag
This allows to filter chrome manifest registration by the current
background task(s, in the future).  Filtration behaves just like
filtering by "application":

* filter with `backgroundtask=` means disable for all background
  tasks, since no background task will match ""

* filter with `backgroundtask!=` means enable for all background task,
  since every background task will not match ""

Differential Revision: https://phabricator.services.mozilla.com/D96482
2021-01-25 23:44:46 +00:00
Erica Wright d5c15eaf57 Bug 1686331 - Library menu should not have a scroll bar. r=prathiksha,flod
Differential Revision: https://phabricator.services.mozilla.com/D102471
2021-01-21 06:20:55 +00:00