Tom Tromey
b53efcdbe0
Bug 1371849 - remove style editor's source-map pref; r=gl
...
This changes the style editor and inspector to use the same pref that
the other tools are using. This pref is a bit of a misnomer for now,
because the inspector and style editor aren't actually using the
client-side service; but I think the name is not very important, and
unifying the prefs is worthwhile.
MozReview-Commit-ID: FlwCICnoaX4
2017-06-12 12:25:22 -06:00
Gabriel Luong
7049d2ea9a
Bug 1398880 - Implement the new photon font and syntax colors for the inspector and debugger. r=pbro
2017-09-12 14:43:04 -04:00
Sebastian Hengst
ee47b6ea7c
merge mozilla-central to autoland. r=merge a=merge
2017-08-31 14:37:58 +02:00
Tom Tromey
2c4ab81b95
Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
...
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00
Rahul Chaudhary
c002d50add
Bug 1145527 - Display the inherited and used CSS Variable in the rule view. r=tromey
...
Displays which CSS variable is used in the rule view.
Displays the actual variable value on the variable name's title property.
Displays all the inherited CSS variables on the selected element in the rule view.
MozReview-Commit-ID: 52uLJA123AP
2017-07-02 22:39:45 +02:00
Gabriel Luong
0df60cadd3
Bug 1390758 - Add missing top border for "This Element" section header in the rules view. r=bgrins
2017-08-16 10:32:39 -07:00
Carsten "Tomcat" Book
b087432a96
merge mozilla-inbound to mozilla-central a=merge
2017-08-16 11:23:24 +02:00
Gabriel Luong
e20475ce03
Bug 1390298 - Change the fonts used in the Inspector. r=bgrins
2017-08-15 19:21:49 -07:00
Brian Grinstead
a9da9e8376
Bug 1388104 - Remove inspector-specific context menu handling for HTML inputs;r=gl
...
These are now handled by the toolbox listener introduced in the previous patch
MozReview-Commit-ID: J93BUEw4Pyq
2017-08-15 15:39:45 -07:00
ZER0
d78f1c54ef
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher
aa1caed330
Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
...
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0
c91b128704
Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
...
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Mike Park
514b99db5e
Bug 1282717 - Highlight CSS shapes points in the page from the rule-view and vice versa. r=pbro
...
MozReview-Commit-ID: 9pXkbAwgcXO
2017-07-05 10:57:42 -04:00
Mike Park
e44016fb2d
Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl
...
Requires pref "devtools.inspector.shapesHighlighter.enabled" to be true.
MozReview-Commit-ID: Ispw7ulV5o6
2017-06-20 11:23:32 -04:00
Patrick Brosset
68112a7c1d
Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
...
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.
Globally, this makes performance of the grid panel far better on pages that
cause many reflows.
Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.
MozReview-Commit-ID: GeqgZR0o0E6
2017-06-27 12:02:53 -07:00
Sebastian Hengst
ca73b5de99
Backed out changeset 909ccc166a06 (bug 1374587) on suspicion of causing timeouts in browser_grids_number-of-css-grids-telemetry.js. r=backout
2017-06-23 18:55:38 +02:00
Patrick Brosset
ae148cbd69
Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
...
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.
Globally, this makes performance of the grid panel far better on pages that
cause many reflows.
Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.
MozReview-Commit-ID: GeqgZR0o0E6
2017-06-20 14:57:34 +02:00
Florian Queze
6cc0b6e992
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Alexandre Poirot
eb708d4d60
Bug 1320939 - Lazy load all tooltip widgets until each is really used. r=jdescottes
...
MozReview-Commit-ID: 9P93GocdLm8
2017-01-31 15:31:37 +01:00
Rahul Chaudhary
67ebe412d6
Bug 1332090 - Added a contrast ratio component to the Color Widget. r=pbro
...
MozReview-Commit-ID: 9FA0h9ST62E
2017-02-20 22:27:22 -05:00
Sheldon Roddick
693509bd9e
Bug 1307481 - Part 4: Implements the Inline Tooltip widget. r=jdescottes
2017-03-04 01:59:35 -08:00
Michael Brennan
e3be3e36a0
Bug 1326626 - Open rule link in new tab also when devtools is in separate window. r=jdescottes
2017-03-10 22:53:33 +01:00
Patrick Brosset
e39b3d1fa5
Bug 1213767 - Rule-view class toggle panel. r=jdescottes
...
MozReview-Commit-ID: 2roKEm6Jr26
2017-03-03 14:09:23 +01:00
Rahul Chaudhary
3ba2772f44
Bug 1321791 - [Rule View] Add indicator if parts of compound (shorthand) CSS rule are overridden; r=gl
...
MozReview-Commit-ID: 2ANP3pD7uuU
2017-02-13 09:04:07 -05:00
Mats Palmgren
052429cf38
Bug 1337607 - Provide grid highlighter button also for display:inline-grid elements. r=gl
2017-02-12 01:44:06 +01:00
Sébastien Blin
999c7d96b1
Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro
2017-02-03 08:08:00 -05:00
Sebastian Hengst
2c9e48f9cd
Backed out changeset bb3edf240bb0 (bug 1327675) for eslint failures. r=backout
2017-02-02 00:01:39 +01:00
Sébastien Blin
1d3f38632c
Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro
2017-02-01 06:13:00 -05:00
Wes Kocher
ca6a7351bf
Backed out changeset 85d33b74434a (bug 1327675) for asan dt10 failures in browser_rules_content_02.js a=backout
...
MozReview-Commit-ID: GxWdtGX5Lor
2017-01-31 10:24:33 -08:00
Sébastien Blin
2e45df1d1d
Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro
...
MozReview-Commit-ID: KydZ3vNM6Z6
2017-01-27 07:32:00 +01:00
Florian Quèze
c32c931bc9
Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws.
2017-01-30 08:10:22 +01:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Sebastian Hengst
c6d9ef3e98
Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout
2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef
Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
...
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Tom Tromey
17e25d65e8
Bug 1328016 - add parseNamedDeclarations and use in rule view; r=pbro
...
MozReview-Commit-ID: 25LvVRvbpIm
2017-01-03 13:14:08 -07:00
Gabriel Luong
a61285b0f2
Bug 1322028 - Avoid destructuring requires where possible in the inspector. r=jdescottes
2016-12-17 12:44:56 +09:00
Tom Tromey
c5e4df9459
Bug 1316630 - move PrefObserver to devtools/shared/prefs.js; r=jdescottes
...
MozReview-Commit-ID: C4KxFxv2LVT
2016-11-14 15:46:19 -07:00
Gabriel Luong
da70f5344d
Bug 1308260 - Part 6: Toggling the grid highlighter should emit the node that the grid highlighter was shown or hidden for and update the grid's highlighted state. r=pbro
2016-11-29 19:32:59 +08:00
Gabriel Luong
5a1955f47a
Bug 1318019 - Add missing () to call isDisplayGrid function when a property value editor closes. r=me
2016-11-17 13:15:18 +09:00
Gabriel Luong
71ed99ef7e
Bug 1302536 - Adds a toggleable button next to the 'display: grid' declaration to toggle the grid highlighter r=pbro
2016-11-16 22:35:20 +09:00
Tom Tromey
1976c3df85
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher
20d9f9713d
Backed out 2 changesets (bug 1312041) for mass failures a=backout
...
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey
d1b2d82846
Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
...
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Julian Descottes
4d335c6382
Bug 1310310 - ruleview stylesheet link using span instead of label;r=jsnajdr
...
MozReview-Commit-ID: Fl6vKp2GbKV
2016-10-16 10:55:24 +02:00
Julian Descottes
75eb9fbe57
Bug 1301342 - hide filter icon when editing property in ruleview;r=gl
...
MozReview-Commit-ID: HYHGBk0J9y7
2016-10-14 17:54:05 +02:00
Tom Tromey
717112f611
Bug 1293616 - insert new rule in correct position in rule list; r=pbro
...
MozReview-Commit-ID: C4ib7ooI8BX
2016-09-02 10:42:00 -06:00
Alexandre Poirot
ffec1eac33
Bug 1297758 - Fetch target and fronts from inspector getter rather than toolbox. r=bgrins
...
MozReview-Commit-ID: HchlqORtfH5
2016-09-29 10:02:28 -07:00
Patrick Brosset
ee4a9fbf43
Bug 733880 - Add the missing copy/paste/cut menus on all text boxes in inspector; r=jdescottes
...
This change makes use of the toolbox's textBox menu in all of the
inspector's text fields.
Previously, right-clicking in a text field in the inspector would give
various results: either the tool's context menu would open, or nothing
would happen, or the usual copy/paste/cut menu would open.
Now, right-clicking in any text field in the inspector always shows the
copy/paste/cut menu.
MozReview-Commit-ID: DwkhBqY7Qzj
2016-09-23 19:21:09 +02:00
Sébastien Blin
df276d2326
Bug 1297383 - Highlight current node via,the selector highlighter for rule 'element {}'. r=pbro
2016-09-28 06:25:00 -04:00
Greg Tatum
0fc28c2ff3
Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
...
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.
MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00