Zack Slayton
323baf92db
localStorage shim, fixes #5195
2015-03-16 13:33:55 -07:00
bors-servo
389338c28f
auto merge of #5212 : Manishearth/servo/ssl-off, r=larsbergstrom
...
SSL is broken-ish (eg tw.yahoo.com, html.spec.whatwg.org don't work since we don't verify SAN properly), this flag can let devs bypass the protection for testing purposes.
2015-03-14 08:39:48 -06:00
Manish Goregaokar
9119bb2041
Add --no-ssl flag for bypassing SSL checking
2015-03-14 19:17:07 +05:30
hirschenberger
ab4b34d423
Fix #5176 by premultiplying the alpha channel to the color channels
...
This is GIF specific. It's also done when the image is PNG but PNG is
handled separately with the PNG crate, whereas GIFs are handled by the
stb-image crate and the distinction between alpha and non-alpha-supporting
images was missing.
2015-03-11 14:52:16 +01:00
Gilles Leblanc
70aa253a65
Specify regex and regex_macros version numbers
...
For compatibility with current Rust version.
Issue #5063
2015-03-05 21:09:41 -05: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
Ankit Agrawal
c8de895094
Add profiling to image decoding.
...
This extracts some independently useful parts of
<https://github.com/servo/servo/pull/4215 >.
2015-02-28 18:35:48 +01:00
Edit Balint
325400dce4
Implement Canvas pixel manipulation
2015-02-22 13:41:58 -05:00
Manish Goregaokar
46824616d2
Make gonk compile again
2015-02-21 09:42:45 +05:30
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
Shing Lyu
c17f04771e
bug #3219 : specify hostfile by HOST_FILE env var
2015-02-06 11:16:57 +08:00
Josh Matthews
fb217ab24b
Make XMLHttpRequest user-set headers be preserved across redirects.
2015-02-04 13:37:01 +00:00
Josh Matthews
94de93b3a3
Rename some variables for clarity.
2015-02-04 13:35:05 +00:00
Josh Matthews
1dbbc1b72d
Use servo forks of hyper and cookie-rs for more lenient cookie parsing behaviour.
2015-02-04 13:35:05 +00:00
Josh Matthews
0c51a192d7
Address review comments.
2015-02-04 13:35:05 +00:00
Josh Matthews
824709f178
Unify the get/set scookie APIs to make them both deal with raw strings.
2015-02-04 13:35:05 +00:00
Josh Matthews
504094aa84
Set cookie headers on the request, rather than the load data, to ensure they are used after redirects occur.
2015-02-04 13:35:05 +00:00
Josh Matthews
14df9f8a70
Differentiate between HTTP and non-HTTP APIs for cookie operations. Fix some incorrect cookie removal operation logic. Order the returned cookies according to the spec. Make cookie unit tests pass.
2015-02-04 13:35:05 +00: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
Alexandru Cojocaru
685fee02a0
add unwrap
to send/recv
calls
2015-02-03 16:05:13 +01:00
Manish Goregaokar
090dd9369f
Only SSL CA certs
2015-01-31 16:10:17 +05:30
Manish Goregaokar
524331d232
Add xpcshell script and warning
2015-01-31 15:40:54 +05:30
Manish Goregaokar
dfd746b38d
Basic certificate verification ( fixes #4119 )
2015-01-31 15:40:42 +05:30
Josh Matthews
9e01d91947
Lock crates.io dependencies to specific versions.
2015-01-31 01:27:26 +01:00
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
Ms2ger
808315926c
Pass a String to spawn_named.
...
IntoString has been removed from Rust, and named() will take a String, so
there is no good reason to do otherwise here.
2015-01-21 11:23:19 +01:00
Ms2ger
01ed338746
Move to to_owned rather than into_string.
...
into_string has been removed from Rust.
2015-01-20 14:49:07 +01: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
Ms2ger
79d0527978
Import enums inside hyper::mime rather than the module.
2015-01-04 19:22:07 +01:00
Ms2ger
b16f9cea09
Qualify hyper enums.
2015-01-04 15:26:40 +01:00
Ms2ger
3e283da8b1
Qualify stb_image::LoadResult.
2015-01-04 15:18:23 +01:00
Ms2ger
1130c1dced
Qualify PixelsByColorType.
2015-01-04 15:18:19 +01:00
Ms2ger
d3e226239e
Don't qualify Ok/Err in image_cache_task.
2015-01-04 11:59:23 +01:00
Ms2ger
b51e83819d
Fix obsolete format traits.
...
They are to be removed from the language in the next rust upgrade.
2015-01-02 19:04:18 +01:00
Tetsuharu OHZEKI
07b1c0e652
net: Remove glob imports added in #4405
2014-12-19 00:47:09 +09:00
Ms2ger
466faac2a5
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
2014-12-17 15:19:45 -05:00
Patrick Walton
a200b139b6
script: Add some workarounds for image cache task races
2014-12-15 14:16:20 -08:00
Joseph Crail
c254d195ad
Fix spelling mistakes in comments.
2014-12-11 23:56:29 -05:00
Sean McArthur
b7de46970f
adjust WPT since hyper fixed some
2014-12-04 10:12:04 -08:00
Sean McArthur
4ee8c3a60b
convert script crate to use hyper
2014-12-04 10:06:41 -08: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