aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Implement an Unrooted smart pointer to replace JS when it is not traced.Ms2ger2015-02-068-58/+127
|
* auto merge of #4850 : Ms2ger/servo/root-deref, r=jdmbors-servo2015-02-051-13/+14
|\
| * Remove the Root.jsref member.Ms2ger2015-02-051-7/+4
| | | | | | | | It is simpler to just construct it when the methods are called.
| * Replace Root::deref by a custom get_unsound_ref_forever method.Ms2ger2015-02-051-7/+11
| | | | | | | | | | This will hopefully make it clearer that this is not the correct function to call.
* | Document the DOM.Ms2ger2015-02-052-0/+46
| | | | | | | | This is by no means complete, but it is a good place to start.
* | Fix a typo in the refcounted documentation.Ms2ger2015-02-051-1/+1
|/
* auto merge of #4818 : Ms2ger/servo/tna-parser, r=jdmbors-servo2015-02-031-11/+0
|\
| * Remove JS::from_trusted_node_address.Ms2ger2015-02-031-11/+0
| |
* | Remove the to_js methods.Ms2ger2015-02-031-11/+0
|/ | | | They are unused.
* Create mod.rs files for the dom and dom::bindings modules.Ms2ger2015-02-011-0/+34
| | | | | This gives us a better place to put DOM documentation, which I'd like to start adding.
* auto merge of #4613 : saneyuki/servo/layoutjs, r=jdmbors-servo2015-01-313-10/+86
|\ | | | | | | #4571
| * Add LayoutJS<T: Reflectable>.get_jsobject().Tetsuharu OHZEKI2015-02-011-9/+7
| |
| * Remove JS<From>.transmute<To>().Tetsuharu OHZEKI2015-02-011-6/+0
| |
| * Add LayoutJS<Node>::from_trusted_node_address()Tetsuharu OHZEKI2015-02-011-0/+10
| |
| * Use BarCast::to_layout_js() instead of LayoutJS.to_script().Tetsuharu OHZEKI2015-02-011-8/+0
| |
| * Add BarCast::to_layout_js<T>().Tetsuharu OHZEKI2015-02-011-1/+12
| |
| * Use LayoutJS<T> in layout crate.Tetsuharu OHZEKI2015-02-011-0/+8
| |
| * Introduce LayoutJS<T>Tetsuharu OHZEKI2015-02-012-4/+67
| |
* | Move FromJSValConvertible to associated types (avoids old impl check)Manish Goregaokar2015-01-312-19/+34
|/
* auto merge of #4777 : dmarcos/servo/issue4692, r=jdmbors-servo2015-01-302-6/+7
|\ | | | | | | | | | | ...id 'DOMRefCell already mutably borrowed' messages. This is just a temporary fix until the Rust standard library allows borrowing already-borrowed RefCell values during unwinding. It also removes LiveDOMReferences destructor that it's a no-op but it contains an assert that was being violated causing an endless cycle of destructor calls ending up in a stack overflow.
| * Adds borrow_for_script_deallocation and unsafe_mut_js_info method to avoid ↵Diego Marcos2015-01-302-6/+7
| | | | | | | | | | | | 'DOMRefCell already mutably borrowed' messages. This is just a temporary fix until the Rust standard library allows borrowing already-borrowed RefCell values during unwinding. It also removes LiveDOMReferences destructor that it's a no-op but it contains an assert that was being violated causing an endless cycle of destructor calls ending up in a stack overflow.
* | auto merge of #4757 : servo/servo/newnewnewcss, r=mbrubeckbors-servo2015-01-301-1/+1
|\ \ | | | | | | | | | | | | | | | (Still off by default. Enable with `RUST_LOG=style`.) r? @mbrubeck
| * | End the libstyle 'pub use' madness.Simon Sapin2015-01-301-1/+1
| | |
* | | Use NonZero to reduce the size of DOM smart pointers (fixes #4502).Ms2ger2015-01-301-7/+11
| | |
* | | 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-292-6/+6
| |
* | Rename WrapCallThisObject to wrap_call_this_object.Ms2ger2015-01-292-4/+4
| |
* | Rename GetCallableProperty to get_callable_property.Ms2ger2015-01-292-2/+3
| |
* | Use snake case for the argument to from_jsval for DOMString.Ms2ger2015-01-291-2/+4
|/
* Rename CreateDOMGlobal to create_dom_global.Ms2ger2015-01-292-3/+4
|
* Remove unused IsConvertibleToCallbackInterface.Ms2ger2015-01-291-8/+1
|
* Rename HasPropertyOnPrototype to has_property_on_prototype.Ms2ger2015-01-292-4/+5
|
* Rename IsPlatformObject to is_platform_object.Ms2ger2015-01-292-8/+9
|
* Rename GetArrayIndexFromId to get_array_index_from_id.Ms2ger2015-01-292-7/+7
|
* Use snake case for the local in get_property_on_prototype.Ms2ger2015-01-291-4/+4
|
* Rename GetPropertyOnPrototype to get_property_on_prototype.Ms2ger2015-01-292-5/+6
|
* Use snake case for the local in initialize_global.Ms2ger2015-01-291-2/+3
|
* Rename ThrowingConstructor to throwing_constructor.Ms2ger2015-01-292-3/+4
|
* Use snake case for arguments to and locals in create_interface_prototype_object.Ms2ger2015-01-291-8/+9
|
* Rename CreateInterfacePrototypeObject to create_interface_prototype_object.Ms2ger2015-01-291-6/+7
|
* Rename Define{Constants, Methods, Properties} to define_{constants, methods, ↵Ms2ger2015-01-291-9/+12
| | | | properties}.
* Use snake case for arguments to and locals in create_interface_object.Ms2ger2015-01-291-6/+6
|
* Rename CreateInterfaceObject to create_interface_object.Ms2ger2015-01-291-8/+9
|
* Use snake case for the arguments to do_create_interface_objects.Ms2ger2015-01-291-6/+6
|
* Rename CreateInterfaceObjects2 to do_create_interface_objects.Ms2ger2015-01-292-11/+13
|
* Use snake case for the members of NativeProperties.Ms2ger2015-01-292-11/+15
| | | | | 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-292-3/+3
|
* Replace the 'GlobalStaticData' free function by a 'new' static member function.Ms2ger2015-01-291-4/+6
|