Ms2ger
8bca342419
Bug 873417 - Part b: Use CGClass for CGDictionary; r=bz
2013-05-20 09:10:59 +02:00
Ms2ger
11bd01effd
Bug 873417 - Part a: Cleanup and fix some bugs in CGClass; r=bz
2013-05-20 09:10:58 +02:00
Masatoshi Kimura
ffd5f17a14
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
0e20d68ea0
Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz
2013-05-18 13:52:06 -04:00
Reuben Morais
0745f908eb
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
620839f027
Bug 868312 finale: finish rooting dom/ code. r=smaug
2013-05-17 21:48:25 -04:00
Boris Zbarsky
081b1f0e2e
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
4d7c90ddd3
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
f7bb31d430
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
3275d69d1a
Bug 871578 - don't include AccessCheck.h in bindings unless necessary; r=bz
2013-05-13 11:32:41 -04:00
Nathan Froyd
5a9f4abbe5
Bug 871578 - don't include nsContentUtils.h in bindings unless necessary; r=bz
2013-05-13 10:07:08 -04:00
Jan-Ivar Bruaroey
879514b941
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
9386baa685
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
7921c9c1e4
Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup
2013-05-07 20:55:21 -04:00
Ehsan Akhgari
a96e98f013
Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc
2013-05-16 19:30:41 -04:00
Max Li
27a234bfc8
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
05015ca6da
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
42db4b4213
Bug 868715 part 9. Add tracing to WebIDL dictionary return values. r=peterv
2013-05-16 12:36:56 -04:00
Boris Zbarsky
4d021db1ca
Bug 868715 part 8. Add tracing to WebIDL sequence return values. r=peterv
2013-05-16 12:36:56 -04:00
Boris Zbarsky
acedcb302c
Bug 868715 part 7. Add tracing to dictionaries. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
e77d64048d
Bug 868715 part 6. Add the ability to trace sequence arguments. r=peterv
2013-05-16 12:36:55 -04:00
Boris Zbarsky
6299c3cb16
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
44bd3f768a
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
a0ca41113d
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
de073670c8
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
55c89f0c10
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
114a299902
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
69d2df866b
Bug 847594 - Paris binding for DataContainerEvent, r=peterv
...
--HG--
extra : rebase_source : ff4ad6b1b5a582c6e1b973fd1729aa2c6f7db314
2013-05-16 17:10:30 +03:00
Ted Mielczarek
47d7af59de
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
1deabd3ea1
Bug 871177. Fix rooting hazard in IsNotDateOrRegexp. r=smaug
2013-05-15 21:46:44 -04:00
Boris Zbarsky
67befd3575
Bug 872399. Don't codegen callback interfaces for worker descriptors. r=smaug
2013-05-15 21:46:44 -04:00
Nathan Froyd
556af50528
Bug 871011 - s/NULL/nullptr/ in bindings codegen; r=bz
2013-05-10 16:57:30 -04:00
Ryan VanderMeulen
a7737c8f7f
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
5acfb67e4a
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
b757634fd8
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Ehsan Akhgari
7cb39c2935
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
fc17efaf67
Bug 871315 - Fix some rooting hazards in content/; r=till,bzbarsky
2013-05-13 13:43:53 -04:00
Jon Buckley
3ce29ac29f
Bug 738867 - Implement WebGL OES_element_index_uint extension. r=bjacob
2013-05-13 09:22:30 -04:00
Ed Morley
2710e5d6a9
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Ehsan Akhgari
1ad083a454
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
d2b29f4e87
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
Masatoshi Kimura
f468cc292d
Bug 871153 - Rename KeyEvent back to KeyboardEvent. r=smaug
...
--HG--
rename : dom/webidl/KeyEvent.webidl => dom/webidl/KeyboardEvent.webidl
2013-05-12 14:08:37 +09:00
Nathan Froyd
7292880e63
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
b2aa4066b7
Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey
2013-05-09 13:08:29 -04:00
Boris Zbarsky
f2415a8de9
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
882e4068d0
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
Andrea Marchesini
031eb2e92c
Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger
2013-05-09 13:42:12 -04:00
Boris Zbarsky
6fce09f3c3
Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey
2013-05-09 13:08:29 -04:00
Boris Zbarsky
919b165314
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
30ab248cf6
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
dbba9baf39
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
53fa07389c
Bug 851178 - Add support for JS-implemented WebIDL constructors with arguments. r=bz
2013-05-02 18:00:50 -07:00
Terrence Cole
fd72fc252e
Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst
2013-03-28 13:37:22 -07:00
Boris Zbarsky
797571f64b
Bug 867863. Be a little more careful in GlobalObject initialization. r=peterv
2013-05-08 15:50:58 -04:00
Peter Van der Beken
e250018b41
Bug 869038 - Clear expando object the right way. r=bz.
...
--HG--
extra : rebase_source : c75c0ac7b07bbe9396f1b77b34c1e34575078a49
2013-05-08 09:20:13 +02:00
Boris Zbarsky
55e7537c8d
Bug 868102. Don't swallow exceptions from the XPCOM/XPConnect goop when setting up a js-implemented webidl object. r=mccr8
2013-05-07 22:34:56 -04:00
Boris Zbarsky
49395eacab
Bug 869311. More rooting in dom/bindings and content/base. r=smaug
2013-05-07 22:34:56 -04:00
Bobby Holley
e77e3c4631
Bug 868637 - Simplify DOM Bindings JSON parsing. r=bz
...
At this point we could really just hoist the JSAPI call, but it's just
cumbersome enough with all the casts that I don't really want to stick
it in the codegen.
2013-05-07 14:18:03 -07:00
Peter Van der Beken
29325f119e
Bug 868929 - Convert ImageDocument to WebIDL, drop hasXPConnectImpls from documents. r=bz.
...
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 23d83e5fcf8b6a6162524c09e7057edaeddec044
2013-05-07 17:27:53 +02:00
Nathan Froyd
9fd3f3a56a
Bug 869073 - make WebIDL enums enum classes instead of plain enums; r=bz
2013-05-06 15:28:13 -04:00
Olli Pettay
207a281bd3
Bug 868232 - Paris binding for MozStkCommandEvent, r=peterv
...
--HG--
extra : rebase_source : 4a79aa44707f9dd0b0eb68611e13702f1bdb838e
2013-05-07 15:46:07 +03:00
Sankha Narayan Guria
6349c5c599
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
Boris Zbarsky
4ef50b8af7
Bug 868448. Fix the successCode in dictionary to-js conversions to actually work right, and document the requirements on successCode better. r=smaug
2013-05-06 08:31:01 -04:00
Boris Zbarsky
efc16bb6f6
Bug 867844 part 1. Fix rooting hazards in LegacyCall. r=smaug
2013-05-06 08:30:40 -04:00
Cameron McCormack
2a03ace5c1
Bug 868805 - [LenientThis] attribute's setter should return undefined. r=bz
2013-05-06 12:36:38 +10:00
Phil Ringnalda
d3e92cd2f3
Merge m-c to m-i
2013-05-05 12:17:07 -07:00
Ms2ger
088cca5a9c
Bug 868411 - Handlify js::GetObjectProto; r=bz
2013-05-05 09:03:14 +02:00
Boris Zbarsky
423aade28c
Bug 865785 part 2. Fix rooting issues in JS-implemented webidl. r=mccr8
2013-05-04 21:44:10 -04:00
Boris Zbarsky
881f992823
Bug 865785 part 1. Go back to passing a JSContext* to the constructors for JS-implemented interfaces. r=mccr8
2013-05-04 21:43:58 -04:00
Boris Zbarsky
fecb6d841d
Bug 865969 part 9. Remaining miscellaneous rooting fixes in WebIDL bindings. r=ms2ger
2013-05-03 19:29:09 -04:00
Boris Zbarsky
05def15f98
Bug 865969 part 8. Fix rooting hazards in CallbackObject. r=ms2ger
2013-05-03 19:29:09 -04:00
Boris Zbarsky
2ead1e05ab
Bug 865969 part 7. Fix rooting hazards in DOMJSProxyHandler.cpp. r=ms2ger
2013-05-03 19:29:09 -04:00
Boris Zbarsky
6baed10459
Bug 865969 part 6. Fix rooting hazards in BindingUtils.cpp. r=smaug
2013-05-03 19:29:08 -04:00
Boris Zbarsky
cf0d9ed876
Bug 865969 part 5. Root the id argument of WebIDL DefineInterface methods. r=smaug
2013-05-03 19:29:08 -04:00
Boris Zbarsky
545e5c8143
Bug 865969 part 4. Pass handles to WebIDL dictionary init. r=smaug,terrence
2013-05-03 19:29:08 -04:00
Boris Zbarsky
b8d3b00c5d
Bug 865969 part 2. Better rooting in bindings for 'any' arguments. r=smaug
2013-05-03 19:29:07 -04:00
Boris Zbarsky
964948a44a
Bug 865969 part 1. Better rooting in bindings for 'object' arguments, as well as for worker interface arguments passed as JSObject*. r=smaug
2013-05-03 19:29:07 -04:00
Peter Van der Beken
2c2b37c721
Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
2012-12-11 21:45:36 -05:00
Peter Van der Beken
6e95a2ccef
Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz.
2013-04-20 18:04:09 +02:00
Peter Van der Beken
87d7e31d47
Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem.
2013-04-29 15:17:59 +02:00
Ehsan Akhgari
cfa035fed9
Backed out 3 changesets (bug 855971, bug 820846) because of browser-chrome test failures
...
Backed out changeset a2245b038bcc (bug 855971)
Backed out changeset 2a999f8ee317 (bug 820846)
Backed out changeset 6dba144500f3 (bug 820846)
2013-05-04 19:27:20 -04:00
Peter Van der Beken
2b06e35158
Bug 855971 - Switch HTMLDocument to WebIDL bindings. r=bz.
...
--HG--
extra : rebase_source : d5ec9a80442e5b9c8df29f6d5971b61cb9b05778
2012-12-11 21:45:36 -05:00
Peter Van der Beken
97c5edb4da
Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings, codegen changes and make HTMLDocument OverrideBuiltins. r=bz.
...
--HG--
extra : rebase_source : 12dbaff8dd2acfeee87bdfa738a013344cb1977a
2013-04-20 18:04:09 +02:00
Peter Van der Beken
ddd94e0693
Bug 820846 - Modify the ListBase IC to work with [OverrideBuiltins] bindings. r=jandem.
...
--HG--
extra : rebase_source : a91e80e174672a9c9f81a06ddf022f7d352ec8ee
2013-04-29 15:17:59 +02:00
David Zbarsky
b831ed3f23
Bug 866450 Part 4: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
David Zbarsky
3f7cb5e49c
Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:45 -04:00
Olli Pettay
6aae4ec83f
Bug 847597 - Paris binding for NotifyAudioAvailableEvent, r=peterv
...
--HG--
extra : rebase_source : 2fb578e3f0c7a60f95f3a2f13634f9b4c887d95f
2013-05-02 20:11:12 +03:00
Boris Zbarsky
8b1681b1c5
Add test for bug 560072.
2013-05-02 14:38:20 -04:00
Boris Zbarsky
386bc8fd74
Bug 742206 part 3. Implement type conversions for Date in WebIDL. r=smaug
2013-05-02 14:38:20 -04:00
Boris Zbarsky
1c19520dd5
Bug 742206 part 2. Implement WebIDL parser support for Date. r=smaug,khuey
2013-05-02 14:38:19 -04:00
Boris Zbarsky
7cd15f8898
Bug 742206 part 1. Introduce a simple mozilla::dom::Date for use in WebIDL bindings. r=smaug
2013-05-02 14:38:19 -04:00
Boris Zbarsky
b7ef07e12d
Bug 860841. Hook up the proto chain of a WebIDL interface object to the interface object of its nearest ancestor interface that has one, as if these were ES6 classes. r=peterv
2013-05-02 14:38:19 -04:00
Aryeh Gregor
04d3a14724
Bug 866059 - Don't implicitly convert to already_AddRefed in Codegen.py; r=bz
2013-04-22 14:21:23 +03:00
Ed Morley
0e4101d53a
Backed out changeset ad10907da2d4 (bug 866450) for B2G build failures
2013-05-02 11:58:05 +01:00
Ed Morley
95e7cf2b1b
Backed out changeset a1e877fa8d67 (bug 866450)
2013-05-02 11:57:07 +01:00
David Zbarsky
0abf731e5e
Bug 866450 Part 4: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:46 -04:00
David Zbarsky
350f4548ad
Bug 866450 Part 1: Fix rooting hazards under content/ and dom/ r=bz
2013-05-02 05:12:45 -04:00
Boris Zbarsky
8cc9072bea
Bug 861022 part 2. Root the global object in WebIDL prototype and interface object setup. r=peterv,terrence
2013-05-01 23:44:12 -04:00
Boris Zbarsky
2ca9989cd9
Bug 861022 part 1. Root the non-globals in WebIDL prototype and interface object setup. r=peterv,terrence
2013-05-01 23:44:11 -04:00
Kyle Huey
6b3fb5a228
Bug 866918: Don't include WorkerPrivate.h in all the binding code. r=bz
2013-05-01 13:24:19 -07:00
Ehsan Akhgari
a749080ffb
Bug 865234 - Part 1: Add DOM bindings for the channel mixing attributes; r=roc
2013-04-27 18:44:50 -04:00
Jim Blandy
e9b58eb4dc
Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff
2013-04-30 14:44:50 -07:00
Andrew McCreight
a6d222f8e6
Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz
2013-04-30 13:30:25 -07:00
Terrence Cole
60ff037fa7
Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco
2013-04-16 16:20:44 -07:00
Olli Pettay
f196f25680
Bug 866347 - Don't include jsapi.h in ErrorResult.h, r=waldo
...
--HG--
extra : rebase_source : e2b44338cf71a858b0a40c59a1af4e90620ed3aa
2013-04-30 17:04:52 +03:00
Boris Zbarsky
0c64b1ab00
Bug 865961. Root the scope argument of wrap-the-xpconnect-object helpers in WebIDL bindings. r=ms2ger
2013-04-29 17:33:42 -04:00
Boris Zbarsky
8e7bf52db8
Bug 717637. Stop using non-global parent objects for everything that's not an element, since having a mix of parent objects makes us fail shape guards in the JIT. r=peterv
2013-04-29 17:33:41 -04:00
Ehsan Akhgari
c62b64e90c
Bug 865246 - Part 3: Update the BiquadFilterNode IDL to match the current spec; r=padenot
2013-04-26 17:11:23 -04:00
Boris Zbarsky
18a85fd96c
Bug 865975. Better rooting for the 'this', 'callable', and 'rval' values in WebIDL callbacks. r=bholley
2013-04-26 13:41:21 -04:00
Boris Zbarsky
e31b7dba18
Bug 865964. Remove dead WrapCallbackInterface code. r=smaug
2013-04-26 13:41:21 -04:00
David Zbarsky
1cc5ec0a23
Bug 856472: Wrappercache CanvasGradient r=bz
2013-04-26 10:55:56 -04:00
David Zbarsky
57b47b7ab9
Bug 856472: Convert CanvasGradient to WebIDL r=bz
2013-04-26 10:55:54 -04:00
David Zbarsky
500db280e5
Bug 856472: Wrappercache CanvasPattern r=bz
2013-04-26 10:55:37 -04:00
David Zbarsky
3aaed3d194
Bug 856472: Convert CanvasPattern to WebIDL r=bz
2013-04-19 04:49:22 -04:00
Aryeh Gregor
93b152012b
Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan
2013-04-21 14:56:06 +03:00
Ms2ger
229df37509
Merge m-c to m-i.
2013-04-26 12:32:27 +02:00
Ms2ger
c5d7d7efaf
No bug - Sort the entries in Bindings.conf alphabetically.
2013-04-26 08:48:37 +02:00
Ms2ger
cc2268408a
Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz
2013-04-26 08:48:27 +02:00
Ms2ger
be0c00889e
Bug 864509 - Make SVGStringList inherit from nsISupports; r=bz
2013-04-26 08:47:11 +02:00
Boris Zbarsky
901d98713c
Bug 863898. Add support for dictionary arguments in JS-implemented WebIDL bindings. r=mccr8
2013-04-25 12:29:55 -04:00
Boris Zbarsky
f0c7d5faae
Bug 864727 part 7. Make the WebIDL binding Wrap methods take a handle for the scope object and use a Rooted for the parent. r=ms2ger
2013-04-25 12:29:55 -04:00
Boris Zbarsky
f75142b01d
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Boris Zbarsky
a0ac3184fd
Bug 864727 part 4. Pass a handle for the scope object to all the various Wrap*Object stuff in BindingUtils. r=ms2ger
...
Note: The JS::Rooted in CGWrapWithCacheMethod is just there until we start passing a handle to Wrap().
2013-04-25 12:29:53 -04:00
Boris Zbarsky
1b68038a46
Bug 864727 part 3. Pass a handle for the parent object to WebIDL dictionary ToObject. r=ms2ger
2013-04-25 12:29:53 -04:00
Boris Zbarsky
2c5ce6945c
Bug 864727 part 2. Pass a handle for the scope object to union conversions. r=ms2ger,terrence
2013-04-25 12:29:52 -04:00
Andrew McCreight
8e04ab6d15
Bug 863880 - Take a less ad hoc approach to forward declarations in bindings generation. r=bz
2013-04-25 08:42:43 -07:00
Andrew McCreight
c90808d03f
Bug 863964 - clean up forward class declarations in codegen. r=bz
2013-04-25 08:42:43 -07:00
Boris Zbarsky
99df5f95ad
Bug 865940. Remove AsMutable now that our binding stack variables aren't const. r=bholley
2013-04-25 22:46:18 -04:00
Boris Zbarsky
706ec32a4e
Bug 766583 part 7. Stop declaring variadic arguments as const on the stack in bindings code. r=smaug
2013-04-25 19:03:07 -04:00
Boris Zbarsky
0859017e6d
Bug 766583 part 6. Stop declaring unions as const on the stack in bindings code. r=smaug
2013-04-25 19:03:07 -04:00
Boris Zbarsky
8e09a9abe7
Bug 766583 part 5. Stop declaring optional arguments as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
59395a5279
Bug 766583 part 4. Stop declaring strings as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
ff8b8c6147
Bug 766583 part 3. Stop declaring nullable things as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
7a31b1a556
Bug 766583 part 2. Stop declaring sequences as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
d101739d3f
Bug 766583 part 1. Stop declaring dictionaries as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
7041704c76
Bug 861493. When passing arguments to an Xray for a WebIDL constructor, make sure to do the argument unwrapping before entering the content compartment. r=bholley,waldo
...
There are several changes here:
1) Adds some MutableThis methods to Optional, Nullable, and dictionaries to
effectively allow doing a const_cast without knowing the actual type being
templated over. I needed this because I do not in fact know that type in
the relevant code. I'm open to suggestions for a better name for this
method.
2) Adds some operator& to RootedJSValue to make it look more like a JS::Value,
and in particular so I can JS_WrapValue the thing in it.
3) Adds a Slot() method to NonNullLazyRootedObject, just like NonNull has.
4) Adds an operator& to LazyRootedObject to make it look more like JSObject* so
I can JS_WrapObject the thing in it.
5) Implements the actual rewrapping of the arguments into the content compartment.
6) Fixes a small preexisting bug in which we didn't look at named constructors
in getTypesFromDescriptor (this was causing my tests to not compile).
7) Changes Xrays to not enter the content compartment when calling a WebIDL
constructor.
8) Adds some friend API to report things as not being functions.
2013-04-25 19:03:05 -04:00
Andrew McCreight
240a47eb4d
Bug 865544 - Add support for nsIDOMGlobalPropertyInitializer to JS-implemented WebIDL. r=bz
2013-04-25 14:31:42 -07:00
Boris Zbarsky
804387378c
Bug 731746 part 4. When wrapping a JS-implemented webidl object, define the new object as a property on the implementing object. r=mccr8
2013-04-24 22:44:28 -04:00
Boris Zbarsky
6f14a34d23
Bug 731746 part 3. Change JS-implemented webidl codegen to always invoke the parent constructor if there is a parent interface. r=mccr8
2013-04-24 22:44:28 -04:00
Boris Zbarsky
ab31d7a007
Bug 731746 part 2. Change JS-implemented webidl codegen to pass an nsPIDOMWindow, not an nsISupports, to the object constructor. r=mccr8
2013-04-24 22:44:27 -04:00
Boris Zbarsky
8ae76979d7
Bug 864590. Assert that the object is not null when wrapping WebIDL objects. r=peterv
2013-04-24 14:59:15 -04:00
Boris Zbarsky
7ecf36cfae
Bug 862629 part 2. Remove the now-unused scope object bit in js-to-native conversions. r=peterv
2013-04-24 14:59:15 -04:00
Boris Zbarsky
5e7cf4462d
Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv
2013-04-24 14:59:15 -04:00
Boris Zbarsky
21fbfb1e31
Bug 843264. Allow returning sequences of non-primitive types from callback methods. r=mccr8
2013-04-24 14:59:14 -04:00
Boris Zbarsky
1787ef6b9b
Bug 864535. Drop some comments from WebIDL proxy [[Delete]] implementations, since the spec has changed. r=waldo
2013-04-24 14:59:14 -04:00
Ehsan Akhgari
f3f4b81e3c
Bug 864164 - Part 2: Send the AudioBufferSourceNode buffer parameter changes to the stream; r=padenot
2013-04-22 17:01:22 -04:00
Andrea Marchesini
f51b402829
Bug 864747 - Optional<T&> should be able to receive a value in the constructor. r=bz
2013-04-24 08:36:10 -04:00
Robert O'Callahan
f84445be2e
Bug 834835. Part 1: Add initial AudioStreamTrack/VideoStreamTrack/MediaStreamTrack interfaces and implementations. r=jesup
2013-03-27 14:32:51 +13:00
Reuben Morais
93be77a06c
Bug 864578 - Follow up, fixing test.
...
--HG--
extra : rebase_source : ace505d178de7ce66e5733df74291b31471a0202
2013-04-22 18:22:47 -07:00
Reuben Morais
0cf9c2902c
Bug 864578 - Allow NamedConstructor and NoInterfaceObject in the same interface. r=bz
...
--HG--
extra : rebase_source : 1c15c840a72539cfd97d54dbaef4908b1571aefa
2013-04-22 18:05:25 -07:00
Olli Pettay
bab076c604
Bug 856338 - Using sequence<foo>? as an argument type crashes when passing non-null value, p=Ms2ger+smaug,r=bz
...
--HG--
extra : rebase_source : fb54e52db051584333c9430b0b000ee052e5b2d7
2013-04-23 02:49:49 +03:00
David Zbarsky
478f402ed9
Backout 3e7970330a3e for being wrong
2013-04-22 02:01:36 -04:00
Ms2ger
7c1ae1ff7c
Merge m-c to m-i.
2013-04-21 09:54:41 +02:00
Ms2ger
848f17a98e
Bug 861880 - Move TreeColumns to WebIDL; r=bz
2013-04-21 08:42:26 +02:00
David Zbarsky
a32d3dd112
Bug 856962 - Move Touch to WebIDL bindings; r=mounir
2013-04-21 08:42:19 +02:00
Ms2ger
c3fa7a519c
Bug 861507 - Move SVGStringList to WebIDL and remove nsIDOMSVGStringList; r=heycam,smaug
2013-04-21 08:42:00 +02:00
Ehsan Akhgari
51c4aebe76
Bug 834513 - Part 3: Implement ScriptProcessorNode; r=roc
2013-04-13 21:37:04 -04:00
Olli Pettay
a5a1254463
Bug 856364 - Paris binding for KeyboardEvent, r=peterv
2013-04-21 02:48:55 +03:00
Peter Van der Beken
0ea5671cd2
Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz.
...
--HG--
extra : rebase_source : 3eef5382c32927ac321db47003a974768cbdaf6e
2013-04-16 19:02:57 +02:00
David Zbarsky
417758e921
Bug 856472: Convert CanvasPattern to WebIDL r=bz
2013-04-19 04:49:22 -04:00
David Zbarsky
23316e885d
Bug 856472: Convert TextMetrics to WebIDL r=bz
...
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
David Zbarsky
2fc3ae46ec
Bug 857439 Part 3: Make sure to delete owned interfaces if wrapping fails r=bz
2013-04-19 04:49:21 -04:00
David Zbarsky
48a8e7f507
Bug 857439 Part 2: Cleanup example codegen a bit r=bz
2013-04-19 04:49:21 -04:00
David Zbarsky
9650efa000
Bug 857439 Part 1: Disallow owned interfaces from having parents or children r=bz
2013-04-19 04:49:21 -04:00
David Zbarsky
6d2df8e0f7
Bug 857439 Part 0: Allow creators to return raw pointers for owned objects r=bz
2013-04-19 04:49:20 -04:00
Olli Pettay
30ae6176d7
Bug 856351 - Paris binding for DragEvent, r=peterv
...
--HG--
extra : rebase_source : 695b5a3bf3641f0e39d33ca8718e1bc78695b09d
2013-04-19 02:13:35 +03:00
Olli Pettay
90a4da3e6f
Bug 863094 - Infinity/-Infinity/NaN defaults for unrestricted types, r=bz
...
--HG--
extra : rebase_source : c2495008be9b084656222e6a0773c72d5224e9cc
2013-04-18 19:58:01 +03:00
Bobby Holley
288399f5c0
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Ryan VanderMeulen
4ce090df96
Backed out 4 changesets (bug 834835) for making bug 786539 nearly perma-orange.
2013-04-18 10:32:26 -04:00
Boris Zbarsky
2847bc9ab3
Bug 862610. When we have named constructors, make sure we managed to set up an interface object before looking for them. r=peterv
2013-04-18 01:21:46 -04:00
Olli Pettay
84e67783ea
Bug 862991 - If dictionary member needs cx, so should dictionary itself, r=bz
...
--HG--
extra : rebase_source : a495d79df021e896d3b7695a7d11da8d52559c28
2013-04-17 23:40:54 +03:00
Olli Pettay
71d1b54bf0
Bug 862983 - HeaderFile annotation for WebIDL interfaces, r=bz
...
--HG--
extra : rebase_source : f096c032342b71aeb42999f80241697c79037b7c
2013-04-17 23:29:09 +03:00
Olli Pettay
4619ac286d
Bug 862987 - Include nsAutoPtr.h in BindingDeclarations.h, r=bz
...
--HG--
extra : rebase_source : b3059811b16fa5a2bec070176a276ece18178baf
2013-04-17 23:17:44 +03:00
Ryan VanderMeulen
db077d8be1
Backed out changeset 409285b3f69c (bug 862092) for mochitest-2 failures on a CLOSED TREE.
2013-04-17 11:48:34 -04:00
Peter Van der Beken
518ce59270
Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz.
...
--HG--
extra : rebase_source : 1905aa3aa956a599e9ce1de8866f7dc58feb73be
2013-04-16 19:02:57 +02:00
Robert O'Callahan
8d2cfc600e
Bug 834835. Part 1: Add initial AudioStreamTrack/VideoStreamTrack/MediaStreamTrack interfaces and implementations. r=jesup
...
--HG--
extra : rebase_source : 7d9ec16301f7ba12fb181e0b37fdcaf8455b97e4
2013-03-27 14:32:51 +13:00
Boris Zbarsky
aa1e53124f
Bug 835643 part 2. Store an EventListenerHolder, not an nsIDOMEventListener, in nsListenerStruct. r=smaug
2013-04-16 17:15:57 -04:00
Boris Zbarsky
158b424c02
Bug 835643 part 1. Give CallbackObject an IID so that random things don't QI to it. r=smaug
...
Right now it thinks its IID is the nsISupports IID!
2013-04-16 17:14:30 -04:00
Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Peter Van der Beken
16af060454
Bug 852094 - Support Unforgeable on proxy-based DOM bindings. r=bz.
2012-12-20 10:56:11 +01:00
Boris Zbarsky
afd40a2989
Bug 863386. Add support for nullable enum arguments and return values. r=mccr8
...
This incidentally fixes bug 843355
2013-04-19 23:04:19 -04:00
David Zbarsky
cda8f8b22e
Bug 857439 Followup: Add null-checks for WrapObject failing and assert that the JSObject took ownership if WrapObject succeeded r=bz
2013-04-19 18:18:31 -04:00
Olli Pettay
53d9f3b057
Bug 847596 - Paris binding for DeviceMotionEvent, r=peterv
...
--HG--
extra : rebase_source : 7cbf9ac11b81506a2ffe0a5c3a34ecb78fe54f5b
2013-04-16 16:03:46 +03:00
Jon Coppeard
385efb584a
Bug 861281 - GC: Root the wrap object API r=terrence r=bholley
...
--HG--
extra : rebase_source : 1d3ed88299ad8e9ad6812fb41aa48f03cc7aabae
2013-04-15 18:32:55 +01:00
Jeff Walden
6539207aee
Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm
2013-04-05 21:22:55 -07:00
Olli Pettay
37bb065f35
Bug 856303 - Paris binding for MouseScrollEvent, r=peterv
...
--HG--
extra : rebase_source : 26aec7e5472d213615918f20168e3fd2277b0591
2013-04-15 23:37:52 +03:00
Olli Pettay
f9cfac1b16
Bug 856363 - Paris binding for TouchEvent, r=peterv
...
--HG--
extra : rebase_source : 09fc86b555febd5adfaeebdffeb685e37c1d0823
2013-04-15 23:33:46 +03:00
Olli Pettay
506f81514f
Bug 847598 - Paris binding for NotifyPaintEvent, r=peterv
...
--HG--
extra : rebase_source : dcd7cc75cfc42ab5cb636093b67da057019269cb
2013-04-15 23:27:37 +03:00
Ehsan Akhgari
2d790c190b
Bug 853298 - Part 1: Switch the ownership model of audio nodes to be based the cycle collector with wrapper caches; r=roc
...
Here is what this patch does:
* Got rid of the JSBindingFinalized stuff
* Made all nodes wrappercached
* Started to hold a self reference while the AudioBufferSourceNode is playing back
* Converted the input references to weak references
* Got rid of all of the SetProduceOwnOutput and UpdateOutputEnded logic
The nodes are now collected by the cycle collector which calls into
DisconnectFromGraph which drops the references to other nodes and destroys the
media stream. Note that most of the cycles that are now inherent in the
ownership model are between nodes and their AudioParams (that is, the cycles
not created by content.)
2013-04-14 21:52:55 -04:00
David Zbarsky
8aa282388a
Bug 846995 Part 3: Rename DOMSVGAnimatedTransformList and kill nsISupports r=jwatt
...
--HG--
rename : content/svg/content/src/DOMSVGAnimatedTransformList.cpp => content/svg/content/src/SVGAnimatedTransformList.cpp
rename : content/svg/content/src/DOMSVGAnimatedTransformList.h => content/svg/content/src/SVGAnimatedTransformList.h
2013-04-14 18:56:34 -04:00
David Zbarsky
0336e27883
Bug 846995 Part 1: Fix all the files that reference SVGAnimatedTransformList r=jwatt
2013-04-14 18:56:34 -04:00
Ryan VanderMeulen
1637d616a5
Merge m-c to inbound.
2013-04-13 08:04:05 -04:00
Ms2ger
be88bc5bfc
Bug 858212 - Move FileReader to Paris bindings; r=bz
2013-04-13 09:06:31 +02:00
Ms2ger
ebda306fd2
Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey
2013-04-13 09:05:51 +02:00
Ms2ger
b1a36bd6e2
Bug 841488 - Part d: Move HTMLSelectElement to WebIDL bindings, remove CI and QS; r=khuey
2013-04-13 09:01:59 +02:00
Guilherme Gonçalves
174c750d96
Bug 850442 - Part 5 - Rename nsGeolocation to Geolocation. r=bz
2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
dae01e1be1
Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz
2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
e70c5e5dd1
Bug 850442 - Part 2 - Convert PositionError. r=bz
2013-04-12 13:01:28 -07:00
Guilherme Gonçalves
487b082e61
Bug 850442 - Part 1 - Wrap nsGeoPosition and nsGeoPositionCoords into Position and Coordinates. r=bz
2013-04-12 13:01:28 -07:00
Boris Zbarsky
bde94b85b8
Bug 861064. Root WebIDL dictionary Init. r=smaug,terrence
2013-04-12 23:34:22 -04:00