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

8187 Коммитов

Автор SHA1 Сообщение Дата
championshuttler 790296ef00 Bug 1649966 - Discard the docs for vcs-setup git. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D82087
2020-08-05 02:47:20 +00:00
Mike Hommey cd31cb1f77 Bug 1116553 - Rewrite version_win.pl in Python. r=firefox-build-system-reviewers,rstewart
This is not a feature-for-feature rewrite. The python version removes
unused things, and simplifies some others:

- Only two command line arguments are taken in, and all the others are
  dropped and the corresponding values are gotten from the buildconfig
  module instead. The command line arguments are also taken as
  positional arguments rather than going with a full argument parser.

- Variable expansion in module.ver used to be limited to one specific
  variable to expand for a given value, which is now replaced with the
  possibility to expand any of the variables that are allowed in
  module.ver.

- The perl version was adding a RT_MANIFEST entry on its own if a
  manifest file existed in the objdir for the given binary, but if such
  a file existed, the build would fail after linking from the changes in
  bug 1613799.

- The perl version was defaulting the module name to the binary name in
  a branch that was never taken because the module name was assigned to
  an empty string before that.

The output from the new script has been validated to being identical to
the output from the perl script, except for one extra whitespace at the
end of a comment.

Differential Revision: https://phabricator.services.mozilla.com/D85817
2020-08-04 22:21:01 +00:00
Tom Prince 7c9d324074 Bug 1657181 - Show task estimates for any selector where we have an explicit list of tasks; r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D85903
2020-08-04 18:33:45 +00:00
Eric Rahm 6611c40970 Bug 1306503 - Add logspam mach commands. r=firefox-build-system-reviewers,mhentges,rstewart
This adds support for invoking the |mach logspam {report|file|bisect}|
commands. The core logic from the pypi base command is reused.

Differential Revision: https://phabricator.services.mozilla.com/D85493
2020-08-03 18:44:18 +00:00
Eric Rahm a442c0fca4 Bug 1306503 - Split out a reusable pypi tool class. r=firefox-build-system-reviewers,mhentges,rstewart
This splits out the pypi tool logic baked into the mozregression command. It
will be reused for the logspam command.

Differential Revision: https://phabricator.services.mozilla.com/D85492
2020-08-03 18:44:10 +00:00
Julian Descottes 656a588bc2 Bug 1472821 - Update linter to detect array of properties defined by lazyRequireGetter r=Standard8
Depends on D85268

Differential Revision: https://phabricator.services.mozilla.com/D85280
2020-08-01 10:39:56 +00:00
neil 974e53c285 Bug 1639509 Remove mach uuid r=championshuttler,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D79540
2020-07-13 15:43:24 +00:00
Sylvestre Ledru 843f943758 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D85678
2020-08-02 15:29:15 +00:00
Christian Holler c63127c59a Bug 1656463 - Upgrade in-tree libFuzzer to latest version. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D85576
2020-07-31 15:06:26 +00:00
Christian Holler 9b24bf03b8 no bug - Update download links in ASan Nightly documentation. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D85454
2020-07-31 02:06:06 +00:00
Ben Hearsum 23a8387aec Bug 1655703: Can't schedule opt tests on try without --full r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D85197
2020-07-30 20:56:36 +00:00
Gerald Squelart a496811364 Bug 1640969 - Fix gtests for tracing markers, and add PHASE tests; r=canaltinova
Depends on D85376

Differential Revision: https://phabricator.services.mozilla.com/D85377
2020-07-30 22:21:40 +00:00
Gerald Squelart 5afacba934 Bug 1640969 - Ensure Tracing markers always have correct times and kind; r=canaltinova
Depends on D85375

Differential Revision: https://phabricator.services.mozilla.com/D85376
2020-07-30 22:21:04 +00:00
Gerald Squelart ba51dfc24c Bug 1640969 - Fix StoreMarkers calls from Android code; r=canaltinova
Depends on D85374

