Граф коммитов

165 Коммитов

Автор SHA1 Сообщение Дата
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bsmedberg%covad.net d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
dwitte%stanford.edu 7a2d3ff642 spelling fixes... s/debuging/debugging/. thanks to WeirdAl for the patch.
b=106386, p=ajvincent@juno.com, r=timeless, sr=bz.
2003-10-10 04:31:15 +00:00
bryner%brianryner.com 9d11b3c424 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
rginda%netscape.com 8f4d8cb810 bug 216112, "add ability to disable object tracking in jsd"
r=caillon, sr=brendan, a=asa

adds the ability to turn off the object tracking without having to disable the debugger.  should make a dormant venkman less of a performance impact.
2003-08-14 22:49:09 +00:00
brendan%mozilla.org 4fa5213a91 Big dynamic footprint win via script filename caching, plus line number fix for strict/const diags (see http://bugzilla.mozilla.org/attachment.cgi?id=127130&action=view for detailed checkin comments; 208030, r/rs=shaver, r=rginda on the jsd change, r=jst on the dom change). 2003-07-26 22:37:11 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
timeless%mozdev.org fc568807c5 Bug 207327 @mozilla.org/js/jsd/app-start-observer;2 isn't registering itself correctly as an app-startup observer service
r=rginda
2003-05-28 22:34:20 +00:00
rginda%netscape.com 63d0b6201f Bug 204028, "debugger service crashes when asked to eval an empty string"
a=sspitzer@netscape.com

return NS_ERROR_INVALID_ARG if asked to eval an empty string
2003-05-01 18:50:58 +00:00
rginda%netscape.com 9e509d59ec fix tbox bustage. 2003-04-18 20:48:43 +00:00
rginda%netscape.com a692705849 bug 200591, "File Options > Don't Debug Eval/Timeouts isn't working", r=brendan
prevent any stack with a disabled frame from being debugged during single-stepping, or break-on-throw.  Also adds versioning support to the jsdIDebuggerService interface.
2003-04-18 20:12:11 +00:00
seawood%netscape.com bf5970191d Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-03 22:42:02 +00:00
bzbarsky%mit.edu 83e46b1a49 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
rginda%netscape.com 045999da85 - venkman only -
bug 189563, initialize hookresult to prevent warnings
2003-01-22 05:42:35 +00:00
dbaron%dbaron.org 3ea0dc57d4 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:07:51 +00:00
timeless%mozdev.org 9327ce7216 Bug 187529 jsd init's a jscontext and doesn't release it (caught by res->input leak)
r=rginda sr=bryner
2003-01-04 22:47:44 +00:00
rginda%netscape.com a49da2a6b9 bug 185719, r=peterv@netscape.com, sr=brendan@mozilla.org
"add ability to get at function object for a jsdIScript"

add a |functionObject| attribute to the jsdIScript interface, which returns the function's JSObject as a jsdIValue
2002-12-17 22:22:30 +00:00
dbaron%fas.harvard.edu 788db3b6c0 Fix leaks of references to jsdService. r=rginda sr=alecf b=170194 2002-11-06 12:59:21 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
rginda%netscape.com 606d9f3518 bug 155838, "Infinite loop caused by strange code", r=peterv, sr=brendan, a=roc+moz@cs.cmu.edu
don't leave gDeadScripts pointing at garbage.  May or may not fix the problem at hand, but is an improvement in either case.
2002-07-12 21:28:29 +00:00
rginda%netscape.com 5551899c79 fix build bustage, NS_IF_RELEASE the raw pointer, not the COM pointer. 2002-06-19 22:40:19 +00:00
rginda%netscape.com 410a00825d 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.
2002-06-19 21:56:23 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
rginda%netscape.com 6d9b0eac20 - venkman only -
bug 139883, "ErrorHookProc can be tricked into thinking it never finished running", r=peterv
fixes bad early return in jsds_ErrorHookProc
test for correct max params (12, not 8) in CreatePPLineMap
use nsnull instead of 0 for null pointer return value
2002-04-26 20:57:35 +00:00
colin%theblakes.com 9b779d9dd5 Do not define MODULE_NAME for components which are shareable even in
static builds.
b=134650 r=cls sr=dveditz a=asa
2002-04-02 13:36:56 +00:00
seawood%netscape.com 2d941f53cc Do not set EXPORT_LIBRARY for libs that we do _not_ want in the static link list.
Bug #134012 r=rjesup sr=dveditz a=leaf
2002-03-30 01:46:52 +00:00
cathleen%netscape.com 99fa3efa4e fix linux static build installer. bug 128507, bug 130995, bug 130998 r=seawood sr=dveditz a=asa (verbal) 2002-03-26 00:53:30 +00:00
dbaron%fas.harvard.edu 6cdcd7ef3a Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-24 00:16:18 +00:00
rginda%netscape.com f7bdb90b75 bug 129519, "JS_GetPropertyDesc gives up too easily", r=jband, sr=shaver, a=bren
dan
Reflect new JSPD_* defines, make jsd_GetValueProperty degrade gracefully instead of fail outright when we run into a problem fetching the property value.
2002-03-16 01:58:36 +00:00
rginda%netscape.com f120347fbe part of bug 109652, "Venkman needs to profile" r=peterv,r=a=shaver
add profiling support.
2002-02-27 09:24:14 +00:00
rginda%netscape.com 24f2a77101 bug 126365, "add options and private support to jsdIContext", sr=jst, r=jband
add jsdIContext::options and ::privateData attributes
2002-02-20 05:45:57 +00:00
rginda%netscape.com adb60f229e bug 124717, need to wrap JSVAL_NULL for eval result, instead of just returning it unwrapped. 2002-02-16 10:53:52 +00:00
rginda%netscape.com 0aa1a25c67 fix uninitialized return value in jsd_IsStackFrameNative 2002-02-14 22:39:09 +00:00
rginda%netscape.com 34dcbc87a7 bug 124474, "add native frame support to jsd"
sr=shaver, r=jband
add JSD_IsStackFrameNative, IsStackFrameDebugger, and IsStackFrameConstructing
add similar attributes to jsdIStackFrame
tweak return values in jsds_FilterHook
don't include dummy stack frames in threadstates

bug 110387, "Crash on exiting venkman"
check to see if the debugger was turned off before going through with an unPause.
2002-02-14 07:57:30 +00:00
rginda%netscape.com 7fccaa5b34 bug 121039, "Need a way to unwrap jsdIValues", r=jband, sr=jst
adds jsdIValue::getWrappedValue() and jsdIService::wrapValue() methods to provid
e js scripts a way to convert between jsdIValues and "real" js values.
Also includes fix to not call breakpoint hook while paused, and changes jsdIFilt
er::glob attribute to jsdIFilter::globalObject, to match jsdIContext::globalObject
2002-02-07 00:59:55 +00:00
jst%netscape.com cb926125b8 Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-02-05 05:53:56 +00:00
rginda%netscape.com 905acd6402 changing a string constant, comenting out a DEBUG_rginda
use more descriptive url when compiling prettyprint changes
2002-01-31 00:37:28 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
rginda%netscape.com 2ab45af255 quiet bogus "potentially unused" warnings, see bug 121178, sr=brendan 2002-01-30 08:37:57 +00:00
rginda%netscape.com 9626570b63 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.
2002-01-29 08:32:23 +00:00
rginda%netscape.com 0e7a4d620e fixing os/2 bustage, false vs PR_FALSE mixup 2002-01-29 07:20:59 +00:00
rginda%netscape.com 33fccb8187 bug 121178, r=jst,sr=brendan, "jsdIStackFrame::eval signature needs to be changed"
return exception from jsdService::Eval if one occurs.
2002-01-29 06:15:58 +00:00
rginda%netscape.com ecdf07d4a4 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.
2002-01-29 05:56:02 +00:00
rginda%netscape.com 675a123ada bug 119865, crash exiting venkman, r=peterv, sr=brendan
use nsCOMPtr to avoid releasing a final reference via jsdScript::Invalidate()
2002-01-24 13:17:04 +00:00
jst%netscape.com 74b270f1db Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
seawood%netscape.com e56e20b1dc Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
rginda%netscape.com e4742bb5be bug 119938, nebiros bustage, r=dbaron
remove useless casts
2002-01-14 21:59:34 +00:00