Commit graph

39 commits

Author SHA1 Message Date
Manish Goregaokar
f5b5b337d3 Upgrade to latest Rust. 2014-06-27 18:50:32 -06:00
Manish Goregaokar
f558f9aad0 Request termination for XHR 2014-06-19 22:37:33 +05:30
Jack Moffitt
629c4c6afe Upgrade Rust. 2014-06-05 09:58:59 -06:00
Manish Goregaokar
ef126be28f Add responseText and status code support to XHR 2014-06-04 17:13:02 +05:30
Manish Goregaokar
5f860bb612 Request header and postdata support for XHR 2014-05-28 20:49:13 +05:30
Ms2ger
eaedeb07cb Update Rust. 2014-05-22 16:36:40 -06:00
Manish Goregaokar
533fab46f9 Async XHR GET with basic response header support 2014-05-20 21:01:12 +05:30
Glenn Watson
376d5f4a08 Allow resource load failures to send an error string which is reporting during task failure. 2014-05-08 07:43:45 +10:00
Ms2ger
605e09b449 Use Vec for ResourceTask. 2014-05-06 20:46:54 +02:00
Matt Murphy
af920f442b Convert Vec::new() to vec!() 2014-05-04 23:16:18 +02:00
Matt Murphy
c174a40afd ~[] to Vec in net/resource_task.rs 2014-05-04 23:16:18 +02:00
Ms2ger
25542e3f7e Replace most ~"string"s with "string".to_owned(). 2014-05-04 09:39:07 +02:00
Ms2ger
6e617d8eba Make ProgressMsg use Vec. 2014-04-28 23:06:26 +02:00
Lars Bergstrom
948daf2422 This batch of changes upgrades Servo to work with the Rust upgrade as of
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.
2014-04-27 15:46:12 -05:00
Josh Matthews
d04efe6037 Fix some private type in public signature warnings. 2014-04-16 17:20:15 -04:00
Josh Matthews
4b8254f32b Fix tests. 2014-04-04 18:45:43 -04:00
Ms2ger
31eee791dd Upgrade rust. 2014-04-04 20:10:32 +02:00
Lars Bergstrom
a6100563a6 Rust upgrade for new master rebase 2014-03-18 22:00:48 -05:00
Josh Matthews
64c0de9fe7 Warning police. 2014-03-18 09:31:22 -05:00
Lars Bergstrom
bbac8aa5c3 Rust upgrades 2014-03-18 09:30:35 -05:00
zmike
193b6d2635 add names for all servo spawned tasks
* add servo_util::task::{spawn_named,spawn_with_named} functions

* add name param for spawn_listener and spawn_conversation functions

this should resolve #1169
2014-01-13 13:12:48 -05:00
Jack Moffitt
a7ef1cd35e Upgrade to latest Rust. 2014-01-12 19:45:45 -07:00
Keegan McAllister
e2b7885b73 fmt! -> format! 2013-10-31 14:58:55 -06:00
Keegan McAllister
5b1fede394 Factor out a convenience function load_whole_resource
Also remove an unnecessary spawn in js_script_listener, and remember the final
script URL after redirects.
2013-10-17 19:28:43 -07:00
Keegan McAllister
b33af8852e Fix bitrotten tests 2013-10-10 18:18:39 -07:00
Keegan McAllister
3824a01dc5 Add support for data: URLs
Fixes #778
2013-10-10 18:18:39 -07:00
Keegan McAllister
f73e48b32f Extract content type and character set from HTTP response headers
We don't use this information anywhere, yet.
2013-10-10 18:18:39 -07:00
Keegan McAllister
48af4e53a9 Refactor resource loader protocol to send metadata first 2013-10-10 18:18:39 -07:00
Keegan McAllister
05901f8761 Simplify ResourceTask creation 2013-10-10 18:18:39 -07:00
Keegan McAllister
1c6de361b7 Handle HTTP 3xx redirects
Fixes #973.
2013-09-23 14:50:50 -07:00
Jack Moffitt
7fb96c1574 Remove old lint mode annotation. 2013-09-10 15:03:32 -06:00
Brian Anderson
232bdae8e6 Add rust-http to the build and begin using it to resolve http urls 2013-09-03 16:42:21 -07:00
Keegan McAllister
ef50acfa89 Remove HTTP support (!)
We'll need a new HTTP client lib written against newrt.
2013-08-15 13:56:29 -07:00
Keegan McAllister
307f1074d3 For loops and misc changes 2013-08-15 13:56:29 -07:00
Keegan McAllister
be061a9aa0 Library changes 2013-08-15 13:55:40 -07:00
Keegan McAllister
ffe60ea027 Trait changes, and eliminate 'copy' 2013-08-15 13:55:40 -07:00
Jack Moffitt
870db39836 Update to latest Rust. 2013-07-09 14:37:53 -06:00
Brian Anderson
56e5ba1b82 Update for language changes 2013-06-26 13:44:26 -07:00
Patrick Walton
c7bce98236 Remove the servo- prefix from core components. 2013-05-28 15:40:47 -07:00
Renamed from src/components/servo-net/resource_task.rs (Browse further)