Commit Graph

14548 Commits

Author SHA1 Message Date
Gabriel Luong
3021ef3b5f Bug 1529364 - Move the markup context menu into a separate module. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D20554

--HG--
rename : devtools/client/inspector/inspector.js => devtools/client/inspector/markup/markup-context-menu.js
2019-02-20 15:03:38 -05:00
Oana Pop Rus
b36e97fc77 Merge inbound to mozilla-central. a=merge 2019-02-21 11:31:00 +02:00
Razvan Caliman
a2b510c934 Bug 1524547 - (Part 2) Add context menu option to copy the contents of a changed CSS rule. r=gl
Depends on D20195

This series of patches depends on the patch from [Bug 1525238](https://bugzilla.mozilla.org/show_bug.cgi?id=1525238)

- adds method to identify a CSS Rule actor by id
- adds context menu option to the Changes panel to allow copying the rule's authored text to the clipboard

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

--HG--
extra : moz-landing-system : lando
2019-02-20 21:45:03 +00:00
Razvan Caliman
aa000809a8 Bug 1524547 - (Part 1) Add method to StyleRuleActor to get complete authored text for a CSS rule. r=gl
This series of patches depends on the patch from [Bug 1525238](https://bugzilla.mozilla.org/show_bug.cgi?id=1525238)

This patch adds a new method to the StyleRuleActor on the server to expose the full text content of a CSS rule over the protocol to the client. This means exposing the CSS rule's authored text including comments and any nested rules if the target rule is an ancestor rule, like @media or @supports.

There's minor refactoring to include additional rule types for which StyleRuleActors will be created: @supports, @media, @keyframes. These are not explicitly rendered in the Rule view and shouldn't impact it. The Rule view filters for CSS Style Rules, element inline style and has special handling for keyframe at-rules.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:41:44 +00:00
Julian Descottes
5321bbb16b Bug 1521507 - Add telemetry events for runtime update;r=daisuke,janerik,chutten
Will ask for r? from janerik once product has approved the data collected here.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 20:09:34 +00:00
yulia
eed3621d24 Bug 1485664 - guard webconsole destroy method from being called when there is no client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20152

--HG--
extra : moz-landing-system : lando
2019-02-20 10:28:23 +00:00
yulia
e7f1f95776 Bug 1485664 - remove attachConsole from the debugger client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20150

--HG--
extra : moz-landing-system : lando
2019-02-20 10:27:50 +00:00
yulia
65260bc0fc Bug 1485664 - Fix failing test due to race; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D19815

--HG--
extra : moz-landing-system : lando
2019-02-20 10:27:12 +00:00
yulia
1c4e7ce305 Bug 1485664 - move webconsole client to front directory; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18838

--HG--
rename : devtools/shared/webconsole/client.js => devtools/shared/fronts/webconsole.js
extra : moz-landing-system : lando
2019-02-19 16:00:45 +00:00
yulia
63ec6c691d Bug 1485664 - Change "attachConsole" in the debuggerClient so that it is compatible with a front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18837

--HG--
extra : moz-landing-system : lando
2019-02-19 16:04:30 +00:00
yulia
d9e63a9d50 Bug 1485664 - remove from field from jsterm tests; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18836

--HG--
extra : moz-landing-system : lando
2019-02-19 15:59:41 +00:00
yulia
e8e841f58e Bug 1485664 - update console stub generators; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D19389

--HG--
extra : moz-landing-system : lando
2019-02-19 15:59:08 +00:00
yulia
d3412c26b4 Bug 1485664 - use protocol js methods instead of hard coding it in the console front; r=ochameau
Just updating the stubs for tests

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

--HG--
extra : moz-landing-system : lando
2019-02-19 15:58:25 +00:00
yulia
56b3c13f02 Bug 1485664 - adjust webconsole-connection-proxy to listen to webconsole front events, and fix r=ochameau
tests; r=ochameau

this migrates the proxy to the new webconsole front events. This resulted in a number of
test failures once the migration was finished, and those were fixed

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

--HG--
extra : moz-landing-system : lando
2019-02-19 15:57:52 +00:00
yulia
a73ae60bdf Bug 1485664 - update har collector to use webconsole events; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18833

--HG--
extra : moz-landing-system : lando
2019-02-19 15:57:46 +00:00
yulia
aed02d496b Bug 1485664 - adjust events to front events; r=ochameau
this patch introduces events for the webconsoleFront -- not all of them are being listened
to by their subscribers yet, but this is the bulk of the effort to move events to Protocol.js

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

--HG--
extra : moz-landing-system : lando
2019-02-20 10:49:09 +00:00
yulia
e3b15c8fe4 Bug 1485664 - remove echoed events and unused events; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18830

--HG--
extra : moz-landing-system : lando
2019-02-20 10:49:03 +00:00
yulia
2f32d68c4c Bug 1485664 - convert webconsoleClient to front; r=ochameau
initial move of the webconsoleClient to a front. Events do not work yet, but methods do.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 15:54:37 +00:00
Rainier G
c4fe6600b5 Bug 1477296 - Updated itemoffset to 0 when local storage is cleared r=miker
Differential Revision: https://phabricator.services.mozilla.com/D20385

--HG--
extra : moz-landing-system : lando
2019-02-20 12:56:43 +00:00
Nicolas Chevobbe
2a36c9ce5b Bug 1528727 - Lazy load wasm utils in source editor; r=yury.
The file and its dependencies are pretty large and can take
a while to load. Since some consumers might not need those function,
loading them lazily looks like a good move.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 12:43:51 +00:00
Nicolas Chevobbe
7c5e4cceb8 Bug 1528739 - Don't load CSS properties by default; r=gl.
If the cssProperties config wasn't provided, the Editor
was loading getClientCssProperties, which loads properties-db
which is quite large.
Since the Style Editor is providing a cssProperties config,
this was done for all the other consumers, none of them
actually having any use of it.
We remove this default behaviour which allows us to speed
up panel/source opening quite significantly.

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

--HG--
extra : moz-landing-system : lando
2019-02-20 09:01:03 +00:00
Julian Descottes
ddd4a71d78 Bug 1525619 - Fix eslint violations r=daisuke
Depends on D20399

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

--HG--
extra : moz-landing-system : lando
2019-02-20 08:08:43 +00:00
Julian Descottes
221883f576 Bug 1525619 - Move RuntimeActions to dedicated component;r=daisuke
@daisuke I would like to share this preliminary work with you.
I want to move this to a dedicated component anyway, but most importantly this will reduce merge conflicts between our 2 bugs.
I can land that and leave-open while I continue to work on the actual UX implementation?

Depends on  D20398

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

--HG--
rename : devtools/client/aboutdebugging-new/src/components/RuntimePage.css => devtools/client/aboutdebugging-new/src/components/RuntimeActions.css
rename : devtools/client/aboutdebugging-new/src/components/RuntimePage.js => devtools/client/aboutdebugging-new/src/components/RuntimeActions.js
extra : moz-landing-system : lando
2019-02-20 07:37:48 +00:00
Julian Descottes
4c996bad9f Bug 1525619 - Stop passing unused temporaryInstallError prop to TemporaryExtensionInstaller;r=daisuke
Small cleanup, this prop is no longer used by the component

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

--HG--
extra : moz-landing-system : lando
2019-02-20 07:37:21 +00:00
Daniel Varga
4587d14668 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-20 06:01:45 +02:00
Jason Laster
dc10e077be Bug 1528855 - fix eslint issue. r=noone CLOSED TREE 2019-02-19 14:57:09 -05:00
Jason Laster
e183b62aea Bug 1528855 - Update Debugger frontend (release 126). r=dwalsh 2019-02-19 14:24:06 -05:00
Jason Laster
1f67526a39 Bug 1528855 - [release 126] tweak source consolidation work. r=dwalsh 2019-02-19 14:24:03 -05:00
Brian Hackett
db7cd8f281 Bug 1528855 - [release 126] [Sources] Consolidate sources reducer (#7977). r=dwalsh 2019-02-19 14:24:01 -05:00
harshlele
b25e5d4306 Bug 1528855 - [release 126] Improve EventListener UI (#7937). r=dwalsh 2019-02-19 14:24:00 -05:00
David Walsh
f6c3269820 Bug 1528855 - [release 126] Fix 7947 - Show context menu when right-clicking directory (#7949). r=dwalsh 2019-02-19 14:23:58 -05:00
Jason Laster
b6b50e9ad8 Bug 1528855 - [release 126] [breakpoints Remove pause points and improve breakpoint positinos (#7922). r=dwalsh 2019-02-19 14:23:56 -05:00
Jason Laster
646f63b037 Bug 1528855 - [release 126] sync commits from mc (125). r=dwalsh 2019-02-19 14:23:54 -05:00
Jason Laster
9ef95d7378 Bug 1528855 - [release 126] [sync] Bug 1527122 - Update Debugger Frontend (Release 125). r=dwalsh. r=dwalsh 2019-02-19 14:23:52 -05:00
Jason Laster
c38251fd98 Bug 1528855 - [release 126] [sync] Bug 1518661 - Part 7: Update debugger server to use new getPossibleBreakpoints APIs. r=jlast. r=dwalsh 2019-02-19 14:23:51 -05:00
renovate[bot]
875fc8f94b Bug 1528855 - [release 126] Update dependency devtools-launchpad to ^0.0.149 (#7965). r=dwalsh 2019-02-19 14:23:49 -05:00
David Walsh
76af01c0ea Bug 1528855 - [release 126] Fix Bugzilla 1108132 - Provide code wrapping pref for debugger (#7959). r=dwalsh 2019-02-19 14:23:47 -05:00
Patrick Brosset
cbf1af98d0 Bug 1528855 - [release 126] Renaming our org name to firefox-devtools (#7961). r=dwalsh 2019-02-19 14:23:45 -05:00
Nicolas Chevobbe
0ebf0bf659 Bug 1528855 - [release 126] Fix Frames Group style. (#7960). r=dwalsh 2019-02-19 14:23:43 -05:00
Florens Verschelde
0bc5d729b8 Bug 1528855 - [release 126] Use different labels for start and end PaneToggleButtons (#7741) (#7935). r=dwalsh 2019-02-19 14:23:42 -05:00
Yura Zenevich
4cbcdcf61b Bug 1528855 - [release 126] Add better keyboard support for focusable elements inside ObjectInspector and Tree components (fixes #7874)(#7874). (#7875). r=dwalsh 2019-02-19 14:23:40 -05:00
derek-li
c2a1e9f290 Bug 1528855 - [release 126] Add black box option to context menu for source tree items and source header (#7812). r=dwalsh 2019-02-19 14:23:38 -05:00
renovate[bot]
64e543f6cd Bug 1528855 - [release 126] Update dependency devtools-launchpad to ^0.0.148 (#7943). r=dwalsh 2019-02-19 14:23:36 -05:00
Florens Verschelde
fa3ac149a5 Bug 1528855 - [release 126] Change editor line-height to 15px (#7929) (#7934). r=dwalsh 2019-02-19 14:23:34 -05:00
Florens Verschelde
75888cfa9f Bug 1528855 - [release 126] Use --theme-icon-* colors for all Debugger icons (#7743, #7936) (#7939). r=dwalsh 2019-02-19 14:23:33 -05:00
Jason Laster
e832e1d664 Bug 1528855 - [release 126] [sync] Bug 1524374 - Remove breakpoint actors, r=jlast.. r=dwalsh 2019-02-19 14:23:31 -05:00
Jason Laster
5e857fb4fa Bug 1528855 - [release 126] [sync] Bug 1526247 - Rename webconsole-output-wrapper; r=bgrins.. r=dwalsh 2019-02-19 14:23:29 -05:00
Jason Laster
610914c877 Bug 1528855 - [release 126] sync commits from release 125. r=dwalsh 2019-02-19 14:23:27 -05:00
Jason Laster
a19bea027a Bug 1528855 - [release 126] [sync] Bug 1527122 - Update Debugger Frontend (Release 125). r=dwalsh. r=dwalsh 2019-02-19 14:23:26 -05:00
Jason Laster
82a5c8f75c Bug 1528855 - [release 126] sync commits from release 125. r=dwalsh 2019-02-19 14:23:24 -05:00