servo/components/style
bors-servo ec0d3e084d Auto merge of #11946 - emilio:animations-sender, r=bholley
style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext.

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

---
<!-- 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

<!-- Either: -->
- [x] These changes do not require tests because refactoring.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

As a follow-up, we could move all the data living under a mutex in the
SharedLayoutContext only in order to create the local context to the same place.

This should increase animation performance when there are multiple animations in
one page that happen to be on different threads.

r? @SimonSapin/@mbrubeck for the style/layout, @bholley for the geckolib changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11946)
<!-- Reviewable:end -->
2016-07-01 14:12:54 -07:00
..
properties style: Cleanup Interpolate code. 2016-06-29 10:03:12 +00:00
animation.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
attr.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
bezier.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
build.rs Explicitly list inputs to the style crate's build script 2016-05-11 10:46:33 -07:00
Cargo.toml Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
context.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
custom_properties.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
data.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
dom.rs Auto merge of #11834 - servo:style-docs, r=SimonSapin 2016-06-27 17:14:55 -05:00
element_state.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
error_reporting.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
font_face.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
keyframes.rs Reorder code in KeyframesAnimation::from_keyframes() to avoid a panic. 2016-07-01 12:04:29 +02:00
lib.rs style: Add @keyframe rule parsing. 2016-06-28 15:09:53 +00:00
logical_geometry.rs Make the style crate almost build on stable Rust. 2016-06-22 15:44:13 +02:00
matching.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
media_queries.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
parallel.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
parser.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
refcell.rs Add commit hash to be reverted in FIXME comment. 2016-06-23 16:14:33 +02:00
restyle_hints.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
selector_impl.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
selector_matching.rs style: Shadow declarations of no-op animations 2016-06-28 15:28:01 +00:00
sequential.rs Remove lifetimes from T{Node,Element,Document}. 2016-03-14 14:31:57 -07:00
servo.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
stylesheets.rs style: Fix parsing and add generated keyframes 2016-06-28 15:20:59 +00:00
traversal.rs style: Remove the Mutex from new_animations_sender by moving it to the local StyleContext. 2016-07-01 13:48:06 -07:00
values.rs style: Refactor all the animated properties to use the style system properly 2016-06-28 15:09:53 +00:00
viewport.rs style: Refactor all the animated properties to use the style system properly 2016-06-28 15:09:53 +00:00

servo-style

Style system for Servo, using rust-cssparser for parsing.