Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Hoist the rest of css/matching.rs into style/. | Bobby Holley | 2016-01-04 | 1 | -381/+0 |
| | |||||
* | Remove the dependency of css/matching.rs on SharedLayoutContext. | Bobby Holley | 2016-01-04 | 1 | -21/+20 |
| | |||||
* | Remove the dependency of css/matching.rs on concrete RestyleDamage. | Bobby Holley | 2016-01-04 | 1 | -122/+72 |
| | | | | | We can make this easier by inlining helper method implementations in the traits themselves, which makes the code more compact as a nice side-effect. | ||||
* | Fix a bunch of clippy lints | Johannes Linke | 2016-01-02 | 1 | -15/+11 |
| | |||||
* | Hoist style-related context bits into style/. | Bobby Holley | 2015-12-29 | 1 | -339/+12 |
| | | | | | | | | 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. | ||||
* | Separate style+layout and layout-specific wrapper functionality. | Bobby Holley | 2015-12-29 | 1 | -93/+86 |
| | | | | | | | | | | | 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. | ||||
* | Add an is_text_node to LayoutNode, so that we don't need to implement ↵ | Bobby Holley | 2015-12-23 | 1 | -39/+35 |
| | | | | type_id for the style system. | ||||
* | Add pipeline information to CSS error reporting. | GauriGNaik | 2015-12-14 | 1 | -1/+1 |
| | |||||
* | Generalize css/matching.rs to operate on generic Layout*. | Bobby Holley | 2015-11-28 | 1 | -19/+26 |
| | |||||
* | Defined new trait ParseErrorReporter and added error_reporter member to ↵ | GauriGNaik | 2015-11-25 | 1 | -2/+5 |
| | | | | ParserContext | ||||
* | Update string_cache to 0.2. | Alan Jeffrey | 2015-11-25 | 1 | -8/+8 |
| | | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom. | ||||
* | Write animated values into the `ComputedValues` structures when | Patrick Walton | 2015-11-24 | 1 | -16/+58 |
| | | | | | | | | | | 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. | ||||
* | Rename Layout*Trait to Layout*. | Bobby Holley | 2015-11-18 | 1 | -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 Holley | 2015-11-18 | 1 | -15/+15 |
| | |||||
* | Hoist exported wrapper functionality into a family of traits. | Bobby Holley | 2015-11-18 | 1 | -1/+1 |
| | | | | | All the existing code still uses the concrete implementations, so this shouldn't impact the generated code at all. | ||||
* | Remove dead code from layout. | Ms2ger | 2015-11-18 | 1 | -7/+0 |
| | |||||
* | Wrap SharedLayoutContext::new_animations_sender in a Mutex. | Ms2ger | 2015-11-07 | 1 | -5/+5 |
| | |||||
* | Auto merge of #8299 - pcwalton:dont-reflow-on-hover, r=mbrubeck | bors-servo | 2015-11-04 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix several bugs causing the page to reflow on every mouse move event After all these changes are applied, Hacker News and GitHub only repaint and reflow nodes that actually have hover styles applied when the mouse moves over them. r? @mbrubeck cc @bholley <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8299) <!-- Reviewable:end --> | ||||
| * | layout: Store viewport and screen size separately. | Patrick Walton | 2015-11-03 | 1 | -2/+2 |
| | | | | | | | | | | Fixes a bug whereby all nodes would get unconditionally reflowed on every layout event if the page set a viewport. | ||||
* | | replace InheritTypes imports with inheritance imports | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
|/ | |||||
* | Remove the unused boolean in StyleSharingResult::CannotShare. | Ms2ger | 2015-10-19 | 1 | -7/+6 |
| | |||||
* | Define share_style_if_possible on LayoutElement. | Ms2ger | 2015-10-19 | 1 | -20/+16 |
| | |||||
* | Return the result from match_element rather than using an outparam. | Ms2ger | 2015-10-19 | 1 | -7/+7 |
| | |||||
* | Define match_node on LayoutElement as match_element. | Ms2ger | 2015-10-19 | 1 | -17/+20 |
| | |||||
* | Define share_style_with_candidate_if_possible on LayoutElement. | Ms2ger | 2015-10-19 | 1 | -4/+6 |
| | |||||
* | Improve code flow in share_style_if_possible. | Ms2ger | 2015-10-19 | 1 | -8/+9 |
| | |||||
* | Generate the TypeId enums in codegen | Anthony Ramine | 2015-10-14 | 1 | -2/+1 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -2/+2 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -3/+2 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Auto merge of #7523 - eefriedman:unnecessary-unsafe, r=SimonSapin | bors-servo | 2015-09-09 | 1 | -5/+4 |
|\ | | | | | | | | | | | | | | | | | | | Fix up some unnecessary uses of `unsafe`. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7523) <!-- Reviewable:end --> | ||||
| * | Fix up some unnecessary uses of `unsafe`. | Eli Friedman | 2015-09-02 | 1 | -5/+4 |
| | | |||||
* | | Fix match_refs and let_returns in layout, address review changes | Manish Goregaokar | 2015-09-04 | 1 | -5/+5 |
| | | |||||
* | | Remove needless returns | Manish Goregaokar | 2015-09-04 | 1 | -1/+1 |
| | | |||||
* | | Elide most 'a lifetimes | Manish Goregaokar | 2015-09-04 | 1 | -1/+1 |
|/ | |||||
* | Auto merge of #7499 - nerith:style, r=metajack | bors-servo | 2015-09-02 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | Improve style nit check for space after a comma Fixes #7345. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7499) <!-- Reviewable:end --> | ||||
| * | Fix reported test-tidy errors | Brandon Fairchild | 2015-09-01 | 1 | -2/+2 |
| | | | | | | | | | | This fixes lines that were reported to have missing space after a comma. | ||||
* | | Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01) | Simon Sapin | 2015-09-02 | 1 | -1/+1 |
|/ | |||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Fix existing syntactics nits. | Josh Matthews | 2015-08-16 | 1 | -1/+1 |
| | |||||
* | Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()` | João Oliveira | 2015-08-15 | 1 | -6/+6 |
| | | | | closes #7197 | ||||
* | replace .len() == 0 with is_empty() | João Oliveira | 2015-08-14 | 1 | -2/+2 |
| | | | | closes #7198 | ||||
* | layout: Tie transitions to the DOM node and finish them instantly when | Patrick Walton | 2015-08-01 | 1 | -9/+24 |
| | | | | | | | | | | new styles are set. Tying transitions to the DOM node avoids quadratic complexity when updating them. Finishing transitions instantly when styles are updated makes our behavior more correct. | ||||
* | Replace the StyledNode trait with inherent methods. | Ms2ger | 2015-07-27 | 2 | -57/+0 |
| | |||||
* | Remove unused StyledNode::has_style method. | Ms2ger | 2015-07-27 | 1 | -7/+0 |
| | |||||
* | Update rust-selectors | Simon Sapin | 2015-07-23 | 1 | -14/+10 |
| | | | | Update for https://github.com/servo/rust-selectors/pull/37 | ||||
* | Fix #6680 | Bogdan Cuza | 2015-07-22 | 1 | -4/+4 |
| | |||||
* | Use Ref::map to make ThreadSafeLayoutNode::style safe. | Ms2ger | 2015-07-17 | 1 | -10/+8 |
| | |||||
* | Update rust-selectors | Simon Sapin | 2015-06-26 | 1 | -34/+34 |
| | |||||
* | Replace OpaqueNodeMethods::from_{threadsafe_,}layout_node by opaque methods. | Ms2ger | 2015-06-24 | 1 | -3/+1 |
| | |||||
* | Replace the LayoutDataAccess trait by inherent methods. | Ms2ger | 2015-06-22 | 1 | -1/+1 |
| |