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

7592 Коммитов

Автор SHA1 Сообщение Дата
Simon Fraser dfe6a6ca65 Bug 1615929 Pass PYTHONPATH into fzf preview script r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D63217

--HG--
extra : moz-landing-system : lando
2020-02-18 19:08:15 +00:00
Sylvestre Ledru 7dfc110763 Bug 1361341 - Create the list of supported/unsupported directory with clippy r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58293

--HG--
extra : moz-landing-system : lando
2020-02-18 17:01:30 +00:00
Sylvestre Ledru ef6f6d2886 Bug 1361341 - Add rust clippy to mozlint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58250

--HG--
extra : moz-landing-system : lando
2020-02-19 08:50:35 +00:00
byron jones 095ba09dda Bug 1495394 - add `mach install-moz-phab` command; r=firefox-build-system-reviewers,chmanchester
Install moz-phab using the correct command for the current operating system as
per moz-phab's documentation.

Differential Revision: https://phabricator.services.mozilla.com/D59139

--HG--
extra : moz-landing-system : lando
2020-02-19 05:28:32 +00:00
Andrew Halberstadt 08dee930d7 Bug 1614908 - [docs] Stop applying redirects to the 'main/<ver>' namespace, r=firefox-source-docs-reviewers,sylvestre
AWS apparently has a 50 routing rule limit on their S3 bucket websites. We are
currently applying all our redirect rules 3 times, so have exceeded the limit
despite only having 18 defined rules.

This patch ensures we only apply the rules twice, giving us a bit more
breathing room. In the future, I'd like to try and set up a redirect
from '/' to '/latest' so we can further reduce the number of places we
upload files.

Differential Revision: https://phabricator.services.mozilla.com/D63200

--HG--
extra : moz-landing-system : lando
2020-02-18 15:27:38 +00:00
Nick Alexander df11faa804 Bug 1607851 - Bump browsertime version to sitespeedio/browsertime@v8.0.1+. r=tarek
This patch upgrades the major browsertime version used in-tree from 4 to 8 (including some additional fixes to fix some failing tests on our end).

We also add the node v10 requirement in this patch. Also, there were some changes in the browsertime repo's visualmetrics.py script that made it necessary to change where we find the file.

Differential Revision: https://phabricator.services.mozilla.com/D59235

--HG--
extra : moz-landing-system : lando
2020-02-17 20:20:18 +00:00
Jan de Mooij af34f904a5 Bug 1614622 part 9 - Remove optimization tracking spew and flag. r=djvj
Depends on D62877

Differential Revision: https://phabricator.services.mozilla.com/D62878

--HG--
extra : moz-landing-system : lando
2020-02-14 20:30:54 +00:00
Jan de Mooij 5d00b77203 Bug 1614622 part 8 - Remove optimization tracking files. r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D62877

--HG--
extra : moz-landing-system : lando
2020-02-17 09:17:46 +00:00
Simon Fraser b5bae78f79 Bug 1615408 Ensure task estimates work when none are selected r=ahal
The previous patch got backed out, and couldn't be patched itself, so here's a new one.

Differential Revision: https://phabricator.services.mozilla.com/D62844

--HG--
extra : moz-landing-system : lando
2020-02-14 15:25:42 +00:00
Simon Fraser 739311265d Bug 1615479 Cope with missing try_task_config during mach try estimate r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62884

--HG--
extra : moz-landing-system : lando
2020-02-14 14:46:28 +00:00
Ciure Andrei 7ab2d76537 Backed out changeset a63ccd650889 (bug 1361341) for causing mozlint failures CLOSED TREE 2020-02-14 11:10:29 +02:00
Sylvestre Ledru d284704bb3 Bug 1361341 - Add rust clippy to mozlint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58250

