Paul Rouget
b90a4eee12
update image to 0.4.0
2015-10-21 08:37:41 +02:00
Eli Friedman
c1aff0b678
Make AsyncResponseListener methods take &mut self
.
2015-10-15 16:44:39 -07:00
bors-servo
0f597d3890
Auto merge of #7933 - mbrubeck:piston-image, r=glennw
...
Replace libpng and stb_image with PistonDevelopers/image
Fixes #3368 . r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7933 )
<!-- Reviewable:end -->
2015-10-12 15:06:31 -06:00
Matt Brubeck
e2e142aae8
Replace libpng with image everywhere.
2015-10-10 07:43:11 -07:00
Matt Brubeck
b649246fe2
Replace stb_image with PistonDevelopers/image
...
Fixes #3368
2015-10-09 12:23:33 -07:00
Louis Chan
fb45b0e691
Implement a quota of 5MB per origin for localstorage and sessionstorage
2015-10-09 03:55:27 +08:00
Mathieu Rheaume
e7a3220bc1
Implement Storage::SupportedPropertyNames
2015-10-04 10:22:13 -04:00
Matt Brubeck
584fb66e81
Remove unused import in net_traits
2015-09-30 10:00:57 -07:00
Ms2ger
49936b6ce7
Remove dead code from net_traits.
...
It was added in commit ecf02a3656
.
2015-09-30 11:34:50 +02:00
Keith Yeung
ecf02a3656
Initial fetch refactor
2015-09-28 12:24:15 -07:00
Ravi Shankar
889eec364b
sorted the extern crate, mod & use declarations
2015-09-24 02:12:45 +05:30
Manish Goregaokar
3c969b346a
Upgrade rust to f93ab64d4a1a7ee91759a1594ab2a426b6cc657e/rustc-1.5.0-dev.
2015-09-23 14:44:59 +02:00
Brandon Fairchild
de3547e401
Fix reported test-tidy errors for unmerged import blocks
...
This merges import blocks that were reported by tidy as unmerged.
2015-09-19 12:50:14 -04:00
Sam Gibson
6f573d5d44
Move HSTS/CookieStorage to Arc<RwLock> from Ipc
...
servo/servo#7421
2015-09-19 18:30:37 +12:00
bors-servo
6a12f00d6d
Auto merge of #7605 - nox:skew, r=mbrubeck
...
Implement "transform: skew()"
Thanks to @Jinwoo-Song for the original commit, which I just rebased and cleaned up. Fixes #6237 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7605 )
<!-- Reviewable:end -->
2015-09-16 06:31:48 -06:00
Mathieu Rheaume
7320433cca
Remove 'get_*' on getters as per RFC 0344 on various components
2015-09-12 20:14:01 -04:00
Anthony Ramine
f11fcebd9c
Bump euclid to 0.2
2015-09-12 01:06:26 +02:00
Sam Gibson
c093ce8a5a
Only use the resource manager's HSTS list.
...
Simplifies a bunch of stuff.
2015-08-30 12:14:02 +10:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
Josh Matthews
8bb853f643
Fix existing syntactics nits.
2015-08-16 10:30:43 -04:00
João Oliveira
0038580abf
Replace uses of for foo in bar.iter()
and for foo in bar.iter_mut()
...
closes #7197
2015-08-15 02:27:39 +01:00
João Oliveira
9c11781880
replace .len() == 0 with is_empty()
...
closes #7198
2015-08-14 04:00:33 +01:00
Bogdan Cuza
45145108da
Measure heap memory usage for more types. Fixes #6951
2015-08-13 21:44:41 +03:00
Patrick Walton
6b32e5d7a7
servo: Update ipc-channel
to pick up bincode
support.
...
Large improvement in page load times, especially in debug builds.
2015-08-08 09:43:53 -07:00
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
Sam Gibson
c44579018a
Obey Strict-Transport-Security header
2015-08-02 21:17:58 +12:00
Patrick Walton
024c4df912
script: Fix merge fallout.
2015-07-31 11:28:09 -07:00
Patrick Walton
2aa5174246
script: Make the resource task communication use IPC channels.
2015-07-31 11:28:09 -07:00
Patrick Walton
44d13f7fd4
net: Use a thread for each AsyncResponseTarget
to avoid having to send
...
trait objects across process boundaries.
2015-07-31 11:27:49 -07:00
Patrick Walton
9c9d7dc93b
net: Make most of the resource task messages serializable.
2015-07-31 11:27:49 -07:00
Ms2ger
de39880fa6
Be less vocal about image parsing failures.
...
This should help fix some intermittent failures where this error message was
printed intertwined with the test results, causing wptrunner to not notice
the results.
2015-07-29 10:06:31 +02:00
Patrick Walton
82b53d83ff
script: Make the ImageCacheTask
use IPC.
...
This necessitated getting rid of the boxed trait object that was being
be passed between the script task and the image cache task.
2015-07-26 23:07:44 -07:00
Patrick Walton
43cb7d5abd
net: Convert the storage task to use IPC.
2015-07-26 17:07:17 -07:00
Patrick Walton
626974994a
canvas: Move to shared memory for images and canvas backing stores.
...
The idea here is to land this before making images and canvas IPC-safe,
because this will shake out bugs relating to the shared memory. There
are currently test timeouts that are preventing multiprocess images and
canvas from landing, and I believe those are due to the inefficiency of
sending large amounts of data in the unoptimized builds we test with. By
moving to shared memory, this should drastically reduce the number of
copies and `serde` serialization.
Under the hood, this uses Mach OOL messages on Mac and temporary
memory-mapped files on Linux.
2015-07-24 16:14:24 -07:00
Sam Gibson
bae979137a
Moves HSTS includeSubdomains enum to net_traits
2015-07-22 11:49:09 +12:00
Sam Gibson
795454fb81
Adds control message for HSTS headers
2015-07-22 11:49:04 +12:00
Bogdan Cuza
0baa6b477c
Replace astersisks with appropriate versions in deps
2015-07-20 20:08:08 +03:00
Patrick Walton
b6485a9eaf
compositing: Make the constellation messages serializable.
2015-07-18 12:43:08 -07:00
Patrick Walton
6eacb0c995
gfx: Make display lists serializable using serde
.
...
This commit introduces the `serde` dependency, which we will use to
serialize messages going between processes in multiprocess Servo.
This also adds a new debugging flag, `-Z print-display-list-json`,
allowing the output of display list serialization to be visualized.
This will be useful for our experiments with alternate rasterizers.
2015-07-15 19:04:17 -07:00
Simon Sapin
83d2a11d86
Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10)
2015-07-15 00:46:43 +02:00
Glenn Watson
83301ebb75
Add servo Image type. Remove rust-png dependency from script, gfx, layout.
2015-07-07 08:45:01 +10: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
Eduard Burtescu
00e8e5f77d
Use the correct log crate and setup env_logger in main.
2015-06-06 23:20:40 +03:00
Corey Farwell
a14c745a6a
Bump rust-url version: 0.2.16 → 0.2.35
2015-06-04 16:45:15 -04:00
Manish Goregaokar
f80f99fe1e
Move to latest hyper everywhere
2015-06-02 20:12:14 +05:30
r0e
4e327d6941
if thread panics then assertion for PendingLoadGuard destructor is not
...
run
2015-05-25 13:58:45 -07:00
bors-servo
dd319c1a99
Auto merge of #5727 - jdm:parserinterrupt2, r=mbrubeck
...
...r parsing. Hook up document loading to async networking events.
Relies on https://github.com/servo/html5ever/pull/107 , so we'll likely need to backport it rather than wait for the next rustc upgrade.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5727 )
<!-- Reviewable:end -->
2015-05-21 12:37:06 -05:00
Patrick Walton
7e7675c1dc
net: Don't load the placeholder image for background images, only for
...
image fragments.
This also changes the way the placeholder is handled in the image cache
task to decode it up front instead of each time an image fails to load,
both because it was more convenient to implement that way and because
it saves CPU cycles to do so.
This matches the behavior of Gecko and WebKit. It improves the look of
our cached copy of Wikipedia.
2015-05-20 12:00:33 -07:00