Commit Graph
83 Commits
Author SHA1 Message Date
Phil Ringnalda dcadbc448a Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD
2016-11-05 13:36:25 -07:00
Boris Zbarsky c19f725ca8 Bug 1315368. Back out changeset bf190e326bfd (bug 790997) because what it implements doesn't actually follow the CSS syntax editor's draft and breaks some sites in the process. r=dbaron 2016-11-05 00:23:16 -04:00
Sebastian Hengst 2fecbac0d0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
MozReview-Commit-ID: DZit0XSS1yk
2016-11-05 11:29:14 +01: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
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Greg Tatum 84dd3ed162 Bug 1309040 - Update mach devtools-css-db to be more accurate in generating the db; r=tromey
This patch removes the preferences from the css properties db as they
are not needed anymore. It also makes the generation process more
robust when the properties-db.js has been deleted. Finally the comments
have been updated to reflect the recent change in approach to the
devtools-css-db.

MozReview-Commit-ID: H31QGYTjy34
2016-10-11 10:16:27 -05:00
Greg Tatum eddf4bdcf5 Bug 1308648 - Fix reference to ./mach devtools-css-db in test_css-properties.js; r=tromey
MozReview-Commit-ID: 7zk80TVehlV
2016-10-10 09:11:53 -05:00
Greg Tatum f3584d844f Bug 1307009 - Restrict the CSS properties db test to only nightly; r=tromey
The CSS properties DB breaks on uplift, and the only way to extract the
information is through a full build. Since the DB is used only as a
back-up if the CssPropertiesActor does not provide full information,
it's ok to include experimental properties even in release.

MozReview-Commit-ID: 7aDIsyZjf6h
2016-10-04 14:58:28 -05:00
Sebastian Hengst 1dbdf4b445 Backed out changeset 4009150bc53b (bug 1307009) for devtools failing in browser_styleeditor_autocomplete.js. r=backout on a CLOSED TREE 2016-10-05 17:11:05 +02:00
Greg Tatum 01e9bad889 Bug 1303810 - Fix undeclared variable issue in test_css-properties-db.js; r=tromey
This is the same fix that was applied to aurora, because it broke the
uplift, but this patch applies to to central.

MozReview-Commit-ID: ACXNRpYIX49
2016-09-27 09:04:14 -05:00
Greg Tatum 293dfce429 Bug 1307009 - Restrict the CSS properties db test to only nightly; r=tromey
The CSS properties DB breaks on uplift, and the only way to extract the
information is through a full build. Since the DB is used only as a
back-up if the CssPropertiesActor does not provide full information,
it's ok to include experimental properties even in release.

MozReview-Commit-ID: 7aDIsyZjf6h
2016-10-04 14:58:28 -05:00
Tom Tromey f6aabee50a Bug 1301854 - detect BOM when determining resource encoding; r=pbro
MozReview-Commit-ID: 6akivZSRwVN
2016-09-16 13:02:33 -06:00
Greg Tatum d5558cb315 Bug 1290988 - Take into account prefs for the CSS properties database. r=tromey
This test was causing uplifts to fail because certain CSS properties
were disabled via preferences, and the devtools client and platform were
out of sync with what properties were supported. This test now uses the
preference information to allow in-development features to not break
this test.

MozReview-Commit-ID: 767xRFMHyw9
2016-09-14 10:00:27 -05: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
Sebastian Hengst 2eae176128 Backed out changeset 307a8048995a (bug 1290988) 2016-09-13 17:42:25 +02:00
Greg Tatum 7858518680 Bug 1290988 - Take into account prefs for the CSS properties database; r=tromey
This test was causing uplifts to fail because certain CSS properties
were disabled via preferences, and the devtools client and platform were
out of sync with what properties were supported. This test now uses the
preference information to allow in-development features to not break
this test.