--HG--
extra : moz-landing-system : lando
2020-02-13 23:22:56 +00:00
Coroiu Cristina e869934731 Backed out changeset da7bdd092e0b (bug 1615408) for try failures at test_fuzzy.py on a CLOSED TREE 2020-02-14 01:16:00 +02:00
Coroiu Cristina ec8506ea56 Backed out 4 changesets (bug 1361341, bug 1578058) for mozilint failure at test_clippy.py on a CLOSED TREE
Backed out changeset 76d91acac82c (bug 1361341)
Backed out changeset aa0f5c68a325 (bug 1578058)
Backed out changeset 6df34f8ff016 (bug 1578058)
Backed out changeset 066a58eea385 (bug 1361341)
2020-02-14 01:15:11 +02:00
Sylvestre Ledru 71a6ce834d Bug 1361341 - Create the list of supported/unsupported directory with clippy r=ahal
Depends on D58267

Differential Revision: https://phabricator.services.mozilla.com/D58293

--HG--
extra : moz-landing-system : lando
2020-02-13 14:48:39 +00:00
Sylvestre Ledru 39658a665b Bug 1361341 - Add rust clippy to mozlint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58250

--HG--
extra : moz-landing-system : lando
2020-02-13 21:39:51 +00:00
Simon Fraser 509a0a550e Bug 1615408 Ensure task estimates work when none are selected r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62816

--HG--
extra : moz-landing-system : lando
2020-02-13 21:00:59 +00:00
Samuel Holland 23aebf1035 Bug 1041962 - Include libgen.h for basename r=jseward
Currently, the GNU version of basename from string.h is used, which
has behavior that conflicts with the POSIX version in libgen.h.

The GNU basename is not available in all libcs. In particular, it
is missing in musl libc, causing a build failure:

	error: 'basename' was not declared in this scope

The GNU version has the following implementation:

	char *p = strrchr (filename, '/');
	return p ? p + 1 : (char *) filename;

The POSIX version has slightly different semantics. It may modify
its argument string, or copy part of it to static storage. However,
it will also delete trailing slashes, while the GNU version will
return the empty string if there is a trailing slash.

This change resolves the issue by including libgen.h, adopting POSIX
basename semantics. This should be a safe change for the following
reasons:

- The google-breakpad code, from which this code was derived, has
  also switched to the POSIX basename:
  072f86ca83%5E%21/#F4

- The version of LulElf.cpp in mozglue/baseprofiler has also switched
  to the POSIX basename:
  https://hg.mozilla.org/mozilla-central/annotate/de1c3ae8df14cdb2c94a817b02dcffcb2cee12e2/mozglue/baseprofiler/lul/LulElf.cpp#l54

- The BaseFileName function is called only with paths to ELF files,
  never directories, so the paths will never contain a trailing
  slash, and the two versions of basename will behave identically.

Differential Revision: https://phabricator.services.mozilla.com/D61047

--HG--
extra : moz-landing-system : lando
2020-02-13 14:36:09 +00:00
Mark Banner e4edff6d1a Bug 1614891 - Clarify the ESLint situation around some remote/ files. Remove unnecessary remote/test/demo.js. r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D62547

--HG--
extra : moz-landing-system : lando
2020-02-13 09:23:19 +00:00
Simon Fraser bb0152beb3 Bug 1611989 - Refactor try estimates for code re-use. r=ahal
Add duration estimates to push summary. Refactored preview script - needed to be moved in order to import module.

Differential Revision: https://phabricator.services.mozilla.com/D61195

--HG--
rename : tools/tryselect/formatters/preview.py => tools/tryselect/preview.py
extra : moz-landing-system : lando
2020-02-12 21:06:56 +00:00
Jan de Mooij 214eabb067 Bug 1614622 part 3 - Remove optimization tracking from profiler backend, remove forEach API methods. r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D62427

--HG--
extra : moz-landing-system : lando
2020-02-12 10:55:17 +00:00
alexandru.ionescu 5b6ff5a709 Bug 1599099 - Generate in-tree perfdocs using ./mach lint --fix. r=octavian_negru,sparky
This patch adds the PerfDocs Generator. Some modificiations to `run_perfdocs` were also made because verification always has to occur before the documentation generation, and generation always has to be run after verification (if verification passes).

