Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename squirrel_away_unboxed to squirrel_away_unique.(fixes #1938) | lpy | 2014-03-20 | 1 | -3/+3 |
| | |||||
* | auto merge of #1915 : Ms2ger/servo/wrap-return-js, r=jdm | bors-servo | 2014-03-19 | 1 | -15/+10 |
|\ | | | | | | | | | | | This lets us avoid the sketchy tricks in JS::new and Window::new, where we kept an unsafe pointer to the native object across the Wrap call that consumed the owned pointer. | ||||
| * | Return a JS<T> from *Binding::Wrap rather than a JSObject. | Ms2ger | 2014-03-14 | 1 | -15/+10 |
| | | | | | | | | | | | | This lets us avoid the sketchy tricks in JS::new and Window::new, where we kept an unsafe pointer to the native object across the Wrap call that consumed the owned pointer. | ||||
* | | auto merge of #1910 : Ms2ger/servo/dead-arg-CGAbstractMethod, r=jdm | bors-servo | 2014-03-19 | 1 | -5/+5 |
|\ \ | |||||
| * | | Remove a dead argument from CGAbstractMethod methods. | Ms2ger | 2014-03-13 | 1 | -5/+5 |
| |/ | |||||
* | | auto merge of #1855 : lpy/servo/issue1842, r=jdm | bors-servo | 2014-03-19 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | see #1842 When I tried to use like `datalist.options[0].value`, it returned nothing. So is it implemented? | ||||
| * | | implement HTMLDataListElement.options | lpy | 2014-03-12 | 1 | -1/+1 |
| | | | |||||
* | | | auto merge of #1865 : lpy/servo/issue1843, r=jdm | bors-servo | 2014-03-19 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | | | | | see #1843 | ||||
| * | | | Implement HTMLFieldSetElement.elements.(fixes #1843) | lpy | 2014-03-17 | 1 | -1/+1 |
| | | | | |||||
* | | | | Rust upgrade for new master rebase | Lars Bergstrom | 2014-03-18 | 1 | -3/+3 |
| | | | | |||||
* | | | | Warning police. | Josh Matthews | 2014-03-18 | 1 | -14/+16 |
| | | | | |||||
* | | | | Remove all traces of Box representation from bindings. Work around file read ↵ | Josh Matthews | 2014-03-18 | 1 | -19/+18 |
| | | | | | | | | | | | | | | | | runtime problem. | ||||
* | | | | Rust upgrades | Lars Bergstrom | 2014-03-18 | 1 | -16/+18 |
|/ / / | |||||
* | | | Expose named constants in bindings. | Tetsuharu OHZEKI | 2014-03-16 | 1 | -1/+1 |
| | | | |||||
* | | | auto merge of #1914 : evilpie/servo/constants, r=Ms2ger | bors-servo | 2014-03-15 | 1 | -0/+32 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generated code looks like this: ```rust pub mod UIEventConstants { static SCROLL_PAGE_UP: i32 = -32768; static SCROLL_PAGE_DOWN: i32 = 32768; } // mod UIEventConstants ``` | ||||
| * | | | Implement named constants in bindings | Tom Schuster | 2014-03-14 | 1 | -0/+32 |
| | |/ | |/| | |||||
* | | | auto merge of #1894 : khodzha/servo/node_normalize, r=Ms2ger | bors-servo | 2014-03-15 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | | | | | To resolve issue #1823 (without DOM Range updates) | ||||
| * | | | implemented Node.normalize() | Shamir Khodzha | 2014-03-14 | 1 | -0/+1 |
| | |/ | |/| | |||||
* | | | auto merge of #1907 : brunoabinader/servo/element-classname, r=Ms2ger | bors-servo | 2014-03-15 | 1 | -0/+1 |
|\ \ \ | |_|/ |/| | | | | | Removes stub implementation from HTMLElement & implements logic in Element WebIDL. | ||||
| * | | Implement Element.className | Bruno de Oliveira Abinader | 2014-03-13 | 1 | -0/+1 |
| | | | |||||
* | | | Implement Node.cloneNode | Bruno de Oliveira Abinader | 2014-03-13 | 1 | -0/+1 |
|/ / | | | | | | | | | | | | | Spec: http://dom.spec.whatwg.org/#dom-node-clonenode Closes #1240. | ||||
* | | Remove support for returning values through outparams. | Ms2ger | 2014-03-12 | 1 | -19/+12 |
| | | |||||
* | | auto merge of #1862 : Manishearth/servo/comparedoc-1794, r=Ms2ger | bors-servo | 2014-03-12 | 1 | -0/+1 |
|\ \ | |/ |/| | |||||
| * | Add compareDocumentPosition (fixes #1794) to Node | Manish Goregaokar | 2014-03-12 | 1 | -0/+1 |
| | | |||||
* | | Merge CGThing.declare and CGThing.define. | Ms2ger | 2014-03-11 | 3 | -138/+62 |
| | | | | | | | | | | This distincion is carried over from the C++ codegen, but it has no meaning in Rust. | ||||
* | | Completely rewrite the code to convert JSVals to unions. | Ms2ger | 2014-03-11 | 2 | -378/+176 |
|/ | | | | | | This code works correctly for the two unions currently in use, and raises exceptions in codegen for most other cases. I will implement those cases when the need arises. | ||||
* | Replace GetReflector by an implementation of ToJSValConvertible. | Ms2ger | 2014-03-11 | 1 | -37/+3 |
| | |||||
* | Remove a pointless argument to generate_file in GlobalGen.py. | Ms2ger | 2014-03-11 | 1 | -20/+12 |
| | |||||
* | Remove some C++-related code in BindingGen.py. | Ms2ger | 2014-03-11 | 1 | -40/+6 |
| | |||||
* | Reorder GetProtoObject. | Ms2ger | 2014-03-11 | 1 | -5/+6 |
| | |||||
* | Cleanup and simplify CGImports. | Ms2ger | 2014-03-11 | 1 | -133/+124 |
| | |||||
* | Cleanup the code in PrototypeList(). | Ms2ger | 2014-03-11 | 1 | -43/+5 |
| | |||||
* | Stop pointlessly indenting GetProtoObject. | Ms2ger | 2014-03-11 | 1 | -1/+1 |
| | |||||
* | Remove some dead code from CGAbstractMethod._decorators. | Ms2ger | 2014-03-11 | 1 | -8/+6 |
| | |||||
* | Remove unused CGAbstractStaticMethod class. | Ms2ger | 2014-03-11 | 1 | -20/+1 |
| | |||||
* | auto merge of #1877 : Ms2ger/servo/dead-codegen-code, r=jdm | bors-servo | 2014-03-10 | 1 | -200/+6 |
|\ | |||||
| * | Remove code from codegen that is nowhere close to working. | Ms2ger | 2014-03-10 | 1 | -200/+6 |
| | | |||||
* | | Replace jsval_to_str and jsval_to_domstring with a FromJSValConvertible ↵ | Ms2ger | 2014-03-10 | 1 | -20/+19 |
| | | | | | | | | implementation. | ||||
* | | Replace str_to_jsval and domstring_to_jsval by a ToJSValConvertible ↵ | Ms2ger | 2014-03-10 | 1 | -6/+3 |
| | | | | | | | | implementation. | ||||
* | | Allow passing options to FromJSValConvertible::from_jsval. | Ms2ger | 2014-03-10 | 1 | -1/+1 |
| | | |||||
* | | Pass a JSContext to ToJSValConvertible::to_jsval. | Ms2ger | 2014-03-10 | 1 | -1/+1 |
|/ | |||||
* | auto merge of #1861 : Ms2ger/servo/split-JSValConvertible, r=jdm | bors-servo | 2014-03-10 | 1 | -3/+3 |
|\ | | | | | | | | | Later, we'll want to implement variations of the conversion *from* JS, but not the conversion *to* JS. | ||||
| * | Split JSValConvertible into two traits. | Ms2ger | 2014-03-08 | 1 | -3/+3 |
| | | | | | | | | | | Later, we'll want to implement variations of the conversion *from* JS, but not the conversion *to* JS. | ||||
* | | Use the JSVal member functions to replace JSVAL_IS_* and JSVAL_TO_*. | Ms2ger | 2014-03-09 | 1 | -26/+18 |
| | | |||||
* | | Use FooValue() functions. | Ms2ger | 2014-03-09 | 1 | -31/+32 |
| | | |||||
* | | Move JSVal into the jsval module. | Ms2ger | 2014-03-08 | 1 | -2/+4 |
|/ | |||||
* | auto merge of #1838 : brunoabinader/servo/htmlcollection-live, r=jdm | bors-servo | 2014-03-07 | 1 | -0/+14 |
|\ | |||||
| * | Replaced Document::createHTMLDocument in favor of HTMLCollection helpers | Bruno de Oliveira Abinader | 2014-03-07 | 1 | -0/+8 |
| | | |||||
| * | Implemented {Document,Element}.getElementsByClassName | Bruno de Oliveira Abinader | 2014-03-07 | 1 | -0/+2 |
| | | |||||
| * | Implemented {Document,Element}.getElementsByTagNameNS | Bruno de Oliveira Abinader | 2014-03-07 | 1 | -0/+2 |
| | |