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

7314 Коммитов

Автор SHA1 Сообщение Дата
championshuttler 1e9127605b Bug 1598013 - Add link to Artifcat build r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55162

--HG--
extra : moz-landing-system : lando
2019-11-28 18:09:56 +00:00
championshuttler 43e3258c2a Bug 1536103 - Update Piplock file for mach doc command. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55150

--HG--
extra : moz-landing-system : lando
2019-11-28 16:37:45 +00:00
Sylvestre Ledru fbac4969b4 Bug 1599749 - Rename coding_style.rst to coding_style_cpp.rst r=sg
Differential Revision: https://phabricator.services.mozilla.com/D55104

--HG--
rename : tools/lint/docs/coding-style/coding_style.rst => tools/lint/docs/coding-style/coding_style_cpp.rst
extra : moz-landing-system : lando
2019-11-28 12:58:40 +00:00
Sylvestre Ledru a52c67fc4b Bug 1599749 - Improve the display of the C++ coding style page r=sg
Depends on D54932

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

--HG--
extra : moz-landing-system : lando
2019-11-28 12:58:40 +00:00
Sylvestre Ledru a5f1bb6a23 Bug 1599749 - Split the coding style documentation into different files r=sg
Differential Revision: https://phabricator.services.mozilla.com/D54931

--HG--
extra : moz-landing-system : lando
2019-11-28 12:58:25 +00:00
Andi-Bogdan Postelnicu c85e350b5b Bug 1599101 - For clang-tidy based analysis add checker `clang-analyzer-cplusplus.Move`. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D54522

--HG--
extra : moz-landing-system : lando
2019-11-25 15:54:58 +00:00
Steve Fink 3cba3308a0 Bug 1599643 - Add number of tasks to `mach try again --list` output r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D54842

--HG--
extra : moz-landing-system : lando
2019-11-27 14:39:27 +00:00
Olli Pettay c6003cd98a Bug 1596763 - Remove unused ParentSHistory, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D53190

--HG--
extra : moz-landing-system : lando
2019-11-27 10:36:32 +00:00
Nazım Can Altınova e92cf6b787 Bug 1590706 - Part 1: Add a field inside ActivePS to hold the active BrowsingContext ID. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D54144

--HG--
extra : moz-landing-system : lando
2019-11-27 14:27:39 +00:00
Mihai Alexandru Michis 096946a25f Backed out 2 changesets (bug 1590706) for causing bustages in gtest/GeckoProfiler.cpp CLOSED TREE
Backed out changeset c98daf6c7687 (bug 1590706)
Backed out changeset 4c2af658ce76 (bug 1590706)
2019-11-27 15:42:55 +02:00
Nazım Can Altınova 372b36e229 Bug 1590706 - Part 1: Add a field inside ActivePS to hold the active BrowsingContext ID. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D54144

--HG--
extra : moz-landing-system : lando
2019-11-27 12:54:13 +00:00
Julian Descottes 3c6458633a Bug 1598557 - Move all BrowserToolbox files to a dedicated folder r=ochameau
Depends on D54119

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

--HG--
rename : devtools/client/framework/ToolboxProcess.jsm => devtools/client/framework/browser-toolbox/Launcher.jsm
rename : devtools/client/framework/test/browser_browser_toolbox.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox.js
rename : devtools/client/framework/test/browser_browser_toolbox_debugger.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox_debugger.js
rename : devtools/client/framework/test/browser_browser_toolbox_fission_inspector.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox_fission_inspector.js
rename : devtools/client/framework/test/browser_browser_toolbox_rtl.js => devtools/client/framework/browser-toolbox/test/browser_browser_toolbox_rtl.js
rename : devtools/client/framework/test/helpers.js => devtools/client/framework/browser-toolbox/test/helpers-browser-toolbox.js
rename : devtools/client/framework/toolbox-process-window.css => devtools/client/framework/browser-toolbox/window.css
rename : devtools/client/framework/toolbox-process-window.html => devtools/client/framework/browser-toolbox/window.html
rename : devtools/client/framework/toolbox-process-window.js => devtools/client/framework/browser-toolbox/window.js
extra : moz-landing-system : lando
2019-11-27 11:08:11 +00:00
championshuttler a45acd4a52 Bug 1569472 - Remove toolkit/components/extensions from exclude list of rst linter. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D54062