Differential Revision: https://phabricator.services.mozilla.com/D57111

--HG--
extra : moz-landing-system : lando
2020-02-12 07:00:15 +00:00
Barret Rennie 90d19ac0d4 Bug 1613743 - Remove `./mach try --visual-metrics-jobs` r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D62358

--HG--
extra : moz-landing-system : lando
2020-02-11 20:01:01 +00:00
Sylvestre Ledru c5409fd2b1 Bug 1607143 - Ride along - Remove a useless declaration and add an empty line r=championshuttler
Depends on D62027

Differential Revision: https://phabricator.services.mozilla.com/D62028

--HG--
extra : moz-landing-system : lando
2020-02-11 12:50:44 +00:00
Sylvestre Ledru 33479335bf Bug 1607143 - Doc: run some post processing code to fix the url to mermaid js r=championshuttler
Also bump to the latest version of mermaid js

Differential Revision: https://phabricator.services.mozilla.com/D62027

--HG--
extra : moz-landing-system : lando
2020-02-11 12:50:04 +00:00
Nazım Can Altınova a871e83bfc Bug 1608217 - Add innerWindowID into network markers. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D62099

--HG--
extra : moz-landing-system : lando
2020-02-11 10:33:47 +00:00
Sylvestre Ledru f9328d2021 Bug 1613526 - Create a code quality documentation and move the appropriate docs r=ahal
This for a few reasons:
* The summary becomes the landing page for code quality:
  https://firefox-source-docs.mozilla.org/tools/static-analysis/summary.html
* I don't think we need a full code quality category
* Closer to the source-code-doc
* All the files at the same place

Differential Revision: https://phabricator.services.mozilla.com/D61767

--HG--
rename : tools/lint/docs/coding-style/coding_style_java.rst => docs/code-quality/coding-style/coding_style_java.rst
rename : tools/lint/docs/coding-style/coding_style_other.rst => docs/code-quality/coding-style/coding_style_other.rst
rename : tools/lint/docs/coding-style/coding_style_python.rst => docs/code-quality/coding-style/coding_style_python.rst
rename : tools/lint/docs/coding-style/format_cpp_code_with_clang-format.rst => docs/code-quality/coding-style/format_cpp_code_with_clang-format.rst
rename : tools/clang-tidy/docs/summary.rst => docs/code-quality/index.rst
rename : tools/lint/docs/create.rst => docs/code-quality/lint/create.rst
rename : tools/lint/docs/index.rst => docs/code-quality/lint/index.rst
rename : tools/lint/docs/index.rst => docs/code-quality/lint/lint.rst
rename : tools/lint/docs/linters/codespell.rst => docs/code-quality/lint/linters/codespell.rst
rename : tools/lint/docs/linters/cpp-virtual-final.rst => docs/code-quality/lint/linters/cpp-virtual-final.rst
rename : tools/lint/docs/linters/eslint-plugin-mozilla.rst => docs/code-quality/lint/linters/eslint-plugin-mozilla.rst
rename : tools/lint/docs/linters/eslint-plugin-spidermonkey-js.rst => docs/code-quality/lint/linters/eslint-plugin-spidermonkey-js.rst
rename : tools/lint/docs/linters/eslint.rst => docs/code-quality/lint/linters/eslint.rst
rename : tools/lint/docs/linters/file-perm.rst => docs/code-quality/lint/linters/file-perm.rst
rename : tools/lint/docs/linters/file-whitespace.rst => docs/code-quality/lint/linters/file-whitespace.rst
rename : tools/lint/docs/linters/flake8.rst => docs/code-quality/lint/linters/flake8.rst
rename : tools/lint/docs/linters/l10n.rst => docs/code-quality/lint/linters/l10n.rst
rename : tools/lint/docs/linters/license.rst => docs/code-quality/lint/linters/license.rst
rename : tools/lint/docs/linters/lintpref.rst => docs/code-quality/lint/linters/lintpref.rst
rename : tools/lint/docs/linters/mingw-capitalization.rst => docs/code-quality/lint/linters/mingw-capitalization.rst
rename : tools/lint/docs/linters/perfdocs.rst => docs/code-quality/lint/linters/perfdocs.rst
rename : tools/lint/docs/linters/rstlinter.rst => docs/code-quality/lint/linters/rstlinter.rst
rename : tools/lint/docs/linters/rustfmt.rst => docs/code-quality/lint/linters/rustfmt.rst
rename : tools/lint/docs/usage.rst => docs/code-quality/lint/usage.rst
rename : tools/clang-tidy/docs/index.rst => docs/code-quality/static-analysis.rst
extra : moz-landing-system : lando
2020-02-11 09:11:44 +00:00
Sylvestre Ledru 095594eed0 no bug - Add review groups + info about unit tests in mozlint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D61390

