Commit Graph

1262 Commits

Author SHA1 Message Date
Luke Wagner
55107a5229 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley) 2012-08-21 18:42:53 -07:00
Peter Van der Beken
2e8d72e06f Fix for bug 768692 (Move DOM list binding generation to the new DOM binding codegen). r=bzbarsky. 2012-05-22 15:46:20 +02:00
Eric Faust
a26dd0688d Bug 773546 - Part 2: Centralize Paris binding accessor and method top halves. (r=peterv) 2012-08-07 22:26:20 -07:00
Eric Faust
73e3f84ff5 Bug 775289 - Remove generateNativeAccessors branching from Paris binding codegen. (r=peterv) 2012-08-07 22:26:19 -07:00
Eric Faust
c17ec4b43e Bug 773548 - Part 2: Pass the generated JSJitInfos into JSFunctionSpec. (r=peterv) 2012-08-07 22:26:19 -07:00
Eric Faust
de271493b2 Bug 773548 - Part 1: Modify Paris bindings to specialize methods. (r=peterv) 2012-08-07 22:26:19 -07:00
Boris Zbarsky
7e384e2901 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
4284dc35c3 Bug 747287 - Part 2: Generate infalliblity data for further JIT optimization. (r=peterv) 2012-08-07 22:26:18 -07:00
Eric Faust
33361ddd97 Bug 747287 - Part 1: Generate JSJitInfos and specialized accessors for Paris bindings. (r=peterv) 2012-08-07 22:26:18 -07:00
Ms2ger
662296a7da Bug 776224 - CheckPref should always initialize its outparam; r=peterv 2012-08-04 09:44:00 +02:00
Ms2ger
c2eac68e6a 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
a246794e16 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
8d76315931 Bug 776224 - CheckPref should always initialize its outparam; r=peterv 2012-08-04 09:44:00 +02:00
Ms2ger
88898be73a 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
7f2ea91b3b 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
2fd6e9bbbd Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Nicholas Cameron
c983518c99 Bug 776685; throw TypeError exceptions from Azure canvas bindings. r=bz 2012-07-26 14:31:26 +12:00
Eric Faust
a7c0955e7c 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
76c927f309 Backout changesets 6e78bc0145ee, 97a1463cde9c, and 9097d0b3acc6 (Bug 749535) for
erroneous bug number (r=me).
2012-07-31 20:24:32 -07:00
Eric Faust
70b0392f2c 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
b3581067f1 Bug 771636 part 3. Implement default values for WebIDL strings. r=peterv 2012-07-31 00:22:23 -04:00
Boris Zbarsky
cecc26dd7d Bug 771636 part 2. Implement default values for WebIDL enums. r=peterv 2012-07-31 00:22:23 -04:00
Boris Zbarsky
ef58b84a88 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
6c4ed4bfd1 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
1488e1e348 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
5b52d060a9 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
df76788f1c 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
edaca081b0 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
508ab718fd 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
25b38f4088 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
3a9c08b23e 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
9c6caad19d Fix for bug 774775 (XRayWrapper does not handle new bindings constants) - refactor code. r=bz. 2012-07-18 13:52:07 +02:00
Peter Van der Beken
452ad37940 Fix for bug 774775 (XRayWrapper does not handle new bindings constants). r=bz. 2012-07-17 22:54:25 +02:00
Ed Morley
2deb5e4d6e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-18 13:32:24 +01:00
Ms2ger
189c2a63aa Bug 765464 - Part c: Throw some TypeErrors; r=khuey 2012-07-18 12:36:08 +02:00
Boris Zbarsky
d30e831e1d 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
08f95d8f6f 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
8abd69784e Backout 9deb8edb5070 (bug 773519), ea5a243a60f1 & 0cad1e553bea (bug 768537) for compilation failures 2012-07-17 17:48:11 +01:00
Boris Zbarsky
1d055c6609 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
c768da737b 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
62f0ed62b1 Fix for bug 762280 (Use nsContentUtils::PreserveWrapper for preserving expandos). r=bz. 2012-07-16 16:52:53 +02:00
Peter Van der Beken
d2595f63e1 Fix for bug 756258 (Support union types in new DOM bindings). r=bz. 2012-05-18 23:25:47 +02:00
Boris Zbarsky
b952a86b40 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
491c38b4aa Bug 764456 part 1. Flag consequential interfaces in the WebIDL data model. r=khuey 2012-06-22 16:18:50 -04:00
Boris Zbarsky
f2d10569f7 Bug 764698. Fix isDistinguishableFrom for dictionaries to work right. r=peterv 2012-06-21 12:29:11 -04:00
Ms2ger
c244d818ec Bug 766615 - Fix nullable WebIDL dictionaries; r=bz 2012-06-21 09:21:53 +02:00
Ms2ger
022f426440 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
b567e34561 Bug 765704 - Don't throw when setting XHR.responseType to an invalid value; r=bz 2012-06-21 09:11:07 +02:00
Boris Zbarsky
46f92197e9 Bug 763911. Add support for interface members of dictionaries. r=khuey 2012-06-19 12:09:37 -04:00
Boris Zbarsky
548bfae095 Bug 764420. Fix ArrayBufferView unwrapping to allow DataViews. r=khuey 2012-06-19 12:08:39 -04:00