Commit Graph

178 Commits

Author SHA1 Message Date
Ryan VanderMeulen
7ce522bbc4 Merge fx-team to m-c. 2012-11-02 15:45:53 -04:00
Panos Astithas
ceacb0d392 Implement Debugger.removeAllDebuggees for efficient debugger shutdown (bug 740551); r=jimb,jorendorff 2012-11-02 18:30:23 +02:00
Panos Astithas
fdfd985c80 Bug 740551 - ThreadActor should automatically add appropriate debuggee globals - Patch v14; r=rcampbell 2012-10-31 18:31:55 +02:00
Panos Astithas
1130d7042d Bug 802081 - listTabs returns empty tab titles after startup; r=rcampbell 2012-11-01 15:34:41 +02:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Philipp von Weitershausen
8a0276e5bb Bug 807478 - Fix DebuggerProtocol and SpecialPowers imports for jsloader.reuseGlobal = true. r=past 2012-11-02 18:03:13 -07:00
Jim Blandy
343bf85963 No bug: Correct comment on type of argument to DebuggerTransport constructor. DONTBUILD r=dcamp on IRC 2012-11-13 13:28:22 -08:00
Ryan VanderMeulen
f96be73615 Merge the last PGO-green inbound changeset to m-c. 2012-10-26 21:22:40 -04:00
Victor Porof
b73c53c7c5 Bug 707302 - Optimize and refactor the debugger frontend to use constructors instead of attached functions to DOM nodes, r=rcampbell 2012-10-26 20:10:17 +03:00
Bill McCloskey
2e039c483d Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Mihai Sucan
0f022cdb3d Bug 787981 - Use LongStringActor in the Web Console actors; r=past 2012-11-05 18:41:59 +02:00
Jim Blandy
4b30589daf Bug 738480: Simplify Debugger::ScriptQuery after CPG. Fix missing compile-and-go scripts. r=luke 2012-10-19 09:53:00 -07:00
Panos Astithas
611a440d49 Bug 795263 - Actor names should not change when promoted to thread-lifetime; r=rcampbell 2012-10-12 11:26:49 +03:00
Mike Hommey
8bbf9b347d Bug 799323 - Make test from bug 793672 more reliable. r=past 2012-10-09 10:17:27 +02:00
Panos Astithas
da2f9abab6 Fix a merge conflict. No bug. 2012-10-08 16:28:17 +03:00
Panos Astithas
c47c3badab Merge m-c to fx-team 2012-10-08 16:26:41 +03:00
Mihai Sucan
f94b1e8aa4 Bug 768096 - Web Console remote debugging protocol support - Part 4.5: global actor; r=past 2012-10-06 13:29:57 +03:00
Mihai Sucan
168aca5118 Bug 768096 - Web Console remote debugging protocol support - Part 3: network logging; r=past,robcee
--HG--
rename : browser/devtools/webconsole/NetworkHelper.jsm => toolkit/devtools/webconsole/NetworkHelper.jsm
2012-10-05 14:54:43 +03:00
Mihai Sucan
9ff6a83ab3 Bug 768096 - Web Console remote debugging protocol support - Part 2: window.console API and JS evaluation; r=past,robcee 2012-09-26 18:02:04 +01:00
Mihai Sucan
348454ccd7 Bug 768096 - Web Console remote debugging protocol support - Part 1: page errors; r=past,robcee
--HG--
rename : browser/devtools/webconsole/WebConsoleUtils.jsm => toolkit/devtools/webconsole/WebConsoleUtils.jsm
2012-09-26 18:07:57 +01:00
Panos Astithas
d165fdcaaa Bug 792925 - Dynamically-added tab-scoped actors should get a reference to their parent; r=msucan 2012-09-24 12:43:26 +01:00
Nick Fitzgerald
7e50379b4f bug 788754: simplify SourceClient's api; r=past 2012-09-28 08:27:00 +03:00
Panos Astithas
10f05cbb73 bug 755661 part 5 - fix xpcshell test on windows; r=rcampbell 2012-10-03 18:56:45 +03:00
Nick Fitzgerald
46a8f5c3d6 bug 755661 part 3 - sources over protocol; r=past 2012-09-27 11:30:00 +03:00
Nick Fitzgerald
63a0e5659b bug 755661 part 2 - add thread scoped long strings; r=past 2012-09-27 11:29:00 +03:00
Panos Astithas
2ae0c7c16b Bug 793947 - Race condition in dbg-server.js breaks Marionette; r=msucan 2012-09-27 12:31:49 +01:00
Panos Astithas
4f4e6f3b97 Bug 792867 - Debugger mochitests leak when run separately. r=rcampbell 2012-09-22 18:44:00 +03:00
Panos Astithas
897efefc6b Bug 790202 - Protocol layer performance overhead is too much for local transports. f=msucan r=rcampbell 2012-09-22 18:44:00 +03:00
Anton Kovalyov
67a1ef32aa Bug 788769 - The update function in dbg-script-actors.js should also copy getters and setters to the target object. r=past,nfitzgerald 2012-09-20 16:44:25 -07:00
Anton Kovalyov
0f8e84c2c7 Bug 785044 - Replace the ThreadActor's private debugger object and its getter with a public property. r=past 2012-09-20 14:15:15 -07:00
Panos Astithas
dc9481235a Bug 790952 - Debugger server always creates new actor instances. f=glandium r=rcampbell 2012-09-21 09:04:21 +03:00
Mike Hommey
8bcb36741e Bug 751034 part 3 - Send notifications through remote debugging protocol when the profiler starts/stops. r=past 2012-09-13 00:14:12 +02:00
Mike Hommey
8a282a3398 Bug 751034 part 2 - Add profiler actor when adding the browser actors. r=past 2012-09-13 14:40:16 +02:00
Benoit Girard
e10709cf8a Bug 751034 - Support remote profiling Via Remote debugging protocol. r=past,rcampbell 2012-09-06 16:55:55 +03:00
Panos Astithas
a23a7fbcb1 Bug 781515 - Use a default allowConnection handler in dbg-server.js so that add-ons don't have to provide their own. r=rcampbell, f=Pike,mgoodwin 2012-09-20 09:40:01 +03:00
Panos Astithas
c7397616ed Bug 789114 - Make B2G and Fennec browser actors inherit the extensibility API changes. f=glandium r=msucan,mfinkle,vingtetun 2012-09-20 09:38:11 +03:00
Panos Astithas
6658636165 Bug 753401 - The debugger server root and tab actors should be easily extensible; r=rcampbell
--HG--
rename : browser/devtools/debugger/test/browser_dbg_contextactor-02.js => browser/devtools/debugger/test/browser_dbg_globalactor-01.js
2012-09-20 09:36:32 +03:00
Panos Astithas
1560eb2b1a Remove redundant check for Debugger.Object.displayName property (bug 786711). r=jimb 2012-09-18 10:30:02 +03:00
Panos Astithas
3347e6ac32 Bug 785689 - Debugger breaking when it shouldn't. r=msucan,vporof 2012-09-12 14:10:05 +03:00
Panos Astithas
fcc4ea9dc0 Use the statically-inferred name for anonymous functions (bug 786711) r=msucan,vporof 2012-09-10 11:48:52 +03:00
Mike Hommey
891f405b2f Bug 793672 - Tests for the debugging server profiler actor. r=past 2012-10-06 10:38:35 +02:00
Mike Hommey
958dbfdb59 Bug 793672 - Allow to get notifications for arbitrary observer topics through RDP with the profiler actor. r=past 2012-10-06 10:37:58 +02:00
Jim Blandy
74f1caf4cc Bug 786509: Remove support for wildcard event listeners from dbg-client.jsm's eventSource. r=past 2012-08-30 14:29:55 -07:00
Jim Blandy
05b378d891 Bug 785466: follow-on fix: uncommitted changes to resolve conflicts with bug 694539; no r 2012-08-30 14:24:05 -07:00
Jim Blandy
cfd66b47f4 Bug 785466: Remove DebugProtocolTypes table. r=past 2012-08-30 14:11:54 -07:00
Nick Fitzgerald
cd8684039b Bug 694539: Implement 'long string' grips. r=jimb 2012-08-30 14:10:07 -07:00
Nick Fitzgerald
bed2b8ae72 Fix test hang on Win opt (Bug 783393). r=past 2012-08-24 10:58:59 +03:00
Panos Astithas
c3e23a698c Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-24 10:41:02 +03:00
Matt Brubeck
66414abc2f Back out b2900e347f5c (bug 783393) for Windows xpcshell hangs in test_listscripts-01.js on a CLOSED TREE
--HG--
extra : transplant_source : %F4%97%281%7F%AD%7E%C0Vb%00t%9Bd%FC%EC%A5%92%B5%C8
2012-08-23 14:37:29 -07:00
Panos Astithas
45afc9f7b9 Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-17 04:32:21 +03:00
Tim Taubert
bb4a8970e4 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Panos Astithas
b6179ec970 Don't send newScript notifications for ignored scripts (bug 770882). r=rcampbell 2012-08-22 11:11:07 +03:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Nick Fitzgerald
4417dc2ab5 Share the breakpoint store across ThreadActor instances (bug 777146); r=past 2012-08-06 12:32:00 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Panos Astithas
3343ffb65e Only use a web progress listener when a tabbrowser has been passed to the tab actor (bug 779641); r=rcampbell 2012-08-03 10:31:55 +03:00
Tim Taubert
7c84c23358 merge m-c to fx-team 2012-07-31 16:38:32 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nick Fitzgerald
305834af54 Bug 777146 - Move ThreadActor.prototype.{_scripts, _breakpointStore} initialization to the constructor so that each instance of ThreadActor has its own {_scripts, _breakpointStore} object instead of each instance sharing the same object. r=rcampbell 2012-07-25 09:30:00 -07:00
Panos Astithas
28a8d4a224 Bug 751226 - Refactor all the existing browser actor implementations to eliminate duplication. r=rcampbell r=mark.finkle r=21 2012-07-11 14:43:11 +03:00
Ehsan Akhgari
b3dd3b6646 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more toolkit parts); blanket-r=bzbarsky 2012-07-18 12:12:55 -04:00
Victor Porof
3356a29ccb Bug 767389 - about:home and about:newtab are intermittently shown in the Debugger dropdown; r=past 2012-07-15 09:50:41 +03:00
Panos Astithas
25dfbf0950 Bug 751949 - Reloading a page when the debuggee is paused results in: ASSERTION: Mismatched calls to ResumeTimeouts; r=rcampbell 2012-07-13 13:10:22 +03:00
Panos Astithas
fd456f8730 Bug 771452 - resume button need two clicks to go on after a breakpoint when the script is inside the .html file; r=rcampbell 2012-07-13 13:10:21 +03:00
Panos Astithas
6211a0eadd Bug 767399 - When navigating between web pages with the Back and Forward buttons, the same scripts are displayed in the Debugger for all the pages; r=rcampbell 2012-07-12 14:03:43 +03:00
Panos Astithas
727e12a234 Use a preference setting to decide whether to bind to the loopback interface only, or all interfaces (Bug 764679); r=dcamp,mfinkle,jgriffin,vingtetun 2012-06-20 16:31:50 +03:00
Panos Astithas
63bb179ecf Ensure that with multiple windows open, the debugger's selected tab belongs to the top-level window (bug 761742); r=dcamp 2012-06-19 17:46:25 +03:00
Tim Taubert
3cc384cd72 merge m-c to fx-team 2012-06-13 15:34:08 +02:00
Panos Astithas
b1b26c25c1 Bug 754251 - Can't set breakpoint in Script Debugger; r=rcampbell 2012-06-12 09:47:08 +03:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Panos Astithas
d8c8860a3c Bug 760882 - XBL Bindings appear in the debugger script dropdown if the debugger is open when the page is refreshed; r=rcampbell 2012-06-08 16:05:27 +03:00
Panos Astithas
2655e2afaf Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 11:21:59 +03:00
Panos Astithas
4197e5af0e Backout 61e0d5d09f77 due to test breakage 2012-06-08 11:18:28 +03:00
Panos Astithas
2291a64c5a Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 10:00:48 +03:00
Panos Astithas
11197066ba Bug 757282 - Pause when an exception is hit; r=rcampbell 2012-06-03 16:39:51 +03:00
Panos Astithas
67a08210a6 Bug 737808 - Separate breakpoints and scripts handling in the client from the server; r=rcampbell 2012-06-03 16:39:50 +03:00
Panos Astithas
6cf3dfbaac Bug 758696 - Add a dialog to the debugger to deny or allow incoming server connections (Part 1: Firefox); r=rcampbell 2012-06-01 18:25:08 +03:00
Panos Astithas
e2edf4f1eb Bug 755346 - Global variables are not displayed in the debugger frontend; r=vporof,rcampbell 2012-05-29 12:08:20 +03:00
Panos Astithas
b1ff343559 Bug 724862 - Implement protocol support for modifying the values of a debuggee object's properties; r=rcampbell 2012-05-24 14:23:53 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
ea17443d61 Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Jim Blandy
c595de95c0 (No bug): Add comments to some debugger server code. r=past in IRC 2012-05-08 17:54:04 -07:00
Victor Porof
81ccc3e0ce Bug 748927 - Add UI elements for the remote debugging case: starting a server and selecting the server to connect to; r=past 2012-04-27 17:18:02 -04:00
Ehsan Akhgari
f71126f4f7 Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Jason Orendorff
68ca935eed Bug 749316 - Put Debugger object into chrome scratchpad. r=dcamp,bholley.
--HG--
extra : rebase_source : 12ab275ac9cdfa0e9890c507e30e0b56e4086816
2012-05-01 10:17:32 -05:00
Panos Astithas
dfb60bd8de Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Ehsan Akhgari
83c608b002 Merge backout; a=me 2012-05-02 16:22:51 -04:00
Ehsan Akhgari
27f6798b66 Backout the merge from fx-team because of Ts regressions (no bug)
This is the backed out range:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=a974c45914eb
2012-05-02 16:20:02 -04:00
Ehsan Akhgari
1264cba321 Backout changeset b0200dab0ccc to revert the incorrect backout of an fx-team range (no bug)
This is the range I mistakenly backed out before:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=bc5fee76550b
2012-05-02 16:11:19 -04:00
Ehsan Akhgari
077dde163d Backout the latest merge from fx-team because of Ts regressions (no bug) 2012-05-02 15:37:08 -04:00
Tim Taubert
467f00c214 merge m-c to fx-team; a=js-only 2012-05-02 15:36:57 +02:00
Panos Astithas
240fb3787b Bug 749258: Fix debugger server tests exposed as broken when we start listening for errors. r=dcamp 2012-05-01 15:31:00 -07:00
Jim Blandy
bbc356c90c Bug 749258: Have toolkit/devtools/debugger xpcshell tests register a listener for Components.utils.reportError, so tests fail when they throw an exception. r=past 2012-05-01 15:29:48 -07:00
Jim Blandy
cf9f1a6041 Bug 749215: Install the debug server jsms as symlinks, when appropriate. r=rcampbell 2012-05-01 15:19:32 -07:00
Jim Blandy
7d5df75a5a Bug 749231: Set the devtools.debugger.log pref in head_dbg.js, so we always get packet logs. r=past 2012-04-30 15:02:11 -07:00