--HG--
extra : moz-landing-system : lando
2020-02-10 19:52:46 +00:00
Tom Prince 0ddf6e6ce0 No bug: [tryselect] Use up-to-date URL for code-coverage information; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D61645

--HG--
extra : moz-landing-system : lando
2020-02-10 18:52:06 +00:00
Andrea Marchesini b13b3b72d2 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61182

--HG--
extra : moz-landing-system : lando
2020-02-06 13:46:25 +00:00
Sylvestre Ledru f8fbaf286d No bug - fuzzing: update of the doc to point to matrix instead of slack r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D61790

--HG--
extra : moz-landing-system : lando
2020-02-06 10:23:35 +00:00
Narcis Beleuzu d259fe38d8 Backed out 13 changesets (bug 1611855) for wpt failures on /audioworklet-postmessage-sharedarraybuffer.https.html . CLOSED TREE
Backed out changeset 2b661d588f96 (bug 1611855)
Backed out changeset 16094fc92bc9 (bug 1611855)
Backed out changeset 3f89bbcaff92 (bug 1611855)
Backed out changeset a906501b6d92 (bug 1611855)
Backed out changeset 54738b88425d (bug 1611855)
Backed out changeset d27de910a6c0 (bug 1611855)
Backed out changeset 261902f6336d (bug 1611855)
Backed out changeset 380d83b61e62 (bug 1611855)
Backed out changeset 39aac60ebf5e (bug 1611855)
Backed out changeset 5ea099787376 (bug 1611855)
Backed out changeset d0f58871f838 (bug 1611855)
Backed out changeset e1be102310a9 (bug 1611855)
Backed out changeset 633357835540 (bug 1611855)

--HG--
rename : dom/base/test/test_postMessages_workers.html => dom/base/test/test_postMessages.html
2020-02-06 12:31:36 +02:00
Andrea Marchesini 87b1a8a547 Bug 1611855 - Worklet must be part of the same parent's agentCluster - part 2 - CloneDataPolicy in writing, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61182

--HG--
extra : moz-landing-system : lando
2020-02-05 22:07:34 +00:00
Doug Thayer 38a92008fc Bug 1610137 - Fix profiler_shutdown call with fast shutdown r=gerald
If we're in a fast shutdown, we don't care about cleaning up anything -
we just want to get the profile saved if the env var is set up for doing
so.

Differential Revision: https://phabricator.services.mozilla.com/D61598

--HG--
extra : moz-landing-system : lando
2020-02-05 18:07:00 +00:00
Christian Holler 71231ac083 Bug 1612707 - Disable various slow tests under TSan. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61562

