Nick Fitzgerald
e0e4c72030
Bug 1090594 - Part 2: Fix indentation in DebuggerClient.prototype.onPacket. r=ejpbruel
2014-10-31 10:27:00 +01:00
Nick Fitzgerald
89194ea597
Bug 1090594 - Part 1: Remove the unused ProtocolCompatibility layer from the debugger client (no whitespace changes). r=ejpbruel
2014-10-31 10:26:00 +01:00
Jordan Santell
c47033ee24
Bug 1069673 - Add support methods on devtool's Target, r=jryans
2014-10-22 13:33:00 +02:00
Seris
424c6e15db
Bug 795917 - Get executable lines through the remote debugging protocol;r=ejpbruel
2014-10-01 17:57:49 +01:00
Shu-yu Guo
285e8aa396
Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo)
2014-09-15 16:30:46 -07:00
Paul Rouget
e6d0056001
bug 1063648 - don't cache transport. r=jryans
2014-09-08 14:18:20 -05:00
Paul Rouget
3632fdad31
Bug 1062748 - Allow connection-manager to use a custom transport. r=jryans
2014-09-05 11:38:33 -05:00
Nick Fitzgerald
fda4ccf784
Bug 1053468 - When setting a breakpoint, only resume if we actually interrupted. r=past
2014-08-26 12:37:00 +02:00
Alexandre Poirot
f256b61b92
Bug 977043 - Tweak TabActor to support changing its targeted context to an iframe. r=bgrins,past
2014-08-27 12:19:30 +02:00
Jan Keromnes
e606415606
Bug 1049835 - Don't require actor clients to have a detach method. r=ochameau
2014-08-18 06:14:00 -04:00
Nathan Froyd
a16f465fab
Bug 1045247 - move install rules in toolkit/devtools/*/Makefile.in to moz.build; r=mshal
2014-07-28 17:23:44 -04:00
Eddy Bruel
f45c53173e
Bug 1035206 - Replace occurences of setTimeout in dbg-client.jsm with executeSoon;r=past
2014-07-28 14:22:13 +02:00
Eddy Bruel
efcdaf4e9d
Bug 1035206 - Fix a bug in the sendActorEvent API; r=past
2014-07-28 13:56:12 +02:00
Panos Astithas
3d7dff25ee
Make thread state changes opt-in for clients with an onThreadState handler (bug 1037514); r=fitzgen
...
--HG--
extra : rebase_source : 94232bb18e4f3dbeef3df827b05b5cc1be37b36e
2014-07-24 18:10:21 +03:00
Panos Astithas
6c971e4969
Ensure that the debugger client doesn't try to call a callback, when one is not provided (bug 1042761). r=robcee
...
--HG--
extra : rebase_source : d24e3e9e115176e7d0f9fe7365cbbe00d28c4f8b
2014-07-23 19:42:16 +03:00
Jakub Jurovych
25c2976838
Bug 897567 - JS debugger: setting breakpoints can be confused by script GC. r=fitzgen
2014-07-16 14:56:01 -07:00
Michael Ratcliffe
1f3e49f334
Bug 994732 - Make "Disable Cache" in Devtools persist (only when the toolbox is open) r=jwalker, r=pbrosset
2014-07-17 10:39:56 +01:00
Jan Keromnes
d93d876c09
Bug 1039448 - Throw when registering an actor client with events is not an EventEmitter. r=past
2014-07-16 04:24:00 +02:00
Alexandre Poirot
f755b6eda9
Bug 1033280 - Ensure that DebuggerClient.request returns a promise. r=jryans,past
2014-07-08 09:16:00 +02:00
Alexandre Poirot
33f279d970
Bug 797621 - Generic actor event API. r=past
2014-07-07 15:40:00 +02:00
J. Ryan Stinnett
5634a307aa
Bug 1025799 - Progress events for app install. r=ochameau
2014-06-26 14:19:00 +02:00
Jim Blandy
4d6a633bba
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Nick Fitzgerald
0776ed5b48
Bug 1021263 - Remove ThreadClient.prototype._doInterrupted. r=past
2014-06-05 14:22:00 -04:00
Vikneshwar
2f2adc483b
Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen
2014-06-14 06:49:00 -04:00
David Caldwell
0a2da8c816
Bug 907310 - (shift)+F5, Cmd/Ctrl+R should be available in Detached Devtools Window. r=bgrins
2014-05-09 17:41:43 -07:00
Shu-yu Guo
0e3c29e660
Bug 717749 - Part 2: Hook up the debugger to the slow script debug service. (r=past)
2014-05-20 18:27:25 -07:00
J. Ryan Stinnett
35fb8b8d22
Bug 797639 - Part 2: Bulk data support in client and server. r=jimb
2014-05-14 14:30:02 -05:00
J. Ryan Stinnett
c278833c23
Bug 797639 - Part 1: Bulk data support in the transport layer. r=jimb
...
--HG--
rename : toolkit/devtools/moz.build => toolkit/devtools/transport/moz.build
rename : toolkit/devtools/moz.build => toolkit/devtools/transport/tests/moz.build
rename : toolkit/devtools/server/tests/unit/test_dbgsocket.js => toolkit/devtools/transport/tests/unit/test_dbgsocket.js
rename : toolkit/devtools/server/tests/unit/test_dbgsocket_connection_drop.js => toolkit/devtools/transport/tests/unit/test_dbgsocket_connection_drop.js
rename : toolkit/devtools/server/transport.js => toolkit/devtools/transport/transport.js
2014-05-14 14:30:02 -05:00
James Long
fa08d3e84c
Bug 995252 - Always remove a breakpoint and create a new one when setting the condition. r=past
2014-05-07 11:41:00 -04:00
Paolo Amadini
60d8bb5bf9
Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past
2014-04-22 20:55:01 +01:00
James Long
6f3e0f15dd
Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp
2014-04-04 08:27:57 -04:00
Jim Blandy
53f1e9dd54
Bug 880470 - Fix a reference from the undefined "self" to "this". r=dcamp
2014-03-28 10:44:03 -04:00
James Long
00a773bf84
Bug 812172 - Add conditional breakpoint handling to the debugger server. r=past
2014-03-24 09:37:24 -04:00
Ryan VanderMeulen
077104b33a
Backed out 3 changesets (bug 965527, bug 859059, bug 812172) for mochitest and xperf orange on a CLOSED TREE
...
Backed out changeset 18f579c4308e (bug 965527)
Backed out changeset 70ed33107301 (bug 859059)
Backed out changeset 7b59b92580fa (bug 812172)
2014-03-21 10:33:18 -04:00
James Long
a34d70c5d3
Bug 812172 - Conditional breakpoints logic should be handled server-side. r=past
2014-03-21 08:55:50 -04:00
Paolo Amadini
a55f0158dd
Bug 982597 - Remove backwards compatibility for the "sources" packet. r=fitzgen
2014-03-17 17:20:27 +01:00
Mihai Sucan
dac1e2a265
Bug 917227 - Part 2: network monitor server changes to add support for Firefox OS; r=ochameau
2014-03-10 20:57:27 +02:00
Jordan Santell
488eec2432
Bug 899052 - Implement Addon Thread Actor. r=fitzgen, r=shu
2014-03-07 00:09:14 -08:00
Hubert B Manilla
eddf69d219
Bug 943356 - Prettifing a source while paused will not switch away from it. r=fitzgen
2014-02-27 11:39:56 -05: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
Mihai Sucan
334942e502
Bug 970914 - Avoid confusion where if there's already a console client (attachConsole), we get the same WebConsoleClient instance and startListeners is not called. r=past
2014-02-25 18:47:51 +02: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
Alexandre Poirot
1ada9ff931
Bug 952214 - Re-enable webapps actor mochitest on b2g desktop and cover shell.js debugger server initialization. r=paul
2014-01-13 08:44:47 -05:00
Nick Fitzgerald
f07a3752f7
Bug 958303 - Remove named function expressions from dbg-client.jsm; r=benvie
2014-01-09 15:06:44 -08:00
Michael Ratcliffe
cb71ab3030
Bug 864098 - Add "Disable Cache" to options panel r=jwalker
...
--HG--
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.html => browser/devtools/framework/test/browser_toolbox_options_disable_js.html
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.js => browser/devtools/framework/test/browser_toolbox_options_disable_js.js
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs_iframe.html => browser/devtools/framework/test/browser_toolbox_options_disable_js_iframe.html
2013-12-18 09:34:49 +00:00
Carsten "Tomcat" Book
d1cebfc090
Backed out changeset 812c5f165aca (bug 864098) for XPC Bustage on a CLOSED TREE
...
--HG--
rename : browser/devtools/framework/test/browser_toolbox_options_disable_js.html => browser/devtools/framework/test/browser_toolbox_options_disablejs.html
rename : browser/devtools/framework/test/browser_toolbox_options_disable_js.js => browser/devtools/framework/test/browser_toolbox_options_disablejs.js
rename : browser/devtools/framework/test/browser_toolbox_options_disable_js_iframe.html => browser/devtools/framework/test/browser_toolbox_options_disablejs_iframe.html
2013-12-17 13:58:55 +01:00
Michael Ratcliffe
975eb6e7c7
Bug 864098 - Add "Disable Cache" to options panel r=jwalker
...
--HG--
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.html => browser/devtools/framework/test/browser_toolbox_options_disable_js.html
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs.js => browser/devtools/framework/test/browser_toolbox_options_disable_js.js
rename : browser/devtools/framework/test/browser_toolbox_options_disablejs_iframe.html => browser/devtools/framework/test/browser_toolbox_options_disable_js_iframe.html
2013-12-17 10:58:21 +00:00
Nick Fitzgerald
2e5c259c51
Bug 942362 - Use DevToolsUtils.reportException in dbg-client.jsm; r=past
2013-11-25 10:31:46 -08:00
Nick Fitzgerald
12f3243085
Bug 934163 - Improve performance of tracer actors; r=past
2013-11-25 10:11:53 -08:00
Nick Fitzgerald
463b65b788
Bug 917583 - part 1: make function's definition site its own request in the RDP; r=past
2013-11-05 16:40:00 -08:00