Commit Graph

170 Commits

Author SHA1 Message Date
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
Igor Bukanov
c0611e12fb bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Matt Brubeck
d34102c071 Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes 2012-02-29 16:18:22 -08:00
Igor Bukanov
7607cdb290 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
David Mandelin
f0690b22d1 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Bill McCloskey
ca293fdba6 Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -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
Ms2ger
47dff3dde4 Bug 708754 - Use IDL for jsdIDebuggerService::WrapValue and remove WrapJSValue; r=bholley 2011-12-18 11:12:26 +01:00
Ms2ger
5f07c914e8 Bug 705444 - Use IDL for jsdIValue::GetWrappedValue; r=bholley 2011-12-18 11:07:22 +01:00
dccab902ce Bug 700302 - Handle null script filenames (r=sfink) 2011-11-11 11:35:06 -08:00
Boris Zbarsky
efc04bc103 Bug 699528. Make pausing/unpausing JSD try to turn off/on debug mode as needed. r=sfink
The new boolean argument to SetDebugModeWhenPossible is needed because if we allow sync-disable of debug mode we seem to crash when loading pages with Firebug active.
2011-11-09 16:11:39 -05:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Igor Bukanov
a663d9fa7f bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Jason Orendorff
c38e32ebdb Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Marco Bonardo
58415fdabe Backout e2807e45402c for Android b-c permaorange and 502c33ae0d81, 3326454d70f5 for Android M5 permaorange. 2011-09-03 12:22:10 +02:00
Jason Orendorff
fc46d30c40 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Igor Bukanov
8967d42c52 bug 683862 - Using JSGCTraceKind in the public API. r=luke 2011-09-01 20:43:46 +02:00
Michael Wu
9e3770c179 Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Peter Van der Beken
9d4ea907f0 Fix for bug 659581 (Clear debugger activation callback after calling it). r=brendan. 2011-05-25 10:46:51 +02:00
Ed Morley
6ab78aeb08 Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky 2011-06-01 03:07:00 -07: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
Chris Leary
2390946de1 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
01f381a58e Bug 577910 mark DEBUG only variables as ifdef DEBUG in jsd
r=biesi
2010-07-11 15:38:58 +03:00
Steve Fink
7aaa640506 Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke) 2011-02-11 17:12:00 -08:00
Andreas Gal
fb3d7107f5 Backed out changeset dd5c76d35ac4 (bug 632343). 2011-02-14 23:29:39 -08:00
Luke Wagner
b299816f62 Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke) 2011-02-11 17:12:00 -08:00
Steve Fink
454a41dcd8 Bug 633016 - Prevent jsdScripts from leaking by always hooking script creation/destruction (r=gal) 2011-02-11 13:22:58 -08:00
Steve Fink
675ea5a1a8 Bug 632544 - JSD_GetJSFunction can return NULL (r=dmandelin) 2011-01-28 16:54:42 -08:00
Steve Fink
a22a45a328 Bug 628758 - Various compartment and request fixes for JSD (r=luke) 2011-01-27 18:31:48 -08:00
Steve Fink
421fe21061 Bug 632314 - Clean up ephemeral stack frames (r=timeless) 2011-02-07 17:34:15 -08:00
Steve Fink
2d751432a4 Bug 629242 - Declare, error check for EnableSingleStepInterrupts (r=dmandelin) 2011-01-31 15:01:08 -08:00
Steve Fink
185af65e8c Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker) 2011-01-20 22:10:54 -08:00
Steve Fink
435a837a84 Bug 627758 - Handle cancelled GC runs properly (r=dmandelin) 2011-01-31 15:00:52 -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
6bd2319c59 Bug 620420 - jsds_InvalidateAllEphemerals can use a do {} while() loop, r=brendan 2010-12-20 17:12:00 -08:00
Luke Wagner
3cb920c302 Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Andrew Drake
e82dbb8d98 Bug 617870, rest of bug 609141 - Cross-compartment calls for JSD, add JSScript* option for JS_EnterCrossCompartmentCall. r=jorendorff 2010-12-14 13:24:00 -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
Blake Kaplan
f19212d6bf Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer 2010-11-03 18:04:22 -07:00
Robert Sayre
ae2268f0d0 Follow-up fix for bug 595243. Don't try to place non-main thread scripts in debug mode, and don't attempt to set debug mode from a non-main thread. r=gal 2010-10-30 15:07:46 -04:00
Robert Sayre
b33c75529c Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00
Jeff Walden
d2ffe8c4fa Backed out changeset 85feecf161fe (Career Limiting Move? <http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15>), seems to have turned mochitest-plain-4 orange. 2010-10-29 22:31:12 -07:00
Robert Sayre
4ecf143a8f Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
Blake Kaplan
e6433b92e1 Bug 607174 - Add assertions to jsdbgapi.cpp and enter compartments where it isn't possible for the caller to do so. landing with r=gal 2010-10-26 19:48:51 -07: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