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
Sebastian Zartner
a96e0107fb
Bug 1360868 - Properly formatted data URLs in source links. r=gl
...
MozReview-Commit-ID: 7loVwUynHhw
2017-07-29 11:31:13 +02:00
Paolo Amadini
7afba17088
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +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
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
Tom Tromey
cb2eb009ef
Bug 1308577 - remove last require("chrome") from inspector; r=gregtatum
...
MozReview-Commit-ID: 7Nlz1jvTSxX
2016-10-07 12:10:21 -06:00
Greg Tatum
3e6ab7973a
Bug 1291866 - Replace inIDOMUtils.cssPropertyIsValid; r=tromey
...
MozReview-Commit-ID: JqO4UiPHAPE
2016-09-16 08:46:51 -05:00
Tom Tromey
b240dae249
Bug 1265796 - add CSS subproperty info to CssProperties; r=gregtatum
...
MozReview-Commit-ID: JIDTwgnxAJE
2016-09-19 12:36:56 -06: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
Sebastian Hengst
93c9c62451
Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout
2016-09-13 17:43:44 +02:00
Greg Tatum
36e0a1b1fa
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-08-29 11:02:34 -05:00
Tom Tromey
656c47ee51
Bug 1301078 - correctly disable pasted commented-out properties; r=pbro
...
MozReview-Commit-ID: 97ueaqvYVVN
2016-09-07 11:08:12 -06:00
Julian Descottes
19dd82492c
Bug 1295608 - Migrate devtools/client/inspector to use l10n.js instead of Services.string;r=pbro
...
MozReview-Commit-ID: KD0AmgDTpbX
2016-08-25 17:18:30 +02:00
Sebastian Hengst
e511035cb5
Backed out changeset 8ad552de5fa6 (bug 1295608) for not finding devtools/client/shared/l10n in mochitest-chrome. r=backout
2016-08-25 14:21:04 +02:00
Julian Descottes
e6f9a3715d
Bug 1295608 - Migrate devtools/client/inspector to use l10n.js instead of Services.string;r=pbro
...
MozReview-Commit-ID: AmAkgdqoRr5
2016-08-25 10:35:04 +02:00
Tom Tromey
6589041a89
Bug 1278473 - use Services.focus, not nsIFocusManager, in devtools; r=gregtatum
...
MozReview-Commit-ID: Ep3G0S62clm
2016-07-25 12:24:36 -06:00
Tom Tromey
b0d4eda4a7
Bug 1264649 - enable reject-some-requires rule for inspector; r=pbro
...
MozReview-Commit-ID: AX58XXecRcL
2016-07-21 09:04:47 -06:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Tom Tromey
3ae78bc3e0
Bug 1265802 - Add Services.appinfo.OS shim for devtools; r=jryans
...
MozReview-Commit-ID: L41zmBEyqPH
2016-07-14 12:48:47 -06:00
Greg Tatum
17dea2ba8d
Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro
2016-07-12 06:45:00 +02:00
Tom Tromey
a1c55e31b0
Bug 1225254 - split css-logic.js into server and shared files; r=pbro
...
MozReview-Commit-ID: BTFVQJcVI5d
2016-06-24 08:26:21 -06:00
Tom Tromey
53788ed9ed
Bug 1280371 - Move ELEMENT_STYLE to devtools/shared/specs/styles. r=bgrins
...
MozReview-Commit-ID: AjZLiQAivg9
2016-06-16 11:27:10 +01:00
Patrick Brosset
22dfd32737
Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
...
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.
MozReview-Commit-ID: J1o8JGODMiC
2016-06-15 08:58:36 +01:00
J. Ryan Stinnett
169c44d5f6
Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
...
A few miscellaneous linting issues also addressed near the lines involved.
MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Greg Tatum
4aebc40c28
Bug 1265790 - replace inIDOMUtils.isInheritedProperty r=pbro
...
MozReview-Commit-ID: 1c6OLfYMW0p
2016-06-02 13:07:00 +02:00
Patrick Brosset
b7d7e335bc
Bug 1273624 - Really check for existence of parsed declarations in StyleRuleActor's form for compatibility; r=jryans
...
MozReview-Commit-ID: 3EBW8nTzWiH
2016-06-02 18:02:11 +02:00
Nicolas Chevobbe
691dd41d9a
Bug 1253869 - Don't assume that rule in the Rules view match the selected node when checking for overidden properties. r=gl
...
Unmatched rules created via the "Add New Rule" button was wrongfully make other rules look not applied.
Fix returned isMatching boolean in PageStyleActor's function when the evaluated rule has multiple selectors.
Add CSS rules to make look unmatched rules' properties unmatched, like the rule's selector.
Add tests to make sur we handle unmatch rule selectors right.
MozReview-Commit-ID: FPQ7XJoa7Ba
2016-05-25 18:16:26 +02:00
Greg Tatum
a8e55a89a4
Bug 1265798 - Implement CSS database to query css properties r=pbro
...
MozReview-Commit-ID: CAUh2GyeA2o
2016-05-26 08:48:00 -07:00
Patrick Brosset
8c1b03880b
Bug 1270186 - Move css-parsing-utils.js from devtools/client to devtools/shared; r=tromey
...
MozReview-Commit-ID: 75Yq1X4YjjJ
2016-05-23 14:03:12 +02:00
Nicolas Chevobbe
deedc3ec29
Bug 1270215 - Ensure we display properly cased node names all across the devtools. r=jdescottes
...
Add a displayName property on the NodeActor, which compute from Element.prefix + Element.localName.
The computation is made by a getNodeDisplayName function which can be imported wherever needed.
Edit some tests to ensure we correctly display node names.
MozReview-Commit-ID: 6z0G3ynbMoU
2016-05-12 07:18:58 +02:00
Patrick Brosset
7a1b8f182c
Bug 1069829 - 2 - Don't use cssPropertyIsValid in the rule-view UI, get the info from the server instead; r=tromey
...
- StyleRuleActors now parse declarations and send them within the form
- Each declaration also contains isValid flag
- Parsing is still done client side for old backends (back compat)
- Declarations are sent with the form, so updated every time the rule changes
- Also made StyleRuleActors send the declarations array for element styles, and made canSetRuleText true for this, since we can simply set the style attribute
MozReview-Commit-ID: 2nI4bRyvwwi
2016-04-29 09:30:02 +02:00
J. Ryan Stinnett
8aa03a5d4d
Bug 1263258 - Require space before paren for anonymous functions. r=pbro
...
MozReview-Commit-ID: 2F0j45Vxn2I
2016-04-27 09:06:15 -05:00
Tom Tromey
05b9d89914
Bug 1235603 - Handle invalid authored CSS in rule view. r=pbro
...
MozReview-Commit-ID: 5j8dqND8DeR
2016-04-13 08:20:30 -06:00
Dave Townsend
4ac1a46d5e
Bug 1257246: Update devtools for eslint 2. r=pbro
...
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.
MozReview-Commit-ID: 9xg2Gmlaz94
2016-04-05 11:31:19 -07:00
Andrew Liu
22cc60d37a
Bug 1224492 - Modify devtools client inspector to disable commented properties when they are pasted into the rule editor. r=tromey
2016-03-10 05:29:00 -05:00
Alexandre Poirot
bb787b541e
Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans
2016-02-27 04:51:10 -08:00
Gabriel Luong
5b03e4d100
Bug 1240670 - Hide the filter property search for an unmatched rule r=pbro
2016-01-20 15:48:43 -05:00
Gabriel Luong
8290f369a2
Bug 1235172 - Part 4: Extract RuleEditor and TextPropertyEditor to a view module r=pbro
2016-01-18 12:06:08 -05:00
Gabriel Luong
c63ff3b56b
Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro
2016-01-12 09:52:12 -08:00
Wes Kocher
9329572311
Backed out changeset 29f184e43309 (bug 1237441) for eventual build bustage
2016-01-12 09:20:43 -08:00
Gabriel Luong
b5d2cb9306
Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro
2016-01-12 08:55:46 -08:00
Gabriel Luong
98b493b9ac
Bug 1235172 - Part 3: Extract ElementStyle to a separate module r=pbro
2016-01-12 08:55:16 -08:00
Gabriel Luong
7b11e442cb
Bug 1235172 - Part 2: Extract Rule to a separate module r=pbro
2016-01-06 22:26:54 -08:00
Gabriel Luong
4ba3efecec
Bug 1235172 - Part 1: Extract TextProperty to a separate module r=pbro
2016-01-06 22:26:52 -08:00