Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make AsyncResponseListener methods take `&mut self`. | Eli Friedman | 2015-10-15 | 1 | -3/+3 |
| | |||||
* | Auto merge of #8020 - nox:codegen-derived, r=Ms2ger | bors-servo | 2015-10-15 | 1 | -13/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Generate all Derived implementations in codegen Follow-up of #7873. @Ms2ger r? :) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8020) <!-- Reviewable:end --> | ||||
| * | Generate all Derived implementations in codegen | Anthony Ramine | 2015-10-14 | 1 | -13/+1 |
| | | |||||
* | | Support the updated spidermonkey bindings | Michael Wu | 2015-10-14 | 1 | -4/+4 |
|/ | |||||
* | Generate the TypeId enums in codegen | Anthony Ramine | 2015-10-14 | 1 | -3/+3 |
| | |||||
* | Refactor away duplication of get_rooted functionality | Pierre Chevalier | 2015-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Refactor .get().map(Root::from_rooted) and .get().map(|foo| foo.root()) to .get_rooted() on MutNullableHeap objects. First part done mechanically with the following comand: sed -i s/"get().map(Root::from_rooted)"/"get_rooted()"/g *.rs Second part done manually after finding them with git grep ".get().map(" Fixes 7929. | ||||
* | Refactor Error enum usage to consistently be qualified | Anthony Urena | 2015-10-06 | 1 | -32/+30 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -11/+11 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -18/+12 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Move EventTargetTypeId/NodeTypeId to DOMClass | Michael Wu | 2015-09-12 | 1 | -1/+1 |
| | |||||
* | Fix reported test-tidy errors | Brandon Fairchild | 2015-09-01 | 1 | -1/+1 |
| | | | | | This fixes lines that were reported to have missing space after a comma. | ||||
* | Enforce linking to spec for method implementations via macros | Corey Farwell | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Make test-tidy check that braces have spaces before or after them | wilmoz | 2015-08-31 | 1 | -1/+1 |
| | |||||
* | Time distribution across script event categories. | benshu | 2015-08-28 | 1 | -1/+2 |
| | |||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -22/+22 |
| | |||||
* | Remove helper traits | Anthony Ramine | 2015-08-27 | 1 | -40/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -1/+0 |
| | | | | closes #7357 | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -11/+11 |
| | |||||
* | Cleanup Window, XHR | Manish Goregaokar | 2015-08-18 | 1 | -11/+9 |
| | |||||
* | Fix existing syntactics nits. | Josh Matthews | 2015-08-16 | 1 | -5/+5 |
| | |||||
* | Auto merge of #7006 - Wafflespeanut:script_cleanup, r=jdm | bors-servo | 2015-08-15 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | Splitting ScriptMsg into various enums... ... for #3734, which is also one of the oldest issues. (/cc @jdm) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7006) <!-- Reviewable:end --> | ||||
| * | Splitting ScriptMsg into various enums; r=jdm | Ravi Shankar | 2015-08-15 | 1 | -2/+2 |
| | | |||||
* | | Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()` | João Oliveira | 2015-08-15 | 1 | -1/+1 |
| | | | | | | | | closes #7197 | ||||
* | | replace .len() == 0 with is_empty() | João Oliveira | 2015-08-14 | 1 | -1/+1 |
|/ | | | | closes #7198 | ||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -3/+9 |
| | |||||
* | script: Make the resource task communication use IPC channels. | Patrick Walton | 2015-07-31 | 1 | -17/+17 |
| | |||||
* | net: Use a thread for each `AsyncResponseTarget` to avoid having to send | Patrick Walton | 2015-07-31 | 1 | -4/+10 |
| | | | | trait objects across process boundaries. | ||||
* | net: Make most of the resource task messages serializable. | Patrick Walton | 2015-07-31 | 1 | -9/+16 |
| | |||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -1/+1 |
| | |||||
* | Fix #6674 | Bogdan Cuza | 2015-07-22 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) | Simon Sapin | 2015-07-15 | 1 | -1/+2 |
| | |||||
* | Remove some more unnecessary let bindings | David Zbarsky | 2015-07-14 | 1 | -6/+2 |
| | |||||
* | Refactor #[jstraceable] to #[derive(JSTraceable)] | David Winslow | 2015-07-01 | 1 | -4/+2 |
| | | | | fixes #6524 | ||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -34/+39 |
| | |||||
* | Use str::parse() rather than FromStr::from_str. | Ms2ger | 2015-06-13 | 1 | -2/+1 |
| | | | | The former appears to be preferred. | ||||
* | Cleanup URLSearchParams | Anthony Ramine | 2015-05-27 | 1 | -4/+9 |
| | | | | It now uses rust-url for its serializer. | ||||
* | 1. Add an Option<Pipeline_id> field to the LoadData struct, and a ↵ | Himaja | 2015-05-05 | 1 | -1/+3 |
| | | | | | | corresponding parameter to LoadData::new() 2. Change addEvent in the NetworkEventActor to add_request and add_response | ||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -13/+16 |
| | |||||
* | Replace ByteString::as_slice() by a Deref implementation. | Ms2ger | 2015-05-01 | 1 | -4/+4 |
| | |||||
* | Implement Clone for Copy types. | Ms2ger | 2015-04-28 | 1 | -1/+1 |
| | |||||
* | Remove Temporary::new() | Anthony Ramine | 2015-04-28 | 1 | -2/+2 |
| | | | | Temporary::from_rooted() now takes an Assignable value. | ||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -2/+2 |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | ||||
* | Change MutNullableJS<T> to MutNullableHeap<JS<T>> | Anthony Ramine | 2015-04-27 | 1 | -3/+4 |
| | |||||
* | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -13/+13 |
| | |||||
* | Create easy common interface for off-thread network listeners, and remove ↵ | Josh Matthews | 2015-04-16 | 1 | -72/+16 |
| | | | | the CORS-specific reimplementation of async networking. | ||||
* | Remove old implementation of XHR's fetch. | Josh Matthews | 2015-04-16 | 1 | -136/+0 |
| | |||||
* | Implement sync XHR by creating and spinning on-demand event loops. | Josh Matthews | 2015-04-16 | 1 | -143/+172 |
| | |||||
* | Make the fetch method only handle sync XHRs. | Josh Matthews | 2015-04-16 | 1 | -43/+11 |
| | |||||
* | Make timeouts for async XHR post a runnable. | Josh Matthews | 2015-04-16 | 1 | -25/+40 |
| | |||||
* | Make async XMLHttpRequest requests use async network events. | Josh Matthews | 2015-04-16 | 1 | -12/+245 |
| |