MozReview-Commit-ID: 767xRFMHyw9
2016-08-29 11:37:14 -05: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
Julian Descottes 170815be25 Bug 1299070 - Merge all startup strings in startup.properties;r=bgrins
MozReview-Commit-ID: 99zWNTHid21
2016-09-02 17:45:22 +02:00
Julian Descottes 05cfa367ef Bug 1294186 - Create localization helper for markup using data-localization attributes;r=bgrins
Create a helper designed to localize markup containing specific localization atttributes
(see the jsdoc in l10n.js)

MozReview-Commit-ID: 4ThyI1DaLQS
2016-08-30 21:40:28 +02:00
Julian Descottes 2ffcf17cff Bug 1265887 - port PluralForm.jsm to plural-form.js without chrome APIs;r=tromey
MozReview-Commit-ID: GpGFgtdnzek
2016-08-29 12:17:42 +02:00
Julian Descottes dfdeb92a2a Bug 1294220 - part4: Add chrome:// protocol when loading raw properties files;r=tromey
MozReview-Commit-ID: HJfFoqNso2J
2016-08-20 20:31:53 +02:00
Wes Kocher 29771f4f17 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Brian Grinstead 4e42260d3e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H
2016-08-05 10:44:38 -07:00
Tom Tromey d88bf1970a Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
MozReview-Commit-ID: 1H6ogaMrZPV
2016-07-28 12:11:42 -06:00
Tom Tromey 901e97b35a Bug 1276341 - don't use Cu.import for event-emitter.js; r=jryans
MozReview-Commit-ID: BDvrMP8fRim
2016-07-18 13:58:20 -06:00
Greg Tatum 30ad9244d0 Bug 1286232 - Add scripts and tests to automate the css-properties-db. r=pbro 2016-07-21 06:54:00 -04:00
Greg Tatum 17dea2ba8d Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
Boris Zbarsky 54e2099111 Bug 790997. Align our tokenization of CSS bad-url-token with the CSS Syntax Level 3 CR. r=heycam,tromey
The main change is that once we discover we have a bad-url-token we consume
everything up to, but not including, the next ')' character.  While we do this
we can cross line boundaries and don't bother about matching braces or quotes.
We just keep going until we find the ')' or hit EOF.
2016-07-13 22:54:20 -04:00
Matthew Wein c10f375c8c Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm. r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6
2016-07-07 16:17:43 -07:00
Carsten "Tomcat" Book 049cd833a9 Backed out changeset b798e05334be (bug 1275330) for causing crashes and dt test failures 2016-07-12 14:40:29 +02:00
Matthew Wein f4db0de988 Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6
2016-07-07 16:17:43 -07:00
Carsten "Tomcat" Book 5d01de1650 Backed out changeset 31765c4f5ea4 (bug 1275330) for ESlint failures 2016-07-11 11:42:01 +02:00
Matthew Wein f494a6672d Bug 1275330 - Fix console.log error in event-emitter.js by importing Console.jsm. r=jryans
MozReview-Commit-ID: 1CyZHRhQQs6
2016-07-07 16:17:43 -07: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 c8e6faf303 Bug 1273941 - replace uses of promise.defer in devtools/shared; r=jryans
MozReview-Commit-ID: 2n3uJ5QKsKL
2016-06-09 09:03:47 -06: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
Tom Tromey d92158ead0 Bug 1277243 - rename promise_defer.js to defer.js; r=jryans
MozReview-Commit-ID: 9TSQ0Cw82B
2016-05-27 13:08:48 -06:00
Jason Laster 64478d28ec Bug 1265885 - Add devtools module to replace promise.defer. r=jryans
MozReview-Commit-ID: 1Paf8cfkh5Q
2016-05-25 12:40:00 -04:00
Tom Tromey 86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -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
Alexandre Poirot df2c4a3536 Bug 1264625 - Ensure using only invisible modules when opening the browser toolbox. r=jryans 2016-05-12 03:07:56 -07: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 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