--HG--
extra : moz-landing-system : lando
2019-11-26 19:28:49 +00:00
Sylvestre Ledru 7747116071 Bug 1599372 - Integrate web-platform doc into https://firefox-source-docs.mozilla.org/ r=automatedtester
Depends on D54678

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:23:39 +00:00
Sylvestre Ledru a317a3af9e Bug 1599372 - Enable eval_rst as we use it for web-platform r=ahal
Example:
https://searchfox.org/mozilla-central/rev/0678172d5b5c681061b904c776b668489e3355b0/testing/web-platform/tests/docs/index.md#62-71

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

--HG--
extra : moz-landing-system : lando
2019-11-26 20:50:31 +00:00
Gerald Squelart 6550e4931e Bug 1598992 - Add test for profile hand-off from Base to Gecko Profiler - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D54446

--HG--
extra : moz-landing-system : lando
2019-11-26 23:01:14 +00:00
Gerald Squelart c62ee84686 Bug 1598992 - More precise way to decide when to delete expired Base Profiler data - r=gregtatum
In practice the previous test that was deleting Base Profiler data when the
index became greater that 1 was correct for Firefox, because the Base Profiler
*always* starts before the very first Gecko Profiler active instance.

However in tests (like the one in the following patch) this may not be true,
because each test may start and stop the profiler, and the recent storage update
means that the index doesn't go back to 1. So when a test (apart from the first
test to use the profiler) attemps to use the Base Profiler, that Base Profiler
data will be immediately discarded because the index is already greater than 1
(from previous tests).

This change is more future-proof as well, in case we later want to use the Base
Profiler more than once in a Firefox instance.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 23:01:12 +00:00
Gerald Squelart 3d3bc7fc4f Bug 1598992 - Stop Base Profiler before starting Gecko Profiler - r=gregtatum
This ensures that no more Base Profiler (BP) activity can happen when Gecko
Profiler (GP) starts.
In particular on Linux this is needed because the BP sampler sends signals to
stop threads, and the just-starting GP could receive this signal before it is
fully ready to handle it with its own sampler.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 22:59:58 +00:00
Gerald Squelart 17dddce7ee Bug 1598529 - Empty JSON profiles may in fact contain 1 character - r=gregtatum
JSON profiles from the Base Profiler were assumed to be empty if they contained
zero characters, but in fact they contain one character (a single newline).

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

--HG--
extra : moz-landing-system : lando
2019-11-26 22:59:40 +00:00
Narcis Beleuzu 822a54d9fb Backed out 6 changesets (bug 1598992, bug 1598531, bug 1598529) for causing MinGW bustages on GeckoProfiler.cpp. CLOSED TREE
Backed out changeset 407ccb5f316b (bug 1598531)
Backed out changeset 40903d7428fb (bug 1598992)
Backed out changeset 53bc356053b0 (bug 1598992)
Backed out changeset a7931318ce6c (bug 1598992)
Backed out changeset b3880cc8dc23 (bug 1598992)
Backed out changeset 1e969b7c2352 (bug 1598529)
2019-11-26 23:36:11 +02:00
Gerald Squelart 7148c5cf32 Bug 1598992 - Add test for profile hand-off from Base to Gecko Profiler - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D54446

--HG--
extra : moz-landing-system : lando
2019-11-26 11:28:18 +00:00
Gerald Squelart 40a1a29bed Bug 1598992 - More precise way to decide when to delete expired Base Profiler data - r=gregtatum
In practice the previous test that was deleting Base Profiler data when the
index became greater that 1 was correct for Firefox, because the Base Profiler
*always* starts before the very first Gecko Profiler active instance.

However in tests (like the one in the following patch) this may not be true,
because each test may start and stop the profiler, and the recent storage update
means that the index doesn't go back to 1. So when a test (apart from the first
test to use the profiler) attemps to use the Base Profiler, that Base Profiler
data will be immediately discarded because the index is already greater than 1
(from previous tests).