Differential Revision: https://phabricator.services.mozilla.com/D85375
2020-07-30 22:19:27 +00:00
Gerald Squelart 3a96e30d41 Bug 1640969 - StoreMarker() doesn't need the TimeStamp argument anymore; r=canaltinova
Depends on D84595

Differential Revision: https://phabricator.services.mozilla.com/D85374
2020-07-30 15:46:53 +00:00
Gerald Squelart 03254edcc1 Bug 1640969 - Update profiler gtests for startTime and endTime in markers; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D84595
2020-07-30 08:14:29 +00:00
Gerald Squelart eb42fd2957 Bug 1640969 - Remove startTime and endTime from most marker payloads; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D84346
2020-07-30 08:14:27 +00:00
Gerald Squelart eedf3b3c6b Bug 1640969 - Add Instant, Interval, IntervalStart, IntervalEnd markers to the profiler; r=gerald
This patch is the first step to our so-called "Markers 2.0" work. It's attempting to consolidate
some ad-hoc practices in the profiler into more solid practices. This is the first step to getting
the Gecko profiler to produce a format that has the timing information applied to the serialized
marker tuple, rather than a mix in the tuple and the payload.

Differential Revision: https://phabricator.services.mozilla.com/D78990
2020-07-30 22:21:10 +00:00
Nathan Froyd e3ebda1914 Bug 1223932 - delete guard object uses from the tree; r=jwalden
CLOSED TREE

We don't need these macros anymore, for two reasons:

1. We have static analysis to provide the same sort of checks via `MOZ_RAII`
   and friends.
2. clang now warns for the "temporary that should have been a declaration" case.

The extra requirements on class construction also show up during debug tests
as performance problems.

This change was automated by using the following sed script:

```
# Remove declarations in classes.
/MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER/d
/MOZ_GUARD_OBJECT_NOTIFIER_INIT/d

# Remove individual macros, carefully.
{
  # We don't have to worry about substrings here because the closing
  # parenthesis "anchors" the match.
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_TO_PARENT)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_IN_IMPL)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_IN_IMPL)/)/g;

  # Remove the longer identifier first.
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_TO_PARENT//g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM//g;
}

# Remove the actual include.
\@# *include "mozilla/GuardObjects.h"@d
```

and running:

```
find . -name \*.cpp -o -name \*.h | grep -v 'GuardObjects.h' |xargs sed -i -f script 2>/dev/null
mach clang-format
```

Differential Revision: https://phabricator.services.mozilla.com/D85168
2020-07-30 14:22:38 +00:00
Mihai Alexandru Michis a911a108d0 Backed out changeset ac9c811bc427 (bug 1223932) for causing spidermonkey rust failures.
CLOSED TREE
2020-07-30 18:23:21 +03:00
Nathan Froyd bec9f9b93a Bug 1223932 - delete guard object uses from the tree; r=jwalden
We don't need these macros anymore, for two reasons:

1. We have static analysis to provide the same sort of checks via `MOZ_RAII`
   and friends.
2. clang now warns for the "temporary that should have been a declaration" case.

The extra requirements on class construction also show up during debug tests
as performance problems.

This change was automated by using the following sed script:

```
# Remove declarations in classes.
/MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER/d
/MOZ_GUARD_OBJECT_NOTIFIER_INIT/d

# Remove individual macros, carefully.
{
  # We don't have to worry about substrings here because the closing
  # parenthesis "anchors" the match.
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_TO_PARENT)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_PARAM_IN_IMPL)/)/g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_IN_IMPL)/)/g;

  # Remove the longer identifier first.
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM_TO_PARENT//g;
  s/MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM//g;
}

# Remove the actual include.
\@# *include "mozilla/GuardObjects.h"@d
```

and running:

```
find . -name \*.cpp -o -name \*.h | grep -v 'GuardObjects.h' |xargs sed -i -f script 2>/dev/null
mach clang-format
```

