Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Use Vec for the remaining ~[T]s in script. | Ms2ger | 2014-04-28 | 5 | -13/+12 | |
| | | ||||||
* | | Make ProgressMsg use Vec. | Ms2ger | 2014-04-28 | 9 | -24/+27 | |
| | | ||||||
* | | Use Vec in Node mutation methods. | Ms2ger | 2014-04-28 | 1 | -4/+4 | |
| | | ||||||
* | | Make get_content_boxes return Vec. | Ms2ger | 2014-04-28 | 3 | -5/+5 | |
| | | ||||||
* | | Make get_nodes_under_mouse return Vec. | Ms2ger | 2014-04-28 | 3 | -4/+4 | |
| | | ||||||
* | | Make chain in eventdispatcher.rs use Vec. | Ms2ger | 2014-04-28 | 1 | -7/+8 | |
| | | ||||||
* | | Make open_elements in htmlserializer.rs use Vec. | Ms2ger | 2014-04-28 | 1 | -2/+2 | |
| | | ||||||
* | | Make PageTree::inner and PageTreeIterator::stack a Vec. | Ms2ger | 2014-04-28 | 1 | -4/+4 | |
| | | ||||||
* | | Make ScriptTask::mouse_over_targets use Vec. | Ms2ger | 2014-04-28 | 1 | -2/+2 | |
| | | ||||||
* | | Remove unused support for passing extra arguments for timers. | Ms2ger | 2014-04-28 | 2 | -7/+1 | |
| | | ||||||
* | | Make simple NodeLists use Vec. | Ms2ger | 2014-04-28 | 2 | -4/+4 | |
| | | ||||||
* | | Make TreeIterator::nodes a Vec. | Ms2ger | 2014-04-28 | 1 | -6/+6 | |
| | | ||||||
* | | Make static HTMLCollections use Vec. | Ms2ger | 2014-04-28 | 3 | -3/+4 | |
| | | ||||||
* | | Make EventTarget::handlers store a Vec. | Ms2ger | 2014-04-28 | 1 | -6/+6 | |
| | | ||||||
* | | Make Element::attrs a Vec. | Ms2ger | 2014-04-28 | 2 | -5/+5 | |
| | | ||||||
* | | Make Document::idmap store a Vec. | Ms2ger | 2014-04-28 | 1 | -6/+4 | |
| | | ||||||
* | | Make ClientRectList::rects a Vec. | Ms2ger | 2014-04-28 | 1 | -4/+4 | |
| | | ||||||
* | | auto merge of #2194 : Ms2ger/servo/typeerror-2, r=jdm | bors-servo | 2014-04-28 | 3 | -4/+36 | |
|\ \ | ||||||
| * | | Use more rustic names for ThrowTypeError and infrastructure. | Ms2ger | 2014-04-28 | 2 | -11/+12 | |
| | | | ||||||
| * | | Move ThrowTypeError to error.rs. | Ms2ger | 2014-04-28 | 3 | -30/+32 | |
| | | | ||||||
| * | | Throw a TypeError when too few arguments are passed. | Ms2ger | 2014-04-28 | 3 | -3/+32 | |
| | | | ||||||
* | | | auto merge of #2251 : SimonSapin/servo/rust-http-makefile, r=larsbergstrom | bors-servo | 2014-04-28 | 1 | -0/+0 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | Update submodule for mozilla-servo/rust-http#15 r? @larsbergstrom | |||||
| * | | | Update submodule for mozilla-servo/rust-http#15 | Simon Sapin | 2014-04-28 | 1 | -0/+0 | |
| | | | | ||||||
* | | | | auto merge of #2244 : Ms2ger/servo/optional-rewrite, r=jdm | bors-servo | 2014-04-28 | 3 | -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. | Ms2ger | 2014-04-28 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Use handleOptional for dictionary conversion. | Ms2ger | 2014-04-28 | 1 | -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. | Ms2ger | 2014-04-27 | 3 | -4/+4 | |
| | | | | ||||||
| * | | | Move optional/nullable handling out of CastableObjectUnwrapper. | Ms2ger | 2014-04-27 | 1 | -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. | Ms2ger | 2014-04-26 | 3 | -3/+3 | |
| | | | | ||||||
| * | | | Use handleOptional for the DOMString conversion. | Ms2ger | 2014-04-26 | 1 | -13/+4 | |
| | | | | ||||||
| * | | | Use handleOptional for the union conversion. | Ms2ger | 2014-04-26 | 3 | -5/+5 | |
| | | | | | | | | | | | | | | | | Note that unions didn't handle optional arguments correctly before. | |||||
| * | | | Use handleOptional for the 'any' conversion. | Ms2ger | 2014-04-26 | 1 | -7/+2 | |
| | | | | ||||||
| * | | | Implement a cleaner way of dealing with optional arguments in codegen and ↵ | Ms2ger | 2014-04-26 | 1 | -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=jdm | bors-servo | 2014-04-28 | 1 | -1/+1 | |
|\ \ \ \ | |_|/ / |/| | | | ||||||
| * | | | Remove unused_mut warning | Manish Goregaokar | 2014-04-28 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | auto merge of #2233 : ↵ | bors-servo | 2014-04-28 | 1 | -1/+1 | |
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | campadrenalin/servo/initialize-event-bubbling-to-false, r=Ms2ger Fixes #2183. | |||||
| * | | | #2183 Initialize Event::bubbles to false | Philip Horger | 2014-04-25 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | auto merge of #2237 : Ms2ger/servo/union-fromjsvalconvertible, r=jdm | bors-servo | 2014-04-28 | 3 | -19/+98 | |
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | With bonus codegen tests. | |||||
| * | | Use FromJSValConvertible's nullable conversion code. | Ms2ger | 2014-04-26 | 1 | -10/+2 | |
| | | | ||||||
| * | | Implement FromJSValConvertible for union types. | Ms2ger | 2014-04-26 | 1 | -9/+18 | |
| | | | ||||||
| * | | Increase codegen test coverage. | Ms2ger | 2014-04-26 | 2 | -1/+79 | |
| |/ | ||||||
* / | This batch of changes upgrades Servo to work with the Rust upgrade as of | Lars Bergstrom | 2014-04-27 | 225 | -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. | Ms2ger | 2014-04-25 | 1 | -46/+15 | |
| | | | | It is always None. | |||||
* | auto merge of #2228 : Ms2ger/servo/object-unwrapping-expressionify, r=jdm | bors-servo | 2014-04-25 | 1 | -73/+45 | |
|\ | ||||||
| * | Rewrite dictionary codegen to initialize members directly into the struct. | Ms2ger | 2014-04-25 | 1 | -35/+14 | |
| | | ||||||
| * | Remove the 'retval' local variable from union TryConvertTo methods. | Ms2ger | 2014-04-25 | 1 | -4/+1 | |
| | | ||||||
| * | Move responsibility for assigning to ${declName} out of ↵ | Ms2ger | 2014-04-25 | 1 | -18/+20 | |
| | | | | | | | | | | | | getJSToNativeConversionTemplate. This commit does not make any change to the generated code. | |||||
| * | Rewrite the enumeration unwrapping to return an expression. | Ms2ger | 2014-04-25 | 1 | -3/+3 | |
| | | ||||||
| * | Rewrite the primitive unwrapping to return an expression. | Ms2ger | 2014-04-25 | 1 | -5/+5 | |
| | | ||||||
| * | Rewrite the any unwrapping to return an expression. | Ms2ger | 2014-04-25 | 1 | -5/+2 | |
| | |