Connor Imes
b526214a3d
Move net_error_list from net to net_traits. Fixes #7050 .
2015-08-06 16:37:08 -05:00
James Graham
f52276d2cc
Use hosts-replaced URL only when loading resources
2015-08-05 10:34:20 +01:00
Patrick Walton
43cb7d5abd
net: Convert the storage task to use IPC.
2015-07-26 17:07:17 -07:00
Sam Gibson
826f56bdf3
Moves HSTS code to it's own module
2015-07-22 11:49:07 +12:00
Ms2ger
73a7e92bfd
Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0.
2015-06-25 20:02:36 +02:00
ecoal95
8cbfb3482c
Use euclid from crates.io
2015-06-19 00:04:24 +02:00
Manish Goregaokar
c73eaefc47
Audit and reduce unstable usage in net
...
Reasons behind existing unstable features:
std_misc:
- `Handle` usage (API will be replaced and is perhaps broken)
path_ext:
- Checking if a file exists. This is doable from the File directly, but slightly longer
core:
- `FnBox`
alloc:
- `boxed::into_raw()` (naming)
2015-06-10 00:15:09 +05:30
Eduard Burtescu
00e8e5f77d
Use the correct log crate and setup env_logger in main.
2015-06-06 23:20:40 +03:00
Mike Blumenkrantz
68fc51205f
add error enum for chromium net errors, create window method for error propagation
2015-05-27 14:45:50 -04:00
bors-servo
e779e8905b
Auto merge of #5952 - Ms2ger:cleanup, r=saneyuki
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5952 )
<!-- Reviewable:end -->
2015-05-05 14:26:37 -05:00
Ms2ger
d62e1c9afb
Remove unused feature gates and an unused import.
2015-05-05 19:05:23 +02:00
Himaja
6e91ebb1fe
1. Add an enum type NetworkEventMessage for handling both HttpRequest and HttpResponse messages
...
2. Change run_server to handle network events
3. Add a unique id to track request-actor associations
4. Update the network event actor
2015-05-05 11:50:00 -04:00
Himaja
9f4a88bc48
Initial changes for devtools support for logging HTTP requests.
...
Add a NetworkEventActor to devtools/actors/
Authors:
Ashritha Mohan Ram <amohanr@ncsu.edu>
Himaja Valavala <hsvalava@ncsu.edu>
Anand Chandrasekar <achandr9@ncsu.edu>
Yiyang Wang <ywang95@ncsu.edu>
2015-05-05 11:49:26 -04:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Nicholas Nethercote
092507d23c
Add a profile_traits
crate to reduce compile times.
...
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching components/profile_traits/mem.rs takes
294 seconds and rebuilds many more crates.
This change also removes some unnecessary crate dependencies in `net` and
`net_traits`.
2015-04-30 17:58:47 -07:00
Corey Farwell
5eaa922045
Update WHATWG links to use HTTPS
...
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'
```
2015-04-13 21:34:27 -07:00
Edward Cho
d0469dfaf3
move mime classifier unit tests into unit test crate
2015-04-13 15:40:30 -05:00
Josh Matthews
1757afef27
Remove int_uint from net.
2015-04-07 16:13:37 -04:00
Josh Matthews
2d730f2ae9
Remove the sniffer task.
2015-04-06 19:31:53 -04:00
Nathan Climer
44930b0fb0
Implement MIME sniffing.
2015-04-06 19:01:59 -04:00
Gilles Leblanc
ba36a108c1
Split out shared networking code into net_traits crate
...
Fixes #4476
2015-04-03 13:38:10 -04:00
Matt McCoy
818f1c5748
Closes #2587 Adding HTTP compression capability
2015-04-01 21:18:47 -04:00
Ms2ger
578a909864
Stop using old_io in net tests.
2015-03-26 17:43:13 +01:00
Ms2ger
9aa2696641
Stop using old_path in net.
2015-03-26 08:59:33 +01:00
Nicholas Nethercote
52447ccd9b
Move profiler code from util
into a new crate profile
.
...
- Most of util::memory has been moved into profile::mem, though the
`SizeOf` trait and related things remain in util::memory. The
`SystemMemoryReporter` code is now in a submodule
profile::mem::system_reporter.
- util::time has been moved entirely into profile::time.
2015-03-24 02:09:31 -07:00
Avi Weinstock
cf0657a403
Fixed some deprecation errors in components/net.
2015-03-23 18:28:44 -04:00
Ms2ger
2755ed6c58
Remove allow(missing_copy_implementations) attributes.
...
This is now the default.
2015-03-23 10:49:44 +01:00
Ms2ger
2cde68f13f
Cleanup resource_task's global_init().
2015-03-20 21:07:16 +01:00
Simon Sapin
2f6951af0b
Fix some warnings in net.
2015-03-18 21:56:31 +01:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
Gilles Leblanc
0faa55d2ce
Add more robust hostsfile parsing
...
Adds hostsfile parsing support for:
* Tabs
* Comments (line and end of line)
* IPv4 address validation
* Basic IPv6 address validation
* End of line whitespaces
* Host name alias (multiple host names per address)
Fixes #5063
2015-03-05 20:33:33 -05:00
Ms2ger
aaed4a54c7
Use rustc-serialize rather than the built-in deprecated serialize.
2015-02-17 13:24:15 +01:00
Ms2ger
b25564440d
Fix warnings in net.
2015-02-13 11:24:21 +01:00
Simon Sapin
d5dd1d658e
Upgrade to rustc ba2f13ef0 2015-02-04
2015-02-11 14:48:34 -08:00
Ms2ger
aa8e01af2a
Use base64 from rustc-serialize ( fixes #4747 ).
2015-02-10 14:19:13 +01:00
Josh Matthews
446f0f447e
Allow unused variables, imports, and mutable.
2015-02-09 17:41:57 -05:00
Josh Matthews
24c8896f88
Improve redirect behaviour to clear headers and reevaluate sent cookies. Implement storage-related cookie behaviour such as domain and path matching that cookie-rs doesn't require. Remove stored cookies when an empty value is stored. Document cookie code.
2015-02-04 13:35:05 +00:00
Shamir Khodzha
3239aeacdc
cookies and cookies storage implementation
2015-02-04 13:34:06 +00:00
Manish Goregaokar
dfd746b38d
Basic certificate verification ( fixes #4119 )
2015-01-31 15:40:42 +05:30
Ms2ger
505159a464
Import the util crate as util rather than servo_util.
...
This used to conflict with the util crate from the standard library, which
has long since been removed.
The import in layout has not been changed because of a conflict with the
util mod there.
2015-01-29 12:16:41 +01:00
Manish Goregaokar
547ed20455
silence fetch warnings
2015-01-28 13:51:35 +05:30
Josh Matthews
95fc29fa0d
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
2015-01-28 10:16:49 +10:00
Matthew Rasmus
a3fc3a1581
Allow missing_copy_implementations
2015-01-08 08:51:11 -08:00
Ms2ger
16c7060bc8
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
2015-01-08 09:58:46 -05:00
Sean McArthur
12727d4dd0
convert net crate to use hyper
2014-12-04 10:06:39 -08:00
nkdalmia
f6fb9f862d
Implement Window.sessionStorage: Storage Task, Storage Methods (excluding Storage event, QuotaExceededError)
2014-12-03 18:31:50 -05:00
Kshitij Parajuli
7472564bf6
M1456, Implement MIME sniffing initial Step
2014-11-13 13:07:19 -05:00
Jack Moffitt
d1b433a3b3
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
2014-11-13 11:17:43 +10:00
Ms2ger
e8de0d2b5e
Remove the managed_boxes feature.
2014-10-04 15:30:42 +02:00
Keegan McAllister
a640a7c5c3
Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)
2014-09-20 13:00:06 -07:00