--HG--
extra : moz-landing-system : lando
2020-02-04 14:34:07 +00:00
Calixte Denizet 24e00f666b Bug 1603988 - Part 2: Add a TC index for generated artifacts for mac symbols and reuse them in the next run r=tomprince
To avoid to process again and again the same packages, we can use a cache.
So this patch add a TC index for the artifacts generated in a run and then we can reuse it in the next run.

Differential Revision: https://phabricator.services.mozilla.com/D60849

--HG--
extra : moz-landing-system : lando
2020-02-03 18:41:49 +00:00
Julian Descottes e7ad852a73 Bug 1611140 - Add fission debug jobs to devtools preset r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D60835

--HG--
extra : moz-landing-system : lando
2020-02-03 15:04:52 +00:00
Csoregi Natalia 8b571b9067 Backed out changeset f65bd225f199 (bug 1609864) as requested. a=backout DONTBUILD 2020-02-03 10:34:00 +02:00
Sylvestre Ledru 423ec1500d no bug - coding style C++ doc: fix the note syntax r=sg
Differential Revision: https://phabricator.services.mozilla.com/D61246

--HG--
extra : moz-landing-system : lando
2020-01-30 08:00:21 +00:00
Julian Descottes 6d77dc5271 Bug 1611229 - Add linting rule to prevent using ChromeUtils.import(..., null) r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D60891

--HG--
extra : moz-landing-system : lando
2020-01-29 13:15:54 +00:00
alexandru.ionescu 1535129890 Bug 1573418 Run Talos harness tests in CI r=rwood,igoldan,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D56680

--HG--
extra : moz-landing-system : lando
2020-01-29 08:29:13 +00:00
Perry Jiang dfe4262aaf Bug 1611046 - avoid using namespace declaration r=dom-workers-and-storage-reviewers,sg
In particular this avoids unqualified name lookup ambiguity between
::Request and mozilla::dom::Request (imported into the global namespace by
using namespace mozilla::dom).

Differential Revision: https://phabricator.services.mozilla.com/D61212

--HG--
extra : moz-landing-system : lando
2020-01-29 12:05:47 +00:00
Andrew Halberstadt 8f09bc743f Bug 1608535 - [lint] Forward new --no-error-on-unmatched-pattern to eslint, r=Standard8
This prevents eslint from dumping an error and bailing when a path was specified that
doesn't contain any lintable files.

This patch fixes a bad interaction with 'mozlint' where passing a directory containing
failures alongside a directory that doesn't have lintable files results in the errors
being hidden and mozlint reporting that everying is OK.

Differential Revision: https://phabricator.services.mozilla.com/D60686

--HG--
extra : moz-landing-system : lando
2020-01-23 13:30:27 +00:00
Sylvestre Ledru df94d62f7f Bug 1611088 - Upgrade to autopep8 1.5 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D60807

--HG--
extra : moz-landing-system : lando
2020-01-23 14:06:09 +00:00
Florin Strugariu f28920ebc4 Bug 1610791 - Do not run try tests on Windows 10 x64 2017 Ref HW by default r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D60661

--HG--
extra : moz-landing-system : lando
2020-01-22 15:02:03 +00:00
Tarek Ziadé d3d110bba7 Bug 1608136 - Fixed ContentfulSpeedIndex extraction r=sparky
The convert output is now parsed in a more robust manner.

Differential Revision: https://phabricator.services.mozilla.com/D60108

--HG--
extra : moz-landing-system : lando
2020-01-21 19:56:52 +00:00
Kris Maglione ab5a99dd15 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 21:32:28 +00:00
Mark Banner 3669c5762f Bug 1608799 - Move more paths from .eslintignore to ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D60150

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:47 +00:00
Mark Banner 2b7e2e5f7b Bug 1607172 - Move dom third-party entries across to ThirdPartyPaths.txt, and clean up .eslintignore for dom. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D59694

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:28 +00:00
Mark Banner 9e27a54a24 Bug 1607172 - Move devtools third-party entries across to ThirdPartyPaths.txt, and clean up .eslintignore for devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D59692

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:13 +00:00