aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make AsyncResponseListener methods take `&mut self`.Eli Friedman2015-10-151-3/+3
|
* Auto merge of #8020 - nox:codegen-derived, r=Ms2gerbors-servo2015-10-151-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 codegenAnthony Ramine2015-10-141-13/+1
| |
* | Support the updated spidermonkey bindingsMichael Wu2015-10-141-4/+4
|/
* Generate the TypeId enums in codegenAnthony Ramine2015-10-141-3/+3
|
* Refactor away duplication of get_rooted functionalityPierre Chevalier2015-10-081-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 qualifiedAnthony Urena2015-10-061-32/+30
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-11/+11
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-18/+12
| | | | This merges import blocks that were reported by tidy as unmerged.
* Move EventTargetTypeId/NodeTypeId to DOMClassMichael Wu2015-09-121-1/+1
|
* Fix reported test-tidy errorsBrandon Fairchild2015-09-011-1/+1
| | | | | This fixes lines that were reported to have missing space after a comma.
* Enforce linking to spec for method implementations via macrosCorey Farwell2015-08-311-0/+1
|
* Make test-tidy check that braces have spaces before or after themwilmoz2015-08-311-1/+1
|
* Time distribution across script event categories.benshu2015-08-281-1/+2
|
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-22/+22
|
* Remove helper traitsAnthony Ramine2015-08-271-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 Oliveira2015-08-271-1/+0
| | | | closes #7357
* sort all usesJohann Tuffe2015-08-201-11/+11
|
* Cleanup Window, XHRManish Goregaokar2015-08-181-11/+9
|
* Fix existing syntactics nits.Josh Matthews2015-08-161-5/+5
|
* Auto merge of #7006 - Wafflespeanut:script_cleanup, r=jdmbors-servo2015-08-151-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=jdmRavi Shankar2015-08-151-2/+2
| |
* | Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()`João Oliveira2015-08-151-1/+1
| | | | | | | | closes #7197
* | replace .len() == 0 with is_empty()João Oliveira2015-08-141-1/+1
|/ | | | closes #7198
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-3/+9
|
* script: Make the resource task communication use IPC channels.Patrick Walton2015-07-311-17/+17
|
* net: Use a thread for each `AsyncResponseTarget` to avoid having to sendPatrick Walton2015-07-311-4/+10
| | | | trait objects across process boundaries.
* net: Make most of the resource task messages serializable.Patrick Walton2015-07-311-9/+16
|
* Add spec linksBogdan Cuza2015-07-281-1/+1
|
* Fix #6674Bogdan Cuza2015-07-221-1/+1
|
* Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10)Simon Sapin2015-07-151-1/+2
|
* Remove some more unnecessary let bindingsDavid Zbarsky2015-07-141-6/+2
|
* Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-011-4/+2
| | | | fixes #6524
* Upgrade to SM 39Michael Wu2015-06-191-34/+39
|
* Use str::parse() rather than FromStr::from_str.Ms2ger2015-06-131-2/+1
| | | | The former appears to be preferred.
* Cleanup URLSearchParamsAnthony Ramine2015-05-271-4/+9
| | | | It now uses rust-url for its serializer.
* 1. Add an Option<Pipeline_id> field to the LoadData struct, and a ↵Himaja2015-05-051-1/+3
| | | | | | corresponding parameter to LoadData::new() 2. Change addEvent in the NetworkEventActor to add_request and add_response
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-13/+16
|
* Replace ByteString::as_slice() by a Deref implementation.Ms2ger2015-05-011-4/+4
|
* Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
|
* Remove Temporary::new()Anthony Ramine2015-04-281-2/+2
| | | | Temporary::from_rooted() now takes an Assignable value.
* Uniformise root() methodsAnthony Ramine2015-04-281-2/+2
| | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* Change MutNullableJS<T> to MutNullableHeap<JS<T>>Anthony Ramine2015-04-271-3/+4
|
* Remove as_slice() calls from script.Ms2ger2015-04-261-13/+13
|
* Create easy common interface for off-thread network listeners, and remove ↵Josh Matthews2015-04-161-72/+16
| | | | the CORS-specific reimplementation of async networking.
* Remove old implementation of XHR's fetch.Josh Matthews2015-04-161-136/+0
|
* Implement sync XHR by creating and spinning on-demand event loops.Josh Matthews2015-04-161-143/+172
|
* Make the fetch method only handle sync XHRs.Josh Matthews2015-04-161-43/+11
|
* Make timeouts for async XHR post a runnable.Josh Matthews2015-04-161-25/+40
|
* Make async XMLHttpRequest requests use async network events.Josh Matthews2015-04-161-12/+245
|