dom/bindings/Codegen.py
958eab8fe85a06a46595441d5f91a52eb1b87d50
created 2012-11-28 02:33 -0500
pushed 2012-11-28 17:11 +0000
Boris Zbarsky Boris Zbarsky - Fix up indentation of the generated code for event handler return values. No bug.
4ce2a3b3b08e1baf232fd77b30cb037433ec0647
created 2012-11-27 15:32 -0500
pushed 2012-11-28 17:11 +0000
Boris Zbarsky Boris Zbarsky - Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas
c426c6ea5ff73c5ba6e4566cebf22340cb197386
created 2012-11-27 15:32 -0500
pushed 2012-11-28 17:11 +0000
Boris Zbarsky Boris Zbarsky - Bug 767933 part 2. Implement codegen for 'unrestricted float' and 'unrestricted double', as aliases for float and double for now. r=khuey
c3d44fd7dce4c609f1e719848d16acb0e556c050
created 2012-11-27 15:20 -0500
pushed 2012-11-28 17:11 +0000
Boris Zbarsky Boris Zbarsky - Bug 812742. Fix sequence codegen to not do AppendElement multiple times by accident. r=peterv
9c3dbe0146837849886a1df716c33121f9c66654
created 2012-11-26 21:14 -0500
pushed 2012-11-27 14:15 +0000
Boris Zbarsky Boris Zbarsky - Bug 810641. Implement support for variadic callback arguments in WebIDL. r=peterv
448bb73bddb07afdaff6a500e0c433f72938f479
created 2012-11-26 21:14 -0500
pushed 2012-11-27 14:15 +0000
Boris Zbarsky Boris Zbarsky - Bug 813623. Fix Xrays to actually work correctly for static methods and properties. r=peterv
3e9a567ce55c6e2d2f6bcd8d86415a4eeb2fb885
created 2012-11-19 11:59 +0100
pushed 2012-11-23 02:23 +0000
Peter Van der Beken Peter Van der Beken - Fix for bug 814022 (Make instanceof for new DOM bindings work across scopes). r=bz.
6cc2a8f21aea9e7d9a8d46dd4bb0c3a32e994e77
created 2012-11-21 10:20 -0800
pushed 2012-11-22 00:50 +0000
Daniel Holbert Daniel Holbert - Bug 811057: Make DeferredFinalizeFunction take a uint32 instead of an int32 as its "slice" parameter. r=peterv
f8620fc3f18fd2db2b5c844d639431571038fa0c
created 2012-11-14 09:56 -0800
pushed 2012-11-15 02:43 +0000
Bobby Holley Bobby Holley - Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
2378c3dd095d6a27e5ae93a2f8bfbdabb8098045
created 2012-11-13 00:26 -0800
pushed 2012-11-13 16:29 +0000
Boris Zbarsky Boris Zbarsky - Bug 810520. Correctly handle static methods and attributes in the NativeProperties structs that Xrays use. r=peterv
f60b494448f881a35c5a1d7806bdd2aabb8d436d
created 2012-11-12 21:43 -0500
pushed 2012-11-13 16:29 +0000
Ryan VanderMeulen Ryan VanderMeulen - Backed out de9fff3a523, c567df2244f5, 8e3d976d5dc5, and c7499faaec23 (bug 800915) for bustage.
de9fff3a523240b175c0aca822911011b926d64d
created 2012-11-12 17:35 -0800
pushed 2012-11-13 16:29 +0000
Bobby Holley Bobby Holley - Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
e997348bdeaa20335a2fbd1169166055a6f830ab
created 2012-11-12 14:21 -0800
pushed 2012-11-13 16:29 +0000
Andrew McCreight Andrew McCreight - Bug 792090 - Ignore unused result in CGProxy...PresenceChecker. r=bz
289d4cc0176779cc4303fe23c2c7e4d57b52c90f
created 2012-11-09 08:24 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 809260. Example codegen should include ErrorResult.h in the header. r=mccr8
171fb4e22243431a23eaca8f53a35cef96bcabf7
created 2012-11-09 08:24 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 808698. Set up example codegen for proxy bindings to work correctly. r=jst
5f887e05fc16daedd449b98711acf2bfdf80844e
created 2012-11-09 08:24 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 796983 followup to address peterv's comments. r=presumably-peterv
2777bc29ce77760219f05fb7a7c9b0c497c80733
created 2012-11-09 08:24 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 807224 followup to address review comments. r=presumably-peterv
bd9729ca4de24b289ce2432a0444f8392eb7351d
created 2012-11-09 08:00 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug
99665db010391ee8d327d8e3b6d636461c2ce811
created 2012-11-09 07:59 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
5266596c96acec30310daecc832ac811bdffabcc
created 2012-11-09 07:58 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 followup. Add a comment that explains why the assert about exceptionCode being default when invalidEnumValueFatal is false is an ok thing to assert. r=peterv, DONTBUILD
983d136130c5e7b9a359cd6231844b7a06ec3370
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
ae3ec856b05e6e6f705ec130ef902f12ec828aea
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv
07b9c4137182677fa309bde16c4ba6cdb0ee44e5
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 8. Handling of arguments for callbacks. r=peterv
ed8298f468529961ec9122a6ae56f102bae003aa
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 7. Make native-to-JS conversion support doing something other than "return false" on JS exceptions. r=peterv
e32756c083efba88404e04eff833e48aa76690b5
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 6. Handling of return values for callbacks. r=peterv
f53d2f3833fcaee54cbc1b29828badd87682d663
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 5. Make js-to-native conversion support doing something other than "return false" on JS exceptions. r=peterv
fd824d059eb1f631658351fc042d5a1c44a875c1
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 4. Implement basic codegen for callbacks, without handling of arguments or return values yet. r=peterv
e012fb02c5668ff215b81060f9dd256330beafe4
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 3. Refactor the code we use for generating example declarations a bit so we can reuse it for callbacks. r=peterv
c348f36c317ba4e414f6de7d83aeacbf0b9d525d
created 2012-11-09 07:43 -0800
pushed 2012-11-10 01:34 +0000
Boris Zbarsky Boris Zbarsky - Bug 779048 part 2. Rearrange how we do our includes and forward-declares to actually work with callbacks and dictionaries sanely. r=peterv
1c1fa8af5978ed6bf0b038839750228a63d40a70
created 2012-11-08 23:48 -0800
pushed 2012-11-09 15:21 +0000
Boris Zbarsky Boris Zbarsky - Bug 808991. Named getters should get called for indexed properties on objects that don't support indexed properties. r=peterv
02a99623c5529ed02025385d67bf7e8aa800571b
created 2012-09-25 15:24 +1200
pushed 2012-11-09 00:52 +0000
Robert O'Callahan Robert O'Callahan - Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
78ee98d369d17d51feb1b4f9fcdffbf99a25eeb5
created 2012-11-07 17:56 -0500
pushed 2012-11-09 00:52 +0000
Robert O'Callahan Robert O'Callahan - Bug 792675. Part 0.6: Handle empty dictionary types in WebIDL bindings. r=bz
13ecf9881f03dfc28c2d2707d074f06b67a77f6f
created 2012-09-25 15:24 +1200
pushed 2012-11-09 00:52 +0000
Robert O'Callahan Robert O'Callahan - Bug 792765. Part 0.5: Fix WebIDL codegen to avoid emitting QueryInterface when there is no interface prototype object. r=bz
3d13288fd9778bebe7823906fa549987fcc7ba16
created 2012-11-06 08:01 -0800
pushed 2012-11-07 02:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 804738 part 2. Fix codegen for indexed operations to be consistent about the naming of the index argument. r=peterv
02cff46d3ebd639e3b9d7d395c08f3898c909fe0
created 2012-11-06 08:00 -0800
pushed 2012-11-07 02:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 804738 part 1. Fix codegen for named operations to be consistent about the naming of the string argument. r=peterv
da96e260d2dd3565e871966b6c23ae9378eba58d
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 804635. Make codegen deal with Document not being an external interface but not available in workers even though XMLHttpRequest (which can return or accept Document) is available there. r=peterv
b356ecf4086ca17ad4ed6bbc515eac91b43aaacb
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 803519. Require indexed/named getters if we have creators/deleters/setters. r=peterv
9bb44a0caae4c4d1db19cd7fabe541915e71d8a0
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger
6184b17f8abd6c1166d3e1c629900a4483638308
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 803306. Calling a named creator should not define an expando. r=peterv
b67a1dba5690052f4c4c0785732321c6a3c05fa9
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 788225. Implement WebIDL deleters. r=peterv
6f08c574fb7968845fb886de1e1726f6886c7b1d
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 749866 part 4. Generate slightly better code when we know we're null or undefined. r=khuey
5b2c87bfe082d0f3619a4fb2a775213af8b81680
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 749866 part 3. Rejigger overload resolution a bit more so we can tell argument conversion that we know the argument is null or undefined. r=khuey
024d12cc40095f471f94c516055aa281129a6a08
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 749866 part 2. Simplify the code generated by overload resolution a bit when we have sequences or dates at our distinguishing index. r=khuey
0b02a816de33c0ddec3f4104a93904df6a8d567a
created 2012-11-05 11:58 -0500
pushed 2012-11-06 14:01 +0000
Boris Zbarsky Boris Zbarsky - Bug 749866 part 1. Add support for failureCode for sequence unwrapping. r=khuey
00a6fa232bec3c04a8ee70e83d5dc4d9f84aedb8
created 2012-10-30 11:38 -0700
pushed 2012-11-01 13:43 +0000
William Chen William Chen - Bug 807034 - Fix WebIDL codegen for static readonly attributes. r=bz
ea8a3b0290792aa9bd535b1e79237901692256a8
created 2012-10-31 13:36 +0100
pushed 2012-11-01 13:43 +0000
Vendelin Ruzicka Vendelin Ruzicka - Bug 806184 - Can't use 'delete' method in WebIDL. r=bz
c6fb95ba0a208324a194c2820368882539cdd556
created 2012-10-19 09:34 +0200
pushed 2012-10-30 14:48 +0000
Peter Van der Beken Peter Van der Beken - Fix for bug 763643 (Implement static operations and attributes for WebIDL). r=bz.
4ee6b1acd5ea36e402f3b5ebe23a755275e51366
created 2012-10-09 20:50 +0200
pushed 2012-10-30 14:48 +0000
Peter Van der Beken Peter Van der Beken - Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
461978f9a844c3418db9d639d27739951be433e6
created 2012-08-13 14:20 +0200
pushed 2012-10-29 20:48 +0000
Peter Van der Beken Peter Van der Beken - Fix for bug 785277 (Implement PutForwards in the new DOM bindings). r=bz.
76ffe1c8d45343f6a1038ff31885c61cf850db64
created 2012-10-09 20:50 +0200
pushed 2012-10-29 20:48 +0000
Peter Van der Beken Peter Van der Beken - Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
b011b2c888d14956b1d923b231c51c8371b1091a
created 2012-10-25 17:01 +0200
pushed 2012-10-26 01:15 +0000
Bobby Holley Bobby Holley - Bug 797821 - Address Ms2ger's review comments. r=me
f060ac1febfb878360274ca36f3a0cc17db63d5c
created 2012-10-25 17:01 +0200
pushed 2012-10-26 01:15 +0000
Bobby Holley Bobby Holley - Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap
44b335425300654fa8d1cd5d78ce0dba40307c1b
created 2012-10-24 16:10 -0400
pushed 2012-10-25 01:50 +0000
Boris Zbarsky Boris Zbarsky - Bug 804725. Use the right type name for interface arguments for binding example codegen. r=jst
b02152aa3ed82842390caef6bf392ceb97eb1b01
created 2012-10-24 16:10 -0400
pushed 2012-10-25 01:50 +0000
Boris Zbarsky Boris Zbarsky - Bug 793267. Add support for [Unforgeable] in WebIDL. r=peterv
12e833d6f1524b66b07777b6371a6f5787ba73d6
created 2012-10-22 15:14 -0400
pushed 2012-10-23 01:41 +0000
Boris Zbarsky Boris Zbarsky - Bug 798187 even more followup. Disable broken WebGL test, and update to Peter's review comments. r=peterv
c2a70bac7627304e53ff183a1615e8c34d70c218
created 2012-10-22 14:35 -0400
pushed 2012-10-23 01:41 +0000
Boris Zbarsky Boris Zbarsky - Bug 798187 followup. Actually return our newly-created object from dictionary ToObject. r=peterv
085bffb67692ead726e5129573da57edfddc86aa
created 2012-10-22 13:08 -0400
pushed 2012-10-23 01:41 +0000
Boris Zbarsky Boris Zbarsky - Bug 798187 part 1. Add support for dictionary return values. r=peterv
ffa2d8f5b8be06649da504d863bb6c57e2f586d6
created 2012-10-22 13:08 -0400
pushed 2012-10-23 01:41 +0000
Boris Zbarsky Boris Zbarsky - Bug 798151. Support stringifier operations (but not yet attributes!) on non-proxy bindings, and fix Object.prototype.toString for proxy bindings. r=peterv
982da0cd2711c3365cc6ff62ecbb8b1b30ef34e4
created 2012-10-22 13:08 -0400
pushed 2012-10-23 01:41 +0000
Boris Zbarsky Boris Zbarsky - Bug 801712 part 3. Make object return values faster by only doing the JS_WrapValue if needed. r=peterv
2a96aeb11ad44ab6ac55c32a2bf177ad89dabb32
created 2012-10-17 21:17 -0400
pushed 2012-10-18 17:12 +0000
Boris Zbarsky Boris Zbarsky - Bug 802636. Add a test that makes sure that codegen and example generation agree with each other. r=jst
less more (0) -100 -60 tip