Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -2/+1 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Remove a pointless clone() call. | Ms2ger | 2015-09-16 | 1 | -1/+1 |
| | |||||
* | Remove an obsolete TODO comment. | Ms2ger | 2015-09-16 | 1 | -1/+0 |
| | |||||
* | Use an early return in dispatch_to_listeners. | Ms2ger | 2015-09-16 | 1 | -14/+15 |
| | |||||
* | Emit markers for all events, not just UI events. | Ms2ger | 2015-09-16 | 1 | -8/+50 |
| | |||||
* | Return immediately from dispatch_to_listeners if propagation is stopped. | Ms2ger | 2015-09-16 | 1 | -11/+14 |
| | |||||
* | Use early returns in dispatch_to_listeners. | Ms2ger | 2015-09-16 | 1 | -11/+15 |
| | |||||
* | Use if-let in dispatch_to_listeners, and simplify break conditions. | Ms2ger | 2015-09-16 | 1 | -32/+22 |
| | |||||
* | Avoid calling any listeners for events whose stop propagation flag is set ↵ | Ms2ger | 2015-09-16 | 1 | -0/+8 |
| | | | | prior to dispatching. | ||||
* | Add more assertions to dispatch_event. | Ms2ger | 2015-09-16 | 1 | -0/+2 |
| | |||||
* | Factor out a dispatch_to_listeners function from dispatch_event. | Ms2ger | 2015-09-16 | 1 | -23/+27 |
| | |||||
* | Reorder the code in dispatch_event a bit. | Ms2ger | 2015-09-16 | 1 | -3/+2 |
| | |||||
* | Remove outdated FIXME comment. | Ms2ger | 2015-09-16 | 1 | -2/+0 |
| | |||||
* | Fix match_refs and let_returns in layout, address review changes | Manish Goregaokar | 2015-09-04 | 1 | -3/+2 |
| | |||||
* | Elide most 'b lifetimes | Manish Goregaokar | 2015-09-04 | 1 | -2/+2 |
| | |||||
* | Elide most 'a lifetimes | Manish Goregaokar | 2015-09-04 | 1 | -1/+1 |
| | |||||
* | Remove helper traits | Anthony Ramine | 2015-08-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that JSRef<T> is gone, there is no need to have helper traits. On components/script/*.rs: # Remove imports. /^ *use dom::[a-z]+::\{.*Helpers/ { s/\{(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers, /\{/ s/, (Raw[^L]|[^L][^a])[a-zA-Z]+Helpers([,}])/\2/g s/\{([a-zA-Z]+)\}/\1/ /\{\}/d s/::self;$/;/ } /^ *use dom::[a-z]+::\{?(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers\}?;$/d On components/script/dom/*.rs: # Ignore layout things. /^(pub )?(impl|trait).*Layout.* \{/,/^}$/ { P; D; } # Delete helpers traits. /^(pub )?trait ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? \{$/,/^\}$/D # Patch private helpers. /^impl.*Private.*Helpers/,/^\}$/ { s/^impl<'a> Private([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for &'a ([^ ]+) \{$/impl \3 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn /s/\(self([,)])/\(\&self\1/ } # Patch public helpers. /^impl.*Helpers/,/^\}$/ { s/^impl(<'a>)? ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for (&'a )?([^ ]+) \{$/impl \5 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn .*\(&?self[,)]/s/(unsafe )?fn/pub &/ /^ *pub (unsafe )?fn /s/\(self([,)])/\(\&self\1/ } The few error cases were then fixed by hand. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Auto merge of #7241 - Wafflespeanut:event_handler, r=Ms2ger | bors-servo | 2015-08-18 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | Matching over event listeners and handlers; r=Ms2ger ... for #7065 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7241) <!-- Reviewable:end --> | ||||
| * | Matching over event listeners and handlers; r=Ms2ger | Ravi Shankar | 2015-08-18 | 1 | -3/+3 |
| | | | | | | | | fixup! Matching over event listeners and handlers; r=Ms2ger | ||||
* | | Replace uses of `for foo in bar.iter()`, | João Oliveira | 2015-08-18 | 1 | -2/+2 |
|/ | | | | | and `for foo in bar.iter_mut(), and for foo in bar.into_iter() (continuation of #7197) | ||||
* | Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()` | João Oliveira | 2015-08-15 | 1 | -2/+2 |
| | | | | closes #7197 | ||||
* | Introduce RootedVec<JS<T>>::r() | Anthony Ramine | 2015-07-23 | 1 | -10/+8 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -8/+7 |
| | |||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -1/+1 |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | ||||
* | Fix some no_move errors | Manish Goregaokar | 2015-04-28 | 1 | -1/+1 |
| | |||||
* | Auto merge of #5847 - Ms2ger:slice, r=SimonSapin | bors-servo | 2015-04-26 | 1 | -4/+4 |
|\ | | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5847) <!-- Reviewable:end --> | ||||
| * | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -4/+4 |
| | | |||||
* | | Removed unessary poping in dispatch_event, fixes #5843 | Peter | 2015-04-25 | 1 | -6/+0 |
|/ | |||||
* | Update WHATWG links to use HTTPS | Corey Farwell | 2015-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Extracted this out of #5649 This commit was created with the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` | ||||
* | Hold a Temporary in AncestorIterator | Anthony Ramine | 2015-04-07 | 1 | -1/+2 |
| | |||||
* | Implement RootedVec<T> | Mukilan Thiyagarajan | 2015-03-29 | 1 | -10/+11 |
| | |||||
* | Add handling for unreported exceptions when invoking callback objects. | Josh Matthews | 2015-01-14 | 1 | -4/+4 |
| | |||||
* | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -7/+7 |
| | | | | This changes those calls that were already sound. | ||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -9/+9 |
| | |||||
* | Add auxiliary method to EventTargetHelpers for events without target | thiagopnts | 2014-12-16 | 1 | -0/+1 |
| | | | | fixup! Add auxiliary method to EventTargetHelpers for events without target | ||||
* | Privatize Event | Tim Taubert | 2014-10-13 | 1 | -21/+21 |
| | |||||
* | Remove Traceable from event.rs | Manish Goregaokar | 2014-10-05 | 1 | -18/+18 |
| | |||||
* | Implement MutNullableJS for mutable, nullable member pointers to DOM objects. | Josh Matthews | 2014-10-01 | 1 | -1/+1 |
| | |||||
* | First steps of &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-19 | 1 | -8/+8 |
| | | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally. | ||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+139 |