22 Commits

Author SHA1 Message Date
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
dbaron%dbaron.org
a53a959416 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136009 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:07:51 +00:00
dbaron%fas.harvard.edu
acb32e9f60 Fix leaks of references to jsdService. r=rginda sr=alecf b=170194
git-svn-id: svn://10.0.0.236/trunk@133150 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 12:59:21 +00:00
rginda%netscape.com
de73e0dbca Bug 151803, "Debugger is leaking JSDValues", r=peterv, sr=jst
Stop caching jsdIValues, it doesn't seem to be worth the lookup cost.  This has the side effect of plugging the leak, as described in the bug.
also...
* Convert a few raw pointers to nsCOMPtrs
* Fix a bug where removing the last filter did not null out the list head,
causing a crash the next time filters were used.
* Track live jsdStackFrames, so we can invalidate them all when execution
continues.  Without this, only the top frame is properly invalidated, and any
other frame accessed after a continue will do Bad Things.
* Add some debugging prints to GetInitAtService, which seems to be failing at
random times.


git-svn-id: svn://10.0.0.236/trunk@123613 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 21:56:23 +00:00
rginda%netscape.com
f5f8993e60 changing a string constant, comenting out a DEBUG_rginda
use more descriptive url when compiling prettyprint changes


git-svn-id: svn://10.0.0.236/trunk@113259 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 00:37:28 +00:00
rginda%netscape.com
482526e770 bug 121318, sr=brendan,r=jst, "Venkman should disable the target window when stopped at a breakpoint".
implement the jsdIContext interface.
create only one jsdValue wrapper per unique jsval.
add executionContext property to jsdIStackFrame.
add enumerateContexts to jsdIDebuggerService.
add jsdIContextEnumerator interface.


git-svn-id: svn://10.0.0.236/trunk@113111 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 08:32:23 +00:00
rginda%netscape.com
65e86f32aa bug 121192, sr=brendan,r=jst, "Add proper errorHook and debugHook to jsdIDebuggerService"
adds jsdIDebugHook interface, change the meaning of jsdIErrorHook.
error hook is called when an error occurs, and is given information about the error report.
debug hook is called when/if the error hook returns false, and is given information about the ececution state.


git-svn-id: svn://10.0.0.236/trunk@113100 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 05:56:02 +00:00
rginda%netscape.com
0d2707afd4 bug 115695, rs=brendan, venkman only
netive changes relating to pretty print support, includes...
* remove jsdIPC interface, replaced with ulong offsets from PC 0.
* add |pcmap| parameter to select between sourcetext/prettyprint linemaps (pcToLine, lineToPc, and isLineExecutable.)
* add |functionSource| property to jsdIScript.
* add |tag| to jsdIScript.
* fixed potential jsdIScript leaks.


git-svn-id: svn://10.0.0.236/trunk@111989 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 00:56:35 +00:00
rginda%netscape.com
9dffd404bd bug 99601, add filter support to js/jsd, r=jband sr=brendan
large addition to the jsd_xpc component allows arbitrary filtering of debug hooks by url pattern, line range, and global object.  also adds ability to begin instrumenting jsscripts at app startup.


git-svn-id: svn://10.0.0.236/trunk@106689 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 13:41:32 +00:00
rginda%netscape.com
59d192da29 - venkman only -
turn off verbose debugging for me
push a thread event queue for necko before we enter a nested event loop


git-svn-id: svn://10.0.0.236/trunk@102328 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:29:59 +00:00
rginda%netscape.com
84b8ddf3ae -- not built --
exposing call hook functionality


git-svn-id: svn://10.0.0.236/trunk@102149 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-01 18:03:53 +00:00
rginda%netscape.com
f12cac4564 - not built -
whitespace tweakage


git-svn-id: svn://10.0.0.236/trunk@101913 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 22:02:28 +00:00
rginda%netscape.com
92375f22f6 - not built -
move debug object counters and various constructors to jsd_xpc.cpp
add LiveEphemeral struct to reperesent a link in a PRCList of ephemeral objects.
declare jsdIEphemeral interface in objects that need it, add invalidaAll static method to jsdIProperty and jsdIValue.  jsdIObject still needs work.


git-svn-id: svn://10.0.0.236/trunk@98577 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 22:21:56 +00:00
rginda%netscape.com
b629a02a62 - not built -
declare and initialize new provate members in jsdScript, copy important script properties at jsdScript creation time, so they're around after Invalidate().


git-svn-id: svn://10.0.0.236/trunk@98153 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-28 07:47:04 +00:00
rginda%netscape.com
7b2d61c2b7 - not built -
add onForRuntime() method to jsdIDebuggerService to let native code turn on the deubgger (on() can only be called from js)
register an app-start observer so we can turn on the debugger at startup if "js.debugger.autostart" pref is true.
r=peterv, bug 81840


git-svn-id: svn://10.0.0.236/trunk@95583 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 06:00:12 +00:00
rginda%netscape.com
860f870445 - not built -
remove jsdContext and jsdThreadstate objects


git-svn-id: svn://10.0.0.236/trunk@93976 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 22:14:37 +00:00
rginda%netscape.com
c47e40293f - not built -
add debug instance counter for jsdScript
add mValid flag to jsdScript


git-svn-id: svn://10.0.0.236/trunk@93561 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 21:35:06 +00:00
rginda%netscape.com
0ea2922f10 - not built -
add GetService() member


git-svn-id: svn://10.0.0.236/trunk@93090 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 21:55:20 +00:00
rginda%netscape.com
10c6da3a4c - not built -
move from pc as a ulong to pc as an object wrapped around a uword
relocate jsdService constructor to jsd_xpp.cpp in order to initialize the global
 service


git-svn-id: svn://10.0.0.236/trunk@93077 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-25 18:22:49 +00:00
rginda%netscape.com
8781bc62ce - not built -
declare jsdObject, jsdProperty, jsdStackFrame, jsdThreadState, and jsdValue


git-svn-id: svn://10.0.0.236/trunk@92797 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-20 03:57:28 +00:00
rginda%netscape.com
bc4cd3c716 moving xpcom wrapper from extensions/venkman/src/ and idl/ to here.
git-svn-id: svn://10.0.0.236/trunk@92539 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 08:50:41 +00:00