Luke Wagner
b620c9004b
Bug 733310 - factor out inc/dec interpreter logic (r=bhackett)
...
--HG--
extra : rebase_source : 10d8277f4446f97e9a158f740d1a398341ac2382
2012-03-06 00:52:42 -08:00
Luke Wagner
734f4d43a6
Bug 732744 - rm AutoPreserveEnumerators (r=dvander)
...
--HG--
extra : rebase_source : f28eebcf3a3e14f4db0299b07b28f8e7a783b84a
2012-03-06 00:43:45 -08:00
David Mandelin
0822e24e67
Bug 733260 followup: use uint32_t for array and string lengths, r=luke
...
--HG--
extra : rebase_source : 1729b4b927fde0678872b9de62a7466381aa07c3
2012-03-06 15:52:55 -08:00
Bobby Holley
cbe0f99786
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Gregory Szorc
f4abd10724
Bug 729098 - Part 1/2: Create xUnit XML results file when executing xpcshell tests; r=khuey
2012-03-06 15:03:34 -08:00
Bill McCloskey
39a4df5abb
Bug 731094 - Expose a testing function that permits only deterministic GCs (r=igor)
2012-03-06 11:39:31 -08:00
Bill McCloskey
f24f98c9e3
Bug 729369 - Expose the same set of SpiderMonkey testing APIs to debug shell and debug browser chrome (r=Waldo)
2012-03-06 11:38:44 -08:00
Terrence Cole
a5a2893e5d
Bug 733372 - Fix an infinite recursion in GC marking; r=billm
...
Since the private data is sometimes packed in strange ways into the underlying
structure, we cannot just pass a reference to it to the marker. Instead, we
store the gotten value on the C stack, do marking and potentially update its
value there, then pass the updated privates location to the object using
setPrivate. If the setPrivate function triggers write barriers that end up
marking, this can recurse. For now we should simply not do this.
--HG--
extra : rebase_source : ce2607907cc66f8beaeab433e21ba302cbf1b34e
2012-03-06 11:30:25 -08:00
Matt Brubeck
e24272dc05
Back out 2fbc7d9ac670 (bug 731845) on suspicion of causing test_native_mouse_mac.xul timeouts
2012-03-06 11:05:37 -08:00
Mike Hommey
fb9fd11830
Bug 731151 - Avoid creating (and leaving around) an a.out during configure. r=khuey
2012-02-28 10:48:16 +01:00
Nicholas Nethercote
d877788df3
Bug 729403 (follow-up) - Use the right KIND for runtime/gc-marker, thus avoiding warnings about explicit mismatches. r=me.
...
--HG--
extra : rebase_source : 4625531f438d5e1e6a2e600134dee959a45e8204
2012-03-05 21:04:38 -08:00
Mark Hammond
92fde76754
Bug 728986: dump() writes to stdout instead of stderr. r=bent
2012-03-06 15:44:37 +11:00
David Mandelin
fb07fe8847
Bug 733260: remove typedef jsuint, r=luke
...
--HG--
extra : rebase_source : e8f576e1b5b189b47807c613c0cff79f5c8038e7
2012-03-05 18:43:45 -08:00
Andrew McCreight
73839b9bd9
Bug 723971 - unmark gray for shapes. r=billm
2012-03-05 18:11:29 -08:00
Bobby Holley
23e960e8cf
Bug 731845 - XPCWrappedNative::ReparentWrapperIfFound should handle preserved wrappers. r=mrbkap
2012-03-05 16:58:59 -08:00
Bobby Holley
bf482f8215
Bug 720580 - Assert that we have the global jsclass flag if and only if we're a global. r=mrbkap
2012-03-05 15:22:53 -08:00
Bobby Holley
9c7a81fdcd
Bug 720580 - Assert against creating globals in xpc_NewSystemInheritingJSObject. r=mrbkap
...
With this patch, the only call to JS_NewGlobalObject in XPConnect happens in xpc_CreateGlobalObject. \o/
2012-03-05 15:22:45 -08:00
Bobby Holley
c6f2bff359
Bug 720580 - Do the last bit of wrapped global initialization once the dust has settled. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
c811c1de89
Bug 720580 - Kill temporary globals. r=mrbkap
...
This patch breaks the "every commit is a 100% correct tree" invariant a little bit, because constructors and prototypes for DOM globals are broken (PostCreatePrototype never gets called). This is fixed in the next patch. Doing it this way makes for a cleaner series of commits, and the browser still builds and runs fine.
2012-03-05 15:22:45 -08:00
Bobby Holley
80b0c702b7
Bug 720580 - Introduce XPCWrappedNative::WrapNewGlobal. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
52cec1e1dd
Bug 720580 - Call TraceDOMPrototypes via TraceXPCGlobal, and avoid the verification process for wrapped natives. r=mrbkap
2012-03-05 15:22:45 -08:00
Bobby Holley
75bca9c1ad
Bug 720580 - Make the call to PostCreatePrototype optional. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
2c37481521
Bug 720580 - Factor out the call to PostCreatePrototype into a helper method. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
a916a97461
Bug 720580 - Accept an explicit native global during XPCWrappedNativeScope creation. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
290339924f
Bug 720580 - Manually resolve |Object| on the global in XPCWrappedNativeScope::SetGlobal() to avoid calling into the XPConnect resolve hook too early. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
6fa1a307cf
Bug 720580 - Make JSID class initialization happen on demand. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
90e916fe1a
Bug 720580 - Modify the semantics of XPCWrappedNative::FinishCreate() so that it doesn't muck around with the refcounts of its inparam. r=mrbkap
...
The current semantics involve the caller transfering ownership of the input wrapper to FinishCreate(), which is complicated and error-prone. Now that we're using nsRefPtr at the callsites, we can get rid of it.
2012-03-05 15:22:44 -08:00
Bobby Holley
00beb8f458
Bug 720580 - Use nsRefPtr instead of manual AddRef/Release in XPCWrappedNative::{GetNewOrUsed,Morph}. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
34848e85d4
Bug 720580 - Move the AutoMarkingWrappedNativePtr in XPCWrappedNative::{GetNewOrUsed,Morph} closer to where we need it. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
9b083bbde3
Bug 720580 - Stop passing isGlobal everywhere and use the nsIXPCScriptable flags instead. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
3ca761b44b
Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
...
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
5dd44b1a43
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
5541db6a29
Bug 720580 - Introduce a flag for global natives and assert that we have it. r=mrbkap
2012-03-05 15:22:44 -08:00
Bobby Holley
b103446e9c
Bug 720580 - Indicate free bits in nsIXPCScriptable.idl. r=mrbkap
2012-03-05 15:22:43 -08:00
Brian Hackett
a952a6bce4
Don't use reference to freed contents of JIT script, bug 730806. r=dvander
2012-03-05 13:25:24 -08:00
Charles Chan
8000bc23b3
Bug 724736 - Move js::StringBuffer into js/src/vm/StringBuffer{-inl.h,.cpp}. r=jwalden
...
--HG--
extra : rebase_source : 69c3319801fbe80dbe0fc150680c9ffca2e519d9
2012-03-05 12:40:11 -08:00
Brian Hackett
678734f1a5
Ensure 'for' loops have a leading JSOP_NOP, bug 732776. r=dvander.
2012-03-05 12:45:14 -08:00
Jeff Walden
aa898d4232
Bug 732669 - Box primitive values correctly when accessing properties of them. r=bhackett
...
--HG--
extra : rebase_source : c4c084557425e6d42b990ca22c10972fcc6697ce
2012-03-05 09:34:38 -08:00
Terrence Cole
333feabd4b
Bug 728343 - Make unbarriered object marking interface indirect ; r=billm
...
This will allow us to move objects that are not wrapped in a HeapPtr.
2012-02-17 11:46:11 -08:00
Ed Morley
3c657080b5
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Lebar
0bc96775ff
Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett
2012-03-04 15:58:06 -05:00
Justin Lebar
e2b30b7a56
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
fef9e78873
Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett
2012-03-04 13:49:41 -05:00
Jan de Mooij
01d6708a16
Bug 732693 - Fix bytecode emitted for o.__proto__(). r=bhackett
2012-03-03 16:27:51 +01:00
Matheus Kerschbaum
71d2922dd0
Bug 687579 part 1: Remove globalStorage implementation. r=jst
...
Bug 687579 part 1: Remove globalStorage implementation. r=jst
2011-10-09 22:14:00 -04:00
Jeff Walden
ea8d2e3b58
Silence a (newly introduced in) clang warning about adding an int to a string. No bug, r=trivial
2012-03-02 19:59:11 -08:00
Luke Wagner
c2383f11d4
Bug 730497 - preparatory parser sanity enhancements (r=jorendorff)
...
--HG--
extra : rebase_source : 4e89da8ce6b0f107fabd1944575c4c181283eeac
2012-02-27 16:36:04 -08:00
Luke Wagner
a9326528c0
Bug 731724 - don't forget about function::arguments! (r=waldo)
...
--HG--
extra : rebase_source : e782e9f06b17a7ac5c46f990092c94595b1a92cd
2012-03-02 09:32:04 -08:00
David Mandelin
ed3ba69ec8
Bug 732306: Remove typedef jsint, r=luke
...
--HG--
extra : rebase_source : 4d15a8514dbd698c114fa688461e533afab68ffa
2012-03-01 18:54:01 -08:00
aceman
4fb4663cc0
Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan
2012-03-02 17:23:01 -05:00