servo/components/script
bors-servo 36ddf763f6 Auto merge of #14351 - asajeffrey:servo-rand-share-fds, r=emilio
An in-memory RNG that shares its file descriptor.

<!-- Please describe your changes on the following line: -->

This PR implements an in-memory random number generator that only uses an OS RNG for (re)seeding. The OS RNG is shared, so there's only one file descriptor for `/dev/urandom` being used.

The PR also implements a tidy check that we don't accidentally introduce an RNG. Rather annoyingly, there are a lot of transitive dependencies on `rand`, notably hash maps in `std`.

This PR makes it possible to use uuids for identifiers such as pipeline and frame ids.

---
<!-- 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 do not require tests because it's fixing a resource issue

<!-- 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/14351)
<!-- Reviewable:end -->
2017-01-05 06:32:23 -08:00
..
docs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
dom Auto merge of #14351 - asajeffrey:servo-rand-share-fds, r=emilio 2017-01-05 06:32:23 -08:00
task_source Properly implement TaskSource for NetworkingTaskSource 2016-11-11 14:50:42 -08:00
body.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
build.rs
Cargo.toml An in-memory RNG that shares its file descriptor. 2017-01-05 13:51:53 +00:00
clipboard_provider.rs
CMakeLists.txt
devtools.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
document_loader.rs Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00
fetch.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
layout_wrapper.rs Only pass nodes to layout for restyling that are actually in the document. 2017-01-04 12:42:12 -05:00
lib.rs An in-memory RNG that shares its file descriptor. 2017-01-05 13:51:53 +00:00
mem.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
network_listener.rs Separate the async bluetooth handling from networking code. 2016-12-21 14:52:39 +01:00
origin.rs Urlmageddon: Use refcounted urls more often. 2016-11-17 18:34:23 +01:00
script_runtime.rs Removed util. 2016-12-14 18:04:37 -06:00
script_thread.rs Implement discarding Document objects to reclaim space. 2017-01-04 11:29:31 +00:00
serviceworker_manager.rs Removed util. 2016-12-14 18:04:37 -06:00
serviceworkerjob.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
stylesheet_loader.rs Interact with the originating document for stylesheet loads, rather than the element's current document. 2017-01-04 09:55:45 -05:00
test.rs Remove generation, remove filter pop, and add size tests. 2016-12-22 11:09:55 -08:00
textinput.rs Return KeyReaction::Nothing for a Tab event 2016-11-12 15:49:00 +01:00
timers.rs Added warnings for idempotent freeze/thaw. 2017-01-04 13:56:14 +00:00
unpremultiplytable.rs
webdriver_handlers.rs Refactor and simplify 'set cookies' operations on resource thread. 2016-12-15 15:34:04 -05:00