aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/flow.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-1138/+0
|
* Add a layout debug module. This outputs a trace of the layout process to a JSONGlenn Watson2014-09-041-2/+49
| | | | | | file which can be viewed in an external tool. It provides a timelapse view of how the flow tree and fragments changed during the layout process, which makes it easier to debug layout bugs.
* Transmute std::raw::TraitObject rather than (some) custom tuples/structs.Simon Sapin2014-08-281-4/+5
| | | | | | | | Context: http://www.mail-archive.com/dev-servo@lists.mozilla.org/msg00867.html This fixes the known issues, but there might be other places where we do "bad" transmutes that I haven’t discovered.
* Convert back to physical some layout coordinates.Simon Sapin2014-08-261-5/+7
|
* Refactor how LayoutContext structure works (reduce TLS lookups + simplify ↵Glenn Watson2014-08-111-6/+6
| | | | | | | | | | | | fns used by seq/parallel code paths). - LayoutContext is renamed to SharedLayoutContext. - SharedLayoutContext is immutable. - LayoutContext is a wrapper around SharedLayoutContext + access to local caches (font, style etc). - Creating a LayoutContext does a single local_data lookup to fetch the cache information. - Android shares same implementation of context.rs as other platforms. - LayoutContext can be used from both green thread (parallel layout) and native thread (sequential layout). - Removes the need for other types (such as FontContext, StyleSharingCandidateCache etc) to be passed around.
* Upgrade Rust.Jack Moffitt2014-08-021-4/+4
|
* Convert layout code to use logical directions.Simon Sapin2014-07-181-61/+63
|
* Split layout code into a separate crate.Josh Matthews2014-06-281-0/+1086