dom/bindings/Codegen.py
8d6b7cd7baeece56b10a2085ae26e282579fba22
created 2012-02-21 16:07 -0500
pushed 2012-02-21 21:08 +0000
Boris Zbarsky Boris Zbarsky - Clean up wrapping a tad and hook up the proto object creation to the interface.hasInterfaceObject stuff
5dff147e65338c9343d379e86aeff70495c844c8
created 2012-02-20 00:46 -0800
pushed 2012-02-20 08:46 +0000
Ben Turner Ben Turner - Add traits classes, clean up codegen a little.
2e5d8644b9f49e20d9cd135e0eb33fce43f72c83
created 2012-02-15 18:22 -0500
pushed 2012-02-15 23:22 +0000
Boris Zbarsky Boris Zbarsky - Make PerSignatureCall a CGThing
e8a0f580cbe86dc18dd9820b79983b06ba9d801a
created 2012-02-15 21:14 +0100
pushed 2012-02-15 20:14 +0000
Ms2ger Ms2ger - Fix typos.
91606f210e752b10fabefd910fe6bc46a6094589
created 2012-02-15 14:58 -0500
pushed 2012-02-15 19:58 +0000
Boris Zbarsky Boris Zbarsky - Convert call generation to CGThings
3ce98a4f1f5d42bbaad08c4b197847d8dd3f7757
created 2012-02-14 12:15 -0500
pushed 2012-02-15 19:58 +0000
Boris Zbarsky Boris Zbarsky - Convert argument conversion external interface to CGThings
8222d23e721626fe47131d655d21d40f344b8c3e
created 2012-02-14 12:17 +0100
pushed 2012-02-14 11:17 +0000
Ms2ger Ms2ger - Introduce mozilla::dom::bindings::Throw, to be implemented in a way that doesn't use XPConnect (for workers).
0f84963ad48e9175134e557e3ec8b743d783f202
created 2012-02-13 18:02 -0500
pushed 2012-02-13 23:02 +0000
Boris Zbarsky Boris Zbarsky - Add support for Any results, sorta
0824a12c5564992db4685507c0915273afbf87cd
created 2012-02-13 17:51 -0500
pushed 2012-02-13 22:52 +0000
Boris Zbarsky Boris Zbarsky - Add interface return value wrapping
54ad6268014c39a07498c2e99b85ac43369b568e
created 2012-02-13 22:56 +0100
pushed 2012-02-13 21:58 +0000
Ms2ger Ms2ger - Add missing 'return true;' to fix the build.
cfb376b59c08e8db24acc29992d48bc95d44cc2c
created 2012-02-13 15:44 -0500
pushed 2012-02-13 20:53 +0000
Boris Zbarsky Boris Zbarsky - Implement callback type support in codegen
9eff55433c3e8d1f8027f7c9ad6172039d7fc288
created 2012-02-12 14:07 -0500
pushed 2012-02-12 19:07 +0000
Boris Zbarsky Boris Zbarsky - [mq]: do-enum-wrapping
389754ef0554763a7191cea2da15e1bf876a34f1
created 2012-02-12 18:44 +0100
pushed 2012-02-12 17:52 +0000
Ms2ger Ms2ger - Assign the result of the native call to the result variable.
e1bd74e88ad2d4b5e369113a633fe2ebc5fbbce9
created 2012-02-12 18:12 +0100
pushed 2012-02-12 17:13 +0000
Ms2ger Ms2ger - Remove trailing whitespace from the generated .cpp files.
b91d5bfbf6587600c194ce7c98adf945574e07ec
created 2012-02-12 18:08 +0100
pushed 2012-02-12 17:09 +0000
Ms2ger Ms2ger - Support wrapping nullable primitive types.
107a869cc8618ed6c0863b08bb49e5dd10c6aafb
created 2012-02-12 18:03 +0100
pushed 2012-02-12 17:09 +0000
Ms2ger Ms2ger - Wrap string return values.
ca2b13f5f434665d26b6ff56efc612d39ab8ee55
created 2012-02-12 18:03 +0100
pushed 2012-02-12 17:09 +0000
Ms2ger Ms2ger - Allow wrapping a variable with a different name.
7c2ba97d094951fd75d5f1e8d474a5dcfe6c311d
created 2012-02-12 17:49 +0100
pushed 2012-02-12 17:09 +0000
Ms2ger Ms2ger - Add type.isString().
8cf0a37a7936f39e3d2b507d5820fe5979e67f3f
created 2012-02-12 14:04 +0100
pushed 2012-02-12 13:04 +0000
Ms2ger Ms2ger - Actually throw when unwrapping fails.
6532286d5c6192898603ba1af901b81e507b7ee0
created 2012-02-11 23:20 -0500
pushed 2012-02-12 04:20 +0000
Boris Zbarsky Boris Zbarsky - Pass references for non-nullable interface args
147cdb4f2a852a96fbaa1fcae4cf3d38ceaeda1e
created 2012-02-11 23:07 -0500
pushed 2012-02-12 04:09 +0000
Boris Zbarsky Boris Zbarsky - Add enum unwrapping codegen
c109aaca3efd5933ed09fea14e2a4c50e792b0a3
created 2012-02-10 23:34 -0500
pushed 2012-02-11 04:34 +0000
Boris Zbarsky Boris Zbarsky - Set up basic interface and string argument unwrapping
253d25b4dcbecd831bdabc8c35ce1ef68926af8b
created 2012-02-10 17:53 -0500
pushed 2012-02-10 23:16 +0000
Boris Zbarsky Boris Zbarsky - Deal with removal of the js_GetClassPrototype API
8b5809ac11749bdd197100953df2eda9623e34d7
created 2012-02-10 13:51 -0800
pushed 2012-02-10 21:52 +0000
Ben Turner Ben Turner - Support infallible attributes and methods
3d27529bc495956a38f878bb559b242bd540bd6e
created 2012-02-08 22:13 -0800
pushed 2012-02-09 06:13 +0000
Ben Turner Ben Turner - Don't replace generated files if they haven't changed.
979451d9d4167e15d2eb787458652e673877e394
created 2012-02-08 13:46 -0800
pushed 2012-02-08 21:46 +0000
Bobby Holley Bobby Holley - Add functionality for getting the correct descriptor for an interface given context (ie, worker vs non-worker).
bab09b5e0e9fb52b17668a3aac86e1baf27b3138
created 2012-02-08 13:46 -0800
pushed 2012-02-08 21:46 +0000
Bobby Holley Bobby Holley - Change filename filtering so that we still have access to everything.
6fb6b364892fe283c35433e454613ba492d263f5
created 2012-02-08 13:46 -0800
pushed 2012-02-08 21:46 +0000
Bobby Holley Bobby Holley - Pass the full descriptor and idl node instead of scriptableInterfaceAndName.
6cf8fbd470bacafccf8ff7c0b812d51c4fee5f39
created 2012-02-08 12:45 -0800
pushed 2012-02-08 20:45 +0000
Ben Turner Ben Turner - Don't pass extra args to Finalize and Trace methods
16141e260c6120a000bf9ebddf3fb4a3da6b03ae
created 2012-02-08 11:54 -0500
pushed 2012-02-08 16:57 +0000
Boris Zbarsky Boris Zbarsky - Basic support for nullable primitive arguments
64089ddcb92dbbb546086e52f23fa5e8fbf5baad
created 2012-02-07 22:29 -0800
pushed 2012-02-08 06:28 +0000
Ben Turner Ben Turner - Better finalizer/trace hooks with config options
f1866b7282c9ff8f49341aa99f960d7bc5c6b71c
created 2012-02-08 00:11 -0500
pushed 2012-02-08 05:11 +0000
Boris Zbarsky Boris Zbarsky - More work on arg unwrapping
c22458a8e35d46f417c1b1938444c69f6d9fb2e5
created 2012-02-07 18:43 -0800
pushed 2012-02-08 02:43 +0000
Ben Turner Ben Turner - Add finalize and trace hooks
9a987b9287c584246387b9470211b0bf2eba2312
created 2012-02-07 15:55 -0500
pushed 2012-02-07 20:56 +0000
Boris Zbarsky Boris Zbarsky - Move all the wrap template getting into the helper function
61b7ed2e15b26d8ae45d8e617e2f1cfa1d438b34
created 2012-02-07 21:31 +0100
pushed 2012-02-07 20:32 +0000
Ms2ger Ms2ger - Use xpc_qsThrowMethodFailedWithDetails instead of xpc_qsThrowMethodFailed and xpc_qsThrowGetterSetterFailed, as the latter require an XPConnect object; r=bz
f4bceb2b77d09375702a92df644f88de7db39f5a
created 2012-02-07 18:50 +0100
pushed 2012-02-07 17:50 +0000
Ms2ger Ms2ger - Note that xpc_qsThrowMethodFailed/xpc_qsThrowGetterSetterFailed don't work with the new bindings.
2f87237e2de8036d5a84035392943e321b0ae152
created 2012-02-07 14:48 +0100
pushed 2012-02-07 13:48 +0000
Ms2ger Ms2ger - Start on wrapping primitive values; r=bz
8a06ecf9b6fdba19b1004e63c567403e9fae5e07
created 2012-02-02 16:00 -0500
pushed 2012-02-02 21:12 +0000
Boris Zbarsky Boris Zbarsky - Rejigger codegen to make it easier to handle overloads
98112293e26376b44af89c19f570b8b3140fdca1
created 2012-02-01 10:25 -0500
pushed 2012-02-01 15:26 +0000
Boris Zbarsky Boris Zbarsky - DOM protos need a custom stringification, so need to have a custom class. Also, improve infrastruture for adding [NoInterfaceObject] support once the parser tells us about it
771825d1497dfaf98368c8d872c1952c9a134a95
created 2012-01-31 22:53 -0500
pushed 2012-02-01 04:32 +0000
Boris Zbarsky Boris Zbarsky - Finish up prototype setup, modulo [NoInterfaceObject]
394b1f82d6d3f6a88f5b57d3dc1360a5658c43c3
created 2012-01-31 18:58 +0100
pushed 2012-01-31 18:00 +0000
Bobby Holley Bobby Holley - Do GlobalGen stuff with the Codegen machinery.
988157b08a4bb2ed92a78624aa15f8a344c845c8
created 2012-01-31 18:58 +0100
pushed 2012-01-31 18:00 +0000
Bobby Holley Bobby Holley - Do all of the codegen with CGThings.
688faf7ebf54fcf7434b1946d973687e2d71c44c
created 2012-01-31 18:58 +0100
pushed 2012-01-31 18:00 +0000
Bobby Holley Bobby Holley - Overhaul the config file format and configuration system in general. Config is now more fully separated from codegen, and centered around the notion of |descriptor|s. I apologize in advance to anyone who has to rebase on this... :-(
376ae400530fad30ca8e1c2ae45c7d34fd2391be
created 2012-01-30 17:27 +0100
pushed 2012-01-30 16:27 +0000
Ms2ger Ms2ger - Introduce GetProtoArray function that asserts that the object has the correct flag; r=bz
06eeb17df2d844ce56b59360e2f875fed3a4a92f
created 2012-01-30 10:15 -0500
pushed 2012-01-30 15:16 +0000
Boris Zbarsky Boris Zbarsky - Get basic this-unwrapping going
474c28746f9fef114281998a6ff5b4d80ef48d47
created 2012-01-28 13:29 +0100
pushed 2012-01-28 12:40 +0000
Ms2ger Ms2ger - Share the "THIS FILE IS AUTOGENERATED" comment accross code generators.
6f77b9ab43d79725184c30e5833cdca5be48a371
created 2012-01-28 13:13 +0100
pushed 2012-01-28 12:40 +0000
Ms2ger Ms2ger - Use JS:: instead of js:: for things in the JS namespace.
379ad3ace1ce2e4e1a5889fd9700ee60636a450f
created 2012-01-27 21:05 +0100
pushed 2012-01-27 20:06 +0000
Bobby Holley Bobby Holley - Reworked a bunch of codegen stuff. Renamed some classes, expanded the recursive structure, and hoisted more of our codegen into the CG system. Please take a look at this patch to see how things changed.
7adc9bb9ca5800d1dfa70ed2da1b7dd7ce5fa123
created 2012-01-27 20:54 +0100
pushed 2012-01-27 20:06 +0000
Bobby Holley Bobby Holley - Add basic support for IDL method codegen.
40b5d985fb50d3770e8688efbb562e0286854876
created 2012-01-27 17:25 +0100
pushed 2012-01-27 16:25 +0000
Boris Zbarsky Boris Zbarsky - Skeleton codegen for getters, setters, methods
68712a0f2f9d3bf6c0789b6f6cabe2ddd5a00a97
created 2012-01-27 16:02 +0100
pushed 2012-01-27 15:05 +0000
Blake Kaplan Blake Kaplan - Fix whitespace formatting in JSClass declarations. r=peterv/bzbarsky
bf7b25de94ba513b6bb72cb2c0640bddc5604b27
created 2012-01-27 14:25 +0100
pushed 2012-01-27 13:26 +0000
Bobby Holley Bobby Holley - Make a prototypeChain on nsDOMClassImplementation.
b010910c1b7afb91c429ecd4499dc3c7f63255d6
created 2012-01-27 12:18 +0100
pushed 2012-01-27 11:18 +0000
Bobby Holley Bobby Holley - Add _workers suffix to parent chain in JSClass.
be14d1424179f715ee3665c3e8010c3555e74149
created 2012-01-27 10:57 +0100
pushed 2012-01-27 09:57 +0000
Bobby Holley Bobby Holley - Fix some generated code formatting issues.
cc2e300dab5b4a3beea5b95d2e9b32337cb032a0
created 2012-01-26 19:36 +0100
pushed 2012-01-26 18:36 +0000
Bobby Holley Bobby Holley - Switch more stuff to the CodegenThing infrastructure.
4119ff5bd1104150455174319f6f1edba3d41c8f
created 2012-01-26 17:23 +0100
pushed 2012-01-26 16:23 +0000
Boris Zbarsky Boris Zbarsky - Implement prototype setup infrastructure.
fdee219a75502a61e28f8d2990ec4d91385e4dbd
created 2012-01-26 17:18 +0100| base
pushed 2012-01-26 16:18 +0000
Bobby Holley Bobby Holley - Initial work on abstract method generation. Nothing hooked up yet.
less more (0) tip