Commit Graph

43 Commits

Author SHA1 Message Date
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Steve Fink
f960a24566 Bug 748937 - Switch JSD destroyScript signature from JSContext -> JSFreeOp. r=jorendorff
This is a warning fix only; JSD doesn't use the argument anyway.
2012-04-27 11:49:57 -07:00
Igor Bukanov
401a036771 Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.

The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
David Mandelin
f0690b22d1 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
David Mandelin
0a4c9bd844 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Ms2ger
20e82e6b3f Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo 2012-01-11 09:23:05 +01:00
Jeff Walden
12e010ddeb Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Steve Fink
448ee2fdce Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless) 2011-03-03 10:11:54 -08:00
Steve Fink
79461945d5 Backout 8d39d7a5b85c 2011-05-24 16:53:07 -07:00
Steve Fink
10b6ac6647 Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless) 2011-03-03 10:11:54 -08:00
Igor Bukanov
6170210542 bug 624880 - renaming JSD public API to reflect the signature change. r=timeless 2011-01-29 22:40:29 +01:00
Steve Fink
72b9690eca Bug 624316 - Unwrap wrapped functions before returning them to JSD to see the contained script and name, r=gal, a=blocker 2011-01-11 14:24:52 -08:00
Steve Fink
dcaaf41d0f Bug 610793 - Add a per-script enableSingleStepInterrupts() to JSD [r=dmandelin] 2010-11-16 15:18:35 -08:00
Igor Bukanov
c95d2bf7a1 Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap 2010-11-24 17:56:43 +01:00
David Anderson
e46d061bee Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
David Anderson
cea4edbdf9 Backed out changeset 2bdf648e7015 2010-10-15 15:21:51 -07:00
David Anderson
92940538af Backed out changeset 1998fa240434 2010-10-15 14:13:59 -07:00
David Mandelin
c870caca5b Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -07:00
David Mandelin
1627e948ff Backed out changeset af020f2b9293 due to x64 build bustage. 2010-10-07 17:03:01 -07:00
David Mandelin
59b6daa65c Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb 2010-10-06 11:23:14 -07:00
Jason Orendorff
6af1191f4d Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal. 2010-09-14 16:24:59 -07:00
Luke Wagner
23899570df Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Paul Biggar
73ea308cfd Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Luke Wagner
32541f500f Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Boris Zbarsky
49b8cf298f Bug 534676. Fix object hashtable lifetime management. r=timeless 2009-12-14 21:31:59 -08:00
Boris Zbarsky
1f38f0e7fb Bug 534120. Fixing build bustage on windows. 2009-12-12 14:03:01 -08:00
Boris Zbarsky
cc9152bd93 Bug 534120. When jsd is paused unhook as much as we can, so we don't interfere with the jit. r=timeless, jorendorff. 2009-12-12 13:35:04 -08:00
Boris Zbarsky
30ed686a13 Bug 521010. Expose a .script on jsdIValue, r=brendan 2009-10-07 21:19:54 -04:00
timeless@mozdev.org
f07795d670 Bug 281137 Add profiling column for functions excluding other functions running
jsd part
patch by silver@warwickcompsoc.co.uk r=shaver sr=dmose a=bsmedberg
2005-08-02 15:53:59 +00:00
gerv@gerv.net
4ba0518141 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
rginda@netscape.com
c11da0b0d9 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
7bf866284b 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
916a3ec935 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
3accb9e9ae 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.
2002-01-12 00:56:35 +00:00
rginda@netscape.com
1c588dc4e9 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.
2001-10-30 13:41:32 +00:00
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
gerv@gerv.net
30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
scc@mozilla.org
a43c5e83a8 bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
rginda@netscape.com
b0ffcfe49d -- not built --
exposing call hook functionality
2001-09-01 18:03:53 +00:00
rginda@netscape.com
f2ce0da945 - not built -
add private data to JSDContexts and JSDScripts, add JSD_EvaluateUCScriptInStackFrame
2001-04-20 03:59:43 +00:00
dmose@mozilla.org
34fd2555cf updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
jband@netscape.com
98e0adb174 not part of mozilla build - merging from SpiderMonkey140_BRANCH 1998-11-05 08:57:24 +00:00
ltabb
c4cc52826a Free the lizard 1998-03-28 02:44:41 +00:00