Commit Graph

342 Commits

Author SHA1 Message Date
Jon Coppeard
19ed4f05c2 Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Gregory Szorc
51faf012ef Bug 784841 - Part 18s: Convert /js; r=glandium 2013-02-25 12:47:22 -08:00
Steve Fink
2a42a7a9fb Bug 838014 - More rooting in Debugger, plus some minor rooting in JSD and xpconnect for some should-be-private JSAPI changes. r=terrence
--HG--
extra : rebase_source : 46febe5421f6e1901f0d5ac2707fb3fdde1894db
2013-02-12 12:27:02 -08:00
Bobby Holley
e03bc92cec Bug 831076 - Enter a compartment in jsd. r=mrbkap 2013-02-04 15:13:14 +00:00
Bill McCloskey
0b41061a2c Bug 751618 - Add js/GCAPI.h (r=terrence) 2013-01-27 12:35:12 -08:00
Jan de Mooij
223b6a2efc Bug 833817 part 3 - Replace JSStackFrame with JSAbstractFramePtr. r=luke 2013-01-25 09:49:29 +01:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Terrence Cole
b97ee61fd5 Bug 811060 - Move DeflateString out of jsstr and make it Typey; r=Waldo
--HG--
extra : rebase_source : 9d239c525e8b0c04a63770d4ed732c9c6da54a2c
2012-11-09 09:45:25 -08:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Bill McCloskey
f13e8e29d9 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
David Anderson
7b70ee195a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
9e81520770 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
Luke Wagner
c692b48100 Bug 786068 - make JS_EnterCrossCompartmentCall infallible (and call it JS_EnterCompartment) (r=sfink) 2012-08-27 13:32:51 -07:00
David Anderson
fd50a14c90 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
f3d3148ca7 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
David Anderson
348793a989 Remove JS_FrameIterator (bug 732653, r=luke,mrbkap). 2012-08-15 17:28:33 -07:00
Ehsan Akhgari
8c296bbcd4 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
Nicholas Nethercote
015b5205c6 Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/ (attempt 2). r=luke.
--HG--
rename : js/src/jshash.cpp => js/jsd/jshash.cpp
rename : js/src/jshash.h => js/jsd/jshash.h
2012-07-18 17:38:10 -07:00
Terrence Cole
c2e391d0f5 Bug 501536 - Make jsd compile as C++; r=luke
This should be the last real C consumer of JS-API in mozilla-central.

--HG--
rename : js/jsd/jsd_atom.c => js/jsd/jsd_atom.cpp
rename : js/jsd/jsd_high.c => js/jsd/jsd_high.cpp
rename : js/jsd/jsd_hook.c => js/jsd/jsd_hook.cpp
rename : js/jsd/jsd_java.c => js/jsd/jsd_java.cpp
rename : js/jsd/jsd_lock.c => js/jsd/jsd_lock.cpp
rename : js/jsd/jsd_obj.c => js/jsd/jsd_obj.cpp
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_step.c => js/jsd/jsd_step.cpp
rename : js/jsd/jsd_text.c => js/jsd/jsd_text.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
rename : js/jsd/jsdebug.c => js/jsd/jsdebug.cpp
rename : js/jsd/jsdstubs.c => js/jsd/jsdstubs.cpp
2012-09-04 09:02:03 -07:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Luke Wagner
48412c861d Bug 625199 - kill dummy frames (r=mrbkap)
--HG--
extra : rebase_source : df4e3bddabf20cdc5b9122370fa62b40e64177c7
2012-08-17 18:05:06 -07:00
Steve Fink
51e7c767ae Bug 756267 - Move the internal logic to only call script destroy hook if create hook was called from inside the JS engine to JSD, and add a flag for controlling it. r=jorendorff
--HG--
extra : rebase_source : f561d1d2acf5980f2efd9faf019317bb3306e9b1
2012-08-17 10:23:21 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Benjamin Peterson
1c1e824772 Bug 780051 - Remove JS_MAX and JS_MIN. r=luke 2012-08-02 20:50:51 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Luke Wagner
b844e5f326 Bug 772285 - rm JSPD_ARGUMENT/JSPD_VARIABLE (r=sfink)
--HG--
extra : rebase_source : 7be9ea3e5e90be9abd65f7d5268741e453cc717b
2012-07-10 15:34:12 -07:00
Nathan Froyd
5b30baa4c3 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Luke Wagner
0c274df8bd Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff)
--HG--
extra : rebase_source : f1ead9226915f72473a01db0a1019cdbe50c8e92
2012-06-20 08:57:29 -07:00
Ehsan Akhgari
8a5e6af383 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
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Luke Wagner
8c486830fd Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm) 2012-08-31 15:01:33 -07:00
Jason Orendorff
31a1022fa0 Bug 753542 - Add prefs to enable/disable E4X (javascript.options.xml.content and .chrome). r=bsmedberg, sr=jst. 2012-06-06 21:52:14 -05:00
Jason Orendorff
d0e13c7d3f Bug 753885 - Part 2: Add JSOPTION_ALLOW_XML, making E4X support optional per-context. r=Waldo. 2012-05-30 15:05:59 -05:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Luke Wagner
d7522046db Bug 690135 - create scope objects eagerly or not at all (r=jimb)
--HG--
extra : rebase_source : 6b1e37699e0556685b1ed88fa15ab380428b6ffa
2011-12-20 17:42:45 -08:00
Steve Fink
1b16f82893 Bug 723712 - Test for !isCachedEval assertion failure. r=test
--HG--
extra : rebase_source : a88931728024e9045947cee4b3e6a5a82030909d
2012-04-16 11:44:10 -07:00
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
9dedd97230 Bug 730208 - Root JSD's pet global so it can't participate in CC cycles. r=billm
--HG--
extra : rebase_source : 9bf6a12faedab111efee048af0e543b2c1881782
2012-03-20 21:29:47 -07:00
Steve Fink
4817a993d2 Bug 748937 - Switch JSD destroyScript signature from JSContext -> JSFreeOp. r=jorendorff
This is a warning fix only; JSD doesn't use the argument anyway.

