Nathan Froyd
477473d837
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
040116afa3
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
c3f1bdd1c4
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Boris Zbarsky
0194bd2359
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
fcdd68657b
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
8f6224ebde
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
f2be62f3d6
Bug 964892 - WebIDL 'assert' method should be implemented as '_assert_'. r=bz
2014-01-29 08:16:57 -05:00
Jon Coppeard
3292d16e7e
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Bobby Holley
9fed0d00f4
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Andrea Marchesini
82700cbb7b
Bug 963560 - Fix compilation error on VS2013 for method called 'assert', r=bz
2014-01-24 15:45:24 +00:00
Boris Zbarsky
0d173cdc13
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
c5a9dc156e
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
7f6b32199c
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
64f3b89483
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
ce9c8c44a5
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
855791e8b7
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
5fa0a4cf7a
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
fb06b8575f
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
2014-01-17 10:08:51 -08:00
Nathan Froyd
9e613cda1e
Bug 960109 - convert JSJitInfo fields to bitfields; r=bz,efaust
2014-01-16 16:30:35 -05:00
Nathan Froyd
b8fb524d4e
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
6e930f7ba9
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
83e81b5bfe
Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz
2014-01-07 14:54:07 -05:00
Nathan Froyd
05a4c64292
Bug 952777 - part 3 - use bitfields for integer fields in JSJitInfo; r=efaust,bz
2014-01-07 13:55:06 -05:00
Nathan Froyd
6a98bbfe72
Bug 952777 - part 1 - reorder JSJitInfo slots to pack better; r=efaust,bz
2013-12-21 15:33:12 -05:00
Terrence Cole
5403e658ff
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
2014-01-16 09:48:58 -08:00
Nathan Froyd
25b7b949dc
Backout 524be0420e79 and 4c39a7047e96:b3d04b01c319 (bug 952777) for build bustage that led to this CLOSED TREE
2014-01-15 19:51:28 -05:00
Nathan Froyd
ebdc9f3a27
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
0944831f4e
Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz
2014-01-07 14:54:07 -05:00
Nathan Froyd
97e3a3ce74
Bug 952777 - part 3 - use bitfields for integer fields in JSJitInfo; r=efaust,bz
2014-01-07 13:55:06 -05:00
Nathan Froyd
4531e01196
Bug 952777 - part 1 - reorder JSJitInfo slots to pack better; r=efaust,bz
2013-12-21 15:33:12 -05:00
Rick Eyre
ccd2c4f61e
Bug 882299 - Implement VTTCue::Line r=smaug,rillian,bz
2014-01-15 08:04:00 -08:00
Boris Zbarsky
373ff737f8
Bug 851891. Make stringifier attributes fail to codegen. r=khuey
2014-01-14 21:46:44 -05:00
Boris Zbarsky
a270796c71
Bug 959677. Fail codegen if a writable attribute is flagged PutForwards or Replaceable. r=smaug
2014-01-14 21:46:43 -05:00
Nathan Froyd
d268d63999
Bug 957730 - set JS values more directly in bindings code; r=bz
2014-01-08 14:35:39 -05:00
Nathan Froyd
8cd15219f2
Bug 958262 - reduce space required by JSPropertySpec; r=till,bz,Waldo
2014-01-10 12:11:31 -05:00
Boris Zbarsky
f3a33d50c3
Bug 957929. Pass undefined, not null, as the this value to callbacks if no other value is provided. r=peterv
2014-01-13 15:08:57 -05:00
Boris Zbarsky
d57a0a8d8a
Bug 952365. Add a TreatNonObjectAsNull annotation for WebIDL callback functions and use it for event handlers, since web sites depend on assigning non-callable objects to them in some cases. r=peterv
2014-01-13 15:08:56 -05:00
Nikhil Marathe
51c4c930b8
Bug 957950 - Refactor tempRoot scope in WebIDL codegen. r=bz
2014-01-09 08:58:21 -08:00
Nikhil Marathe
af5c77dbdc
Bug 957429 - Method parameters that are callbacks obey [TreatNonCallableAsNull] semantics. r=bz
2014-01-08 22:12:27 -08:00
Ryan VanderMeulen
0e9fcd4bf3
Backed out changesets d8a6bde76293 and 0b28eaf5bde9 (bug 956806) for suspicion of making OSX 10.6 debug mochitest-bc even more orange prone than usual.
2014-01-08 15:34:24 -05:00
Boris Zbarsky
6e037fd3e4
Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv
2014-01-08 10:29:15 -05:00
Boris Zbarsky
75e42eaf13
Bug 956806 part 1. Output a list of interface names in PrototypeList.cpp. r=peterv
2014-01-08 10:29:15 -05:00
Boris Zbarsky
2cdaf74cee
Bug 939581 part 3. Mark DOM calls as movable as needed and allow them to be CSE'd. r=efaust
2014-01-03 16:44:45 -05:00
Ehsan Akhgari
f75815e241
Bug 927728 - Part 2: Stop using PRUnichar in our code generators; r=roc,bzbarsky
2014-01-04 10:02:43 -05:00
Masatoshi Kimura
029fc04f34
Bug 876238 - Convert DeviceAcceleration and DeviceRotationRate to WebIDL bindings. r=smaug
2014-01-02 07:52:47 +09:00
Boris Zbarsky
de1e3a1b13
Bug 952062. Fix union codegen to properly destroy the union members if conversion to them fails. r=dzbarsky
2013-12-20 15:33:57 -05:00
Wes Kocher
66930abafb
Backed out changeset 6532bf066bb4 (bug 882299)
2013-12-20 18:33:04 -08:00
Wes Kocher
5561d757eb
Backed out changeset f84ac36ce832 (bug 952062) for osx debug m1 orange
2013-12-20 14:22:55 -08:00
Boris Zbarsky
2354bbdc37
Bug 952062. Fix union codegen to properly destroy the union members if conversion to them fails. r=dzbarsky
2013-12-20 15:33:57 -05:00
Boris Zbarsky
5a837134c4
Bug 952375. Include headers for external interfaces in UnionConversions.h. r=dzbarsky
2013-12-20 14:28:18 -05:00