aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace stb_image with PistonDevelopers/imageMatt Brubeck2015-10-091-1/+1
| | | | Fixes #3368
* Remove unused import in net_traitsMatt Brubeck2015-09-301-1/+0
|
* Remove dead code from net_traits.Ms2ger2015-09-301-6/+0
| | | | It was added in commit ecf02a3656d60d4197e7cfc53beaedbc5e1019c0.
* Initial fetch refactorKeith Yeung2015-09-281-2/+84
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-6/+6
|
* Upgrade rust to f93ab64d4a1a7ee91759a1594ab2a426b6cc657e/rustc-1.5.0-dev.Manish Goregaokar2015-09-231-1/+0
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-2/+1
| | | | This merges import blocks that were reported by tidy as unmerged.
* Move HSTS/CookieStorage to Arc<RwLock> from IpcSam Gibson2015-09-191-3/+0
| | | | servo/servo#7421
* Only use the resource manager's HSTS list.Sam Gibson2015-08-301-0/+1
| | | | Simplifies a bunch of stuff.
* Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()`João Oliveira2015-08-151-1/+1
| | | | closes #7197
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-4/+9
|
* Move net_error_list from net to net_traits. Fixes #7050.Connor Imes2015-08-061-0/+1
|
* Use hosts-replaced URL only when loading resourcesJames Graham2015-08-051-1/+10
|
* Obey Strict-Transport-Security headerSam Gibson2015-08-021-1/+1
|
* script: Make the resource task communication use IPC channels.Patrick Walton2015-07-311-269/+46
|
* net: Use a thread for each `AsyncResponseTarget` to avoid having to sendPatrick Walton2015-07-311-4/+10
| | | | trait objects across process boundaries.
* net: Make most of the resource task messages serializable.Patrick Walton2015-07-311-33/+262
|
* script: Make the `ImageCacheTask` use IPC.Patrick Walton2015-07-261-0/+2
| | | | | This necessitated getting rid of the boxed trait object that was being be passed between the script task and the image cache task.
* canvas: Move to shared memory for images and canvas backing stores.Patrick Walton2015-07-241-0/+1
| | | | | | | | | | | | | 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.
* Moves HSTS includeSubdomains enum to net_traitsSam Gibson2015-07-221-1/+7
|
* Adds control message for HSTS headersSam Gibson2015-07-221-0/+2
|
* gfx: Make display lists serializable using `serde`.Patrick Walton2015-07-151-0/+4
| | | | | | | | | 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.
* Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0.Ms2ger2015-06-251-1/+1
|
* Use euclid from crates.ioecoal952015-06-191-1/+1
|
* Use the correct log crate and setup env_logger in main.Eduard Burtescu2015-06-061-1/+0
|
* if thread panics then assertion for PendingLoadGuard destructor is notr0e2015-05-251-1/+4
| | | | run
* Make external script sources load asynchronously, yet still block further ↵Josh Matthews2015-05-201-7/+11
| | | | parsing. Hook up document loading to async networking events.
* Delay stylesheet load in test to increase confidence.Josh Matthews2015-05-111-8/+10
|
* Make stylesheets block page load.Josh Matthews2015-05-111-4/+52
|
* 1. Add an Option<Pipeline_id> field to the LoadData struct, and a ↵Himaja2015-05-051-3/+7
| | | | | | corresponding parameter to LoadData::new() 2. Change addEvent in the NetworkEventActor to add_request and add_response
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-3/+3
|
* Add a `profile_traits` crate to reduce compile times.Nicholas Nethercote2015-04-301-1/+0
| | | | | | | | | | 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`.
* Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
|
* Refactored image cache task - details below.Glenn Watson2015-04-231-3/+0
| | | | | | | | | | | | | | | | | | | | * Simpler image cache API for clients to use. * Significantly fewer threads. * One thread for image cache task (multiplexes commands, decoder threads and async resource requests). * 4 threads for decoder worker tasks. * Removed ReflowEvent hacks in script and layout tasks. * Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe. * Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow. * Add reflow batching for when multiple images load quickly. * Reduces the number of paints loading wikipedia from ~95 to ~35. * Reasonably simple to add proper prefetch support in a follow up PR. * Async loaded images always construct Image fragments now, instead of generic. * Image fragments support the image not being present. * Simpler implementation of synchronous image loading for reftests. * Removed image holder. * image.onload support. * image NaturalWidth and NaturalHeight support. * Updated WPT expectations.
* Replace usage of ResponseSenders by LoadConsumerMarcus Klaas2015-04-191-14/+0
|
* Document async networking interfaces.Josh Matthews2015-04-161-0/+15
|
* Completely abstract sending responses over channels vs. listeners.Josh Matthews2015-04-161-2/+18
|
* Start switching net/ to use abstractions over channels to allow introducing ↵Josh Matthews2015-04-161-6/+33
| | | | non-channel communication in the future.
* Make Metadata use ContentTypeBogdan Cuza2015-04-141-4/+5
|
* Update WHATWG links to use HTTPSCorey Farwell2015-04-131-1/+1
| | | | | | | | | | | | | | 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' ```
* Stop using int/uint in net_traits.Ms2ger2015-04-061-1/+0
|
* Split out shared networking code into net_traits crateGilles Leblanc2015-04-031-0/+218
Fixes #4476