Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement an Unrooted smart pointer to replace JS when it is not traced. | Ms2ger | 2015-02-06 | 8 | -58/+127 |
| | |||||
* | auto merge of #4850 : Ms2ger/servo/root-deref, r=jdm | bors-servo | 2015-02-05 | 1 | -13/+14 |
|\ | |||||
| * | Remove the Root.jsref member. | Ms2ger | 2015-02-05 | 1 | -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. | Ms2ger | 2015-02-05 | 1 | -7/+11 |
| | | | | | | | | | | This will hopefully make it clearer that this is not the correct function to call. | ||||
* | | Document the DOM. | Ms2ger | 2015-02-05 | 2 | -0/+46 |
| | | | | | | | | This is by no means complete, but it is a good place to start. | ||||
* | | Fix a typo in the refcounted documentation. | Ms2ger | 2015-02-05 | 1 | -1/+1 |
|/ | |||||
* | auto merge of #4818 : Ms2ger/servo/tna-parser, r=jdm | bors-servo | 2015-02-03 | 1 | -11/+0 |
|\ | |||||
| * | Remove JS::from_trusted_node_address. | Ms2ger | 2015-02-03 | 1 | -11/+0 |
| | | |||||
* | | Remove the to_js methods. | Ms2ger | 2015-02-03 | 1 | -11/+0 |
|/ | | | | They are unused. | ||||
* | Create mod.rs files for the dom and dom::bindings modules. | Ms2ger | 2015-02-01 | 1 | -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=jdm | bors-servo | 2015-01-31 | 3 | -10/+86 |
|\ | | | | | | | #4571 | ||||
| * | Add LayoutJS<T: Reflectable>.get_jsobject(). | Tetsuharu OHZEKI | 2015-02-01 | 1 | -9/+7 |
| | | |||||
| * | Remove JS<From>.transmute<To>(). | Tetsuharu OHZEKI | 2015-02-01 | 1 | -6/+0 |
| | | |||||
| * | Add LayoutJS<Node>::from_trusted_node_address() | Tetsuharu OHZEKI | 2015-02-01 | 1 | -0/+10 |
| | | |||||
| * | Use BarCast::to_layout_js() instead of LayoutJS.to_script(). | Tetsuharu OHZEKI | 2015-02-01 | 1 | -8/+0 |
| | | |||||
| * | Add BarCast::to_layout_js<T>(). | Tetsuharu OHZEKI | 2015-02-01 | 1 | -1/+12 |
| | | |||||
| * | Use LayoutJS<T> in layout crate. | Tetsuharu OHZEKI | 2015-02-01 | 1 | -0/+8 |
| | | |||||
| * | Introduce LayoutJS<T> | Tetsuharu OHZEKI | 2015-02-01 | 2 | -4/+67 |
| | | |||||
* | | Move FromJSValConvertible to associated types (avoids old impl check) | Manish Goregaokar | 2015-01-31 | 2 | -19/+34 |
|/ | |||||
* | auto merge of #4777 : dmarcos/servo/issue4692, r=jdm | bors-servo | 2015-01-30 | 2 | -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 Marcos | 2015-01-30 | 2 | -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=mbrubeck | bors-servo | 2015-01-30 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | | | | (Still off by default. Enable with `RUST_LOG=style`.) r? @mbrubeck | ||||
| * | | End the libstyle 'pub use' madness. | Simon Sapin | 2015-01-30 | 1 | -1/+1 |
| | | | |||||
* | | | Use NonZero to reduce the size of DOM smart pointers (fixes #4502). | Ms2ger | 2015-01-30 | 1 | -7/+11 |
| | | | |||||
* | | | Use snake case for arguments and locals in CGGetPerInterfaceObject. | Ms2ger | 2015-01-30 | 1 | -12/+12 |
| | | | |||||
* | | | Use snake case for arguments and locals in CGCreateInterfaceObjectsMethod. | Ms2ger | 2015-01-30 | 1 | -7/+7 |
| | | | |||||
* | | | Use snake case for arguments and locals in CGWrapMethod. | Ms2ger | 2015-01-30 | 1 | -18/+18 |
| |/ |/| | |||||
* | | Rename GetContext to get_context. | Ms2ger | 2015-01-29 | 2 | -6/+6 |
| | | |||||
* | | Rename WrapCallThisObject to wrap_call_this_object. | Ms2ger | 2015-01-29 | 2 | -4/+4 |
| | | |||||
* | | Rename GetCallableProperty to get_callable_property. | Ms2ger | 2015-01-29 | 2 | -2/+3 |
| | | |||||
* | | Use snake case for the argument to from_jsval for DOMString. | Ms2ger | 2015-01-29 | 1 | -2/+4 |
|/ | |||||
* | Rename CreateDOMGlobal to create_dom_global. | Ms2ger | 2015-01-29 | 2 | -3/+4 |
| | |||||
* | Remove unused IsConvertibleToCallbackInterface. | Ms2ger | 2015-01-29 | 1 | -8/+1 |
| | |||||
* | Rename HasPropertyOnPrototype to has_property_on_prototype. | Ms2ger | 2015-01-29 | 2 | -4/+5 |
| | |||||
* | Rename IsPlatformObject to is_platform_object. | Ms2ger | 2015-01-29 | 2 | -8/+9 |
| | |||||
* | Rename GetArrayIndexFromId to get_array_index_from_id. | Ms2ger | 2015-01-29 | 2 | -7/+7 |
| | |||||
* | Use snake case for the local in get_property_on_prototype. | Ms2ger | 2015-01-29 | 1 | -4/+4 |
| | |||||
* | Rename GetPropertyOnPrototype to get_property_on_prototype. | Ms2ger | 2015-01-29 | 2 | -5/+6 |
| | |||||
* | Use snake case for the local in initialize_global. | Ms2ger | 2015-01-29 | 1 | -2/+3 |
| | |||||
* | Rename ThrowingConstructor to throwing_constructor. | Ms2ger | 2015-01-29 | 2 | -3/+4 |
| | |||||
* | Use snake case for arguments to and locals in create_interface_prototype_object. | Ms2ger | 2015-01-29 | 1 | -8/+9 |
| | |||||
* | Rename CreateInterfacePrototypeObject to create_interface_prototype_object. | Ms2ger | 2015-01-29 | 1 | -6/+7 |
| | |||||
* | Rename Define{Constants, Methods, Properties} to define_{constants, methods, ↵ | Ms2ger | 2015-01-29 | 1 | -9/+12 |
| | | | | properties}. | ||||
* | Use snake case for arguments to and locals in create_interface_object. | Ms2ger | 2015-01-29 | 1 | -6/+6 |
| | |||||
* | Rename CreateInterfaceObject to create_interface_object. | Ms2ger | 2015-01-29 | 1 | -8/+9 |
| | |||||
* | Use snake case for the arguments to do_create_interface_objects. | Ms2ger | 2015-01-29 | 1 | -6/+6 |
| | |||||
* | Rename CreateInterfaceObjects2 to do_create_interface_objects. | Ms2ger | 2015-01-29 | 2 | -11/+13 |
| | |||||
* | Use snake case for the members of NativeProperties. | Ms2ger | 2015-01-29 | 2 | -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. | Ms2ger | 2015-01-29 | 2 | -3/+3 |
| | |||||
* | Replace the 'GlobalStaticData' free function by a 'new' static member function. | Ms2ger | 2015-01-29 | 1 | -4/+6 |
| |