aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use Vec for the remaining ~[T]s in script.Ms2ger2014-04-285-13/+12
| |
* | Make ProgressMsg use Vec.Ms2ger2014-04-289-24/+27
| |
* | Use Vec in Node mutation methods.Ms2ger2014-04-281-4/+4
| |
* | Make get_content_boxes return Vec.Ms2ger2014-04-283-5/+5
| |
* | Make get_nodes_under_mouse return Vec.Ms2ger2014-04-283-4/+4
| |
* | Make chain in eventdispatcher.rs use Vec.Ms2ger2014-04-281-7/+8
| |
* | Make open_elements in htmlserializer.rs use Vec.Ms2ger2014-04-281-2/+2
| |
* | Make PageTree::inner and PageTreeIterator::stack a Vec.Ms2ger2014-04-281-4/+4
| |
* | Make ScriptTask::mouse_over_targets use Vec.Ms2ger2014-04-281-2/+2
| |
* | Remove unused support for passing extra arguments for timers.Ms2ger2014-04-282-7/+1
| |
* | Make simple NodeLists use Vec.Ms2ger2014-04-282-4/+4
| |
* | Make TreeIterator::nodes a Vec.Ms2ger2014-04-281-6/+6
| |
* | Make static HTMLCollections use Vec.Ms2ger2014-04-283-3/+4
| |
* | Make EventTarget::handlers store a Vec.Ms2ger2014-04-281-6/+6
| |
* | Make Element::attrs a Vec.Ms2ger2014-04-282-5/+5
| |
* | Make Document::idmap store a Vec.Ms2ger2014-04-281-6/+4
| |
* | Make ClientRectList::rects a Vec.Ms2ger2014-04-281-4/+4
| |
* | auto merge of #2194 : Ms2ger/servo/typeerror-2, r=jdmbors-servo2014-04-283-4/+36
|\ \
| * | Use more rustic names for ThrowTypeError and infrastructure.Ms2ger2014-04-282-11/+12
| | |
| * | Move ThrowTypeError to error.rs.Ms2ger2014-04-283-30/+32
| | |
| * | Throw a TypeError when too few arguments are passed.Ms2ger2014-04-283-3/+32
| | |
* | | auto merge of #2251 : SimonSapin/servo/rust-http-makefile, r=larsbergstrombors-servo2014-04-281-0/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | Update submodule for mozilla-servo/rust-http#15 r? @larsbergstrom
| * | | Update submodule for mozilla-servo/rust-http#15Simon Sapin2014-04-281-0/+0
| | | |
* | | | auto merge of #2244 : Ms2ger/servo/optional-rewrite, r=jdmbors-servo2014-04-283-57/+44
|\ \ \ \ | |_|_|/ |/| | | | | | | This moves all handling of `isOptional` (except `type.isCallback()`, which I believe @jdm is rewriting in #2204) into one place.
| * | | Use handleOptional for callback interface conversion.Ms2ger2014-04-281-1/+1
| | | |
| * | | Use handleOptional for dictionary conversion.Ms2ger2014-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | This does not have any effect, as isOptional is always False for dictionaries. This change is made only for consistency.
| * | | Use handleOptional for interface conversion.Ms2ger2014-04-273-4/+4
| | | |
| * | | Move optional/nullable handling out of CastableObjectUnwrapper.Ms2ger2014-04-271-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | This puts the code that wraps the type in Option<> and the code that wraps the expression in Some() into the same if block, which should clarify the code.
| * | | Use handleOptional for the enumeration conversion.Ms2ger2014-04-263-3/+3
| | | |
| * | | Use handleOptional for the DOMString conversion.Ms2ger2014-04-261-13/+4
| | | |
| * | | Use handleOptional for the union conversion.Ms2ger2014-04-263-5/+5
| | | | | | | | | | | | | | | | Note that unions didn't handle optional arguments correctly before.
| * | | Use handleOptional for the 'any' conversion.Ms2ger2014-04-261-7/+2
| | | |
| * | | Implement a cleaner way of dealing with optional arguments in codegen and ↵Ms2ger2014-04-261-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | use it for primitive types. This puts the Some constructor outside the match, making the actual generating code independent of the optionality of the argument.
* | | | auto merge of #2248 : Manishearth/servo/unused_mut, r=jdmbors-servo2014-04-281-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Remove unused_mut warningManish Goregaokar2014-04-281-1/+1
| | | |
* | | | auto merge of #2233 : ↵bors-servo2014-04-281-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | campadrenalin/servo/initialize-event-bubbling-to-false, r=Ms2ger Fixes #2183.
| * | | #2183 Initialize Event::bubbles to falsePhilip Horger2014-04-251-1/+1
| | | |
* | | | auto merge of #2237 : Ms2ger/servo/union-fromjsvalconvertible, r=jdmbors-servo2014-04-283-19/+98
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| With bonus codegen tests.
| * | Use FromJSValConvertible's nullable conversion code.Ms2ger2014-04-261-10/+2
| | |
| * | Implement FromJSValConvertible for union types.Ms2ger2014-04-261-9/+18
| | |
| * | Increase codegen test coverage.Ms2ger2014-04-262-1/+79
| |/
* / This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-27225-1379/+1450
|/ | | | | | April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
* Remove the holderType return value of getJSToNativeConversionTemplate.Ms2ger2014-04-251-46/+15
| | | | It is always None.
* auto merge of #2228 : Ms2ger/servo/object-unwrapping-expressionify, r=jdmbors-servo2014-04-251-73/+45
|\
| * Rewrite dictionary codegen to initialize members directly into the struct.Ms2ger2014-04-251-35/+14
| |
| * Remove the 'retval' local variable from union TryConvertTo methods.Ms2ger2014-04-251-4/+1
| |
| * Move responsibility for assigning to ${declName} out of ↵Ms2ger2014-04-251-18/+20
| | | | | | | | | | | | getJSToNativeConversionTemplate. This commit does not make any change to the generated code.
| * Rewrite the enumeration unwrapping to return an expression.Ms2ger2014-04-251-3/+3
| |
| * Rewrite the primitive unwrapping to return an expression.Ms2ger2014-04-251-5/+5
| |
| * Rewrite the any unwrapping to return an expression.Ms2ger2014-04-251-5/+2
| |