Boris Zbarsky
e1197ccff3
Bug 830614. Wrapping a wrappercached WebIDL object should watch out for reentry via WrapNativeParent. r=peterv
2013-01-15 14:04:24 -05:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Ehsan Akhgari
9eeab1abce
Bug 828000 - Don't generate the `isNull' local variable if it's not needed; r=bzbarsky
2013-01-08 16:29:52 -05:00
Jeff Walden
a127013839
Bug 826447 - Change all the proxy API signatures to take unsigned flags, rather than bool set, so that it's easier to find all tests of JSRESOLVE_ASSIGNING. r=bz
...
--HG--
extra : rebase_source : 3b88b411965087984d7973a90f8fa1b06457a6ce
2013-01-03 15:31:36 -06:00
Boris Zbarsky
8bd1686555
Bug 824823 part 7. Implement WebIDL CharacterData API on nsGenericDOMDataNode. r=peterv
2013-01-04 12:02:14 -05:00
Boris Zbarsky
4d733dc0e1
Bug 820665 part 3. WebIDL spec updates to changes in how callback interfaces work. r=khuey
...
Specifically, any object that's not a Date or RegExp can implement a callback interface.
2013-01-03 14:03:11 -05:00
Boris Zbarsky
248f730e6a
Bug 820665 part 2. WebIDL spec updates to changes in how callback functions work. r=khuey
...
Specifically, all callables can be converted to a callback, including
in overload resolution and union conversions. We already did this for
normal callback arguments, but not the overload/union case.
2013-01-03 14:03:06 -05:00
Boris Zbarsky
20d4a061d6
Bug 820665 part 1. More WebIDL spec updates to changes in how dictionaries work. r=khuey
...
Specifically, the following changes:
1) A union that includes a dictionary and is the last non-optional
argument must actually be marked optional, just like a dictionary
argument.
2) Disallow a union from containing both a nullable type and a dictionary.
3) Now all non-Date and non-RegExp objects can be used as dictionaries,
including from overload resolution and union conversion.
We don't support dictionaries inside unions yet, or unions as
distinguishing args, so the spec changes to do with converting null to
dictionaries inside a union or picking the union overload if there is
a union containing a dictionary and null is the distinguishing arg
value are not relevant to us so far.
2013-01-03 14:03:00 -05:00
Boris Zbarsky
1c97d54111
Bug 818050. Teach the JIT about DOM method and getter return types so that it doesn't have to type-guard when unboxing the boxed value in many cases. r=jandem,peterv
2013-01-03 14:02:52 -05:00
Boris Zbarsky
7edf1854ef
Bug 821177. [TreatNonCallableAsNull] should only affect attribute setters. r=khuey
2013-01-02 22:03:25 -05:00
Boris Zbarsky
eabd327329
Bug 819845. Update WebIDL bindings to spec change: sequences/arrays are no longer distinguishable from dictionaries, and conversion to a sequence works on arbitrary objects. r=khuey
2013-01-02 22:03:25 -05:00
Masatoshi Kimura
b27f3c82dc
Bug 824247 - Part 2: Fix common source of warning span (dom/bindings). r=khuey
2013-01-03 00:55:55 +09:00
Boris Zbarsky
4bebfa7b67
Bug 824824. Add support for passing multiple touches as arguments to createTouchList. r=mbrubeck,peterv
2012-12-31 10:37:22 -08:00
Boris Zbarsky
6378ed05fd
Bug 825025. MaybeWrapValue should work with all gcthings. r=peterv
2012-12-29 22:13:26 -08:00
Jeff Walden
c4fadd1981
Bug 823283 - Remove all remaining uses of JSRESOLVE_QUALIFIED, and the few remaining tests (which were pretty much purely diagnostic). r=luke
...
--HG--
extra : rebase_source : 51e2ac7ccc76be84d12600baeb6d458c2927bea7
2012-09-15 11:19:55 -07:00
Boris Zbarsky
a3b4bd9774
Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
...
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Ms2ger
8dd150af35
Merge PGO-green changeset from inbound to m-c.
2012-12-22 12:06:37 +01:00
Ms2ger
1e109fdaab
Bug 823088 - Add a static assertion that bindings with descriptor.nativeOwnership == 'nsisupports' inherit from nsISupports; r=bz
2012-12-22 09:18:11 +01:00
Ms2ger
f11ed9361b
Bug 793151 - Change the length property of a WebIDL method to the mimimum number of arguments, instead of the maximum; r=bz
2012-12-22 09:04:17 +01:00
Peter Van der Beken
893e85fa56
Fix for bug 820577 (Support reparenting for new DOM binding objects). r=bholley/bz.
...
--HG--
extra : rebase_source : 66dad56b8f543790ffa7e595ccd684c4673403df
2012-09-26 16:17:46 +02:00
Jeff Walden
fd8f198826
Bug 822350 - Make generated bindings include mozilla/FloatingPoint.h directly if they use it. r=bz
...
--HG--
extra : rebase_source : 7271aea09f40dee8d418ddd17c8f43559262a0d2
2012-12-17 17:21:26 -05:00
William Chen
a5b66f6cc6
Bug 820957 - Support object members in WebIDL dictionary. r=bz
2012-12-17 13:44:13 -08:00
William Chen
c3b4bdb077
Bug 820544 - Prefix WebIDL dictionary native member names to avoid C++ keywords. r=bz
2012-12-17 13:44:04 -08:00
Peter Van der Beken
6f6a341ee2
Fix for bug 815149 (Add support for SOWs and XBL bindings in new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : c24544fd3d1c99651e279e687a07a02c5b994323
2012-09-12 22:29:30 +02:00
Boris Zbarsky
0c1ffdfca7
Bug 821760. Properly handle compartments in WebIDL static operation bindings. r=peterv
2012-12-14 14:11:23 -05:00
Boris Zbarsky
916ce462a6
Bug 819904. Throw from WebIDL setters called with no arguments, per spec change. r=peterv
2012-12-14 14:10:49 -05:00
Boris Zbarsky
a1a7cade04
Bug 816375. Switch NodeFilter to WebIDL bindings. r=peterv
2012-12-14 14:10:49 -05:00
Ed Morley
fbf6fab8e8
Backout 67d84be0cc83 (bug 820544) for bustage
2012-12-14 16:58:51 +00:00
William Chen
45b4ea581a
Bug 820544 - Prefix webidl dictionary native members names to avoid C++ keywords. r=bz
2012-12-11 16:05:46 -08:00
Boris Zbarsky
aad442ab75
Bug 820862. JSJitInfo should say what sort of function it is. r=jandem
2012-12-13 17:08:43 -05:00
Nathan Froyd
548f77a633
Bug 821317 - reduce the size of DOMClass.mInterfaceChain to something reasonable; r=bz
2012-12-13 11:01:00 -05:00
Nathan Froyd
a25af0c2e0
Bug 821324 - actually return a success value from replaceFileIfChanged; r=bz
2012-12-13 11:26:33 -05:00
Boris Zbarsky
d4de9b2c67
Bug 815502. Implement support for variadic arguments in WebIDL. r=peterv
2012-12-11 17:50:56 -05:00
Peter Van der Beken
ea0c0a9788
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
...
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Boris Zbarsky
f490c53f7d
Bug 815803. Now that JSSLOT_PROXY_PRIVATE == 0, simplify binding code that had to deal with different slot indices on proxy and non-proxy objects. r=peterv
2012-12-06 15:21:19 -05:00
Boris Zbarsky
90caf3e264
Bug 816376. Create vanilla objects for the interface object of callback interfaces. r=peterv
2012-12-06 15:21:18 -05:00
Peter Van der Beken
e484d3351f
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods) - Add a constructor to callbacks to allow conversion between callback types. r=bz.
...
--HG--
extra : rebase_source : 6c55316f374ef1654f0b77b782500fc52a78881a
2012-12-06 11:41:14 +01:00
Peter Van der Beken
5d8ad95b2d
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods) - Remove hardcoded interface list in workers. r=bz.
...
--HG--
extra : rebase_source : 87b106b79f8e5912f10a603e407da1c93be4ed5d
2012-12-06 11:41:14 +01:00
Peter Van der Beken
aeb1d53352
Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods) - Support castable types in unions. r=bz.
...
--HG--
extra : rebase_source : 633d2b350be0cf11ac0bb010a0ad427b10863ef4
2012-12-06 11:41:14 +01:00
Boris Zbarsky
8a1132df5e
Bug 816160. Don't require 'castable':False for prefable bindings with hasXPConnectImpls, and don't require hasXPConnectImpls bindings to be prefable. r=peterv
2012-12-03 11:46:03 -05:00
Ms2ger
910e6a92cd
Merge m-c to m-i.
2012-12-02 11:32:57 +01:00
Ms2ger
90dc2a2c97
Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv
2012-12-02 09:59:08 +01:00
Masatoshi Kimura
ede8ebce3e
Bug 816487 - Allow all ASCII characters for WebIDL enum. r=bz
2012-12-01 21:23:26 -05:00
Benoit Jacob
b7633de200
Bug 816187 - make WebIDL accept nullable dictionary retvals; let getContextAttributes's retval be nullable - r=bz
2012-11-30 18:30:05 -05:00
Boris Zbarsky
5eab6d42fb
Bug 812783. Add support for flagging callbacks as worker-only. r=khuey
2012-11-29 11:14:40 -05:00
Eric Faust
c4df170bbd
Bug 747289 - Part 1/2 - Update Paris bindings to expose DOM constants. r=bz
2012-11-28 16:28:36 -05:00
Boris Zbarsky
864866eb21
Fix up indentation of the generated code for event handler return values. No bug.
2012-11-28 02:33:50 -05:00
Boris Zbarsky
127a0152d5
Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas
2012-11-27 15:32:05 -05:00
Boris Zbarsky
4edad4b6bf
Bug 767933 part 2. Implement codegen for 'unrestricted float' and 'unrestricted double', as aliases for float and double for now. r=khuey
2012-11-27 15:32:05 -05:00
Boris Zbarsky
e248bf75cd
Bug 812742. Fix sequence codegen to not do AppendElement multiple times by accident. r=peterv
2012-11-27 15:20:40 -05:00