Commit Graph
50 Commits
Author SHA1 Message Date
Mark Banner e47ccbfec3 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +01:00
Alexandre Poirot 7a9b575bdc Bug 1405584 - Add telemetry to track toolbox open time. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: EuaYQBx8rbE
2017-10-11 11:43:25 +02:00
Julian Descottes d3239a75b1 Bug 1399886 - remove unnecessary invertable CSS classes on devtools icons;r=gl
Using fill instead of filter we don't need to define each icon as
invertable or not. If the icon is a SVG and supports fill="context-fill"
then it will be inverted/highlighted etc... as expected.

If not then it won't be impacted by DevTools themes.

MozReview-Commit-ID: CLFprKMuCt9
2017-10-04 21:13:48 +02:00
Alexandre Poirot 941991bcc1 Bug 1397452 - Remove all SDK compatiblity code from DevTools. r=jdescottes
MozReview-Commit-ID: IRhZeIS97cy
2017-09-25 16:04:26 +02:00
Julian Descottes f493553983 Bug 1392531 - create dedicated tab target instance for web-extensions;r=jdescottes
MozReview-Commit-ID: G7EOfYnZuZw
2017-08-22 16:31:44 +02:00
Julian Descottes 4ba1ec480e Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i
2017-07-24 12:12:47 +02:00
Julian Descottes aaea6acb73 Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs
2017-07-12 11:04:28 +02:00
Ryan VanderMeulen f40c0d4a06 Backed out 4 changesets (bug 1374735) for test_ext_i18n.js failures on a CLOSED TREE.
Backed out changeset 50a36fb7c7f9 (bug 1374735)
Backed out changeset da075933f7bc (bug 1374735)
Backed out changeset b7435cd66ce3 (bug 1374735)
Backed out changeset 22baf4e67730 (bug 1374735)
2017-08-18 12:34:22 -04:00
Julian Descottes 307d4547f9 Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i
2017-07-24 12:12:47 +02:00
Julian Descottes 01c83703fb Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs
2017-07-12 11:04:28 +02:00
Wes Kocher 1865918a1a Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Brian Grinstead 1d229271b6 Bug 1388552 - Save Browser Console state in session store;r=mikedeboer,nchevobbe
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.

MozReview-Commit-ID: D4vOGkpq8xH
2017-08-11 09:16:59 -07: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
Alexandre Poirot d44493c928 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E
2017-07-13 15:33:38 +02:00
Carsten "Tomcat" Book 362f9cf026 Backed out changeset 354080a171dc (bug 1359855) 2017-07-24 12:07:18 +02:00
Alexandre Poirot b55685c1b5 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E
2017-07-13 15:33:38 +02:00
Julian Descottes 24139ca556 Bug 1372520 - use DevToolsShim to inspectNode in nContextMenu;r=bgrins,mixedpuppy
As devtools become optional, nsContextMenu needs to check if devtools are installed before
displaying the devtools-related menu entries.

Rather than loading devtools classing and calling APIs, use APIs provided by the DevToolsShim,
that will stay in mozilla-central.

MozReview-Commit-ID: CxqabTjhckC
2017-06-14 17:52:50 +02:00
Julian Descottes 7e0466ef4c Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI
2017-06-06 14:01:32 +02:00
Sebastian Hengst 3b75964ad7 Backed out changeset f972a227ac15 (bug 1367424) for failing test_chrome_ext_hybrid_addons.html on Android. r=backout 2017-06-12 18:25:24 +02:00
Julian Descottes 44251e878c Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI
2017-06-06 14:01:32 +02:00
Sebastian Hengst bc3498c6ce Backed out changeset 8ecdc6d29e1d (bug 1367424) for failing jetpack's test-dev-panel.js.test Panel API and more. r=backout 2017-06-06 13:03:41 +02:00
Julian Descottes 5673c4abd2 Bug 1367424 - add shims for addon sdk to DevToolsShim;r=ochameau
Some APIs and methods still used by the addon sdk are not worth exposing
or migrating to mozilla-central given that this is only intended for
release 56 (after that, legacy extensions will no longer be supported).

For those APIs, we create a simple wrapper in DevToolsShim and moved the
implementation to framework/devtools

MozReview-Commit-ID: 8LiiptqO0NI
2017-05-29 18:21:21 +02:00
Julian Descottes 1497714c48 Bug 1366823 - add Scratchpad manager APIs to DevToolsShim;r=ochameau
MozReview-Commit-ID: 5JsSu9Spkgn
2017-05-29 14:50:07 +02:00
Bob Silverberg 5e5cec2d2c Bug 1349896 - Part 1: Expose devtools theme via gDevTools, r=ochameau
Added gDevTools.getTheme() to provide the theme name, and a gDevTools "theme-changed"
event to provide a notification when the theme is changed.