This change is more future-proof as well, in case we later want to use the Base
Profiler more than once in a Firefox instance.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:08:41 +00:00
Gerald Squelart 0311154503 Bug 1598992 - Stop Base Profiler before starting Gecko Profiler - r=gregtatum
This ensures that no more Base Profiler (BP) activity can happen when Gecko
Profiler (GP) starts.
In particular on Linux this is needed because the BP sampler sends signals to
stop threads, and the just-starting GP could receive this signal before it is
fully ready to handle it with its own sampler.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:27:28 +00:00
Gerald Squelart 2dea92aedc Bug 1598529 - Empty JSON profiles may in fact contain 1 character - r=gregtatum
JSON profiles from the Base Profiler were assumed to be empty if they contained
zero characters, but in fact they contain one character (a single newline).

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:27:06 +00:00
Sylvestre Ledru 5acaa3ecaa Bug 1598963 - Manage markdown frontmatter r=ahal
If we are dealing with a markdown file with a front matter,
we read the information from the front matter/YAML,
write a new md file with the right information
and copy it in the target directory

Depends on D54426

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

--HG--
extra : moz-landing-system : lando
2019-11-26 20:59:58 +00:00
Sylvestre Ledru 206b0fcb56 Bug 1598963 - Add python-frontmatter as a dependency r=ahal
Depends on D54425

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

--HG--
extra : moz-landing-system : lando
2019-11-26 20:18:42 +00:00
Sylvestre Ledru 948d330640 Bug 1596911 - refresh the ignore list with the new exts r=Gijs
Depends on D53266

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:02:02 +00:00
Sylvestre Ledru 4056ec2363 Bug 1596911 - Activate the license lint on more extensions r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53266

--HG--
extra : moz-landing-system : lando
2019-11-26 14:59:31 +00:00
Sylvestre Ledru e94f355d96 Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:00 +00:00
Sylvestre Ledru 1075743c03 Bug 1599397 - Improve the contribution tutorial + add new job doc r=marco
Differential Revision: https://phabricator.services.mozilla.com/D54693

--HG--
extra : moz-landing-system : lando
2019-11-26 12:43:42 +00:00
Sylvestre Ledru df4066dd02 Bug 1598971 - Enable codespell on more directories r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D54430

--HG--
extra : moz-landing-system : lando
2019-11-25 20:08:17 +00:00
Mike Hommey b1d0510804 Bug 1598196 - Support disabling the linker on Android in the code. r=froydnj
For now, there is no flag to actually allow it, but this is the
code-side changes to allow the linker being disabled.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 14:57:24 +00:00
Mike Hommey 6b83eba3c7 Bug 1598194 - Make FaultyLib-specific code FaultyLib-specific rather than Android-specific. r=gerald
The custom linker used on Android (FaultyLib), can be enabled on
non-Android, and in the near future, may not always be enabled on
Android, so the FaultyLib-specific parts of the profile need to not be
specific to Android, but to the linker being enabled instead.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 23:04:24 +00:00
Andrew McCreight d25c3b20ae Bug 1598787 - Rename XRE_ChildProcessTypeToString to XRE_GeckoProcessTypeToString. r=froydnj
This function works on all GeckoProcessTypes, not just those for child
processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 22:45:31 +00:00
Coroiu Cristina 0356c7a1b5 Backed out changeset 8f52344661fe (bug 1598787) for build bustages at build/src/tools/fuzzing/faulty/Faulty.cpp on a CLOSED TREE 2019-11-26 00:22:28 +02:00
Andrew McCreight b8c9932d5b Bug 1598787 - Rename XRE_ChildProcessTypeToString to XRE_GeckoProcessTypeToString. r=froydnj
This function works on all GeckoProcessTypes, not just those for child
processes.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 17:24:46 +00:00
Sylvestre Ledru 5ef6c93f13 Bug 1598963 - Update the recommonmark dep to 0.6.0 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D54425

--HG--
extra : moz-landing-system : lando
2019-11-25 21:03:19 +00:00
Sylvestre Ledru 5417332694 Bug 1598615 - Ride along: explain how to run the mozlint tests r=ahal
Depends on D54499

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:09:33 +00:00
Sylvestre Ledru d80ef5130e Bug 1598615 - Ride along: add tests for rst r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D54499

