Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Don't expose any AtomicRefCell directly from style traits | Anthony Ramine | 2020-04-04 | 1 | -3/+1 | |
|/ | | | | This lets us experiment with how we store this data on the DOM side. | |||||
* | Pass pending restyles instead of draining them from layout | Anthony Ramine | 2020-03-28 | 1 | -2/+5 | |
| | ||||||
* | Remove syn 0.15 from our crate graph (fixes #24421) | Anthony Ramine | 2020-03-05 | 1 | -1/+1 | |
| | | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr | |||||
* | Auto merge of #25803 - ferjm:layout_debug, r=SimonSapin | bors-servo | 2020-02-24 | 1 | -17/+35 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layout viewer for layout 2020 - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors This PR makes layout 2020 dump the box and fragment tree states into json files that can be visualized with the layout viewer tool. This tool has not much functionality other than displaying these trees and allowing to inspect each node additional data, so there is a lot of room for improvements. Some ideas for follow-ups: - Make the tool create and display diffs between tree states. - Actually allow creating new debug scopes during box tree and fragment tree construction. Right now there is a single scope created after constructing both trees, which is not ideal as it only allows looking at the reflow result. - Right now an independent JSON file is created per reflow. It would be nice to unify the data obtained on each reflow on a single JSON, so diffs between reflows can be displayed as well. - Dump and display the DOM tree. Link boxes to DOM nodes. - #23339 | |||||
| * | Fix rebase issues and run Prettier on layout viewer code | Fernando Jiménez Moreno | 2020-02-21 | 1 | -7/+5 | |
| | | ||||||
| * | Dump box tree state into json files and display it on layout 2020 viewer | Fernando Jiménez Moreno | 2020-02-21 | 1 | -9/+12 | |
| | | ||||||
| * | Add layout debugger support to layout_2020 | Fernando Jiménez Moreno | 2020-02-21 | 1 | -9/+26 | |
| | | ||||||
* | | Make Background Hang Monitor Optional | Kunal Mohan | 2020-02-23 | 1 | -9/+15 | |
|/ | | | | | | This is done by wrapping all channels of communication and related objects inside Option which are configured using flag inside servo_config. | |||||
* | remove option for origin and mirror changes to layout_thread_2020 | Kunal Mohan | 2020-02-18 | 1 | -15/+23 | |
| | ||||||
* | Add layout_2020 support for NodeGeometryQuery and ContentBoxQuery | Martin Robinson | 2020-02-11 | 1 | -6/+9 | |
| | ||||||
* | Improve the name the NodeGeometryQuery | Martin Robinson | 2020-02-05 | 1 | -2/+2 | |
| | | | | | | | This query is used to get the clientTop, clientWidth, clientHeight, clientLeft properties of DOM objects. "NodeGeometry" doesn't really capture what these properties do as they often are returning the width of element border. | |||||
* | Answer content box queries for layout_2020 for the root element | Martin Robinson | 2020-01-21 | 1 | -5/+8 | |
| | | | | | | This isn't correct yet, but it is necessary to give a value in order for scrolling from script to work. Later this should give an accurate content box response as well as work for non-root elements. | |||||
* | Add initial support for scrollable overflow in layout_2020 | Martin Robinson | 2020-01-21 | 1 | -2/+6 | |
| | | | | | This still isn't totally correct and non-root scrolling is not handled at all, but the root frame now scrolls. | |||||
* | Initial rendering of background-image | Simon Sapin | 2020-01-13 | 1 | -1/+4 | |
| | ||||||
* | Add support for some `-Z dump-*` options | Simon Sapin | 2020-01-13 | 1 | -15/+54 | |
| | ||||||
* | Pass LayoutContext to DisplayListBuilder | Simon Sapin | 2020-01-13 | 1 | -4/+19 | |
| | ||||||
* | Copy image-fetching code from Layout 2013 | Simon Sapin | 2020-01-13 | 1 | -5/+35 | |
| | ||||||
* | Allow dumping the fragment tree in layout_2020 | Martin Robinson | 2020-01-13 | 1 | -1/+11 | |
| | | | | This is done when the dump-flow-tree debug option is passed. | |||||
* | Use the is_contentful field of DisplayListBuilder | Simon Sapin | 2020-01-09 | 1 | -2/+2 | |
| | ||||||
* | Disable use of rayon with `--layout-threads 1` instead of panicking | Simon Sapin | 2019-12-10 | 1 | -0/+1 | |
| | ||||||
* | Support STYLO_THREADS=1 | Simon Sapin | 2019-12-10 | 1 | -6/+14 | |
| | ||||||
* | Add a `request_content_sizes` parameter to ↵ | Simon Sapin | 2019-12-03 | 1 | -1/+2 | |
| | | | | `IndependentFormattingContext::construct` | |||||
* | Pass a LayoutContext through box construction | Simon Sapin | 2019-12-02 | 1 | -2/+1 | |
| | ||||||
* | Un-allow and fix warnings in `components/layout_2020` | Simon Sapin | 2019-12-02 | 1 | -2/+1 | |
| | ||||||
* | Auto merge of #24875 - jdm:wr-no-ipc, r=asajeffrey | bors-servo | 2019-11-27 | 1 | -31/+14 | |
|\ | | | | | | | | | | | Extract IPC out of webrender Fixes #20172. Fixes #13480. | |||||
| * | Use non-IPC webrender API over explicit IPC channels. | Josh Matthews | 2019-11-27 | 1 | -31/+14 | |
| | | ||||||
* | | Use the rayon pool when computing styles in layout 2020 | Anthony Ramine | 2019-11-27 | 1 | -1/+1 | |
|/ | ||||||
* | Properly use STYLE_THREAD_POOL in layout 2020 | Anthony Ramine | 2019-11-25 | 1 | -11/+12 | |
| | ||||||
* | Pass a LayoutContext to TextRun::layout in 2020 | Anthony Ramine | 2019-11-25 | 1 | -9/+19 | |
| | ||||||
* | layout: Inform webrender about new pipeline as early as possible. | Josh Matthews | 2019-11-13 | 1 | -0/+14 | |
| | ||||||
* | Ensure layout/script always have a correct viewport size when a new pipeline ↵ | Josh Matthews | 2019-11-06 | 1 | -21/+7 | |
| | | | | is created. | |||||
* | dom: Calculate the viewport size of iframes when they are first added to the ↵ | Josh Matthews | 2019-11-06 | 1 | -0/+9 | |
| | | | | tree. | |||||
* | 2020: paint background-color | Simon Sapin | 2019-10-24 | 1 | -4/+5 | |
| | ||||||
* | 2020: add and call Fragment::build_display_list | Simon Sapin | 2019-10-24 | 1 | -11/+14 | |
| | ||||||
* | 2020: run layout after box construction | Simon Sapin | 2019-10-24 | 1 | -2/+11 | |
| | ||||||
* | Call BoxTreeRoot::construct from layout_thread_2020 | Anthony Ramine | 2019-10-04 | 1 | -0/+10 | |
| | ||||||
* | Import victor's layout system 🍷 | Anthony Ramine | 2019-09-11 | 1 | -0/+1 | |
| | ||||||
* | Rename RecalcStyleAndConstructFlows to RecalcStyle | Anthony Ramine | 2019-09-11 | 1 | -10/+5 | |
| | | | | It doesn't construct flows anymore. | |||||
* | Remove some more code | Anthony Ramine | 2019-09-11 | 1 | -112/+22 | |
| | ||||||
* | Remove layout_2020::display_list, use WebRender display lists instead | Simon Sapin | 2019-09-07 | 1 | -12/+10 | |
| | ||||||
* | Replace DisplayList::is_contentful with tracking during conversion to WR ↵ | Simon Sapin | 2019-09-06 | 1 | -2/+2 | |
| | | | | display lists | |||||
* | Replace the WebRenderDisplayItemConverter trait with an inherent method | Simon Sapin | 2019-09-06 | 1 | -1/+0 | |
| | ||||||
* | restructure content process shutdown ack with threaded sender, without layout | Gregory Terzian | 2019-08-17 | 1 | -5/+0 | |
| | ||||||
* | Remove more stuff from layout_2020 | Anthony Ramine | 2019-08-13 | 1 | -122/+23 | |
| | ||||||
* | Always send epochs to webrender in layout 2020 | Anthony Ramine | 2019-08-10 | 1 | -134/+56 | |
| | ||||||
* | Fix compilation errors due to the rebase | Anthony Ramine | 2019-08-01 | 1 | -26/+15 | |
| | | | | It's too complicated to make all the commits in that branch compile properly. | |||||
* | Remove most of the things in layout 2020 | Anthony Ramine | 2019-07-31 | 1 | -465/+29 | |
| | | | | | We keep mostly the query system. There is probably more to delete but that's a good start I think. | |||||
* | Make layout_2020 be layout_2013 | Anthony Ramine | 2019-07-31 | 1 | -21/+2127 | |
| | ||||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -2/+2 | |
| | | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is. | |||||
* | Add `./mach build --with-layout-2020` | Simon Sapin | 2019-07-04 | 1 | -0/+59 | |
… with corresponding `layout` and `layout_thread` crates, which for now do nothing. |