Commit Graph

114 Commits

Author SHA1 Message Date
Peter Van der Beken
f531239bc1 Fix for bug 742195 (Implement the extended attributes for null and undefined handling on strings in Paris bindings). r=bz. 2012-07-12 15:55:30 +02:00
Peter Van der Beken
486198a6d8 Fix for bug 785188 (Make Xrays work with newest DOM list bindings). r=mrbkap. 2012-06-06 21:52:26 +02:00
Luke Wagner
ce71e55555 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Peter Van der Beken
854457d901 Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky.
--HG--
extra : rebase_source : 651a0fac4c9a87ef1c0a9cd91588c6421fd050c4
2012-05-22 15:46:20 +02:00
Eric Faust
122b4be2a0 Bug 773546 - Part 2: Centralize Paris binding accessor and method top halves. (r=peterv) 2012-08-07 22:26:20 -07:00
Eric Faust
82e2eb473d Bug 775289 - Remove generateNativeAccessors branching from Paris binding codegen. (r=peterv) 2012-08-07 22:26:19 -07:00
Eric Faust
fd479ea5d3 Bug 773548 - Part 2: Pass the generated JSJitInfos into JSFunctionSpec. (r=peterv) 2012-08-07 22:26:19 -07:00
Eric Faust
4195056b90 Bug 773548 - Part 1: Modify Paris bindings to specialize methods. (r=peterv) 2012-08-07 22:26:19 -07:00
Boris Zbarsky
42210976c4 Bug 747287 - Part 3: Add callback interface to allow JIT to interrogate DOM. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
e2e2ab91ba Bug 747287 - Part 2: Generate infalliblity data for further JIT optimization. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
b5fcc44a40 Bug 747287 - Part 1: Generate JSJitInfos and specialized accessors for Paris bindings. (r=peterv) 2012-08-07 22:26:18 -07:00
Ms2ger
b793270940 Bug 776224 - CheckPref should always initialize its outparam; r=peterv 2012-08-04 09:44:00 +02:00
Ms2ger
b2e7e838fd Bug 774705 - Part b: Throw a TypeError when trying to construct an interface without a constructor; r=bz 2012-08-04 09:44:00 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
d6a7a66fb7 Bug 776224 - CheckPref should always initialize its outparam; r=peterv 2012-08-04 09:44:00 +02:00
Ms2ger
e8f42a2d03 Bug 774705 - Part b: Throw a TypeError when trying to construct an interface without a constructor; r=bz 2012-08-04 09:44:00 +02:00
William Chen
aab114efc1 Bug 779573 - Fix generated code for empty string as default dictionary member in WebIDL. r=khuey 2012-08-01 14:34:36 -04:00
Eric Faust
6d4e293e26 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Nicholas Cameron
8c560786c6 Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz 2012-07-26 14:31:26 +12:00
Eric Faust
4d26491a7e Bug 749535 - Part 3: Remove JS_Is*Array() from Paris Binding argument unwrapping. (r=bz) 2012-07-31 20:45:22 -07:00
Eric Faust
921d44b1c5 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
67b907ec5c Bug 749535 - Part 3: Remove JS_Is*Array() from Paris Binding argument unwrapping. (r=bz) 2012-07-31 20:07:55 -07:00
Boris Zbarsky
43cfe7de05 Bug 771636 part 3. Implement default values for WebIDL strings. r=peterv 2012-07-31 00:22:23 -04:00
Boris Zbarsky
d7233f1cb3 Bug 771636 part 2. Implement default values for WebIDL enums. r=peterv 2012-07-31 00:22:23 -04:00
Boris Zbarsky
32ecc36c05 Bug 771636 part 1. Rearrange default-value handling so we actually set C++ values directly instead of round-tripping through jsval. r=peterv 2012-07-31 00:22:22 -04:00
Brian Hackett
4da0b7720d Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Boris Zbarsky
343f5559ae Bug 777438. Make sure our C++ declarations are in the right order when a dictionary has a dictionary member. r=khuey 2012-07-27 00:09:10 -04:00
Boris Zbarsky
c2d945d04f Bug 775844. Make sure to examine constructor signatures when looking for union types. r=peterv 2012-07-27 00:09:10 -04:00
Boris Zbarsky
2f979d3db5 Bug 775845. Fail codegen for variadic arguments until we add support for them. r=peterv 2012-07-27 00:09:09 -04:00
Boris Zbarsky
8fe1c5e7e7 Bug 775852. Actually follow the WebIDL spec for creating JS representations of sequences. r=khuey 2012-07-27 00:09:09 -04:00
Boris Zbarsky
b7908cda19 Bug 764456 part 5. Actually look at hasConcreteDescendant in hasInterfacePrototypeObject() so that we can avoid codegen for [NoInterfaceObject] interfaces hat are only implemented via "implements". r=peterv 2012-07-19 14:48:58 -04:00
Boris Zbarsky
29608f78af Bug 764456 part 4. Make sure consequential interface used as arguments are non-castable. r=peterv 2012-07-19 14:48:58 -04:00
Boris Zbarsky
ffe288442d Bug 764456 part 3. Clean up meaning of 'castable' and use thereof a bit. r=peterv 2012-07-19 14:48:58 -04:00
Peter Van der Beken
e6c18ed006 Fix for bug 774775 (XRayWrapper does not handle new bindings constants) - refactor code. r=bz.
--HG--
extra : rebase_source : 317d5942dde4427384320cb334f794f7fef37a2e
2012-07-18 13:52:07 +02:00
Peter Van der Beken
a265b4162a Fix for bug 774775 (XRayWrapper does not handle new bindings constants). r=bz.
--HG--
extra : rebase_source : fef985d0417c394ae5997b4450c7076005bdf870
2012-07-17 22:54:25 +02:00
Ed Morley
a2bf606a9d Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
d900ce7ddd Bug 765464 - Part c: Throw some TypeErrors; r=khuey 2012-07-18 12:36:08 +02:00
Boris Zbarsky
43ec97d865 Bug 773519. Speed up string argument conversion in DOM bindings by faking an XPCOM string. r=peterv 2012-07-17 12:18:53 -04:00
Boris Zbarsky
bd44efd679 Bug 768537 part 2. Allow dictionaries to be initialized with null or undefined, and treat them as dictionaries in which everything has its default value. r=peterv 2012-07-17 12:18:53 -04:00
Ed Morley
57e533a7ae Backout 9deb8edb5070 (bug 773519), ea5a243a60f1 & 0cad1e553bea (bug 768537) for compilation failures 2012-07-17 17:48:11 +01:00
Boris Zbarsky
0d00149778 Bug 773519. Speed up string argument conversion in DOM bindings by faking an XPCOM string. r=peterv 2012-07-17 12:18:53 -04:00
Boris Zbarsky
b6c4ae2de8 Bug 768537 part 2. Allow dictionaries to be initialized with null or undefined, and treat them as dictionaries in which everything has its default value. r=peterv 2012-07-17 12:18:53 -04:00
Peter Van der Beken
4b519aba5e Fix for bug 762280 (Use nsContentUtils::PreserveWrapper for preserving expandos). r=bz.
--HG--
extra : rebase_source : cd426b3c3b987d8e39196e1dd1e468bc87e87f53
2012-07-16 16:52:53 +02:00
Peter Van der Beken
b6c85dca77 Fix for bug 756258 (Support union types in new DOM bindings). r=bz.
--HG--
extra : rebase_source : 5352801a4eb5085f73a5b6e78aa238c5c9d44179
2012-05-18 23:25:47 +02:00
Boris Zbarsky
85ad2a87de Bug 742152. Move distinguishing index determination and verification of type-identity of preceding arguments out of codegen and into the WebIDL parser. r=jlebar 2012-06-22 16:18:50 -04:00
Boris Zbarsky
4df159829d Bug 764456 part 1. Flag consequential interfaces in the WebIDL data model. r=khuey 2012-06-22 16:18:50 -04:00
Boris Zbarsky
a441e94868 Bug 764698. Fix isDistinguishableFrom for dictionaries to work right. r=peterv 2012-06-21 12:29:11 -04:00
Ms2ger
97a1f2bb20 Bug 766615 - Fix nullable WebIDL dictionaries; r=bz 2012-06-21 09:21:53 +02:00
Ms2ger
2d03e06411 Bug 764539 - Stringify the prototype class in Paris bindings to "InterfacePrototype" instead of "Interface Prototype"; r=bz 2012-06-21 09:20:28 +02:00
Ms2ger
def1cc5c96 Bug 765704 - Don't throw when setting XHR.responseType to an invalid value; r=bz 2012-06-21 09:11:07 +02:00