Jon Coppeard
0eac977006
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Jon Coppeard
25c1a75044
Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz
2014-02-12 10:50:46 +00:00
Nathan Froyd
8c27bec251
Bug 970507 - mark generated DOMIfaceAndProtoJSClass instances as const; r=bz
2014-02-10 15:11:58 -05:00
Nathan Froyd
d92e1a4ee5
Bug 957175 - reduce relocations required by NamesOfInterfacesWithProtos; r=bz
2014-02-10 10:24:38 -05:00
Jon Coppeard
2cf0941496
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Nathan Froyd
a7882503d9
Bug 969022 - remove s*_ids static constructors by explicitly tracking id initialization state; r=bz
2014-02-06 15:05:30 -05:00
Boris Zbarsky
ffb3f403df
Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv
2014-02-07 15:56:14 -05:00
Boris Zbarsky
6b987572c4
Bug 956806 part 1. Output a list of prototype names in PrototypeList.cpp. r=peterv
2014-02-07 15:50:23 -05:00
Boris Zbarsky
74a89ac0f7
Bug 965927. [StoreInSlot] and [Cached] getters should use the reflector as the scope obj when wrapping the return value. r=peterv
2014-02-06 21:08:29 -05:00
Boris Zbarsky
0a8b70c8dd
Bug 968665. Get rid of MainThreadDictionaryBase and the dictionary bits in DummyBinding, since we now codegen a single version of dictionaries for both mainthread and workers. r=khuey
2014-02-06 21:08:28 -05:00
Ehsan Akhgari
5b1bc70d7a
Bug 968643 - Part 2: Remove the [PrefControlled] WebIDL annotation; r=bzbarsky
2014-02-06 13:28:35 -05:00
Boris Zbarsky
e7be368274
Bug 964875 part 1. Add a WebIDL ChromeWindow interface for use in instanceof once Window is on WebIDL bindings. r=peterv
2014-02-05 23:36:57 -05:00
Boris Zbarsky
f419ff98ef
Bug 967694. Don't generate Xray resolveOwnProperty/enumerateOwnProperties hooks on WebIDL Xrays for plugin-loading elements, because those elements really only want to have the hook called when they're being touched by script from the same website. r=bholley
2014-02-05 13:38:18 -05:00
Boris Zbarsky
c4212635c0
Bug 965094. Reconcile the behavior of the JSObject* argument for Func on interfaces and on interface members. r=bholley
2014-02-05 13:38:18 -05:00
Boris Zbarsky
8a9788992c
Bug 963380. Improve codegen for [Cached] and [StoreInSlot] attributes that have multiple wrapping paths to have less duplicated code. r=peterv
2014-02-05 13:38:17 -05:00
Boris Zbarsky
448f681d4d
Bug 958667 part 5. Hook up AvailableIn for interface members. r=peterv
2014-02-05 13:38:17 -05:00
Boris Zbarsky
b25f7e2745
Bug 958667 part 4. Hook up an AvailableIn extended attribute for interfaces. r=peterv
2014-02-05 13:38:17 -05:00
Boris Zbarsky
7867b559bf
Bug 958667 part 1. Make it possible to use multiple methods of disabling the visibility of a constructor at once, disabling it if any of them says it should be disabled. r=peterv
2014-02-05 13:38:16 -05:00
Boris Zbarsky
418c4aba5f
Bug 963388. Add support for nullable dictionary return values in callbacks and js-implemented bindings. r=peterv
2014-02-05 13:38:16 -05:00
Boris Zbarsky
98d70e885a
Bug 963321 part 2. Add codegen support for [Cached] dictionary attributes. r=khuey
2014-02-05 13:38:16 -05:00
Bobby Holley
2e734e191d
Bug 959013 - Create storage for declarative class bootstrapping information on js::Class. r=luke
2014-02-04 07:51:54 -08:00
Kyle Huey
10bd0f9941
Bug 958011: Fix worker object cycle collection to not rely on the JSObject being finalized, which is a bogus assumption. r=bent,mccr8
2014-02-02 10:08:50 -08:00
Kyle Huey
505293a09f
Bug 966466: Rename thisObj to thisObjPtr so people will know what to pass in. r=bz
2014-02-02 10:08:46 -08:00
Jon Coppeard
cd6056507e
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Eric Faust
7e8c7c8d1e
Bug 947487 - Part 2: Generate and use js::Class structs for DOM proxies. (r=bz)
2014-02-01 00:29:52 -08:00
Eric Faust
fd42cd5f47
Bug 947487 - Part 1: Convert DOMJSClass::mBase from JSClass to js::Class. (r=bz)
2014-02-01 00:29:50 -08:00
Nathan Froyd
adc3ce949d
Bug 965634 - move nsString construction out of mozilla::dom::Register for a codesize win; r=bz
2014-01-30 14:53:49 -05:00
Carsten "Tomcat" Book
3ff2c54041
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
b65a90b42b
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Boris Zbarsky
0b37a69f1e
Bug 965477. Enter the compartment of obj in ClearCached*Value in the StoreInSlot case. r=bholley
2014-01-29 22:33:50 -08:00
Boris Zbarsky
121b8f974c
Bug 945416 part 6. Fix the resolve/enumerate hooks in WebIDL bindings in the [Global] case to handle standard classes. r=peterv
2014-01-29 22:33:33 -08:00
Boris Zbarsky
af18a9ff22
Bug 945416 part 2. When invoking a DoNewResolve hook on an Xray, make sure to first invoke it on the underlying object. r=bholley,peterv
2014-01-29 22:33:22 -08:00
Andrea Marchesini
bff4f8945f
Bug 964892 - WebIDL 'assert' method should be implemented as '_assert_'. r=bz
2014-01-29 08:16:57 -05:00
Jon Coppeard
57edf84676
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Bobby Holley
03fb99d54e
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Andrea Marchesini
0cfe7064ff
Bug 963560 - Fix compilation error on VS2013 for method called 'assert', r=bz
2014-01-24 15:45:24 +00:00
Boris Zbarsky
e09a1c07c5
Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
...
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.
In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
6d43e0116e
Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
...
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile. C++ strikes
again.
2014-01-22 14:37:10 -05:00
Wes Kocher
6ceffa63c0
Backed out 2 changesets (bug 958576) for osx 10.8 m-oth bustage on a CLOSED TREE
...
Backed out changeset 2ec09c9a9df1 (bug 958576)
Backed out changeset 49bec226f30e (bug 958576)
2014-01-22 16:17:25 -08:00
Boris Zbarsky
25243ecc6c
Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
...
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.
In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
9f27c4fd14
Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
...
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile. C++ strikes
again.
2014-01-22 14:37:10 -05:00
Boris Zbarsky
eb1b4dad80
Bug 961208 part 2. Change the WebIDL DoNewResolve hook signature to take a JSPropertyDescriptor. r=bholley
2014-01-21 22:08:51 -05:00
Boris Zbarsky
a4176890e1
Bug 961208 part 1. When doing a DoNewResolve for Xrays, pass the Xray, not the underlying object, to DoNewResolve, in case people want to do permissions checks on the object. r=bholley
2014-01-21 22:08:49 -05:00
Terrence Cole
20431f8abe
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Nathan Froyd
62937a5abf
Bug 960109 - convert JSJitInfo fields to bitfields; r=bz,efaust
2014-01-16 16:30:35 -05:00
Nathan Froyd
e668d7e41e
Bug 960653 - part 1 - assert that we don't overflow JSJitInfo fields in bindings codegen; r=bz
2014-01-16 11:20:51 -05:00
Nathan Froyd
a7e6520238
Bug 952777 - part 5 - move JSJitInfo::argTypes to a separate JSTypedMethodJitInfo subclass; r=efaust,bz
2014-01-07 16:52:40 -05:00
Nathan Froyd
be3774b1a9
Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz
2014-01-07 14:54:07 -05:00
Nathan Froyd
42efcb2e2c
Bug 952777 - part 3 - use bitfields for integer fields in JSJitInfo; r=efaust,bz
2014-01-07 13:55:06 -05:00
Nathan Froyd
d2a063cff6
Bug 952777 - part 1 - reorder JSJitInfo slots to pack better; r=efaust,bz
2013-12-21 15:33:12 -05:00