Eric Faust
29e32d6fb7
Bug 793284 - Use non-freezing checks in TestCommonPropFunc() to avoid bogus invalidations. (r=djvj)
2012-09-26 19:02:56 -04:00
Eric Faust
30183ad75c
Bug 792166 - Fix incorrect handling of |delete| in common accessor checking. (r=djvj)
2012-09-26 19:02:56 -04:00
Terrence Cole
7b707cf94e
Bug 793823 - Exactly root Bindings when on the stack; r=billm
...
Currently, we rely on the marking of the origin script to keep the stack
binding's data live. This will not work with a moving GC.
2012-09-24 15:18:34 -07:00
Steve Fink
644ee82385
Bug 794494 - Clear the right buffer link when pruning and reversing the list of ArrayBufferViews. r=billm
2012-09-26 14:24:37 -07:00
Sean Stangl
1e3fd51930
Bug 794025 - Detect IC purging in JM generateNativeStub(). r=dvander
2012-09-26 14:53:16 -07:00
Terrence Cole
daa912f873
Bug 794365 - Correctly finalize StaticStrings; r=billm
...
The StaticStrings were getting kept alive past the final GC. This did not
matter before because we never needed to free external characters. With
uninlining this assumption is no longer true.
--HG--
extra : rebase_source : 6d40aa130c582366f2effe16b5af67157824e37f
2012-09-26 14:17:55 -07:00
Terrence Cole
68f1a7379e
Bug 791322 - Move Rooted to js:: namespace; r=billm
...
These should not be part of the public API.
--HG--
extra : rebase_source : 00a69ee54f06e3f557cd9ec2f3b059df10aa32df
2012-09-24 18:08:22 -07:00
Bill McCloskey
b30e41fd01
Bug 787856 - Use lazy protos for cross-compartment wrappers (r=bholley)
2012-09-03 16:42:22 -07:00
Bill McCloskey
2e75082f62
Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett)
2012-09-03 16:42:17 -07:00
Bill McCloskey
88913893e5
Bug 787856 - Convert js::GetObjectProto to support lazy protos (r=bhackett)
2012-09-03 16:42:10 -07:00
Bill McCloskey
8d91040b33
Bug 787856 - Initial support for lazy prototypes (r=bhackett)
2012-09-26 09:49:20 -07:00
Kannan Vijayan
8adaf120df
Bug 790051 - Add IonMonkey OOLNativeGetterExitFrame to support callouts to native getters from OOL IC stubs. (r=jandem)
2012-09-26 12:05:50 -04:00
Makoto Kato
10e687271c
Bug 793583 - Remove WINCE related code from js/src. r=luke
2012-09-26 15:48:41 +09:00
Makoto Kato
038020cd78
Bug 697064 - Remove MOZ_CHECK_HEADERS(mmintrin.h) from configure.in. r=khuey
2012-09-26 15:48:29 +09:00
Ryan VanderMeulen
dbf93bfaec
Backout bug 792215 for suspected Windows m-oth leaks.
...
CLOSED TREE
2012-09-25 22:40:56 -04:00
Bill McCloskey
e79a3db5c5
Bug 779073 - Don't treat GC verifier as an incremental GC (r=terrence)
2012-09-25 17:04:17 -07:00
Ehsan Akhgari
697bec41a5
Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug
...
This is the full implementation of the AudioBuffer object. There are
two ways to create these objects from an audio context and this patch
implements only one of them.
The construction of the AudioBuffer object is a two step process: the
object should be created with operator new first, and then
InitializeBuffers should be called on it. InitializeBuffers is
fallible, because it uses the JS API to create the underlying typed
arrays, but that's fine, since the length of the buffers comes from web
content, and we don't want to use infallible allocations for those
anyways.
We hold on to the JS objects from the C++ implementation, and trace
through all of those objects, so that a GC does not kill those object
without us knowing.
The buffer should be possible to manipulate from both C++ and JS, and
the C++ object probably needs to support a set of methods for the C++
callers at some point.
2012-09-25 17:58:50 -04:00
Kannan Vijayan
72b7fa4f82
Bug 792215 part 2. Convert old proxy bindings to JSNative getters and setters. r=peterv,ejpbruel
2012-09-25 14:44:40 -04:00
Boris Zbarsky
84dda56591
Bug 792215 part 1. Convert quickstubs to using JSNative getters and setters. r=peterv
2012-09-25 14:44:40 -04:00
Benjamin Peterson
9108040db8
Bug 794065 - Fix array literals with spread and holes at the end. r=jorendorff
2012-09-25 14:30:37 -04:00
Steve Fink
19c3c04632
Bug 762908 followup - only null out window.SpecialPowers when window exists. r=terrence
...
--HG--
extra : rebase_source : 4a894ddf5036e42870573db212e056012f35829e
2012-09-25 11:17:47 -07:00
Steve Fink
832bf5c291
Bug 789295 - Add special multi-view array buffer sweep pass to eliminate finalizers and thus allow background sweeping. r=billm
...
--HG--
extra : rebase_source : f71b9546ad3e511fb2a32d8bc24f39ec70e2f630
2012-09-18 09:58:36 -07:00
Steve Fink
8a76dabf44
Bug 789295 - Make a BufferView superclass for ArrayBufferView types to enforce common slot numbers. r=billm
...
--HG--
extra : rebase_source : ac621999a9bc45bda2ea3c379a887a1dc5764772
2012-09-11 16:47:22 -07:00
Steve Fink
055c1fba2c
Bug 789295 - Reformat class method declarations to look like rest of spidermonkey. r=billm
...
--HG--
extra : rebase_source : 3dedf219ae696b70136d83888522dda95845a578
2012-09-18 09:58:36 -07:00
Steve Fink
d9dd6003bf
Bug 791573 - Finalize ArrayBuffers in the background. r=billm
...
--HG--
extra : rebase_source : 15fdc10c2208b0d49b822ac1ac1d5e78682bc697
2012-09-18 09:58:36 -07:00
OHZEKI Tetsuharu
b810714776
Bug 791944 - Use Object.defineProperty() instead of __defineGetter__ in XPCOMUtils.defineLazyGetter(). r=mak77
2012-09-25 11:04:25 -04:00
Jan de Mooij
94b8aa3d7d
Bug 792944 - Idempotent caches should reject singleton properties that require monitoring. r=dvander
2012-09-25 16:16:46 +02:00
Benjamin Peterson
e4341d9607
Bug 793513 - Only set properties on the rest array if it doesn't have unknown ones. r=jandem
2012-09-25 09:21:40 -04:00
Benoit Jacob
2249060a44
Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert
2012-09-25 08:49:28 -04:00
Benoit Jacob
d4fa48d92a
Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert
2012-09-25 08:49:28 -04:00
Mike Hommey
2729e13909
Bug 792685 - Add a way to have automagically inherited variable definitions in Makefiles. r=ted
2012-09-25 14:47:20 +02:00
Mike Hommey
fb05de0176
Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt
2012-09-25 14:47:18 +02:00
Ted Mielczarek
8196a1cdce
bug 792391 - Add a TARGET_LOCAL_INCLUDES variable to be used for compiling target sources only, not host sources. r=glandium
2012-09-20 09:46:04 -04:00
Nicholas Nethercote
b7796202d5
Bug 793588 (part 2) - Exactly root jsiter.{cpp,h}. r=sfink.
...
--HG--
extra : rebase_source : ffdd302bbad433d6a67e7b7ff8b631600c4a3594
2012-09-23 20:53:27 -07:00
Nicholas Nethercote
751ccd5f33
Bug 793588 (part 1) - Remove vacuous JSObject* parameter to Enumerate() et al. r=sfink.
...
--HG--
extra : rebase_source : 04aa15327f3040b19080dd8be5c169eef56ca4ca
2012-09-20 23:42:44 -07:00
David Anderson
1797f8a7f2
Use js_free on fresh slots instead of js_delete (bug 793385, r=billm).
2012-09-24 14:41:00 -07:00
David Anderson
6d84c2ecbd
Fix slot computation bug in newCallObject (bug 793257, r=luke).
2012-09-24 13:48:21 -07:00
Bobby Holley
9f03f90fb7
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Bobby Holley
2edff93f2c
Bug 792036 - Fix sandbox xpcshell tests. r=gabor
...
I want gabor to look at these.
2012-09-24 14:46:28 +02:00
Bobby Holley
515994bfb3
Bug 792036 - Add a SpecialPowers API to provide access to the Components object in various forms. r=mrbkap,ted
...
Now that window.Components is no longer acccessible to page JS, we need a way
to access it in mochitests. So this patch provides SpecialPowers.Components,
which is the bonafide Components object for the window upon which SpecialPowers
is defined. It also provides SpecialPowers.{Cc,Ci,Cr,Cu}, which are SpecialPowers-wrapped
versions of their respective sub-objects (with the exception of Ci, which is unwrapped).
2012-09-24 14:46:27 +02:00
Bobby Holley
847e24f9c1
Bug 792036 - Factor out glue code to get the JS Components object for a scope. r=mrbkap
2012-09-24 14:46:27 +02:00
Bobby Holley
98ac4b534a
Bug 792036 - Refactor AttachComponentsObject API to allow an explicit target. r=mrbkap
...
The aGlobal API is currently unnecessary, since it should always be equal to the global obtained from the scope. But we'll want to manually specify the target object in subsequent patches, so make it an optional argument that's currently never passed.
2012-09-24 14:46:27 +02:00
Bobby Holley
6fdb3137fc
Bug 783702 - Call through to get() for hasPrototype() path in getElementIfPresent(). r=ejpbruel
2012-09-24 12:05:50 +02:00
Nicholas Nethercote
4055fa6ad2
Bug 793086 (part 2) - Remove jsproto.tbl. r=jwalden.
...
--HG--
extra : rebase_source : b72b37267e5f26f2ab1e52d90673745124c760ae
2012-09-20 23:00:08 -07:00
Nicholas Nethercote
db6466781a
Bug 793086 (part 1) - Convert JSClassInitializerOp parameter to HandleObject. r=sfink.
...
--HG--
extra : rebase_source : e8d20aad8abc0bf85df1f05e90be1ce46e8f0125
2012-09-20 22:17:49 -07:00
Bill McCloskey
1f956a0bc4
Bug 788362 - 9,440 bytes in 107 blocks are definitely lost as detected by Valgrind with selectforgc. r=jcoppeard
2012-09-23 21:30:30 -04:00
Shu-yu Guo
8a60083c49
Bug 789812 - Change immutability behavior to match that of frozen Objects (r=jwalden)
2012-09-21 21:06:12 -07:00
David Anderson
7ed1ce6cf1
Invalidate scripts when forbidding compilation (bug 792552, r=jandem).
2012-09-21 16:41:23 -07:00
Jim Blandy
415825c0c7
Bug 790117: Move external profiler control functions to their own source file in js/src/builtin; drop VTune. r=sfink
...
The VTune support needed to be updated for changes to the VTune control API; that work is bug 675098.
2012-09-21 16:36:13 -07:00