Differential Revision: https://phabricator.services.mozilla.com/D85168
2020-07-30 14:22:38 +00:00
Andrew Halberstadt bfda0cee38 Bug 1655577 - [tryselect] Fix test_fuzzy.py after removal of opt builds from central, r=bhearsum
This test is pretty brittle. This change should make it slightly less
brittle, but still far from great.

Differential Revision: https://phabricator.services.mozilla.com/D85199
2020-07-28 20:52:45 +00:00
Andrew Halberstadt bef34ebc4b Bug 1408051 - Backed out changeset 7864e0d0295f
This change had a few regressions that will be easier to fix without the pressure of time.

Differential Revision: https://phabricator.services.mozilla.com/D85193
2020-07-28 19:04:53 +00:00
Tyson Smith 423110c056 Bug 1655548 - Update fuzzing interface documentation. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D85041
2020-07-28 17:08:52 +00:00
Andrew Halberstadt d0fbcca0b6 Bug 985141 - [mozbuild] Remove leading underscore from MozbuildObject._activate_virtualenv, r=firefox-build-system-reviewers,perftest-reviewers,andi,AlexandruIonescu,rstewart
This function is used all across the tree and should be considered a public API.

Differential Revision: https://phabricator.services.mozilla.com/D85045
2020-07-28 16:06:10 +00:00
Andrew Halberstadt 1468afcc00 Bug 1636271 - [taskgraph] Move 'optimize-strategies' from try_task_config.json to a parameter, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D79704
2020-07-28 13:21:05 +00:00
Tom Prince 4fd5e1a2d3 Bug 1652503: [lint] Remove old requirements for perfdocs; r=ahal
These packages are all vendored in-tree, so no need to install them again.
This also fixes the issue that these packages are older than the vendored
versions, which causes issues with the use of attrs in `mozlint` now.

Differential Revision: https://phabricator.services.mozilla.com/D85037
2020-07-27 21:24:43 +00:00
Myeongjun Go c2457707a7 Bug 1633889 - Add test url to test description r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D84133
2020-07-25 01:01:10 +00:00
Mark Banner def8aa427a Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D84820
2020-07-24 21:37:12 +00:00
Mark Banner d5b23d75e7 Bug 1620537 - Fix issues in eslint-plugin-mozilla rules that were raised in ESLint 7. r=mossop
Depends on D84818

Differential Revision: https://phabricator.services.mozilla.com/D84819
2020-07-24 20:38:27 +00:00
Andrew Halberstadt 1193a05962 Bug 1654591 - Format 'taskcluster/test' with black, r=marco
Depends on D84598

Differential Revision: https://phabricator.services.mozilla.com/D84750
2020-07-24 13:02:33 +00:00
Tom Prince 0fd0a6cf0a Bug 1652503: [mozlint] Install rstcheck for tests; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84646
2020-07-23 14:55:57 +00:00
Tom Prince 306656ebf5 Bug 1652503: [mozlint] Use `mozpack.path` for paths in lint tests; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84645
2020-07-23 14:55:55 +00:00
Tom Prince ad21a1db21 Bug 1652503: [mozlint] Sort the results of lints in the lint tests; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84644
2020-07-23 14:55:47 +00:00
Tom Prince 89e3880e17 Bug 1652503: [mozlint] Always use vendored yamllint; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84642
2020-07-23 14:55:42 +00:00
Tom Prince 49eef29ae8 Bug 1652503: [mozlint] Make yamllint test indenpendent of the environment; r=linter-reviewers,ahal
The root yamlint config would accepts the invalid test file,
so force the test to use the default yamllint config.

