aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
Commit message (Collapse)AuthorAgeFilesLines
* task -> threadrohan.prinja2016-01-101-1368/+0
|
* Bonus Fix - Rename traverse_dom_preorder to traverse_dom.Bobby Holley2016-01-061-2/+2
| | | | | The incorrect naming here was bugging me - the dom traversal has both pre- and post-order processing steps.
* Hoist the style parts of parallel.rs into style/.Bobby Holley2016-01-061-1/+2
|
* Refactor parallel dom traversal to be agnostic to the processing steps ↵Bobby Holley2016-01-041-2/+5
| | | | themselves.
* Fix a bunch of clippy lintsJohannes Linke2016-01-021-2/+2
|
* Don't copy the list of stylesheets in LayoutTask::handle_reflow.Ms2ger2015-12-301-5/+3
| | | | | It would be nice to avoid exposing the fact that these are stored in an Arc to the selector matching code.
* Auto merge of #9077 - bholley:split_layout_context_etc, r=SimonSapinbors-servo2015-12-301-10/+13
|\ | | | | | | | | | | | | | | Split the style-related bits out of LayoutContext and hoist more stuff into style/ <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9077) <!-- Reviewable:end -->
| * Hoist style-related context bits into style/.Bobby Holley2015-12-291-10/+13
| | | | | | | | | | | | | | | | We do a few things-here: * Hoist non-layout-dependent fields in SharedLayoutData and LocalLayoutData into style/. * Hoist parts of css/matching.rs into style/. * Hoist parts of layout/animation.rs into style/animation.rs. * Remove the duplicated-but-slightly-different definition of OpaqueNode.
* | Auto merge of #9051 - bholley:split_style_and_layout_wrappers, r=SimonSapinbors-servo2015-12-301-18/+15
|\| | | | | | | | | | | | | | | | | | | | | | | Split layout wrappers into style+layout and layout-only functionality This is a step towards removing the dependency of stylo on layout/. This PR depends on #9004. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9051) <!-- Reviewable:end -->
| * Separate style+layout and layout-specific wrapper functionality.Bobby Holley2015-12-291-18/+15
| | | | | | | | | | | | | | | | | | | | | | This patch does a number of things, unfortunately all at once: * Hoists a large subset of the layout wrapper functionality into the style system. * Merges TElementAttributes into the newly-created TElement. * Reorganizes LayoutData by style vs layout, and removes LayoutDataShared. * Simplifies the API for borrowing style/layout data. There's still more to do to make the style system usable standalone, but this is a good start.
* | Separate script and layout messages, issue #8843Joe Kachmar2015-12-261-2/+2
|/
* Move LayerKind and ScrollPolicy enums to gfx_traitsBrandon Fairchild2015-12-201-2/+2
| | | | | | This also moves LayerId and LayerProperties to gfx_traits. Fixes #8836.
* Auto merge of #8995 - pcwalton:measure-text-shaping, r=mbrubeckbors-servo2015-12-171-0/+13
|\ | | | | | | | | | | | | | | | | | | gfx: Measure text shaping time in the time profiler. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8995) <!-- Reviewable:end -->
| * gfx: Measure text shaping time in the time profiler.Patrick Walton2015-12-151-0/+13
| |
* | Auto merge of #8903 - KiChjang:layout-reporter-redirect, r=noxbors-servo2015-12-161-12/+19
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | fix for Layout memory reporter uses pre-redirect url Rebase of #7612. Fixes #6872. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8903) <!-- Reviewable:end -->
| * Fix build errors after rebasing and address review commentsKeith Yeung2015-12-091-7/+6
| |
| * remove Option because it is never used as NoneArnaud Marant2015-12-091-12/+8
| |
| * fix for Layout memory reporter uses pre-redirect url #6872Arnaud Marant2015-12-091-8/+20
| |
* | Add pipeline information to CSS error reporting.GauriGNaik2015-12-141-2/+2
| |
* | Move ScriptMsg from msg crate into script_traitsTomas Cernaj2015-12-091-1/+1
|/
* Generalize the rest of layout to operate on generic Layout*.Bobby Holley2015-11-281-2/+2
| | | | | | | There wasn't a good way to split this up, unfortunately. With this change, the only remaining usage of the Servo-specific structures is in layout_task, where the root node is received from the script task. \o/
* Defined new trait ParseErrorReporter and added error_reporter member to ↵GauriGNaik2015-11-251-1/+8
| | | | ParserContext
* Write animated values into the `ComputedValues` structures whenPatrick Walton2015-11-241-6/+12
| | | | | | | | | | animations complete or are interrupted. This adds a new pair of reader-writer locks. I measured the performance of style recalculation on Wikipedia and the overhead of the locks was not measurable. Closes #7816.
* Improve readability of flow tree dumpMartin Robinson2015-11-231-1/+1
| | | | | | | Use the PrintTree utility to improve the readability of flow tree dumps. Blocks and fragments are now split over two dump levels, because otherwise they are impenetrable. Also start printing the restyle damage of fragments.
* Rename ThreadSafeLayoutFoo to ServoThreadSafeLayoutFoo and ↵Bobby Holley2015-11-211-1/+2
| | | | TThreadSafeLayoutFoo to ThreadSafeLayoutFoo.
* Hoist exported ThreadSafeLayoutFoo functionality into traits.Bobby Holley2015-11-211-1/+1
|
* Pass ServoLayoutNode to query functions.Ms2ger2015-11-201-10/+19
| | | | | | This means we only deal with TrustedNodeAddress in LayoutTask::handle_reflow, which is where the safety of this usage is guaranteed (by the ScriptReflow destructor).
* compositing: Split Servo up into multiple sandboxed processes.Patrick Walton2015-11-191-19/+23
| | | | | Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
* refactor(layout_task.rs): move some functions to query.rsRizky Luthfianto2015-11-191-297/+8
|
* Rename Layout*Trait to Layout*.Bobby Holley2015-11-181-1/+1
| | | | | The next step will be to remote the Servo-specificity of the layout code we want to share by making it operate generically on Layout*.
* Prefix concrete types with 'Servo'.Bobby Holley2015-11-181-6/+6
|
* Hoist exported wrapper functionality into a family of traits.Bobby Holley2015-11-181-1/+1
| | | | | All the existing code still uses the concrete implementations, so this shouldn't impact the generated code at all.
* Split ConstellationMsg into ScriptMsg and CompositorMsgKeith Yeung2015-11-161-5/+5
|
* Remove AutoJoinScriptTask.Ms2ger2015-11-161-11/+1
| | | | | | | I don't believe there is a case where it would make sense to drop the ScriptReflow struct without joining the script thread. This approach should be somewhat more robust, and avoids the code smell of a RAII guard in an otherwise unused variable.
* Auto merge of #8529 - Ms2ger:unused-lifetime, r=eefriedmanbors-servo2015-11-151-13/+13
|\ | | | | | | | | | | | | | | Remove unused lifetime parameters from LayoutTask methods. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8529) <!-- Reviewable:end -->
| * Remove unused lifetime parameters from LayoutTask methods.Ms2ger2015-11-111-13/+13
| |
* | remove unnecessary layout_chanHayden Faulds2015-11-121-3/+2
| |
* | remove chan from layout taskHayden Faulds2015-11-121-6/+0
| |
* | make layout task fields privateHayden Faulds2015-11-121-18/+22
|/
* Write reflow results, even with no root node.Michael Howell2015-11-101-4/+28
| | | | Fixes #8240
* Implement attribute restyle hints.Bobby Holley2015-11-101-4/+2
| | | | Fixes #6942.
* Move viewport_size from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-12/+12
|
* Move epoch from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-8/+8
|
* Pass the constellation_chan to animation::update_animation_state directly.Ms2ger2015-11-091-1/+1
|
* Move running_animations from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-6/+7
|
* Move visible_rects from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-9/+9
|
* Move root_flow from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-18/+10
|
* Move outstanding_web_fonts from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-9/+9
|
* Move new_animations_receiver from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-5/+7
|
* Move new_animations_sender from LayoutTaskData to LayoutTask.Ms2ger2015-11-091-6/+6
|