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 |
|---|---|---|---|---|---|---|---|
cc4641a3514ec2d86b91c0c4a5de6262e897b49d | Xidorn Quan | 2017-11-16T09:03:48 | servo: Merge #19237 - Use InvalidRule for nested rule list (from upsuper:error-nested-rule); r=emilio
This fixes [bug 1417548](https://bugzilla.mozilla.org/show_bug.cgi?id=1417548).
Apparently it makes no sense to have different error between top level rules and nested rules.
Source-Repo: https://github.com/servo/se... | diff --git a/style/stylesheets/rule_parser.rs b/style/stylesheets/rule_parser.rs
index 6fddada91..7437e76f7 100644
--- a/style/stylesheets/rule_parser.rs
+++ b/style/stylesheets/rule_parser.rs
@@ -331,7 +331,7 @@ impl<'a, 'b, R: ParseErrorReporter> NestedRuleParser<'a, 'b, R> {
Ok(rule) => rules.push(r... | 1 | 1 | 1 |
29bf8d4fa2123943e511256c6392e8e248d1794f | Emilio Cobos Álvarez | 2017-11-16T04:40:06 | servo: Merge #19230 - style: Move lru_cache to its own crate (from emilio:lru-cache); r=nox
One less crate pointlessly in components/.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6938b4f3ebcb7bea6c44081796b254a31e0df5cb | diff --git a/lru_cache/Cargo.toml b/lru_cache/Cargo.toml
deleted file mode 100644
index 7e8f0693f..000000000
--- a/lru_cache/Cargo.toml
+++ /dev/null
@@ -1,13 +0,0 @@
-[package]
-name = "lru_cache"
-version = "0.0.1"
-authors = ["The Servo Project Developers"]
-license = "MPL-2.0"
-publish = false # We should publish t... | 6 | 4 | 255 |
9f647fc3d6761c35b7ecd4d5a1473106295424ad | Anthony Ramine | 2017-11-16T02:58:46 | servo: Merge #19229 - Bump image and offscreen_gl_context (from servo:bumps); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 9ec17ca3470646d90eb3b66362e2a78d9ffec3b0 | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index bbcd3cb03..49298cdb7 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -20,7 +20,7 @@ gleam = "0.4"
ipc-channel = "0.9"
log = "0.3.5"
num-traits = "0.1.32"
-offscreen_gl_context = { version = "0.12", features = ["serde", "osmesa"] }
+offscreen_gl_conte... | 6 | 7 | 7 |
65a4e704a28f80f2ef7dd202c051086ae4025b23 | CYBAI | 2017-11-16T02:00:48 | servo: Merge #19220 - style: Move font-variant-east-asian outside of mako (from CYBAI:font-variant-east-asian-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19216
- [x] Thes... | diff --git a/style/macros.rs b/style/macros.rs
index c614a2292..236a03f1f 100644
--- a/style/macros.rs
+++ b/style/macros.rs
@@ -4,6 +4,16 @@
//! Various macro helpers.
+macro_rules! exclusive_value {
+ (($value:ident, $set:expr) => $ident:path) => {
+ if $value.intersects($set) {
+ return Err... | 6 | 269 | 148 |
a2a9293bec576d8114949bae571a6e2933ba3596 | Keith Yeung | 2017-11-15T22:08:49 | servo: Merge #18882 - Use the correct origin in fetch (from KiChjang:fix-origin); r=jdm
Fixes #18147.
Source-Repo: https://github.com/servo/servo
Source-Revision: c9884604e974937c45ca3dfc5afb23079536fd41 | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index 2c2bd877e..f43cd5916 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -118,7 +118,7 @@ pub fn main_fetch(request: &mut Request,
// TODO: handle upgrade to a potentially secure URL.
// Step 5.
- if should_be_blocked_due_to_bad_p... | 2 | 6 | 4 |
cb5c5a12f1300d3754b430f016fa717229a81dec | Simon Sapin | 2017-11-15T17:00:29 | servo: Merge #19227 - Work around "this expression will panic at run-time" warnings (from servo:array-warn); r=emilio
CC https://github.com/rust-lang/rust/issues/45850
Source-Repo: https://github.com/servo/servo
Source-Revision: 9863d514512aabbcfaeabba7e530b87f61a8d489 | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index b18b615bc..da74f191e 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -1331,13 +1331,11 @@ pub fn clone_transform_from_list(
self.gecko.${gecko_ffi_name}[1].set(v.vertical);
// transfo... | 1 | 9 | 9 |
1a87fe1c9e7daa073307f1eec3aed282ef66502a | Emilio Cobos Álvarez | 2017-11-15T15:22:14 | servo: Merge #19226 - style: Sprinkle some inline in trivial methods (from emilio:inline-qs); r=nox
These methods are instantiated by the Gecko library, and used during
querySelector, which means that they end up being super-hot in micro-benchmarks.
MozReview-Commit-ID: K1XJb0QyX5a
Source-Repo: https://github.com/ser... | diff --git a/selectors/matching.rs b/selectors/matching.rs
index 3d6eef886..58dc331c7 100644
--- a/selectors/matching.rs
+++ b/selectors/matching.rs
@@ -800,6 +800,7 @@ where
}
}
+#[inline(always)]
fn select_name<'a, T>(is_html: bool, local_name: &'a T, local_name_lower: &'a T) -> &'a T {
if is_html {
... | 3 | 28 | 0 |
2d26dfea11c47c45709df4bb18359b64d7b65067 | Emilio Cobos Álvarez | 2017-11-15T12:51:27 | servo: Merge #19164 - style: More traversal cleanup (from emilio:more-traversal-cleanup); r=nox
This is cleanup that allows me to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1415013 in a more straight-forward way.
Source-Repo: https://github.com/servo/servo
Source-Revision: d117694eccc8d8f89d14213e88a9931d3adee5... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index c9130ad5e..66ef28c8e 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -573,8 +573,14 @@ impl Document {
self.encoding.set(encoding);
}
- pub fn content_and_heritage_changed(&self, node: &Node, damage: NodeDamage) {
... | 6 | 67 | 179 |
752d4a0e9f9444793671924a0b1b016e2a978693 | Xidorn Quan | 2017-11-15T11:40:24 | servo: Merge #19222 - Serialize media rule and supports rule like Gecko (from upsuper:serialize-group-rule); r=emilio
This should fix [bug 1417207](https://bugzilla.mozilla.org/show_bug.cgi?id=1417207).
Source-Repo: https://github.com/servo/servo
Source-Revision: b2c19b15447b126cbcb4726fccb416675532dd11 | diff --git a/style/stylesheets/media_rule.rs b/style/stylesheets/media_rule.rs
index cce6dc2df..4c468b44c 100644
--- a/style/stylesheets/media_rule.rs
+++ b/style/stylesheets/media_rule.rs
@@ -46,12 +46,7 @@ impl ToCssWithGuard for MediaRule {
where W: fmt::Write {
dest.write_str("@media ")?;
sel... | 3 | 20 | 13 |
9d9867a940be06b485235384d714d895d154122f | Jon Leighton | 2017-11-15T10:08:24 | servo: Merge #19202 - Fire 'select' event in SetSelection{Start,End} (from jonleighton:issue-19171); r=KiChjang
See #19171.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2efbf2230a61a2fda1ecc4cd12618177d4ca50cd | diff --git a/script/dom/htmlinputelement.rs b/script/dom/htmlinputelement.rs
index 48a6110f5..78afb4630 100755
--- a/script/dom/htmlinputelement.rs
+++ b/script/dom/htmlinputelement.rs
@@ -574,9 +574,7 @@ impl HTMLInputElementMethods for HTMLInputElement {
// https://html.spec.whatwg.org/multipage/#dom-textarea/... | 1 | 29 | 16 |
09a750f614890459fb5523fa1f8aeb4a89c19cbe | Anthony Ramine | 2017-11-14T17:51:34 | servo: Merge #19152 - Include gecko-media in the dependency graph (from nox:media); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d7b4471c8080c0916277b967994bffcade759c3a | diff --git a/script/Cargo.toml b/script/Cargo.toml
index 76f8b1875..37c4dd10b 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -23,6 +23,9 @@ phf_codegen = "0.7.18"
phf_shared = "0.7.18"
serde_json = "1.0"
+[target.'cfg(all(any(target_os = "macos", target_os = "linux"), not(any(target_arch = "arm", target_... | 2 | 6 | 0 |
2f739ee16e0297f34b879af99c1a88972bba46bb | ddh | 2017-11-14T15:53:30 | servo: Merge #19218 - added navigation start for interactive metrics (from avadacatavra:nav-start); r=jdm
<!-- Please describe your changes on the following line: -->
follow up from #18670, fixing #19099
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and ... | diff --git a/metrics/lib.rs b/metrics/lib.rs
index 7e7cd9afd..bd2d488f1 100644
--- a/metrics/lib.rs
+++ b/metrics/lib.rs
@@ -40,6 +40,7 @@ pub trait ProgressiveWebMetric {
fn send_queued_constellation_msg(&self, name: ProgressiveWebMetricType, time: u64);
}
+/// TODO make this configurable
/// maximum task tim... | 3 | 18 | 3 |
0cc19c74af5c1b35562587c636a8349d65af5ddb | CYBAI | 2017-11-14T14:29:58 | servo: Merge #19214 - style: Move font-variation-settings outside of mako (from CYBAI:font-variation-settings-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19208
- [x] Thes... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 1f13ee06f..4defee919 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -1199,30 +1199,14 @@ variation_spec = """\
https://drafts.csswg.org/css-fonts-4/#low-level-font-var... | 5 | 22 | 26 |
145adb68f383e6a1ce0117c5bf3003d7aae06ca8 | Emilio Cobos Álvarez | 2017-11-14T13:27:28 | servo: Merge #19217 - style: Remove mozmm CSS unit (from emilio:bye-mozmm); r=heycam
Bug: 1416564
Reviewed-by: heycam
MozReview-Commit-ID: AU4CUq09tw4
Source-Repo: https://github.com/servo/servo
Source-Revision: d287ec8d3ee5af9e64979ec77894f218cae1b46d | diff --git a/style/values/computed/length.rs b/style/values/computed/length.rs
index ece797dd2..e55486299 100644
--- a/style/values/computed/length.rs
+++ b/style/values/computed/length.rs
@@ -36,9 +36,6 @@ impl ToComputedValue for specified::NoCalcLength {
length.to_computed_value(context.viewport_siz... | 4 | 1 | 92 |
db3451a00e868ffc4101d8f031e4f27903869ab1 | Imanol Fernandez | 2017-11-13T17:50:44 | servo: Merge #19192 - Set the correct Angle GLSL output when using WebGL 2 (from MortimerGoro:webgl2_glsl); r=jdm
Set the correct Angle GLSL output when using WebGL 2
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when t... | diff --git a/canvas/webgl_thread.rs b/canvas/webgl_thread.rs
index 383873ff7..106027523 100644
--- a/canvas/webgl_thread.rs
+++ b/canvas/webgl_thread.rs
@@ -91,13 +91,18 @@ impl<VR: WebVRRenderHandler + 'static, OB: WebGLThreadObserver> WebGLThread<VR,
match msg {
WebGLMsg::CreateContext(version, ... | 5 | 73 | 18 |
04eea94b6acde84dfb1a02313834d5873a6525d6 | CYBAI | 2017-11-13T16:20:22 | servo: Merge #19188 - style: Move font-language-override outside of mako (from CYBAI:font-language-override-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19187
- [x] These ... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 08310021c..1f13ee06f 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -1224,162 +1224,15 @@ https://drafts.csswg.org/css-fonts-4/#low-level-font-variation-settings-contro... | 5 | 157 | 158 |
9141c19b8250bedfdf289e1572c06d0af48fa71d | Emilio Cobos Álvarez | 2017-11-13T13:35:55 | servo: Merge #19198 - style: add accidentally removed deny(warnings) (from emilio:whoops); r=whoops
It was accidentally commented out in #19197 because I was developing on a Gecko
tree without #19162.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2d78751b80f5757e6d3ab739bdf5b2cff354affc | diff --git a/style/lib.rs b/style/lib.rs
index a087a1fea..b7a7a0ecb 100644
--- a/style/lib.rs
+++ b/style/lib.rs
@@ -23,7 +23,7 @@
//! [cssparser]: ../cssparser/index.html
//! [selectors]: ../selectors/index.html
-// #![deny(warnings)]
+#![deny(warnings)]
#![deny(missing_docs)]
// FIXME(bholley): We need to bla... | 1 | 1 | 1 |
ff384b558fbbc22a32b09734287daff257b6525f | Emilio Cobos Álvarez | 2017-11-13T02:06:12 | servo: Merge #19194 - stylo: Bring back support for calc() in media-queries (from emilio:media-query-calc); r=Manishearth
Bug: 1396057
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 4970b5d1544fe8f33287b01540e972a639baa689 | diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs
index 625802eec..205a6ca09 100644
--- a/style/gecko/media_queries.rs
+++ b/style/gecko/media_queries.rs
@@ -18,7 +18,7 @@ use gecko_bindings::structs::{nsMediaExpression_Range, nsMediaFeature};
use gecko_bindings::structs::{nsMediaFeature_ValueTy... | 2 | 51 | 59 |
9f864f66ca39439bc6d51a23545909b5ea3c8071 | tigercosmos | 2017-11-12T23:24:33 | servo: Merge #19127 - scroll, SetScrollTop, SetScrollLeft in `element.rs` (from tigercosmos:overflow10); r=emilio
<!-- Please describe your changes on the following line: -->
Currently dom-element-scroll have not finished yet. (Step 10)
This PR finish the step 10 of `scroll`, `SetScrollTop`, `SetScrollLeft`
[Step 10 ... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 3d423b6ea..b11498e28 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -362,6 +362,19 @@ impl Element {
!self.overflow_y_is_visible()
}
+ // https://drafts.csswg.org/cssom-view/#scrolling-box
+ fn has_scrolling_box(&s... | 1 | 48 | 3 |
40e35b25c754e1cff93bd6d776db20ff1e8a6fef | Xidorn Quan | 2017-11-12T19:04:22 | servo: Merge #19141 - Implement -moz-window-transform{,-origin} internal properties (from upsuper:window-transform); r=emilio
This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178).
Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Speci... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 022507fdc..6cd1b509b 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -979,6 +979,400 @@ def set_gecko_property(ffi_name, expr):
}
</%def>
+<%
+transform_functions = [
+ ("Matrix3D", "matrix3... | 8 | 454 | 398 |
ad0c6876d85e8bed195e12536b431d7216555982 | Emilio Cobos Álvarez | 2017-11-12T15:41:04 | servo: Merge #19186 - style: Derive more stuff (from emilio:derive-more-stuff); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: fad4d7ae49140b8919f9b823542b440aeb0ecc9e | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index c8c2f043b..cda9f31d8 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -1315,14 +1315,14 @@ impl FragmentDisplayListBuilding for Fragment {
LineDirection::Angle(angle) => angle.radians(),
... | 15 | 169 | 258 |
cc65e248ec8a72790d7476a27f89b902b87a9425 | CYBAI | 2017-11-10T23:49:15 | servo: Merge #19167 - style: Move font-variant-alternates outside of mako (from CYBAI:font-variant-alternates-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19166 (github i... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 03d7cc469..022507fdc 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2402,7 +2402,7 @@ fn static_assert() {
<% impl_simple_type_with_conversion("font_language_override", "mFont.languageOverride")... | 6 | 317 | 205 |
ef0e2094a2094c51c339d36554669c3a52e4cdc5 | Matt Brubeck | 2017-11-10T19:50:14 | servo: Merge #19181 - Remove unused -t command-line flag (from mbrubeck:opts); r=emilio
A little bit was left over from #16716.
- [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 they only remove unused code
Source-R... | diff --git a/config/opts.rs b/config/opts.rs
index 0cd11825b..76edf2cbe 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -569,7 +569,6 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
opts.optopt("o", "output", "Output file", "output.png");
opts.optopt("s", "size", "Size of tiles", "... | 1 | 0 | 1 |
41a23ad14bd0ac6b7643a122b33f81042d285ee5 | Emilio Cobos Álvarez | 2017-11-10T14:47:50 | servo: Merge #19175 - script: Call content_and_heritage_changed from children_changed instead of add_child / remove_child (from emilio:children-changed); r=nox
add_child / remove_child aren't called when a node character data changed. This
is important for finer grained invalidation.
The only test that tests this is ... | diff --git a/script/dom/node.rs b/script/dom/node.rs
index 8f29298a4..ff69e2ae2 100644
--- a/script/dom/node.rs
+++ b/script/dom/node.rs
@@ -266,8 +266,6 @@ impl Node {
debug_assert!(!node.get_flag(NodeFlags::HAS_DIRTY_DESCENDANTS));
vtable_for(&&*node).bind_to_tree(parent_in_doc);
}
... | 1 | 1 | 5 |
eff78db4f1fcd820d679c1c7ae9e92346d02acfb | Emilio Cobos Álvarez | 2017-11-10T13:28:29 | servo: Merge #19176 - layout: Fixup indentation of ThreadSafeLayoutNodeHelpers::flags (from emilio:indentation-fixup); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 26ff6111ffb820993bc0e0468565ff66c6ca16e2 | diff --git a/layout/wrapper.rs b/layout/wrapper.rs
index de1eafe26..4eba8b88a 100644
--- a/layout/wrapper.rs
+++ b/layout/wrapper.rs
@@ -98,7 +98,7 @@ pub trait ThreadSafeLayoutNodeHelpers {
impl<T: ThreadSafeLayoutNode> ThreadSafeLayoutNodeHelpers for T {
fn flags(self) -> LayoutDataFlags {
- self.b... | 1 | 1 | 1 |
09b0375aeb884450a05df57d3e911096be86cc0a | CYBAI | 2017-11-10T04:13:51 | servo: Merge #19165 - style: Move font-synthesis outside of mako (from CYBAI:font-synthesis-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19160 (github issue number if app... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 528f19ce6..acf9cf334 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -642,92 +642,13 @@ ${helpers.predefined_type("font-size-adjust",
flags="A... | 5 | 99 | 89 |
3e575e9f079c126269a51709c3449d2242512e29 | Keith Yeung | 2017-11-10T00:35:07 | servo: Merge #18262 - Implement value sanitization on HTMLInputElement (from KiChjang:value-sanitization); r=nox
https://html.spec.whatwg.org/multipage/input.html#value-sanitization-algorithm
Source-Repo: https://github.com/servo/servo
Source-Revision: 338e2ae5206d5270a6feaf7adbb8279fe25040e2 | diff --git a/script/dom/bindings/str.rs b/script/dom/bindings/str.rs
index 60b8d6183..3667dddf9 100644
--- a/script/dom/bindings/str.rs
+++ b/script/dom/bindings/str.rs
@@ -185,6 +185,29 @@ impl DOMString {
pub fn bytes(&self) -> Bytes {
self.0.bytes()
}
+
+ /// Removes newline characters accordin... | 4 | 70 | 4 |
29a4bc1cab6eafbf7f6f766f00830ddef408c2e2 | Glenn Watson | 2017-11-09T23:28:07 | servo: Merge #19169 - Update WR (dotted border fix, better AA for split primitives) (from glennw:update-ww-aa-dots); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a1331169f6113440de37cade877ae799f72e4053 | diff --git a/layout/webrender_helpers.rs b/layout/webrender_helpers.rs
index 9a9e3bc8c..3f7940aad 100644
--- a/layout/webrender_helpers.rs
+++ b/layout/webrender_helpers.rs
@@ -260,6 +260,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
// TODO(gw): Make use of the WR backface visibility functiona... | 1 | 1 | 0 |
8c5ff86b6fc939eb3707d560811db1a2f1025bcb | Simon Sapin | 2017-11-09T16:00:38 | servo: Merge #19128 - Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) (from servo:asciiext); r=nox
This fixes some new warnings, some of which (in `style`) are treated as errors. See https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/13726
Source-Repo: ht... | diff --git a/gfx/font.rs b/gfx/font.rs
index 4623784c5..bfeedef5f 100644
--- a/gfx/font.rs
+++ b/gfx/font.rs
@@ -10,7 +10,6 @@ use platform::font::{FontHandle, FontTable};
use platform::font_context::FontContextHandle;
use platform::font_template::FontTemplateData;
use smallvec::SmallVec;
-use std::ascii::AsciiExt;
... | 25 | 0 | 25 |
e4a357ded92e06494ef196fc147200de57f3f659 | Emilio Cobos Álvarez | 2017-11-09T14:25:25 | servo: Merge #19163 - style: Remove the skip_applying_damage "optimization" (from emilio:useless-opt); r=nox
We already remove all change hints down the tree when finding a reframe hint
using ClearServoRestyleFromSubtree in ServoRestyleManager, so this is useless.
MozReview-Commit-ID: 1twx7iPt79x
Source-Repo: https:/... | diff --git a/style/data.rs b/style/data.rs
index b76746eec..f498aa556 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -466,20 +466,6 @@ impl ElementData {
self.is_restyle() || !self.hint.is_empty() || !self.damage.is_empty()
}
- /// If an ancestor is already getting reconstructed by Gecko's top-dow... | 2 | 1 | 20 |
dec249601d26b07100b7733ef47491d1ae7d1b59 | Simon Sapin | 2017-11-09T12:49:29 | servo: Merge #19162 - Allow unused imports for AsciiExt in style code (from emilio:ascii-ext); r=emilio
See #19128, this part is cherry-picked so Gecko can build with rust nightly.
Source-Repo: https://github.com/servo/servo
Source-Revision: e7a654dd13f589e127193267bcb576ffd661c11d | diff --git a/selectors/attr.rs b/selectors/attr.rs
index 15e732e17..8ef4365d7 100644
--- a/selectors/attr.rs
+++ b/selectors/attr.rs
@@ -4,7 +4,7 @@
use cssparser::ToCss;
use parser::SelectorImpl;
-use std::ascii::AsciiExt;
+#[allow(unused_imports)] use std::ascii::AsciiExt;
use std::fmt;
#[derive(Clone, Eq, Pa... | 23 | 25 | 25 |
acd21391fb9004d2d8512620c681616faac944b3 | Alan Jeffrey | 2017-11-08T17:45:05 | servo: Merge #19138 - Rename js crate to mozjs (from asajeffrey:script-rename-js-dependency-to-mozjs); r=jdm
<!-- Please describe your changes on the following line: -->
This PR renames the `js` dependency to `mozjs', ready for when https://github.com/servo/rust-mozjs/pull/377 lands.
---
<!-- Thank you for contribut... | diff --git a/malloc_size_of/Cargo.toml b/malloc_size_of/Cargo.toml
index bad3b277a..38dc0cabf 100644
--- a/malloc_size_of/Cargo.toml
+++ b/malloc_size_of/Cargo.toml
@@ -9,14 +9,14 @@ publish = false
path = "lib.rs"
[features]
-servo = ["js", "string_cache", "url", "webrender_api", "xml5ever"]
+servo = ["mozjs", "st... | 4 | 7 | 7 |
687e81924e918b009a5456c5821ff8cb7295298d | CYBAI | 2017-11-08T15:52:37 | servo: Merge #19153 - style: Move font-size-adjust outside of mako (from CYBAI:font-size-adjust-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19151 (github issue number if... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index c9e2a4fff..63f385214 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -633,123 +633,14 @@ ${helpers.predefined_type("font-size",
flags="APPLIES... | 5 | 135 | 121 |
89e474082bf2dd72007017227655b71283a8a8cc | Emilio Cobos Álvarez | 2017-11-08T13:28:47 | servo: Merge #19149 - style: minor cleanups (from emilio:random-cleanup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: cbf2ac35f7ba4188f20ba20284d5c218280537d7 | diff --git a/style/gecko/pseudo_element.rs b/style/gecko/pseudo_element.rs
index 0a3d4647e..8da1c2832 100644
--- a/style/gecko/pseudo_element.rs
+++ b/style/gecko/pseudo_element.rs
@@ -160,12 +160,11 @@ impl PseudoElement {
/// Whether this pseudo-element should actually exist if it has
/// the given styles... | 2 | 4 | 10 |
f621ed732ee1969aaa17a18cd73225b5b04ddb9b | CYBAI | 2017-11-08T10:05:47 | servo: Merge #19119 - style: Move font-size outside of mako (from CYBAI:font-size-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19111 (github issue number if applicable).
... | diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs
index 1dd6e5aa0..95a4ec2e4 100644
--- a/style/gecko/media_queries.rs
+++ b/style/gecko/media_queries.rs
@@ -20,7 +20,6 @@ use gecko_bindings::structs::{nsPresContext, RawGeckoPresContextOwned};
use media_queries::MediaType;
use parser::ParserCon... | 10 | 169 | 158 |
128cd21b8a96fdcb9b75c356d090058459d14bd5 | Emilio Cobos Álvarez | 2017-11-08T05:44:17 | servo: Merge #19139 - style: Get rid of parse_specified (from emilio:bye-parse-specified); r=jdm
It has a single use, and I don't think we should use it in the future.
Source-Repo: https://github.com/servo/servo
Source-Revision: 4a2103b9e600a3b372d2770669b3f9f597d1e4b3 | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index 74df70469..6b05d8087 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -402,14 +402,10 @@
% endif
}
% if not property.derived_from:
- pub fn parse_specif... | 3 | 39 | 30 |
0fd34841d87786a982c1e45e294c881109d5c64a | Paul Rouget | 2017-11-07T16:44:51 | servo: Merge #19135 - do not pass new size to Resize event (from paulrouget:resize); r=mbrubeck
It's not necessary to pass the new size to the resize event as it can be retrieved via `WindowMethods::framebuffer_size()`.
From the perspective of the embedder, that makes things a bit easier.
Source-Repo: https://github... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 920b7aaa5..28bb0a524 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -647,8 +647,8 @@ impl<Window: WindowMethods> IOCompositor<Window> {
}
}
- pub fn on_resize_window_event(&mut self, new_size: DeviceUi... | 3 | 7 | 7 |
4459914c6620eff33fa01a2b02f702277367b6f3 | Emilio Cobos Álvarez | 2017-11-07T13:29:15 | servo: Merge #19136 - style: respect allow_quirks for boxed properties (from emilio:allow-quirks-box); r=SimonSapin
This will unblock #19119
Source-Repo: https://github.com/servo/servo
Source-Revision: 254c659250e4dacdee5897399a651649cec80c4a | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index 559034078..74df70469 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -402,22 +402,30 @@
% endif
}
% if not property.derived_from:
- pub fn parse_specif... | 1 | 21 | 13 |
1ee486fd1f61445f3b99efb0228ffd898c6dcacf | Andreea Pavel | 2017-11-07T06:47:36 | Backed out changeset d77275db6419 (bug 1374178) for failure reftests/transform-3d/translatez-1a.html r=backout a=backout on a CLOSED TREE | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index e362f324d..b79fd2aeb 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -978,395 +978,6 @@ def set_gecko_property(ffi_name, expr):
}
</%def>
-<%
-transform_functions = [
- ("Matrix3D", "matrix3... | 8 | 399 | 450 |
be6f256f29e8492454690b18e4bf94ffb8a52eb3 | Glenn Watson | 2017-11-07T05:04:20 | servo: Merge #19130 - Update WR (blur and subpixel text optimizations, recording fix) (from glennw:update-wr-blur-subpx); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b892ee0ee1ee55ed189347e0ef528edfaa74f61 | diff --git a/layout/webrender_helpers.rs b/layout/webrender_helpers.rs
index 4f491aa91..9a9e3bc8c 100644
--- a/layout/webrender_helpers.rs
+++ b/layout/webrender_helpers.rs
@@ -549,6 +549,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
sticky_data.margins,
... | 1 | 1 | 0 |
c8b61dbe1b13bb16fb3a3048b67d45c60d289995 | Xidorn Quan | 2017-11-06T23:46:51 | servo: Merge #19106 - Implement -moz-window-transform{,-origin} internal properties (from upsuper:window-transform); r=emilio
This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178).
Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Speci... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index b79fd2aeb..e362f324d 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -978,6 +978,395 @@ def set_gecko_property(ffi_name, expr):
}
</%def>
+<%
+transform_functions = [
+ ("Matrix3D", "matrix3... | 8 | 450 | 399 |
99bd05a2eb939568d6d3a41e2ab2b2de6d651bc8 | Emilio Cobos Álvarez | 2017-11-06T15:37:14 | servo: Merge #19126 - style: Introduce SourceSizeList (from emilio:source-size-list); r=nox
This is part of the work for https://bugzilla.mozilla.org/show_bug.cgi?id=1408308.
But this can just land now IMO, before I do the integration bits.
Source-Repo: https://github.com/servo/servo
Source-Revision: 0047c77f0374ec7... | diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs
index 71f46178c..1dd6e5aa0 100644
--- a/style/gecko/media_queries.rs
+++ b/style/gecko/media_queries.rs
@@ -10,7 +10,6 @@ use context::QuirksMode;
use cssparser::{CssStringWriter, Parser, RGBA, Token, BasicParseErrorKind};
use euclid::ScaleFacto... | 6 | 142 | 69 |
9ac7545ab088ec026250983f2b8bd62cc0482ca1 | tigercosmos | 2017-11-06T12:50:13 | servo: Merge #19115 - fix overflow_y_is_visible() in `element.rs` (from tigercosmos:overflow); r=jdm
<!-- Please describe your changes on the following line: -->
I think the original logic of `overflow_y_is_visible()` might be wrong.
So fix it to the correct logic, and also pass more tests.
---
<!-- Thank you for con... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 5da839424..a56e16356 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -109,7 +109,8 @@ use style::dom_apis;
use style::element_state::ElementState;
use style::invalidation::element::restyle_hints::RestyleHint;
use style::properties::{I... | 1 | 3 | 2 |
42ac681f2af3d5fe006e61c5caebfae1331a75be | Emilio Cobos Álvarez | 2017-11-04T10:36:17 | servo: Merge #19113 - Reland #19108, because it was backed out before its Gecko-side patches could land (from emilio:qsa); r=xidorn,bz
Source-Repo: https://github.com/servo/servo
Source-Revision: 0f5325d0a7e9b3039c7d5b5f9de5cd2511207d9a | diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs
index 6433b9f16..ebf7d12cb 100644
--- a/layout_thread/dom_wrapper.rs
+++ b/layout_thread/dom_wrapper.rs
@@ -213,6 +213,10 @@ impl<'ln> TNode for ServoLayoutNode<'ln> {
unsafe { self.node.get_flag(NodeFlags::CAN_BE_FRAGMENTED) }
}
+... | 7 | 344 | 52 |
909bda40e95657b38f4147bfe7e029c208d52af3 | Sebastian Hengst | 2017-11-03T23:55:25 | Backed out changeset dbd300f4d75b for build bustage. r=backout on a CLOSED TREE | diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs
index ebf7d12cb..6433b9f16 100644
--- a/layout_thread/dom_wrapper.rs
+++ b/layout_thread/dom_wrapper.rs
@@ -213,10 +213,6 @@ impl<'ln> TNode for ServoLayoutNode<'ln> {
unsafe { self.node.get_flag(NodeFlags::CAN_BE_FRAGMENTED) }
}
-... | 7 | 52 | 344 |
fed86c1e1c178463b8481a490490a9265baa3bb3 | Emilio Cobos Álvarez | 2017-11-03T19:27:34 | servo: Merge #19108 - stylo: querySelector{,All} optimizations (from emilio:qsa); r=xidorn,bz
Bug: 1410624
Source-Repo: https://github.com/servo/servo
Source-Revision: a0cd781bdcdfa9db8b33632f0117e4d835ea1892 | diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs
index 6433b9f16..ebf7d12cb 100644
--- a/layout_thread/dom_wrapper.rs
+++ b/layout_thread/dom_wrapper.rs
@@ -213,6 +213,10 @@ impl<'ln> TNode for ServoLayoutNode<'ln> {
unsafe { self.node.get_flag(NodeFlags::CAN_BE_FRAGMENTED) }
}
+... | 7 | 344 | 52 |
72988b1a676d2e9c9e214e2f7a48dcbd01d9d4b7 | CYBAI | 2017-11-03T16:09:39 | servo: Merge #19101 - style: Move font -moz-script-level outside of mako (from CYBAI:moz-script-level-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19068 (github issue numb... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index a7e433642..b79fd2aeb 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2397,6 +2397,7 @@ fn static_assert() {
self.copy__x_lang_from(other)
}
+ ${impl_simple("_moz_script_level", "mSc... | 6 | 84 | 78 |
740c7534ba45346bff46ee6bc6c4c2841a79697c | Imanol Fernandez | 2017-11-02T20:52:42 | servo: Merge #19091 - Add WebGL conformance 2.0.0 tests (from MortimerGoro:webgl2_suite); r=jdm
<!-- Please describe your changes on the following line: -->
This PR includes WebGL conformance 2.0.0 tests. For now I have disabled three folders in the new suite:
- `Conformance`: Tests WebGL 1.0 API like the current 1.0... | diff --git a/script/dom/webgl2renderingcontext.rs b/script/dom/webgl2renderingcontext.rs
index 6f2cd3628..168f11463 100644
--- a/script/dom/webgl2renderingcontext.rs
+++ b/script/dom/webgl2renderingcontext.rs
@@ -909,6 +909,7 @@ impl WebGL2RenderingContextMethods for WebGL2RenderingContext {
impl LayoutCanvasWebGLRend... | 1 | 2 | 1 |
c46d0e6b86ca12a91eeeeda42e3c1812e1d4167e | Simon Sapin | 2017-11-02T14:28:13 | servo: Merge #19098 - Make the unrooted_must_root conditional on a default Cargo feature (from servo:minimal-plugin); r=jdm
Only http://perf.rust-lang.org/ will disable it, in order to be less subject to changes to rustc internal APIs.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7f2ac4c559a2ff99ed757... | diff --git a/script/Cargo.toml b/script/Cargo.toml
index 299a25f88..9523dc628 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -14,6 +14,8 @@ path = "lib.rs"
[features]
debugmozjs = ['js/debugmozjs']
unstable = ["servo_allocator/unstable"]
+unrooted_must_root_lint = ["script_plugins/unrooted_must_root_lint"... | 4 | 15 | 1 |
df087e98941031367a6bb80b04c54bd2602a01c7 | Henri Sivonen | 2017-11-02T12:38:47 | servo: Merge #19096 - Avoid decoding XHR type="json" responses as UTF-16BE/LE (from hsivonen:no-utf16-json); r=avadacatavra
https://infra.spec.whatwg.org/#parse-json-from-bytes says to use
"UTF-8 decode" rather than "decode", so UTF-16BE/LE BOM should
not be honored.
CC @SimonSapin
<!-- Please describe your changes ... | diff --git a/script/dom/xmlhttprequest.rs b/script/dom/xmlhttprequest.rs
index a20d8c90f..81133ea6b 100644
--- a/script/dom/xmlhttprequest.rs
+++ b/script/dom/xmlhttprequest.rs
@@ -1164,8 +1164,8 @@ impl XMLHttpRequest {
return NullValue();
}
// Step 4
- fn decode_to_utf16(bytes: &... | 1 | 8 | 3 |
489e407ff22a4a3d3fc01b735d6c6c97686939e0 | Connor Brewster | 2017-11-02T00:37:45 | servo: Merge #19093 - style: Cleanup font-weight parsing (from cbrewster:font_weight_cleanup); r=emilio
Followup for #19086
Source-Repo: https://github.com/servo/servo
Source-Revision: edb2db55b7fd72370a90fc65c5984d6b7e0f792f | diff --git a/style/values/computed/font.rs b/style/values/computed/font.rs
index 13cd36173..b183f0715 100644
--- a/style/values/computed/font.rs
+++ b/style/values/computed/font.rs
@@ -5,10 +5,8 @@
//! Computed values for font properties
use app_units::Au;
-use cssparser::Parser;
-use parser::{Parse, ParserContext}... | 2 | 29 | 32 |
49e95166e5fd8539e730bb1415505ca9b2a4206a | ddh | 2017-11-01T21:56:06 | servo: Merge #19077 - changed f64 to u64 for navigation start timing until it had to be float (from avadacatavra:floats-are-the-actual-worst); 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, ... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index cd9f2b2b2..920b7aaa5 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -1311,7 +1311,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
// we get the current time, inform the layout thread about it and remove ... | 11 | 55 | 55 |
390c20adba0441ff0f67073a093e6f277c0590c7 | Connor Brewster | 2017-11-01T20:12:59 | servo: Merge #19086 - style: Move font-weight outside of mako (from cbrewster:font_weight_nomako); 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: -... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 290df5d49..aaa51dac3 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -616,170 +616,13 @@ ${helpers.single_keyword_system("font-variant-caps",
... | 5 | 168 | 167 |
2c2416e967e704ddac743fad3c7910ccfc5e313e | Simon Sapin | 2017-11-01T13:52:45 | servo: Merge #19083 - Fix new failure in Nightly 2017-11-01 (from servo:vis); r=SimonSapin
The rustc::declare_lints! macro started using a :vis fragment specifier.
Source-Repo: https://github.com/servo/servo
Source-Revision: b23131abf1528ab47602881fe5dbcbdc16f2b76a | diff --git a/script_plugins/lib.rs b/script_plugins/lib.rs
index c4b5601b8..a929f394c 100644
--- a/script_plugins/lib.rs
+++ b/script_plugins/lib.rs
@@ -15,6 +15,7 @@
#![deny(unsafe_code)]
+#![feature(macro_vis_matcher)]
#![feature(plugin)]
#![feature(plugin_registrar)]
#![feature(rustc_private)] | 1 | 1 | 0 |
78df69c96ffb17b59610f432f338fe9d0fb604c3 | Bastien Orivel | 2017-11-01T12:57:04 | servo: Merge #19082 - Remove a workaround for https://github.com/rust-lang/rfcs/issues/718 (from Eijebong:fixme_issue_718); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: fa93a79ed0c93f88e7fc6473da378eadaabe7b1a | diff --git a/script/dom/bindings/proxyhandler.rs b/script/dom/bindings/proxyhandler.rs
index 67c68927c..a604a34e3 100644
--- a/script/dom/bindings/proxyhandler.rs
+++ b/script/dom/bindings/proxyhandler.rs
@@ -20,8 +20,7 @@ use js::jsapi::GetStaticPrototype;
use js::jsapi::JS_GetPropertyDescriptorById;
use js::jsapi::... | 1 | 2 | 7 |
727c6c0f5c76f4bbe598bab53bbbc3e9fa764708 | Simon Sapin | 2017-11-01T11:37:54 | servo: Merge #19073 - Use encoding-rs instead of rust-encoding (from servo:encoding-rs); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 994ff4b66ee51bbfae431af0ca99497b38fb0e19 | diff --git a/script/Cargo.toml b/script/Cargo.toml
index 1056eba11..299a25f88 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -39,7 +39,7 @@ deny_public_fields = {path = "../deny_public_fields"}
devtools_traits = {path = "../devtools_traits"}
dom_struct = {path = "../dom_struct"}
domobject_derive = {path =... | 13 | 119 | 145 |
703def0c4fde22110920ddd15792f0c0257704bc | Jacqueline Outka | 2017-11-01T03:48:18 | servo: Merge #19078 - Fixes #19063 (from outkaj:master); r=KiChjang
This PR renames the unused variables mentioned in issue #19063.
- [X] `./mach build --release` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] These changes fix #19063
- [X] This change does not require a test be... | diff --git a/metrics/lib.rs b/metrics/lib.rs
index 471f954e2..472644489 100644
--- a/metrics/lib.rs
+++ b/metrics/lib.rs
@@ -227,7 +227,7 @@ impl ProgressiveWebMetric for InteractiveMetrics {
self.navigation_start = Some(time);
}
- fn send_queued_constellation_msg(&self, name: ProgressiveWebMetricTyp... | 1 | 1 | 1 |
0156566a142adc04457669035f47539cd53ef17b | Imanol Fernandez | 2017-10-31T21:14:59 | servo: Merge #19040 - Add support for filtering WebGL extensions based on WebGL version (from MortimerGoro:webgl2_extensions); r=emilio
<!-- Please describe your changes on the following line: -->
Add support for filtering WebGL extensions based on WebGL version
---
<!-- Thank you for contributing to Servo! Please r... | diff --git a/canvas_traits/webgl.rs b/canvas_traits/webgl.rs
index b05be15d5..a6082209c 100644
--- a/canvas_traits/webgl.rs
+++ b/canvas_traits/webgl.rs
@@ -74,7 +74,7 @@ pub enum WebGLContextShareMode {
}
/// Defines the WebGL version
-#[derive(Clone, Copy, Deserialize, MallocSizeOf, Serialize)]
+#[derive(Clone, C... | 13 | 87 | 25 |
a84f5070deb02d938622618ba4fb89eb8f2fb10b | Emilio Cobos Álvarez | 2017-10-31T20:08:24 | servo: Merge #19074 - style: Avoid double-applying text-zoom for keywords (from emilio:font-size-woes); r=Manishearth
Bug: 1412743
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: c882266c8915b9f424cc4efbc860a9e417bf1326 | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 566bf0f3a..290df5d49 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -852,8 +852,7 @@ ${helpers.single_keyword_system("font-variant-caps",
context.builde... | 3 | 13 | 8 |
f203df77220288f913d0371c25936bde9feaa6b4 | Martin Robinson | 2017-10-30T20:58:07 | servo: Merge #19057 - Update WR to use the new sticky positioning API (from mrobinson:update-wr-sticky-api); r=glennw
<!-- 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 appropria... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 30d683d6c..9c8ef998f 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -34,7 +34,7 @@ use style_traits::cursor::Cursor;
use text::TextRun;
use text::glyph::ByteIndex;
use webrender_api::{self, ClipId, ColorF, GradientStop, Local... | 5 | 53 | 27 |
ae47837f5a63e9ef835710a890389cd99a38b43a | CYBAI | 2017-10-30T20:00:05 | servo: Merge #19051 - style: Move font -moz-script-min-size outside of mako (from CYBAI:moz-script-min-size-no-mako); r=emilio,canaltinova
This is a sub-PR for #19015
r? emilio
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19034 (gi... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index c4c059ce9..f66eaf212 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -1119,6 +1119,7 @@ impl Clone for ${style_struct.gecko_struct_name} {
"LengthOrNormal": impl_style_coord,
"MaxLeng... | 6 | 64 | 56 |
e60f8080b619330edd9d45df5176953a504159d5 | Connor Brewster | 2017-10-30T19:04:52 | servo: Merge #19044 - style: Move text-overflow outside of mako (from cbrewster:text_overflow_nomako); 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 dat... | diff --git a/layout/inline.rs b/layout/inline.rs
index 429ee7fc1..afe770f06 100644
--- a/layout/inline.rs
+++ b/layout/inline.rs
@@ -33,9 +33,10 @@ use std::sync::Arc;
use style::computed_values::{display, overflow_x, position, text_align, text_justify};
use style::computed_values::{vertical_align, white_space};
use... | 7 | 160 | 137 |
fe07454829bf3a3c46bd2a18e9f7fa863e97f68d | Simon Sapin | 2017-10-30T17:40:34 | servo: Merge #19061 - FreeType: don’t use usable_size() as deallocation size (from servo:ft-alloc); r=mbrubeck
Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it.
Hopefully fixes https://github.com/servo/servo/issues/19058
Depends on h... | diff --git a/allocator/Cargo.toml b/allocator/Cargo.toml
index fccec48a5..645815ba1 100644
--- a/allocator/Cargo.toml
+++ b/allocator/Cargo.toml
@@ -11,8 +11,11 @@ path = "lib.rs"
[features]
unstable = ["kernel32-sys", "jemallocator"]
+[dependencies]
+libc = "0.2" # Only used when 'unstable' is disabled, but looks... | 3 | 29 | 43 |
50f6f1bd4778540b3f6fc86add0a74cc1ffe0315 | Emilio Cobos Álvarez | 2017-10-30T12:39:00 | servo: Merge #19060 - style: Fix some fishiness in the invalidation code (from emilio:invalidation-fishy); r=nox
See individual commits for details, I think this is not observable.
Source-Repo: https://github.com/servo/servo
Source-Revision: 26279064eb5f6a6ebf8dc97cfe45cc3c95d77276 | diff --git a/style/invalidation/element/element_wrapper.rs b/style/invalidation/element/element_wrapper.rs
index 5cedff38f..8b3fb0385 100644
--- a/style/invalidation/element/element_wrapper.rs
+++ b/style/invalidation/element/element_wrapper.rs
@@ -348,7 +348,11 @@ impl<'a, E> Element for ElementWrapper<'a, E>
}
... | 1 | 5 | 1 |
ed43888f8e407a66e72126f4010cb8a95bdc1d9b | Emilio Cobos Álvarez | 2017-10-30T11:42:14 | servo: Merge #19059 - style: Make the SelectorMap API slightly nicer (from emilio:selector-map-nicer); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 1b73cf33525afbbe2d077554d1965b74ef9ae5e3 | diff --git a/style/invalidation/element/collector.rs b/style/invalidation/element/collector.rs
index 31b93f8c7..9b697b768 100644
--- a/style/invalidation/element/collector.rs
+++ b/style/invalidation/element/collector.rs
@@ -341,7 +341,7 @@ where
self.quirks_mode,
self.removed_id,
... | 3 | 7 | 7 |
6214275fe18dda8c7ef0d10c827652c94f8a48b8 | Xidorn Quan | 2017-10-30T05:42:45 | servo: Merge #19055 - Add support for -moz-window-opacity to stylo (from upsuper:window-opacity); r=Manishearth
Fixes [bug 1374177](https://bugzilla.mozilla.org/show_bug.cgi?id=1374177).
Source-Repo: https://github.com/servo/servo
Source-Revision: 17bfe5c12013a47c09e0198d029f3ded2ccbc42c | diff --git a/style/properties/longhand/ui.mako.rs b/style/properties/longhand/ui.mako.rs
index 5115e31d6..615241115 100644
--- a/style/properties/longhand/ui.mako.rs
+++ b/style/properties/longhand/ui.mako.rs
@@ -40,6 +40,12 @@ ${helpers.single_keyword("-moz-window-shadow", "none default menu tooltip sheet"
... | 1 | 6 | 0 |
268d6c1c718c6294da57e7ebaaae6397a6df997a | Emilio Cobos Álvarez | 2017-10-28T11:06:56 | servo: Merge #19048 - style: Make style sharing look at XBL / Shadow DOM rules (from emilio:shadow-style-sharing); r=bzbarsky
Reland of #19045, because it was backed out for an unexpected pass.
Bug: 1412251
Reviewed-by: bz
MozReview-Commit-ID: II6lk6OmSZU
Source-Repo: https://github.com/servo/servo
Source-Revision: 5... | diff --git a/style/dom.rs b/style/dom.rs
index c58433fe3..4f2ef48b1 100644
--- a/style/dom.rs
+++ b/style/dom.rs
@@ -388,6 +388,15 @@ pub trait TElement
depth
}
+ /// The style scope of this element is a node that represents which rules
+ /// apply to the element.
+ ///
+ /// In Servo, where... | 5 | 148 | 47 |
d3d17108c2fb712a4a72829ea6de8f230f10a96d | Sebastian Hengst | 2017-10-28T08:07:46 | Backed out changeset fc813bf68348 for failing reftest layout/reftests/bugs/272646-1.xul on OS X. r=backout | diff --git a/style/dom.rs b/style/dom.rs
index 4f2ef48b1..c58433fe3 100644
--- a/style/dom.rs
+++ b/style/dom.rs
@@ -388,15 +388,6 @@ pub trait TElement
depth
}
- /// The style scope of this element is a node that represents which rules
- /// apply to the element.
- ///
- /// In Servo, where... | 5 | 47 | 148 |
05f5e642dc2685e8372d5a2aefcbb6653d31d9fb | Emilio Cobos Álvarez | 2017-10-28T00:14:20 | servo: Merge #19045 - style: Make style sharing look at XBL / Shadow DOM rules (from emilio:shadow-style-sharing); r=bzbarsky
Bug: 1412251
Reviewed-by: bz
MozReview-Commit-ID: II6lk6OmSZU
Source-Repo: https://github.com/servo/servo
Source-Revision: 592c513c28885cbaba4eea2dc1cf77facba14ff4 | diff --git a/style/dom.rs b/style/dom.rs
index c58433fe3..4f2ef48b1 100644
--- a/style/dom.rs
+++ b/style/dom.rs
@@ -388,6 +388,15 @@ pub trait TElement
depth
}
+ /// The style scope of this element is a node that represents which rules
+ /// apply to the element.
+ ///
+ /// In Servo, where... | 5 | 148 | 47 |
9cbedd281e17ce37c941edf7765f203cae2a7f13 | Boris Chiou | 2017-10-27T19:38:43 | servo: Merge #19042 - stylo: Switch to Servo style backend for compositor animations (from BorisChiou:stylo/animation/compositor); r=<try>
These are inter-dependent patches for bug 1340005. We add two FFIs to create the
AnimationValues of Opacity and Transform because we support these two properties
on the compositor.... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 3f1fe7210..3eb3c5229 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -2618,12 +2618,20 @@ extern "C" {
RawServoAnimationValueBorrowed)
... | 3 | 81 | 11 |
020cfc26a8849e6d6119ed37b90d8bbd90b0b0f6 | Connor Brewster | 2017-10-27T06:10:33 | servo: Merge #19036 - style: Move table -x-span outisde of mako (from cbrewster:table_xspan_outside_mako); 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... | diff --git a/style/properties/longhand/table.mako.rs b/style/properties/longhand/table.mako.rs
index 67c4e25ac..6758033dc 100644
--- a/style/properties/longhand/table.mako.rs
+++ b/style/properties/longhand/table.mako.rs
@@ -10,35 +10,10 @@ ${helpers.single_keyword("table-layout", "auto fixed",
... | 5 | 45 | 32 |
397f5657bf1be4d8f71cf26afec7a34e3cc11657 | Emilio Cobos Álvarez | 2017-10-27T00:54:09 | servo: Merge #19027 - selectors: Be consistent about how we get a parent element for selector matching (from emilio:svg-use-bug); r=upsuper
This fixes bug 1412011.
Source-Repo: https://github.com/servo/servo
Source-Revision: de7595f16fa41c32ca5654aef53c60ad19bb108a | diff --git a/selectors/matching.rs b/selectors/matching.rs
index 7b5057793..d55fdae9d 100644
--- a/selectors/matching.rs
+++ b/selectors/matching.rs
@@ -486,6 +486,32 @@ enum Rightmost {
No,
}
+#[inline(always)]
+fn next_element_for_combinator<E>(
+ element: &E,
+ combinator: Combinator,
+) -> Option<E>
+... | 1 | 93 | 71 |
58f7a4dc8777c718211bfaa4a07ee5b72e216644 | CYBAI | 2017-10-26T18:58:00 | servo: Merge #19030 - style: Move -x-text-zoom outside of mako (from CYBAI:move-properties-out-of-mako); r=emilio
Sub-PR for #19015
r? emilio
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19020 .
Source-Repo: https://github.com/se... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 9cf3fd1b4..20c0097a6 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -2239,36 +2239,13 @@ ${helpers.single_keyword("-moz-math-variant",
}
</%helpers:longhand>
-<... | 5 | 30 | 31 |
e36f4a25053bbcbefb52ca7ca6866bed05e1d156 | Emilio Cobos Álvarez | 2017-10-26T12:51:21 | servo: Merge #19024 - Introduce style::dom::TDocument (from emilio:document); r=KiChjang
The secret plan is introducing a `get_elements_with_id` for use by `querySelector` / `querySelectorAll`.
But this allows also to make some code look a bit nicer.
Source-Repo: https://github.com/servo/servo
Source-Revision: ee4e3... | diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs
index fdf93bf66..e5e6277b0 100644
--- a/layout_thread/dom_wrapper.rs
+++ b/layout_thread/dom_wrapper.rs
@@ -51,7 +51,7 @@ use script_layout_interface::{OpaqueStyleAndLayoutData, StyleData};
use script_layout_interface::wrapper_traits::{DangerousT... | 5 | 109 | 41 |
bbe7f4dd2e4bd0b08964c0095ebb36fec52b6d45 | Emilio Cobos Álvarez | 2017-10-26T10:17:39 | servo: Merge #19023 - style: Remove PresentationalHintsSynthesizer (from emilio:remove-pres-hints-trait); r=KiChjang
This is not really an useful abstraction, and I never knew how to spell it.
Source-Repo: https://github.com/servo/servo
Source-Revision: b2867c0afa8bc728c13ddfd56678170dfba98967 | diff --git a/layout_thread/dom_wrapper.rs b/layout_thread/dom_wrapper.rs
index 899c47b47..fdf93bf66 100644
--- a/layout_thread/dom_wrapper.rs
+++ b/layout_thread/dom_wrapper.rs
@@ -69,7 +69,7 @@ use style::computed_values::display;
use style::context::SharedStyleContext;
use style::data::ElementData;
use style::dom:... | 4 | 48 | 54 |
4b7b65e73f2b33136fb6768e5223013fc44874d8 | Glenn Watson | 2017-10-25T21:56:38 | servo: Merge #19022 - Update WR (line decorations, pre-mul borders, mac fonts) (from glennw:update-wr-wavy); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a814fc578f16237f883ebd923f4802e73bfc53d0 | diff --git a/layout/webrender_helpers.rs b/layout/webrender_helpers.rs
index bed47cfb4..4ed2125fe 100644
--- a/layout/webrender_helpers.rs
+++ b/layout/webrender_helpers.rs
@@ -460,14 +460,11 @@ impl WebRenderDisplayItemConverter for DisplayItem {
webrender_api::LayoutSize:... | 1 | 3 | 6 |
9ba5e5a045e90aa272c925da116aceac556abff3 | Emilio Cobos Álvarez | 2017-10-25T18:24:27 | servo: Merge #19018 - style: Cleanup a bit the scroll-snap-type properties (from emilio:scroll-snap); r=wafflespeanut
Still not perfect, but at least a bit more consistent.
Source-Repo: https://github.com/servo/servo
Source-Revision: ce890be0b958dd4623defd789c19e02f4da6ea1d | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index d43267ba0..cb0866df0 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2698,7 +2698,7 @@ fn static_assert() {
transition-timing-function transition-property
... | 6 | 24 | 20 |
8b78356e69bd3c45bf8e5bd1ddfa7186b55e4fcf | Keith Yeung | 2017-10-25T14:00:41 | servo: Merge #18871 - Merge functionality of WebsocketConnect into Fetch (from KiChjang:websocket-fetch-integration); r=avadacatavra
Partial #14897.
Source-Repo: https://github.com/servo/servo
Source-Revision: a69e33366e4333f1de3502e5d706d79f4f843b00 | diff --git a/constellation/network_listener.rs b/constellation/network_listener.rs
index f811047ea..034dacf0e 100644
--- a/constellation/network_listener.rs
+++ b/constellation/network_listener.rs
@@ -11,7 +11,7 @@ use ipc_channel::ipc;
use ipc_channel::router::ROUTER;
use msg::constellation_msg::PipelineId;
use net... | 11 | 90 | 78 |
d0b4dc1df297da2d5cf44c8e42c0ef6ab4297192 | Emilio Cobos Álvarez | 2017-10-25T12:50:46 | servo: Merge #19014 - stylo: Honor CallerType for media query parsing (from emilio:caller-type); r=upsuper
So that matchMedia can parse internal stuff in chrome code.
Bug: 1410074
Reviewed-by: xidorn
MozReview-Commit-ID: 6M4HHqVJ1dp
Source-Repo: https://github.com/servo/servo
Source-Revision: a347e8d6d332015a5d9c71fa... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 7375fba01..3f1fe7210 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -14,6 +14,7 @@ use gecko_bindings::structs::mozilla::css::ErrorReporter;
use gecko_bindings::structs::mozilla::css::Ima... | 1 | 3 | 1 |
aefc01445def3404e0632278c5b2d40abdcf269c | Matt Brubeck | 2017-10-24T23:40:20 | servo: Merge #19011 - Use actual size for old allocation in ft_realloc (from mbrubeck:realloc); r=glennw
Prevents crashes from improperly freed memory.
Fixes #19008, fixes #18950, fixes #18949.
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes ... | diff --git a/gfx/platform/freetype/font_context.rs b/gfx/platform/freetype/font_context.rs
index 8456e2cad..f4a0745eb 100644
--- a/gfx/platform/freetype/font_context.rs
+++ b/gfx/platform/freetype/font_context.rs
@@ -51,13 +51,13 @@ extern fn ft_free(mem: FT_Memory, ptr: *mut c_void) {
}
}
-extern fn ft_realloc... | 1 | 2 | 2 |
ab10b87d0987c313a2c85fb8e6fea67f0d513c1e | Emilio Cobos Álvarez | 2017-10-24T20:29:21 | servo: Merge #19005 - style: Move animation-name and animation-iteration-count outside of mako (from emilio:less-mako-more-joy); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f9f71c7ed105dfb415c38bf6826942cb757b1bcc | diff --git a/style/animation.rs b/style/animation.rs
index 5d63938c7..9f5c19fab 100644
--- a/style/animation.rs
+++ b/style/animation.rs
@@ -13,7 +13,6 @@ use font_metrics::FontMetricsProvider;
use properties::{self, CascadeFlags, ComputedValues, LonghandId};
use properties::animated_properties::{AnimatedProperty, Tr... | 8 | 139 | 137 |
f8266b7bfdf20d3f48cbf808d48f834ee55cf5c9 | Emilio Cobos Álvarez | 2017-10-24T17:02:05 | servo: Merge #19002 - style: Move background-repeat and mask-repeat outside of mako (from emilio:kill-more-mako); r=jdm
style: Move background-repeat and mask-repeat outside of mako.
Source-Repo: https://github.com/servo/servo
Source-Revision: 347176df257978bdb1c413f632c9fc870de4ff76 | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index f9c87127c..c34f65a57 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 | 173 | 147 |
1b84ace635c48e577ef67c0d3ff20de935c85a21 | Emilio Cobos Álvarez | 2017-10-24T10:31:07 | servo: Merge #19001 - style: Minimal ParserContext cleanup (from emilio:cleanup-parser-context); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: 2536e1ee9866f201680942a4641bc019d4cfb86c | diff --git a/style/parser.rs b/style/parser.rs
index 6e08d937b..f3d87b906 100644
--- a/style/parser.rs
+++ b/style/parser.rs
@@ -69,13 +69,13 @@ impl<'a> ParserContext<'a> {
rule_type: Option<CssRuleType>,
parsing_mode: ParsingMode,
quirks_mode: QuirksMode,
- ) -> ParserContext<'a> {
+ ... | 1 | 16 | 13 |
3bcb18d249563073d91b34d83ad95d8a49889581 | Glenn Watson | 2017-10-24T02:04:54 | servo: Merge #18986 - Update WR (render notifier API changes) (from glennw:update-wr-notifier); r=jdm
These changes fix #13480.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2bcb3b4ca999b626511019161a1b7dbe548b0105 | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 43dc5d5a6..cd9f2b2b2 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -5,7 +5,7 @@
use CompositionPipeline;
use SendableFrameTree;
use compositor_thread::{CompositorProxy, CompositorReceiver};
-use compositor_thread::{I... | 4 | 17 | 23 |
ce50f351acfa4ae3a27a168312a6119a2266871e | Manish Goregaokar | 2017-10-24T00:00:24 | servo: Merge #18995 - Revert all hashmap diagnostics changes (from Manishearth:rm-diagnostics); r=emilio
We don't need them anymore
Source-Repo: https://github.com/servo/servo
Source-Revision: 69b9c221f65243562a5dc54cba45a083d1d046cc | diff --git a/hashglobe/src/diagnostic.rs b/hashglobe/src/diagnostic.rs
deleted file mode 100644
index cee5e11d4..000000000
--- a/hashglobe/src/diagnostic.rs
+++ /dev/null
@@ -1,243 +0,0 @@
-use hash_map::HashMap;
-use std::borrow::Borrow;
-use std::hash::{BuildHasher, Hash};
-use std::ptr;
-
-use FailedAllocationError;... | 13 | 99 | 548 |
c757efc22787b0df154506c69a056d2a48a92b79 | Nika Layzell | 2017-10-23T22:26:28 | servo: Merge #18993 - Move nsstring from gecko into servo/support/gecko/nsstring (from mystor:nsstring2); r=mystor
This is the servo side of bug 1403213.
Take 2 of #18941 which got backed out because we botched the landing of the gecko side and I wasn't able to fix it in time.
Source-Repo: https://github.com/servo/s... | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 6c692a743..821b8eb71 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -16,7 +16,7 @@ path = "lib.rs"
doctest = false
[features]
-gecko = ["nsstring_vendor", "num_cpus",
+gecko = ["nsstring", "num_cpus",
"style_traits/gecko", "fallible/known_sys... | 4 | 4 | 1,044 |
219a77a9ce12b28deab34aad97dcfd606bc1beeb | Manuel Hässig | 2017-10-23T15:18:42 | servo: Merge #18990 - Fixed FireMouseEventType mixup (from mhaessig:mouse-event-fixup); r=KiChjang
Fix for a bug I didn't catch in #18957. Thanks to @rharel for pointing it out.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix issue #18943 ... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 2601ea8f9..95408843f 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -168,8 +168,8 @@ impl FireMouseEventType {
pub fn as_str(&self) -> &str {
match self {
&FireMouseEventType::Move => "mousemove",
- ... | 1 | 2 | 2 |
80c41bac7077343ae65a49fbb1578de58105b4f3 | Emilio Cobos Álvarez | 2017-10-23T10:34:49 | servo: Merge #18989 - style: Ensure logical longhands appear before their physical counter-part (from emilio:all-is-sad); r=xidorn
Bug: 1410028
Reviewed-by: xidorn
MozReview-Commit-ID: KPIbt1e2Eq
Source-Repo: https://github.com/servo/servo
Source-Revision: 6381fdf75018a52cbd8c55af717a848840f922a6 | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index 517b0a4e9..3e91441be 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -173,11 +173,37 @@ pub mod shorthands {
// We don't defined the 'all' shorthand using the regular helpers... | 1 | 31 | 5 |
bffa6eb90951f33b06a742bcc6cfe19668b6fcbd | Xidorn Quan | 2017-10-23T06:36:07 | servo: Merge #18987 - Remove XBL as a separate cascading level in Stylo (from upsuper:xbl-cascade); r=emilio
In Gecko, we handle XBL rules like author rules everywhere, except that XBL rules are added and sorted in an independent step, behave as if it has a separate level.
It is not clear to me why Stylo chose to add... | diff --git a/style/rule_tree/mod.rs b/style/rule_tree/mod.rs
index 02c329257..e2a8cbc10 100644
--- a/style/rule_tree/mod.rs
+++ b/style/rule_tree/mod.rs
@@ -488,8 +488,6 @@ pub enum CascadeLevel {
PresHints,
/// User normal rules.
UserNormal,
- /// XBL <stylesheet> rules.
- XBL,
/// Author nor... | 2 | 1 | 4 |
508d84615f81751507fee11795529afd96c1aaa0 | Emilio Cobos Álvarez | 2017-10-22T14:55:21 | servo: Merge #18983 - selectors: Reformat signatures in the parser module (from emilio:reformat-selector-parser); r=jdm
I was doing something unrelated with this code, and each signature uses a
different style. This PR unifies them.
Source-Repo: https://github.com/servo/servo
Source-Revision: a296e386af21b50409e78dd3... | diff --git a/selectors/parser.rs b/selectors/parser.rs
index 117f0104d..1cd7b4cbd 100644
--- a/selectors/parser.rs
+++ b/selectors/parser.rs
@@ -30,9 +30,8 @@ pub trait PseudoElement : Sized + ToCss {
/// of it.
fn supports_pseudo_class(
&self,
- _pseudo_class: &<Self::Impl as SelectorImpl>::N... | 1 | 154 | 92 |
9061fa5f6f7e471e4175ab37faf46b68443bbdc5 | CYBAI | 2017-10-21T20:13:04 | servo: Merge #18255 - Update concept of node filter algorithm (from CYBAI:prevent-reentrancy-pr18218); r=jdm
Implement new [filter](https://dom.spec.whatwg.org/#concept-node-filter) algorithm from specification
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
... | diff --git a/script/dom/nodeiterator.rs b/script/dom/nodeiterator.rs
index 5897c4075..5da1bffb6 100644
--- a/script/dom/nodeiterator.rs
+++ b/script/dom/nodeiterator.rs
@@ -8,7 +8,7 @@ use dom::bindings::codegen::Bindings::NodeFilterBinding::NodeFilter;
use dom::bindings::codegen::Bindings::NodeFilterBinding::NodeFilt... | 2 | 44 | 17 |
0b1d500d1b73a2943946dde19b4551fec63622b9 | Matt Brubeck | 2017-10-21T16:06:08 | servo: Merge #18972 - Remove unnecessary Result::ok calls (from mbrubeck:ok); r=emilio
- [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 they are code cleanup only
Source-Repo: https://github.com/servo/servo
Source-R... | diff --git a/script/dom/promise.rs b/script/dom/promise.rs
index ad8ee2adf..df9838ed5 100644
--- a/script/dom/promise.rs
+++ b/script/dom/promise.rs
@@ -246,7 +246,7 @@ unsafe extern fn native_handler_callback(cx: *mut JSContext, argc: u32, vp: *mut
assert!(v.get().is_object());
let handler = root_from_obje... | 2 | 4 | 4 |
3dfefb1e92204698a6f63747ab22780391a2964d | Matt Brubeck | 2017-10-21T13:09:22 | servo: Merge #18971 - Use env::var_os to read paths from the environment (from mbrubeck:var); r=emilio
This avoids unnecessary UTF-8 validation on OsStrings that we just pass
back to the OS.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes ... | diff --git a/atoms/build.rs b/atoms/build.rs
index c8edc9bcd..8a6ba8fd9 100644
--- a/atoms/build.rs
+++ b/atoms/build.rs
@@ -10,7 +10,7 @@ use std::io::{BufReader, BufRead};
use std::path::Path;
fn main() {
- let static_atoms = Path::new(&env::var("CARGO_MANIFEST_DIR").unwrap()).join("static_atoms.txt");
+ le... | 6 | 17 | 16 |
f1ab73f0e808cee6c71478cd038460eedeb82eb1 | Imanol Fernandez | 2017-10-21T10:08:58 | servo: Merge #18973 - Update offscreen_gl_context to v0.12 (from MortimerGoro:offscreen_v12); r=jdm
<!-- Please describe your changes on the following line: -->
Update offscreen_gl_context to v0.12. Includes:
- Support for OpenGL version selection. It's required for WebGL 2.
- Support for iOS EAGLContext. WebGL shou... | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index 8c56627bf..bbcd3cb03 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -20,7 +20,7 @@ gleam = "0.4"
ipc-channel = "0.9"
log = "0.3.5"
num-traits = "0.1.32"
-offscreen_gl_context = { version = "0.11", features = ["serde", "osmesa"] }
+offscreen_gl_conte... | 4 | 9 | 4 |
c16ca15257460b85bd060eec0a0d9b53e7060456 | Matt Brubeck | 2017-10-21T08:31:21 | servo: Merge #18968 - Use try syntax for Option where appropriate (from mbrubeck:try); r=emilio
- [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 they are refactoring only
Source-Repo: https://github.com/servo/servo
... | diff --git a/bluetooth/lib.rs b/bluetooth/lib.rs
index ac41040fe..af3a69a20 100644
--- a/bluetooth/lib.rs
+++ b/bluetooth/lib.rs
@@ -321,10 +321,7 @@ impl BluetoothManager {
self.adapter = BluetoothAdapter::init().ok();
}
- let adapter = match self.adapter.as_ref() {
- Some(ada... | 19 | 65 | 180 |
6e453f16cee47f07678f72a32b23de31a0ee8119 | Jeremy Chen | 2017-10-21T06:39:41 | servo: Merge #18966 - stylo: Avoid using InterpolateMatrix as a fallback for matched transform function pair (from chenpighead:Bug1399049-transform-animate-refactoring); r=hiikezoe
In the current implementation, if there is any interpolation error in a matched
transform function pair, we fall-back to use InterpolateMa... | diff --git a/style/properties/helpers/animated_properties.mako.rs b/style/properties/helpers/animated_properties.mako.rs
index 422447d58..b7223d4b6 100644
--- a/style/properties/helpers/animated_properties.mako.rs
+++ b/style/properties/helpers/animated_properties.mako.rs
@@ -1157,6 +1157,27 @@ impl Animate for Transfo... | 1 | 44 | 9 |
a711c96099090eca930317cbbe14a964bf00c745 | Manuel Hässig | 2017-10-21T03:14:43 | servo: Merge #18957 - Made fire_mouse_event take an enum for event_name (from mhaessig:fire-mouse-event-enum); r=jdm
Added an enum with the mouse event options for `fire_mouse_event` and refactored the `event_name` parameter to take the enum as argument.
I also added two options (Leave and Enter) which are noted as to... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 2e018bd62..3edd2fdc7 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -158,6 +158,22 @@ pub enum TouchEventResult {
Forwarded,
}
+pub enum FireMouseEventType {
+ Move,
+ Over,
+ Out,
+}
+
+impl FireMouseEventType {
+ ... | 1 | 21 | 5 |
44dcfc1af88a92689e60f1d71c1eef127fa6e377 | Josh Matthews | 2017-10-21T01:28:03 | servo: Merge #18952 - Do not trace Rust values when thread is shutting down (from jdm:no-leak-on-shutdown); r=nox
This addresses a paint point when using debug-mozjs builds. jonco says that it is considered a leak when objects stored in side tables in a SpiderMonkey embedding are traced right before shutting down. Thi... | diff --git a/script/dom/bindings/refcounted.rs b/script/dom/bindings/refcounted.rs
index 795847a8f..b189298c3 100644
--- a/script/dom/bindings/refcounted.rs
+++ b/script/dom/bindings/refcounted.rs
@@ -35,7 +35,6 @@ use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::collections::hash_map::HashMap;
use... | 8 | 35 | 18 |
1c998007d155c3da3e2ac2a70d3f1a019e985879 | Manish Goregaokar | 2017-10-20T23:52:54 | servo: Merge #18977 - Include map length in diagnostics (from Manishearth:map-len); r=Gankro
If this doesn't match with the size it's more likely for anything caught
t be hardware corruption. If it does the situation is more interesting.
Source-Repo: https://github.com/servo/servo
Source-Revision: ba9af5c124935734437... | diff --git a/hashglobe/src/diagnostic.rs b/hashglobe/src/diagnostic.rs
index f761e31a6..cee5e11d4 100644
--- a/hashglobe/src/diagnostic.rs
+++ b/hashglobe/src/diagnostic.rs
@@ -62,17 +62,21 @@ impl<K: Hash + Eq, V, S: BuildHasher> DiagnosticHashMap<K, V, S>
let mut position = 0;
let mut count = 0;
... | 3 | 37 | 6 |
e4861e46a0ad93538fb3cc5d3fd67228e8026b6c | Glenn Watson | 2017-10-20T21:47:30 | servo: Merge #18956 - Update WR (box shadows + per-corner radii, elliptical clips) (from glennw:update-wr-ellipse-bs); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d6042707a660ec0377ff2db038e089cf509ac886 | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index f1727b8fa..3d7343435 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -875,9 +875,7 @@ pub struct BoxShadowDisplayItem {
pub spread_radius: Au,
/// The border radius of this shadow.
- ///
- /// TODO(pcwalton): El... | 3 | 10 | 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.