Commit Graph
20 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 496d5f888a merge fx-team to mozilla-central a=merge 2016-07-25 15:49:05 +02:00
Tom Tromey 71d20298c5 Bug 1276341 - remove some misleading import comments; r=jryans
MozReview-Commit-ID: 4ARx91saUtF
2016-07-12 08:39:53 -06:00
Patrick Brosset e19007d87a Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7
2016-07-21 14:35:14 +02:00
Sebastin Santy 3e0753b8da Bug 1275546 - Use CSS lexer to parse angle values in css-angle.js . r=nchevobbe
MozReview-Commit-ID: DVqlbrruf2b
2016-07-08 06:29:00 +02: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
Tom Tromey 1543b8a054 Bug 1277534 - avoid output-parser failure with invalid URL; r=pbro
MozReview-Commit-ID: CK5n8sHgmwD
2016-06-06 08:56:47 -06:00
Nicolas Chevobbe a4164b00fb Bug 1248274 - Fix click on augmented value elements (swatch, url,…) on the RuleView when property's name is being edited. r=pbro
Do not update the value span if the property name has not been modified.
Add tests to ensure the bug is fixed.

MozReview-Commit-ID: 7AHnd4iFmYW
2016-04-29 13:29:49 +02:00
Tom Tromey c7b9386344 Bug 1265813 - Replace nsIIOService with URL in devtools. r=ochameau
MozReview-Commit-ID: GyoP6ApQXVc
2016-05-13 14:27:28 -06:00
Tom Tromey 8f1292bce5 Bug 1270994 - Fix ESLint errors in devtools/client/shared/*.js; r=jryans
MozReview-Commit-ID: 1od43gBnUq1
2016-05-19 08:35:45 -06:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Tom Tromey b70b514a8a Bug 1270203 - move css-angle.js to devtools/client/shared; r=nchevobbe
MozReview-Commit-ID: BN3lF5xT61Z
2016-05-05 12:21:17 -06:00
Tom Tromey f37edb762d Bug 1265787 - Add javascript CSS lexer to devtools. r=pbro
MozReview-Commit-ID: BgbACHTTMtX
2016-04-29 11:21:22 -06:00
Carsten "Tomcat" Book 87b8e5aaa3 Backed out changeset f54c4f5fd0ed (bug 1265787) 2016-05-04 12:27:37 +02:00
Tom Tromey d6b9403946 Bug 1265787 - add javascript CSS lexer to devtools; r=pbro
MozReview-Commit-ID: BgbACHTTMtX
2016-04-29 11:21:22 -06:00
Tom Tromey 78fad482bb Bug 1266842 - replace rgbToColorName, colorToRGBA, isValidCSSColor in devtools; r=pbro
MozReview-Commit-ID: G5Zly0HPJuv
2016-04-28 08:46:19 -06:00
Tom Tromey f2bf3cc37b Bug 1266842 - move css-color.js to devtools/client/shared; r=pbro
MozReview-Commit-ID: 9zS1Y4Ape2u
2016-04-28 08:41:40 -06:00
Nicolas Chevobbe add0813306 Bug 1259559 - Units cycling with shift+click persists value in Style editor. r=miker
Add an 'unit-change' event fired when shift+click on color and angle swatches.
Add a listener on this event in text-property-editor.js to call the same function
that's called when tooltip edit is commited to persist the new unit.
Edit some tests to adapt to this new behaviour and create some tests to make sure
the value obtained via shift+click are actually persisted.

MozReview-Commit-ID: CcF4oiBPEzT
2016-03-28 21:01:32 +02:00
Nicolas Chevobbe b4e805d826 Bug 1250835 - Display swatch for angles in the rules panel. r=miker
Add a swatch before angle values in the rules panel and allow cycling
through angle units with shift+click (like we already do for color units).

MozReview-Commit-ID: CWhoUQTkP1G
2016-03-08 23:04:54 +01: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
Tom Tromey f970f73f2c Bug 1223035 - move output-parser.js to devtools/client/shared. r=jryans 2015-11-11 08:58:00 +01:00