15 Commits

Author SHA1 Message Date
Alexandre Poirot
ae019f78bc Bug 1440320 - Convert Task.jsm to async/await in devtools/shared. r=jryans
MozReview-Commit-ID: IK8BzlYuOWm

--HG--
extra : rebase_source : f2ac7eee538490a3db18e7290f144037592b3f89
2018-02-22 00:49:06 -08:00
Tom Tromey
42097bd9cb Bug 1384463 - only trim CSS-allowed whitespace in declaration parser; r=gl
MozReview-Commit-ID: 7bnu2a9G1uq

--HG--
extra : rebase_source : 32fc701fe10f44e36c88aa73d4b234b94f9990f1
2017-10-19 11:04:30 -06:00
Alexandre Poirot
4a603969ef Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey
MozReview-Commit-ID: LGgVb5kxN7X

--HG--
extra : rebase_source : e4acc31da93eb8d88f5dbc075036d1130511ceee
2017-09-06 18:54:07 +02:00
Tom Tromey
e4a467e282 Bug 1355233 - quote unmatched open paren in function tokens correctly; r=gl
When rewriting in the rule view, the rewriter quotes unmatched open
parens to avoid some edits affecting the rest of the style sheet.  This
was bug 1321970.  However, that change didn't correctly handle the case
of a function token, where the paren in question appears at the end, not
the start, of the token.

MozReview-Commit-ID: GjA40M2KsvX

--HG--
extra : rebase_source : 0dec92ca958d20f02da5c7c4163ad971b2529920
2017-04-17 08:00:58 -06:00
Tom Tromey
57e5c3f0e1 Bug 1321970 - escape unmatched parens in property rewriter; r=gl
MozReview-Commit-ID: 2rs07e8O0ab

--HG--
extra : rebase_source : 78c24247bfed6450cb2ce487280da57039c20bc0
2017-03-16 07:46:53 +01:00
Sebastian Hengst
cb76f56d60 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
d7ea1c1605 Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Tom Tromey
d0a35ae517 Bug 1328016 - add parseNamedDeclarations and use in rule view; r=pbro
MozReview-Commit-ID: 25LvVRvbpIm

--HG--
extra : rebase_source : bc1d33cf183212863b5b9a1a138d8671aad995b3
2017-01-03 13:14:08 -07:00
JerryShih
0abcdb0c25 Bug 1302787 - implement css-color-4 color function changes in devtool parser. r=ttromey
MozReview-Commit-ID: JQQJcDsXFlp
2016-10-17 02:12:05 -04:00
Iris Hsiao
a391785045 Backed out changeset 02c03ca774ee (bug 1302787) 2016-10-17 12:05:36 +08:00
JerryShih
1b5c30172c Bug 1302787 - Implement css-color-4 color function changes in devtool parser. r=tromey
MozReview-Commit-ID: LrGcHDPUpez

--HG--
extra : rebase_source : 6b66b0c2221a7bb5ae6633b7560c3e2454aafd40
extra : histedit_source : 1307fc6f19eae441be8a5c1dd812609946170612
2016-10-16 03:15:37 +08:00
Tom Tromey
50f3b3fa7f Bug 1301692 - remove comment when deleting disabled property; r=pbro
MozReview-Commit-ID: I52zX7js9Ua

--HG--
extra : rebase_source : f9ee5a17184bdf653e2d0daf13144fb054750e81
2016-09-21 11:23:01 -06:00
Greg Tatum
1e5a5a50e2 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

--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : 51d8d92db0ae91a7368b109aae9a509ba8012b3f
extra : histedit_source : ee3409615461cba0c656b32fee7f80d4b72a09d1
2016-09-14 10:00:27 -05:00
Sebastian Hengst
d11146270a Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout
--HG--
rename : devtools/shared/css/color-db.js => devtools/shared/css-color-db.js
rename : devtools/shared/css/lexer.js => devtools/shared/css-lexer.js
rename : devtools/shared/css/properties-db.js => devtools/shared/css-properties-db.js
2016-09-13 17:43:44 +02:00
Greg Tatum
da1990f19b 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

--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : b73bbe7fcf8177a25b41ecdd6d6c760ed1472fb7
2016-08-29 11:02:34 -05:00