MozReview-Commit-ID: EeUAmtyPpUy
2017-05-09 13:03:19 -04:00
Julian Descottes caac4302b1 Bug 1356244 - call DevTools shim on devtools startup;r=ochameau
MozReview-Commit-ID: 7p4gviVsGu8
2017-05-13 00:46:45 +02:00
Julian Descottes 65c211f6af Bug 1356244 - devtools-addon: create low-level DevTools shim for mozilla-central;r=ochameau
MozReview-Commit-ID: KdfomLHgdLY
2017-05-18 09:12:22 +02:00
Alexandre Poirot a6c25c7071 Bug 1360237 - Fix eslint issues for devtools/client/framework/devtools.js. r=pbro
MozReview-Commit-ID: 8mWiLTsH4Sb
2017-04-27 17:19:17 +02:00
Luca Greco 774a574973 Bug 1350782 - Fix undefined Cu error on unregistering tool using its definition object. r=ochameau
MozReview-Commit-ID: FWBwTcQKf0T
2017-03-27 03:37:06 +02:00
Florian Quèze c7eae86054 Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
Alexandre Poirot e6f067a98c Bug 1328004 - Fix race when closing the devtools while a previous instance is still loading. r=jryans
MozReview-Commit-ID: 2a58l4DjCtv
2017-01-05 10:26:44 -08:00
Alexandre Poirot a6a9855d2f Bug 1302996 - Stop loading various useless SDK modules on early devtools startup. r=jryans
MozReview-Commit-ID: 5Roi7rmmbes
2016-12-19 09:00:12 -08:00
Julian Descottes 3a4cf68bbf Bug 1321509 - use devtools-local-toolbox to load the inspector in content;r=bgrins,tromey
Add package.json to devtools/client/inspector
Integration with devtools-local-toolbox:
- provides development server
- default webpack config
- landing page to select a tab

In this patch:
- bin/dev-server-js contains the inspector specific routes
- webpack/*-sham.js : inspector dependencies that had to be mocked
  ideally, decoupling work should continue and the inspector client
  should only ever require files that require no chrome priviledged
  APIs.
- toolbox.js contains the interface with devtools-local-toolbox bootstrap
  and the inspector panel initialization
- configs/development.json is the inspector config for the devtools-local-toolbox

MozReview-Commit-ID: 7YQLUlgSyDX
2016-12-07 18:24:51 +01:00
Tom Tromey 8a93d4e955 Bug 1316630 - don't emit pref-changed event on gDevTools; r=jdescottes
MozReview-Commit-ID: CCqAf8dBFSY
2016-11-21 08:47:10 -07:00
Wes Kocher fadbb05cd6 Backed out 2 changesets (bug 1302996) for being the likely cause of browser chrome crashes a=backout
Backed out changeset 8a97f217ebe8 (bug 1302996)
Backed out changeset 45bcf45afca2 (bug 1302996)
2016-11-28 16:38:20 -08:00
Alexandre Poirot 0ba27b336c Bug 1302996 - Stop loading various useless SDK modules on early devtools startup. r=jryans
MozReview-Commit-ID: 5Roi7rmmbes
2016-08-29 08:23:32 -07:00
Alexandre Poirot 291ae36033 Bug 1319928 - Prevent gDevTools.showToolbox from racing when called multiple times in a row. r=jryans
MozReview-Commit-ID: ZQrecrTwb5
2016-11-24 10:03:12 -08:00
Luca Greco 772fc334f1 Bug 1308912 - Simplify tool-unregistered by only accepting a string toolId. r=ochameau
MozReview-Commit-ID: 3QjWIAwol6A
2016-10-14 17:54:56 +02:00
Alexandre Poirot 142db3bce0 Bug 1266134 - Pull host management out of toolbox.xul. r=jryans
MozReview-Commit-ID: 71GNAFuVFgl
2016-08-25 05:51:11 -07:00
Philipp Kewisch 8b42287804 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
Tom Tromey 474aade274 Bug 1273941 - replace uses of promise.defer in devtools/client/framework; r=jryans
MozReview-Commit-ID: GwgbcXOmvtK
2016-06-09 09:04:58 -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 27145f22af Bug 1247203 - Cleanup relations between main client module and devtools-browser. r=jryans 2016-04-01 05:48:59 -07:00
Alexandre Poirot 941fabc229 Bug 1233463 - Expose about:devtools-toolbox shortcut to load the toolbox. r=jryans 2016-03-16 06:42:19 -07:00
Alexandre Poirot b89203b7b1 Bug 1247203 - Register tools and themes in the sorted order. r=jryans 2016-03-04 07:51:12 -08:00
Alexandre Poirot 1506ae6119 Bug 1247203 - Move telemetry ping from gDevTools to gDevToolsBrowser. r=jryans 2016-03-04 07:51:12 -08:00
Alexandre Poirot f10206d1f9 Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).

--HG--
rename : devtools/client/framework/gDevTools.jsm => devtools/client/framework/devtools-browser.js
2016-02-10 02:34:59 -08:00
Brian Grinstead 12eda8cf9d Backed out changeset 16a675e05315 for breaking the browser toolbox on CLOSED TREE (bug 1188405) 2016-02-04 10:38:29 -08:00
Alexandre Poirot 32285942b1 Bug 1188405 - Convert gDevTools/gDevToolsBrowser into modules. r=jryans
gDevTools.jsm isn't properly reloadable as JSM as meant to be long-lived singletons.
Also, it contains browser related code (gDevToolsBrowser) mixed with more generic one (gDevTools).
This move is going to help hot reloading devtools codebase while improve readability of
one of our core piece of code (devtools startup and browser hooks).
2016-02-04 02:20:56 -08:00