131 Commits

Author SHA1 Message Date
rginda%netscape.com
987eb43a38 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.


git-svn-id: svn://10.0.0.236/trunk@116676 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 01:58:36 +00:00
rginda%netscape.com
741acbe78c part of bug 109652, "Venkman needs to profile" r=peterv,r=a=shaver
add profiling support.


git-svn-id: svn://10.0.0.236/trunk@115415 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 09:24:14 +00:00
rginda%netscape.com
2baaf83b8f bug 126365, "add options and private support to jsdIContext", sr=jst, r=jband
add jsdIContext::options and ::privateData attributes


git-svn-id: svn://10.0.0.236/trunk@115053 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:45:57 +00:00
rginda%netscape.com
02aacf2f31 bug 124717, need to wrap JSVAL_NULL for eval result, instead of just returning it unwrapped.
git-svn-id: svn://10.0.0.236/trunk@114681 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 10:53:52 +00:00
rginda%netscape.com
b5e27846e1 fix uninitialized return value in jsd_IsStackFrameNative
git-svn-id: svn://10.0.0.236/trunk@114528 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 22:39:09 +00:00
rginda%netscape.com
5f8367e018 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.


git-svn-id: svn://10.0.0.236/trunk@114496 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 07:57:30 +00:00
rginda%netscape.com
1da965c1f6 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


git-svn-id: svn://10.0.0.236/trunk@113854 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:59:55 +00:00
jst%netscape.com
a49bb992db 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
git-svn-id: svn://10.0.0.236/trunk@113684 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 05:53:56 +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
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
rginda%netscape.com
dd071b060f quiet bogus "potentially unused" warnings, see bug 121178, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 08:37:57 +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
cec41f9f3b fixing os/2 bustage, false vs PR_FALSE mixup
git-svn-id: svn://10.0.0.236/trunk@113107 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 07:20:59 +00:00
rginda%netscape.com
62e2418433 bug 121178, r=jst,sr=brendan, "jsdIStackFrame::eval signature needs to be changed"
return exception from jsdService::Eval if one occurs.


git-svn-id: svn://10.0.0.236/trunk@113101 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 06:15:58 +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
4f7eb8c3f2 bug 119865, crash exiting venkman, r=peterv, sr=brendan
use nsCOMPtr to avoid releasing a final reference via jsdScript::Invalidate()


git-svn-id: svn://10.0.0.236/trunk@112686 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 13:17:04 +00:00
jst%netscape.com
b9772d48fe 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
git-svn-id: svn://10.0.0.236/trunk@112678 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 09:20:51 +00:00
seawood%netscape.com
a9308f6d58 Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag


git-svn-id: svn://10.0.0.236/trunk@112307 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:10:09 +00:00
rginda%netscape.com
b24274d903 bug 119938, nebiros bustage, r=dbaron
remove useless casts


git-svn-id: svn://10.0.0.236/trunk@112108 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 21:59:34 +00:00
beard%netscape.com
23a8b301aa Fix mac bustage: jschar* and PRUnichar* aren't compatible.
git-svn-id: svn://10.0.0.236/trunk@112001 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 01:40:15 +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
seawood%netscape.com
5a93fdeaae Link jsd into application in a "static" build.
Thanks to Robert Ginda <rginda@netscape.com> for the patch.
Bug #118784 r=cls


git-svn-id: svn://10.0.0.236/trunk@111800 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 08:47:01 +00:00
rginda%netscape.com
baac6c13bd bug 117907, patch=joerg.schaible@gmx.de (Jörg Schaible), r=me
add release build option to jsdb.mak


git-svn-id: svn://10.0.0.236/trunk@111363 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 19:24:14 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
ccarlen%netscape.com
4132901d1d Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110226 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:10:45 +00:00
ccarlen%netscape.com
ba7edd8a3b Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110172 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 20:42:22 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +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
jaggernaut%netscape.com
56fd5dbc91 More REQUIRES clean-up.
git-svn-id: svn://10.0.0.236/trunk@105540 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:08:55 +00:00
rginda%netscape.com
af63e55a40 bug 103804, "Venkman doesn't like stopping in timeouts", r=jband, sr=shaver
add callback to the enterNestedEventLoop method


git-svn-id: svn://10.0.0.236/trunk@105018 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:35:46 +00:00
rginda%netscape.com
b285e0a763 bug 103831, r=cls, sr=jband
remove java stubs


git-svn-id: svn://10.0.0.236/trunk@104943 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:43:15 +00:00
rginda%netscape.com
9e5dd4fe59 bug 102785, r=dp, sr=shaver, a=asa
remove venkman startup listener so we don't have to load the dll at startup.
checking into 0.9.5 branch also.


git-svn-id: svn://10.0.0.236/trunk@104808 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:44:35 +00:00
jaggernaut%netscape.com
5bcb5cf396 Clean up REQUIRES lines.
git-svn-id: svn://10.0.0.236/trunk@104763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:35:41 +00:00
jaggernaut%netscape.com
2fb527c1a2 Checking in updated mac project file for Venkman (the JS Debugger)
git-svn-id: svn://10.0.0.236/trunk@104255 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 12:39:29 +00:00
rginda%netscape.com
48eb12277f - not built -
remove java references, add jsd_xpc.cpp note, explain jsdb.


git-svn-id: svn://10.0.0.236/trunk@104254 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 08:52:04 +00:00
rginda%netscape.com
7d5c7774c2 move REQUIRES line above include config.mak, to fix bustage
git-svn-id: svn://10.0.0.236/trunk@104252 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 07:10:21 +00:00
rginda%netscape.com
97747926e4 fixing REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@104250 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 06:28:38 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
rginda%netscape.com
22a97b8a46 - venkman only -
bug 100943, changes needed to build jsd on os/2
patch by Dainis Jonitis, r=mkaply,rginda


git-svn-id: svn://10.0.0.236/trunk@103530 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:39:24 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
rginda%netscape.com
8c7d55aef9 - venkman only -
init xpconnect on the debugger's default context so that xpconnect can use it when it has to.  r=jband


git-svn-id: svn://10.0.0.236/trunk@102366 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:34:44 +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
a411916b1b -- not built --
whitespace cleanup


git-svn-id: svn://10.0.0.236/trunk@102148 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-01 18:01:28 +00:00
rginda%netscape.com
39016686cd - not built -
spruce up some comments
added, then comented out, jsdIDebuggerService::filterGlobalObject


git-svn-id: svn://10.0.0.236/trunk@101914 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 22:03:44 +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