Commit Graph

588 Commits

Author SHA1 Message Date
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
Jon Coppeard
8278efd42a Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Ehsan Akhgari
aa0b1f106f Bug 895322 - Part 3: Stop generating MOZ_STATIC_ASSERT in Web IDL bindings; r=Waldo
--HG--
extra : rebase_source : 5f48f54084623486fd3da0356711526597b90f5f
2013-07-19 14:39:20 -04:00
Boris Zbarsky
052e0c5524 Bug 895728 part 4. Fix unions to work with the new boolean/numeric/string setup. r=khuey 2013-07-30 10:39:35 -07:00
Boris Zbarsky
e66bdfb7fb Bug 895728 part 3. Fix overload resolution to work with the new boolean/numeric/string setup. r=khuey 2013-07-30 10:39:34 -07:00
Boris Zbarsky
f2749a768c Bug 895495 followup. Pass the needed second string to the exception message if the first argument of _create is not a Window. r=ms2ger 2013-07-28 10:50:35 -07:00
David Zbarsky
7837d54bf0 Bug 865998: Implement WebIDL union return values r=bz 2013-07-26 11:25:54 -07:00
Mina Almasry
d23615e4a1 Bug 760851 - Add jsonifier WebIDL declaration and add toJSON to performance.timing. r=bz
This patch adds a jsonifier declaration to WebIDL's. The declaration adds an autogenerated method toJSON() on the given webidl. This patch also adds jsonifier and toJSON() to PerformanceTiming.webidl, and performance.timing, respectively.
2013-07-26 12:00:49 -04:00
Carsten "Tomcat" Book
8c89deb65b Backed out changeset ae8d72538dee (bug 897484) for b2g bustage 2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug 2013-07-26 10:00:38 +01:00
Peter Van der Beken
30b93d7d6b Bug 894448 part 2 - Remove nativeOwnership = 'nsisupports'. r=bzbarsky 2013-07-04 17:24:59 +02:00
Boris Zbarsky
cc0e521ed8 Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley 2013-07-25 19:41:46 -07:00
Terrence Cole
7bde45b12a Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Jon Coppeard
477e4df5c5 Bug 896540 - GC: Convert JS_SetProperty* to take MutableHandleValue - browser changes r=bz 2013-07-25 13:57:00 +01:00
Boris Zbarsky
b8d369a614 Bug 895495. Add a faster way to create JS-implemented WebIDL objects from chrome. r=mccr8
This adds a Interface._create(targetWindow, chromeObj) static method
that lets a JS-implemented WebIDL object implementing Interface be
created in the window targetWindow using chromeObj as its JS
implementation.
2013-07-23 10:09:19 -04:00
Boris Zbarsky
c3d0e79b5c Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv 2013-07-22 08:15:43 -04:00
Jon Coppeard
3155328d9e Bug 891966 - 2 - Comment calls to Handle::fromMarkedLocation r=bz 2013-07-23 10:58:28 +01:00
Jon Coppeard
da4b383f2b Bug 891966 - 1 - Don't allow construction of Handle<T> from Heap<T> r=bz 2013-07-23 10:58:27 +01:00
Jon Coppeard
c561caee58 Bug 888338 - 6 - more browser post barriers r=mccr8 2013-07-23 10:58:27 +01:00
Ryan VanderMeulen
cc66360dac Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE. 2013-07-22 18:18:17 -04:00
Boris Zbarsky
12fbb7f6ba Bug 895009. Don't pass in NonNull/OwningNonNull arguments to WebIDL binding consumers. r=peterv 2013-07-22 08:15:43 -04:00
Boris Zbarsky
402fb273cc Bug 838146 followup: address missed review comments. r=bholley 2013-07-16 01:39:49 -04:00
Boris Zbarsky
145e2ef11a Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley 2013-07-16 01:31:03 -04:00
Boris Zbarsky
8ecfecabac Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking 2013-07-12 10:35:35 -04:00
Ryan VanderMeulen
19fc888904 Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Boris Zbarsky
1ba24d2399 Bug 892559. Don't use #pragma once in example codegen. r=smaug 2013-07-12 10:37:23 -04:00
Boris Zbarsky
ef364af836 Bug 838146 part 1. Implement WebIDL API on Navigator for the parts that are specified or are in nsIDOMNavigator. r=smaug, sr=sicking 2013-07-12 10:35:35 -04:00
Boris Zbarsky
f4b3a94323 Bug 891585. Don't JS_WrapValue same-compartment typed array return values in bindings code (e.g. ImageData.data). r=peterv 2013-07-11 11:58:29 -04:00
Masatoshi Kimura
5a1cf4ebae Bug 885177 - Make window.ImageDocument ChromeOnly. r=bz 2013-07-11 08:15:30 +09:00
Kyle Huey
49b422d01c Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff 2013-07-09 07:28:15 -07:00
Jan Varga
b31744c022 Bug 886755 - Include the correct binding header if a binding uses a WebIDL enumeration that's defined in a different .webidl file. r=bz 2013-07-09 15:54:47 +02:00
Justin Lebar
75c400493b Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Ms2ger
ff63d2149b Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug 2013-06-23 09:15:42 +02:00