--HG--
extra : rebase_source : 9529bdbfbb387cc03b29abef780e45abb881ed43
2012-04-27 11:49:57 -07: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
Matt Brubeck
657b0b8a57 Back out bug 730208 and bug 747543 because of xpcshell test failures 2012-04-24 20:47:16 -07:00
Steve Fink
c8e72b6a54 Bug 730208 - Root JSD's pet global so it can't participate in CC cycles. r=billm
--HG--
extra : rebase_source : 9211b881e0c0931bd7df16989bed492449b1c74f
2012-03-20 21:29:47 -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
Nicholas Nethercote
ba5600fd65 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Nicholas Nethercote
256772d52e Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
1859bc3ea6 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Igor Bukanov
ed3f5972bd bug 736978 - remove JS_FinalizeStub. r=:billm
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.

To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01: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
David Mandelin
381d879c71 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
5be5dda12e Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Bill McCloskey
6b3aa0565d Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Igor Bukanov
748c9f34a7 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
38fe4ed717 backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Igor Bukanov
e4e3433d0c bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Igor Bukanov
3163d5e91e bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01: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
Blake Kaplan
1e06975ffc Bug 689118 - Protect against JSVAL_IS_OBJECT(null) being true. r=luke 2012-01-04 17:45:02 +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
Jeff Walden
476c7d19c5 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
Brian Hackett
998e1208e3 Don't try to correlate scripts with functions in JSD interface, bug 707613. r=luke 2011-12-07 13:41:27 -08:00
Brian Hackett
e970326d58 Add API for JSD to get the parent of a scope object, no bug. 2011-11-28 07:43:31 -08:00
Steve Fink
839d24cc7c Bug 689101 - Test for firebug incompatibility due to jsval ABI mismatch (r=test)
--HG--
extra : rebase_source : 59b1fc17afc25d19d729b9c7955fedbd3bb07d85
2011-10-10 15:06:28 -07:00
Jim Blandy
87641064c1 Bug 701274: Make jsd_ThrowHandler return the proper JSTrapStatus value, not JSD_HOOK_RETURN_CONTINUE_THROW. r=sfink 2011-11-15 08:04:58 -08: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
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Paul Biggar
55acc99945 Bug 666049 - Remove JSFloat64, float64 and float32 r=luke
--HG--
extra : rebase_source : cde4c4d059ca8dde49d2570c87f52824cccc47a2
2011-06-21 15:07:02 -07: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
Brian Hackett
e89780c40d Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07: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
Atul Aggarwal
70ea895999 Bug 678988 - "potential null pointer dereference in js/jsd/jsd_scpt.c" [r=sphink] 2011-08-28 07:48:00 -07:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Phil Ringnalda
13498484cb Back out 66845f1a3aad (bug 672893) for debug startup crashes 2011-08-06 15:31:30 -07:00
Jason Orendorff
8d922115b9 Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary. 2011-08-06 16:05:25 -05: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
Jeff Walden
d336c82cfa Bug 470791 - Remove all users of the long-obsolete JSLL_* macros. r=jimb
--HG--
extra : rebase_source : 106b723b49d54dcd86ec67eaa50ca919bc8e5845
2011-06-09 01:13:03 -07:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07: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
457647eddb Test for bug 638178 - new feature getExecutableLines (r=timeless)
--HG--
extra : rebase_source : d29194bf998a6dfcb2fadd5e2186d4d64396bd6f
2011-03-03 10:11:54 -08: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
d4de79130b Backout 6358f05bdd6d 2011-05-24 16:52:46 -07:00
Steve Fink
72421370af Test for bug 638178 - new feature getExecutableLines (r=timeless) 2011-03-03 10:11:54 -08: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
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Igor Bukanov
10724eed0a Bug 641048 - adding proper constructor/destrictor to JSTHread/ThreadData 641048. r=luke r=mrbkap 2011-03-13 15:45:02 +01:00
Chris Leary
93970628c1 Merge mozilla-central to tracemonkey. 2011-04-02 12:12:45 -07:00
Steve Fink
f24c9d54bb Bug 639943 - Convert IDL formatting to JS engine house style (r=timeless) 2011-03-26 12:05:40 -07:00
Chris Leary
733f538571 Merge mozilla-central and tracemonkey. 2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7 Merge mozilla-central to tracemonkey. 2011-03-29 09:05:25 -07:00
Luke Wagner
6617dd4c5a Bug 646380 - jsd_GetValueString needs to null out 'call' after leaving the cross compartment call (r=sphink) 2011-03-31 15:29:44 -04:00
timeless@mozdev.org
f8420fb5f2 Bug 586731 jsd_NewSourceText leaks new_url_string ifndef LIVEWIRE
r=biesi
2011-03-28 16:49:16 -04: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
530d5125c2 Bug 635298 - Check return value of JS_ValueToString() (r=luke, a=gal)
--HG--
extra : rebase_source : 578154e99a3192c7c6610f62b181bf222373b834
2011-02-18 14:27:00 -08:00
Chris Leary
ad3af1b94e Merge mozilla-central to tracemonkey. 2011-02-17 10:36:55 -08: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
Chris Leary
a718b751ed Merge tracemonkey to mozilla-central. (a=blockers) 2011-02-15 12:05:57 -08:00
Gijs Kruitbosch
ecb7086c9a Bug 633833 - Add function keyword to all the single function JSD interfaces, r=timeless, a=bzbarsky 2011-02-14 17:14:07 +01: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
Steve Fink
8470e15e9e Bug 624316 - Unwrap wrapped functions before returning them to JSD to see the contained script and name, r=gal, a=blocker
--HG--
extra : rebase_source : cd15aed41ace6f368ef5f149cd88f32c9dfd1aa5
2011-01-11 14:24:52 -08:00
Steve Fink
c4756a5628 Test loosely connected to bug 617870 - check whether JSD's topLevelHook and functionHook callbacks are invoked properly (r=test) 2010-12-10 11:39:46 -08: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
Igor Bukanov
4397c04f6b Bug 619641 - making jsd to return "anonymous" for nameless functions, not an empty string, for compatibility with Firebug. r=adrake 2010-12-23 22:41:57 +01:00
timeless@mozdev.org
9e36477daf Bug 617964 jsd_NewValue leaks jsdval when JS_EnterCrossCompartmentCall fails, r=jorendorff 2010-12-09 13:14: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
timeless@mozdev.org
b408951f41 Bug 615361 warning: cast from pointer to integer of different size in jsd
r=bz

