aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits
Commit message (Collapse)AuthorAgeFilesLines
...
* | Update references to malloc_size_of_derive, which is in crates.io now.Emilio Cobos Álvarez2019-01-131-1/+1
|/
* Fix some warningsSimon Sapin2018-12-282-4/+4
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-1/+1
|
* Upgrade to rustc 1.33.0-nightly (fb86d604b 2018-12-27)Simon Sapin2018-12-281-2/+0
|
* Remove `foreign` service-workers modeCYBAI2018-12-231-1/+0
|
* Use Mime::get_paramAnthony Ramine2018-12-121-5/+3
|
* Change Response's statusText default value from 'Ok' to an empty stringGeorge Roman2018-11-272-3/+3
|
* Set response status for range requests to file and blob urlsFernando Jiménez Moreno2018-11-261-1/+3
|
* Auto merge of #22225 - servo:webgl, r=emiliobors-servo2018-11-211-12/+1
|\ | | | | | | | | | | | | | | Send an IpcSharedMemory in tex_image_2d and tex_sub_image_2d <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22225) <!-- Reviewable:end -->
| * Move PixelFormat to the pixels crateAnthony Ramine2018-11-201-12/+1
| |
* | refactored performance timing to align with updated specddh2018-11-204-8/+101
|/ | | | | | | | | | | | refactoring with ResourceFetchMetadata implemented deprecated window.timing functionality created ResourceTimingListener trait fixed w3c links in navigation timing updated include.ini to run resource timing tests on ci
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-1914-14/+14
|
* Auto merge of #22217 - yawboakye:fix-duplicate-code, r=jdmbors-servo2018-11-181-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Remove duplicate code `req.pipeline_id` is already set with `init.pipeline_id` during initialization. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22217) <!-- Reviewable:end -->
| * Remove duplicate codeYaw Boakye2018-11-181-1/+0
| | | | | | | | | | `req.pipeline_id` is already set with `init.pipeline_id` during initialization.
* | Update image related dependenciesBastien Orivel2018-11-181-1/+1
| |
* | Prefix some pixels functions with rgba8_Anthony Ramine2018-11-161-1/+1
| |
* | Update uuidBastien Orivel2018-11-091-1/+1
| |
* | Remove useless `use crate_name;` imports.Simon Sapin2018-11-083-5/+0
| | | | | | | | A `crate_name::foo` path always works in 2018
* | `cargo fix --edition-idioms`Simon Sapin2018-11-086-25/+6
|/
* Reorder importsPyfisch2018-11-063-3/+3
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-0/+1
|
* Sort `use` statementsSimon Sapin2018-11-062-4/+4
|
* `cargo fix --edition`Simon Sapin2018-11-067-13/+13
|
* Rustfmt net_traits cratePyfisch2018-11-0310-131/+229
|
* Update hyper to 0.12Bastien Orivel2018-11-015-69/+168
|
* Add lots of derived Debug implsAlan Jeffrey2018-10-296-34/+34
|
* Auto merge of #21933 - notriddle:navigation-redirect-status-code, r=noxbors-servo2018-10-161-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thread the status through navigation redirects This is necessary because status codes affect whether the redirect is done with the same HTTP method or a different one. This is part of #21886, but there's also a flaw in how iframes are handled that is causing the redirect to take over the entire window, so this commit doesn't entirely fix slither.io. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes are part of #21886, but more changes are needed to actually fix it <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21933) <!-- Reviewable:end -->
| * Thread the status through navigation redirectsMichael Howell2018-10-131-0/+2
| | | | | | | | | | | | | | | | | | This is necessary because status codes affect whether the redirect is done with the same HTTP method or a different one. This is part of #21886, but there's also a flaw in how iframes are handled that is causing the redirect to take over the entire window, so this commit doesn't entirely fix slither.io.
* | Remove Origin::unicode_serializationBastien Orivel2018-10-121-1/+1
|/ | | | Fixes #20701
* Auto merge of #21877 - servo:webgl, r=jdmbors-servo2018-10-093-19/+4
|\ | | | | | | | | | | | | | | Improve some byte-swap and premultiply operations <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21877) <!-- Reviewable:end -->
| * Merge some byte swap/premultiply functions in their own crateAnthony Ramine2018-10-063-19/+4
| |
| * Rename byte_swap_and_premultiply to byte_swap_colors_inplaceAnthony Ramine2018-10-061-2/+2
| | | | | | | | The function did not actually premultiply.
* | Make `mach test-unit` not recompile components after `mach build`Simon Sapin2018-10-071-1/+1
|/ | | | | | | | | | | | | Previously, the `tests` feature flag of the `embedder_traits` crate caused it and every crate recursively depending on it to be built twice. This feature flag was used to provide a specific set of "resources" when running tests. Instead, this commits overrides the `main()` function of the test harness to change resources at runtime before running any test. This is done by adding a dependency that has `name = "test"` in its `[lib]` section of `Cargo.toml`. This overrides the crate found by `extern crate test;` in code generated by `rustc --test`.
* Replace mpsc with crossbeam/servo channel, update ipc-channelSimon Sapin2018-09-121-1/+1
| | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
* Dedupe num-traitsBastien Orivel2018-08-091-1/+1
|
* WIP: Dedupe dependenciesBastien Orivel2018-07-161-1/+1
|
* move msg to embedder_traits, use in script, handle send error in embedderGregory Terzian2018-05-231-5/+1
|
* Automatically provide a resource reader for testsPaul Rouget2018-04-302-11/+3
|
* delegate resource reading to embedderPaul Rouget2018-04-274-6/+15
|
* Remove insaccessible history statesConnor Brewster2018-04-171-0/+2
|
* Implement history stateConnor Brewster2018-04-161-0/+5
|
* Measure cache memory usage (#19251):modal-d172018-04-013-1/+4
| | | | | | | | | | | | | Made the memory cache data structure derive MallocSizeOf, along with manual size_of() implementations in malloc_size_of. Added a Measurable struct that acts as a container for fields size_of() can be called for. Added a new IpcReceiver used for listening to messages from the memory profiler, and used run_with_memory reporting to register a memory reporter in the thread. Now when a message from the memory profiler arrives, report includes sizes of public and private http caches. Updated test file.
* Bump env_logger to 0.5 and log to 0.4 in every servo crateBastien Orivel2018-03-281-1/+1
|
* Bump ipc-channel and bincodeBastien Orivel2018-03-211-2/+2
| | | | This required bumping uuid too which unfortunately duplicated rand.
* Update image to 0.18Bastien Orivel2018-02-281-1/+1
|
* Use specific negative assertion for unit tests of net trait pub_domainCYBAI2018-01-261-1/+1
|
* Auto merge of #19350 - gterzian:ignore_aborted_responses_in_caching, r=jdmbors-servo2018-01-231-3/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore aborted responses in caching <!-- Please describe your changes on the following line: --> @jdm @KiChjang @Manishearth Follow up on https://github.com/servo/servo/pull/18676 and https://github.com/servo/servo/pull/19274 to ignore aborted responses in caching. I also found out the cache shouldn't return any response whose body is still in `ResponseBody::Receiving` mode, because that fails the assertion at https://github.com/servo/servo/blob/master/components/net/fetch/methods.rs#L438(we might want to add a channel as pat of the cached response later on to deal with this case). I only found out now because I needed the response from the server to trickle in so that it could be cached and aborted. I copied the `http-cache.py` server from the wpt folder, and added a 'trickle' option, which is necessary to actually have a failing test with a cached but aborted request, it's now passing. I also remove one unused import that slippled through previously. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19350) <!-- Reviewable:end -->
| * ignore aborted response in http cachingGregory Terzian2018-01-131-3/+5
| |
* | Merge net_traits and net_traits_testsAnthony Ramine2018-01-204-0/+176
|/
* Update lazy_static to 1.0Bastien Orivel2017-12-041-1/+1
| | | | For now it'll be duplicated