aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Rename squirrel_away_unboxed to squirrel_away_unique.(fixes #1938)lpy2014-03-202-5/+5
|
* auto merge of #1915 : Ms2ger/servo/wrap-return-js, r=jdmbors-servo2014-03-196-43/+30
|\ | | | | | | | | | | 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-146-43/+30
| | | | | | | | | | | | 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-192-7/+7
|\ \ | | | | | | | | | | | | see #1842 When I tried to use like `datalist.options[0].value`, it returned nothing. So is it implemented?
| * | implement HTMLDataListElement.optionslpy2014-03-122-7/+7
| | |
* | | auto merge of #1865 : lpy/servo/issue1843, r=jdmbors-servo2014-03-192-9/+10
|\ \ \ | | | | | | | | | | | | | | | | see #1843
| * | | Implement HTMLFieldSetElement.elements.(fixes #1843)lpy2014-03-172-9/+10
| | | |
* | | | auto merge of #1925 : saneyuki/servo/1874, r=jdmbors-servo2014-03-191-4/+6
|\ \ \ \ | | | | | | | | | | | | | | | Fix #1874
| * | | | Don't call bind_to_tree when appending a node to another node that isn't in ↵Tetsuharu OHZEKI2014-03-151-4/+6
| | | | | | | | | | | | | | | | | | | | the tree (fixes #1874).
* | | | | Rust upgrade for new master rebaseLars Bergstrom2014-03-183-20/+20
| | | | |
* | | | | Warning police.Josh Matthews2014-03-1818-105/+105
| | | | |
* | | | | Remove all traces of Box representation from bindings. Work around file read ↵Josh Matthews2014-03-186-42/+27
| | | | | | | | | | | | | | | | | | | | runtime problem.
* | | | | Rust upgradesLars Bergstrom2014-03-1823-136/+184
| |/ / / |/| | |
* | | | Use 'TConstants' instead of magic numbers.Tetsuharu OHZEKI2014-03-162-24/+26
| | | |
* | | | Use 'NodeConstants' instead of magic numbers.Tetsuharu OHZEKI2014-03-161-21/+27
| | | |
* | | | 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-152-2/+23
|\ \ \ \ | | | | | | | | | | | | | | | To resolve issue #1823 (without DOM Range updates)
| * | | | implemented Node.normalize()Shamir Khodzha2014-03-142-2/+23
| | |_|/ | |/| |
* | | | auto merge of #1907 : brunoabinader/servo/element-classname, r=Ms2gerbors-servo2014-03-155-14/+12
|\ \ \ \ | |_|_|/ |/| | | | | | | Removes stub implementation from HTMLElement & implements logic in Element WebIDL.
| * | | Implement Element.classNameBruno de Oliveira Abinader2014-03-135-14/+12
| | | |
* | | | auto merge of #1905 : pcwalton/servo/acid2-fixes, r=SimonSapinbors-servo2014-03-141-7/+12
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | There were two problems here: (1) we did not process style sheets with an unexpected `rel` attribute but a correct MIME type; (2) we did not consider `none` a valid value for the `background` property. r? @SimonSapin
| * | | script: Fix background color of Acid2.Patrick Walton2014-03-131-7/+12
| |/ / | | | | | | | | | | | | | | | There were two problems here: (1) we did not process style sheets with an unexpected `rel` attribute but a correct MIME type; (2) we did not consider `none` a valid value for the `background` property.
* | | Implement Node.cloneNodeBruno de Oliveira Abinader2014-03-133-6/+137
| | | | | | | | | | | | | | | | | | | | | Spec: http://dom.spec.whatwg.org/#dom-node-clonenode Closes #1240.
* | | Added Document's quirks mode getterBruno de Oliveira Abinader2014-03-131-0/+4
|/ /
* | auto merge of #1895 : Ms2ger/servo/outparams, r=jdmbors-servo2014-03-131-19/+12
|\ \
| * | Remove support for returning values through outparams.Ms2ger2014-03-121-19/+12
| | |
* | | auto merge of #1890 : Ms2ger/servo/Window-idl, r=jdmbors-servo2014-03-131-7/+7
|\ \ \
| * | | Update the WindowTimers interface to the current specification.Ms2ger2014-03-121-7/+7
| | |/ | |/|
* | | auto merge of #1889 : pcwalton/servo/fix-borrow-flags-race, r=jdmbors-servo2014-03-124-14/+30
|\ \ \ | | | | | | | | | | | | r? @jdm
| * | | script: Fix a borrow flags race in layout on `.owner_doc()`.Patrick Walton2014-03-114-14/+30
| |/ /
* | | auto merge of #1893 : Ms2ger/servo/extra-private, r=larsbergstrombors-servo2014-03-127-8/+22
|\ \ \ | |_|/ |/| | | | | This pattern will become illegal with the next Rust upgrade.
| * | Don't use the Untraceable fields outside the module they're defined in.Ms2ger2014-03-127-8/+22
| |/ | | | | | | This pattern will become illegal with the next Rust upgrade.
* | auto merge of #1862 : Manishearth/servo/comparedoc-1794, r=Ms2gerbors-servo2014-03-122-3/+45
|\ \ | |/ |/|
| * Add compareDocumentPosition (fixes #1794) to NodeManish Goregaokar2014-03-122-3/+45
| |
* | 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-113-379/+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-113-48/+20
|
* 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
|\