Differential Revision: https://phabricator.services.mozilla.com/D84641
2020-07-23 14:55:35 +00:00
Tom Prince 5007ec8642 Bug 1651642: [mozlint] Disable black lint tests on macOS; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D84640
2020-07-23 14:55:27 +00:00
Christian Holler 0ee607720b Bug 1589934 - Rewrite old MDN ThreadSanitizer documentation. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D83803
2020-07-21 16:17:59 +00:00
Andrew Halberstadt 3b776aad05 Bug 1654535 - [tryselect] Update |mach try --help| text with corrected default selector, DONTBUILD, r=smacleod
Differential Revision: https://phabricator.services.mozilla.com/D84527
2020-07-22 20:45:57 +00:00
Narcis Beleuzu ef290a86e8 Backed out 3 changesets (bug 1636271) for breaking the Gecko Decision Task. CLOSED TREE
Backed out changeset 4b0f13fcf941 (bug 1636271)
Backed out changeset 4250f49877ba (bug 1636271)
Backed out changeset d3f93bd6b1f9 (bug 1636271)
2020-07-22 23:40:32 +03:00
Andrew Halberstadt 8d40cc05d4 Bug 1636271 - [taskgraph] Move 'optimize-strategies' from try_task_config.json to a parameter, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D79704
2020-07-22 15:36:55 +00:00
Jonathan Almeida [:jonalmeida] e9a6ea525b Bug 1607092 - Add new quote from Book of Mozilla for GeckoView r=geckoview-reviewers,Pike,agi
Differential Revision: https://phabricator.services.mozilla.com/D80575
2020-07-07 02:22:07 +00:00
Hamzah 848d6992f5 Bug 1408051 - Remove mozharness' copy of virtualenv and use the one under /third_party/python instead r=ahal,rail
Differential Revision: https://phabricator.services.mozilla.com/D83181
2020-07-17 19:21:18 +00:00
Tim Huang 26fd85af70 Bug 1647825 - Part 2: Report the XFO and CSP: frame-ancestors error through the telemetry event. r=ckerschb,chutten,nhnt11
After user ticks the checkbox of allowing error reporting, we will
report the error through the telemetry event. The event includes the
error type, XFO policy, CSP policy, the frame uri and the top-level uri.

Differential Revision: https://phabricator.services.mozilla.com/D82332
2020-07-22 15:12:38 +00:00
Geoff Brown 217bbab384 Bug 1654090 - Replace testing/mochitest/pywebsocket with pywebsocket3; r=jmaher
Update testing/mochitest/pywebsocket with the latest version available: pywebsocket3
is python 3 compatible. This keeps the basic structure of the old pywebsocket, but
changes the directory name to pywebsocket3 to reflect the project renaming.

Differential Revision: https://phabricator.services.mozilla.com/D84455
2020-07-22 02:06:38 +00:00
Jonathan Kew bc9c7169fe Bug 1641805 - Remove DownloadPDFSaver, no longer needed in a post-Fennec world. r=paolo,mak
Differential Revision: https://phabricator.services.mozilla.com/D84012
2020-07-20 16:10:09 +00:00
Mark Banner 56b100bc3a Bug 1653195 - Update eslint-plugin-mozilla's eslint-visitor-keys to be the same as the top-level include. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D84136
2020-07-20 12:33:56 +00:00
Gerald Squelart 126afc3ab4 Bug 1653181 - Profiler feature 'audiocallbacktracing' controls Start/StopAudioCallbackTracing(), off by default - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D83749
2020-07-17 11:22:23 +00:00
Gerald Squelart 698881bb66 Bug 1653181 - Refactor Start/StopAudioCallbackTracing calls - r=canaltinova
Start/StopAudioCallbackTracing calls are always around locked_profiler_start/stop, this patch brings these calls inside the locked_ functions.

Differential Revision: https://phabricator.services.mozilla.com/D83748
2020-07-17 11:21:50 +00:00
Mitchell Hentges ccdcc211eb Bug 1653049: Docs support markdown tables r=championshuttler
Glean generates telemetry documentation in markdown and uses tables.

This revision adds support for rendering markdown tables using an extension.

Differential Revision: https://phabricator.services.mozilla.com/D83685
2020-07-17 17:11:33 +00:00