commit_hash stringlengths 40 40 | author stringlengths 1 57 | date timestamp[s]date 2010-07-26 04:45:09 2026-04-14 18:21:10 | message stringlengths 8 1.39M | diff stringlengths 68 51.2k | files_changed int64 1 136 | insertions int64 0 2.35k | deletions int64 0 1.9k |
|---|---|---|---|---|---|---|---|
218e23322d525f5d00ac04bc019b24feb7434061 | Cameron McCormack | 2017-06-13T10:52:11 | servo: Merge #17295 - style: Don't skip style attributes on NAC (from heycam:nac-style); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1372089.
Source-Repo: https://github.com/servo/servo
Source-Revision: 5a339128821cb16f169ff4d44f98ba562e86be20 | diff --git a/style/stylist.rs b/style/stylist.rs
index 1a2aa5909..41e47a226 100644
--- a/style/stylist.rs
+++ b/style/stylist.rs
@@ -1077,9 +1077,13 @@ impl Stylist {
CascadeLevel::AuthorNormal);
debug!("author normal: {:?}", context.relations);
... | 1 | 6 | 3 |
361876b0dd21b492a1702960cd3792385b7783a2 | Anthony Ramine | 2017-06-13T08:24:53 | servo: Merge #17291 - Function support for #[derive(ToCss)] and an Animatable fix (from servo:derive-all-the-things); r=<try>
Source-Repo: https://github.com/servo/servo
Source-Revision: 44eb8c8e4fbafa3dac18ae0464923c63e5fc929d | diff --git a/style/gecko/values.rs b/style/gecko/values.rs
index f2a92e1ec..041387dd5 100644
--- a/style/gecko/values.rs
+++ b/style/gecko/values.rs
@@ -401,7 +401,7 @@ impl CounterStyleOrNone {
use gecko_bindings::bindings::Gecko_SetCounterStyleToName as set_name;
use gecko_bindings::bindings::Gecko_... | 10 | 98 | 78 |
cb0b3e75a10531bcc10f7daa2dba243ea4cb3016 | Cameron McCormack | 2017-06-13T01:46:41 | servo: Merge #17285 - geckolib: Don't panic when attempting to restyle an element with newly applied XBL bindings (from heycam:newly-bound); r=bholley
From https://bugzilla.mozilla.org/show_bug.cgi?id=1370793.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8449eb4a6230d07faafc28a0d277b323e2da5e12 | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 12fdef2eb..c6e85dff3 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -2113,9 +2113,9 @@ extern "C" {
}
extern "C" {
pub fn Servo_StyleRule_GetSelectorTextAtIndex(rule:
- ... | 3 | 27 | 13 |
9c9fe3c1e7e3019f6207b94633b8a358c1505716 | Xidorn Quan | 2017-06-13T00:08:49 | servo: Merge #17286 - Set stylesheet url_data correctly for import rule (from upsuper:import-url-data); r=heycam
This is the servo side change of [bug 1331291](https://bugzilla.mozilla.org/show_bug.cgi?id=1331291).
Source-Repo: https://github.com/servo/servo
Source-Revision: abd5f3ed59ba95d4532b9a86f435c781fd75695f | diff --git a/script/dom/cssstyledeclaration.rs b/script/dom/cssstyledeclaration.rs
index ecf4b35e6..5def880aa 100644
--- a/script/dom/cssstyledeclaration.rs
+++ b/script/dom/cssstyledeclaration.rs
@@ -147,7 +147,7 @@ impl CSSStyleOwner {
match *self {
CSSStyleOwner::Element(ref el) => window_from_... | 8 | 16 | 14 |
bcfc1c5c061c3a0045317964d271f519d777ad29 | Bobby Holley | 2017-06-12T19:41:39 | servo: Merge #17281 - Pack bloom filter hashes better and save a word on Rule (from bholley:shrink_rule_again); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1371949
Source-Repo: https://github.com/servo/servo
Source-Revision: 75d6796cbd1274c3711472d1a8b728c3cf6ac70c | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 3d7b0676f..957eadb53 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -97,6 +97,7 @@ use std::convert::TryFrom;
use std::default::Default;
use std::fmt;
use std::rc::Rc;
+use style::applicable_declarations::ApplicableDeclarationBlock;
... | 14 | 244 | 93 |
0ba18e954b01a8e41ebe892a6dee530c90bb4a8c | Emilio Cobos Álvarez | 2017-06-12T18:37:47 | servo: Merge #17279 - style: Don't try to compute @viewport unnecessarily (from emilio:no-viewport); r=bholley
If the viewport rule is not enabled, there's just no point in computing it.
Bug: 1372058
Source-Repo: https://github.com/servo/servo
Source-Revision: dfffc726919c9f8f553ed02f825d20635dadbadb | diff --git a/style/stylesheets/rule_parser.rs b/style/stylesheets/rule_parser.rs
index f8f536b4a..dd39070c9 100644
--- a/style/stylesheets/rule_parser.rs
+++ b/style/stylesheets/rule_parser.rs
@@ -30,6 +30,7 @@ use stylesheets::keyframes_rule::parse_keyframe_list;
use stylesheets::loader::NoOpLoader;
use stylesheets:... | 3 | 38 | 19 |
f5181f35cf0ead80e23ff148666d87b0be0aa849 | Fernando Jiménez Moreno | 2017-06-12T12:46:11 | servo: Merge #17274 - stylo: Implement GetSpecificity for ServoStyleRule (from ferjm:bug1370501.specificity.stylo); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1370501
Source-Repo: https://github.com/servo/servo
Source-Revision: 3d2ba15cc5343b0f3ce857373c58bcdc1d3db305 | diff --git a/selectors/parser.rs b/selectors/parser.rs
index b485cae36..393070fff 100644
--- a/selectors/parser.rs
+++ b/selectors/parser.rs
@@ -201,23 +201,6 @@ impl<Impl: SelectorImpl> SelectorList<Impl> {
pub fn from_vec(v: Vec<Selector<Impl>>) -> Self {
SelectorList(v.into_iter().map(SelectorAndHashes... | 2 | 16 | 19 |
77fe6a5ce262d1d756abf76d231a3d41fb10af9c | Sadman Kazi | 2017-06-12T04:16:06 | servo: Merge #16477 - Pass URL to Browser::new(), delegate url checking logic to 3rd party (from sadmansk:url_param_browser); r=paulrouget
<!-- Please describe your changes on the following line: -->
1. Move the logic of computing the initial url from `opts.rs` to `/ports/servo/main.rs`
2. Add a `ServoUrl` argument to... | diff --git a/config/opts.rs b/config/opts.rs
index 2a51577b1..d01a5dae4 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -480,7 +480,7 @@ const DEFAULT_USER_AGENT: UserAgent = UserAgent::Desktop;
pub fn default_opts() -> Opts {
Opts {
is_running_problem_test: false,
- url: Some(ServoUrl::parse(... | 2 | 12 | 20 |
7752dc61778b03cec949325c23b3af0f5cd8f201 | Emilio Cobos Álvarez | 2017-06-11T17:31:00 | servo: Merge #17270 - stylo: Use bitfield accessors in string-cache (from emilio:bindgen-does-bitfields-sort-of); r=wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 03074f4b0e9908d80558efe519301f39aadc436e | diff --git a/style/gecko_string_cache/mod.rs b/style/gecko_string_cache/mod.rs
index 4973428f1..79c4ef021 100644
--- a/style/gecko_string_cache/mod.rs
+++ b/style/gecko_string_cache/mod.rs
@@ -148,11 +148,8 @@ impl WeakAtom {
/// Returns whether this atom is static.
#[inline]
pub fn is_static(&self) -> b... | 1 | 1 | 4 |
80648abce2722b328f5d5d09786f92cf9529f8c8 | Emilio Cobos Álvarez | 2017-06-11T16:31:48 | servo: Merge #17265 - style: Reduce some code duplication and ugliness when parsing identifiers (from emilio:macros-on-top-of-macros); r=wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 197afeee2d7ac54f330408708673805095a1399a | diff --git a/style/counter_style/mod.rs b/style/counter_style/mod.rs
index c5cc7a974..27d0c0295 100644
--- a/style/counter_style/mod.rs
+++ b/style/counter_style/mod.rs
@@ -295,8 +295,7 @@ pub enum System {
impl Parse for System {
fn parse<'i, 't>(_context: &ParserContext, input: &mut Parser<'i, 't>) -> Result<... | 12 | 104 | 134 |
27836cb1ba7559ad0ff51af5213f60d34f9eb522 | Nazım Can Altınova | 2017-06-10T19:25:59 | servo: Merge #17266 - stylo: Support :active and :hover quirk (from canaltinova:active_hover_quirk); r=bholley,emilio
Reviewed by bholley and emilo on the bugzilla bug.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 1ce504308..8211830e9 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -209,6 +209,7 @@ pub struct Document {
is_html_document: bool,
activity: Cell<DocumentActivity>,
url: DOMRefCell<ServoUrl>,
+ #[ignore_heap_size_o... | 16 | 233 | 73 |
c2a580e51efabeb8bdba75af9b2b57acca0036c5 | Manish Goregaokar | 2017-06-09T22:56:10 | servo: Merge #17262 - Update bindings for StyleImageLayerRepeat (from Manishearth:bindings); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1371354
Source-Repo: https://github.com/servo/servo
Source-Revision: ff17af064b672482e12d98ec474e2dc0013cb17f | diff --git a/style/gecko/generated/structs_debug.rs b/style/gecko/generated/structs_debug.rs
index 7d9332cdb..a0a630f02 100644
--- a/style/gecko/generated/structs_debug.rs
+++ b/style/gecko/generated/structs_debug.rs
@@ -258,13 +258,6 @@ pub mod root {
pub const NS_STYLE_IMAGELAYER_POSITION_BOTTOM: ::std::os::raw:... | 3 | 32 | 29 |
8523e6dbde5eb0b91e649eeb85e7ad496dac1e54 | Jeroen Kleijn | 2017-06-09T18:41:53 | servo: Merge #17258 - Reduce code duplication when adding a SessionHistoryChange (from jkl445:issue-17249); r=cbrewster
<!-- Please describe your changes on the following line: -->
Implemented add_pending_change method and refactored code to use this new method
---
<!-- Thank you for contributing to Servo! Please rep... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index ddc7cbd43..4a1598b0e 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -800,6 +800,12 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
}
}
+ fn add_pending_change(&mut self,... | 1 | 12 | 12 |
dab4a7aa3eda3731e2d84abed9b94022c291844f | Daisuke Akatsuka | 2017-06-09T17:01:35 | servo: Merge #17253 - Bug1368610 - stylo: implement primitive (bit, uXX) type of discrete animatable properties (from dadaa:bug1368610); r=hiikezoe,nox,emilio
<!-- Please describe your changes on the following line: -->
This PR is to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1368610
---
<!-- Thank you for cont... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 5b87bdc85..c03e64e31 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -680,6 +680,25 @@ impl Debug for ${style_struct.gecko_struct_name} {
%endif
</%def>
+<%def name="impl_simple_type_with_conversio... | 12 | 326 | 211 |
315cc2a77df1619ed78d9224f303d8de348db9d6 | Josh Matthews | 2017-06-09T14:51:33 | servo: Merge #17255 - Remove cssparser dependency from msg (from jdm:rmcssparser); r=metajack
This applies the change from #17111 once more since it was reverted by an incorrect rebase.
Source-Repo: https://github.com/servo/servo
Source-Revision: e46aa87b4c126ddd5857fe6a365710076ad427f8 | diff --git a/msg/Cargo.toml b/msg/Cargo.toml
index d1211efee..454715240 100644
--- a/msg/Cargo.toml
+++ b/msg/Cargo.toml
@@ -11,7 +11,6 @@ path = "lib.rs"
[dependencies]
bitflags = "0.7"
-cssparser = "0.13.3"
heapsize = "0.4"
heapsize_derive = "0.1"
serde = "0.9" | 1 | 0 | 1 |
798822b80fe7db28c1cd6457e60cee8ac28fcc17 | Anthony Ramine | 2017-06-09T12:00:45 | servo: Merge #17215 - Derive more ToCss impls (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 1555f0fc413415d5c8f7c5a5f3fec2eecfce640e | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 4a7f2814c..b97aeb4c1 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -2853,8 +2853,8 @@ impl ServoComputedValuesCursorUtility for ServoComputedValues {
fn get_cursor(&self, default_cursor: Cursor)... | 15 | 54 | 96 |
20b2edc491c885946f5b729cf87fed7eee3e47eb | Anthony Ramine | 2017-06-09T09:41:16 | servo: Merge #17149 - Update Rust nightly (from servo:rustup); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 9656341f43cc1bc415e07a0a0c919740280ad2ab | diff --git a/net/image_cache.rs b/net/image_cache.rs
index d0c31eb23..866925cf9 100644
--- a/net/image_cache.rs
+++ b/net/image_cache.rs
@@ -107,7 +107,7 @@ fn is_image_opaque(format: webrender_traits::ImageFormat, bytes: &[u8]) -> bool
fn premultiply(data: &mut [u8]) {
let length = data.len();
- for i in (0... | 5 | 8 | 15 |
1a1830e2b4e118ebdc301267374c3de577f1790e | Jeremy Chen | 2017-06-09T06:29:21 | servo: Merge #17251 - stylo: make {stop, flood}-opacity animatable (from chenpighead:stylo-stop-flood-opacity-animatable); r=hiro
This is just the servo part change. The test part will be landed in gecko directly.
Gecko bug: [Bug 1360133](https://bugzilla.mozilla.org/show_bug.cgi?id=1360133)
Source-Repo: https://git... | diff --git a/style/properties/longhand/svg.mako.rs b/style/properties/longhand/svg.mako.rs
index 9021121f3..03e2f557e 100644
--- a/style/properties/longhand/svg.mako.rs
+++ b/style/properties/longhand/svg.mako.rs
@@ -28,7 +28,7 @@ ${helpers.predefined_type(
${helpers.predefined_type("stop-opacity", "Opacity", "1.0",... | 1 | 2 | 2 |
8472006827808a709a93c87752305bab1c887734 | Boris Chiou | 2017-06-09T03:00:24 | servo: Merge #17223 - stylo: Make -moz-{tab-size, box-flex, image-region, outline-radius} animatable (from BorisChiou:stylo/animation/tab_size); r=hiro,Manishearth
Make -moz-tab-size, -moz-box-flex, -moz-image-region, and -moz-outline-radius animatable, so test_transitions_per_property.html doesn't get any exception o... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 0df0ee4bd..3905400ce 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -566,7 +566,7 @@ def set_gecko_property(ffi_name, expr):
% endif
</%def>
-<%def name="impl_corner_style_coord(ident, gecko_f... | 5 | 58 | 9 |
b3a349a3b2ecbfd67dd4fac35813812bb0276d50 | Connor Brewster | 2017-06-09T01:25:20 | servo: Merge #17248 - Fix parent climb hierarchy in send_frame_tree (from cbrewster:fix_the_chrome); r=asajeffrey
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate d... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index eb1bb4c94..ddc7cbd43 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -786,6 +786,7 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
top_level_id: TopLevelBrowsingContextId,... | 1 | 4 | 3 |
a7d728367b7ef6045257f32f292c1c80b3f99df4 | Manish Goregaokar | 2017-06-09T00:26:45 | servo: Merge #17247 - stylo: Make all attribute selectors respect case insensitivity (from Manishearth:stylo-insensitive-selectors); r=SimonSapin
r=simonsapin https://bugzilla.mozilla.org/show_bug.cgi?id=1364162
Source-Repo: https://github.com/servo/servo
Source-Revision: a6b3bf1517b8329e26c6b8dec84b294bf7d257be | diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs
index f7f5396dc..80f87eb85 100644
--- a/script/layout_wrapper.rs
+++ b/script/layout_wrapper.rs
@@ -399,11 +399,6 @@ impl<'le> TElement for ServoLayoutElement<'le> {
self.get_attr(namespace, attr).is_some()
}
- #[inline]
- fn attr_eq... | 5 | 26 | 29 |
1fed9b67238d325671ef9db98e548e662b11126f | Boris Zbarsky | 2017-06-08T22:25:10 | servo: Merge #17245 - Share styles for elements with eager pseudo-elements attached to them (from bzbarsky:share-pseudo-styles); r=emilio
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace... | diff --git a/style/data.rs b/style/data.rs
index 2833bde24..c66417f4a 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -294,6 +294,26 @@ impl EagerPseudoStyles {
},
}
}
+
+ /// Returns whether this EagerPseudoStyles has the same set of
+ /// pseudos as the given one.
+ pub fn has_sa... | 3 | 88 | 44 |
ad41c72965caa7f725a274bc5b36768891257b94 | Boris Zbarsky | 2017-06-08T21:26:30 | servo: Merge #17242 - Reduce the size of ApplicableDeclarationBlock (from bzbarsky:smaller-decl-block); r=bholley
The level is a u8, so on 64-bit it packs nicely after the u32 specificity.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `... | diff --git a/style/stylist.rs b/style/stylist.rs
index 0211f9b0e..6374737f1 100644
--- a/style/stylist.rs
+++ b/style/stylist.rs
@@ -1524,9 +1524,9 @@ impl Rule {
-> ApplicableDeclarationBlock {
ApplicableDeclarationBlock {
source: StyleSource::Style(sel... | 1 | 4 | 4 |
eb63b2f91a03289349b7f7a9807aeb079fe0149b | Brad Werth | 2017-06-08T20:23:14 | servo: Merge #17236 - Define Gecko CounterStyle and FontFaceRule clone functions (from bradwerth:cloneRulesBetter); r=heycam
<!-- Please describe your changes on the following line: -->
Defines and calls Gecko CounterStyle and FontFaceRule clone functions, protected by cfg directives to only apply in gecko builds.
--... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 46687e34b..a300dd8d3 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1420,6 +1420,10 @@ extern "C" {
pub fn Gecko_CSSFontFaceRule_Create(line: u32, column: u32)
-> *mut nsCSSFon... | 5 | 60 | 2 |
1bb0ca25be8e6861acb36fa956362c80079ac22d | Boris Zbarsky | 2017-06-08T19:22:38 | servo: Merge #17235 - Increase the size of the style sharing cache to 31 (from bzbarsky:bigger-sharing-cache); r=bholley
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with approp... | diff --git a/style/parallel.rs b/style/parallel.rs
index 859548d3c..0af6eed46 100644
--- a/style/parallel.rs
+++ b/style/parallel.rs
@@ -26,7 +26,6 @@ use context::TraversalStatistics;
use dom::{OpaqueNode, SendNode, TElement, TNode};
use rayon;
use scoped_tls::ScopedTLS;
-use sharing::STYLE_SHARING_CANDIDATE_CACHE_... | 3 | 36 | 20 |
5f4f2f667b22394442970f4dd69ceabcd853711c | Matt Brubeck | 2017-06-08T18:25:42 | servo: Merge #17234 - stylo: Make :-moz-locale-dir selector non-internal (from mbrubeck:dir); r=xidorn
https://bugzilla.mozilla.org/show_bug.cgi?id=1367310
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b707b3248b2a291139c110dfc37dc1886ba864a | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index b8c56a21b..12c1fa21d 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -117,7 +117,7 @@ macro_rules! apply_non_ts_list {
("lang", Lang, lang, _, _),
... | 1 | 1 | 1 |
2080536e806f7eb5e822b6c90b167fc00402e39a | Jeremy Chen | 2017-06-08T17:24:37 | servo: Merge #17227 - stylo: make fill-opacity animatable (from chenpighead:stylo-fill-opacity-animatable); r=boris
This is just the servo part change. The test part will be landed in gecko directly.
Gecko bug: [Bug 1369624](https://bugzilla.mozilla.org/show_bug.cgi?id=1369624)
Source-Repo: https://github.com/servo/... | diff --git a/style/properties/longhand/inherited_svg.mako.rs b/style/properties/longhand/inherited_svg.mako.rs
index 4c57a13f4..53affa725 100644
--- a/style/properties/longhand/inherited_svg.mako.rs
+++ b/style/properties/longhand/inherited_svg.mako.rs
@@ -40,7 +40,7 @@ ${helpers.predefined_type(
spec="https://www... | 1 | 1 | 1 |
72cea7278b3ba8870c26cb93882ec9e9a5bda021 | Boris Zbarsky | 2017-06-08T14:21:01 | servo: Merge #17225 - Fix revalidation selectors when pseudo-elements are involved (from bzbarsky:pseudo-sharing-fixage); r=emilio
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` w... | diff --git a/selectors/parser.rs b/selectors/parser.rs
index a00122a32..ac2693122 100644
--- a/selectors/parser.rs
+++ b/selectors/parser.rs
@@ -479,6 +479,9 @@ impl<'a, Impl: 'a + SelectorImpl> AncestorIter<'a, Impl> {
fn skip_until_ancestor(&mut self) {
loop {
while self.0.next().is_some() ... | 3 | 60 | 9 |
c28f5de1f3246e9824a8f2d824f2f93c781925ed | Nazım Can Altınova | 2017-06-08T10:37:44 | servo: Merge #17218 - Don't accept an extra token at the end of transform property (from canaltinova:transform-bug); r=emilio
The lack of `input.try` usage makes transform property to accept values like `rotate(70deg)foo`.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step ... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 0b358609a..03891fe3b 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -956,7 +956,7 @@ ${helpers.predefined_type("scroll-snap-coordinate",
let mut result = Vec::ne... | 1 | 1 | 1 |
10ef6b947a7ac7980716c73a8e30aa7e76f2f4c3 | Alan Jeffrey | 2017-06-08T04:57:10 | servo: Merge #17077 - Removed root browsing context from constellation (from asajeffrey:constellation-no-root-browsing-context); r=cbrewster
<!-- Please describe your changes on the following line: -->
Removed the special root browsing context from the constellation.
---
<!-- Thank you for contributing to Servo! Ple... | diff --git a/constellation/browsingcontext.rs b/constellation/browsingcontext.rs
index 42561d091..b4569c61b 100644
--- a/constellation/browsingcontext.rs
+++ b/constellation/browsingcontext.rs
@@ -96,6 +96,11 @@ impl BrowsingContext {
self.instant = entry.instant;
self.load_data = entry.load_data;
... | 5 | 181 | 153 |
d1268594b75d7693a212021327f8616c4dd5232c | Matt Brubeck | 2017-06-08T02:57:57 | servo: Merge #17192 - Parallel layout optimizations (from mbrubeck:layout); r=pcwalton
This takes some of the optimizations made to parallel styling in #16971 and applies them to parallel layout. Specifically:
* Reduce the chunk size, to increase chances for parallelism on trees with small fan-out.
* Reduce allocati... | diff --git a/layout/parallel.rs b/layout/parallel.rs
index ada231b81..713fdadcf 100644
--- a/layout/parallel.rs
+++ b/layout/parallel.rs
@@ -14,6 +14,7 @@ use flow_ref::FlowRef;
use profile_traits::time::{self, TimerMetadata, profile};
use rayon;
use servo_config::opts;
+use smallvec::SmallVec;
use std::mem;
use s... | 2 | 34 | 13 |
05c8afdf702047f8b16c624277b42741e8de661d | Anthony Ramine | 2017-06-08T00:31:17 | servo: Merge #17216 - Fix serialisation of computed circle() shapes (from nox:fix-computed-circle-serialisation); r=canaltinova
Source-Repo: https://github.com/servo/servo
Source-Revision: 1ea4a44fad4dfd6d7ca1152e06cf07b7e927951b | diff --git a/style/values/computed/basic_shape.rs b/style/values/computed/basic_shape.rs
index f46edcfae..2b3cebb86 100644
--- a/style/values/computed/basic_shape.rs
+++ b/style/values/computed/basic_shape.rs
@@ -41,7 +41,8 @@ impl ToCss for Circle {
dest.write_str("circle(")?;
self.radius.to_css(dest... | 1 | 2 | 1 |
9afe4e48969b67b1fb520ae8c6fcf9281387340e | Alan Jeffrey | 2017-06-07T22:36:36 | servo: Merge #17193 - Count number of braces on a line when checking spec links in test-tidy (from asajeffrey:test-tidy-brace-count); r=jdm
<!-- Please describe your changes on the following line: -->
Allow more than one brace per line when checking spec links in test-tidy.
We had problems caused by `if unsafe { ..... | diff --git a/script/dom/webglrenderingcontext.rs b/script/dom/webglrenderingcontext.rs
index 8267c5bf2..ce9b16a05 100644
--- a/script/dom/webglrenderingcontext.rs
+++ b/script/dom/webglrenderingcontext.rs
@@ -3368,6 +3368,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
self.tex_parameter(tar... | 1 | 4 | 0 |
573144ea9123d9d4b29063fb610d8d0d6f9549a1 | Boris Zbarsky | 2017-06-07T20:50:54 | servo: Merge #17214 - Back out https://github.com/servo/servo/pull/17198 for Gecko test failures (from bzbarsky:backout-style-sharing-increase); r=bustage
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is comp... | diff --git a/style/parallel.rs b/style/parallel.rs
index fe6bceb4d..859548d3c 100644
--- a/style/parallel.rs
+++ b/style/parallel.rs
@@ -37,11 +37,9 @@ use traversal::{DomTraversal, PerLevelTraversalData, PreTraverseToken};
///
/// Larger values will increase style sharing cache hits and general DOM locality
/// at ... | 2 | 6 | 10 |
204b66f991899aa0c1dc782e015f3b1ad7114bb0 | J. Ryan Stinnett | 2017-06-07T19:49:34 | servo: Merge #17212 - Stylo: Visited selectors for nested links (from jryans:visited-selectors); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1370358
Source-Repo: https://github.com/servo/servo
Source-Revision: 0934df77fdbddcb6ae1534e3c1a150272aea73b2 | diff --git a/script/dom/element.rs b/script/dom/element.rs
index f875986ed..c0d4b6b70 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -151,6 +151,12 @@ impl fmt::Debug for Element {
}
}
+impl fmt::Debug for Root<Element> {
+ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ (*... | 7 | 41 | 7 |
a6faa22f78734dce29002cf802f729a048ce655d | Manish Goregaokar | 2017-06-07T17:53:25 | servo: Merge #17211 - stylo: Prefill default font when a single generic is set (from Manishearth:stylo-single-generic); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1370734
Source-Repo: https://github.com/servo/servo
Source-Revision: eaefcbe55186b874b96c6dffc7e8dd2b6283634d | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 3eed899e5..f12de6938 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1346,6 +1346,12 @@ extern "C" {
pres_context:
... | 4 | 113 | 35 |
341eef9a5a4aee5a2bc37252103d73df531e1c34 | Fernando Jiménez Moreno | 2017-06-07T16:54:47 | servo: Merge #17210 - Bug 1367615 - Stylo: implement inIDOMUtils.getSelectorCount and inIDO… (from ferjm:bug1367615.inDOMUtils); r=emilio
…MUtils.getSelectorTextFromIndex
https://bugzilla.mozilla.org/show_bug.cgi?id=1367615
Source-Repo: https://github.com/servo/servo
Source-Revision: cb281af463e2f6a30f4f65db0dd614b0... | diff --git a/selectors/parser.rs b/selectors/parser.rs
index c613d741e..92ba8c176 100644
--- a/selectors/parser.rs
+++ b/selectors/parser.rs
@@ -167,6 +167,23 @@ impl<Impl: SelectorImpl> SelectorList<Impl> {
pub fn from_vec(v: Vec<Selector<Impl>>) -> Self {
SelectorList(v.into_iter().map(SelectorAndHashes... | 2 | 28 | 9 |
d0d44e15c0950b08bfcf814d1e77e832063367ea | Anthony Ramine | 2017-06-07T15:55:08 | servo: Merge #17209 - Introduce more generics and more deriving (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 738483742c32f6de680b13be31ffc552059b39b9 | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index fa2bac3f6..efefebcfe 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -3894,18 +3894,18 @@ fn static_assert() {
}
pub fn set_initial_letter(&mut self, v: longhands::initial_letter::computed_... | 20 | 153 | 323 |
8ac5023994d22d6b9207b0224b86dab32a2201d7 | Gregory Terzian | 2017-06-07T12:52:35 | servo: Merge #17068 - Separate waking the event loop, from communicating with Compositor (from gterzian:remove_compositorproxy); r=asajeffrey
<!-- Please describe your changes on the following line: -->
@paulrouget first step of #15934, Glutin only for now, please take a look...
If this makes sense, I will also upda... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 6510879c5..1baa297f1 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -103,7 +103,7 @@ pub struct IOCompositor<Window: WindowMethods> {
window: Rc<Window>,
/// The port on which we receive messages.
- port: ... | 7 | 70 | 48 |
a4d98f178aba3ebcd54d35e868816c9b047648eb | Boris Zbarsky | 2017-06-07T11:13:50 | servo: Merge #17198 - Increase the size of the style sharing cache to 31 (from bzbarsky:bigger-sharing-cache); r=bholley
Still a lot of guesswork here, but this does seem to get us better sharing. See
https://bugzilla.mozilla.org/show_bug.cgi?id=1369621 for some data.
<!-- Please describe your changes on the followi... | diff --git a/style/parallel.rs b/style/parallel.rs
index 859548d3c..fe6bceb4d 100644
--- a/style/parallel.rs
+++ b/style/parallel.rs
@@ -37,9 +37,11 @@ use traversal::{DomTraversal, PerLevelTraversalData, PreTraverseToken};
///
/// Larger values will increase style sharing cache hits and general DOM locality
/// at ... | 2 | 10 | 6 |
65ae29cf7ba3cb74323e6d9479188b6f3a60f90d | Benjamin Dahse | 2017-06-07T09:27:29 | servo: Merge #17189 - Add pref to force WebGL context creation failure (from bd339:iss17038); r=emilio
<!-- Please describe your changes on the following line: -->
Introduces the pref `webgl.testing.context_creation_error`, to force creation of a new WebGLRenderingContext to fail.
---
<!-- Thank you for contributing ... | diff --git a/script/dom/webglrenderingcontext.rs b/script/dom/webglrenderingcontext.rs
index eb1578d1b..8267c5bf2 100644
--- a/script/dom/webglrenderingcontext.rs
+++ b/script/dom/webglrenderingcontext.rs
@@ -51,6 +51,7 @@ use net_traits::image::base::PixelFormat;
use net_traits::image_cache::ImageResponse;
use offsc... | 1 | 5 | 0 |
7d8973952ef49f4aa04143adf4010b7213aba277 | Cameron McCormack | 2017-06-07T08:04:08 | servo: Merge #17204 - style: always re-cascade in native anonymous subtrees (from heycam:recascade-nac); r=emilio
From https://bugzilla.mozilla.org/show_bug.cgi?id=1345699.
Source-Repo: https://github.com/servo/servo
Source-Revision: 644773d492909e4450832954d21970271655e798 | diff --git a/style/traversal.rs b/style/traversal.rs
index 536ddf69f..484bce5fa 100644
--- a/style/traversal.rs
+++ b/style/traversal.rs
@@ -690,6 +690,12 @@ pub fn recalc_style_at<E, D>(traversal: &D,
ChildCascadeRequirement::CanSkipCascade => {}
};
+ // We must always cascade native ano... | 1 | 6 | 0 |
a0edbf5e186a06475643734c78817118fcca27d7 | Bobby Holley | 2017-06-07T05:42:42 | servo: Merge #17197 - Force the NonZero optimization for servo_arc and StrongRuleNode (from bholley:nonzero_arc); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1370711
Also addressing followup feedback from https://bugzilla.mozilla.org/show_bug.cgi?id=1370107
Source-Repo: https://github.com/servo/servo
... | diff --git a/selectors/parser.rs b/selectors/parser.rs
index a7f3d259f..c613d741e 100644
--- a/selectors/parser.rs
+++ b/selectors/parser.rs
@@ -62,7 +62,7 @@ macro_rules! with_all_bounds {
/// NB: We need Clone so that we can derive(Clone) on struct with that
/// are parameterized on SelectorImpl. Se... | 5 | 128 | 84 |
ca0a3e1c2221a7787c973e26adf4e3977a7a4f2b | Xidorn Quan | 2017-06-07T04:02:30 | servo: Merge #17199 - Make shadow values share more code (from upsuper:shadow); r=Manishearth
<!-- Please describe your changes on the following line: -->
Make `text-shadow` reuse `Shadow` type directly.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and re... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index c2dd009c7..c4a20d1ee 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -51,7 +51,6 @@ use style::computed_values::{background_attachment, background_clip, background_
use style::computed_values::{backgr... | 9 | 287 | 467 |
fe85afa4cdcd633d9771cd3b4f5883c34faf9a0d | Imanol Fernandez | 2017-06-06T20:29:05 | servo: Merge #17141 - Ged rid of libfontconfig in Android (from MortimerGoro:android_fonts); r=mbrubeck
Libfontconfig dependency is causing huge startup times in Android (20 seconds on each page load!). On other platforms fontconfig caches are already available or can be prebuilt on installation scripts, but this can'... | diff --git a/gfx/Cargo.toml b/gfx/Cargo.toml
index 0d6d34d26..06003773d 100644
--- a/gfx/Cargo.toml
+++ b/gfx/Cargo.toml
@@ -50,8 +50,13 @@ core-text = "4.0"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
freetype = "0.2"
+
+[target.'cfg(target_os = "linux")'.dependencies]
servo-fontc... | 5 | 496 | 10 |
aded401aef3d3556a8f697a0c4ae85d6ab65fd59 | Anthony Ramine | 2017-06-06T17:28:26 | servo: Merge #17186 - Use more generics and remove more code from mako files (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 80488c4494911257e62c98388b36d94d74f9d330 | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 218696727..3c8e359e4 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2232,23 +2232,16 @@ fn static_assert() {
}
% endfor
- pub fn set_scroll_snap_points_x(&mut self, v: longhands::scrol... | 9 | 159 | 164 |
1204a01c58b432b7889c685e078c218a237e5493 | Simon Sapin | 2017-06-06T15:13:39 | servo: Merge #17185 - Fix some "unused" warnings (from servo:unused); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 87005a0df33531995635728989c929572de429e7 | diff --git a/selectors/matching.rs b/selectors/matching.rs
index 3a2ddfd99..3c2694274 100644
--- a/selectors/matching.rs
+++ b/selectors/matching.rs
@@ -519,17 +519,6 @@ fn matches_simple_selector<E, F>(
where E: Element,
F: FnMut(&E, ElementSelectorFlags),
{
- macro_rules! relation_if {
- ($... | 1 | 0 | 11 |
83a30f900b130142bbc2e12c856bb2eee9ed0479 | Manish Goregaokar | 2017-06-06T07:12:51 | servo: Merge #17180 - stylo: Animate fill and stroke (from Manishearth:stylo-fill-stroke); r=birtles
r=birtles https://bugzilla.mozilla.org/show_bug.cgi?id=1369277
Source-Repo: https://github.com/servo/servo
Source-Revision: 2da8eb0342f6701b5365116b96113c83a1599b1f | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 3328e682f..218696727 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -461,6 +461,35 @@ fn color_to_nscolor_zero_currentcolor(color: Color) -> structs::nscolor {
);
}
}
+
+ ... | 3 | 101 | 2 |
e9fda702e72ca7ad0a74b15793abbf2f29e45f71 | Manish Goregaokar | 2017-06-06T06:19:31 | servo: Merge #17173 - Stop parsing @supports rules before Delimiter::Bang (from Manishearth:supports-fixes); r=upsuper
Fixes #15482
Shorthand parsing uses `parse_entirely`, so we have to ask it to stop before the `!important`.
An alternate fix is to not use `parse_entirely` there and ensuring that all callers of `Pr... | diff --git a/style/stylesheets/supports_rule.rs b/style/stylesheets/supports_rule.rs
index 2049bbce7..7d87f0f4a 100644
--- a/style/stylesheets/supports_rule.rs
+++ b/style/stylesheets/supports_rule.rs
@@ -4,7 +4,7 @@
//! [@supports rules](https://drafts.csswg.org/css-conditional-3/#at-supports)
-use cssparser::{pa... | 1 | 5 | 2 |
ebd79f218c444a5ec49a4eb2ad6c05c2aa571bc3 | Manish Goregaokar | 2017-06-06T04:17:57 | servo: Merge #17177 - Make SVGPaint generic (from Manishearth:generic-paint); r=upsuper
r=xidorn https://bugzilla.mozilla.org/show_bug.cgi?id=1369277
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b78a514f8de1975b8e683b5c9b9d7a0bf9f8227 | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index c041e23c0..3328e682f 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -416,7 +416,7 @@ fn color_to_nscolor_zero_currentcolor(color: Color) -> structs::nscolor {
<%def name="impl_svg_paint(ident, gecko_... | 4 | 148 | 178 |
486470650013f80730c7d4b9e090e0bb7041fb4e | Josh Matthews | 2017-06-06T01:18:30 | servo: Merge #17169 - Read 32kb from the network at a time (from servo:jdm-patch-2); r=SimonSapin
Now that https://github.com/servo/servo/pull/16989 has merged, this might actually work.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6fe0e30c169b54eb711ca1ee2dc1cdbf0ef83e82 | diff --git a/net/http_loader.rs b/net/http_loader.rs
index 90f0708c2..570144e43 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -53,7 +53,7 @@ use unicase::UniCase;
use uuid;
fn read_block<R: Read>(reader: &mut R) -> Result<Data, ()> {
- let mut buf = vec![0; 1024];
+ let mut buf = vec![0; 32768];... | 1 | 1 | 1 |
1b0257a6f80147df41a9222d9d52ceb004ee443a | Matt Brubeck | 2017-06-05T22:44:33 | servo: Merge #17174 - stylo: Make :dir argument a case-insensitive identifier (from mbrubeck:dir); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1367315
Source-Repo: https://github.com/servo/servo
Source-Revision: 9987cb159ffe374024c8adbd28bab1283c766624 | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index 524ecb2e6..b8c56a21b 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -14,14 +14,15 @@
* macro_rules! pseudo_class_macro{
* (bare: [$(($css:expr, $name:ident,... | 2 | 47 | 11 |
c2eb189728e5cb08c79d7c80375b0293cc50926a | Boris Zbarsky | 2017-06-05T21:36:35 | servo: Merge #17172 - Parent mismatch should not clear style sharing cache (from bzbarsky:cache-parent-level); r=emilio
We can have cousins in the cache whose parent doesn't match ours, and other
cousins whose parent does. When we encounter one of the former, that's not a
reason to stop lookin for the latter.
Fixes ... | diff --git a/style/bloom.rs b/style/bloom.rs
index 8ffe2d2a9..46df21261 100644
--- a/style/bloom.rs
+++ b/style/bloom.rs
@@ -122,6 +122,12 @@ impl<E: TElement> StyleBloom<E> {
self.elements.is_empty()
}
+ /// Returns the DOM depth of elements that can be correctly
+ /// matched against the bloom f... | 3 | 29 | 14 |
57ca612eef9c7442023294f3459eaa6699242dba | Anthony Ramine | 2017-06-05T20:38:01 | servo: Merge #17167 - Use generics for transition-timing-function 📈 (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 621c1a4f969ba5119fdd974932b5b82042891893 | diff --git a/style/animation.rs b/style/animation.rs
index 005d7948e..f77cc8bfa 100644
--- a/style/animation.rs
+++ b/style/animation.rs
@@ -16,14 +16,14 @@ use properties::animated_properties::{AnimatedProperty, TransitionProperty};
use properties::longhands::animation_direction::computed_value::single_value::T as An... | 8 | 300 | 412 |
0eb8edd7a9a60d710b192ee777c432ec72dce57c | Bastien Orivel | 2017-06-05T19:34:19 | servo: Merge #17104 - Bump euclid to 0.13 and heapsize to 0.4 (from Eijebong:bump_euclid_heapsize); r=emilio
This is necessary for the serde 1.0 update.
--
- [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 applica... | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index 9fa9113f6..111d92f43 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -13,7 +13,7 @@ path = "lib.rs"
azure = {git = "https://github.com/servo/rust-azure"}
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.13.7"
-euclid = "0.11"
+euclid = "0.1... | 23 | 38 | 37 |
ce283e75477f6642661f3d6898fb0734187f84b8 | Boris Zbarsky | 2017-06-05T18:05:00 | servo: Merge #17055 - Allow style sharing for elements with ids as long as the ID is not being used for styling (from bzbarsky:sharing-across-ids); r=emilio
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is co... | diff --git a/selectors/matching.rs b/selectors/matching.rs
index 07050d8c9..444d24a7d 100644
--- a/selectors/matching.rs
+++ b/selectors/matching.rs
@@ -21,13 +21,11 @@ bitflags! {
/// This is used to implement efficient sharing.
#[derive(Default)]
pub flags StyleRelations: usize {
- /// Whether t... | 8 | 225 | 43 |
99d4c765e364619af6f087cb279ec7ff417a8cb1 | Paul Rouget | 2017-06-05T12:24:38 | servo: Merge #17164 - Remove no-op got_load_complete_message compositor property (from paulrouget:kill_got_load_complete_message); r=jdm
Removing no-op code.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `.... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 8597ef783..6510879c5 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -157,11 +157,6 @@ pub struct IOCompositor<Window: WindowMethods> {
/// The time of the last zoom action has started.
zoom_time: f64,
- //... | 1 | 0 | 9 |
d7f69c3b0b83328ccbf2f97e9782668bfbc1519e | Brian Birtles | 2017-06-05T04:41:06 | servo: Merge #17162 - Support additive SMIL animation (from birtles:additive-smil); r=hiro
These are the Servo-side changes for [Bug 1355349](https://bugzilla.mozilla.org/show_bug.cgi?id=1355349). They have been reviewed by @hiikezoe.
Source-Repo: https://github.com/servo/servo
Source-Revision: d767e6046b5d970bc94818... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index f08d4b50f..22bbad24f 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -2185,6 +2185,22 @@ extern "C" {
RawServoAnimationValueBorrowed)
... | 2 | 125 | 1 |
26171eff84caeefb45216d5dfbd0537ae2b78801 | Xidorn Quan | 2017-06-05T02:34:05 | servo: Merge #17157 - Remove some redundant animation interpolation code (from upsuper:animation-type); r=<try>
Source-Repo: https://github.com/servo/servo
Source-Revision: 67eaae82ed59fffbcda3c4c98c949537a232f5c9 | diff --git a/style/properties/helpers/animated_properties.mako.rs b/style/properties/helpers/animated_properties.mako.rs
index b61e55548..5c1b86f85 100644
--- a/style/properties/helpers/animated_properties.mako.rs
+++ b/style/properties/helpers/animated_properties.mako.rs
@@ -294,9 +294,14 @@ impl<'a> From<TransitionPr... | 1 | 53 | 138 |
4f2920247b86c3382e595ca14356baaf39713240 | Kenan Rhoton | 2017-06-04T20:29:24 | servo: Merge #17142 - Move LRUCache to ArrayDeque crate (from kenan-rhoton:LRUCacheArrayVecDeque); r=emilio
We move LRUCache from using VecDeque to ArrayDeque to avoid using heap allocations.
This relies on the fix in goandylok/arraydeque#4.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by ... | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 54f292655..311a3e30a 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -32,6 +32,7 @@ gecko_debug = ["nsstring_vendor/gecko_debug"]
[dependencies]
app_units = "0.4.1"
arrayvec = "0.3.20"
+arraydeque = "0.2.3"
atomic_refcell = "0.1"
bitflags = "0.7"
bit-... | 4 | 20 | 20 |
dd806e1ee70a30b6ed79539de73398ca105857d3 | Anthony Ramine | 2017-06-04T17:02:28 | servo: Merge #17152 - Derive the most trivial ToCss implementations 🌋 (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 942fce3a0bcc307caabecec42bc65265fbee6688 | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index f815dc6cc..c7031be3e 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -1074,8 +1074,6 @@
predefined_type=length_type,
logical=logical,
... | 18 | 113 | 263 |
289ed5bcf7afd1852fc3f69795817bc26734c622 | Manish Goregaokar | 2017-06-04T15:56:26 | servo: Merge #17153 - stylo: disable @viewport (from Manishearth:stylo-vp-disable); r=emilio
Firefox doesn't support @viewport, we shouldn't either.
r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1347410
Source-Repo: https://github.com/servo/servo
Source-Revision: 7176e3ae9e399c413eed0559c68c0ba1945040bb | diff --git a/style/stylesheets.rs b/style/stylesheets.rs
index 23dad0d1c..7196bd350 100644
--- a/style/stylesheets.rs
+++ b/style/stylesheets.rs
@@ -1759,7 +1759,7 @@ fn is_viewport_enabled() -> bool {
#[cfg(not(feature = "servo"))]
fn is_viewport_enabled() -> bool {
- true
+ false // Gecko doesn't support @v... | 1 | 1 | 1 |
d5dff79bd19eb29016b7099f7ec75af115a5e866 | Cameron McCormack | 2017-06-04T02:04:45 | servo: Merge #17151 - style: Recascade the document when rem units are used and the root font-size changes (from heycam:rem-recascade); r=emilio
<!-- Please describe your changes on the following line: -->
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1367592.
---
<!-- Thank you for contributing to Servo!... | diff --git a/style/data.rs b/style/data.rs
index 5d56ace24..2833bde24 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -9,7 +9,7 @@ use context::SharedStyleContext;
use dom::TElement;
use properties::{AnimationRules, ComputedValues, PropertyDeclarationBlock};
use properties::longhands::display::computed_value as di... | 6 | 76 | 21 |
ec7fbf16de65194dda847c27ca94471cb59d9e17 | Emilio Cobos Álvarez | 2017-06-03T15:11:23 | servo: Merge #17147 - Bug 1357461 - stylo: Cache media query results and only flush and restyle if they changed (from emilio:media-query-caching); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 7b61d5542194c4a9affced7fd408cfe3af5ddb23 | diff --git a/style/gecko/data.rs b/style/gecko/data.rs
index 6a4b1f8c8..3ca07ff8a 100644
--- a/style/gecko/data.rs
+++ b/style/gecko/data.rs
@@ -9,7 +9,6 @@ use atomic_refcell::{AtomicRef, AtomicRefCell, AtomicRefMut};
use dom::TElement;
use fnv::FnvHashMap;
use gecko::rules::{CounterStyleRule, FontFaceRule};
-use g... | 8 | 530 | 390 |
ec17277db456fa8a2763f55924ad2a2fa070c69b | Anthony Ramine | 2017-06-03T12:37:17 | servo: Revert "Update Rust nightly to 1.19.0-nightly (6165203c4 2017-06-03)"
This reverts commit f081380dc03dba9664877df2829097f32c40694a.
Source-Repo: https://github.com/servo/servo
Source-Revision: 56c961af5ab47cb314655e5e5cfaecdf1ddcff21 | diff --git a/net/image_cache.rs b/net/image_cache.rs
index ebf31d2f5..b8467e5a4 100644
--- a/net/image_cache.rs
+++ b/net/image_cache.rs
@@ -99,7 +99,7 @@ fn is_image_opaque(format: webrender_traits::ImageFormat, bytes: &[u8]) -> bool
fn premultiply(data: &mut [u8]) {
let length = data.len();
- for i in Iter... | 5 | 15 | 8 |
778af8b7c0b264bb9a965fdc3680e3b3ee3e3074 | Anthony Ramine | 2017-06-03T11:27:19 | servo: Update Rust nightly to 1.19.0-nightly (6165203c4 2017-06-03)
Source-Repo: https://github.com/servo/servo
Source-Revision: f081380dc03dba9664877df2829097f32c40694a | diff --git a/net/image_cache.rs b/net/image_cache.rs
index b8467e5a4..ebf31d2f5 100644
--- a/net/image_cache.rs
+++ b/net/image_cache.rs
@@ -99,7 +99,7 @@ fn is_image_opaque(format: webrender_traits::ImageFormat, bytes: &[u8]) -> bool
fn premultiply(data: &mut [u8]) {
let length = data.len();
- for i in (0..... | 5 | 8 | 15 |
a4d324e5540fb76e9431949f572fcfb939a620d2 | Manish Goregaokar | 2017-06-03T00:46:35 | servo: Merge #17145 - Bump cssparser (from Manishearth:bump); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 985050d3645382d5c2cc6bd6819ab05f9b843331 | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index fc88108f5..9fa9113f6 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -12,7 +12,7 @@ path = "lib.rs"
[dependencies]
azure = {git = "https://github.com/servo/rust-azure"}
canvas_traits = {path = "../canvas_traits"}
-cssparser = "0.13.3"
+cssparser = "0... | 8 | 8 | 8 |
7999569af66728c8cb79bc4b46725a1c2fcb3eb9 | Nikhil Shagrithaya | 2017-06-02T21:49:21 | servo: Merge #15354 - Redirect document loads manually (from cynicaldevil:manual-redirect); r=jdm
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `... | diff --git a/constellation/Cargo.toml b/constellation/Cargo.toml
index cbc2e1f90..4894bb403 100644
--- a/constellation/Cargo.toml
+++ b/constellation/Cargo.toml
@@ -21,6 +21,7 @@ devtools_traits = {path = "../devtools_traits"}
euclid = "0.11"
gfx = {path = "../gfx"}
gfx_traits = {path = "../gfx_traits"}
+hyper = "0.... | 14 | 339 | 52 |
9f84e5b2044e11b79b5e91d54e9c82e962dcaf07 | J. Ryan Stinnett | 2017-06-02T20:08:04 | servo: Merge #17144 - Stylo: Support link preshints on <body> (from jryans:link-pres-hints); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1367923
Source-Repo: https://github.com/servo/servo
Source-Revision: 54448305de3048f23004de0d9ee84efd25af8a79 | diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs
index 0b230e608..e915a2d07 100644
--- a/script/layout_wrapper.rs
+++ b/script/layout_wrapper.rs
@@ -51,7 +51,7 @@ use script_layout_interface::{OpaqueStyleAndLayoutData, StyleData};
use script_layout_interface::wrapper_traits::{DangerousThreadSafeLayoutN... | 8 | 114 | 58 |
ebf0d4b865ce7450e21b21cfb0cc97483af42466 | Emilio Cobos Álvarez | 2017-06-02T12:38:48 | servo: Merge #17139 - style: Simplify a bit the parsing code (from emilio:parsing-simplify); r=nox
I plan to simplify it further, but this is worth landing on its own.
Source-Repo: https://github.com/servo/servo
Source-Revision: fa158a78b6f976156a93bcccae3fdd27046faf50 | diff --git a/style/parser.rs b/style/parser.rs
index cad388651..162c690c8 100644
--- a/style/parser.rs
+++ b/style/parser.rs
@@ -7,7 +7,6 @@
use context::QuirksMode;
use cssparser::{Parser, SourcePosition, UnicodeRange};
use error_reporting::ParseErrorReporter;
-use parking_lot::RwLock;
use style_traits::OneOrMoreC... | 3 | 247 | 169 |
3d39defeb9d38f57c2dca97e3910db71f794f4c3 | Emilio Cobos Álvarez | 2017-06-02T10:04:26 | servo: Merge #17138 - Bug 1369198: Ensure pushing a declaration to a declaration block for parsing always inserts it at the last position (from emilio:parsing-decl-block); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: fab1a6354f103bb264941fff2619bca931e48a40 | diff --git a/style/properties/declaration_block.rs b/style/properties/declaration_block.rs
index 32b18a3d3..7a349db0f 100644
--- a/style/properties/declaration_block.rs
+++ b/style/properties/declaration_block.rs
@@ -257,22 +257,30 @@ impl PropertyDeclarationBlock {
}
/// Adds or overrides the declaration f... | 1 | 60 | 15 |
31b74699e142c1e9909021c422b34d77fbcb2212 | Manish Goregaokar | 2017-06-01T22:34:55 | servo: Merge #17130 - stylo: Handle attr() in `content` (from Manishearth:stylo-attr); r=heycam,emilio
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1346693
Source-Repo: https://github.com/servo/servo
Source-Revision: 373d3b91ddc3560a7de131bd5ca0f5f8030f1d7e | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index a9c5fe2bd..ca5309e0c 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1399,6 +1399,9 @@ extern "C" {
pub fn Gecko_AddPropertyToSet(arg1: nsCSSPropertyIDSetBorrowedMut,
... | 8 | 184 | 73 |
c381d8f23a7242be4da4d1b1334b65b83e6ca90d | Jeff Hajewski | 2017-06-01T21:04:41 | servo: Merge #17121 - stylo: Fix serialization of system fonts (from Manishearth:stylo-system-font-ser); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: cfdb6af53b065d92fae028e48bf5e6c2c180dc56 | diff --git a/style/gecko/generated/structs_debug.rs b/style/gecko/generated/structs_debug.rs
index 8c743d31a..a35c6a7d3 100644
--- a/style/gecko/generated/structs_debug.rs
+++ b/style/gecko/generated/structs_debug.rs
@@ -715,12 +715,6 @@ pub mod root {
pub const NS_STYLE_VISIBILITY_VISIBLE: ::std::os::raw::c_uint ... | 6 | 100 | 39 |
eef881b0f14b6d3ce6f31571732384f9c850dc4c | Emilio Cobos Álvarez | 2017-06-01T19:13:43 | servo: Merge #17128 - stylo: Basic support for first-line/letter dynamic changes (from emilio:first-line-letter); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 17e69af0c9323927f724ff412867b24a0364efa1 | diff --git a/style/data.rs b/style/data.rs
index 2cf5bd56e..5d56ace24 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -4,6 +4,7 @@
//! Per-node data used in style calculation.
+use arrayvec::ArrayVec;
use context::SharedStyleContext;
use dom::TElement;
use properties::{AnimationRules, ComputedValues, Property... | 5 | 29 | 6 |
7a0e43f56a6884fd30c1ceda5fd47ac242f5ecd5 | est31 | 2017-06-01T17:07:16 | servo: Merge #17067 - Bring back clipboard support (from est31:master); r=jdm
Brings back clipboard support.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17065
- [x] These changes fix #12805
<!-- Either: -->
- [ ] There are tests ... | diff --git a/constellation/Cargo.toml b/constellation/Cargo.toml
index e6b8bfebe..cbc2e1f90 100644
--- a/constellation/Cargo.toml
+++ b/constellation/Cargo.toml
@@ -13,6 +13,7 @@ path = "lib.rs"
backtrace = "0.3"
bluetooth_traits = { path = "../bluetooth_traits" }
canvas = {path = "../canvas"}
+clipboard = "0.3"
ca... | 4 | 37 | 5 |
a9d67ce5d04e6ccb2e6046caac558698bc6ec616 | Gregory Terzian | 2017-06-01T04:47:33 | servo: Merge #17120 - fix double borrowing of image request (from gterzian:fix_double_borrowing_of_image_request); r=jdm
<!-- Please describe your changes on the following line: -->
@jdm I couldn't reproduce the crashes, but looking at the code, I can tell that if we hit the cache inside `fetch_image`, we go straight... | diff --git a/script/dom/htmlimageelement.rs b/script/dom/htmlimageelement.rs
index e1de326d3..e1209021d 100644
--- a/script/dom/htmlimageelement.rs
+++ b/script/dom/htmlimageelement.rs
@@ -524,22 +524,20 @@ impl HTMLImageElement {
}
self.image_request.set(ImageRequestPh... | 1 | 1 | 3 |
ad7c58dbc2d037e1b09e6bcdc000e2abac44bfca | Xidorn Quan | 2017-06-01T02:28:12 | servo: Merge #17118 - Remove unicode-bidi/with_serde feature from style deps (from upsuper:unicode-bidi-serde); r=heycam
It seems removing this feature from here would unbust stylo build on Gecko side, and style crate doesn't need it anyway, and for Servo, other crates would bring this feature back, so it shouldn't br... | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 9932af21b..219054b4e 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -67,7 +67,7 @@ style_derive = {path = "../style_derive"}
style_traits = {path = "../style_traits"}
servo_url = {path = "../url", optional = true}
time = "0.1"
-unicode-bidi = {version =... | 1 | 1 | 1 |
abb01ae5752a9acf6ac072a370835f50d753cf33 | Josh Matthews | 2017-06-01T01:06:28 | servo: Merge #17111 - Remove cssparser dependency from msg (from servo:jdm-patch-1); r=mbrubeck
This removes a bunch of unnecessary rebuilds when modifying rust-cssparser.
Source-Repo: https://github.com/servo/servo
Source-Revision: 04d84a26247b04457f21ac017e956b4709556545 | diff --git a/msg/Cargo.toml b/msg/Cargo.toml
index 16c11ccf7..ceeaa962d 100644
--- a/msg/Cargo.toml
+++ b/msg/Cargo.toml
@@ -11,7 +11,6 @@ path = "lib.rs"
[dependencies]
bitflags = "0.7"
-cssparser = "0.13.3"
heapsize = "0.3.0"
heapsize_derive = "0.1"
serde = "0.9" | 1 | 0 | 1 |
b2540e0d9134eeda135420a78606d7a8758f0f04 | Cameron McCormack | 2017-05-31T20:20:22 | servo: Merge #17105 - Update rayon to 0.7.1 (from heycam:rayonup); r=nox
To take advantage of nikomatsakis/rayon#348.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropri... | diff --git a/layout/Cargo.toml b/layout/Cargo.toml
index 91cb4c684..f5780ac86 100644
--- a/layout/Cargo.toml
+++ b/layout/Cargo.toml
@@ -30,7 +30,7 @@ ordered-float = "0.4"
parking_lot = "0.3.3"
profile_traits = {path = "../profile_traits"}
range = {path = "../range"}
-rayon = "0.7"
+rayon = "0.7.1"
script_layout_i... | 3 | 3 | 3 |
5a9f2b9349a8f5cdb3dd4cc8b83b09661470ff7f | Fernando Jiménez Moreno | 2017-05-31T17:03:50 | servo: Merge #17093 - Stylo - Bug 1365674: Simulate compute value failure for tests (from ferjm:bug1365674.simulate.compute.value.failure); r=hiikezoe
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
https://bugzilla.mozilla.org/show_bug.cgi?id=1365674
Source-Rep... | diff --git a/style/gecko/generated/structs_debug.rs b/style/gecko/generated/structs_debug.rs
index 64501652f..8c743d31a 100644
--- a/style/gecko/generated/structs_debug.rs
+++ b/style/gecko/generated/structs_debug.rs
@@ -9306,10 +9306,11 @@ pub mod root {
pub mProperty: root::nsCSSPropertyID,
... | 1 | 9 | 1 |
2f84c62f37f13872cd6521aded4e0fbaed94b033 | Anthony Ramine | 2017-05-31T16:08:56 | servo: Merge #17095 - Refactor a few CSS properties (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: cd22fc6b902496d105f8003beaee5c8eb79e9669 | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 15009d0b8..cdb05d3a5 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -403,34 +403,16 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
pub use sup... | 9 | 267 | 261 |
24722cb927ab0e379eeac774a47ce98fe899e207 | Bobby Holley | 2017-05-31T15:07:53 | servo: Merge #17110 - Improve Style Sharing (from bholley:better_style_sharing); r=emilio
Reviewed in:
https://bugzilla.mozilla.org/show_bug.cgi?id=1368665
https://bugzilla.mozilla.org/show_bug.cgi?id=1368399
Source-Repo: https://github.com/servo/servo
Source-Revision: 1b9cc2de3418f6dbe27102d02ac4d4fadb6cc643 | diff --git a/selectors/matching.rs b/selectors/matching.rs
index 521bcb3b8..07050d8c9 100644
--- a/selectors/matching.rs
+++ b/selectors/matching.rs
@@ -23,14 +23,11 @@ bitflags! {
pub flags StyleRelations: usize {
/// Whether this element is affected by an ID selector.
const AFFECTED_BY_ID_SELEC... | 5 | 47 | 48 |
0e20d3b1d26e71c6fe49c34704d6b2d01cd0a505 | Xidorn Quan | 2017-05-30T17:32:08 | servo: Merge #17090 - Upgrade bindgen to 0.25.3 (from upsuper:upgrade-bindgen); r=nox
This fixes #17070.
Source-Repo: https://github.com/servo/servo
Source-Revision: dd0813b3f2dfe39963d4e82a241aca8ec19f099c | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 100c4de46..971e03bd6 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -76,7 +76,7 @@ kernel32-sys = "0.2"
[build-dependencies]
lazy_static = "0.2"
log = "0.3"
-bindgen = { version = "0.25.1", optional = true }
+bindgen = { version = "0.25.3", optional = t... | 1 | 1 | 1 |
4ce4b8dc1837b16f5873d53fb0a99daa3704b3e0 | Eloy Coto | 2017-05-30T16:28:26 | servo: Merge #16317 - Fix #6799: set stacking_context_position correctly on fragment_border_iterator (from eloycoto:issue6799); r=emilio
Hey,
First of all, this is my first PR to Servo project and I'm learning Rust, so sorry if you see something that it's not correct. I did that as best as I know.
This PR fix the is... | diff --git a/layout/block.rs b/layout/block.rs
index adeb04730..9cd697809 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -31,7 +31,7 @@ use app_units::{Au, MAX_AU};
use context::LayoutContext;
use display_list_builder::{BorderPaintingMode, DisplayListBuildState};
use display_list_builder::BlockFlowDisplayList... | 3 | 50 | 32 |
1c87896f663590132b118bc686e5ce688c63b87b | Gregory Terzian | 2017-05-30T15:27:08 | servo: Merge #16238 - Implement "update the image data" (from gterzian:implement_update_the_image_data); r=jdm
<!-- Please describe your changes on the following line: -->
Spec compliant implementation of the [update the image data algorithm](https://html.spec.whatwg.org/multipage/embedded-content.html#update-the-imag... | diff --git a/script/dom/htmlimageelement.rs b/script/dom/htmlimageelement.rs
index e38b615f9..e1de326d3 100644
--- a/script/dom/htmlimageelement.rs
+++ b/script/dom/htmlimageelement.rs
@@ -22,7 +22,7 @@ use dom::bindings::str::DOMString;
use dom::document::Document;
use dom::element::{AttributeMutation, Element, RawL... | 2 | 390 | 99 |
cf9bd80e39a6bf884649cc6c00dbcf1dd8d96e28 | Josh Matthews | 2017-05-30T13:54:49 | servo: Merge #17080 - Update rustc (from jdm:updaterust); r=nox
This brings in https://github.com/rust-lang/rust/issues/39160 which significantly improves the default debugging experience on macOS.
Source-Repo: https://github.com/servo/servo
Source-Revision: ad4a5411a9620cee5cd93d5fe1a3dbad02cc0812 | diff --git a/profile/mem.rs b/profile/mem.rs
index 5fed98354..6046d8414 100644
--- a/profile/mem.rs
+++ b/profile/mem.rs
@@ -505,11 +505,6 @@ mod system_reporter {
None
}
- // Like std::macros::try!, but for Option<>.
- macro_rules! option_try(
- ($e:expr) => (match $e { Some(e) => e, None ... | 1 | 5 | 5 |
a8122d057fffb7820a519ca803b84fb6aa94137d | Emilio Cobos Álvarez | 2017-05-30T12:28:06 | servo: Merge #17063 - style: Allow sharing styles across elements with presentational hints (from emilio:pres-hints-sharing); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 38a6a3bff6f6e0e35eb592891d5e70e7cb897b69 | diff --git a/layout/animation.rs b/layout/animation.rs
index a05492719..5d7a1a87a 100644
--- a/layout/animation.rs
+++ b/layout/animation.rs
@@ -6,13 +6,13 @@
use context::LayoutContext;
use flow::{self, Flow};
+use fnv::FnvHashMap;
use gfx::display_list::OpaqueNode;
use ipc_channel::ipc::IpcSender;
use msg::con... | 9 | 318 | 182 |
09b9567a4d21ba526a6fe074f7eece20feaac093 | Anthony Ramine | 2017-05-30T10:11:28 | servo: Merge #17071 - Reuse Rect<T> some more (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 433d68955b276266d620f788ad509678edc35071 | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index b0549cde2..4ecbbd98c 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -1424,10 +1424,10 @@ impl FragmentDisplayListBuilding for Fragment {
details: BorderDetails::Image(Imag... | 21 | 260 | 292 |
0b48d8aa2ca07b365ea764876e1519d8769b796c | Simon Sapin | 2017-05-30T08:50:18 | servo: Merge #17061 - EventSource: decode UTF-8 code points across network packets (from servo:utf8); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 25d0c561413a42fd375ea04d891855581fdf5168 | diff --git a/devtools/Cargo.toml b/devtools/Cargo.toml
index 9b5a2164b..067d77504 100644
--- a/devtools/Cargo.toml
+++ b/devtools/Cargo.toml
@@ -11,7 +11,6 @@ path = "lib.rs"
[dependencies]
devtools_traits = {path = "../devtools_traits"}
-encoding = "0.2"
hyper = "0.10"
hyper_serde = "0.6"
ipc-channel = "0.7"
di... | 9 | 47 | 26 |
eef79b78e6dfe8d9d0185d74de892d65ef14f3c3 | Hiroyuki Ikezoe | 2017-05-30T06:47:44 | servo: Merge #17089 - Support currentColor for fill and stroke (from hiikezoe:current-color-for-fill-and-stroke); r=xidorn.
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1368376
---
<!-- Thank you for contributing to Servo! Please replace ea... | diff --git a/style/values/specified/mod.rs b/style/values/specified/mod.rs
index 084486b4d..bf8033ed7 100644
--- a/style/values/specified/mod.rs
+++ b/style/values/specified/mod.rs
@@ -1177,7 +1177,11 @@ impl ToComputedValue for SVGPaintKind {
SVGPaintKind::ContextStroke => super::computed::SVGPaintKind::C... | 1 | 5 | 1 |
d7d30dee0a08ac4280e32cbd52157326781a9992 | Cameron McCormack | 2017-05-30T01:16:12 | servo: Merge #17087 - style: Support a restyle hint that indicates all descendants must be recascaded (from heycam:recascade); r=emilio
This also moves the result of deciding whether to recascade from the RestyleData into the RestyleHint.
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1367647.
Source-Repo:... | diff --git a/style/data.rs b/style/data.rs
index b16f918f9..2cf5bd56e 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -367,6 +367,11 @@ impl StoredRestyleHint {
StoredRestyleHint(RestyleHint::subtree_and_later_siblings())
}
+ /// Creates a restyle hint that indicates the element must be recascaded.... | 3 | 120 | 33 |
bb5df9f787211830fb8516f34b914ab72332c2d7 | Xidorn Quan | 2017-05-29T23:51:45 | servo: Merge #17086 - Add CSSOM support of @import rule for stylo (from upsuper:bug1352968); r=heycam
This is the Servo side change of [bug 1352968](https://bugzilla.mozilla.org/show_bug.cgi?id=1352968).
Source-Repo: https://github.com/servo/servo
Source-Revision: 085743560caffc0d25c7225ac979a857efd82155 | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 2793625cd..29ab276e6 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1739,10 +1739,6 @@ extern "C" {
quirks_mode: nsCompatibility)
-> RawSe... | 4 | 44 | 20 |
345c8d0145fb9c287cdca3348df9fb9162b1add4 | Xidorn Quan | 2017-05-29T22:58:44 | servo: Merge #17073 - Set flex-basis to 0% when omitted in flex shorthand (from upsuper:flex-basis-zero); r=emilio
This should fix [bug 1331530](https://bugzilla.mozilla.org/show_bug.cgi?id=1331530).
Source-Repo: https://github.com/servo/servo
Source-Revision: 76daf462956a50c3348b6dac516d5f013355a88b | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index 0c629df19..e601f27c0 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -1099,9 +1099,14 @@
/// Returns a value representing a `0` length.
pub fn zero() -> Self {
- ... | 3 | 29 | 4 |
0b99da182ff2f19145c410c2030a6f216327b8dc | Emilio Cobos Álvarez | 2017-05-29T19:19:16 | servo: Merge #17078 - stylo: Avoid restyling the whole document when adding stylesheets (from emilio:stylesheet-invalidation-scopes); r=heycam
This is for bug 1357583.
Source-Repo: https://github.com/servo/servo
Source-Revision: 939716a7bc2ba2fbd8dcfe8b64d2f61edfa99c95 | diff --git a/style/data.rs b/style/data.rs
index 90ca649e4..b16f918f9 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -388,6 +388,11 @@ impl StoredRestyleHint {
self.0.insert(other.0)
}
+ /// Contains whether the whole subtree is invalid.
+ pub fn contains_subtree(&self) -> bool {
+ self.... | 9 | 809 | 219 |
147a93a0cb3973b9edb60f3ba7aece70ae85ccd5 | Matthew | 2017-05-29T14:58:43 | servo: Merge #16987 - Using stack-allocated variable for font feature setting (from tictakk:ticbranch); r=emilio
<!-- Please describe your changes on the following line: -->
Using stack-allocated small vector instead of the previous vector<u8>.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` b... | diff --git a/style/values/generics/mod.rs b/style/values/generics/mod.rs
index cc796f112..0631038d6 100644
--- a/style/values/generics/mod.rs
+++ b/style/values/generics/mod.rs
@@ -181,12 +181,12 @@ impl<T> OneOrMoreCommaSeparated for FontSettingTag<T> {}
impl<T: ToCss> ToCss for FontSettingTag<T> {
fn to_css<W... | 1 | 3 | 5 |
0cee275de5b31e2e74867a17105294cafeef92a5 | Paul Rouget | 2017-05-29T12:13:58 | servo: Merge #17074 - remove no-op viewport code (from paulrouget:remove_viewport); r=emilio
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mac... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 1614f28b7..8597ef783 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -120,9 +120,6 @@ pub struct IOCompositor<Window: WindowMethods> {
/// The position and size of the window within the rendering area.
window_re... | 2 | 0 | 11 |
8d0296bbf2e8eadebb4d82d26dca90e40a1b4c4e | Nicholas Nethercote | 2017-05-29T02:10:25 | servo: Merge #17044 - Introduce and start using the MallocSizeOf trait (from nnethercote:MallocSizeOf); r=emilio
MallocSizeOf is similar to the existing HeapSizeOf trait from the
heapsize crate. The only difference is that MallocSizeOf's
malloc_size_of_children() function takes an additional MallocSizeOfFn
argument, w... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 79222be48..57cdab8e2 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -39,6 +39,7 @@ use gecko_bindings::structs::FontSizePrefs;
use gecko_bindings::structs::GeckoFontMetrics;
use gecko_bi... | 4 | 126 | 2 |
b6e5fdd7d05e0c2ec1d23a79bdcd8d5a850c9481 | Manish Goregaokar | 2017-05-27T18:37:59 | servo: Merge #17058 - stylo: Support remaning longhands (from Manishearth:stylo-randomprops); r=emilio
r=xidorn https://bugzilla.mozilla.org/show_bug.cgi?id=1367275
Source-Repo: https://github.com/servo/servo
Source-Revision: 369d5cf1242632efeb56278e18a5ea25a3c933a5 | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 7774ccbeb..79222be48 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1133,6 +1133,14 @@ extern "C" {
pub fn Gecko_nsStyleSVG_CopyDashArray(dst: *mut nsStyleSVG,
... | 13 | 408 | 148 |
3c63ef123c90c6f2110461bea48e3030a660daf8 | Anthony Ramine | 2017-05-27T10:41:12 | servo: Merge #17036 - Use values::generics::rect::Rect some more (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 7275f6598120266a0beaeff1294271a23cd40d4d | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 13829e883..b0549cde2 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -48,7 +48,7 @@ use std::default::Default;
use std::mem;
use std::sync::Arc;
use style::computed_values::{background_attachment, b... | 16 | 231 | 382 |
d95bf51b0b31fc4e28ab2d7f82fe0e5453afaf02 | Simon Sapin | 2017-05-27T09:18:58 | servo: Merge #16989 - Decode UTF-8 code points across network packets (from servo:packets); r=nox
<s>Depends on https://github.com/servo/html5ever/pull/272</s>
Source-Repo: https://github.com/servo/servo
Source-Revision: b0c7c71729e6423cea9387030306a86654cb33de | diff --git a/layout/Cargo.toml b/layout/Cargo.toml
index aaced4168..91cb4c684 100644
--- a/layout/Cargo.toml
+++ b/layout/Cargo.toml
@@ -20,7 +20,7 @@ fnv = "1.0"
gfx = {path = "../gfx"}
gfx_traits = {path = "../gfx_traits"}
heapsize = "0.3.0"
-html5ever = "0.16"
+html5ever = "0.17"
ipc-channel = "0.7"
libc = "0.2... | 8 | 68 | 32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.