aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
* auto merge of #5094 : chmanchester/servo/binarynames, r=jdmbors-servo2015-02-281-18/+21
|\
| * Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdmChris Manchester2015-02-271-18/+21
| |
* | Fix a typo in argument_type.Ms2ger2015-02-281-2/+2
|/
* Mark some unused arguments as unused in bindings.Ms2ger2015-02-221-4/+4
|
* Only unwrap the object once when finalizing.Ms2ger2015-02-221-3/+2
| | | | | Previously, we had 'value' and 'this' locals, both storing a pointer to the DOM object, for no good reason.
* auto merge of #4882 : chmanchester/servo/stringifiers, r=Ms2gerbors-servo2015-02-201-4/+29
|\
| * Add stringifier method support to CodegenRust.py (fixes #1986)Chris Manchester2015-02-201-4/+29
| | | | | | | | | | | | Add a stringifier to URLUtils (Location). (fixes #4605) wpt metadata updates for #4605
* | Replace uint/int by usize/isize in various places.Ms2ger2015-02-201-6/+6
| |
* | Pass isize to ptr.offset().Ms2ger2015-02-201-2/+2
| |
* | Return usize from IDLInterface::get_prototype_depth.Ms2ger2015-02-201-1/+1
| | | | | | | | It is used as an index into an array.
* | Use u32 for reserved slot indices.Ms2ger2015-02-201-1/+1
| | | | | | | | This is what the JSAPI expects.
* | Stop casting the right-hand side of shifts to uint.Ms2ger2015-02-201-2/+2
| | | | | | | | This is no longer required.
* | Use the try macro to initialize dictionaries.Ms2ger2015-02-201-9/+6
| |
* | Remove the Option<Self> arguments from IDLInterface.Ms2ger2015-02-191-2/+2
| |
* | Porting Gecko's JSToNativeConversionInfo changes to Servo's codegenPrabhjyot Singh Sodhi2015-02-181-34/+84
| | | | | | | | Fixes #4800
* | Replace the FooCast traits by structs.Ms2ger2015-02-161-11/+11
| | | | | | | | This should allow us to remove most type annotations in the DOM.
* | Fix indentation in InheritTypes.Ms2ger2015-02-161-2/+2
| |
* | Improve the formatting for FromJSValConvertible implementations in UnionTypes.Ms2ger2015-02-151-2/+5
| |
* | Replace squirrel_away_unique by boxed::into_raw.Ms2ger2015-02-121-4/+4
|/
* Implement an Unrooted smart pointer to replace JS when it is not traced.Ms2ger2015-02-061-19/+19
|
* Remove the to_js methods.Ms2ger2015-02-031-11/+0
| | | | They are unused.
* auto merge of #4613 : saneyuki/servo/layoutjs, r=jdmbors-servo2015-01-311-1/+12
|\ | | | | | | #4571
| * Add BarCast::to_layout_js<T>().Tetsuharu OHZEKI2015-02-011-1/+12
| |
* | Move FromJSValConvertible to associated types (avoids old impl check)Manish Goregaokar2015-01-311-1/+1
|/
* Use snake case for arguments and locals in CGGetPerInterfaceObject.Ms2ger2015-01-301-12/+12
|
* Use snake case for arguments and locals in CGCreateInterfaceObjectsMethod.Ms2ger2015-01-301-7/+7
|
* Use snake case for arguments and locals in CGWrapMethod.Ms2ger2015-01-301-18/+18
|
* Rename GetContext to get_context.Ms2ger2015-01-291-5/+5
|
* Rename WrapCallThisObject to wrap_call_this_object.Ms2ger2015-01-291-2/+2
|
* Rename GetCallableProperty to get_callable_property.Ms2ger2015-01-291-1/+1
|
* Rename CreateDOMGlobal to create_dom_global.Ms2ger2015-01-291-2/+2
|
* Rename HasPropertyOnPrototype to has_property_on_prototype.Ms2ger2015-01-291-3/+3
|
* Rename IsPlatformObject to is_platform_object.Ms2ger2015-01-291-4/+4
|
* Rename GetArrayIndexFromId to get_array_index_from_id.Ms2ger2015-01-291-6/+6
|
* Rename GetPropertyOnPrototype to get_property_on_prototype.Ms2ger2015-01-291-2/+2
|
* Rename ThrowingConstructor to throwing_constructor.Ms2ger2015-01-291-2/+2
|
* Rename CreateInterfaceObjects2 to do_create_interface_objects.Ms2ger2015-01-291-5/+5
|
* Use snake case for the members of NativeProperties.Ms2ger2015-01-291-5/+5
| | | | | Note that the codegen uses the names of the Python fields to initialize the Rust struct.
* Rename GetProtoOrIfaceArray to get_proto_or_iface_array.Ms2ger2015-01-291-2/+2
|
* Rename getOwnPropertyNames_ and enumerate_ to get_own_property_names and ↵Ms2ger2015-01-291-3/+2
| | | | enumerate.
* Rename FillPropertyDescriptor to fill_property_descriptor.Ms2ger2015-01-291-5/+5
|
* Rename GetExpandoObject to get_expando_object.Ms2ger2015-01-291-4/+4
|
* Rename _obj_toString to object_to_string.Ms2ger2015-01-291-2/+1
|
* Rename delete_ to delete.Ms2ger2015-01-291-3/+3
|
* Rename defineProperty_ to define_property.Ms2ger2015-01-291-3/+3
|
* Rename getPropertyDescriptor to get_property_descriptor.Ms2ger2015-01-291-2/+2
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-2/+2
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-32/+37
|
* Move to to_owned rather than into_string.Ms2ger2015-01-201-1/+2
| | | | into_string has been removed from Rust.
* Stop using Vec::from_elem.Ms2ger2015-01-191-3/+4
| | | | It is obsolete on Rust master.