Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`. | ||||
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -1/+2 |
| | | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments. | ||||
* | Rename JS<T> to Dom<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Decouple media load blockers from their resource URL | Anthony Ramine | 2017-09-25 | 1 | -5/+5 |
| | | | | | A media element can delay the document's load event without having a resource URL, and it can even block it while being inserted into a different document AFAIK. | ||||
* | Rename Document::mut_loader to loader_mut | Anthony Ramine | 2017-09-25 | 1 | -1/+1 |
| | |||||
* | fix #18594: Unnecessarily allocating an error string | tigercosmos | 2017-09-23 | 1 | -1/+1 |
| | |||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -3/+3 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Remove mutability requirement from fetch_async_background. | Josh Matthews | 2017-02-28 | 1 | -1/+1 |
| | |||||
* | Extract layout image request into separate file. Do not block the document ↵ | Josh Matthews | 2017-02-22 | 1 | -0/+7 |
| | | | | load event. | ||||
* | Urlmageddon: Use refcounted urls more often. | Emilio Cobos Álvarez | 2016-11-17 | 1 | -10/+10 |
| | |||||
* | Lookup frames by frame_id, not pipeline_id. | Alan Jeffrey | 2016-11-03 | 1 | -0/+3 |
| | |||||
* | Remove DocumentLoader::pipeline. | Ms2ger | 2016-10-13 | 1 | -5/+1 |
| | |||||
* | Remove Document::load_async. | Ms2ger | 2016-10-13 | 1 | -32/+3 |
| | |||||
* | Privatize PendingAsyncLoad. | Ms2ger | 2016-10-04 | 1 | -8/+8 |
| | |||||
* | Remove Document::add_blocking_load. | Ms2ger | 2016-10-04 | 1 | -2/+2 |
| | |||||
* | Inline prepare_async_load. | Ms2ger | 2016-10-04 | 1 | -19/+10 |
| | |||||
* | Avoid PendingAsyncLoad in fetch_async. | Ms2ger | 2016-10-04 | 1 | -7/+5 |
| | |||||
* | Use fetch infrastructure to load external scripts | Keith Yeung | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Add fetch_async to PendingAsyncLoad, DocumentLoader and Document | Keith Yeung | 2016-09-21 | 1 | -2/+15 |
| | |||||
* | Bring referrer policy delivery to <a> and <link> via rel attribute | Ying-Ruei Liang(KK) | 2016-09-20 | 1 | -5/+7 |
| | |||||
* | Integrate service worker manager thread | Rahul Sharma | 2016-07-16 | 1 | -5/+2 |
| | |||||
* | change load blocker drop assert to debug_assert | Connor Brewster | 2016-06-30 | 1 | -1/+1 |
| | |||||
* | Add file backend support for Blob and related | Zhen Zhang | 2016-06-01 | 1 | -15/+14 |
| | | | | | | | | Changes include: - Add BlobImpl to Blob, and related caching mechanism - Expose ResourceThreads to document_loader, workerglobalscope, worker, and global - Fix encode_multipart_form_data - Other small fixes to accommodate the above changes | ||||
* | adding interface for custom responses | Rahul Sharma | 2016-05-20 | 1 | -4/+11 |
| | |||||
* | Implement trait-based ResourceThreads and clean up related naming issues | Zhen Zhang | 2016-05-20 | 1 | -5/+5 |
| | | | | | | | | | | Changes include: - Introduce an IpcSend trait to abstract over a collection of IpcSenders - Implement ResourceThreads collection to abstract the resource-related sub threads across the component - Rename original ResourceThread and ControlMsg into an unifed CoreResource__ to accommodate above changes and avoid confusions | ||||
* | Auto merge of #8454 - jdm:media, r=KiChjang | bors-servo | 2016-05-03 | 1 | -1/+4 |
|\ | | | | | | | | | | | | | | | | | | | Implement basic <media> infrastructure This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8454) <!-- Reviewable:end --> | ||||
| * | Implement basic media resource selection and fetching. | Josh Matthews | 2016-05-03 | 1 | -1/+4 |
| | | |||||
* | | Avoid some clones. | Ms2ger | 2016-04-29 | 1 | -2/+2 |
|/ | |||||
* | Add referrer policy pass-through and referrer header logic | Rebecca | 2016-04-25 | 1 | -4/+9 |
| | | | | | | | add pass-through from doc to http-loader for referrer_policy, ref_URL add logic for setting referer header add script pass-through for referrer add unit tests for setting referer header | ||||
* | Improve documentation for new methods. | Josh Matthews | 2016-02-10 | 1 | -0/+1 |
| | |||||
* | Make iframes block the enclosing document's load event. Fixes #6663. | Josh Matthews | 2016-02-10 | 1 | -1/+52 |
| | |||||
* | task -> thread | rohan.prinja | 2016-01-10 | 1 | -8/+8 |
| | |||||
* | Resolves #4183 - Implemementing context-based MIME type sniffing | David Rajchenbach-Teller | 2015-12-31 | 1 | -3/+12 |
| | | | | | The version of the standard is not finalized at the time of this writing. Specifications may be found here: https://mimesniff.spec.whatwg.org/#context-specific-sniffing . | ||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -2/+2 |
| | |||||
* | Check in for task 1,4 and 5 | Abhishek Kumar | 2015-11-05 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | Adding pipelineID to httpresponse message, clearner code for task1 Commit for Refactored task Unit tests Removing extra whitespaces. Removing extra whitespaces. Removing tabs whitespaces Making Code tidier. Style issues Fix Test-tidy Fixes | ||||
* | Remove dead load_sync function. | Eli Friedman | 2015-11-03 | 1 | -9/+1 |
| | |||||
* | Improve spec-compliance of script loading and execution during document startup | Till Schneidereit | 2015-10-26 | 1 | -21/+10 |
| | | | | Including proper support for async and deferred scripts. | ||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -1/+1 |
| | |||||
* | Fix reported test-tidy errors | Brandon Fairchild | 2015-09-01 | 1 | -1/+1 |
| | | | | | This fixes lines that were reported to have missing space after a comma. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -2/+2 |
| | |||||
* | Splitting ScriptMsg into various enums; r=jdm | Ravi Shankar | 2015-08-15 | 1 | -3/+4 |
| | |||||
* | Start reporting memory usage for Window and all nodes in all DOM trees for ↵ | Josh Matthews | 2015-08-03 | 1 | -3/+5 |
| | | | | frame treese in script tasks. | ||||
* | script: Fix test failures. | Patrick Walton | 2015-07-31 | 1 | -3/+8 |
| | |||||
* | net: Use a thread for each `AsyncResponseTarget` to avoid having to send | Patrick Walton | 2015-07-31 | 1 | -1/+1 |
| | | | | trait objects across process boundaries. | ||||
* | Refactor #[jstraceable] to #[derive(JSTraceable)] | David Winslow | 2015-07-01 | 1 | -4/+3 |
| | | | | fixes #6524 | ||||
* | Update test expectations. Mark script loads as complete when the response is ↵ | Josh Matthews | 2015-05-21 | 1 | -0/+1 |
| | | | | complete. | ||||
* | Make external script sources load asynchronously, yet still block further ↵ | Josh Matthews | 2015-05-20 | 1 | -7/+6 |
| | | | | parsing. Hook up document loading to async networking events. | ||||
* | Delay stylesheet load in test to increase confidence. | Josh Matthews | 2015-05-11 | 1 | -8/+6 |
| | |||||
* | Make stylesheets block page load. | Josh Matthews | 2015-05-11 | 1 | -8/+14 |
| |