Commit Graph

7616 Commits

Author SHA1 Message Date
Kartikaya Gupta
0c78703527 Bug 1617805 - Improve debug logging in converter script. r=kvark
Depends on D64135

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

--HG--
extra : moz-landing-system : lando
2020-02-25 16:57:09 +00:00
Kartikaya Gupta
4fe1ed2688 Bug 1617805 - Don't prune hg revs that are referenced by git tags as boring. r=kvark
The git repo may have tags of the form 'mozilla-<rev>' which tell the
converter script that the git commit is synced from given mozilla-central
hg rev. Those git commits are likely to be created manually from mozilla-central
push heads, which may or may not contain changes to the code being synced.
In this instance, the push head being referenced by tag did not contain changes,
and so the rev was pruned as uninteresting to the conversion. This led to a
busted graph and failure during git commit building.

This patch ensures that any hg rev referenced by a git commit doesn't get
pruned as boring, and so can be used as a base to build additional git commits
on top of.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 16:56:31 +00:00
Bob Clary
a3aec07b06 Bug 1610879 - restrict Tier 2 fission web-platform-tests on Linux to try with --full, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D64050

--HG--
extra : moz-landing-system : lando
2020-02-25 11:43:33 +00:00
Sylvestre Ledru
cb8e00ff3f Bug 1617511 - doc: Add a textual description on attaching new try jobs r=armenzg
Differential Revision: https://phabricator.services.mozilla.com/D63817

--HG--
extra : moz-landing-system : lando
2020-02-25 14:07:26 +00:00
Sylvestre Ledru
f50632f36b no bug - Add media/mp4parse-rust/ to the list of third party code r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D63947

--HG--
extra : moz-landing-system : lando
2020-02-25 12:52:07 +00:00
Sylvestre Ledru
98a5cfa00d Bug 1617369 - Reformat testing/ using rustfmt r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D63940

--HG--
extra : moz-landing-system : lando
2020-02-24 21:40:06 +00:00
Sylvestre Ledru
767a63976f Bug 1617369 - Reformat toolkit/crashreporter/ & toolkit/library/rust/ using rustfmt r=gsvelto
Depends on D63952

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

--HG--
extra : moz-landing-system : lando
2020-02-25 07:44:53 +00:00
Michael Kaply
6d38738dd2 Bug 1617275 - Don't allow TLS downgrade if TLS min pref is locked. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D63731

--HG--
extra : moz-landing-system : lando
2020-02-24 19:47:58 +00:00
Nick Alexander
4d7d9f4968 Bug 1612191 - Implement mach browsertime --update-upstream-url $URL for bumping version. r=Standard8,tarek
Might as well automate what we can automate.  I considered making the
"update package.json" logic part of setup_helper.py, so that it can be
used more broadly, but it's not clear it would be used with the
general push towards vendoring into the tree as part of `mach vendor`.

Depends on D63370

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

--HG--
extra : moz-landing-system : lando
2020-02-24 10:53:50 +00:00
Nick Alexander
9404dff40f Bug 1612191 - Pre: Use NPM's --scripts-prepend-node-path rather than setting PATH. r=Standard8
I couldn't find an exact version for the introduction of the flag, but
it appears to be at least NPM v3.  We recently started to install and
require at least NPM v6.13.4 in tree.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 16:22:42 +00:00
Sylvestre Ledru
205bea23c3 Bug 1617528 - Enable modernize-use-using at review phase r=andi
Differential Revision: https://phabricator.services.mozilla.com/D63819

--HG--
extra : moz-landing-system : lando
2020-02-24 10:05:16 +00:00
Toshihito Kikuchi
3e8d050c21 Bug 1617188 - Do not call GetVersion(detoured.dll) if nvd3d9wrapx.dll is loaded. r=gerald
We added a workaround to skip `LoadLibraryEx` avoid NVIDIA's crash (bug 1607574),
however we still hit the same crash via the call to `xul!GetVersion`.  This patch
removes that call, and put an empty string as the version of detoured.dll instead.

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

--HG--
extra : moz-landing-system : lando
2020-02-22 17:29:26 +00:00
Andrew Halberstadt
63ccd789be Bug 1617229 - [tryselect] Remove no longer needed preset migration code r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D63692

--HG--
extra : moz-landing-system : lando
2020-02-21 19:42:19 +00:00
Sylvestre Ledru
a5ae0686ba Bug 1615903 - Add unit tests for rustfmt r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D63028

--HG--
extra : moz-landing-system : lando
2020-02-21 18:28:49 +00:00
Sylvestre Ledru
4c4a229a35 Bug 1615902 - When running the mozlint test, enforce the debug mode r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D63026

--HG--
extra : moz-landing-system : lando
2020-02-21 17:08:36 +00:00
Sylvestre Ledru
a32d77d924 Bug 1617186 - Reformat the fuzzing rust files r=truber
done with:
$ ./mach lint -l rustfmt --fix tools/fuzzing/rust/src/lib.rs

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

--HG--
extra : moz-landing-system : lando
2020-02-21 17:01:29 +00:00
Andrew Halberstadt
903826d9cd Bug 1616902 - [try] Move tools/tryselect/preview.py to the 'selectors' directory, r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D63676

--HG--
rename : tools/tryselect/preview.py => tools/tryselect/selectors/preview.py
extra : moz-landing-system : lando
2020-02-21 16:45:33 +00:00
Geoff Brown
e5b5796a47 Bug 1606970 - Use subprocess instead of mozprocess to run eslint; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D61396

--HG--
extra : moz-landing-system : lando
2020-02-20 22:23:06 +00:00
Kartikaya Gupta
7f634ba2c0 Bug 1616977 - Fix the tag lookup to look at all the interesting tags. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D63544

--HG--
extra : moz-landing-system : lando
2020-02-20 20:55:00 +00:00
Sylvestre Ledru
7156338c89 Bug 1616969 - docs: Bring back the larger display of the docs r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D63542

--HG--
rename : tools/moztreedocs/_static/custom_theme.css => docs/_static/custom_theme.css
extra : moz-landing-system : lando
2020-02-20 20:46:56 +00:00
Simon Giesecke
9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Bastien Abadie
8a92639faf Bug 1609116 - Activate warnings for rustfmt on code review mode, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D59859

--HG--
extra : moz-landing-system : lando
2020-01-17 08:05:40 +00:00
Dorel Luca
d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke
59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
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