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
a82c40dffe352187a43bc78fc5ca747a3b11a601
Emilio Cobos Álvarez
2017-10-01T18:30:18
servo: Merge #18692 - style: multiple cleanups (from emilio:cleanups); r=nox Source-Repo: https://github.com/servo/servo Source-Revision: 4d95e2cd46b7f47f28970153c14a565afdef2bc3
diff --git a/style/context.rs b/style/context.rs index 85dcd2a20..5ed3f06c6 100644 --- a/style/context.rs +++ b/style/context.rs @@ -206,7 +206,7 @@ impl CascadeInputs { pub fn new_from_style(style: &ComputedValues) -> Self { CascadeInputs { rules: style.rules.clone(), - visited_ru...
10
120
165
ea789ed369ddcd201c9966923f815f1860dc0146
Simon Sapin
2017-10-01T14:46:05
servo: Merge #18693 - Upgrade to rustc 1.22.0-nightly (c6884b12d 2017-09-30) (from servo:rustup); r=nox A new `AddAssign` impl in the standard library made inference ambiguous. Source-Repo: https://github.com/servo/servo Source-Revision: a2403c5cd63d689283bc35ff9c11329a7b522caf
diff --git a/script/textinput.rs b/script/textinput.rs index 0ac002b9b..92fd76706 100644 --- a/script/textinput.rs +++ b/script/textinput.rs @@ -236,7 +236,7 @@ impl<T: ClipboardProvider> TextInput<T> { /// The length of the selected text in UTF-16 code units. fn selection_utf16_len(&self) -> usize { ...
1
1
1
ef8ab490efab5ce1e81c3b76aa740621dad6d2cc
Imanol Fernandez
2017-09-30T17:17:37
servo: Merge #18680 - Implement Gradle flavors for Android VR compilations (from MortimerGoro:android_flavors); r=larsbergstrom <!-- Please describe your changes on the following line: --> This PR adds support to easily generate Android VR builds. Rust/Java VR dependencies are not added by default. Default build (No...
diff --git a/servo/Cargo.toml b/servo/Cargo.toml index 67c025385..24e601112 100644 --- a/servo/Cargo.toml +++ b/servo/Cargo.toml @@ -17,6 +17,8 @@ max_log_level = ["log/release_max_level_info"] webdriver = ["webdriver_server"] energy-profiling = ["profile_traits/energy-profiling"] debugmozjs = ["script/debugmozjs"] ...
3
8
2
06e3581763f96f4f3e30c7813dcd5f9849d3c39f
Emilio Cobos Álvarez
2017-09-30T12:36:04
servo: Merge #18679 - style: Use PrecomputedHasher for custom properties (from emilio:precomputed-custom-props); r=manishearth Source-Repo: https://github.com/servo/servo Source-Revision: 75a4dcf293a6de9bc7ae180f25ea010dd3a667bc
diff --git a/style/Cargo.toml b/style/Cargo.toml index d88ae34cd..769f7bf0c 100644 --- a/style/Cargo.toml +++ b/style/Cargo.toml @@ -61,7 +61,7 @@ ordered-float = "0.4" owning_ref = "0.3.3" parking_lot = "0.4" pdqsort = "0.1.0" -precomputed-hash = "0.1" +precomputed-hash = "0.1.1" rayon = "0.8" selectors = { path ...
4
70
62
cfb2da1a6b0d656a38f96f45304b0381b19bf7e7
Manish Goregaokar
2017-09-29T01:15:51
servo: Merge #18667 - Update debug bindings for removal of mFrameRefCnt (from Manishearth:bindingsup); r=emilio r=emilio from https://bugzilla.mozilla.org/show_bug.cgi?id=1403808 Source-Repo: https://github.com/servo/servo Source-Revision: c6f4ced45c277e69492966c0b8b2f63f257c3b88
diff --git a/style/gecko/generated/structs_debug.rs b/style/gecko/generated/structs_debug.rs index cea8519de..9928ee3e2 100644 --- a/style/gecko/generated/structs_debug.rs +++ b/style/gecko/generated/structs_debug.rs @@ -4424,7 +4424,7 @@ pub mod root { } #[test] fn bindgen_test_layout_ServoS...
1
6
12
9a632a046af9b0614e039409c86626316e09f50a
Bobby Holley
2017-09-29T00:10:46
servo: Merge #18668 - Add mprotect diagnostics for HashMap crash (from bholley:mprotect_diagnostics); r=Manishearth https://bugzilla.mozilla.org/show_bug.cgi?id=1403397 Source-Repo: https://github.com/servo/servo Source-Revision: 5d2ac4aa2e746daf312198278369686627360895
diff --git a/hashglobe/src/hash_map.rs b/hashglobe/src/hash_map.rs index 69bd06344..c1c4db4d3 100644 --- a/hashglobe/src/hash_map.rs +++ b/hashglobe/src/hash_map.rs @@ -1027,6 +1027,12 @@ impl<K, V, S> HashMap<K, V, S> self.table.size() } + /// Access to the raw buffer backing this hashmap. + pub ...
11
435
9
486a0a931080b79292c69a695af54c03eca110e7
Nazım Can Altınova
2017-09-28T22:07:18
servo: Merge #18664 - stylo: Don't serialize default position on -moz- prefixed linear gradient (from canaltinova:gradient-default-direction); r=emilio Normally, we should not serialize if the line direction points downwards. Unprefixed and -webkit- prefixed syntaxes use only Keyword enum for line direction and we che...
diff --git a/style/values/computed/image.rs b/style/values/computed/image.rs index b2604324f..ac46798c8 100644 --- a/style/values/computed/image.rs +++ b/style/values/computed/image.rs @@ -13,6 +13,8 @@ use std::fmt; use style_traits::ToCss; use values::{Either, None_}; use values::computed::{Angle, ComputedUrl, Con...
2
35
1
d8505712d99909a801bee577dd02d54a236a9a93
Imanol Fernandez
2017-09-28T19:12:06
servo: Merge #18580 - Associate WebGL textures with texture units (from MortimerGoro:webgl_active_texture); r=jdm <!-- Please describe your changes on the following line: --> Currently `bound_texture_2d` and `bound_texture_cube_map` fields are used to restore texture states and to get the current bindings in GetParam...
diff --git a/script/dom/webglrenderingcontext.rs b/script/dom/webglrenderingcontext.rs index 6ff481471..30375b53c 100644 --- a/script/dom/webglrenderingcontext.rs +++ b/script/dom/webglrenderingcontext.rs @@ -110,6 +110,18 @@ macro_rules! object_binding_to_js_or_null { }; } +macro_rules! optional_root_object_to...
2
123
32
d34444929f8f5734249d3fd1c630bc3f186b549b
Anthony Ramine
2017-09-28T15:45:11
servo: Merge #18663 - Make DomRoot<T> a type alias of a more general Root<T> type (from servo:ROOT-ALL-THE-THINGS); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 056c08511997967ceaa2de4d53afa7787276b770
diff --git a/script/dom/bindings/reflector.rs b/script/dom/bindings/reflector.rs index de6c8ab7c..6a47b7d3c 100644 --- a/script/dom/bindings/reflector.rs +++ b/script/dom/bindings/reflector.rs @@ -72,7 +72,7 @@ impl Reflector { } /// A trait to provide access to the `Reflector` for a DOM object. -pub trait DomObjec...
2
108
60
0b80458a42937d8df23802bd4f3862a0130cb588
Xidorn Quan
2017-09-28T14:06:48
servo: Merge #18660 - Don't use inherited custom properties for substitution (from upsuper:var-sub-inherit); r=emilio <!-- Please describe your changes on the following line: --> Custom properties from parent node has been considered in early stage of cascading them (in [`custom_properties::cascade`](https://github.co...
diff --git a/style/custom_properties.rs b/style/custom_properties.rs index 974f27e47..fe6e45751 100644 --- a/style/custom_properties.rs +++ b/style/custom_properties.rs @@ -503,7 +503,7 @@ pub fn finish_cascade(specified_values_map: Option<OrderedMap<&Name, BorrowedSpe -> Option<Arc<CustomPropert...
1
6
13
e537920739b13d9c10300f324bd0cc08b5b8ace6
Nazım Can Altınova
2017-09-27T21:56:26
servo: Merge #18658 - stylo: Handle quirks mode on font base sizes (from canaltinova:font-size-quirk); r=Manishearth We should use different font size mapping for quirks mode. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug 140132...
diff --git a/style/values/specified/font.rs b/style/values/specified/font.rs index f7ba7af4f..422542543 100644 --- a/style/values/specified/font.rs +++ b/style/values/specified/font.rs @@ -168,6 +168,7 @@ impl ToComputedValue for KeywordSize { type ComputedValue = NonNegativeLength; #[inline] fn to_compu...
1
29
3
c22b753350cf76c5b5157f707ace2912e492960d
Michael Layzell
2017-09-27T18:00:54
servo: Merge #18656 - Stop allocating in fmt::Write for nsA[C]String (from mystor:bug1403545); r=emilio <!-- Please describe your changes on the following line: --> This is the servo side of gecko bug 1403545 https://bugzilla.mozilla.org/show_bug.cgi?id=1403545. It's fixing a stylo perf regression caused by #18642 It...
diff --git a/style/gecko_bindings/nsstring_vendor/src/lib.rs b/style/gecko_bindings/nsstring_vendor/src/lib.rs index 5cbcd5998..26975ae9a 100644 --- a/style/gecko_bindings/nsstring_vendor/src/lib.rs +++ b/style/gecko_bindings/nsstring_vendor/src/lib.rs @@ -988,7 +988,7 @@ impl From<String> for nsCString { // Support f...
1
2
2
9a3072df0275d873678eee04a94ee7f0fdb193b0
Emilio Cobos Álvarez
2017-09-27T14:15:16
servo: Merge #18652 - style: Fix various issues with XBL rule matching (from emilio:xbl-stuff); r=TYLin See the commit details. Source-Repo: https://github.com/servo/servo Source-Revision: bad77b6a20ee9bdba27d0af9edd1dd638c73d64b
diff --git a/style/dom.rs b/style/dom.rs index f8157f3c8..2b3ce58c7 100644 --- a/style/dom.rs +++ b/style/dom.rs @@ -26,7 +26,6 @@ use selectors::matching::{ElementSelectorFlags, VisitedHandlingMode}; use selectors::sink::Push; use servo_arc::{Arc, ArcBorrow}; use shared_lock::Locked; -use smallvec::VecLike; use st...
2
21
75
5321d312cdcabd1b6ffbce6e3d35c65ae2f74079
Anthony Ramine
2017-09-27T13:09:57
servo: Merge #18653 - Move root-related things around so that the abstractions make more sense (from servo:ROOT-ALL-THE-THINGS); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 807275d8ac8e7391a36210f91b45f70814b132cc
diff --git a/script/dom/bindings/root.rs b/script/dom/bindings/root.rs index 251b17c30..cbab89511 100644 --- a/script/dom/bindings/root.rs +++ b/script/dom/bindings/root.rs @@ -35,18 +35,231 @@ use js::jsapi::{JSObject, JSTracer, Heap}; use js::rust::GCMethods; use mitochondria::OnceCell; use script_layout_interface...
6
228
240
ae16cacde0dacafb5476ef9f9a231c95a869e250
Guillaume Gomez
2017-09-27T12:06:07
servo: Merge #18581 - Update mp3-metatada and thus audio-video-metadata (from GuillaumeGomez:update-mp3); r=KiChjang Source-Repo: https://github.com/servo/servo Source-Revision: aff99ef30b455cf81945511805de6fb2de31a750
diff --git a/script/Cargo.toml b/script/Cargo.toml index b4b7f5a7b..18c77df28 100644 --- a/script/Cargo.toml +++ b/script/Cargo.toml @@ -25,7 +25,7 @@ tinyfiledialogs = "2.5.9" [dependencies] app_units = "0.5" -audio-video-metadata = "0.1.2" +audio-video-metadata = "0.1.4" base64 = "0.5.2" bitflags = "0.7" bluet...
1
1
1
3bb5ba00438f08f4382fa926f1104dac93baf873
Manish Goregaokar
2017-09-27T04:56:15
servo: Merge #18644 - stylo: Don't error out on trailing whitespace in attr() (from Manishearth:stylo-attr-ws); r=bz r=bz bug 1403282 Source-Repo: https://github.com/servo/servo Source-Revision: 97227aaca3613e22afc832554d29f7f7fdfb7220
diff --git a/style/values/specified/mod.rs b/style/values/specified/mod.rs index 1add49280..eda062b46 100644 --- a/style/values/specified/mod.rs +++ b/style/values/specified/mod.rs @@ -740,28 +740,32 @@ impl Attr { let first = input.try(|i| i.expect_ident_cloned()).ok(); if let Ok(token) = input.try(|...
1
24
20
ee1e628c969738a741c9fcb099c46a1eaab95826
Anthony Ramine
2017-09-26T19:25:20
servo: Merge #18641 - Improve DomRoot<T> (from servo:ROOT-ALL-THE-THINGS); r=SimonSapin Source-Repo: https://github.com/servo/servo Source-Revision: 0160aaeeea848f685ba090b4541646b0429a37e1
diff --git a/script/dom/bindings/refcounted.rs b/script/dom/bindings/refcounted.rs index 02f6784fb..795847a8f 100644 --- a/script/dom/bindings/refcounted.rs +++ b/script/dom/bindings/refcounted.rs @@ -22,7 +22,6 @@ //! its hash table during the next GC. During GC, the entries of the hash table are counted //! as JS r...
3
11
8
932e5df7be1bad147603ddeb1ccc8587ccc4b31b
Michael Layzell
2017-09-26T18:30:03
servo: Merge #18643 - Remove unlanded TakeFrom methods from nsstring_vendor (from mystor:nsstring_vendor_untake); r=bholley <!-- Please describe your changes on the following line: --> This should fix the build failures which are happening on autoland right now (e.g. https://treeherder.mozilla.org/logviewer.html#?job_...
diff --git a/style/gecko_bindings/nsstring_vendor/src/lib.rs b/style/gecko_bindings/nsstring_vendor/src/lib.rs index bff11c59e..5cbcd5998 100644 --- a/style/gecko_bindings/nsstring_vendor/src/lib.rs +++ b/style/gecko_bindings/nsstring_vendor/src/lib.rs @@ -210,7 +210,6 @@ macro_rules! define_string_types { d...
1
0
26
4abc085c74c88638a268e8e2ef1688ce95926412
Michael Layzell
2017-09-26T16:38:58
servo: Merge #18642 - nsString bindings update (from mystor:nsstring_vendor_bump); r=emilio <!-- Please describe your changes on the following line: --> This fixes bugzilla bug [1403170](https://bugzilla.mozilla.org/show_bug.cgi?id=1403170). We've missed a few updates of the nsstring bindings in servo compared to the...
diff --git a/style/gecko/values.rs b/style/gecko/values.rs index ac9a37d43..09a796c59 100644 --- a/style/gecko/values.rs +++ b/style/gecko/values.rs @@ -14,7 +14,7 @@ use gecko_bindings::structs::{CounterStylePtr, nsStyleCoord}; use gecko_bindings::structs::{StyleGridTrackBreadth, StyleShapeRadius}; use gecko_binding...
6
387
120
7b51fb171fbf38fdb1749ea450f2f2587bf7759b
Emilio Cobos Álvarez
2017-09-26T12:53:43
servo: Merge #18640 - style: Really minor cleanups (from emilio:cleanup-as-you-go); r=nox See commits for details. Source-Repo: https://github.com/servo/servo Source-Revision: 4450bbdb0c44637a3caa05bd14a6e2b9d867a74e
diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs index 2e2984318..130651cbd 100644 --- a/style/gecko/media_queries.rs +++ b/style/gecko/media_queries.rs @@ -695,11 +695,12 @@ impl Expression { self.evaluate_against(device, &value, quirks_mode) } - fn evaluate_against(&self, - ...
4
122
97
1e8e77215bc1712b70aff057c1e09a4d1d46c7fd
Emilio Cobos Álvarez
2017-09-26T11:58:04
servo: Merge #18638 - style: Lazily tweak the traversal root to account for sibling invalidations (from emilio:invalidation-lazy); r=heycam Bug: 1403078 Reviewed-by: heycam MozReview-Commit-ID: Ij3nMOKu5FO Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io> Source-Repo: https://github.com/servo/servo Source-Revisi...
diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs index 64ef126b7..9e59dc666 100644 --- a/layout_thread/lib.rs +++ b/layout_thread/lib.rs @@ -1268,15 +1268,11 @@ impl LayoutThread { None }; - // NB: Type inference falls apart here for some reason, so we need to be very verbose. :-(...
4
50
49
b991d9c2d26983a26eda8675ea86d0198d18fc38
Nicholas Nethercote
2017-09-26T10:52:34
servo: Merge #18637 - Two small tweaks related to MallocSizeOf (from nnethercote:rename-add_size_of_children); 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 appropr...
diff --git a/malloc_size_of/lib.rs b/malloc_size_of/lib.rs index 0e802d386..413942e43 100644 --- a/malloc_size_of/lib.rs +++ b/malloc_size_of/lib.rs @@ -39,8 +39,8 @@ //! - If you need an additional synchronization argument, provide a function //! that is like the standard trait method, but with the extra argument....
3
18
20
2092949ab6ec4f7320c8135384b45b334f3ad192
Daniel Kolsoi
2017-09-26T00:15:26
servo: Merge #18617 - Removed integrity check and test for no-cors requests (from TheDan64:master); r=KiChjang Removed Step 30.2 which raised a JS TypeError if the integrity metadata was not empty. I manually ran `new Request("", {"mode" : "no-cors", "integrity" : "not an empty string"});` in servo to validate that th...
diff --git a/script/dom/request.rs b/script/dom/request.rs index 9abfb4b0e..8a673e854 100644 --- a/script/dom/request.rs +++ b/script/dom/request.rs @@ -324,10 +324,6 @@ impl Request { "The mode is 'no-cors' but the method is not a cors-safelisted method".to_string())); } ...
1
0
4
5a62be3c7c9d534a16d13af0b7d9f9f6bf6c396d
Emilio Cobos Álvarez
2017-09-25T14:35:38
servo: Merge #18627 - style: paint-order serialization fixes (from emilio:paint-order); r=nox See each commit for details. Source-Repo: https://github.com/servo/servo Source-Revision: bbb5c8436edb89235fe030e8dc965b9bef43c071
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index 33fe7cd5a..c8116a975 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -5060,51 +5060,14 @@ clip-path <%self:impl_trait style_struct_name="InheritedSVG" skip_longhands="paint-order st...
2
94
111
c00cde38937b3c54453212c0b5e45e42ff8e0bd4
Anthony Ramine
2017-09-25T11:39:47
servo: Merge #18626 - Decouple media load blockers from their resource URL (from servo:media); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: d9cec56d712a69bc78f918abe1774f9007a0ec9a
diff --git a/script/document_loader.rs b/script/document_loader.rs index 9fe42e301..1073403da 100644 --- a/script/document_loader.rs +++ b/script/document_loader.rs @@ -20,18 +20,18 @@ pub enum LoadType { Subframe(ServoUrl), Stylesheet(ServoUrl), PageSource(ServoUrl), - Media(ServoUrl), + Media, }...
4
59
32
9390afeb2c4e1ff4c4d65716afcaba90f3b9249d
Emilio Cobos Álvarez
2017-09-25T10:29:48
servo: Merge #18624 - style: Early return and skip duplicate assertion in matching.rs (from emilio:easier-is-better); r=nox Source-Repo: https://github.com/servo/servo Source-Revision: 30e007ba1a537c7721bb824f4ddf4d915804b087
diff --git a/style/matching.rs b/style/matching.rs index 8d96de06b..bacd79977 100644 --- a/style/matching.rs +++ b/style/matching.rs @@ -186,8 +186,9 @@ trait PrivateMatchMethods: TElement { use context::DISPLAY_CHANGED_FROM_NONE_FOR_SMIL; use properties::longhands::display::computed_value as display;...
1
18
17
3b63157b08acf3b3cd991e1cedfea3407a6582d6
Hiroyuki Ikezoe
2017-09-25T05:21:18
servo: Merge #18622 - Handle display property change from 'none' only if there is restyle hint for SMIL (from hiikezoe:display-none-by-cssom); r=birtles <!-- Please describe your changes on the following line: --> https://bugzilla.mozilla.org/show_bug.cgi?id=1401801 --- <!-- Thank you for contributing to Servo! Pleas...
diff --git a/style/matching.rs b/style/matching.rs index faa62cae0..8d96de06b 100644 --- a/style/matching.rs +++ b/style/matching.rs @@ -186,6 +186,9 @@ trait PrivateMatchMethods: TElement { use context::DISPLAY_CHANGED_FROM_NONE_FOR_SMIL; use properties::longhands::display::computed_value as display;...
1
20
15
4c1290c0150268ae118fdb7bb410935418374185
Emilio Cobos Álvarez
2017-09-25T02:05:49
servo: Merge #18621 - selectors: Remove unused crate (from emilio:unused-crate); r=glennw Source-Repo: https://github.com/servo/servo Source-Revision: dd6aae9d52af1f7ff55826543e044e5a3f9dd5e6
diff --git a/selectors/Cargo.toml b/selectors/Cargo.toml index da9adffde..0fa01f994 100644 --- a/selectors/Cargo.toml +++ b/selectors/Cargo.toml @@ -30,7 +30,6 @@ log = "0.3" fnv = "1.0" malloc_size_of = { path = "../malloc_size_of" } malloc_size_of_derive = { path = "../malloc_size_of_derive" } -lru_cache = { path ...
2
0
2
91665fbf0ad6f199aefcfd0a9eedabce196a5794
Emilio Cobos Álvarez
2017-09-25T01:04:58
servo: Merge #18620 - style: Remove UnsafeNode (from emilio:bye-unsafe-node); r=glennw No longer needed since a while ago. Source-Repo: https://github.com/servo/servo Source-Revision: 4628db14951667b7ffddb47bdcc0c5ed886cb3b1
diff --git a/layout/parallel.rs b/layout/parallel.rs index a6bd121fd..44b5f83c7 100644 --- a/layout/parallel.rs +++ b/layout/parallel.rs @@ -17,21 +17,13 @@ use servo_config::opts; use smallvec::SmallVec; use std::mem; use std::sync::atomic::{AtomicIsize, Ordering}; -use style::dom::UnsafeNode; use traversal::{Assi...
5
3
43
85bfebeb0afe16c97213c5c0ffef7e2724f5ca4e
Glenn Watson
2017-09-24T21:13:47
servo: Merge #18598 - Update WR (work around a mac GL driver bug) (from glennw:update-wr-driver-bug); r=emilio Also includes updates to the mac core-* crates and friends. Source-Repo: https://github.com/servo/servo Source-Revision: 61f0fc199e243fdce5b31b24d416c6177770873b
diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml index b4f173a8b..890f948a1 100644 --- a/compositing/Cargo.toml +++ b/compositing/Cargo.toml @@ -13,7 +13,7 @@ path = "lib.rs" euclid = "0.15" gfx_traits = {path = "../gfx_traits"} gleam = "0.4" -image = "0.12" +image = "0.14" ipc-channel = "0.8" log = "0...
5
7
7
9f5272b9392b3608bbc26e0c99c88b84ceb455c6
Manish Goregaokar
2017-09-24T07:48:12
servo: Merge #18609 - stylo: Animate font-size as NonNegativeLength (from Manishearth:fs-anim); r=emilio Otherwise it doesn't clamp correctly and fails layout/style/test/test_transitions_per_property.html Source-Repo: https://github.com/servo/servo Source-Revision: 216f64e4e1033dd179d3657f300bfc9be58ed3f1
diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs index 5b7b62be0..79ab5ff33 100644 --- a/style/properties/longhand/font.mako.rs +++ b/style/properties/longhand/font.mako.rs @@ -596,7 +596,7 @@ ${helpers.single_keyword_system("font-variant-caps", } </%helpers:longhand> ...
3
34
2
7404c322c7a8c229da93128e7a001c8082fecc12
tigercosmos
2017-09-23T22:11:51
servo: Merge #18603 - fix #18594: Unnecessarily allocating an error string (from tigercosmos:allocating); r=KiChjang <!-- Please describe your changes on the following line: --> r? @asajeffrey --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` ...
diff --git a/script/document_loader.rs b/script/document_loader.rs index 4a6307667..9fe42e301 100644 --- a/script/document_loader.rs +++ b/script/document_loader.rs @@ -130,7 +130,7 @@ impl DocumentLoader { pub fn finish_load(&mut self, load: &LoadType) { debug!("Removing blocking load {:?} ({}).", load, ...
1
1
1
37266e0c9c07e08d0218201fca1c85314d8fe751
Emilio Cobos Álvarez
2017-09-23T02:16:43
servo: Merge #18602 - style: Make sure to not run any style invalidation in an unstyled children only traversal (from emilio:invalidation-unstyled-only); r=bholley Bug: 1402472 Reviewed-by: bholley MozReview-Commit-ID: IFPA7LJpvsZ Source-Repo: https://github.com/servo/servo Source-Revision: 5a6b90b14ff709eab41493a05c8...
diff --git a/style/traversal.rs b/style/traversal.rs index 1982589e9..56df2d087 100644 --- a/style/traversal.rs +++ b/style/traversal.rs @@ -838,6 +838,12 @@ where propagated_hint, child.implemented_pseudo_element()); + // Make sure to not run style invalidation of styled elemen...
1
6
0
72fa483893bb0883724283b2f66813bcc0b169e8
Matt Brubeck
2017-09-22T19:39:25
servo: Merge #18601 - Remove unused 'untagged_unions' feature gate (from mbrubeck:features); r=KiChjang CC #5286 - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because _____ Source-Repo: https://github.com/servo/servo So...
diff --git a/script/lib.rs b/script/lib.rs index 2b9c5b8d1..0e63fef2a 100644 --- a/script/lib.rs +++ b/script/lib.rs @@ -15,7 +15,6 @@ #![feature(plugin)] #![feature(proc_macro)] #![feature(try_from)] -#![feature(untagged_unions)] #![deny(unsafe_code)] #![allow(non_snake_case)]
1
0
1
920e37a5f71ee5de77e9754b5085b947125a12c5
Alan Jeffrey
2017-09-22T14:34:12
servo: Merge #18514 - Remove sources of panic when laying out an iframe without a nested browsing context (from asajeffrey:layout-dont-panic-if-no-iframe-bc); r=emilio <!-- Please describe your changes on the following line: --> At the moment, layout panics if it discovers an iframe without a nested browsing context....
diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs index 057966c10..08b19d46a 100644 --- a/layout/display_list_builder.rs +++ b/layout/display_list_builder.rs @@ -2022,6 +2022,15 @@ impl FragmentDisplayListBuilding for Fragment { } SpecificFragmentInfo::Iframe(ref fra...
6
58
30
995fd86bcae315ea52400208ad013ec7dcbae78d
Michael Droettboom
2017-09-22T04:38:29
servo: Merge #18553 - Make tidy aware of Rust multiline strings (from mdboom:tidy-support-multiline-strings); r=wafflespeanut <!-- Please describe your changes on the following line: --> This makes the internal tidy script properly ignore the contents of Rust multiline strings. --- <!-- Thank you for contributing to ...
diff --git a/layout/generated_content.rs b/layout/generated_content.rs index d9adfabb8..3f9d314fa 100644 --- a/layout/generated_content.rs +++ b/layout/generated_content.rs @@ -137,7 +137,7 @@ impl<'a> InorderFlowTraversal for ResolveGeneratedContent<'a> { } /// The object that mutates the generated content fragmen...
3
4
4
d60be760df21bccfa03cc7dcfb91925be81c670c
Bobby Holley
2017-09-21T23:10:05
servo: Merge #18595 - Implement an nth-index cache (from bholley:nth_index_cache); r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1334730 Source-Repo: https://github.com/servo/servo Source-Revision: be9c8ec07a0ca745adf1b412d32b3b32adec122c
diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs index a9596f099..962fe09a7 100644 --- a/layout_thread/dom_wrapper.rs +++ b/layout_thread/dom_wrapper.rs @@ -630,6 +630,10 @@ fn as_element<'le>(node: LayoutJS<Node>) -> Option<ServoLayoutElement<'le>> { impl<'le> ::selectors::Element for ServoLay...
13
163
39
19f910c853d5d8f83a94a181ba2ba55903fc3694
J. Ryan Stinnett
2017-09-21T21:43:37
servo: Merge #18593 - Update inherited prop state for animation (from jryans:stylo-anim-inherit-context); r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1401256 Source-Repo: https://github.com/servo/servo Source-Revision: 83705a8fa8992a974b32acc6635c7dfeed1afa50
diff --git a/style/properties/helpers/animated_properties.mako.rs b/style/properties/helpers/animated_properties.mako.rs index ee3f601cd..5f98b7e5c 100644 --- a/style/properties/helpers/animated_properties.mako.rs +++ b/style/properties/helpers/animated_properties.mako.rs @@ -576,6 +576,12 @@ impl AnimationValue { ...
1
6
0
cdd08da1b43631588e3f8ed7b6b60e63d78bffa9
Matt Brubeck
2017-09-21T20:08:04
servo: Merge #18579 - Remove unused feature gates (from mbrubeck:features); r=KiChjang CC #5286. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because no code changes Source-Repo: https://github.com/servo/servo Sour...
diff --git a/gfx/lib.rs b/gfx/lib.rs index ce24b6974..97bda55b5 100644 --- a/gfx/lib.rs +++ b/gfx/lib.rs @@ -7,7 +7,6 @@ #![feature(box_syntax)] #![feature(cfg_target_feature)] #![feature(range_contains)] -#![feature(unique)] #![deny(unsafe_code)] diff --git a/gfx/text/shaping/harfbuzz.rs b/gfx/text/shaping/har...
4
12
8
6c6b3b74b9dc104b74b9d2600a67d1842177de43
sendilkumarn
2017-09-21T18:20:29
servo: Merge #18059 - Using OnceCell<T> from Mitochondria (from sendilkumarn:mito); r=nox <!-- 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] `./mach bu...
diff --git a/script/Cargo.toml b/script/Cargo.toml index 43f85a4e9..edb5b7239 100644 --- a/script/Cargo.toml +++ b/script/Cargo.toml @@ -56,6 +56,7 @@ lazy_static = "0.2" libc = "0.2" log = "0.3.5" metrics = {path = "../metrics"} +mitochondria = "1.1.2" mime = "0.2.1" mime_guess = "1.8.0" msg = {path = "../msg"} ...
4
59
11
4fba23930b92b8383d8a793c5283241ea5661a67
Hiroyuki Ikezoe
2017-09-21T09:18:28
servo: Merge #18590 - Use Atom::from(nsIAtom) to increment reference count in case of dynam… (from hiikezoe:increment-ref-count-for-will-change); r=xidorn …ic atom for will-change. If we don't increment the reference count for the Atom in servo side, it's possible to try to release the Atom in servo side even if we h...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index a05a4f7ed..1606a2dc0 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -3482,7 +3482,6 @@ fn static_assert() { pub fn clone_will_change(&self) -> longhands::will_change::computed_value::T { ...
1
1
4
e9860578f62f66ebcde1eca9dd8a672d669ba112
Jeremy Chen
2017-09-21T08:16:58
servo: Merge #18591 - stylo: do not handle the fallback discrete animation inside the Animate trait (from chenpighead:stylo-singular-matrix-animation); r=BorisChiou At present, we do the fallback discrete animation for non-invertible matrices in ComputedMatrix.animate(). However, according to the spec, we should fallb...
diff --git a/style/properties/helpers/animated_properties.mako.rs b/style/properties/helpers/animated_properties.mako.rs index 1e72fb1cb..ee3f601cd 100644 --- a/style/properties/helpers/animated_properties.mako.rs +++ b/style/properties/helpers/animated_properties.mako.rs @@ -1453,11 +1453,10 @@ impl Animate for Comput...
1
8
10
5fd51c9737000e0596f0d1a86bc36c48d8b3db60
Bobby Holley
2017-09-21T06:24:01
servo: Merge #18589 - Plumbing for the nth-index cache (from bholley:nth_index_plumbing); r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1334730 Source-Repo: https://github.com/servo/servo Source-Revision: 39f8fce453f0a34751abb82485442429f06324bf
diff --git a/lru_cache/Cargo.toml b/lru_cache/Cargo.toml new file mode 100644 index 000000000..7e8f0693f --- /dev/null +++ b/lru_cache/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "lru_cache" +version = "0.0.1" +authors = ["The Servo Project Developers"] +license = "MPL-2.0" +publish = false # We should publish this ...
16
159
65
520dd5428e1c123da9a7d533765255a472bfeaf6
Glenn Watson
2017-09-21T05:11:15
servo: Merge #18586 - Update WR (font variations, runtime dp ratio changes) (from glennw:update-wr-font-vars); r=metajack Source-Repo: https://github.com/servo/servo Source-Revision: 5afb1b7dd280b988c6d4bb302d6b9ef77d79de35
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index c3388da6f..35e8a9340 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -634,7 +634,10 @@ impl<Window: WindowMethods> IOCompositor<Window> { fn send_window_size(&self, size_type: WindowSizeType) { let dppx = se...
2
6
2
12a6596bcda1b3dd5164aa4207f92aca04a08a81
Hiroyuki Ikezoe
2017-09-21T04:12:56
servo: Merge #18584 - Drop RulesChanged (from hiikezoe:drop-rule-changed); r=emilio It's no longer used. <!-- 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: -->...
diff --git a/style/matching.rs b/style/matching.rs index 826b5d3bf..9018727f9 100644 --- a/style/matching.rs +++ b/style/matching.rs @@ -81,30 +81,6 @@ impl ChildCascadeRequirement { } } -bitflags! { - /// Flags that represent the result of replace_rules. - pub flags RulesChanged: u8 { - /// Normal...
1
0
24
c45d36259ab17680e6440838860fa4c9256cfa45
Imanol Fernandez
2017-09-21T03:08:17
servo: Merge #18575 - Improve Webrender<->WebGL synchronization (from MortimerGoro:webgl_flickering); r=glennw <!-- Please describe your changes on the following line: --> Webrender<->WebGL synchronization is not perfect yet, and it has some flickering specially when adding more elements on the page than a single fu...
diff --git a/canvas/webgl_mode/inprocess.rs b/canvas/webgl_mode/inprocess.rs index 257f13955..71ab8d8a9 100644 --- a/canvas/webgl_mode/inprocess.rs +++ b/canvas/webgl_mode/inprocess.rs @@ -8,7 +8,9 @@ use canvas_traits::webgl::{WebGLChan, WebGLContextId, WebGLMsg, WebGLPipeline, W use canvas_traits::webgl::{WebGLSende...
4
32
16
57f2f6d09502c4488923e2b8c180425d26d0642f
Xidorn Quan
2017-09-21T02:02:06
servo: Merge #18588 - Use array instead of linked list for -moz-border-*-colors (from upsuper:moz-border-colors-array); r=heycam This is the Servo side change of [bug 1400438](https://bugzilla.mozilla.org/show_bug.cgi?id=1400438). (take 3) Source-Repo: https://github.com/servo/servo Source-Revision: 8bc21d799f1a02b72...
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 59c97a065..debc395a3 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -17,7 +17,6 @@ use gecko_bindings::structs::mozilla::css::URLValueData; use gecko_bindings::structs::mozilla::Anonymous...
4
193
111
d8e17772a6faa1011379d1e09882841c46efc9f2
Nicholas Nethercote
2017-09-20T23:38:51
servo: Merge #18583 - Fix MallocSizeOf for TypedSize2D (from nnethercote:fix-TypedSize2D); r=mbrubeck TypedSize2D's MallocSizeOf impl has two problems. - It measures `width` twice, and `height` not at all. - It erroneously asserts that `width` and `height` are scalars. This seems reasonable at first blush, but Sty...
diff --git a/malloc_size_of/lib.rs b/malloc_size_of/lib.rs index 648273394..0e802d386 100644 --- a/malloc_size_of/lib.rs +++ b/malloc_size_of/lib.rs @@ -64,7 +64,6 @@ extern crate servo_arc; extern crate smallbitvec; extern crate smallvec; -use euclid::TypedSize2D; use servo_arc::Arc; use smallvec::{Array, SmallV...
1
2
5
bfb7eadaef7b86dbf464961edb8ce2bc5594ac8f
Alan Jeffrey
2017-09-20T19:38:31
servo: Merge #18578 - Window should own Location, Document shouldn't (from asajeffrey:script-window-owns-location); r=KiChjang <!-- Please describe your changes on the following line: --> Document shouldn't own location, Window should. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` ...
diff --git a/script/dom/document.rs b/script/dom/document.rs index e3bb46bf5..e50ff071f 100644 --- a/script/dom/document.rs +++ b/script/dom/document.rs @@ -226,7 +226,6 @@ pub struct Document { node: Node, window: JS<Window>, implementation: MutNullableJS<DOMImplementation>, - location: MutNullableJS...
2
8
5
1a5ba216e828f3b870449d81cc43e10bbde9ff19
Hiroyuki Ikezoe
2017-09-20T18:40:12
servo: Merge #18572 - Handle !important in keyframe (from hiikezoe:immportant-in-keyframe); r=emilio <!-- Please describe your changes on the following line: --> https://bugzilla.mozilla.org/show_bug.cgi?id=1400926 --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any err...
diff --git a/style/animation.rs b/style/animation.rs index e29236186..911465715 100644 --- a/style/animation.rs +++ b/style/animation.rs @@ -481,11 +481,13 @@ fn compute_style_for_animation_step(context: &SharedStyleContext, KeyframesStepValue::Declarations { block: ref declarations } => { let gua...
3
52
7
62669dca277eb9a85484f073a52f6e222b52254a
Sebastian Hengst
2017-09-20T14:53:11
Backed out changeset 5b56ebe80e22 (bug 1400438) for heap write hazard. r=backout
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 5a5a624b1..59c97a065 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -71,6 +71,7 @@ use gecko_bindings::structs::StyleBasicShapeType; use gecko_bindings::structs::StyleShapeSource; use ge...
4
102
176
2b15550c46dabdfba3a721b9dd8d32a73f09d8e5
Simon Sapin
2017-09-20T12:49:42
servo: Merge #18576 - Update some dependencies to fix some warnings (from servo:warn); r=nox "`#[must_use]` on methods is experimental" and "trait bounds are not (yet) enforced in type definitions" are shown despite Cargo using `--cap-lints=allow` for dependencies. Source-Repo: https://github.com/servo/servo Source-R...
diff --git a/net/Cargo.toml b/net/Cargo.toml index d86b6ac0b..8a7dea67e 100644 --- a/net/Cargo.toml +++ b/net/Cargo.toml @@ -28,7 +28,7 @@ mime_guess = "1.8.0" msg = {path = "../msg"} net_traits = {path = "../net_traits"} openssl = "0.9" -parse-hosts = "0.4.0" +parse-hosts = "0.5.0" profile_traits = {path = "../pro...
1
1
1
2c59973137e1ff5039b22fb6b9d191c57e4c3399
Xidorn Quan
2017-09-20T11:40:48
servo: Merge #18574 - Use array instead of linked list for -moz-border-*-colors (from upsuper:moz-border-colors-array); r=heycam This is the Servo side change of [bug 1400438](https://bugzilla.mozilla.org/show_bug.cgi?id=1400438). (take 2) Source-Repo: https://github.com/servo/servo Source-Revision: b49fe47b7d1be7ea8...
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 59c97a065..5a5a624b1 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -71,7 +71,6 @@ use gecko_bindings::structs::StyleBasicShapeType; use gecko_bindings::structs::StyleShapeSource; use ge...
4
176
102
d2e731e383e373097f82ee46a6ad1f6a1dcdd48d
Anthony Ramine
2017-09-20T10:17:12
servo: Merge #18573 - Introduce TaskOnce (from servo:TASKS); r=SimonSapin Source-Repo: https://github.com/servo/servo Source-Revision: 44c6bd9fa9594e7fd2a6576a4eab501a5838d113
diff --git a/script/dom/bindings/refcounted.rs b/script/dom/bindings/refcounted.rs index cdf80264e..45d7d7213 100644 --- a/script/dom/bindings/refcounted.rs +++ b/script/dom/bindings/refcounted.rs @@ -40,7 +40,7 @@ use std::marker::PhantomData; use std::os; use std::rc::Rc; use std::sync::{Arc, Weak}; -use task::Tas...
30
157
131
9aeb98ea13d1c90b4ddcb90ddeb113825f63feba
Bobby Holley
2017-09-20T07:05:57
servo: Merge #18571 - Add a geckolib API to check for primary style reuse (from bholley:primary_reuse_api); r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1401317 Source-Repo: https://github.com/servo/servo Source-Revision: 3cea16e18f125e3839af4dd3f064b4194fde4953
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 3487ec2f5..59c97a065 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -1936,6 +1936,11 @@ extern "C" { pub fn Servo_Element_IsDisplayNone(element: RawGeckoElementBorrowed) -> bool...
3
11
0
4ac1ef3011a75f95c7d7be7f5f36fde2404b2ac4
Nicholas Nethercote
2017-09-19T23:46:49
servo: Merge #18568 - Measure the UA cache (from nnethercote:bug-1400078); r=emilio This is the Servo PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1400078 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step...
diff --git a/style/applicable_declarations.rs b/style/applicable_declarations.rs index ffd2c8ea1..0824b60a0 100644 --- a/style/applicable_declarations.rs +++ b/style/applicable_declarations.rs @@ -36,6 +36,7 @@ const SOURCE_ORDER_MASK: u32 = (1 << SOURCE_ORDER_BITS) - 1; const SOURCE_ORDER_MAX: u32 = SOURCE_ORDER_MASK...
6
90
73
29461a1ad228ab6839978e185249fc37b7eac68e
Bobby Holley
2017-09-19T20:05:54
servo: Merge #18566 - Thread state fixes (from bholley:thread_state_fixes); r=Manishearth https://bugzilla.mozilla.org/show_bug.cgi?id=1400435 Source-Repo: https://github.com/servo/servo Source-Revision: c6381c66a0bc2b7cad14a808b000d0e38860c7f6
diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs index c9a80b7dd..64ef126b7 100644 --- a/layout_thread/lib.rs +++ b/layout_thread/lib.rs @@ -461,7 +461,8 @@ impl LayoutThread { ScaleFactor::new(opts::get().device_pixels_per_px.unwrap_or(1.0))); let configuration = - rayon::Con...
3
45
70
b52f2a8951b84d6273f148ade81c09e35380422d
Manish Goregaokar
2017-09-19T17:15:57
servo: Merge #18556 - Bump cssparser to 0.21.2 (from Manishearth:cssparserup); r=emilio try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=5efe06f4fdb11e540532b57368b78defb0bd7aa9 fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1401016 Source-Repo: https://github.com/servo/servo Source-Revision: 4f98a3f...
diff --git a/style/Cargo.toml b/style/Cargo.toml index a9f538149..440627821 100644 --- a/style/Cargo.toml +++ b/style/Cargo.toml @@ -36,7 +36,7 @@ atomic_refcell = "0.1" bitflags = "0.7" byteorder = "1.0" cfg-if = "0.1.0" -cssparser = "0.21.1" +cssparser = "0.21.2" encoding = {version = "0.2", optional = true} euc...
1
1
1
db9e5818f38986d35d0bdcd2937a64f247e85c48
Anthony Ramine
2017-09-19T16:06:19
servo: Merge #18520 - Continue to clean up HTMLMediaElement (from servo:media); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 5838c35140f2d380eba1e8e72e6025e66c165b21
diff --git a/script/dom/htmlmediaelement.rs b/script/dom/htmlmediaelement.rs index 59ebbd10a..594c0ea22 100644 --- a/script/dom/htmlmediaelement.rs +++ b/script/dom/htmlmediaelement.rs @@ -12,6 +12,8 @@ use dom::bindings::codegen::Bindings::HTMLMediaElementBinding::HTMLMediaElementC use dom::bindings::codegen::Binding...
1
301
250
5d38d9f3e680d81f8cbe2a00229157ad3f2646e6
Sebastian Hengst
2017-09-19T14:34:08
Backed out changeset 5d3fe46e02cc (bug 1400438) for crashing chrome test mobile/android/components/extensions/test/mochitest/test_ext_options_ui.html on Android. r=backout on a CLOSED TREE
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 568dbe36c..4043d31bf 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -71,6 +71,7 @@ use gecko_bindings::structs::StyleBasicShapeType; use gecko_bindings::structs::StyleShapeSource; use ge...
4
102
176
e0685dd46f4eaaac8823906e2b651004d61e8a0a
Boris Chiou
2017-09-19T09:33:36
servo: Merge #18559 - Make shape-outside animatable (from BorisChiou:stylo/animation/shape_outside); r=birtles We decide to make shape-outside animatable on Gecko, so let's do it on Servo. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fi...
diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs index 20eea91d8..665e68933 100644 --- a/style/properties/longhand/box.mako.rs +++ b/style/properties/longhand/box.mako.rs @@ -1856,7 +1856,7 @@ ${helpers.predefined_type( "generics::basic_shape::ShapeSource::None", prod...
1
1
1
c954637b52b51e5a4585ed1971ff05e40b55a1eb
Xidorn Quan
2017-09-19T07:10:25
servo: Merge #18557 - Use array instead of linked list for -moz-border-*-colors (from upsuper:moz-border-colors-array); r=heycam This is the Servo side change of [bug 1400438](https://bugzilla.mozilla.org/show_bug.cgi?id=1400438). Source-Repo: https://github.com/servo/servo Source-Revision: 0cec629a93e52803ab474c3f02...
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 4043d31bf..568dbe36c 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -71,7 +71,6 @@ use gecko_bindings::structs::StyleBasicShapeType; use gecko_bindings::structs::StyleShapeSource; use ge...
4
176
102
ae5cd7b2abce41152c2204a118d2ad8ad6975445
Glenn Watson
2017-09-19T06:02:47
servo: Merge #18554 - Update WR (implement blur filter, text-shadow blend fixes, frame output fix) (from glennw:update-wr-blur); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 0fa7505d61e69714ca9d138055dda83630c600a1
diff --git a/layout/webrender_helpers.rs b/layout/webrender_helpers.rs index 01ac99313..55f13d389 100644 --- a/layout/webrender_helpers.rs +++ b/layout/webrender_helpers.rs @@ -21,11 +21,13 @@ use webrender_api::{ExtendMode, LayoutTransform}; fn prim_info(local_rect: Rect<Au>, local_clip: Option<webren...
1
7
5
4c9fdd95ad98eaf844f68cfc0b5fc9b3642ba359
Bobby Holley
2017-09-19T04:58:53
servo: Merge #18555 - Add a Servo_IsWorkerThread API (from bholley:isworkerthread); r=upsuper https://bugzilla.mozilla.org/show_bug.cgi?id=1400435 Source-Repo: https://github.com/servo/servo Source-Revision: b081db1885fd30e0da614771b7013c7b38792cab
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 40645d492..4043d31bf 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -2929,6 +2929,9 @@ extern "C" { extern "C" { pub fn Servo_AssertTreeIsClean(root: RawGeckoElementBorrowed); } +ex...
1
3
0
7af8691af717df0e647e54f5dd4857d663a4c130
Alan Jeffrey
2017-09-18T21:54:54
servo: Merge #17862 - Implemented paint worklets drawing to a border (from asajeffrey:script-paint-worklet-border); r=pcwalton <!-- Please describe your changes on the following line: --> Allow paint worklets to draw to a border. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when t...
diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs index 80665f4ac..057966c10 100644 --- a/layout/display_list_builder.rs +++ b/layout/display_list_builder.rs @@ -43,7 +43,6 @@ use range::Range; use script_layout_interface::wrapper_traits::PseudoElementType; use servo_config::opts; use serv...
1
86
96
95e9295838fa737c45baed7e41325dc00601d8e8
Alan Jeffrey
2017-09-18T20:50:57
servo: Merge #18523 - Make pipeline ids non-zero so that optional ids take no extra space (from asajeffrey:pipeline-id-nonzero); r=mbrubeck <!-- Please describe your changes on the following line: --> Use the NonZero trait to reduce space usage of `Option<PipelineId>`. This needs a bump of serde to get https://githu...
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index 11cff035a..c3388da6f 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -6,6 +6,7 @@ use CompositionPipeline; use SendableFrameTree; use compositor_thread::{CompositorProxy, CompositorReceiver}; use compositor_thread::{In...
5
29
17
fd85cfaf49a6273fdcda83cc1157106f03ea245a
Boris Chiou
2017-09-18T10:23:36
servo: Merge #18517 - style: Clamp some filter functions to one if the values over 100% (from BorisChiou:stylo/filter/clamp); r=emilio For grayscale, invert, opacity, and sepia, "values of amount over 100% are allowed but UAs must clamp the values to 1" [1]-[4], so we clamp its value in the parser. [1] https://drafts...
diff --git a/style/values/specified/effects.rs b/style/values/specified/effects.rs index 9e96194b0..578f70d32 100644 --- a/style/values/specified/effects.rs +++ b/style/values/specified/effects.rs @@ -40,6 +40,30 @@ pub type Filter = GenericFilter<Angle, Factor, NonNegativeLength, Impossible>; #[cfg_attr(feature = "se...
3
62
4
dbc2451cd14ed8e54adf4c5d17d141667e8b5fc7
Mateusz Naściszewski
2017-09-18T09:18:17
servo: Merge #18506 - Fix issues with the combination of position:sticky and tables (from mrobinson:position-sticky-table); 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/layout/block.rs b/layout/block.rs index 6ecf6bc77..86e540b11 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -30,7 +30,7 @@ use app_units::{Au, MAX_AU}; use context::LayoutContext; use display_list_builder::{BlockFlowDisplayListBuilding, BorderPaintingMode}; -use display_list_builder::{DisplayList...
8
46
33
4fe970f7e19f3604cab954b55905ec919bee3b35
Nicholas Nethercote
2017-09-18T07:24:26
servo: Merge #18548 - Implement MallocSizeOf properly for SmallBitVec (from nnethercote:measure-smallbitvec); 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 appropri...
diff --git a/malloc_size_of/lib.rs b/malloc_size_of/lib.rs index 0a1415875..648273394 100644 --- a/malloc_size_of/lib.rs +++ b/malloc_size_of/lib.rs @@ -381,6 +381,16 @@ impl<T: MallocSizeOf> MallocConditionalSizeOf for Arc<T> { } } +impl MallocSizeOf for smallbitvec::SmallBitVec { + fn size_of(&self, ops: &...
1
10
4
eb191c78b3e3ecbfe285660ed10ddeb583cd1679
Nicholas Nethercote
2017-09-18T06:03:46
servo: Merge #18550 - Measure ImageValue objects (take 2) (from nnethercote:bug-1399758-take-2); r=heycam We have about 11,500 of these when loading gmail in a Stylo-enabled build, from SpecifiedUrls; the objects themselves account for about 1.3 MiB of memory, and the strings within them about 2.9 MiB. We also have a...
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index b5f03ce8b..40645d492 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -1004,6 +1004,10 @@ extern "C" { aURIString: ServoRawOffsetArc<RustString>) ->...
2
28
4
6d1437a5c4560af781f67b92246f6a68b6c85675
Nicholas Nethercote
2017-09-18T04:19:54
servo: Merge #18549 - Fix a panic in Stylo memory reporting (from nnethercote:fix-enclosing-crash); r=heycam `MallocSizeOfOps::enclosing_size_of_op` is an `Option<>` type, and the panic in question is caused by not providing a value in a case where it's needed for measuring a HashSet. HashMaps and HashSets are common...
diff --git a/malloc_size_of/lib.rs b/malloc_size_of/lib.rs index 671e4b9e1..0a1415875 100644 --- a/malloc_size_of/lib.rs +++ b/malloc_size_of/lib.rs @@ -82,9 +82,8 @@ pub struct MallocSizeOfOps { /// A function that returns the size of a heap allocation. size_of_op: VoidPtrToSizeFn, - /// Like `size_of_o...
2
10
8
108d82eff0c762f1668c0620d07307cafa48c024
Emilio Cobos Álvarez
2017-09-18T02:58:06
servo: Merge #18547 - style: Resolver cleanup and sharing by rule node fixes (from emilio:self-sharing); r=heycam See the individual commits for details. This is the only coherent story I have for crashes like: https://crash-stats.mozilla.com/report/index/bcdfe629-ca1f-4e4d-aa17-27f890170917 (And the fact that th...
diff --git a/style/data.rs b/style/data.rs index 575d18e55..8d9a982b8 100644 --- a/style/data.rs +++ b/style/data.rs @@ -284,13 +284,18 @@ impl ElementData { /// Returns this element's primary style as a resolved style to use for sharing. pub fn share_primary_style(&self) -> PrimaryStyle { - let prim...
5
119
113
1bdfc69c2857e681a024e172597be848d6d0d938
Emilio Cobos Álvarez
2017-09-17T20:12:46
servo: Merge #18525 - style: various serialization fixes (from emilio:border-spacing); r=nox This should close https://github.com/servo/servo/pull/18458, and fix https://bugzilla.mozilla.org/show_bug.cgi?id=1397619. Source-Repo: https://github.com/servo/servo Source-Revision: f95da332a388cc7a94ddfc363872f5c570c27885
diff --git a/layout/model.rs b/layout/model.rs index 0ea3a4be4..02cae69fa 100644 --- a/layout/model.rs +++ b/layout/model.rs @@ -474,8 +474,8 @@ pub fn specified_border_radius( containing_size: Size2D<Au>) -> Size2D<Au> { - let w = radius.0.width.to_used_value(containing_size.width); - let h = radius.0...
27
307
261
22bdeaa50e39207dd21f8609d24b73bbe1d1c682
Emilio Cobos Álvarez
2017-09-17T15:45:40
servo: Merge #18538 - stylo: Don't add a font-size dependency to the rule cache if the reference size is not our current style (from emilio:font-size-dep-correct); r=heycam We enter the Custom(..) code path from other random places, like to remove the relative lengths from a calc expression while zooming, or whatever ...
diff --git a/style/values/specified/length.rs b/style/values/specified/length.rs index c4da56cf6..3c7c8a722 100644 --- a/style/values/specified/length.rs +++ b/style/values/specified/length.rs @@ -132,11 +132,13 @@ impl FontRelativeLength { match *self { FontRelativeLength::Em(length) => { - ...
1
7
5
e8d814e88cacc4d928bf13b68d6b8760cab3700b
Simon Sapin
2017-09-17T13:32:23
servo: Merge #18541 - Upgrade to rustc 1.22.0-nightly (277476c4f 2017-09-16) (from servo:rustup); r=SimonSapin https://github.com/rust-lang/rust/pull/43017 Source-Repo: https://github.com/servo/servo Source-Revision: c28cf7490f2def7335c7c12e70e12e343eb1ec05
diff --git a/script/lib.rs b/script/lib.rs index 5ba671440..008f23826 100644 --- a/script/lib.rs +++ b/script/lib.rs @@ -6,6 +6,8 @@ #![feature(box_syntax)] #![feature(conservative_impl_trait)] #![feature(const_fn)] +#![feature(const_ptr_null)] +#![feature(const_ptr_null_mut)] #![feature(core_intrinsics)] #![featu...
1
2
0
aa4e63d53383e01608343c7f39e89ce5d668025f
Paul Rouget
2017-09-17T12:16:07
servo: Merge #18540 - Use BluetoothAdapter mock when bluetooth is disabled (from paulrouget:no_bt); r=nox Today, only the DOM API is disabled. When bluetooth is disabled, can we also disable bluetooth device code? Source-Repo: https://github.com/servo/servo Source-Revision: 06628d2f6090e069b3447ad1ff09a1158e0836ab
diff --git a/bluetooth/lib.rs b/bluetooth/lib.rs index c3e209772..ac41040fe 100644 --- a/bluetooth/lib.rs +++ b/bluetooth/lib.rs @@ -7,7 +7,6 @@ extern crate bitflags; extern crate bluetooth_traits; extern crate device; extern crate ipc_channel; -#[cfg(target_os = "linux")] extern crate servo_config; extern crate ...
1
6
2
718d3e057d6322df2176aa2c5f1d7138d1726a13
Sebastian Hengst
2017-09-16T13:47:19
Backed out changeset 616bd23b9896 (bug 1391145) for frequently failing mochitests layout/style/test/test_animations.html and layout/style/test/test_animations_omta.html on Linux x64. r=backout
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index 45a6bbebc..0b5f2972c 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -3084,17 +3084,8 @@ fn static_assert() { ${transform_function_arm("MatrixWithPercents", "matrix3d", ["number"] * 12...
4
20
198
200e38a5a6c3c464484843cc83f1475a6ed11a36
Brad Werth
2017-09-16T09:38:14
servo: Merge #18526 - Prevent aspect-ratio media queries from causing m… (from bradwerth:aspectOverflow); r=emilio …ultiplication overflow by extending values to u64. MozReview-Commit-ID: e4kfxMDvZh <!-- Please describe your changes on the following line: --> https://bugzilla.mozilla.org/show_bug.cgi?id=1399941 http...
diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs index 415700fef..2765547aa 100644 --- a/style/gecko/media_queries.rs +++ b/style/gecko/media_queries.rs @@ -752,7 +752,9 @@ impl Expression { (&BoolInteger(one), &BoolInteger(ref other)) => one.cmp(other), (&Float(one), &...
1
3
1
4e9645ae99f90e9b1fd76b544b66cab7b77e3ca4
Manish Goregaokar
2017-09-16T08:33:44
servo: Merge #18492 - stylo: Preserve variants of 2d translate/rotate/scale functions in computed transform (from Manishearth:stylo-translate); r=hiikezoe Necessary for the animation inspector to show the right thing. r=hiikezoe https://bugzilla.mozilla.org/show_bug.cgi?id=1391145 fixes bug 1391145 Source-Repo: htt...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index 0b5f2972c..45a6bbebc 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -3084,8 +3084,17 @@ fn static_assert() { ${transform_function_arm("MatrixWithPercents", "matrix3d", ["number"] * 12...
4
198
20
20a0b7cd0400c87ca3e71a43f4e5d5725180e38f
Bobby Holley
2017-09-16T07:09:20
servo: Merge #18532 - Undo #18497 in the MatchAndCascade case (from bholley:more_cache_insertion); r=emilio It's easy to construct examples where not inserting in those cases causes performance to get worse (for example, any long list of siblings that match the same selectors while having some non-effectual difference...
diff --git a/style/sharing/mod.rs b/style/sharing/mod.rs index d6d159a4b..a9c6a0618 100644 --- a/style/sharing/mod.rs +++ b/style/sharing/mod.rs @@ -554,11 +554,6 @@ impl<E: TElement> StyleSharingCache<E> { validation_data_holder: Option<&mut StyleSharingTarget<E>>, dom_depth: usize, ) { - ...
2
23
11
db03b006a1a0f35d0177f504d6bc2616b93576cd
Matt Brubeck
2017-09-16T02:22:37
servo: Merge #18511 - Update to smallbitvec 1.0.6 (from mbrubeck:always-be-updating); r=KiChjang Includes servo/smallbitvec#2, a performance fix that is useful for Stylo. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests...
diff --git a/style/Cargo.toml b/style/Cargo.toml index 34473f248..a9f538149 100644 --- a/style/Cargo.toml +++ b/style/Cargo.toml @@ -67,7 +67,7 @@ serde = {version = "1.0", optional = true, features = ["derive"]} servo_arc = { path = "../servo_arc" } servo_atoms = {path = "../atoms", optional = true} servo_config = ...
1
1
1
f86946e9207126a3e7635d813e87440375ea07c8
Emilio Cobos Álvarez
2017-09-16T01:21:25
servo: Merge #18531 - Reland #18519 (from emilio:body-quirk); r=heycam This relands #18519 as-is. It was backed-out because some Gecko changes hadn't landed yet, but I just pushed them in a way they wouldn't break the build. Source-Repo: https://github.com/servo/servo Source-Revision: 3d2dccf1f3e7bf99cb750ee9fd245c2...
diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs index d1eb7a1b2..a9596f099 100644 --- a/layout_thread/dom_wrapper.rs +++ b/layout_thread/dom_wrapper.rs @@ -547,6 +547,14 @@ impl<'le> TElement for ServoLayoutElement<'le> { }; extended_filtering(&element_lang, &*value) } + ...
8
110
56
3826151cd6e727e6773b2354dfd8a0399ee946d9
Martin Robinson
2017-09-16T00:00:24
servo: Merge #18510 - Properly handle stacking context collection for truncated fragments (from mrobinson:truncated-fragment-stacking-context-collection); r=emilio Before we did not properly descend intro truncated fragments when collecting stacking contexts. This change makes sure that we descend properly Fixes #182...
diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs index 4379de6e6..b54b74945 100644 --- a/layout/display_list_builder.rs +++ b/layout/display_list_builder.rs @@ -436,6 +436,10 @@ pub enum IdType { } pub trait FragmentDisplayListBuilding { + fn collect_stacking_contexts_for_blocklike_fr...
1
44
23
260b16a8145e4f7cbb1530fab1f774df12ce2bfb
Wes Kocher
2017-09-15T20:38:03
Backed out changeset 67769dac78c4 for busting builds CLOSED TREE MozReview-Commit-ID: 82QTBjYc0jC
diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs index a9596f099..d1eb7a1b2 100644 --- a/layout_thread/dom_wrapper.rs +++ b/layout_thread/dom_wrapper.rs @@ -547,14 +547,6 @@ impl<'le> TElement for ServoLayoutElement<'le> { }; extended_filtering(&element_lang, &*value) } - ...
8
56
110
a5052219701a9d5190de88a3f9c2ecd7cc737277
Matt Brubeck
2017-09-15T19:44:23
servo: Merge #18527 - Revert "Measure ImageValue objects." (from mbrubeck:revert); r=mbrubeck This reverts commit a185393ceea46f1e61dfd7134b589b150d6e27c3 (#18515). Source-Repo: https://github.com/servo/servo Source-Revision: fb00fc222a1fd4c3c664f3d5dfbe5cacecb0c681
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 8fcfc4518..7ea765215 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -1004,10 +1004,6 @@ extern "C" { aURIString: ServoRawOffsetArc<RustString>) ->...
2
4
28
93b7a5c1cdd1229d443f0f7417c13fa1c64acb07
Simon Sapin
2017-09-15T19:44:12
servo: Merge #18521 - Fix running `cargo test -p stylo_test` from repo root (from servo:cargotest); r=nox … in order to add it to Rust CI though https://github.com/rust-lang/rust/blob/master/src/tools/cargotest/main.rs Source-Repo: https://github.com/servo/servo Source-Revision: f1da967ef707bbc77f023daf28093201e96e19...
diff --git a/style/build_gecko.rs b/style/build_gecko.rs index 32ec46c13..caf4601a6 100644 --- a/style/build_gecko.rs +++ b/style/build_gecko.rs @@ -550,7 +550,8 @@ mod bindings { } fn generate_atoms() { - let script = Path::new(file!()).parent().unwrap().join("gecko").join("regen_atoms.py"); + ...
1
5
3
c4be375d1863f947a934317cb09de9836a58c9e9
Tom Tromey
2017-09-15T19:44:03
servo: Merge #18512 - Preserve sourceURL comment on style sheets (from tromey:preserve-style-sheet-source-url); r=SimonSapin In addition to the sourceMappingURL comment, there is a second special comment, "sourceURL", that can be used to set the "display name" of a style sheet for developer tools. This name is also u...
diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml index ac91c12a7..fbba07aed 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"} compositing = {path = "../compositing"} -cssparser =...
12
24
12
a62d4baa22a469a046aea4b3ff4ec34339e416e9
Emilio Cobos Álvarez
2017-09-15T19:43:55
servo: Merge #18519 - style: Implement the body text color quirk in a more straight-forward way (from emilio:body-quirk); r=heycam This avoids grabbing the body when values that inherit from the body, whatever that means, aren't under the body. In that case we'll get a semi-random value, but that's also mishandled by...
diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs index d1eb7a1b2..a9596f099 100644 --- a/layout_thread/dom_wrapper.rs +++ b/layout_thread/dom_wrapper.rs @@ -547,6 +547,14 @@ impl<'le> TElement for ServoLayoutElement<'le> { }; extended_filtering(&element_lang, &*value) } + ...
8
110
56
40c7e8163d982b4b50f81d2cf671b4c84075878c
Josh Matthews
2017-09-15T19:43:30
servo: Merge #18516 - Share specified URLs with Gecko (from jdm:stringshare); r=heycam This makes use of our Arc offset machinery to allow Gecko to store Arc<String> values and ensure there are used appropriately. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any erro...
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 5a7ec0bb7..93fe9d9e4 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -19,6 +19,7 @@ use gecko_bindings::structs::mozilla::MallocSizeOf; use gecko_bindings::structs::mozilla::OriginFlags; ...
4
174
41
3562bfdd1bb5b3caec8e40e68c7508a85fbbbda9
Emilio Cobos Álvarez
2017-09-15T19:43:18
servo: Merge #18509 - style: Share user agent cascade data across documents (from emilio:ua-sheet-share-cascade-data); r=SimonSapin Source-Repo: https://github.com/servo/servo Source-Revision: edff65a3b8f761513929b932eb7e9ea8b03aca79
diff --git a/servo_arc/lib.rs b/servo_arc/lib.rs index 9ed2801ac..49a04dea1 100644 --- a/servo_arc/lib.rs +++ b/servo_arc/lib.rs @@ -337,7 +337,7 @@ impl<T: ?Sized> Arc<T> { } #[inline] - fn is_unique(&self) -> bool { + pub fn is_unique(&self) -> bool { // We can use Relaxed here, but the jus...
4
432
202
437dbd8c0d83e29cc00d20c180d5c7fd813f5456
Sebastian Hengst
2017-09-15T08:01:35
Backed out changeset e2f8c9f76b71 for Hazard failure. r=backout
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index a5f1cd69f..5a7ec0bb7 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -1000,10 +1000,6 @@ extern "C" { extern "C" { pub fn Gecko_ImageValue_Create(aURI: ServoBundledURI) -> *mut ImageV...
2
4
28
6cda68a50c5566920ce7797f721c303e4a2f95ca
Nicholas Nethercote
2017-09-15T03:06:43
servo: Merge #18515 - Measure ImageValue objects (from nnethercote:bug-1399758); r=heycam We have about 11,500 of these when loading gmail in a Stylo-enabled build, from SpecifiedUrls; the objects themselves account for about 1.3 MiB of memory, and the strings within them about 2.9 MiB. We also have a very small numb...
diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs index 5a7ec0bb7..a5f1cd69f 100644 --- a/style/gecko/generated/bindings.rs +++ b/style/gecko/generated/bindings.rs @@ -1000,6 +1000,10 @@ extern "C" { extern "C" { pub fn Gecko_ImageValue_Create(aURI: ServoBundledURI) -> *mut ImageV...
2
28
4
c471ea53fb4daad8d46cc3fce739458eb0dda6c5
Anthony Ramine
2017-09-15T01:51:51
servo: Merge #18504 - Some minor HTMLMediaElement improvements (from servo:media); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 1b9a5ea7197cb59f48b2010895ad2a98fef08bc4
diff --git a/script/dom/htmlmediaelement.rs b/script/dom/htmlmediaelement.rs index 497d60898..bb70b39dd 100644 --- a/script/dom/htmlmediaelement.rs +++ b/script/dom/htmlmediaelement.rs @@ -8,7 +8,7 @@ use dom::attr::Attr; use dom::bindings::cell::DOMRefCell; use dom::bindings::codegen::Bindings::AttrBinding::AttrMeth...
1
83
62
f58c076aeb3fec23e28e50b7a1f25ff7dae5c8a0
Anthony Ramine
2017-09-14T23:17:55
servo: Merge #18503 - Simplify WorkerGlobalScope::process_event (from servo:globalism); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 42680374245c149b9bccc3ee5ea65f36d58c6d9e
diff --git a/script/dom/dedicatedworkerglobalscope.rs b/script/dom/dedicatedworkerglobalscope.rs index 8ea89562f..ce12696d9 100644 --- a/script/dom/dedicatedworkerglobalscope.rs +++ b/script/dom/dedicatedworkerglobalscope.rs @@ -29,7 +29,7 @@ use js::rust::Runtime; use msg::constellation_msg::TopLevelBrowsingContextId...
3
18
38
9a56e1f34ca35ab8b9945b1f10ea5b03d95ff9b7
Matt Brubeck
2017-09-14T21:48:48
servo: Merge #18466 - Bug 1398957 - Make LRUCache use a linked list to reduce memmoves (from mbrubeck:cache); r=SimonSapin https://bugzilla.mozilla.org/show_bug.cgi?id=1398957 Source-Repo: https://github.com/servo/servo Source-Revision: 49f753523ac0f062943923935ff6d1942554d2cc
diff --git a/style/Cargo.toml b/style/Cargo.toml index 3dc910a97..6120b9e81 100644 --- a/style/Cargo.toml +++ b/style/Cargo.toml @@ -32,7 +32,6 @@ gecko_debug = ["nsstring_vendor/gecko_debug"] [dependencies] app_units = "0.5.5" arrayvec = "0.3.20" -arraydeque = "0.2.3" atomic_refcell = "0.1" bitflags = "0.7" byte...
4
172
43
d7f95d53792a877be963755b78aebc6e49c1393f
Emilio Cobos Álvarez
2017-09-14T20:55:21
servo: Merge #18502 - style: Unify how servo and Gecko handle UA sheets (from emilio:ua-sheets-unify); r=simonsapin Source-Repo: https://github.com/servo/servo Source-Revision: 75e126f139197c447686242082d9e7f61ba92c3f
diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs index 15407b2ba..c9a80b7dd 100644 --- a/layout_thread/lib.rs +++ b/layout_thread/lib.rs @@ -136,7 +136,7 @@ use style::properties::PropertyId; use style::selector_parser::SnapshotMap; use style::servo::restyle_damage::{REFLOW, REFLOW_OUT_OF_FLOW, REPAINT, REPOS...
9
113
154
2c51c83f9dda41b1e2004060292ab048bd3e6320
Josh Matthews
2017-09-14T18:01:00
servo: Merge #18415 - More codesize reductions for generated code (from jdm:moar-codesize); r=SimonSapin Bloaty says this shaves off another 20kb from style::properties-based functions. The more limited Debug implementations enable sharing the property name strings between more functions, which saves on code size in t...
diff --git a/style/properties/helpers/animated_properties.mako.rs b/style/properties/helpers/animated_properties.mako.rs index 877109362..29ccd1d25 100644 --- a/style/properties/helpers/animated_properties.mako.rs +++ b/style/properties/helpers/animated_properties.mako.rs @@ -32,6 +32,7 @@ use selectors::parser::Select...
2
74
10
630f373d777da3d8abf27184024a0b8133f2c25e
Emilio Cobos Álvarez
2017-09-14T15:49:16
servo: Merge #18501 - style: Move DocumentCascadeData::add_stylesheet to CascadeData (from emilio:cascade-data-rebuild); r=nox More plumbing in preparation for isolating the UA stuff. Source-Repo: https://github.com/servo/servo Source-Revision: 2cbd27c83a6974f6d00ccd2873ff1914c3af0614
diff --git a/style/stylist.rs b/style/stylist.rs index d5ae300bb..c8e4fd929 100644 --- a/style/stylist.rs +++ b/style/stylist.rs @@ -62,6 +62,9 @@ pub type StylistSheet = ::stylesheets::DocumentStyleSheet; #[cfg(feature = "gecko")] pub type StylistSheet = ::gecko::data::GeckoStyleSheet; +type PrecomputedPseudoEleme...
1
193
194
1c35d3a0f3e313a23a47b108ce2753421badec67
Xidorn Quan
2017-09-14T11:28:16
servo: Merge #18498 - Use exhaustive match for cloning keyword value by default for property using enum class (from upsuper:enum-keyword-exhaustive); r=emilio rather than casting them to `u8` then do inexhaustive match. I don't see why we couldn't do this. Source-Repo: https://github.com/servo/servo Source-Revision:...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index 3a046010f..0b5f2972c 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -472,6 +472,7 @@ def set_gecko_property(ffi_name, expr): // as signed type when we have both signed/unsigned integer in ord...
9
11
21
264c98e15d0d075337d7cf44f4b85e6a6fefca53
Emilio Cobos Álvarez
2017-09-14T10:23:09
servo: Merge #18497 - style: Don't cache styles that got a cache hit on the second pass (from emilio:no-cache-if-cached); r=heycam This avoids doing wasted work, at least in the recascade case, and pretty likely in the other as well. Source-Repo: https://github.com/servo/servo Source-Revision: 988728e9d5c66e6bf2f9e0e...
diff --git a/style/sharing/mod.rs b/style/sharing/mod.rs index ec818add9..a9ea5f615 100644 --- a/style/sharing/mod.rs +++ b/style/sharing/mod.rs @@ -82,6 +82,7 @@ use smallvec::SmallVec; use std::marker::PhantomData; use std::mem; use std::ops::Deref; +use style_resolver::PrimaryStyle; use stylist::Stylist; mod ...
2
22
15