Commit Graph

620 Commits

Author SHA1 Message Date
Nathan Froyd
dace19ab2b Bug 909328 - make NativePropertyHook pointers resolvable at compile-time, rather than run-time; r=bz 2013-08-26 12:35:28 -04:00
Boris Zbarsky
ea46bf3d63 Bug 908837. Include a bit less stuff in binding implementation files. r=smaug 2013-08-23 22:42:42 -04:00
Boris Zbarsky
f9dfbe132d Bug 908576 part 7. Move the various DOMProxyHandler classes into the binding implementation files. r=smaug 2013-08-23 22:42:42 -04:00
Boris Zbarsky
f80a9893ef Bug 908576 part 6. Expose just a NativePropertyHooks pointer, not the object itself, so we can forward-declare it in bindings headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
bb11190a02 Bug 908576 part 5. Make GetProtoObject and GetConstructorObject not inline so they don't force us to include PrototypeList.h in all binding headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
1b0c4c3b11 Bug 908576 part 4. Move all the PrototypeTraits bits into PrototypeList.h so they don't force us to include that header in all binding headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
a912d1fc13 Bug 908576 part 3. Get rid of PrototypeIDMap structs. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky
98ea7295a7 Bug 908576 part 2. Move DOMClass/DOMJSClass declarations out of binding headers. r=smaug 2013-08-23 22:42:40 -04:00
Boris Zbarsky
3fcd503298 Bug 908576 part 1. Remove unused Is() method from proxy bindings. r=smaug 2013-08-23 22:42:40 -04:00
David Zbarsky
652adbc633 Bug 905542: IsNull/SetNull functions for nullable unions should have bodyInHeader=True to prevent compiler warnings r=Ms2ger 2013-08-23 13:56:20 -04:00
Kyle Huey
4fd557dbb9 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
00fed9eba7 Back out Bug 887533 for test failures. 2013-08-22 23:40:32 -07:00
Kyle Huey
24e5819315 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
8edf4de9ad Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv 2013-08-22 22:17:09 -07:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Kyle Huey
822635ee88 Bug 903772: Part 2 - Fix codegen ctor return value handling. r=peterv 2013-08-22 22:17:07 -07:00
Kyle Huey
98cc114fd5 Bug 903772: Part 1 - Add an API for creating typed arrays that doesn't require the caller to be wrapper cached. r=peterv 2013-08-22 22:17:07 -07:00
Boris Zbarsky
3da3c1d677 Bug 907727. Make sure to properly forward gets to the expando object for DOM proxies. r=peterv 2013-08-22 09:46:27 -04:00
David Zbarsky
91a3fea017 Bug 883493: Make CGUnionConversionStruct use CGClass r=bz 2013-08-22 09:27:04 -04:00
Ms2ger
ce99c00e31 Bug 903778 - Move dom::Date into its own files; r=khuey 2013-08-22 08:30:38 +02:00
Jon Coppeard
11678aa48c Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug 2013-08-12 12:09:14 +01:00
David Zbarsky
647dce3f88 Bug 883493: Make CGUnionStruct use CGClass r=bz DONTBUILD 2013-08-10 11:17:16 -04:00
David Zbarsky
beaeb93396 Backed out changeset 30bd1b29ac64 for having the wrong commit message DONTBUILD 2013-08-10 11:16:59 -04:00
David Zbarsky
9d435656ac * * *
Bug 883493: Make CGUnionStruct use CGClass r=bz
2013-08-10 11:14:23 -04:00
David Zbarsky
543854fd95 Bug 883493: Use CGSwitch to generate union structs r=bz 2013-08-10 11:14:22 -04:00
Peter Van der Beken
3256529063 Bug 895758. Make the global scope polluter a proxy. r=bzbarsky 2013-07-09 10:45:13 -04:00
David Zbarsky
ed4cefb0c9 Bug 883493: Switch CGUnionReturnValueStruct to use CGClass r=bz 2013-08-09 21:17:51 -04:00
Nathan Froyd
7123381e69 Bug 899652 - use JS::UndefinedValue instead of JSVAL_VOID to encourage constexpr-ness; r=bz 2013-07-29 16:32:44 -04:00
Terrence Cole
61b15c2fbb Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley 2013-04-30 10:29:40 -07:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Boris Zbarsky
3c09e9975f Bug 897913 part 2. Allow touching interface objects via an Xray even if the page they're in can't touch them. r=bholley,smaug 2013-08-07 17:40:00 -04:00
Boris Zbarsky
3c03d65e5a Bug 902485. Disallow copy constructors and operator= on WebIDL union structs, because those wouldn't do what you think they should. r=dzbarsky 2013-08-07 17:40:00 -04:00
Boris Zbarsky
aeda9bac9f Bug 901816. Include Nullable and TypedArray headers in binding header files if we have dictionaries that have those as members. r=smaug 2013-08-07 17:40:00 -04:00
Nikhil Marathe
fed22f38c7 Bug 902257 - Include header file for Func attribute in WebIDL codegen. r=bz 2013-08-06 19:22:46 -07:00
Nicholas Nethercote
ba723f1034 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Boris Zbarsky
659c773366 Bug 900898 part 4. Support typed arrays inside sequences and variadics. r=smaug 2013-08-05 13:40:02 -04:00
Boris Zbarsky
2145e0bf95 Bug 900898 part 3. Support typed arrays inside dictionaries. r=smaug 2013-08-05 13:40:01 -04:00
Boris Zbarsky
cad540afeb Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug 2013-08-05 13:40:01 -04:00
Jon Coppeard
71a6b47923 Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug 2013-08-05 14:02:47 +01:00
Boris Zbarsky
f94d41c09f Bug 707564 followup. Update to new saner JSAPI, fixing merge bustage and ridding us of this pestilential CLOSED TREE. r=bustage 2013-08-04 00:11:30 -04:00
Boris Zbarsky
78a9c682d9 Bug 900994. Add support for Func annotations on interface objects. r=smaug 2013-08-03 23:38:55 -04:00
Boris Zbarsky
c8a7f5db48 Bug 707564 part 4. Teach WebIDL Xrays about the GetOwnProperties methods on WebIDL objects that have NewResolve. r=smaug 2013-08-03 23:38:55 -04:00
Boris Zbarsky
acdf381c53 Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug 2013-08-03 23:38:54 -04:00
Kyle Huey
7c45880c47 Bug 845545: Part 7 - Only set up XRay jsids on the main thread. r=bz 2013-08-03 16:55:41 -07:00
Kyle Huey
3e51fcc88e Bug 845545: Part 6 - Add a switch to force no QueryInterface function and use it for ImageData. r=bz 2013-08-03 16:55:40 -07:00
Kyle Huey
1de28ca9fd Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent 2013-08-03 16:55:40 -07:00
Nikhil Marathe
be45be411a Bug 899904 - Include header for [NoInterfaceObject]s exposed on Navigator. r=khuey
--HG--
extra : rebase_source : 825404f9466f6fe582650e2397734822e9cfa9c1
2013-08-01 10:28:47 -07:00
Boris Zbarsky
a51cf4339b Bug 892609. Implement support for [ArrayClass]. r=khuey 2013-07-30 22:28:30 -07:00
Ryan VanderMeulen
1c2e96e8f9 Merge m-c to inbound. 2013-07-30 15:41:57 -04:00
Mina Almasry
a20effda55 Bug 897185 - toJSON only deals with attributes whose types are serializable. r=bz
Now jsonifiers only include serializable attributes in their returned object, as
per spec.
2013-07-30 10:04:04 -04:00