--HG--
extra : rebase_source : 6f2dc7c2ba4b0367a8723bae01ce3797d193ff0d
2010-12-04 11:05:45 +01:00
Igor Bukanov
d34f057e79 bug 607292 - eliminating JS_GetStringBytes and friends. r=gal 2010-11-08 13:17:31 +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
Jeff Walden
ff603e73f4 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
19cc79ccf3 Bug 595243 - Expose debugMode to JSD. r=gal 2010-10-29 18:35:07 -04:00
Blake Kaplan
f4cc477379 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
--HG--
extra : rebase_source : f0e69380a0ef144e07af7d75b859712fe67bb753
2010-10-26 19:48:51 -07:00
Blake Kaplan
babfa71137 Bug 606357 - Make jsd values not compartment mismatch. r=gal
--HG--
extra : transplant_source : %DD49k%A8%D8%92p%1EC%07NKU%9D%BFY8%A0U
2010-10-25 12:12:32 -07:00
David Anderson
2f0a83a27d Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin). 2010-10-15 11:36:56 -07:00
David Anderson
e0dffc93d5 Merge backout. 2010-10-15 15:29:31 -07:00
David Anderson
61f242f7aa Backed out changeset 2bdf648e7015 2010-10-15 15:21:51 -07:00
David Anderson
3c809907f5 Merge backout. 2010-10-15 14:19:06 -07:00
David Anderson
cae2e1860d Bumped JSD uuid. 2010-10-15 14:18:13 -07:00
David Anderson
c7c5f82ff4 Backed out changeset 1998fa240434 2010-10-15 14:13:59 -07:00