Eric Faust
404a29c4f3
Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv)
2014-09-10 15:52:36 -07:00
Peter Van der Beken
87bd779590
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use overloaded functions and auto to select the right type to store return values. r=bz.
...
--HG--
extra : rebase_source : 50f86f20966fee33cfa039abc227ee2560640fd4
2014-08-28 00:43:56 +02:00
Peter Van der Beken
88d6c89deb
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, statically assert that we keep a strong reference to return values of NewObject methods. r=bz.
...
--HG--
extra : rebase_source : b0d62c7a8ecf73de3e24a9ab31ec2cae64174c24
2014-08-28 00:43:56 +02:00
Peter Van der Beken
b6d6da063d
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use templatized class to hold strong or weak pointer depending on the return type. r=bz.
...
--HG--
extra : rebase_source : 243e9ea15e2f4c213aa8a17a97fbaf53520804ac
2014-08-28 00:43:56 +02:00
Ehsan Akhgari
c317be3207
Bug 1065025 - Make the generated WebIDL ToJSON method const; r=baku
2014-09-09 14:00:22 -04:00
Chris Peterson
412ea5db86
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Boris Zbarsky
e98ca1b5ef
Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey
2014-09-08 11:28:57 -04:00
Boris Zbarsky
2b1247970e
Back out bug 1063889 (rev 2f5df573f4a3) because windowsx.h defines GetFirstChild/GetNextSibling macros, so will make the world blow up if you include it anywhere near nsIDOMNode/nsINode. r=bustage
2014-09-08 12:25:17 -04:00
Boris Zbarsky
93ca015865
Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey
2014-09-08 11:28:57 -04:00
Boris Zbarsky
bbc8aa5c97
Bug 1017424 part 8. Remove the annotation of Window as having XPConnect impls in codegen. r=peterv
2014-09-05 14:28:45 -04:00
Boris Zbarsky
a06c8df5c2
Bug 1057541 part 3. Change codegen to support required dictionary members. r=khuey
2014-09-05 14:28:43 -04:00
Boris Zbarsky
ee6a2b99fb
Bug 1057541 part 2. Add a way to ask an IDLArgument whether it guarantees that it will always have a value. r=khuey
2014-09-05 14:28:43 -04:00
Ehsan Akhgari
6f236e1960
Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Boris Zbarsky
5fa4711167
Bug 908390 part 1. Make [Exposed] work correctly on jsonifiers and stringifiers and don't create an unforgeable toJSON just because we have a jsonifier. r=khuey
2014-08-29 19:50:05 -04:00
Nikhil Marathe
f86d05ab8c
Bug 1048699 - Patch 2 - Indentation and proper include. r=bz
...
--HG--
extra : transplant_source : %A3%EC%04%97%A4%FC%17%2B%816k%CF%03%BF%8A%7F%A4%19%87%C7
2014-08-28 13:33:39 -07:00
Eric Faust
64d57acaf3
Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj)
2014-08-28 13:47:16 -07:00
Nikhil Marathe
b958ccf232
Bug 1048699 - Make Exposed=SpecificWorkerType work automatically. r=bz
...
--HG--
extra : rebase_source : 651bd062b015e2aa030b87a842bc7d63dccf349c
2014-08-27 10:17:36 -07:00
Boris Zbarsky
c6070203fb
Bug 929609 part 2. Fix passing of typed arrays to JS-implemented WebIDL to actually work. r=peterv
2014-08-25 15:07:45 -04:00
Boris Zbarsky
b7055f8eaf
Bug 929609 part 1. Rename "jsObjectsArePtr" to "typedArraysAreStructs" (and invert its meaning, of course), since that's what it's really used for nowadays. r=peterv
2013-09-30 10:30:06 -04:00
Andrew McCreight
49d22c54d9
Bug 963382 - Fix misaddressed review comment.
2014-08-21 14:31:44 -07:00
Andrew McCreight
c2171c85f7
Bug 1053920 - Define and use JSNativeArguments in Codegen.py. r=bz
2014-08-21 14:31:44 -07:00
Andrew McCreight
45c0af210a
Bug 963382, part 2 - Add chrome JS function for clearing cache. r=bz
2014-08-21 13:56:11 -07:00
Andrew McCreight
8e2299bb2a
Bug 963382, part 1 - Split out MethodDefiner's JS implemented case into its own thing. r=bz
2014-08-21 13:56:11 -07:00
Roshan Vidyashankar
f99e9878e4
Bug 1038993 - Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv
2014-08-20 16:32:19 -07:00
Ms2ger
07eb3b86f4
Bug 1056138 - Move checks for the PutForwards and Replaceable extended attributes into the WebIDL parser; r=bz
...
In fact, the WebIDL parser already checks for PutForwards, so the check in the
codegen was superfluous.
2014-08-20 17:31:39 +02:00
Bobby Holley
29c2f9eb29
Bug 1036214 - Do a subsumes check on object and any parameters (and things containing them) to JS-implemented WebIDL. r=bz
2014-08-19 18:12:15 -07:00
Andrew McCreight
2ee3816f99
Bug 1048659 - Return the union we construct in a JS callback. r=peterv
2014-08-19 08:41:26 -07:00
Bobby Holley
46195905c8
Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm
2014-08-18 10:57:30 -07:00
Bobby Holley
30602c16ab
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Seth Fowler
9df3dafe56
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Jon Coppeard
e0d8a1ab35
Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug
2014-08-13 10:05:22 +01:00
Jason Orendorff
6b023d8a76
Bug 1041261, part 5 - In DOM bindings implemented as proxies, don't call a named getter/setter/deleter if the id is a symbol. r=peterv.
...
--HG--
extra : rebase_source : 0ec7dad0ed1364d07cf2a8731f7980ab4c89cf7f
2014-08-04 14:20:57 -05:00
Jason Orendorff
720aa9c381
Bug 1041261, part 4 - Use foundVar and resultVar to move a few declarations in DOM binding code. r=peterv.
...
Now the "bool found;" and "bool result;" declarations are added in the outermost scope where they're going to be used, rather than the scope of the method call that sets them. Until now, those have always been the same scope; part 5 will put an if-block around certain method calls, making these two different scopes.
--HG--
extra : rebase_source : df60ef4c2ef400caaeb16a4950c86f5ba4c31319
2014-08-05 09:10:29 -05:00
Jason Orendorff
09aa619f82
Bug 1041262, part 3 - Codegen scoping changes. r=peterv.
...
This changes CGProxyNamedPresenceChecker to permit declaring the `found` and/or `result` variables in an outer scope. The default is still to declare them in the innermost scope containing the method call.
--HG--
extra : rebase_source : 7060a9b6f829be0c2b86e701b09d7438798fb87c
2014-08-05 11:53:37 -05:00
Valentin Gosu
0828863c56
Bug 1051109 - Define non-static method to jsonify interface attributes r=smaug
2014-08-11 01:17:50 +03:00
Valentin Gosu
32e7ba0efc
Bug 1047848 - Part 1 - Change Codegen.py to jsonify parent interface attributes as well r=smaug
2014-08-08 12:09:35 +03:00
Boris Zbarsky
5417316dd3
Bug 1048437. Allow dictionary members with '-' in the name. r=khuey
2014-08-04 15:02:58 -04:00
Peter Van der Beken
481464ae97
Bug 1039187 - [Bluetooth] Bluetooth2 build fail. r=bz.
...
--HG--
extra : rebase_source : d3ce4805bcdfe5e12b230efee479ea8002d95e5f
2014-07-18 00:17:17 +02:00
Boris Zbarsky
0de349e9ee
Bug 1017988 part 11. Codegen the definition of interface objects on worker globals. r=khuey
2014-08-04 22:20:35 -04:00
Boris Zbarsky
fa05e88a4e
Bug 1017988 part 9. Don't codegen window-only things on worker descriptors. r=khuey
2014-08-04 22:20:34 -04:00
Boris Zbarsky
420a4d0711
Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey
2014-08-04 22:20:34 -04:00
Boris Zbarsky
76425ced6d
Bug 1043690 part 2. Change the codegen for DOM proxies to ignore named props when looking up property descriptors on [[Set]]. r=efaust
2014-08-01 23:37:14 -04:00
Ben Kelly
1c112ffb3c
Bug 1025183
P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-08-01 16:23:48 -04:00
Ben Kelly
767bba1db9
Revert bug 1025183
(revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me
2014-08-01 14:10:40 -04:00
Ben Kelly
f5e7d09323
Bug 1025183
P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-08-01 13:56:59 -04:00
Szu-Yu Chen [:aknow]
c6822df4e3
Bug 1035654 - Part 3: Generate cycle collection traverse/unlink for unions. r=bzbarsky
2014-08-01 03:20:00 -04:00
Ed Morley
124caf2ec5
Backed out changeset 01c51cb8d8bd (bug 1025183
)
2014-08-01 10:27:32 +01:00
Boris Zbarsky
54986917b5
Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley
2014-07-31 23:50:19 -04:00