Commit Graph

98 Commits

Author SHA1 Message Date
Steve Fink
ff6423c5f3 Bug 751398 - Make jsdService participate in cycle collection for all of its hooks. r=khuey
--HG--
extra : rebase_source : dd85ac1398037964cb729afb4c0d6ace07387c7b
2012-04-30 13:58:38 -07:00
Tom Schuster
889e3a0487 Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger 2012-05-11 17:46:26 +02:00
Ed Morley
4c4c3cfd18 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Tom Schuster
6e0861373a Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
--HG--
extra : rebase_source : edf2077f8b8bad1970eab6ebe9996e761d4e596c
2012-05-11 17:46:26 +02:00
Steve Fink
34c21a01f5 Bug 751396 - Fire slice callbacks only for "outer" GCs. r=billm
--HG--
extra : rebase_source : d30a5157d0f87bbc691ddf1cd0598974d0e509fc
2012-05-03 12:32:37 -07:00
Igor Bukanov
d3018bc6d8 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
212769b040 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Matt Brubeck
b2985cd260 Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes 2012-02-29 16:18:22 -08:00
Igor Bukanov
2e914758d0 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
David Mandelin
60e80d55b6 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Bill McCloskey
6b3aa0565d Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Ms2ger
2ebe58f6e7 Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo 2012-01-11 09:23:05 +01:00
Ms2ger
161d20a31f Bug 708754 - Use IDL for jsdIDebuggerService::WrapValue and remove WrapJSValue; r=bholley 2011-12-18 11:12:26 +01:00
Ms2ger
5741fb5bb9 Bug 705444 - Use IDL for jsdIValue::GetWrappedValue; r=bholley 2011-12-18 11:07:22 +01:00
timeless@mozdev.org
a9696861ac Bug 700302 - Handle null script filenames (r=sfink)
--HG--
extra : rebase_source : 18a1c744b796ca021fa37ff4676a46d78229cd56
2011-11-11 11:35:06 -08:00
Boris Zbarsky
098046172c 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
2a602a5685 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
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Igor Bukanov
9dc4e22f8a bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff 2011-09-02 08:46:00 +02:00
Jason Orendorff
367c025c85 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Marco Bonardo
2c9501a685 Backout e2807e45402c for Android b-c permaorange and 502c33ae0d81, 3326454d70f5 for Android M5 permaorange. 2011-09-03 12:22:10 +02:00
Jason Orendorff
a622e35128 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05:00
Igor Bukanov
c89518270e bug 683862 - Using JSGCTraceKind in the public API. r=luke 2011-09-01 20:43:46 +02:00
Michael Wu
bfc8ebbc5c Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Peter Van der Beken
6c570f85d2 Fix for bug 659581 (Clear debugger activation callback after calling it). r=brendan.
--HG--
extra : rebase_source : 41c42ca1ba657b58cb91cb5ed616f9536789ef99
2011-05-25 10:46:51 +02:00
Ed Morley
5f60af28bb Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky 2011-06-01 03:07:00 -07:00
Steve Fink
715faebf0e Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless)
--HG--
extra : rebase_source : a7d66e9ec47ccedfdf1abc3c1d339629c7eb5f3d
2011-03-03 10:11:54 -08:00
Steve Fink
093e050f1b Backout 8d39d7a5b85c 2011-05-24 16:53:07 -07:00
Steve Fink
baaa9a6514 Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless) 2011-03-03 10:11:54 -08:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
timeless@mozdev.org
26619ba869 Bug 577910 mark DEBUG only variables as ifdef DEBUG in jsd
r=biesi
2010-07-11 15:38:58 +03:00
Steve Fink
86e9633eff 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
abcd4c32b1 Backed out changeset dd5c76d35ac4 (bug 632343). 2011-02-14 23:29:39 -08:00
Luke Wagner
bc1bb93fb2 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
bdc2d97478 Bug 633016 - Prevent jsdScripts from leaking by always hooking script creation/destruction (r=gal)
--HG--
extra : rebase_source : 93f446ba1cda0cc56659da9773ab99670d3516b8
2011-02-11 13:22:58 -08:00
Steve Fink
e4a3e6541e Bug 632544 - JSD_GetJSFunction can return NULL (r=dmandelin) 2011-01-28 16:54:42 -08:00
Steve Fink
2af7d0908f Bug 628758 - Various compartment and request fixes for JSD (r=luke)
--HG--
extra : rebase_source : 98a06e6f9c7528ebbdbaa445d7cc8e28973d5d02
2011-01-27 18:31:48 -08:00
Steve Fink
e5c82a1fa9 Bug 632314 - Clean up ephemeral stack frames (r=timeless)
--HG--
extra : rebase_source : f8190baf0a3e46c94933dcdea512e4f6ea922a67
2011-02-07 17:34:15 -08:00
Steve Fink
7b5ff04357 Bug 629242 - Declare, error check for EnableSingleStepInterrupts (r=dmandelin) 2011-01-31 15:01:08 -08:00
Steve Fink
61565d4634 Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker)
--HG--
extra : rebase_source : ee656687d36620cad69d415baa9a71748154b563
2011-01-20 22:10:54 -08:00
Steve Fink
6a333d3f55 Bug 627758 - Handle cancelled GC runs properly (r=dmandelin)
--HG--
extra : rebase_source : a215df78cb2bedb190f8655df4cd5b7dd6ec5f3a
2011-01-31 15:00:52 -08:00
Igor Bukanov
7c65c6fde5 bug 624880 - renaming JSD public API to reflect the signature change. r=timeless 2011-01-29 22:40:29 +01:00
timeless@mozdev.org
3a8d5e7ecf Bug 620420 - jsds_InvalidateAllEphemerals can use a do {} while() loop, r=brendan 2010-12-20 17:12:00 -08:00
Luke Wagner
2fc61cf52e 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
d2355b6bb9 Bug 617870, rest of bug 609141 - Cross-compartment calls for JSD, add JSScript* option for JS_EnterCrossCompartmentCall. r=jorendorff
--HG--
extra : rebase_source : bc60e91a6804470e28038cc62e60eca16710776c
2010-12-14 13:24:00 -08:00
Steve Fink
4187f585f2 Bug 610793 - Add a per-script enableSingleStepInterrupts() to JSD [r=dmandelin]
--HG--
extra : rebase_source : 248eb8bf3d3a94cce626614da2be1449c8b27a8f
2010-11-16 15:18:35 -08:00
Igor Bukanov
3717953163 Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap 2010-11-24 17:56:43 +01:00
Blake Kaplan
a4b38abdeb Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer 2010-11-03 18:04:22 -07:00
Robert Sayre
aecb00a979 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
03513401da Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal. 2010-10-30 12:13:02 -04:00