Steve Fink
5604d8377e
Bug 838014 - More rooting in Debugger, plus some minor rooting in JSD and xpconnect for some should-be-private JSAPI changes. r=terrence
2013-02-12 12:27:02 -08:00
Bill McCloskey
cdd3c037a9
Bug 751618 - Add js/GCAPI.h (r=terrence)
2013-01-27 12:35:12 -08:00
Trevor Saunders
c55a85644c
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Terrence Cole
7a43850c83
Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
2012-11-09 09:45:25 -08:00
Benoit Jacob
c995bc9e1e
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luke Wagner
e633be6975
Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink)
2012-08-27 13:32:51 -07:00
Luke Wagner
55107a5229
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
2012-08-21 18:42:53 -07:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Luke Wagner
6a3d613941
Bug 772285 - rm JSPD_ARGUMENT/JSPD_VARIABLE (r=sfink)
2012-07-10 15:34:12 -07:00
Ehsan Akhgari
6878714627
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (jsd parts); r=Waldo
2012-06-12 23:45:08 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Steve Fink
fb6ec4516e
Bug 751398 - Make jsdService participate in cycle collection for all of its hooks. r=khuey
2012-04-30 13:58:38 -07:00
Tom Schuster
3e4631aed6
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Ed Morley
19964dd5df
Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange
2012-05-11 18:25:52 +01:00
Tom Schuster
19513e0e0d
Bug 752226 - Remove any use of JSVAL_IS_OBJECT. r=luke,Ms2ger
2012-05-11 17:46:26 +02:00
Steve Fink
586d117fc9
Bug 751396 - Fire slice callbacks only for "outer" GCs. r=billm
2012-05-03 12:32:37 -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
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