Emilio Cobos Álvarez
6d67525172
style: Refactor TRestyleDamage and TNode to accept/provide a "style source"
...
In the Gecko case, this style source would be the style context. In the servo
case, it will be always the computed values.
We could optimise this further in the case of stylo (from three FFI calls to
one) if we use an API of the form CalcAndStore(node, new_cv). But that would
imply borrowing the data twice from Servo (we also have borrow_data_unchecked
fwiw, but...).
2016-08-03 13:31:11 -07:00
Emilio Cobos Álvarez
1470d5b174
stylo: Allow computing change hints during the traversal.
2016-08-03 13:31:11 -07:00
Glenn Watson
db8c3ef727
Update cargo.lock for wr2, pin ipc-channel.
2016-08-03 10:44:10 +02:00
Dirkjan Ochtman
e182d29441
Hoist retrieval of layout_threads from opts into Constellation
2016-07-24 21:45:31 +02:00
Alan Jeffrey
c889900cff
Removed panic channel, replaced by integrated logging and issue reporting.
2016-07-20 21:56:43 -05:00
Emilio Cobos Álvarez
0b67b218d0
style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations.
2016-07-20 09:05:53 -07:00
Simon Sapin
6d0e48f6cc
Remove some type aliases that are now just re-exports.
2016-07-20 08:42:47 +02:00
Simon Sapin
789807b7b0
Remove the ComputedValue traits and style_struct_traits
2016-07-20 08:42:40 +02:00
Alan Jeffrey
62e95c5a61
All our Cargo.toml files should contain an MPL-2.0 license field.
2016-07-14 10:26:34 -05:00
Bobby Holley
1d8d1cb9d9
Upgrade rust-selectors.
2016-07-05 18:03:40 -07:00
Ms2ger
b8fe9e9637
Move WindowSizeData to script_traits.
2016-07-05 09:02:43 +02:00
Anthony Ramine
38a79e4506
Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23)
...
I also properly bump any dependency related to the serde_macros removal
from webrender_traits
2016-06-27 14:13:44 +02:00
Anthony Ramine
abfd52a721
Reorder dependencies
2016-06-26 17:11:27 +02:00
Simon Sapin
f7f81e0ed0
Use our copy of RefCell for style data.
...
This allows removing `#![feature(as_unsafe_cell)]` in geckolib
and make progress towards #11815 .
2016-06-23 16:13:49 +02:00
Ms2ger
b56821a01f
Move CSSErrorReporter to script_layout_interface.
2016-06-20 19:08:13 +02:00
Ms2ger
9e2e0ff98c
Move the remainder of layout_interface into script_layout_interface.
2016-06-20 19:08:12 +02:00
Ms2ger
2c50318ee7
Move is_image_data to script_layout_interface.
2016-06-20 19:08:11 +02:00
Ms2ger
86bfd2cc9f
Move LayoutRPC to script_layout_interface.
2016-06-20 19:08:07 +02:00
Ms2ger
68d603a6d0
Move TrustedNodeAddress to script_layout_interface.
2016-06-20 19:08:06 +02:00
Ms2ger
0d0b268138
Move LayoutNode and related traits to script_layout_interface.
2016-06-20 19:07:54 +02:00
Ms2ger
000e2de57a
Move HTMLCanvasData to script_layout_interface.
2016-06-20 19:04:41 +02:00
Ms2ger
6b847eb93a
Introduce LayoutNodeType and LayoutElementType enums.
2016-06-20 19:02:49 +02:00
Ms2ger
bea96f60e3
Introduce PartialStyleAndLayoutData.
2016-06-20 19:02:39 +02:00
Ms2ger
6aaf3e6a01
Move OpaqueStyleAndLayoutData to script_layout_interface.
2016-06-20 19:02:38 +02:00
Ms2ger
5c03dd8eb1
Introduce a script_layout_interface crate and move RestyleDamage to it.
2016-06-20 19:02:36 +02:00