Commit Graph
47 Commits
Author SHA1 Message Date
J. Ryan Stinnett c1db9fa094 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC
2017-09-26 18:39:16 -05:00
Sebastian Hengst df027e0355 Backed out changeset 6ae05de7437d (bug 1305777) 2017-09-29 10:43:48 +02:00
J. Ryan Stinnett 9a5225cae4 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC
2017-09-26 18:39:16 -05:00
Tom Tromey b53efcdbe0 Bug 1371849 - remove style editor's source-map pref; r=gl
This changes the style editor and inspector to use the same pref that
the other tools are using.  This pref is a bit of a misnomer for now,
because the inspector and style editor aren't actually using the
client-side service; but I think the name is not very important, and
unifying the prefs is worthwhile.

MozReview-Commit-ID: FlwCICnoaX4
2017-06-12 12:25:22 -06:00
Alexandre Poirot e4d4fa2cc6 Bug 1399449 - Convert devtools/client/responsivedesign/responsivedesign.jsm to a commonjs module. r=jryans
MozReview-Commit-ID: Jl6OGUWnbHN
2017-09-13 14:33:58 +02:00
Tom Tromey d18e870b5c Bug 1224558 - change style editor to notice stylesheet additions; r=gl
This changes the stylesheets actor to use the tab actor's "windows"
getter to get the list of new windows.  It also changes the actor to
emit events, and changes the style editor to add new editors based on
events.

MozReview-Commit-ID: 3TkQY6XHY1I
2017-08-15 12:46:55 -06:00
Tom Tromey 2c4ab81b95 Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Wes Kocher aa1caed330 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc
2017-08-10 18:23:14 -07:00
ZER0 c91b128704 Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 02:43:47 +02:00
Patrick Brosset 42507ffbda Bug 1377326 - Don't assume targets are tabs in style-editor media sidebar; r=ntim
MozReview-Commit-ID: KJczS4aEAUS
2017-07-03 17:38:02 +02:00
Tim Nguyen 528188e1be Bug 1371586 - Improve security of media query links. r=pbro 2017-06-27 19:38:40 -04:00
Ryan VanderMeulen 96ffc116a2 Backed out changeset f03377a15515 (bug 1371586) for ESLint failures. 2017-06-26 19:51:38 -04:00
Tim Nguyen a453ccb5d2 Bug 1371586 - Improve security of media query links. r=pbro 2017-06-26 19:23:49 -04: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
Matt R 720f35bc66 Bug 1355523 - Convert defer into new Promise in client/styleeditor; r=tromey
MozReview-Commit-ID: GRfkPZrW6Fn
2017-05-09 16:51:55 +01:00
Florian Queze 6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Florian Quèze b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +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 c5e4df9459 Bug 1316630 - move PrefObserver to devtools/shared/prefs.js; r=jdescottes
MozReview-Commit-ID: C4KxFxv2LVT
2016-11-14 15:46:19 -07:00
J. Ryan Stinnett f6d8d56e28 Bug 1296498 - Update style editor RDM usage for new RDM. r=ntim
This is done by making the RDM APIs used by the style editor and its test for
this feature the same across old and new RDM, so that the test will work with
either version.

MozReview-Commit-ID: CdM6qeZQqni
2016-09-28 13:49:30 -05:00
Greg Tatum d852cb3bc9 Bug 1289425 - Remove domUtils from source editor and autocomplete; r=tromey
MozReview-Commit-ID: HIhUkuKOsjg
2016-08-05 11:44:23 -05:00
Julian Descottes 2283f05cf3 Bug 1265887 - migrate devtools/ from PluralForm.jsm to plural-form.js;r=tromey
MozReview-Commit-ID: 7I7djgqcrnr
2016-08-27 18:42:33 +02:00
Tom Tromey 44ebe29d9c Bug 1290227 - add replacement module for DOM_VK_ constants; r=bgrins
MozReview-Commit-ID: INmMxfP8ZuL
2016-08-08 15:41:37 -06:00
Tom Tromey 33ff5b91eb Bug 1288147 - don't use ownerGlobal in devtools client code; r=bgrins
MozReview-Commit-ID: EgXSMILZrri
2016-07-26 09:34:25 -06:00
Julian Descottes b3959f8e84 Bug 1278823 - styleeditor: fix csscoverage report creation;r=jryans
The sheetToUrl function in csscoverage is only used to create ids for the
csscoverage map of knownRules. Instead of asking the UI to format stylesheet
URLs using the same logic as the server, StyleEditor.jsm now sends the
stylesheet actor to create the report. The csscoverage actor can then compute
the stylesheet URL on the server.

MozReview-Commit-ID: GDtWhbi2ScW
2016-06-28 11:18:39 +02:00
Tom Tromey 3b447f9621 Bug 1273941 - replace uses of promise.defer in devtools/client/styleeditor; r=jryans
MozReview-Commit-ID: EEniVnsuuDd
2016-06-09 09:06:21 -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
Nick Fitzgerald bb663a0b35 Bug 1277985 - Decouple the CSSUsageFront from the CSSUsageActor; r=ejpbruel 2016-06-06 10:24:34 -07: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
James Long ece81a7a77 Bug 1265775 - replace Cu.reportError with console.error in devtools client code r=tromey 2016-05-06 11:29:10 -04: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
Christoph Kerschbaumer 322ab61865 Bug 1257930 - Update NetUtil.asyncFetch() to use asyncOpen2(). r=sicking 2016-04-14 19:49:01 +02:00
Nicolas Chevobbe ec6b73cf42 Bug 1262919 - Fix style editor error when inline style tag has a sourcemap. r=pbro
MozReview-Commit-ID: 9iRKFKHkVYQ
2016-03-30 22:23:49 +02: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
Esteban Escandell 2c5b5a48af Bug 1242988 - Replac styleeditor's _ l10n function with getString. r=pbro 2016-03-22 02:55:00 -04:00
Tim Nguyen 4ceb15b14e Bug 1249967 - Make @media sidebar links resize the Responsive mode even if it wasn't launched. r=jryans, bgrins
MozReview-Commit-ID: D6158YxQKbu
2016-02-25 08:32:47 +01:00
Alexandre Poirot c278a0c6db Bug 1245462 - Replace usages of gDevTools.jsm by module imports. r=jryans 2016-02-11 04:29:47 -08:00
Tom Tromey 7f266698b4 Bug 1240183 - make styleeditor eslint-clean; r=pbro 2016-01-29 08:25:26 -07:00
Tim Nguyen 3493a62890 Bug 1029371 - Make style editor media sidebar interact with media sidebar. r=bgrins r=paul r=mgoodwin 2015-02-18 03:39:00 +01:00
J. Ryan Stinnett 75deba7cf2 Bug 1226661 - DevTools client JSM global tweak for B2G. r=ochameau 2015-11-23 18:10:11 -06:00
J. Ryan Stinnett 687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Alexandre Poirot f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00