Commit Graph

1153 Commits

Author SHA1 Message Date
Boris Zbarsky
0ba003deb7 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
faa061aa98 Bug 874105. Make CallSetup hold a Rooted to the object it's constructed with so we don't have to worry about it going gray while things like argument conversion for the call are in progress. r=mccr8 2013-05-21 14:15:29 -04:00
Bobby Holley
1e852f571d Bug 841312 - Remove the termination function API. r=bz
\o/
2013-05-21 11:45:56 -06:00
Boris Zbarsky
9c2cde002b Bug 867903. Speed up getDescriptors and some other obvious slow points in codegen. r=khuey 2013-05-09 13:06:48 -04:00
Boris Zbarsky
e90b6bf83c 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
Masatoshi Kimura
39d0ce714a Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug 2013-05-21 04:34:12 +09:00
Boris Zbarsky
0307d91885 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
85b06d58a3 Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley 2013-05-20 08:44:18 -04:00
Ms2ger
0ed0441e1e Bug 868778 - Part c: Move DataChannel to WebIDL; r=mounir+jesup
--HG--
rename : content/base/public/nsIDOMDataChannel.idl => dom/webidl/DataChannel.webidl
2013-05-20 09:19:45 +02:00
Ms2ger
46791e0e8c Bug 873417 - Part b: Use CGClass for CGDictionary; r=bz 2013-05-20 09:10:59 +02:00
Ms2ger
af1d6eb256 Bug 873417 - Part a: Cleanup and fix some bugs in CGClass; r=bz 2013-05-20 09:10:58 +02:00
Masatoshi Kimura
3d63807062 Bug 871786 - Separate D2E KeyEvent constants and a method from KeyboardEvent. r=smaug, bz
--HG--
rename : dom/webidl/KeyboardEvent.webidl => dom/webidl/KeyEvent.webidl
2013-05-19 10:28:47 +09:00
Andrea Marchesini
38fc5d8909 Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Reuben Morais
b4f0b9946a Bug 873684 - Improve error reporting when a value can't be converted to the expected type. r=bz
--HG--
extra : rebase_source : 3385999de823c9df659103239e62df8ffca5f15a
2013-05-17 21:14:18 -07:00
Boris Zbarsky
fd290b314c Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
Boris Zbarsky
8fc54ee80a 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
435764efee Bug 873647 - Teach codegen how to wrap Dates in constructors. r=bz
--HG--
extra : rebase_source : f4267f15b7076aacb47fb94e4173a05dac8de255
2013-05-17 13:52:32 -07:00
Nathan Froyd
256a7169e6 Bug 873479 - fix BindingUtils.h to compile with GCC 4.4 in non-C++0x mode; r=bz 2013-05-17 10:44:19 -04:00
Nathan Froyd
5dbc6f9cf3 Bug 871578 - don't include AccessCheck.h in bindings unless necessary; r=bz 2013-05-13 11:32:41 -04:00
Nathan Froyd
996de24d70 Bug 871578 - don't include nsContentUtils.h in bindings unless necessary; r=bz 2013-05-13 10:07:08 -04:00
Jan-Ivar Bruaroey
e810b729f7 Bug 823512: Part 4: Workaround for lack of serializer support (bug 863402). r=bz 2013-05-15 01:07:49 -04:00
Jan-Ivar Bruaroey
e4c19f91c8 Bug 823512: Part 2: Update PeerConnection to spec. states + DataChannel. r=bz,rjesup,ekr 2013-05-16 19:40:23 -04:00
Jan-Ivar Bruaroey
724cdbf7ac Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup 2013-05-07 20:55:21 -04:00
Ehsan Akhgari
e7318c89ad Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc 2013-05-16 19:30:41 -04:00
Max Li
5082d65633 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
903eab0e9d 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
ee15d5debc Bug 868715 part 9. Add tracing to WebIDL dictionary return values. r=peterv 2013-05-16 12:36:56 -04:00
Boris Zbarsky
71fd53bf82 Bug 868715 part 8. Add tracing to WebIDL sequence return values. r=peterv 2013-05-16 12:36:56 -04:00
Boris Zbarsky
ac41ff38fd Bug 868715 part 7. Add tracing to dictionaries. r=peterv 2013-05-16 12:36:55 -04:00
Boris Zbarsky
070682bbbc Bug 868715 part 6. Add the ability to trace sequence arguments. r=peterv 2013-05-16 12:36:55 -04:00
Boris Zbarsky
c23c5558ec 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
fa5496e7a4 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
f454222082 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
8d517e9f04 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
7692d9f0f2 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
3ab853407d 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
Olli Pettay
78ef891bef Bug 847594 - Paris binding for DataContainerEvent, r=peterv
--HG--
extra : rebase_source : ff4ad6b1b5a582c6e1b973fd1729aa2c6f7db314
2013-05-16 17:10:30 +03:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Boris Zbarsky
acfc919f60 Bug 871177. Fix rooting hazard in IsNotDateOrRegexp. r=smaug 2013-05-15 21:46:44 -04:00
Boris Zbarsky
213a9f261b Bug 872399. Don't codegen callback interfaces for worker descriptors. r=smaug 2013-05-15 21:46:44 -04:00
Nathan Froyd
4256dbe5db Bug 871011 - s/NULL/nullptr/ in bindings codegen; r=bz 2013-05-10 16:57:30 -04:00
Ryan VanderMeulen
01613554be 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
1a05e187ae 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
Ehsan Akhgari
67b44c27c9 Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky 2013-05-13 13:43:53 -04:00
Ehsan Akhgari
7c06c8a034 Backed out 2 changesets (bug 871315) because different compilers have different standards on what is and is not C++
Backed out changeset d0d2e13e8b83 (bug 871315)
Backed out changeset be3976bd2d57 (bug 871315)

Landed on a CLOSED TREE
2013-05-13 14:42:03 -04:00
Ehsan Akhgari
807676e818 Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky 2013-05-13 13:43:53 -04:00
Jon Buckley
b62514df6f Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob 2013-05-13 09:22:30 -04:00
Ed Morley
36fb30076b Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Ehsan Akhgari
19d51152a3 Bug 871201 - Part 2: Implement AudioBufferSourceNode.gain; r=roc
X-Git-Commit-ID: db8923b372db098aa7a5dc1cbf42674310b61aef
X-Mailer: git-send-email

--HG--
rename : content/media/webaudio/test/test_audioBufferSourceNode.html => content/media/webaudio/test/test_audioBufferSourceNodeGain.html
rename : content/media/webaudio/test/test_audioBufferSourceNode.html => content/media/webaudio/test/test_delayNodeWithGainAlternate.html
extra : rebase_source : 2cc9259229209fa926970e78ddfc2ef5765f4ad5
2013-05-13 00:17:55 -04:00
Mike Shal
02469b68e2 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00