Ehsan Akhgari
a25bd2b096
Bug 861371 - Allow Web IDL enums to have names starting with a digit; r=bzbarsky
2013-06-03 17:54:46 -04:00
Ms2ger
23fadd5172
Bug 876602 - Move JS-implemented webidl construction code into C++; r=bz
2013-06-01 08:56:23 +02:00
Ms2ger
24985e9d94
Bug 876605 - Simplify the Init function of WebIDL dictionaries; r=smaug
2013-06-01 08:53:40 +02:00
Peter Van der Beken
daa0c6e02c
Bug 876080. Don't use 'nativeOwnership':'owned' for MediaList. r=bzbarsky
2013-05-31 11:27:05 -04:00
Boris Zbarsky
76423b5afb
Bug 877216. Add CallArgs-like structs for use in DOM specialized getters/setters/methods. r=waldo
2013-05-30 17:47:00 -04:00
Reuben Morais
b3d0cc3e18
Bug 877501 - Generate pref check code for interfaces with [NoInterfaceObject, NavigatorProperty]. r=bz
2013-05-30 08:21:52 -07:00
Peter Van der Beken
2487190814
Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz.
2013-05-29 11:38:57 +02:00
Kyle Huey
6a54f16f78
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Boris Zbarsky
b81ccaeaf1
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00
Boris Zbarsky
c7f67cdda6
Bug 875628. NewProxyObject should take a handle for the private value. r=till
2013-05-24 13:03:13 -04:00
Boris Zbarsky
ed870380a7
Bug 875622 part 2. Use handles in ConvertJSValueToString. r=smaug
2013-05-24 09:16:00 -04:00
Boris Zbarsky
96958287ad
Bug 875622 part 1. Pass through mutable handles to all the various places where we have to work with JS::Value in codegen. r=smaug
2013-05-24 09:15:55 -04:00
Bobby Holley
c9c266aea9
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
c3247a55cf
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
5061ad7709
Bug 874154. Make sure we don't end up with uninitialized JSObject* or JS::Value in dictionaries. r=ms2ger
2013-05-21 14:15:30 -04:00
Boris Zbarsky
cf4a835d8f
Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey
2013-05-09 13:05:33 -04:00
Boris Zbarsky
67fe346401
Bug 865951. If the return value of a JS-implemented method or attribute is a JS-implemented interface and the returned object is not a DOM object, automatically wrap it up in an instance of that interface. r=mccr8
...
This does not invoke __init on the chrome object, since there are no
arguments to do it with anyway. It also doesn't invoke init(), so
don't do this in cases in which the chrome-side object will need to
know its window.
2013-05-20 13:47:08 -04:00
Boris Zbarsky
d0259d836d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Ms2ger
e4c2423bba
Bug 873417 - Part b: Use CGClass for CGDictionary; r=bz
2013-05-20 09:10:59 +02:00
Ms2ger
f33b4721a1
Bug 873417 - Part a: Cleanup and fix some bugs in CGClass; r=bz
2013-05-20 09:10:58 +02:00
Reuben Morais
fdae001146
Bug 873684 - Improve error reporting when a value can't be converted to the expected type. r=bz
2013-05-17 21:14:18 -07:00
Boris Zbarsky
843379bd34
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Boris Zbarsky
9c20120dc1
Bug 873337. Change the order of the decl and holder in js-to-native conversions to clean up the code some. Now the holder always comes after the decl. r=smaug
2013-05-17 21:48:25 -04:00
Reuben Morais
9e1d7b51da
Bug 873647 - Teach codegen how to wrap Dates in constructors. r=bz
2013-05-17 13:52:32 -07:00
Nathan Froyd
7086cb73f6
Bug 871578 - don't include AccessCheck.h in bindings unless necessary; r=bz
2013-05-13 11:32:41 -04:00
Nathan Froyd
8f32ef5ed1
Bug 871578 - don't include nsContentUtils.h in bindings unless necessary; r=bz
2013-05-13 10:07:08 -04:00
Jan-Ivar Bruaroey
a099368f83
Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup
2013-05-07 20:55:21 -04:00
Max Li
9fe1908372
Bug 767929 - Use Maybe instead of Optional for the holder object in new DOM binding code. r=bzbarsky
2013-05-12 15:18:37 -04:00
Boris Zbarsky
429be792e2
Bug 868715 part 10. Create specializations of Optional for 'any' and 'object' types so that we can have those look like Optional<Handle<Value> > and Optional<Handle<JSObject*> > respectively. r=peterv,sfink
2013-05-16 12:36:56 -04:00
Boris Zbarsky
c96204d4d3
Bug 868715 part 9. Add tracing to WebIDL dictionary return values. r=peterv
2013-05-16 12:36:56 -04:00
Boris Zbarsky
a1d99f6e0f
Bug 868715 part 8. Add tracing to WebIDL sequence return values. r=peterv
2013-05-16 12:36:56 -04:00
Boris Zbarsky
4b9efd6c26
Bug 868715 part 7. Add tracing to dictionaries. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
e8a1c734df
Bug 868715 part 6. Add the ability to trace sequence arguments. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
3722ce0fd9
Bug 868715 part 5. Give all dictionaries a single base class so we can tell when template arguments are dictionaries. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
2afdbb0f08
Bug 868715 part 4. Use on-stack Rooted<JSObject*> for 'object' arguments in WebIDL bindings. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
6e3bbf6ed3
Bug 868715 part 3. Use on-stack Rooted<Value> for 'any' arguments in WebIDL bindings. r=peterv
2013-05-16 12:36:54 -04:00
Boris Zbarsky
60b2405587
Bug 868715 part 2. Add the ability to request that the declType or holderType be constructed with a JSContext. r=peterv
2013-05-16 12:36:54 -04:00
Boris Zbarsky
9060223683
Bug 868715 part 1. Change instantiateJSToNativeConversionTemplate to return an object, to make its return value more extensible. r=peterv
2013-05-16 12:36:54 -04:00
Boris Zbarsky
2db8ad5007
Bug 869195. Make QueryInterface be exposed for both chrome and xbl scopes, not just in chrome. r=bholley,peterv
2013-05-14 14:24:48 -04:00
Boris Zbarsky
34c48f8cf6
Bug 871177. Fix rooting hazard in IsNotDateOrRegexp. r=smaug
2013-05-15 21:46:44 -04:00
Boris Zbarsky
66bdcb3c82
Bug 872399. Don't codegen callback interfaces for worker descriptors. r=smaug
2013-05-15 21:46:44 -04:00
Nathan Froyd
5ed72df6f8
Bug 871011 - s/NULL/nullptr/ in bindings codegen; r=bz
2013-05-10 16:57:30 -04:00
Ryan VanderMeulen
c2b78bdc34
Backed out 4 changesets (bug 869195, bug 870845, bug 872043, bug 862825) for mochitest b-c, mochitest-other, and xpcshell orange on a CLOSED TREE.
...
Backed out changeset 049889b25a79 (bug 869195)
Backed out changeset fc0bef5a2cfd (bug 862825)
Backed out changeset 267fe0d9c201 (bug 870845)
Backed out changeset 7b06b9d1acb2 (bug 872043)
2013-05-14 16:40:26 -04:00
Boris Zbarsky
5bcac37a0e
Bug 869195. Make QueryInterface be exposed for both chrome and xbl scopes, not just in chrome. r=bholley,peterv
2013-05-14 14:24:48 -04:00
Nathan Froyd
1ea41ab29d
Bug 870959 - don't include Preferences.h or NonRefcountedDOMObject.h in bindings unless necessary; r=bz
2013-05-10 15:44:19 -04:00
Boris Zbarsky
3a9f29ac26
Bug 870219 part 1. Fix the chrome-scope checking for workers to work even if we incorrectly set up worker interface objects on the main thread. r=bent
2013-05-09 22:23:28 -04:00
Ryan VanderMeulen
c804b855d7
Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
...
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
e188fba6af
Bug 861587. Rejigger the WebIDL binding build system to do all binding codegen in a single python process while still using our dependency tracking for bindings to minimize the number of bindings we try to regenerate. r=khuey
2013-05-09 13:05:33 -04:00
Nathan Froyd
d80f045a6c
Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo
2013-05-01 16:55:13 -04:00
Andrew McCreight
eab75bc8b9
Bug 851178 - Add support for JS-implemented WebIDL constructors with arguments. r=bz
2013-05-02 18:00:50 -07:00