aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen
Commit message (Collapse)AuthorAgeFilesLines
* Don't define empty FooMethods traits.Ms2ger2015-03-131-5/+8
|
* Remove unused lifetime parameters to dictionaries.Ms2ger2015-03-131-6/+6
| | | | They were used for Root members, but those no longer use lifetimes.
* Fix #2108 by renaming unwrap functions to native_from_reflectorChris Double2015-03-121-4/+4
| | | | | | | | | | As noted by @bholley. "unwrap" is confusing because we are both stripping off wrappers *and* getting a native from a reflector. Changing the "unwrap" usage to "native_from_reflector" for clarity. This renames 'unwrap' to 'native_from_reflector' and 'unwrap_jsmanaged' to 'native_from_reflector_jsmanaged'.
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-1/+0
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Fix string default values.Ms2ger2015-03-021-9/+2
|
* auto merge of #5103 : Ms2ger/servo/from_actual, r=jdmbors-servo2015-02-281-1/+1
|\
| * Use the correct lifetime bounds for FooCast::from_actual.Ms2ger2015-02-281-1/+1
| |
* | auto merge of #5099 : Ms2ger/servo/exceptions, r=saneyukibors-servo2015-02-281-9/+9
|\ \ | |/ |/|
| * Rename FailureUnknown to JSFailed.Ms2ger2015-02-281-9/+9
| |
* | auto merge of #5094 : chmanchester/servo/binarynames, r=jdmbors-servo2015-02-283-20/+42
|\ \
| * | Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdmChris Manchester2015-02-273-20/+42
| |/
* / 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-202-31/+61
|\
| * Add stringifier method support to CodegenRust.py (fixes #1986)Chris Manchester2015-02-202-31/+61
| | | | | | | | | | | | 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-062-20/+20
|
* 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
|