Commit graph

1138 commits

Author SHA1 Message Date
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
Josh Matthews
13fe502cd6 Don't abort the sniffer task whenever an error occurs. Also, switch to blocking recv_opt vs. non-blocking try_recv. 2014-11-29 00:40:03 -05:00
Kshitij Parajuli
f5e9ae17cf Shared Sniffer Task
- Added TargetedLoadResponse and ResponseSenders
- LoadData constructor contains the next consumer which means
  SnifferManager doesn't need the next consumer to start
- New SnifferTask is created at new resource_task creation
- Update Unit Tests
2014-11-28 12:35:49 -05:00
Jesse Tuchsen
b664ee88e7 Fixes #3962
Bad HTTP responses now have a 0 status code instead of 200 OK.
2014-11-27 11:55:31 -08:00
Kshitij Parajuli
9eda82f4a3 Break out of loop if can't send data
Fixes #4046
2014-11-23 12:47:20 -05:00
Ms2ger
d8b0f973b0 Reformat sniffer_task.rs. 2014-11-17 15:49:45 +01: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
Keegan McAllister
a4bf64c582 More useful stb-image error handling 2014-11-02 15:20:22 -08:00
Clark Gaebel
14b1c320a6 make naming more consistent 2014-10-28 10:06:39 -07:00
Clark Gaebel
6df1cc8e4c Run all task spawning through util, to allow for easy hooking.
During debugging, I found it useful to hook all task creation in a
central location, and util::task was the perfect place for it.

r? @pcwalton (or maybe someone else, I'm kinda sending you a bunch of
reviews today because I don't know who better to give them to)
2014-10-28 09:53:45 -07:00
Ms2ger
7d44f7bf1e Cleanup some code in image_cache_task.rs. 2014-10-26 22:26:43 +01:00
Glenn Watson
26636474a9 Introduce a basic shared task pool, and use it for image decoding. 2014-10-20 13:34:14 +10:00
Clark Gaebel
d12c6e7383 Incremental Style Recalc
This patch puts in the initial framework for incremental reflow. Nodes' styles
are no longer recalculated unless the node has changed.

I've been hacking on the general problem of incremental reflow for the past
couple weeks, and I've yet to get a full implementation that actually passes all
the reftests + wikipedia + cnn. Therefore, I'm going to try to land the different
parts of it one by one.

This patch only does incremental style recalc, without incremental flow
construction, inline-size bubbling, reflow, or display lists. Those will be coming
in that order as I finish them.

At least with this strategy, I can land a working version of incremental reflow,
even if not yet complete.

r? @pcwalton
2014-10-09 12:55:21 -04:00
Simon Sapin
cf1785ecb1 Read user-agent.css at run time. Fix #3516 2014-10-07 21:16:54 +01:00
bors-servo
3e8aa05921 auto merge of #3565 : glennw/servo/user-agent, r=mbrubeck
Fixes #3455
2014-10-06 23:21:32 -06:00
Ms2ger
e8de0d2b5e Remove the managed_boxes feature. 2014-10-04 15:30:42 +02:00
Glenn Watson
dc1d66d3ce Add cmd line option to set user agent. Improves github when used. 2014-10-03 13:57:12 +10:00
Keegan McAllister
dc86e83654 Eliminate warnings 2014-09-20 13:00:55 -07: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
Matt Brubeck
a939cc50bb Fix doctest errors in rustdoc comments
Mostly this disables doctest for comments that are not actually tests.
2014-09-17 14:46:37 -07:00
Matt Brubeck
1ae3bda172 Move link rel=stylesheet fetching to layout task
Fixes #3346.
2014-09-16 07:12:01 -07:00
Josh Matthews
0b0c2ef461 Fix broken build after denying unused imports. 2014-09-14 11:02:33 -04:00
Josh Matthews
6c179127a3 Merge pull request #3327 from metajack/cargo-profiles
Reinstate errors for unused variables and imports.
2014-09-14 09:56:58 -04:00
Ms2ger
dbefb2f0fd Call from_base64 on a vector slice rather than a string slice (fixes #2877). 2014-09-14 10:32:59 +02:00
Jack Moffitt
e10206e91e Reinstate errors for unused variables and imports. 2014-09-13 23:38:00 -06:00
Josh Matthews
c861d845b6 Fix incorrect path to about:failure source. 2014-09-13 11:57:37 -04:00
Sean McArthur
523445c865 create about_loader, handle about:blank 2014-09-11 08:55:54 -07:00
Sean McArthur
b8b51b6dd8 remove unnecessary proc from resource loader factory 2014-09-11 08:55:54 -07:00
Josh Matthews
68dcc67d98 Merge pull request #3284 from glennw/file-loader-fix
Return error when unable to create a file path from url.
2014-09-11 08:59:04 -04:00
Patrick Walton
a3465d2962 net: Premultiply alpha in PNGs.
Closes #2857.
2014-09-10 22:08:06 -07:00
Glenn Watson
627359e9e4 Return error when unable to create a file path from url. 2014-09-11 14:22:59 +10:00
Jack Moffitt
5f713517a2 Fix loading of file URLs with spaces 2014-09-10 18:13:25 -06:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00