aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen
Commit message (Collapse)AuthorAgeFilesLines
* Rename squirrel_away_unboxed to squirrel_away_unique.(fixes #1938)lpy2014-03-201-3/+3
|
* auto merge of #1915 : Ms2ger/servo/wrap-return-js, r=jdmbors-servo2014-03-191-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.Ms2ger2014-03-141-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=jdmbors-servo2014-03-191-5/+5
|\ \
| * | Remove a dead argument from CGAbstractMethod methods.Ms2ger2014-03-131-5/+5
| |/
* | auto merge of #1855 : lpy/servo/issue1842, r=jdmbors-servo2014-03-191-1/+1
|\ \ | | | | | | | | | | | | see #1842 When I tried to use like `datalist.options[0].value`, it returned nothing. So is it implemented?
| * | implement HTMLDataListElement.optionslpy2014-03-121-1/+1
| | |
* | | auto merge of #1865 : lpy/servo/issue1843, r=jdmbors-servo2014-03-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | see #1843
| * | | Implement HTMLFieldSetElement.elements.(fixes #1843)lpy2014-03-171-1/+1
| | | |
* | | | Rust upgrade for new master rebaseLars Bergstrom2014-03-181-3/+3
| | | |
* | | | Warning police.Josh Matthews2014-03-181-14/+16
| | | |
* | | | Remove all traces of Box representation from bindings. Work around file read ↵Josh Matthews2014-03-181-19/+18
| | | | | | | | | | | | | | | | runtime problem.
* | | | Rust upgradesLars Bergstrom2014-03-181-16/+18
|/ / /
* | | Expose named constants in bindings.Tetsuharu OHZEKI2014-03-161-1/+1
| | |
* | | auto merge of #1914 : evilpie/servo/constants, r=Ms2gerbors-servo2014-03-151-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 bindingsTom Schuster2014-03-141-0/+32
| | |/ | |/|
* | | auto merge of #1894 : khodzha/servo/node_normalize, r=Ms2gerbors-servo2014-03-151-0/+1
|\ \ \ | | | | | | | | | | | | To resolve issue #1823 (without DOM Range updates)
| * | | implemented Node.normalize()Shamir Khodzha2014-03-141-0/+1
| | |/ | |/|
* | | auto merge of #1907 : brunoabinader/servo/element-classname, r=Ms2gerbors-servo2014-03-151-0/+1
|\ \ \ | |_|/ |/| | | | | Removes stub implementation from HTMLElement & implements logic in Element WebIDL.
| * | Implement Element.classNameBruno de Oliveira Abinader2014-03-131-0/+1
| | |
* | | Implement Node.cloneNodeBruno de Oliveira Abinader2014-03-131-0/+1
|/ / | | | | | | | | | | | | Spec: http://dom.spec.whatwg.org/#dom-node-clonenode Closes #1240.
* | Remove support for returning values through outparams.Ms2ger2014-03-121-19/+12
| |
* | auto merge of #1862 : Manishearth/servo/comparedoc-1794, r=Ms2gerbors-servo2014-03-121-0/+1
|\ \ | |/ |/|
| * Add compareDocumentPosition (fixes #1794) to NodeManish Goregaokar2014-03-121-0/+1
| |
* | Merge CGThing.declare and CGThing.define.Ms2ger2014-03-113-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.Ms2ger2014-03-112-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.Ms2ger2014-03-111-37/+3
|
* Remove a pointless argument to generate_file in GlobalGen.py.Ms2ger2014-03-111-20/+12
|
* Remove some C++-related code in BindingGen.py.Ms2ger2014-03-111-40/+6
|
* Reorder GetProtoObject.Ms2ger2014-03-111-5/+6
|
* Cleanup and simplify CGImports.Ms2ger2014-03-111-133/+124
|
* Cleanup the code in PrototypeList().Ms2ger2014-03-111-43/+5
|
* Stop pointlessly indenting GetProtoObject.Ms2ger2014-03-111-1/+1
|
* Remove some dead code from CGAbstractMethod._decorators.Ms2ger2014-03-111-8/+6
|
* Remove unused CGAbstractStaticMethod class.Ms2ger2014-03-111-20/+1
|
* auto merge of #1877 : Ms2ger/servo/dead-codegen-code, r=jdmbors-servo2014-03-101-200/+6
|\
| * Remove code from codegen that is nowhere close to working.Ms2ger2014-03-101-200/+6
| |
* | Replace jsval_to_str and jsval_to_domstring with a FromJSValConvertible ↵Ms2ger2014-03-101-20/+19
| | | | | | | | implementation.
* | Replace str_to_jsval and domstring_to_jsval by a ToJSValConvertible ↵Ms2ger2014-03-101-6/+3
| | | | | | | | implementation.
* | Allow passing options to FromJSValConvertible::from_jsval.Ms2ger2014-03-101-1/+1
| |
* | Pass a JSContext to ToJSValConvertible::to_jsval.Ms2ger2014-03-101-1/+1
|/
* auto merge of #1861 : Ms2ger/servo/split-JSValConvertible, r=jdmbors-servo2014-03-101-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.Ms2ger2014-03-081-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_*.Ms2ger2014-03-091-26/+18
| |
* | Use FooValue() functions.Ms2ger2014-03-091-31/+32
| |
* | Move JSVal into the jsval module.Ms2ger2014-03-081-2/+4
|/
* auto merge of #1838 : brunoabinader/servo/htmlcollection-live, r=jdmbors-servo2014-03-071-0/+14
|\
| * Replaced Document::createHTMLDocument in favor of HTMLCollection helpersBruno de Oliveira Abinader2014-03-071-0/+8
| |
| * Implemented {Document,Element}.getElementsByClassNameBruno de Oliveira Abinader2014-03-071-0/+2
| |
| * Implemented {Document,Element}.getElementsByTagNameNSBruno de Oliveira Abinader2014-03-071-0/+2
| |