Commit Graph

23 Commits

Author SHA1 Message Date
Jordan Santell
1d63ae7ec1 Bug 987890 - Hide unused tools when using addon debugger. r=jryans 2014-03-27 12:32:00 +01:00
Brandon Benvie
e5e2242f22 Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell 2014-03-17 11:11:00 -07:00
Bill McCloskey
c20cde9d05 Bug 937172 - Change DebuggerProgressListener to use correct WebProgressListener (r=ochameau,past) 2014-03-10 09:34:41 -07:00
J. Ryan Stinnett
ca83343b85 Bug 976679 - Move event-emitter to toolkit. r=paul
--HG--
rename : browser/devtools/shared/event-emitter.js => toolkit/devtools/event-emitter.js
rename : browser/devtools/shared/test/browser_eventemitter_basic.js => toolkit/devtools/tests/mochitest/test_eventemitter_basic.html
2014-02-25 22:22:05 -06:00
J. Ryan Stinnett
5f679b54b3 Bug 975064 - Close target when client is closed. r=past 2014-02-25 23:29:09 -06:00
Panos Astithas
97a45e85f9 Make the debugger frontend cope with an already connected target (bug 933212); r=jryans,fitzgen
* Made the DebuggerClient, which is actually the RootActor front, not consider one of the attached child fronts as "active". Since a single DebuggerClient (or RootFront) is kept around for the App Manager's lifetime, it makes sense to move the notion of "active" tab to the toolbox's target. As each toolbox gets destroyed, the fronts should be detaching from their actors (if they are stateful) so that the app is no longer in a debugging state. Debugging a new app (or reconnecting to a previous one) will create new fronts anyway.
* Slightly refactored the TabClient, ThreadClient, SourceClient and TracerClient towards a protocol.js-based architecture, by adding parent-child references and lifecycle management. Now a tab-scoped thread actor for instance has the tab as its parent, while a global-scoped thread actor (chrome debugger) has the DebuggerCLient (RootFront) as its parent. This lets parents reference their children, so that caching in the target object can work. It also allowed me to move some methods from the DebuggerClient to the actual front that should be responsible, like reconfigureTab, reconfigureThread and attachThread. These methods now use DebuggerClient.requester, too.
* Added some error handling in the debugger client requester around "before" and "after" callbacks, which exposed some errors in tests that are now fixed.
* Fixed the state handling in the thread actor so that merely detaching from a thread doesn't put it in the exited state. This is the part that what was necessary for Firebug's use case.
* Properly loading tracer and webgl actors now on b2g.
2014-01-14 17:39:40 +02:00
Chris Peterson
c5937fbed4 Bug 955890 - Part 1: Fix DevTools JS warnings about some code paths not returning a value. r=rcampbell 2013-12-31 19:28:42 -08:00
Alexandre Poirot
0b35a4888e Bug 934883 - Prevent closing all targets when receiving one tabDetached event. r=past 2013-11-07 09:14:40 -05:00
Panos Astithas
287b47c5c1 Bug 932880 - Make targets oblivious to inspectors. r=bgrins 2013-10-31 21:09:40 +02:00
Brian Grinstead
06b8961622 Bug 932880 - Fix a bunch of devtools test leaks. r=past 2013-10-31 17:49:37 -05:00
Dave Camp
55ca919b81 Bug 897194: Use outer window ID to match toolbox to tab rather than assuming the currently-selected tab. r=bgrins 2013-10-29 10:47:16 -07:00
J. Ryan Stinnett
49bb480694 Bug 915372 - Clean up inspector front and actor when reusing connection. r=paul 2013-09-13 19:09:52 -05:00
J. Ryan Stinnett
40f63e82fe Bug 912646 - Part 2: Leave client of remote tab open. r=dcamp
* * *
[mq]: leave-remote-open
* * *
imported patch add-close-calls
* * *
[mq]: remain-con-test
2013-09-06 17:37:18 -05:00
J. Ryan Stinnett
76b1063325 Bug 912646 - Part 1: Refactor debug targets for more reuse. r=dcamp
* * *
imported patch cleanup-target-listeners
* * *
imported patch target-cleanup
2013-09-06 17:34:56 -05:00
Panos Astithas
fedbf437f3 Rename Promise to promise to avoid collisions with the forthcoming DOM Promise implementation (bug 885318); r=jwalker 2013-07-11 10:12:20 +03:00
Dave Camp
af6dfe54f4 Bug 877320 - Expose a node front in the Selection object in addition to a raw node. r=paul 2013-06-07 14:32:32 -07:00
Anton Kovalyov
aad07a3f9a Bug 817836 - Support for console.profile and console.profileEnd; r=dcamp 2013-05-14 15:25:28 -07:00
Anton Kovalyov
90cac4608a Backed out changeset 4f2586fe4489 2013-05-28 12:51:42 -07:00
Anton Kovalyov
ba543e4120 Bug 817836 - Support for console.profile and console.profileEnd; r=dcamp 2013-05-14 15:25:28 -07:00
Panos Astithas
7cbab5978d Bug 873912 - JS warning "anonymous function does not always return a value" resource:///modules/devtools/framework/target.js:218; r=jwalker 2013-05-20 11:50:27 +03:00
Dave Camp
bf8e5ab9a8 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau
--HG--
rename : browser/devtools/framework/Sidebar.jsm => browser/devtools/framework/sidebar.js
rename : browser/devtools/framework/Target.jsm => browser/devtools/framework/target.js
rename : browser/devtools/framework/ToolboxHosts.jsm => browser/devtools/framework/toolbox-hosts.js
rename : browser/devtools/framework/Toolbox.jsm => browser/devtools/framework/toolbox.js
rename : browser/devtools/inspector/Breadcrumbs.jsm => browser/devtools/inspector/breadcrumbs.js
rename : browser/devtools/inspector/Highlighter.jsm => browser/devtools/inspector/highlighter.js
rename : browser/devtools/inspector/InspectorPanel.jsm => browser/devtools/inspector/inspector-panel.js
rename : browser/devtools/inspector/Selection.jsm => browser/devtools/inspector/selection.js
rename : browser/devtools/inspector/SelectorSearch.jsm => browser/devtools/inspector/selector-search.js
rename : browser/devtools/framework/ToolDefinitions.jsm => browser/devtools/main.js
rename : browser/devtools/markupview/MarkupView.jsm => browser/devtools/markupview/markup-view.js
rename : browser/devtools/shared/EventEmitter.jsm => browser/devtools/shared/event-emitter.js
rename : browser/devtools/shared/InplaceEditor.jsm => browser/devtools/shared/inplace-editor.js
rename : browser/devtools/shared/Undo.jsm => browser/devtools/shared/undo.js
rename : browser/devtools/styleinspector/CssHtmlTree.jsm => browser/devtools/styleinspector/computed-view.js
rename : browser/devtools/styleinspector/CssLogic.jsm => browser/devtools/styleinspector/css-logic.js
rename : browser/devtools/styleinspector/CssRuleView.jsm => browser/devtools/styleinspector/rule-view.js
rename : browser/devtools/styleinspector/StyleInspector.jsm => browser/devtools/styleinspector/style-inspector.js
rename : browser/devtools/tilt/TiltGL.jsm => browser/devtools/tilt/tilt-gl.js
rename : browser/devtools/tilt/TiltMath.jsm => browser/devtools/tilt/tilt-math.js
rename : browser/devtools/tilt/TiltUtils.jsm => browser/devtools/tilt/tilt-utils.js
rename : browser/devtools/tilt/TiltVisualizerStyle.jsm => browser/devtools/tilt/tilt-visualizer-style.js
rename : browser/devtools/tilt/TiltVisualizer.jsm => browser/devtools/tilt/tilt-visualizer.js
rename : browser/devtools/tilt/Tilt.jsm => browser/devtools/tilt/tilt.js
2013-04-11 13:59:08 -07:00
Dave Camp
f4486d5b7a Backed out changeset 9117c7ad29d5 for MaxHeap regression. 2013-04-28 14:42:23 -07:00
Dave Camp
001f607134 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau
--HG--
rename : browser/devtools/framework/Sidebar.jsm => browser/devtools/framework/sidebar.js
rename : browser/devtools/framework/Target.jsm => browser/devtools/framework/target.js
rename : browser/devtools/framework/ToolboxHosts.jsm => browser/devtools/framework/toolbox-hosts.js
rename : browser/devtools/framework/Toolbox.jsm => browser/devtools/framework/toolbox.js
rename : browser/devtools/inspector/Breadcrumbs.jsm => browser/devtools/inspector/breadcrumbs.js
rename : browser/devtools/inspector/Highlighter.jsm => browser/devtools/inspector/highlighter.js
rename : browser/devtools/inspector/InspectorPanel.jsm => browser/devtools/inspector/inspector-panel.js
rename : browser/devtools/inspector/Selection.jsm => browser/devtools/inspector/selection.js
rename : browser/devtools/inspector/SelectorSearch.jsm => browser/devtools/inspector/selector-search.js
rename : browser/devtools/framework/ToolDefinitions.jsm => browser/devtools/main.js
rename : browser/devtools/markupview/MarkupView.jsm => browser/devtools/markupview/markup-view.js
rename : browser/devtools/shared/EventEmitter.jsm => browser/devtools/shared/event-emitter.js
rename : browser/devtools/shared/InplaceEditor.jsm => browser/devtools/shared/inplace-editor.js
rename : browser/devtools/shared/Undo.jsm => browser/devtools/shared/undo.js
rename : browser/devtools/styleinspector/CssHtmlTree.jsm => browser/devtools/styleinspector/computed-view.js
rename : browser/devtools/styleinspector/CssLogic.jsm => browser/devtools/styleinspector/css-logic.js
rename : browser/devtools/styleinspector/CssRuleView.jsm => browser/devtools/styleinspector/rule-view.js
rename : browser/devtools/styleinspector/StyleInspector.jsm => browser/devtools/styleinspector/style-inspector.js
rename : browser/devtools/tilt/TiltGL.jsm => browser/devtools/tilt/tilt-gl.js
rename : browser/devtools/tilt/TiltMath.jsm => browser/devtools/tilt/tilt-math.js
rename : browser/devtools/tilt/TiltUtils.jsm => browser/devtools/tilt/tilt-utils.js
rename : browser/devtools/tilt/TiltVisualizerStyle.jsm => browser/devtools/tilt/tilt-visualizer-style.js
rename : browser/devtools/tilt/TiltVisualizer.jsm => browser/devtools/tilt/tilt-visualizer.js
rename : browser/devtools/tilt/Tilt.jsm => browser/devtools/tilt/tilt.js
2013-04-11 13:59:08 -07:00