--HG--
extra : moz-landing-system : lando
2019-11-25 20:09:05 +00:00
Sylvestre Ledru 4c2a29c270 Bug 1598615 - Simplify the rstcheck output parsing and show the whole error r=ahal
Some of the rstcheck output isn't displayed

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:08:32 +00:00
Andrew Halberstadt 7f547523ec Bug 1595174 - [tryselect] Improve docs for getting watchman to run at startup, r=tomprince
The docs used to recommend running 'watchman version' from the profile file.
But this doesn't actually seem to work for me. I don't remember why I even put
that in there. I finally took the time to get watchman set up as a systemd
service. This is just sharing the knowledge.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 17:30:34 +00:00
Sylvestre Ledru bcc2fbd6c0 Bug 1599080 - Integrate the devtools doc in https://firefox-source-docs.mozilla.org/ r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D54515

--HG--
extra : moz-landing-system : lando
2019-11-25 14:00:33 +00:00
Andrew Halberstadt 4e049f8e21 Bug 1496768 - [tryselect] Rename 'templates' to 'task_configs', r=tomprince
The name 'templates' originally came from the fact that JSON-e templates were
used to apply the configuration. Now that these no longer exist, the name
doesn't make any sense.

I'm not sure 'task_configs' is much better, but it at least makes sense given
that these are values that populate 'try_task_config.json'.

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

--HG--
rename : tools/tryselect/templates.py => tools/tryselect/task_config.py
rename : tools/tryselect/test/test_templates.py => tools/tryselect/test/test_task_configs.py
extra : moz-landing-system : lando
2019-11-22 17:16:18 +00:00
Andrew Halberstadt c1a671d9c9 Bug 1496768 - [taskgraph] Move remaining try configs from the morph to full_task_graph generation, r=tomprince
Handles 'env' and 'chemspill-prio' configs in the transforms. The 'rebuild'
task config is purposefully excluded from the full_task_graph and instead
handled at the target_tasks stage. Otherwise if a user ran '--rebuild 20' then
retriggered one of those tasks, they'd instead get another 20 which is almost
certainly not what we want.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 23:28:57 +00:00
Andrew Halberstadt e9d9093e44 Bug 1496768 - [taskgraph] Rename 'artifact' try_config to 'use-artifact-builds', r=tomprince
Also converts the 'artifact' from a Template to a TryConfig. So this changes the config from:
{
  'templates': {
    'artifact': {
      'enabled': 1
    }
  }
}

to:

{
  'use-artifact-builds': True
}

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

--HG--
extra : moz-landing-system : lando
2019-11-22 17:16:04 +00:00
Sylvestre Ledru 6fd31d8f68 Bug 1599023 - Remove non existing dirs from tools/rewriting/ThirdPartyPaths.txt r=andi
Differential Revision: https://phabricator.services.mozilla.com/D54460

--HG--
extra : moz-landing-system : lando
2019-11-25 09:06:20 +00:00
Sylvestre Ledru 10534a545d Bug 1598013 - Ride along: disable the C++ language check in rstcheck r=andi
It is currently doing some C++ parsing.
And as we are extracting some snippets of code, it is
expected that they don't compile

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

--HG--
extra : moz-landing-system : lando
2019-11-25 09:25:18 +00:00
Sylvestre Ledru d539b6af15 Bug 1598013 - Polish the some docs r=andi
Differential Revision: https://phabricator.services.mozilla.com/D54412

--HG--
extra : moz-landing-system : lando
2019-11-25 08:48:17 +00:00
Sylvestre Ledru 232b1386d7 Bug 1598013 - Write a simple contribute page r=ahal
This page isn't referened for now as Mike has been working in bringing
the MDN doc in-tree.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 19:15:09 +00:00
Greg Tatum 63557d95ad Bug 1597972 - Remove the JS frames array from being stack allocated; r=gerald
The native allocations feature added stackwalking that can happen anywhere that
memory is allocated. This means that stackwalking happens in places where the
execution already has a very large execution stack. Stackwalking was relying
on stack-allocated buffers used for merging stacks. This was taking up 64kb of
stack space. On Linux, this was causing a stack overflow, as there is only 256kb of
stack space. I encountered a crash while using GDB. Using pointer arithmetic,
I determined that the stack size before stack walking was around 20kb, and during
stackwalking, we overflowed the stack (>256kb). The largest culprit was the
JS::ProfilingFrameIterator::Frame jsFrames[MAX_JS_FRAMES]. In addition,
Bug 1468789 added another member to the Frame class, also increasing the size
of the stack allocation.

I changed the implementation to allocate some memory on the CorePS class, and
share that with every stackwalk that happens. I tested this loading a large news
site, and didn't get any crashes.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 19:50:25 +00:00