Commit Graph
67 Commits
Author SHA1 Message Date
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
Luca Greco 29818edd78 Bug 1211665 - Filter add-ons console messages based on addonId. r=ochameau
MozReview-Commit-ID: 2yEWhX6shkx
2016-03-29 17:40:39 +02:00
Alexandre Poirot 823d7fec9a Bug 1263629 - Use promise module invisible to the debugger for the browser toolbox server. r=jryans 2016-04-14 14:32:21 -07:00
Chris Peterson 7cebfeb3e1 Bug 1103588 - Part 2: Replace deprecated String#contains with String#includes in devtools tests. r=jryans 2016-04-09 16:04:36 -07:00
Nick Fitzgerald 99df2890c3 Bug 1260938 - Add the ThreadSafeDevToolsUtils.isSet utility; r=jimb a=kwierso
MozReview-Commit-ID: IqY3Abv3OX
2016-03-31 16:19:47 -07:00
Nick Fitzgerald 91f40f81b5 Bug 1260589 - Add the ThreadSafeDevToolsUtils.flatten utility; r=jimb a=kwierso
The `flatten` function takes an array of arrays and flattens them to a single
array, removing one level of nesting. It does not recursively flatten multiple
levels of nesting.

MozReview-Commit-ID: ErDMHbT2IX
2016-03-31 16:18:44 -07: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 c260276972 Bug 1250430 - Remove SrcDir loader support from devtools. r=jryans 2016-02-27 04:51:11 -08: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 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
J. Ryan Stinnett a06f3b6e80 Bug 1234600 - executeSoon async stacks only when DEBUG_JS_MODULES enabled. r=fitzgen 2016-01-07 18:37:12 -06:00
J. Ryan Stinnett eebff0f582 Bug 1233887 - Convert to Promise.jsm in EventEmitter. r=ejpbruel 2016-01-06 10:41:32 -06:00
J. Ryan Stinnett ae2db88834 Bug 1151413 - Set async caller in DevToolsUtils.executeSoon r=ejpbruel 2015-12-18 14:53:25 -06:00
Patrick Brosset a55c60aca1 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -05:00
Tom Tromey c865973b62 Bug 1225192 - remove leading whitespace before prettifying css; r=pbrosset 2015-12-02 08:27:26 -07:00