aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Remove RethrowContentExceptions and related infrastructure.Ms2ger2015-01-101-31/+13
| | | | We do not intend to implement the DOM in JS, so this code isn't necessary.
* auto merge of #4566 : mattnenterprise/servo/globalref-by-value, r=Ms2gerbors-servo2015-01-081-1/+1
|\
| * Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-1/+1
| |
* | auto merge of #4069 : guillaumebort/servo/fix/3936, r=jdmbors-servo2015-01-081-1/+2
|\ \
| * | Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)Guillaume Bort2015-01-071-1/+2
| |/
* / Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-4/+4
|/
* Slice some fixed-size arrays.Ms2ger2015-01-041-1/+1
|
* auto merge of #4526 : servo/servo/deref-1, r=Manishearthbors-servo2015-01-021-6/+6
|\ | | | | | | This is a start towards fixing #3868. Not all callers have been fixed yet, so the `Deref` implementation remains for now.
| * Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency.Ms2ger2015-01-011-2/+2
| |
| * Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-2/+2
| | | | | | | | This changes those calls that were already sound.
| * Rename Root::root_ref() to Root::r().Ms2ger2015-01-011-2/+2
| | | | | | | | | | As it will be used much more widely after the upcoming changes, this limits the effort reading and writing the method calls.
* | Stop using ptr.is_not_null() in script.Ms2ger2015-01-011-12/+12
|/ | | | | This method is deprecated in rust master; removing its users in advance will make a future rust upgrade smoother.
* use str to_jsval() nowyodalee2015-01-011-1/+1
| | | | | | | | xmlhttprequest.rs, CodegenRust.py replace into_string().to_jsval() to to_jsval() conversions.rs DOMString to_jsval() use as_slice().tojsval() now
* Codegen style fixBruno de Oliveira Abinader2014-12-301-32/+47
|