Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split layout code into a separate crate. | Josh Matthews | 2014-06-28 | 24 | -13031/+0 |
| | |||||
* | Upgrade to latest Rust. | Manish Goregaokar | 2014-06-27 | 7 | -11/+12 |
| | |||||
* | Rename |Profiler| as |TimeProfiler|. | Nicholas Nethercote | 2014-06-26 | 2 | -21/+21 |
| | | | | | And likewise for |ProfilerChan|, |profiler_chan|, and so on. This contrasts nicely with the newly added |MemoryProfiler|. | ||||
* | Suppress the compiler warning about raw_pointer_deriving in layout/context.rs. | Tetsuharu OHZEKI | 2014-06-25 | 1 | -0/+1 |
| | | | | | | | | | | This suppress the following compile warning: ``` compile: servo src/components/main/layout/context.rs:75:18: 75:26 warning: use of `#[deriving]` with a raw pointer, #[warn(raw_pointer_deriving)] on by default src/components/main/layout/context.rs:75 pub stylist: *Stylist, ^~~~~~~~ ``` | ||||
* | Remove box from image cache task. | Glenn Watson | 2014-06-23 | 3 | -4/+4 |
| | |||||
* | Remove LocalImageCacheHandle hack and associated unsafe code. | Glenn Watson | 2014-06-23 | 3 | -14/+10 |
| | |||||
* | Remove a dead assignment from set_width_constraint_solutions. | Ms2ger | 2014-06-22 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2682 from bjz/assorted-cleanups | Lars Bergstrom | 2014-06-21 | 2 | -84/+74 |
|\ | | | | | Assorted cleanups in gfx and layout | ||||
| * | Clean up skip_while iteration | Brendan Zabarauskas | 2014-06-20 | 1 | -3/+5 |
| | | |||||
| * | Use Option::expect instead of pattern matching in try_append_to_line_by_new_line | Brendan Zabarauskas | 2014-06-20 | 1 | -26/+23 |
| | | |||||
| * | Remove some unnecessary mutable references | Brendan Zabarauskas | 2014-06-20 | 1 | -3/+3 |
| | | |||||
| * | Make move mutation out of compute_minimum_ascent_and_descent | Brendan Zabarauskas | 2014-06-20 | 2 | -5/+6 |
| | | |||||
| * | Use iterators to make some logic clearer | Brendan Zabarauskas | 2014-06-20 | 1 | -49/+39 |
| | | |||||
* | | Separate "desktop" and "mobile" zoom calculations. | Matt Brubeck | 2014-06-20 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | This ensures that the layout viewport responds to each type of zoom correctly, and lays the ground for CSS Media Queries and CSS Device Adaption. Until we have proper touch support, mobile-style "pinch" zoom can be simulated by holding Ctrl while scrolling with a mousewheel or trackpad gesture. | ||||
* | | Add overflow to child layer size | Martin Robinson | 2014-06-17 | 1 | -12/+23 |
|/ | | | | | | | | | When creating child layers it is important to consider overflow when determining the size of the layer. This also means that overflow should not be too large, so also shrink block width down to the size of their contained fragment. This means that a block that has been explicitly sized to width:100px should be 100 pixels wide instead of the width of its containing block. | ||||
* | Use internal mutability for CharacterData::data. | Ms2ger | 2014-06-11 | 1 | -3/+3 |
| | |||||
* | Use internal mutability for HTMLIFrameElement. | Ms2ger | 2014-06-11 | 1 | -1/+1 |
| | |||||
* | auto merge of #2624 : mbrubeck/servo/units, r=pcwalton | bors-servo | 2014-06-09 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | This fixes an issue where the CSS viewport was too large on high-DPI displays because it was set to the window size in device pixels, instead of px. This patch ensures that the window size is converted from device pixels to px before being passed to script/layout code. The Window trait now exposes the window size in both device pixels and density-independent screen coordinates, with clearer method names. | ||||
| * | Outside of compositor, store window size in CSS px | Matt Brubeck | 2014-06-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | This fixes an issue where the CSS viewport was too large on high-DPI displays because it was set to the window size in device pixels, instead of px. This patch ensures that the window size is converted from device pixels to px before being passed to script/layout code. The Window trait now exposes the window size in both device pixels and density-independent screen coordinates, with clearer method names. | ||||
* | | Remove 'LayoutNode.pad' field. | Tetsuharu OHZEKI | 2014-06-09 | 2 | -14/+12 |
| | | |||||
* | | Fix type the type name. | Tetsuharu OHZEKI | 2014-06-09 | 1 | -1/+1 |
| | | |||||
* | | Remove PaddedUnsafeFlow. | Tetsuharu OHZEKI | 2014-06-09 | 3 | -55/+32 |
|/ | |||||
* | Use RefCell for mutability of Element::style_attribute. | Tetsuharu OHZEKI | 2014-06-08 | 1 | -2/+7 |
| | |||||
* | Add an issue number to a FIXME comment. | Ms2ger | 2014-06-06 | 1 | -1/+1 |
| | |||||
* | Fix and disable some compile warnings. | Ms2ger | 2014-06-06 | 1 | -0/+1 |
| | |||||
* | auto merge of #2589 : bjz/servo/cleanups, r=pcwalton | bors-servo | 2014-06-05 | 4 | -147/+28 |
|\ | | | | | | | | | | | @pcwalton r? Might conflict with the rust upgrade - I can rebase later. | ||||
| * | Use bitflags! for RestyleDamage | Brendan Zabarauskas | 2014-06-05 | 4 | -147/+28 |
| | | |||||
* | | Fix the vertical alignment error for img tag. | Junyoung Cho | 2014-06-05 | 1 | -1/+5 |
|/ | |||||
* | Upgrade Rust. | Jack Moffitt | 2014-06-05 | 22 | -123/+119 |
| | |||||
* | layout: Reference count flows, and forbid unsafe code in many places. | Patrick Walton | 2014-06-03 | 19 | -453/+484 |
| | |||||
* | auto merge of #2555 : brson/servo/warnings, r=metajack | bors-servo | 2014-06-02 | 1 | -2/+2 |
|\ | | | | | | | Depends on https://github.com/mozilla-servo/rust-fontconfig/pull/19, https://github.com/mozilla-servo/rust-harfbuzz/pull/21, https://github.com/mozilla-servo/rust-hubbub/pull/23, https://github.com/mozilla-servo/rust-layers/pull/68, https://github.com/mozilla-servo/sharegl/pull/29, https://github.com/mozilla-servo/rust-mozjs/pull/85. | ||||
| * | Eliminate some warnings | Brian Anderson | 2014-06-02 | 1 | -2/+2 |
| | | |||||
* | | Use destructuring to clean up InlineFragments::push_all | Brendan Zabarauskas | 2014-06-02 | 1 | -7/+3 |
| | | |||||
* | | Remove InlineFragmentMap | Brendan Zabarauskas | 2014-06-02 | 1 | -42/+24 |
| | | |||||
* | | Remove last methods from InlineFragmentMap | Brendan Zabarauskas | 2014-06-02 | 2 | -43/+40 |
| | | |||||
* | | Remove the need to destructure InlineFragments | Brendan Zabarauskas | 2014-06-02 | 3 | -226/+189 |
| | | | | | | | | We do this by moving InlineFragmentMap::fixup into InlineFragments | ||||
* | | Add documentation for Line::{bounds, green_zone} | Brendan Zabarauskas | 2014-06-02 | 1 | -14/+63 |
|/ | |||||
* | Use Cell/RefCell for interior mutability of Node. | Tetsuharu OHZEKI | 2014-05-30 | 1 | -7/+7 |
| | |||||
* | JS<T> contains '*T' instead of RefCell. | Tetsuharu OHZEKI | 2014-05-30 | 1 | -0/+8 |
| | |||||
* | Add the 'direction' property and fix one RTL layout corner case. | Simon Sapin | 2014-05-29 | 1 | -6/+16 |
| | |||||
* | Improve line index documentation | Brendan Zabarauskas | 2014-05-28 | 1 | -33/+41 |
| | |||||
* | Improve naming of structs in inline.rs | Brendan Zabarauskas | 2014-05-28 | 2 | -61/+61 |
| | |||||
* | Rename `box_.rs` to `fragment.rs` | Brendan Zabarauskas | 2014-05-28 | 13 | -14/+14 |
| | |||||
* | Rename functions, fields and adjust comments to use `fragment` instead of `box` | Brendan Zabarauskas | 2014-05-28 | 15 | -849/+847 |
| | | | | I tried to make sure to keep 'box' where it made sense, and alter comments so they still make sense. | ||||
* | Convert usages of `Box` in type identifiers to `Fragment` | Brendan Zabarauskas | 2014-05-28 | 13 | -369/+364 |
| | |||||
* | Prefix fragment types in inline.rs with `Inline` | Brendan Zabarauskas | 2014-05-28 | 1 | -28/+28 |
| | | | | This is to reduce confusion once we rename `servo::box_::Box` to `servo::fragment::Fragment`. | ||||
* | auto merge of #2478 : SimonSapin/servo/style-getters, r=metajack | bors-servo | 2014-05-28 | 15 | -116/+117 |
|\ | | | | | | | This isolates layout code from upcoming refactoring in properties.rs.mako. | ||||
| * | Remove CowArc and use the new Arc::make_unique() method instead. | Simon Sapin | 2014-05-23 | 1 | -5/+6 |
| | | |||||
| * | Make ComputedStyle fields private and add getters. | Simon Sapin | 2014-05-23 | 14 | -111/+111 |
| | | | | | | | | This isolates layout code from upcoming refactoring in properties.rs.mako. | ||||
* | | Formatting fixes | Brendan Zabarauskas | 2014-05-27 | 1 | -15/+14 |
| | |