servo/components/layout
bors-servo b38d9cc3ad Auto merge of #13214 - shinglyu:gen_trace, r=SimonSapin
Create separate layout trace file for each reflow

<!-- Please describe your changes on the following line: -->
Currently only the layout trace from the last reflow is dumped to the file. But the interesting reflow may not be the last one. So we are dumping each of them with filename `layout_trace-{generation}.json`.

This will be used by a GUI viewer to visualize the layout process, which I will check-in later.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because its a minor debug tool

<!-- 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/13214)
<!-- Reviewable:end -->
2016-09-09 21:13:42 -05:00
..
animation.rs Make RestyleDamage::compute take no optional argument, delegate the handling to the caller. 2016-08-10 18:26:24 -07:00
block.rs Reorder use statements 2016-09-09 04:55:19 +02:00
Cargo.toml Update cssparser 2016-09-07 14:13:56 +08:00
construct.rs Reorder use statements 2016-09-09 04:55:19 +02:00
context.rs Move image fetching methods to SharedLayoutContext. 2016-08-23 16:13:23 +02:00
data.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
display_list_builder.rs Reorder use statements 2016-09-09 04:55:19 +02:00
flex.rs Reorder use statements 2016-09-09 04:55:19 +02:00
floats.rs layout: Take margins in the inline direction into account when 2016-05-10 17:11:28 -07:00
flow.rs Reorder use statements 2016-09-09 04:55:19 +02:00
flow_list.rs Use impl DoubleEndedIterator for two flow_list iterators 2016-08-14 19:06:18 +02:00
flow_ref.rs Correct the signature of flow_ref::deref_mut. 2016-06-06 15:14:23 +02:00
fragment.rs Reorder use statements 2016-09-09 04:55:19 +02:00
generated_content.rs Reorder use statements 2016-09-09 04:55:19 +02:00
incremental.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
inline.rs Reorder use statements 2016-09-09 04:55:19 +02:00
layout_debug.rs Create separate layout trace file for each reflow 2016-09-09 17:38:19 +08:00
lib.rs Update Rust to 1.13.0-nightly (198713106 2016-08-26) 2016-08-28 13:45:03 +02:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Reorder use statements 2016-09-09 04:55:19 +02:00
model.rs Update euclid to 0.10.1 2016-08-21 03:03:45 +02:00
multicol.rs Pass SharedLayoutContext to Flow::compute_absolute_position. 2016-08-24 10:12:38 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Reorder use statements 2016-09-09 04:55:19 +02:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Pass &mut Flow to query functions. 2016-08-25 09:40:20 +02:00
sequential.rs Reorder use statements 2016-09-09 04:55:19 +02:00
table.rs Auto merge of #13192 - notriddle:master, r=pcwalton 2016-09-08 23:17:06 -05:00
table_caption.rs Pass SharedLayoutContext to Flow::compute_absolute_position. 2016-08-24 10:12:38 +02:00
table_cell.rs Pass SharedLayoutContext to Flow::compute_absolute_position. 2016-08-24 10:12:38 +02:00
table_colgroup.rs Remove some type aliases that are now just re-exports. 2016-07-20 08:42:47 +02:00
table_row.rs Handle row borders in border collapsing logic. 2016-08-30 23:00:58 -03:00
table_rowgroup.rs Pass SharedLayoutContext to Flow::compute_absolute_position. 2016-08-24 10:12:38 +02:00
table_wrapper.rs Pass SharedLayoutContext to Flow::compute_absolute_position. 2016-08-24 10:12:38 +02:00
text.rs Reorder use statements 2016-09-09 04:55:19 +02:00
traversal.rs Reorder use statements 2016-09-09 04:55:19 +02:00
webrender_helpers.rs Reorder use statements 2016-09-09 04:55:19 +02:00
wrapper.rs Reorder use statements 2016-09-09 04:55:19 +02:00