Jon Coppeard
cb8c659700
Bug 959787 - Handlify JS_Set* APIs r=terrence r=bz
2014-01-25 09:29:12 +00:00
Bobby Holley
094cd93292
Bug 957688 - Kill off checkAccess. r=mrbkap
2014-01-24 16:08:26 -08:00
Andrea Marchesini
6670254f5b
Bug 963560 - Fix compilation error on VS2013 for method called 'assert', r=bz
2014-01-24 15:45:24 +00:00
Boris Zbarsky
9eb56076b1
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
dcfb519fa1
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
57b93417c3
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
8544cfd7b3
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
9720a99869
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
a52d37aa9b
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
376113e4f2
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
10295353cd
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
142e9b7c5b
Bug 960109 - convert JSJitInfo fields to bitfields; r=bz,efaust
2014-01-16 16:30:35 -05:00
Nathan Froyd
80ee4b7f7c
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
1a1f1bf27e
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
a009872844
Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz
2014-01-07 14:54:07 -05:00
Nathan Froyd
c167824281
Bug 952777 - part 3 - use bitfields for integer fields in JSJitInfo; r=efaust,bz
2014-01-07 13:55:06 -05:00
Nathan Froyd
dfffdebd9f
Bug 952777 - part 1 - reorder JSJitInfo slots to pack better; r=efaust,bz
2013-12-21 15:33:12 -05:00
Terrence Cole
f017da90d9
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Nathan Froyd
101be71b0b
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
e3e85d1db3
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
5d2a9c77e1
Bug 952777 - part 4 - move JSParallelNative into the union; r=efaust,bz
2014-01-07 14:54:07 -05:00
Nathan Froyd
c18f90dc40
Bug 952777 - part 3 - use bitfields for integer fields in JSJitInfo; r=efaust,bz
2014-01-07 13:55:06 -05:00
Nathan Froyd
ac464fc3bf
Bug 952777 - part 1 - reorder JSJitInfo slots to pack better; r=efaust,bz
2013-12-21 15:33:12 -05:00
Rick Eyre
74638c74c5
Bug 882299 - Implement VTTCue::Line r=smaug,rillian,bz
2014-01-15 08:04:00 -08:00
Boris Zbarsky
a4248527e1
Bug 851891. Make stringifier attributes fail to codegen. r=khuey
2014-01-14 21:46:44 -05:00
Boris Zbarsky
3f894b3ba8
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
e0499203c8
Bug 957730 - set JS values more directly in bindings code; r=bz
2014-01-08 14:35:39 -05:00
Nathan Froyd
865a3925a0
Bug 958262 - reduce space required by JSPropertySpec; r=till,bz,Waldo
2014-01-10 12:11:31 -05:00
Boris Zbarsky
7ad0d371c9
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
661130813a
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
9f2cfc9a8d
Bug 957950 - Refactor tempRoot scope in WebIDL codegen. r=bz
2014-01-09 08:58:21 -08:00
Nikhil Marathe
3ccadc5848
Bug 957429 - Method parameters that are callbacks obey [TreatNonCallableAsNull] semantics. r=bz
2014-01-08 22:12:27 -08:00
Ryan VanderMeulen
edf7ab216b
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
fd0679ca3f
Bug 956806 part 2. Share generic getters/setters/methods across all bindings. r=peterv
2014-01-08 10:29:15 -05:00
Boris Zbarsky
7c95149f9e
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
0d6c3ccfcb
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
dadc3abc1b
Bug 927728 - Part 2: Stop using PRUnichar in our code generators; r=roc,bzbarsky
2014-01-04 10:02:43 -05:00
Masatoshi Kimura
3f945da033
Bug 876238 - Convert DeviceAcceleration and DeviceRotationRate to WebIDL bindings. r=smaug
2014-01-02 07:52:47 +09:00
Boris Zbarsky
4026af40dd
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
d578056d58
Backed out changeset 6532bf066bb4 (bug 882299)
2013-12-20 18:33:04 -08:00
Wes Kocher
d59b41c684
Backed out changeset f84ac36ce832 (bug 952062) for osx debug m1 orange
2013-12-20 14:22:55 -08:00
Boris Zbarsky
0d2d6e5990
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
030fd2dea3
Bug 952375. Include headers for external interfaces in UnionConversions.h. r=dzbarsky
2013-12-20 14:28:18 -05:00
Rick Eyre
42f6a15b8f
Bug 882299 - Implement VTTCue::Line. r=smaug, r=rillian
2013-12-16 14:35:01 -05:00
David Zbarsky
f71defebb9
Bug 928953 - WebIDL headers should include the file for enums. r=bz
2013-12-20 11:37:48 -05:00
Boris Zbarsky
0daf8f86ed
Bug 952073. Fix codegen to actually work correctly for the case of a nullable union dictionary member with no default value. r=dzbarsky
...
This fix just makes us take the normal Optional codepath for this case, since there is no weirdness here.
2013-12-19 23:30:38 -05:00
Boris Zbarsky
2e73d4f93f
Bug 951875. Actually apply binarynames to JS-implemented codegen. r=mccr8
...
Actually, this applies them to all callbacks, but most callback interfaces don't have entries in Bindings.conf.
This removes the extra entry for TestJSImplInterface in Bindings.conf that was covering up this bug.
2013-12-19 00:45:13 -05:00
Boris Zbarsky
3b13ccd431
Bug 949501. Make nullable unions that are isMember stop claiming to have a holder. r=dzbarsky
2013-12-18 11:20:43 -05:00
Andrew McCreight
197a13c1ee
Bug 937818, part 0 - Root newly created objects in Bind across ADDREF. r=bz
2013-12-17 19:29:56 -08:00
Boris Zbarsky
6dd5c22d7e
Bug 950991. Root on-stack JSObject* and JS::Value return values. r=smaug
2013-12-17 17:09:16 -05:00