Commit Graph

999 Commits

Author SHA1 Message Date
Eric Faust
292636680c Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
Eric Faust
d788ef7195 Bug 1027402 - Part 2: Mark Proxy Handler instances as const. (r=bholley) 2014-06-27 04:44:04 -07:00
Ben Kelly
3d655c8190 Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
Boris Zbarsky
089a4f6015 Bug 1027667. Allow MozMap in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
9f7556fdaa Bug 1023762 part 2. Add basic support for sequences of non-containers to event codegen. r=smaug 2014-06-23 16:03:58 -04:00
Boris Zbarsky
8032425fc7 Bug 1023762 part 1. Factor out the IDL-to-C++ type mapping for event codegen into a separate function. r=smaug 2014-06-23 16:03:58 -04:00
Boris Zbarsky
ec84ae32a6 Bug 767924 part 4. Allow [] as a default value for sequences in unions. r=peterv 2014-06-23 16:03:58 -04:00
Boris Zbarsky
f802f5213f Bug 767924 part 3. Allow sequences in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
1b17879b6e Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
d1a8ac4795 Bug 767924 part 1. Add support for holders with nonempty holderArgs in unions. r=peterv 2014-06-23 16:03:57 -04:00
Boris Zbarsky
f83d03288d Bug 1026080 part 2. Add binding codegen support for [] as a default value for sequence arguments and dictionary entries. r=khuey 2014-06-23 16:03:57 -04:00
Benoit Jacob
1a1cc411ff Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Ms2ger
b7bd12c68c Bug 1026739 - Remove unused INTERFACE_CHAIN macro; r=bz 2014-06-20 12:32:50 +02:00
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Ben Kelly
bc08d90918 Bug 1027256 P1 Fix SetStringData() to exclude ByteString and otherwise use real type name. r=bz 2014-06-18 20:22:09 -04:00
Eric Faust
328fc1e2be Bug 1011660 - Remove separate DOMClass struct. (r=bz) 2014-06-18 13:19:19 -07:00
Ben Kelly
935db1e193 Bug 1025973 - Part 2: Do not pass JSContext to static webidl methods in non-worker case. r=bz 2014-06-16 12:52:00 -04:00
Olli Pettay
44d225b194 Bug 1023698 - Missing JSContext* parameter in inherited generated event constructor, r=bz
--HG--
extra : rebase_source : 458a5daf28ed3bac57639f6be13b5a1ebd49d91e
2014-06-11 23:25:25 +03:00
Boris Zbarsky
b6c8784504 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
1284410aa0 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
233f08032a Bug 1009675 part 1. Change the return value of getRetvalDeclarationForType to allow more than two states for the outparam bit. r=peterv 2014-06-11 16:26:51 -04:00
Olli Pettay
9233bc118d Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Nikhil Marathe
2984e4dd21 Bug 1023520 - Add support for Promise returning methods on globals. r=bz 2014-06-11 09:05:22 -07:00
Ehsan Akhgari
01a97597af Bug 1021670 - Enable using non-wrapper-cached objects in unions; r=bzbarsky
--HG--
extra : rebase_source : 43353aa015a793d2eb6bed507213ceda2065d99e
2014-06-07 11:50:21 -04:00
Nathan Froyd
d95a63bfd3 Bug 1019160 - part 4 - use jsids to access JS-implemented interface properties; r=bz 2014-06-05 14:47:13 -04:00
Nathan Froyd
c1f3ac424d Bug 1019160 - part 3 - create atom caches for JS-implemented interfaces; r=bz 2014-06-02 17:23:39 -04:00
Boris Zbarsky
dd79dff776 Bug 1019160 - part 2 - separate out some Fake* class changes; r=froydnj,because-it-works 2014-06-05 14:06:58 -04:00
Nathan Froyd
be199e8038 Bug 1019160 - part 1 - factor out initIdsClassMethod from CGDictionary; r=bz 2014-06-02 17:14:03 -04:00
Jason Orendorff
933c47b3ad Bug 998115 - Make the output of Codegen.py less #BOGUS. r=peterv. 2014-06-06 11:15:22 -04:00
Jason Orendorff
feb5c344e3 Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Ms2ger
52084fb878 Bug 1018306 - Call interface.hasInterfaceObject rather than checking the truthiness of the method; r=bz 2014-06-06 10:06:27 +02:00
Nathan Froyd
de14f9b6b5 Bug 1019705 - replace binaryNames accesses with binaryNameFor; r=bz 2014-06-03 12:20:16 -04:00
Boris Zbarsky
2078fba45b Bug 1017428 part 1. Store information in jitinfo about [Cached] attribute slots in addition to [StoreInSlot] ones. r=peterv,efaust 2014-06-03 11:38:36 -04:00
Peter Van der Beken
02271d1690 Bug 1016960 - make |instanceof WebIDLInterface| work with outer windows. r=bz.
--HG--
extra : rebase_source : d62525ea541af2cf832884fb8ea5398595887679
2014-05-28 22:45:37 +02:00
Reuben Morais
5a17903f23 Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Fabrice Desré
6e0ad13fab Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz 2014-05-26 12:11:52 -07:00
Reuben Morais
119807d8a1 Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00
Boris Zbarsky
68c240adc6 Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey 2014-05-23 17:32:39 -04:00
Boris Zbarsky
e115971ce5 Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
a76f5998d9 Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
b3a35f1ad2 Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Wes Kocher
e453e97449 Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky
ef09975166 Bug 1007878 part 5. Implement callback codegen for MozMap. r=khuey 2014-05-23 17:32:39 -04:00
Boris Zbarsky
d5a8585aec Bug 1007878 part 4. Add C++-to-JS conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
03d472073c Bug 1007878 part 3. Add JS-to-C++ conversion for MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Boris Zbarsky
e3d93b4d75 Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
Jason Orendorff
46d6b96eff Bug 998080 - Refactor so that definition_body methods return un-indented code. r=peterv. 2014-05-22 08:18:01 -05:00
Boris Zbarsky
739997c580 Bug 1010658 part 2. Stop storing a DOMClass* in a slot on DOM prototypes. r=peterv 2014-05-19 16:37:59 -04:00
Boris Zbarsky
a58d97d247 Bug 1008236. Assert that binding generic getters/setters/methods return values that match the return type claimed in the jitinfo. r=smaug 2014-05-15 10:26:23 -07:00
Peter Van der Beken
3df65210a0 Bug 1010872 - Stop preserving Global bindings. r=bz.
--HG--
extra : rebase_source : 23046f48a92cd27dd3c5ee6fc60c93b01067bb03
2014-05-15 14:16:06 +02:00