Bobby Holley
75a3219ca6
Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part1. r=luke
2012-04-05 09:38:47 +10:00
Doug Turner
372d681311
Backout of fd4b5485c24f (Bug 704147)
2012-04-04 14:31:09 -07:00
Josh Matthews
ee611c89d9
Bug 704147 - Make ctypes function pointers callable via call and apply. r=bholley
2012-02-14 16:26:05 -05:00
Daniel Holbert
6fdccfb996
Bug 742438: Fix straggling bool-vs-NULL comparison after HashSet::put return-type change. r=terrence
2012-04-04 11:18:18 -07:00
Igor Bukanov
2f97ce3e53
bug 737365 - followup to fix !JS_THREADSAFE build. r=none
...
--HG--
extra : rebase_source : 949296487fa23ae991adc29a9ecf66d79d7fbef0
2012-04-04 18:05:51 +02:00
Igor Bukanov
45bee87157
Bug 737365 - stop using the cx during finalization, part 3.
...
This part removes the usage of JSContext* during the finalization and
when sweeping the compartments. That required to change quite a few
methods in type inference, jit and debugger implementation to take a
FreeOp rather than JSContext pointer. In turn that also often required
to replace cx->compartment usage with extracting the compartment from
the passed objects or pass the compartment explicitly. On the plus side
it allowed to remove fallible compartment enter code in methods that
could be called during finalization.
2012-03-20 11:22:05 +01:00
Igor Bukanov
637a51f167
Bug 737365 - stop using the cx during finalization, part 2.
...
This parts removes the usage of JSContext* during the finalization in
Web Workers and JS shells implementations. With this chnages JSContext * is only
accessed during the finalization in the SpiderMonkey implementation.
2012-03-19 15:34:58 +01:00
Igor Bukanov
83623b313c
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Nicholas Nethercote
85b9728d6c
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
Phil Ringnalda
747b3f94e9
Back out 6c435c96f10a (bug 736591) for Mac jsreftest orange
2012-04-03 21:03:30 -07:00
Terrence Cole
f59cad57a1
Bug 742114 - Remove duplicate marking of TypeObject::interpretedFunction; r=billm
...
This looks like a merge conflict that I didn't resolve correctly. I also took
the liberty of re-ordering the marking here to match what's in MarkChildren and
the declaration ordering of TypeObject.
--HG--
extra : rebase_source : 33beeb5ea33f8238f6d4d17c223d29acdbfa9457
2012-04-03 18:33:41 -07:00
Jeff Walden
46af83cd2e
Bug 736591 - Ensure that StringBuffer never allocates more memory than is needed to represent a maximum-sized string. Thanks for the technique/idea go to Luke. r=luke
...
--HG--
extra : rebase_source : 3c35b6ac2541425812c57bc76374a43c3a554bbe
2012-04-03 17:18:46 -07:00
Masatoshi Kimura
658c5c654e
Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke
2012-04-03 20:08:28 -04:00
David Rajchenbach-Teller
5e7c5be79b
Bug 684017 - Implement ctypes.errno and ctypes.winLastError. r=jorendorff
2012-04-02 15:38:20 +02:00
Jeff Walden
ced20c2644
Remove an unnecessary declaration that seems to be causing link errors only on Windows with some compilers. Followup to bug 739380, r=bustage
2012-04-03 09:10:22 -07:00
Justin Lebar
c7747cbafe
Bug 738624 - Add ghost windows to about:compartments. r=njn
...
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Nicholas Nethercote
517f27753a
Backout 2f9b6bdf63f7 (bug 739512) due to a bad V8 regression. r=me.
2012-04-02 18:02:54 -07:00
Bill McCloskey
5019ff0713
Bug 716142 - Multi-compartment GC (r=igor,jorendorff)
2012-04-02 17:02:25 -07:00
David Mandelin
60a558fc76
Bug 737780: diagnostic for crashes in GetNameFromBytecode, r=luke
2012-04-02 11:31:37 -07:00
Terrence Cole
1affc4df58
Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=Waldo
...
We still have to continue building and linking jsdhash.cpp for XPConnect, but
this kills the remaining users in SpiderMonkey proper.
2012-03-30 10:33:20 -07:00
Terrence Cole
f55deb7328
Bug 741005 - Remove XPCNativeWrapperMap; r=bholley
...
This appears to be completely unused.
2012-03-30 15:56:35 -07:00
Matt Brubeck
6b29960c06
Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
...
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Jeff Walden
45d2b24110
Bug 739380 - Begin to implement element definition. r=bhackett
...
--HG--
extra : rebase_source : 25fff9bc91610457feaaf45faa8d42dfec162384
2012-03-21 13:32:55 -07:00
Jeff Walden
9d6d3d9a2e
Bug 739380 - Define an ElementsHeader base class for all element subtypes, and define meaningful subclasses through which to use an ElementsHeader. r=bhackett
...
--HG--
extra : rebase_source : adb6feb2278c3130ec890d0e38b7bf1dd9e7e1e1
2012-03-21 13:32:55 -07:00
Matt Brubeck
ee9f4c7f0f
Merge mozilla-central to mozilla-inbound
2012-04-02 11:03:29 -07:00
Matt Brubeck
82e8c9aa19
Merge last green changeset from inbound to mozilla-central
2012-04-02 10:41:37 -07:00
Nicholas Nethercote
4ba621903e
Bug 739512 - Patch 6: improving naming of PCCount-related stuff. r=bhackett.
2012-04-01 13:24:56 -07:00
Nicholas Nethercote
d4cf675fb5
Bug 739512 - Patch 5: remove JITScript::arityCheckEntry. r=dvander.
2012-04-01 13:24:52 -07:00
Kyle Huey
8a52e3998a
Bug 722671: Components.utils.getWeakReference should get a reference to the underlying native object if possible. r=mrbkap
2012-04-01 19:21:13 -07:00
Ed Morley
7b8f9d67b3
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Ed Morley
3fd9c7c059
Backout 82c315c0bd14 (bug 644608) for suspected SHARED_LIBRARY_LIBS_DEPS issues on a CLOSED TREE
2012-03-31 13:18:29 +01:00
Mike Hommey
3d4817cf81
Bug 644608 - Implement full dependencies for expandlibs. r=ted
2012-03-31 09:24:39 +02:00
Peter Van der Beken
c2e642fbcc
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Terrence Cole
b1a071267e
Backout 00f2e1e9adc2 after mq malfunction.
2012-03-29 17:52:45 -07:00
Terrence Cole
f39a8777a1
Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap
2012-03-27 09:55:55 -07:00
Peter Van der Beken
42c9f22f81
Fix for bug 740064 (Refactor XrayWrapper). r=bholley.
...
--HG--
extra : rebase_source : 60559d74b10761a794d83a0a63dc60a92b2d48eb
2012-03-27 16:31:37 -07:00
Nicholas Nethercote
09e440360c
Bug 739512 - Patch 2: space-optimize representation of closedArgs and closedVars. r=dvander.
...
--HG--
extra : rebase_source : 8738fae7581265ba464899c9a7b6c53c118740b8
2012-03-25 17:07:33 -07:00
Terrence Cole
196698e430
Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=?
...
This does not build jsdhash.cpp for SpiderMonkey, but does keep it in tree for
the remaining users in xpconnect.
--HG--
extra : rebase_source : 5780e1e024a247d619a548541ad84cbeeba6c75b
2012-03-23 16:00:01 -07:00
Bobby Holley
9dd40d82fa
Bug 740469 - JSNative->JSFunction fixup should happen in DefinePropertyById, not DefineProperty. r=luke
2012-03-29 13:34:36 -07:00
Dão Gottwald
82a7617222
Backed out changeset 6cb9adc02c12
2012-03-29 20:35:49 +02:00
Masatoshi Kimura
a899025dda
Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke
2012-03-29 19:49:21 +02:00
Doug Turner
1971e5dc9f
Bug 739760 - doubles and floats can't be used in dictionaries. r=khuey
2012-03-29 00:05:44 -07:00
Luke Wagner
bcfb0e3bd1
Bug 733793 - Check for null return from JS_ObjectToOuterObject (r=bholley)
...
--HG--
extra : rebase_source : 2b7fbb3a72f641785de7f7707e9b6e8013b4eb6d
2012-03-28 16:15:38 -07:00
Andrew McCreight
a59c979d1b
Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug
2012-03-28 21:51:46 -07:00
Andrew McCreight
6b700b5814
Bug 712735 - Don't add JS holders with no gray children as XPConnect roots. r=smaug
2012-03-28 21:23:01 -07:00
Nicholas Nethercote
ad6b9f4dc9
Bug 739512 - Patch 1: remove JSScript::cookie[12] and reorder JSScript members. r=wccloskey.
...
--HG--
extra : rebase_source : 825a78faae71c837fca3a3b9c9bee3a1d1ba85ab
2012-03-22 18:26:34 -07:00
Jim Blandy
3261f95478
Bug 740542: Implement Debugger.prototype.wrap. r=jorendorff
2012-03-31 23:26:37 -07:00
Boris Zbarsky
102b2ce8c9
Bug 739541. Add faster versions of JS_ValueToNumber and JS_ValueToECMAInt32. r=dmandelin
2012-03-28 16:35:21 -07:00
Ben Turner
f41653e7d9
Bug 737911 - 'Shrink bits for CACHED_PROTO_KEYs and add two new JSClass flags for the new DOM bindings'. r=lukew.
2012-03-28 14:50:31 -07:00