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 |
|---|---|---|---|---|---|---|---|
3d3339e4af817f0dd0d5a58718d8d02cb4db5a87 | Andreas Tolfsen | 2017-01-30T20:09:22 | servo: Merge #15302 - Update to webdriver v0.20.0 (from andreastt:webdriver-0.20.0); r=Ms2ger
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
- [ ] There are tests for these changes OR
- [x] These c... | diff --git a/constellation/Cargo.toml b/constellation/Cargo.toml
index b10c07703..6d0e7b01c 100644
--- a/constellation/Cargo.toml
+++ b/constellation/Cargo.toml
@@ -10,7 +10,7 @@ name = "constellation"
path = "lib.rs"
[dependencies]
-backtrace = "0.2.1"
+backtrace = "0.3"
bluetooth_traits = { path = "../bluetooth_... | 3 | 3 | 3 |
b6d64a286849a25f4bd17b138dabda84bcc8806a | Ms2ger | 2017-01-30T14:21:46 | servo: Merge #15300 - Remove unused part of the return value of parse_blob_url() (from servo:blob-fragment); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 81712560cafbb6a5ed12c5306522a6ea0cbe09f7 | diff --git a/net/blob_loader.rs b/net/blob_loader.rs
index 3594dccc2..1fe05cc1c 100644
--- a/net/blob_loader.rs
+++ b/net/blob_loader.rs
@@ -22,7 +22,7 @@ pub fn load_blob_sync
filemanager: FileManager)
-> Result<(Headers, Vec<u8>), NetworkError> {
let (id, origin) = match parse_blob_ur... | 3 | 4 | 5 |
186d35d49bc8c8c146b7043c789d3f7d767cc66f | Ms2ger | 2017-01-30T13:33:14 | servo: Merge #15264 - Always set the Document::contentType attribute in ScriptThread::load() (from servo:content-type); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: cc2011c05037a8f261f2e803b8a3fb58178ab1b9 | diff --git a/script/script_thread.rs b/script/script_thread.rs
index e1e07fd17..865fd3893 100644
--- a/script/script_thread.rs
+++ b/script/script_thread.rs
@@ -1710,15 +1710,9 @@ impl ScriptThread {
headers.get().map(|&LastModified(HttpDate(ref tm))| dom_last_modified(tm))
});
- let cont... | 1 | 3 | 9 |
47294065c1ff81a1f0ed811a3181668d166ac097 | Atheed Thameem | 2017-01-29T18:01:58 | servo: Merge #15294 - Removed unused import (from atheed:unused-import-fix); r=Manishearth
Removed an unused import in `components/script/dom/element.rs`.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./ma... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index ed652138d..f85baf381 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -109,7 +109,7 @@ use style::selector_parser::{NonTSPseudoClass, RestyleDamage, SelectorImpl, Sele
use style::sink::Push;
use style::stylist::ApplicableDeclarationBloc... | 1 | 1 | 1 |
643a5022a60b9196aff171f4afae8152665df477 | Rohit Burra | 2017-01-29T12:06:03 | servo: Merge #14556 - Make Stylist::set_device check stylesheet media queries (from iamrohit7:fix-set-device); r=SimonSapin,Emilio
Fixes Stylist::set_device to check for media queries in stylesheets.
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `_... | diff --git a/style/stylist.rs b/style/stylist.rs
index 1f7c3cb91..ab2a9fc14 100644
--- a/style/stylist.rs
+++ b/style/stylist.rs
@@ -458,6 +458,11 @@ impl Stylist {
false
}
self.is_device_dirty |= stylesheets.iter().any(|stylesheet| {
+ let mq = stylesheet.media.read();
+ ... | 1 | 5 | 0 |
712d40cb8448f4630efd866ef704f49fdc0e9506 | Atheed Thameem | 2017-01-29T06:18:44 | servo: Merge #15278 - Parsing "0" as Number for line-height and border-image-outset (from atheed:zero-parsing); r=Wafflespeanut
Fixes #15171 by correctly parsing `0` as `0` (rather than as `0px`, as was the case earlier) for the `line-height` and `border-image-outset` CSS properties. Wrote unit tests for both; `./mach... | diff --git a/style/properties/longhand/inherited_text.mako.rs b/style/properties/longhand/inherited_text.mako.rs
index 9c63fd456..741806e9e 100644
--- a/style/properties/longhand/inherited_text.mako.rs
+++ b/style/properties/longhand/inherited_text.mako.rs
@@ -48,23 +48,27 @@
pub fn parse(_context: &ParserContext,... | 2 | 25 | 18 |
5c2e4fc39d186ee89cb05529ddaf59c2206a09a6 | Alan Jeffrey | 2017-01-29T04:35:39 | servo: Merge #15120 - Allow windows to share browsing contexts (from asajeffrey:script-windows-share-browsing-contexts); r=jdm
<!-- Please describe your changes on the following line: -->
This PR allows different `Window` objects in the same browsing context to share a `BrowsingContext` object.
SpiderMonkey requires... | diff --git a/script/dom/browsingcontext.rs b/script/dom/browsingcontext.rs
index 1c2ca66b3..9f0be02e4 100644
--- a/script/dom/browsingcontext.rs
+++ b/script/dom/browsingcontext.rs
@@ -5,7 +5,7 @@
use dom::bindings::conversions::{ToJSValConvertible, root_from_handleobject};
use dom::bindings::js::{JS, Root, RootedRef... | 17 | 177 | 116 |
01812ffcba1b42ce5ed3d6374deb6a62a3be4f30 | Matt Brubeck | 2017-01-29T03:18:53 | servo: Merge #15271 - Initialize block_container_inline_size for non-block root flows (from mbrubeck:root); r=notriddle
Fixes #14948. Fixes #14945. Needs a try run. r? @notriddle
Source-Repo: https://github.com/servo/servo
Source-Revision: fdf0833ec2dfc31e480670622066e61390069391 | diff --git a/layout/block.rs b/layout/block.rs
index 7859cb9a9..115c6b584 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1701,6 +1701,19 @@ impl BlockFlow {
self.base.floats = Floats::new(self.base.writing_mode);
+ self.initialize_container_size_for_root(shared_context);
+
+ // Our in... | 3 | 17 | 6 |
685085ac533e4ebdfe2743554eb347bf85ac3e08 | Emilio Cobos Álvarez | 2017-01-29T00:30:08 | servo: Merge #15280 - Bug 1334579: Ensure constructors for nsStyleContentData run (from emilio:negative-leaks); r=bholley
Reviewed upstream by @bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: b9e675cdadb946c53a40fc996a1a563f1ce89d04 | diff --git a/style/gecko_bindings/bindings.rs b/style/gecko_bindings/bindings.rs
index f630b1797..2cbaffc2b 100644
--- a/style/gecko_bindings/bindings.rs
+++ b/style/gecko_bindings/bindings.rs
@@ -644,7 +644,8 @@ extern "C" {
pub fn Gecko_DropElementSnapshot(snapshot: ServoElementSnapshotOwned);
}
extern "C" {
-... | 2 | 15 | 12 |
ecca5f3ddac7c644328297ce66d71eef2923d7ff | Ravi Shankar | 2017-01-28T22:08:38 | servo: Merge #15115 - Introduce the `NoCalcLength` (from Wafflespeanut:lop); r=emilio
<!-- Please describe your changes on the following line: -->
I began this for making the `CalcLengthOrPercentage` represent `LengthOrPercentage` (instead of the enum we already have), but only later did I realize that it will make `... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 2ca775ed3..ed652138d 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -4,7 +4,6 @@
//! Element nodes.
-use app_units::Au;
use cssparser::Color;
use devtools_traits::AttrInfo;
use dom::activation::Activatable;
@@ -455,18 +454,13 @@... | 14 | 252 | 176 |
d9b91a7c94a0ca87881e43ed44f6f537c24fa5a8 | Emilio Cobos Álvarez | 2017-01-28T20:56:50 | servo: Merge #15157 - Bug 1332969: stylo: Synchronously do a style update when the device changes (from emilio:bug-1332969); r=bholley
Ideally this would be lazy, but eventually we're going to need to restyle in
RebuildAllStyleData anyway, which would require us to have the style up to date,
so no need to complicate o... | diff --git a/style/gecko/data.rs b/style/gecko/data.rs
index f4182d365..4ecfe1df5 100644
--- a/style/gecko/data.rs
+++ b/style/gecko/data.rs
@@ -35,9 +35,6 @@ pub struct PerDocumentStyleDataImpl {
/// Whether the stylesheets list above has changed since the last restyle.
pub stylesheets_changed: bool,
- ... | 1 | 14 | 19 |
a01f5ce2b6f2aed09aa3e04bb39efae56b795ec5 | Emilio Cobos Álvarez | 2017-01-28T14:18:38 | servo: Merge #15256 - script: Refactor CSSStyleDeclaration and fix some bugs in the way (from emilio:cssstyledeclaration); r=SimonSapin
<!-- Please describe your changes on the following line: -->
This is preliminar work for the style attribute restyle hint.
Source-Repo: https://github.com/servo/servo
Source-Revisio... | diff --git a/script/dom/csskeyframerule.rs b/script/dom/csskeyframerule.rs
index 9d245d983..db0a88edc 100644
--- a/script/dom/csskeyframerule.rs
+++ b/script/dom/csskeyframerule.rs
@@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use dom::bindings::codegen::Bindings::CSSKeyframeRuleBin... | 4 | 163 | 142 |
63d7218cc2b4ad0991f7ac12acc8e9f6f26ad12c | Alan Jeffrey | 2017-01-28T00:30:37 | servo: Merge #14971 - Constellation informs script about documents becoming inactive, active or fully active (from asajeffrey:script-track-active-documents); r=cbrewster
<!-- Please describe your changes on the following line: -->
This PR replaces the current freeze/thaw mechanism by messages from the constellation t... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index 132bf40e1..621e92fb6 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -95,7 +95,7 @@ use profile_traits::mem;
use profile_traits::time;
use script_traits::{AnimationState, AnimationTickType, Composito... | 14 | 168 | 104 |
6162f460e06683b96ef3530ec275b950f77ed15e | Marco Concetto Rudilosso | 2017-01-27T23:11:42 | servo: Merge #15269 - Substituing quickersort with pdqsort (from Maaarcocr:master); r=emilio
<!-- Please describe your changes on the following line: -->
I have been working on issue number #15244. I have substituted quickersort with pdqsort in the style component. The changes I made affect: Cargo.toml, stylist.rs an... | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 84011185a..36f6aeadf 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -43,7 +43,7 @@ ordered-float = "0.2.2"
owning_ref = "0.2.2"
parking_lot = "0.3.3"
phf = "0.7.20"
-quickersort = "2.0.0"
+pdqsort = "0.1.0"
rayon = "0.6"
rustc-serialize = "0.3"
selec... | 3 | 4 | 4 |
87162681e10b0348249436db428cbf8548e7a56c | Andreas Tolfsen | 2017-01-27T21:08:04 | servo: Merge #15246 - Allow script timeouts to be optional and associate timeouts with session state (from andreastt:webdriver-optional-timeout); r=jgraham
These changes let WebDriver script timeouts be optional and associated all timeout state with the session. Because the durations are currently associated with the ... | diff --git a/webdriver_server/lib.rs b/webdriver_server/lib.rs
index 56e52e539..6f9243da1 100644
--- a/webdriver_server/lib.rs
+++ b/webdriver_server/lib.rs
@@ -96,18 +96,40 @@ pub fn start_server(port: u16, constellation_chan: Sender<ConstellationMsg>) {
}).expect("Thread spawning failed");
}
+/// Represents t... | 1 | 67 | 32 |
9a5f8a55eee2604f009fb6ec6882b18e72d8f49a | Alon Levy | 2017-01-27T16:57:38 | servo: Merge #15262 - dom/document: scripting_enabled can be a bool. #15260 (from alon:master); r=Ms2ger
Fix #15260 - scripting_enabled can be a bool
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15260
<!-- Either: -->
- [ ] There ... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 692c24f05..53aa4af88 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -232,7 +232,7 @@ pub struct Document {
asap_scripts_set: DOMRefCell<Vec<JS<HTMLScriptElement>>>,
/// https://html.spec.whatwg.org/multipage/#concept-n-nos... | 1 | 3 | 3 |
11f6d0c787caf2b25d724166d8e3cfaff224eb76 | Andreas Tolfsen | 2017-01-27T16:01:29 | servo: Merge #15245 - Correct capabilities returned by WebDriver server (from andreastt:webdriver-caps); r=jdm
<!-- Please describe your changes on the following line: -->
These patches aligns Servo’s capabilities with those in the [WebDriver standard](https://w3c.github.io/webdriver/webdriver-spec.html). See each co... | diff --git a/webdriver_server/lib.rs b/webdriver_server/lib.rs
index 98c250f85..56e52e539 100644
--- a/webdriver_server/lib.rs
+++ b/webdriver_server/lib.rs
@@ -303,9 +303,7 @@ impl Handler {
let mut capabilities = BTreeMap::new();
capabilities.insert("browserName".to_owned(), "servo".to_json(... | 1 | 1 | 3 |
e4fbf9139aff2fc2965a8ad5c02db7781eaf2b3e | Anthony Ramine | 2017-01-27T12:19:24 | servo: Merge #15220 - Kill ServoParser::pipeline (from nox:kill-parser-pipeline); r=SimonSapin,jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ba7696ebc64c1a73aee1547fcea8b75b2a1eb4b1 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 6bf8c841d..692c24f05 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -530,11 +530,6 @@ impl Document {
self.reflow_timeout.set(Some(timeout))
}
- /// Disables any pending reflow timeouts.
- pub fn disarm_reflow_... | 5 | 65 | 98 |
293117d7903f4d6fca6a2f753eb787a4e660f46d | Ms2ger | 2017-01-27T10:27:38 | servo: Merge #15242 - Simplify handling of the referrer policy header in ScriptThread::load() (from servo:refpol); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: cfba589e64387c462c1b448c5e78376bd5c69b4a | diff --git a/net_traits/lib.rs b/net_traits/lib.rs
index b80be222b..18c88e624 100644
--- a/net_traits/lib.rs
+++ b/net_traits/lib.rs
@@ -35,7 +35,7 @@ extern crate websocket;
use cookie_rs::Cookie;
use filemanager_thread::FileManagerThreadMsg;
use heapsize::HeapSizeOf;
-use hyper::header::{ContentType, Headers};
+us... | 2 | 31 | 24 |
159b141ea86ba9ce97641150b768d5a4ef4ca396 | Ms2ger | 2017-01-27T09:31:47 | servo: Merge #15238 - Remove unused InProgressLoad::clip_rect (from servo:clip_rect); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 5af74c38fce01c8e893744514a5cfbcd913de71c | diff --git a/script/script_thread.rs b/script/script_thread.rs
index b4a922a6e..7cb6a590a 100644
--- a/script/script_thread.rs
+++ b/script/script_thread.rs
@@ -147,8 +147,6 @@ struct InProgressLoad {
window_size: Option<WindowSizeData>,
/// Channel to the layout thread associated with this pipeline.
lay... | 1 | 2 | 6 |
a6eda42c5a0f696a5438ed0691a4dcf6f7150578 | Bobby Holley | 2017-01-27T07:06:25 | servo: Merge #15231 - Remove out-of-date handling for align-self in Gecko builds (from bholley:align_self); r=upsuper
See #15229.
Source-Repo: https://github.com/servo/servo
Source-Revision: d3daad327fb6742c4349675692cad8adef66b4cd | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index e87105d3b..a914f7e64 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -2019,7 +2019,11 @@ pub fn apply_declarations<'a, F, I>(viewport_size: Size2D<Au>,
}
}
- % if... | 1 | 5 | 4 |
390472b9c10227acf23d0bdcaca2ad9c23a046ca | Alberto Leal | 2017-01-27T05:41:23 | servo: Merge #15226 - Fix text-overflow serialization (from dashed:gh-15208); r=emilio
Fixes https://github.com/servo/servo/issues/15208
- [x] **More tests pending PR review.**
- [x] **Correct placement of unit test**
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing t... | diff --git a/style/properties/longhand/text.mako.rs b/style/properties/longhand/text.mako.rs
index a7f784354..a4325c7a0 100644
--- a/style/properties/longhand/text.mako.rs
+++ b/style/properties/longhand/text.mako.rs
@@ -18,6 +18,7 @@
use style_traits::ToCss;
use values::NoViewportPercentage;
use values:... | 1 | 4 | 1 |
2ad7dea6b3947c5e95f088080d4e0f8da6b0ce75 | Dexter Haslem | 2017-01-27T04:08:08 | servo: Merge #15225 - fix transform: none serialization (from DexterHaslem:fix-transform-none); r=emilio
<!-- Please describe your changes on the following line: -->
As mentioned I struggled a bit figuring out the unit tests, please let me know if I missed anything or if there is a better way as usual! I will likely ... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 5bac0d7da..754afaf16 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -1251,6 +1251,11 @@ ${helpers.single_keyword("animation-fill-mode",
impl ToCss for SpecifiedValue... | 1 | 5 | 0 |
6f86b750d17358d343feb1e39ab7be2fb446ea92 | Nazım Can Altınova | 2017-01-26T20:46:08 | servo: Merge #15178 - Fix serialization of CalcLengthOrPercentage (from canaltinova:calc); r=Wafflespeanut
<!-- 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/values/specified/length.rs b/style/values/specified/length.rs
index 964a3c9b5..5f53376bb 100644
--- a/style/values/specified/length.rs
+++ b/style/values/specified/length.rs
@@ -761,20 +761,6 @@ impl HasViewportPercentage for CalcLengthOrPercentage {
impl ToCss for CalcLengthOrPercentage {
#[al... | 1 | 2 | 25 |
195ca5090649ac08c5693728bffddabe862db0f9 | Xidorn Quan | 2017-01-26T19:48:06 | servo: Merge #15212 - Use whitespace to separate params of drop-shadow (from upsuper:filter-drop-shadow); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 0fa5f2e21f938c8e643d8840bd37716da5f8a115 | diff --git a/style/properties/longhand/effects.mako.rs b/style/properties/longhand/effects.mako.rs
index b24ffb0af..3da52aa3d 100644
--- a/style/properties/longhand/effects.mako.rs
+++ b/style/properties/longhand/effects.mako.rs
@@ -458,11 +458,11 @@ ${helpers.predefined_type("opacity",
computed_value:... | 1 | 6 | 6 |
8a75c8f9b110fdcd34063ad6d48742d163469f13 | Xidorn Quan | 2017-01-26T18:48:22 | servo: Merge #15172 - Add space before keyword for border-image-slice (from upsuper:border-image-slice); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 9c5abebd470cc0fe4af27929c2bd8a737d351e3f | diff --git a/style/properties/longhand/border.mako.rs b/style/properties/longhand/border.mako.rs
index 2a2639684..d0d02bc8a 100644
--- a/style/properties/longhand/border.mako.rs
+++ b/style/properties/longhand/border.mako.rs
@@ -598,7 +598,7 @@ ${helpers.single_keyword("-moz-float-edge", "content-box margin-box",
... | 1 | 2 | 2 |
191a28779f0a9dfe3ff3e7040e32f6e7a8540bdf | Xidorn Quan | 2017-01-26T17:50:19 | servo: Merge #15170 - Correct serialization of column-rule shorthand (from upsuper:column-rule); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 36fc07d9c4ec1abde2c55134cd5fd9688ddb6ed7 | diff --git a/style/properties/shorthand/column.mako.rs b/style/properties/shorthand/column.mako.rs
index 60e1bfc2b..eac7020da 100644
--- a/style/properties/shorthand/column.mako.rs
+++ b/style/properties/shorthand/column.mako.rs
@@ -101,7 +101,6 @@
impl<'a> LonghandsToSerialize<'a> {
fn to_css_declared<W... | 1 | 0 | 1 |
696d1071f2557057a1b939039b2725a64940a16e | Ms2ger | 2017-01-26T16:30:56 | servo: Merge #15179 - Refactor away ScriptThread::alter_resource_utilization() (from servo:alter_resource_utilization); r=nox
It's used in two places, one of which already has access to the Window.
Source-Repo: https://github.com/servo/servo
Source-Revision: 88cd8a3cf0d299a4dc066059d454fdbc395dbfeb | diff --git a/script/dom/window.rs b/script/dom/window.rs
index c8e4ccc83..cb9d5abdf 100644
--- a/script/dom/window.rs
+++ b/script/dom/window.rs
@@ -1583,6 +1583,15 @@ impl Window {
pub fn evaluate_media_queries_and_report_changes(&self) {
self.media_query_lists.evaluate_and_report_changes();
}
+
+ ... | 2 | 21 | 24 |
192000e7c99449ecf6332fce2c72d4bb2c7fbd60 | Boris Chiou | 2017-01-26T07:36:33 | servo: Merge #15175 - Interpolate servo animation values and add them to the cascade (from BorisChiou:animation/interpolate_and_cascade); r=heycam
These are the servo-side changes for [bug 1317209](https://bugzilla.mozilla.org/show_bug.cgi?id=1317209). @Manishearth, @emilio, and @heycam have already reviewed them ther... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 2ca2d7348..e3708c184 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -491,6 +491,7 @@ mod bindings {
"RawGeckoNode",
"RawGeckoAnimationValueList",
"RawServoAnimationValue",
+ "RawServoAnimati... | 8 | 97 | 6 |
c79728fe04a12160e95c4dccbf3003d9999ac6d5 | Xidorn Quan | 2017-01-25T12:09:09 | servo: Merge #15210 - Serialize text-decoration-line to none if nothing specified (from upsuper:text-decoration-line); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 2a32cf135262318b58b0738f56cd5f8aa6da8823 | diff --git a/style/properties/longhand/text.mako.rs b/style/properties/longhand/text.mako.rs
index 6c5f34c65..a7f784354 100644
--- a/style/properties/longhand/text.mako.rs
+++ b/style/properties/longhand/text.mako.rs
@@ -122,30 +122,24 @@ ${helpers.single_keyword("unicode-bidi",
impl ToCss for SpecifiedValue {
... | 1 | 16 | 22 |
2b881b8313aab06e3ce42b8f602c745fc51d5740 | Emilio Cobos Álvarez | 2017-01-25T10:36:15 | servo: Merge #15186 - Re revert the backed out PRs (from servo:re-revert); r=mbrubeck
r? anyone
Source-Repo: https://github.com/servo/servo
Source-Revision: 2b623fcc7a4319b217cd52d1049b228a9fcc165a | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 6d00a31a9..49b92f8e1 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -342,15 +342,13 @@ fn initialize_png(width: usize, height: usize) -> RenderTargetInfo {
struct RenderNotifier {
compositor_proxy: Box<Compositor... | 6 | 58 | 45 |
f60d33c2066ec51c6db70434951e61d229eec6ea | Dexter Haslem | 2017-01-25T06:52:08 | servo: Merge #15174 - make -webkit-text-stroke color and width shorthand no longer sensitive to ordering (from DexterHaslem:15165-webkit-text-stroke-sh-ord); r=SimonSapin
<!-- Please describe your changes on the following line: -->
this makes `-webkit-text-stroke` shorthand work with line-width and color in either ord... | diff --git a/style/properties/shorthand/inherited_text.mako.rs b/style/properties/shorthand/inherited_text.mako.rs
index 38789c527..a75e6d892 100644
--- a/style/properties/shorthand/inherited_text.mako.rs
+++ b/style/properties/shorthand/inherited_text.mako.rs
@@ -76,25 +76,34 @@
use values::specified::{Border... | 1 | 23 | 14 |
4fdbb5922705a32010af92b1d59f2ff234ffe28a | Xidorn Quan | 2017-01-25T05:56:42 | servo: Merge #15173 - Fix serialization of border-image-repeat (from upsuper:border-image-repeat); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 742ed2e03c4c083d911525b6a2bfe0de31b3668d | diff --git a/style/properties/longhand/border.mako.rs b/style/properties/longhand/border.mako.rs
index 27cd5328d..2a2639684 100644
--- a/style/properties/longhand/border.mako.rs
+++ b/style/properties/longhand/border.mako.rs
@@ -308,15 +308,15 @@ ${helpers.single_keyword("-moz-float-edge", "content-box margin-box",
... | 1 | 3 | 3 |
52e52d17678da6974c0b654bd8669a861d7af57e | Cameron McCormack | 2017-01-25T05:00:56 | servo: Merge #15167 - Update cssparser to 0.7.3 to get perf improvements (from heycam:cssparser-up-2); r=bholley
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate da... | diff --git a/style/Cargo.toml b/style/Cargo.toml
index ca3d1881c..5b2842236 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -26,7 +26,7 @@ app_units = "0.3"
atomic_refcell = "0.1"
bitflags = "0.7"
cfg-if = "0.1.0"
-cssparser = "0.7"
+cssparser = "0.7.3"
encoding = "0.2"
euclid = "0.10.1"
fnv = "1.0" | 1 | 1 | 1 |
b9d706b30a6b34c444c819727e9f3388013237c2 | Matt Brubeck | 2017-01-25T04:06:18 | servo: Merge #15156 - WIP: Fix missing borders in tables with border-collapse (from mbrubeck:border-collapse); r=notriddle
This fixes a pair of bugs that caused some borders to be ignored by the border-collapse code. r? @notriddle
I haven't done a full test run with this change yet. After a `try` build I will update ... | diff --git a/layout/table.rs b/layout/table.rs
index 9ad018f62..81cde44bb 100644
--- a/layout/table.rs
+++ b/layout/table.rs
@@ -681,13 +681,18 @@ fn perform_border_collapse_for_row(child_table_row: &mut TableRowFlow,
}
// Compute block-start borders.
- match previous_block_borders {
- PreviousBlo... | 2 | 13 | 8 |
5c52f71c26f083b165dab66b662eabb8e728b6ac | Emilio Cobos Álvarez | 2017-01-25T01:02:41 | servo: Merge #15160 - style: Expose the traversal kind to the style system (from emilio:expose-traversal-kind); r=bholley
This way we'll be able to take different paths for the sequential and parallel
traversals in some concrete cases.
This is a preliminar patch to fix bug 1332525.
r? @bholley
Source-Repo: https://... | diff --git a/layout/traversal.rs b/layout/traversal.rs
index 0b65d78df..9ba0367e7 100644
--- a/layout/traversal.rs
+++ b/layout/traversal.rs
@@ -17,13 +17,14 @@ use style::data::ElementData;
use style::dom::{NodeInfo, TElement, TNode};
use style::selector_parser::RestyleDamage;
use style::servo::restyle_damage::{BUB... | 6 | 53 | 7 |
fc899a839ef4d716aa4a84cb4cd972fedc4111cc | Xidorn Quan | 2017-01-25T00:06:31 | servo: Merge #15153 - Put stylo's pseudo-class into a list file (from upsuper:pseudo-class-list); r=emilio
r? @emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: dc8fc4423833103de5cdf0e2e50003ee1fa07b8b | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
new file mode 100644
index 000000000..a019484e9
--- /dev/null
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -0,0 +1,49 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a co... | 2 | 120 | 125 |
e56def2862fb4f68cf46f14e9509cf80943ac7c1 | Josh Matthews | 2017-01-24T22:11:50 | servo: Merge #15118 - Use Heap instead of UnsafeCell in DOM reflectors (from jdm:reflector-barrier-crash); r=Ms2ger
The previous `Reflector` implementation did not use post barriers, so we could crash when storing nursery objects in a `Reflector` structure that were later moved out of the nursery.
- [X] `./mach build... | diff --git a/script/dom/bindings/reflector.rs b/script/dom/bindings/reflector.rs
index eebea3a61..4f3420707 100644
--- a/script/dom/bindings/reflector.rs
+++ b/script/dom/bindings/reflector.rs
@@ -7,9 +7,8 @@
use dom::bindings::conversions::DerivedFrom;
use dom::bindings::js::Root;
use dom::globalscope::GlobalScope;... | 3 | 18 | 26 |
bffb51016f57b38d7e6e7c4b10290a65a2121e8d | Matt Brubeck | 2017-01-24T19:14:28 | servo: Merge #15164 - Revert several changes that broke tests (from mbrubeck:revert); r=emilio
This is based on #15158 by @aneeshusa, with additional reverts.
This reverts #15064, which is causing many tests not to run, and #15129 and #15155 which landed while tests were not running and may have caused some new failu... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 49b92f8e1..6d00a31a9 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -342,13 +342,15 @@ fn initialize_png(width: usize, height: usize) -> RenderTargetInfo {
struct RenderNotifier {
compositor_proxy: Box<Compositor... | 7 | 48 | 58 |
2d59439e18b639aeb9de2de948603d137a47a3d3 | Roman Zaynetdinov | 2017-01-24T17:40:07 | servo: Merge #14930 - Implement support for removing stylesheets from their document (from zaynetro:remove-stylesheets); r=emilio
<!-- Please describe your changes on the following line: -->
This pull request implements removing styles from the document when
* `<link>` element with associated styles is removed
* `<st... | diff --git a/script/dom/htmllinkelement.rs b/script/dom/htmllinkelement.rs
index fd41329a9..4db3949d4 100644
--- a/script/dom/htmllinkelement.rs
+++ b/script/dom/htmllinkelement.rs
@@ -18,7 +18,7 @@ use dom::element::{AttributeMutation, Element, ElementCreator};
use dom::element::{cors_setting_for_element, reflect_cro... | 2 | 20 | 2 |
d2bd412a29e726844987d03a3261c5042e0ea196 | Anthony Ramine | 2017-01-24T16:02:15 | servo: Merge #15176 - Revert "Auto merge of #15136 - nox:mitochondria-finally-makes-it-into… (from nox:the-sadness); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 8382aaae83d93d8f26ba072e3b8537410e2af110 | diff --git a/script/Cargo.toml b/script/Cargo.toml
index 258ae0e11..bb3484606 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -53,7 +53,6 @@ libc = "0.2"
log = "0.3.5"
mime = "0.2.1"
mime_guess = "1.8.0"
-mitochondria = "1.1.2"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
num-traits = "... | 3 | 42 | 32 |
6d64423c56a1cb26260637c5d3e80bba67892546 | SwagColoredKitteh | 2017-01-24T15:06:51 | servo: Merge #15145 - Prevent crashing when a link tag has two or more in-flight requests (fix for issue #15101) (from SwagColoredKitteh:issue-15101); r=emilio
<!-- Please describe your changes on the following line: -->
The `HTMLLinkElement::set_stylesheet` function now checks whether there already is a stylesheet, a... | diff --git a/script/dom/htmllinkelement.rs b/script/dom/htmllinkelement.rs
index 7b26fb8bb..fd41329a9 100644
--- a/script/dom/htmllinkelement.rs
+++ b/script/dom/htmllinkelement.rs
@@ -37,6 +37,15 @@ use stylesheet_loader::{StylesheetLoader, StylesheetContextSource, StylesheetOwn
unsafe_no_jsmanaged_fields!(Styleshe... | 2 | 49 | 20 |
6aa3f36ebda99e856aba25b75ef25a51c4bb090d | Ms2ger | 2017-01-24T14:11:40 | servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 2ff42462154025b1aed97a825e3a171eaa156d9b | diff --git a/canvas/lib.rs b/canvas/lib.rs
index 104701673..70143d80a 100644
--- a/canvas/lib.rs
+++ b/canvas/lib.rs
@@ -9,7 +9,6 @@
extern crate azure;
extern crate canvas_traits;
-extern crate core;
extern crate cssparser;
extern crate euclid;
extern crate gleam;
diff --git a/canvas_traits/lib.rs b/canvas_trai... | 37 | 9 | 79 |
59d8375d36802763451b3d3133d6829f84f48315 | Emilio Cobos Álvarez | 2017-01-23T18:13:45 | servo: Merge #15155 - constellation: Cleanup the frame size handler (from emilio:frame-size-cleanup); r=cbrewster
This is a followup to #15129, addressing my last review comment.
r? anyone
Source-Repo: https://github.com/servo/servo
Source-Revision: 231481570e7ffc6c036b54a15507a9b2260ffe87 | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index 2cb9082e3..132bf40e1 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -1329,23 +1329,26 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
fn handle_frame_size_msg(&mut self,
... | 1 | 18 | 15 |
887946607a5f9f94367be4101d8bd087634b1f94 | Gabriel Poesia | 2017-01-23T16:55:44 | servo: Merge #13681 - Fix margin size calculation for TableWrapper (from gpoesia:master); r=mbrubeck
<!-- Please describe your changes on the following line: -->
Fixes inline size calculation for TableWrapper. The table's width was always reaching the inline size equation solver as a specified variable, which was cau... | diff --git a/layout/table_wrapper.rs b/layout/table_wrapper.rs
index 4f40a94e2..01800ce34 100644
--- a/layout/table_wrapper.rs
+++ b/layout/table_wrapper.rs
@@ -766,7 +766,13 @@ fn initial_computed_inline_size(block: &mut BlockFlow,
containing_block_inline_size);
... | 1 | 7 | 1 |
2897a419417239c2ef1546f0e4107e744ae30769 | Sam | 2017-01-23T15:26:00 | servo: Merge #14141 - Implement home end key scrolling (from samuknet:home-end-key-scroll2); r=glennw
<!-- Please describe your changes on the following line: -->
* Refactor all scroll related code to use a new `ScrollLocation` struct which can either be a `delta` (as before) or a `Start` or `End` request, to represen... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index bc3e0a3c4..49b92f8e1 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -39,7 +39,7 @@ use style_traits::viewport::ViewportConstraints;
use time::{precise_time_ns, precise_time_s};
use touch::{TouchHandler, TouchAction};
... | 2 | 69 | 31 |
2719f58628c76d357c1a512d943997f794ed64c2 | Nikhil Shagrithaya | 2017-01-23T14:08:02 | servo: Merge #15129 - Refactor to send iframe resize messages directly from layout thread to constellation (from cynicaldevil:iframe-resize); 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... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index ea0da5168..bc3e0a3c4 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -342,15 +342,13 @@ fn initialize_png(width: usize, height: usize) -> RenderTargetInfo {
struct RenderNotifier {
compositor_proxy: Box<Compositor... | 6 | 54 | 44 |
4ad5f5f9da30fdf0de5882058a8ef13219d1baf1 | Anthony Ramine | 2017-01-23T11:17:33 | servo: Merge #15136 - Use mitochondria::OnceCell to store ScriptThread in TLS (from nox:mitochondria-finally-makes-it-into-the-tree); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ca6376a7142640185f21beca4b11011e8367ec91 | diff --git a/script/Cargo.toml b/script/Cargo.toml
index bb3484606..258ae0e11 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -53,6 +53,7 @@ libc = "0.2"
log = "0.3.5"
mime = "0.2.1"
mime_guess = "1.8.0"
+mitochondria = "1.1.2"
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
num-traits = "... | 3 | 32 | 42 |
9e5a6f6adaa98ef58ec1937fde280f6858ae345e | Aneesh Agrawal | 2017-01-23T10:05:40 | servo: Merge #15064 - Remove -w flag now that WebRender is always used (from aneeshusa:remove-webrender-opt); r=Ms2ger
Also remove the obsolete `--cpu` and `--gpu` renderer flags,
which also are no longer used.
Update tests and wptrunner to not pass these flags.
<!-- Please describe your changes on the following lin... | diff --git a/config/opts.rs b/config/opts.rs
index df2bb2e04..4abcf1f84 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -573,8 +573,6 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
let (app_name, args) = args.split_first().unwrap();
let mut opts = Options::new();
- opts.optfl... | 1 | 0 | 3 |
a21565ac5366da0a79d021bec9f4fa0f7d098934 | Boris Chiou | 2017-01-23T07:07:30 | servo: Merge #15150 - Update selectors to 0.15.1 (from BorisChiou:update_selectors); r=heycam
selectors 0.15.1 supports AFFECTED_BY_ANIMATIONS and
AFFECTED_BY_TRANSITIONS, which are used by stylo animations.
Reference:
https://bugzilla.mozilla.org/show_bug.cgi?id=1317209
---
- [X] `./mach build -d` does not report a... | diff --git a/layout/Cargo.toml b/layout/Cargo.toml
index eb1c968b5..8a782d1ae 100644
--- a/layout/Cargo.toml
+++ b/layout/Cargo.toml
@@ -35,7 +35,7 @@ range = {path = "../range"}
rayon = "0.6"
script_layout_interface = {path = "../script_layout_interface"}
script_traits = {path = "../script_traits"}
-selectors = "0.... | 5 | 5 | 5 |
5dd958b988604fb36eb9f4dcc969f523c5530e53 | Shing Lyu | 2017-01-23T03:57:49 | servo: Merge #14978 - Implemented display: inline-flex (from shinglyu:inline-flex); r=notriddle
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./... | diff --git a/layout/block.rs b/layout/block.rs
index a4eb30ce6..7859cb9a9 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -567,7 +567,7 @@ impl BlockFlow {
} else {
BlockType::FloatNonReplaced
}
- } else if self.is_inline_block() {
+ } else if self.is_inlin... | 5 | 28 | 10 |
e86cdd55db6f1433923e45c2c7dda6314be38d0d | Tawhid Hannan | 2017-01-22T20:31:41 | servo: Merge #15146 - Added compiletest to verify TrustedPromise does not implement Clone (from Verlet64:verlet64/no_clone_trusted_promise); r=jdm
As per issue: https://github.com/servo/servo/issues/14500
I have added a test to ensure that TrustedPromise does not implement Clone.
This is my first PR to the project, ... | diff --git a/script/test.rs b/script/test.rs
index 83523c478..9aeff2a22 100644
--- a/script/test.rs
+++ b/script/test.rs
@@ -9,6 +9,7 @@ pub use dom::headers::normalize_value;
pub use dom::bindings::cell::DOMRefCell;
pub use dom::bindings::js::JS;
pub use dom::node::Node;
+pub use dom::bindings::refcounted::TrustedP... | 1 | 1 | 0 |
9a6150ccc997591c9ad667d9b12cf0dff7a268ed | Anthony Ramine | 2017-01-22T14:32:10 | servo: Merge #15137 - Kill eventdispatcher (from nox:dispatch); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: dc9706cf699dad0e0441b341b8d9d0b4ed7d7185 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index dd78af6ec..6bf8c841d 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -41,8 +41,7 @@ use dom::documenttype::DocumentType;
use dom::domimplementation::DOMImplementation;
use dom::element::{Element, ElementCreator, ElementPerformFulls... | 8 | 282 | 368 |
57edd66e078d0f8d82c2dbdcb838cc0838fabfde | kkkkkkkk | 2017-01-21T15:14:29 | servo: Merge #15134 - add font-stretch to font shorthand sub-property (from seankao31:font-stretch-shorthand); r=canaltinova
<!-- Please describe your changes on the following line: -->
Add `font-stretch` sub-property to font shorthand
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` w... | diff --git a/style/properties/shorthand/font.mako.rs b/style/properties/shorthand/font.mako.rs
index 7742ab11b..f058c56a7 100644
--- a/style/properties/shorthand/font.mako.rs
+++ b/style/properties/shorthand/font.mako.rs
@@ -4,21 +4,22 @@
<%namespace name="helpers" file="/helpers.mako.rs" />
-<%helpers:shorthand n... | 1 | 18 | 5 |
01ddd0768be5bca0a1c3c8aa44bf7a4665787668 | Anthony Ramine | 2017-01-20T23:25:38 | servo: Merge #15132 - Improve the end (from nox:load-fixes); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1b68f7946858ccd25132fe5e04923f23e269c6b0 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index c1f4d0568..8702120c9 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -1539,34 +1539,71 @@ impl Document {
loader.fetch_async(load, request, fetch_target);
}
+ // https://html.spec.whatwg.org/multipage/#the-end
+ ... | 1 | 61 | 14 |
3a01219cff43685cce665cd189205330b7e0287a | Anthony Ramine | 2017-01-20T21:41:32 | servo: Merge #15128 - Simplify how we handle script scheduling and delaying the load event (from nox:load-fixes); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 830fe189adfa93a09af5e4018a110a718a8a95cd | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 65f106192..c1f4d0568 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -229,7 +229,7 @@ pub struct Document {
/// https://html.spec.whatwg.org/multipage/#list-of-scripts-that-will-execute-in-order-as-soon-as-possible
asap_in_... | 2 | 41 | 44 |
ac48a4f17bd307c3deb45d2f8b0969746fe839b2 | Aneesh Agrawal | 2017-01-20T20:10:32 | servo: Merge #15029 - Check all constellation files for panics (from aneeshusa:check-whole-constellation-for-panics); r=asajeffrey
Teaches the `etc/ci/check_no_panic.sh` script to handle directories,
so it can check all constellation files for panics.
<!-- Please describe your changes on the following line: -->
r? @... | diff --git a/constellation/timer_scheduler.rs b/constellation/timer_scheduler.rs
index 1578da7a9..832773f0d 100644
--- a/constellation/timer_scheduler.rs
+++ b/constellation/timer_scheduler.rs
@@ -39,7 +39,7 @@ impl PartialEq for ScheduledEvent {
impl TimerScheduler {
pub fn start() -> IpcSender<TimerEventReque... | 1 | 4 | 4 |
0647f0bcc72b8bc2d14ce621aaa113821140d1e6 | Ms2ger | 2017-01-20T18:17:38 | servo: Merge #15127 - Privatize RootedTraceableSet (from servo:RootedTraceableSet); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5cd04259334270daa93743aaa6a72c039082bf5e | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index f796c87fb..e8992337c 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -581,7 +581,7 @@ unsafe impl JSTraceable for RwLock<MediaList> {
}
/// Holds a set of JSTraceables that need to be rooted
-pub struct Ro... | 1 | 1 | 1 |
79f3bdc76b65578cf8ac0588db88eb794141f899 | Ms2ger | 2017-01-20T16:03:41 | servo: Merge #15117 - Fix and annotate some FileAPI test failures (from servo:fileapi); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e6f661c984e4762a91a38d481bd50c0151411079 | diff --git a/script/dom/filereader.rs b/script/dom/filereader.rs
index 9b5c39b01..039d516db 100644
--- a/script/dom/filereader.rs
+++ b/script/dom/filereader.rs
@@ -27,7 +27,7 @@ use js::jsapi::Heap;
use js::jsapi::JSAutoCompartment;
use js::jsapi::JSContext;
use js::jsval::{self, JSVal};
-use js::typedarray::Uint8A... | 1 | 2 | 2 |
f93c6d9b0a2bce4ec4687a679dab3b93a9044ce9 | Bobby Holley | 2017-01-19T23:27:34 | servo: Merge #15119 - Add style performance statistics to Servo (from bholley:traversal_stats); r=emilio
Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1331856
Source-Repo: https://github.com/servo/servo
Source-Revision: f8418a328435b114f6d8bb41c378a5bf0dfa4428 | diff --git a/style/context.rs b/style/context.rs
index 7c9f0f0ab..49141c7cf 100644
--- a/style/context.rs
+++ b/style/context.rs
@@ -16,6 +16,9 @@ use matching::StyleSharingCandidateCache;
use parking_lot::RwLock;
use properties::ComputedValues;
use std::collections::HashMap;
+use std::env;
+use std::fmt;
+use std::... | 5 | 95 | 29 |
be5af88af1171176fb1f2c8afdb9c2ed7e016068 | Pavel Potocek | 2017-01-19T22:10:33 | servo: Merge #15083 - Fix #14497: WeakMediaQueryListVec assumes its contents are still alive (from potocpav:issue-14497); r=KiChjang
<!-- Please describe your changes on the following line: -->
First time contributor here. Noticed this issue is easily solved, so I did it. I am very unsure about how things work here: I... | diff --git a/script/dom/mediaquerylist.rs b/script/dom/mediaquerylist.rs
index db96a4760..c6e569b5e 100644
--- a/script/dom/mediaquerylist.rs
+++ b/script/dom/mediaquerylist.rs
@@ -138,7 +138,7 @@ impl WeakMediaQueryListVec {
/// Evaluate media query lists and report changes
/// https://drafts.csswg.org/cssom... | 1 | 2 | 2 |
1d8c3f2eb03fbf2eb44efb9c104bf5674a7ec796 | Anthony Ramine | 2017-01-19T15:32:45 | servo: Merge #15098 - Mark the page source as loaded only after parsing is done (from nox:load-fixes); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 6272cb5a519d2b5e92ac7112c177043970feedaa | diff --git a/script/dom/document.rs b/script/dom/document.rs
index d99a90588..65f106192 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -132,6 +132,7 @@ use style::restyle_hints::RestyleHint;
use style::selector_parser::{RestyleDamage, Snapshot};
use style::str::{split_html_space_chars, str_join};... | 5 | 34 | 41 |
507e806efd0b743f6b85dbc96a7666bc84512bea | Ms2ger | 2017-01-19T11:05:17 | servo: Merge #15108 - Don't try to get the global of an object while it's being destroyed (from servo:callbackobject-drop); r=KiChjang
Fixes #15070.
Fixes #15097.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2c816a2e9dfe3eb6952fd61f5a96cf26668ad9c8 | diff --git a/script/dom/bindings/callback.rs b/script/dom/bindings/callback.rs
index c246e1159..c54eaade0 100644
--- a/script/dom/bindings/callback.rs
+++ b/script/dom/bindings/callback.rs
@@ -15,6 +15,7 @@ use js::jsapi::{JSCompartment, JS_EnterCompartment, JS_LeaveCompartment, RemoveR
use js::jsapi::JSAutoCompartmen... | 1 | 2 | 1 |
c5175889678cbd326bb29ab25e006ef65ca5bad4 | Dexter Haslem | 2017-01-19T05:29:59 | servo: Merge #15107 - convert less interesting debug! logs to traces (from DexterHaslem:15100-convert-debug-to-traces); r=cbrewster
<!-- Please describe your changes on the following line: -->
converted some debug! invocations to trace!
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` ... | diff --git a/rand/lib.rs b/rand/lib.rs
index 2771bc1f4..c1018c3de 100644
--- a/rand/lib.rs
+++ b/rand/lib.rs
@@ -77,14 +77,14 @@ impl<'a> SeedableRng<&'a [usize]> for ServoRng {
/// Note that this RNG does not reseed itself, so care is needed to reseed the RNG
/// is required to be cryptographically sound.
... | 5 | 31 | 31 |
0142a212d4c1dfbd49f4523a9c10114aaf2e5016 | Manish Goregaokar | 2017-01-19T01:41:05 | servo: Merge #15089 - Reduce allocator churn when parsing property declaration blocks (from Manishearth:less-vec); r=SimonSapin
fixes #15060
cc @emilio
r? @SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 5e888b5504a9daad86663837ca9e996d63a48821 | diff --git a/script/dom/cssstyledeclaration.rs b/script/dom/cssstyledeclaration.rs
index 7595fe4bf..c231957d6 100644
--- a/script/dom/cssstyledeclaration.rs
+++ b/script/dom/cssstyledeclaration.rs
@@ -193,7 +193,7 @@ impl CSSStyleDeclaration {
ParserContextExtraData::default());
... | 5 | 80 | 46 |
b356b39aa2fe106abb1ff5eeacaf3e9744b260b0 | Vladimir Vukicevic | 2017-01-19T00:09:51 | servo: Merge #15096 - Implement downloadable fonts on Windows (from vvuk:custom-font-files); r=emilio
This PR implements downloadable font support for Servo. It depends on new changes in webrender and dwrote, and adds a dependency on the `truetype` crate for pulling out basic font information. The original DirectWri... | diff --git a/gfx/Cargo.toml b/gfx/Cargo.toml
index b8fe39cda..3f6ff4f71 100644
--- a/gfx/Cargo.toml
+++ b/gfx/Cargo.toml
@@ -60,4 +60,5 @@ servo-fontconfig = "0.2.1"
simd = {git = "https://github.com/huonw/simd"}
[target.'cfg(target_os = "windows")'.dependencies]
-dwrote = "0.1.1"
+dwrote = "0.1.5"
+truetype = "0.2... | 4 | 238 | 57 |
8bfd449ab9e5d7d705ab0b841df705f8a5fe365b | Ms2ger | 2017-01-18T19:17:05 | servo: Merge #15095 - Omit the 'ServoUrl()' wrapping in ServoUrl's Debug implementation (from servo:debug-servourl); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 0cca7ca85dc611952eeabd5b799e6c933dab7557 | diff --git a/url/lib.rs b/url/lib.rs
index 2a3069ff3..4f236a7a2 100644
--- a/url/lib.rs
+++ b/url/lib.rs
@@ -23,7 +23,7 @@ use std::path::Path;
use std::sync::Arc;
use url::{Url, Origin, Position};
-#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
+#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]... | 1 | 7 | 1 |
f29f140ef68709694c0aab0d965d79647da18689 | Permutator | 2017-01-18T18:03:37 | servo: Merge #14839 - Make offset parent queries less buggy (from Permutatrix:iss-12939); r=emilio
<!-- Please describe your changes on the following line: -->
Offset parent queries, which are used in the getters for HTMLElement's `offsetParent`, `offsetTop`, `offsetLeft`, `offsetWidth`, and `offsetHeight`, are pretty... | diff --git a/layout/query.rs b/layout/query.rs
index bd6088a1e..cbfeb98c8 100644
--- a/layout/query.rs
+++ b/layout/query.rs
@@ -14,6 +14,7 @@ use flow::{self, Flow};
use fragment::{Fragment, FragmentBorderBoxIterator, SpecificFragmentInfo};
use gfx::display_list::{DisplayItemMetadata, DisplayList, OpaqueNode, Scroll... | 1 | 89 | 24 |
fb2fb4e8256fd6f14670675ead4a3c04b2de1978 | Emilio Cobos Álvarez | 2017-01-18T16:43:19 | servo: Merge #15053 - Return the intrinsic image dimension when the image is not rendered (from emilio:image-width); r=jdm
See individual commits for details.
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ba59ee662752891f9f9b452c1f4b847fad9f64ac | diff --git a/layout/query.rs b/layout/query.rs
index 4fe98c059..bd6088a1e 100644
--- a/layout/query.rs
+++ b/layout/query.rs
@@ -54,7 +54,7 @@ pub struct LayoutThreadData {
pub stylist: Arc<Stylist>,
/// A queued response for the union of the content boxes of a node.
- pub content_box_response: Rect<Au>,... | 9 | 30 | 23 |
fdd7376e43a033075c388d82207fd90878c5fe83 | Connor Brewster | 2017-01-18T15:47:54 | servo: Merge #15091 - Ensure FrameState consistency (from cbrewster:frame_state_consistency); r=asajeffrey
<!-- Please describe your changes on the following line: -->
As we begin to add more state to `FrameState`, we need to make sure that when we do replacements and when we finish traversals that the state is proper... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index 15c0e258e..e3aefdeaa 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -2033,9 +2033,7 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
debug_assert_eq!(entry.instant, curr_... | 2 | 18 | 4 |
3acfd360c2f134ab273ff182d9df7a3eb2d8c079 | Anthony Ramine | 2017-01-18T10:17:17 | servo: Merge #15072 - Refactor some things related to script loading (from nox:load-fixes); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 80c6383140cfcac0a9ee7363e0a49f1a061a5c84 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index fc3025615..38d7a5797 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -1450,29 +1450,6 @@ impl Document {
changed
}
- pub fn set_pending_parsing_blocking_script(&self,
- ... | 4 | 66 | 105 |
a3d068ad6e919fda7ab4eaa82f1195d6e92dcb1b | Xidorn Quan | 2017-01-18T09:22:00 | servo: Merge #15090 - Fix initial value of -moz-user-{input,focus} (from upsuper:moz-user-input); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 90522d93793edbf5d8e755791b6a1f473a3182e1 | diff --git a/style/properties/longhand/pointing.mako.rs b/style/properties/longhand/pointing.mako.rs
index 6e202da62..71c43b2cc 100644
--- a/style/properties/longhand/pointing.mako.rs
+++ b/style/properties/longhand/pointing.mako.rs
@@ -149,7 +149,7 @@
${helpers.single_keyword("pointer-events", "auto none", animatable... | 1 | 2 | 2 |
05da7c5b6ec53b7c6158389b258350c8963c9a08 | Paul Rouget | 2017-01-17T18:56:22 | servo: Merge #15074 - Remove browserhtml dependency from components/servo (from paulrouget:removeBhtmlFromComponent); r=Ms2ger
Fix #15066
Source-Repo: https://github.com/servo/servo
Source-Revision: a73fd01f01945d88a565c4c65f4049d64dc89bf0 | diff --git a/servo/Cargo.toml b/servo/Cargo.toml
index 4bde23493..359b84827 100644
--- a/servo/Cargo.toml
+++ b/servo/Cargo.toml
@@ -24,7 +24,6 @@ debugmozjs = ["script/debugmozjs"]
backtrace = "0.2"
bluetooth_traits = {path = "../bluetooth_traits"}
bluetooth = {path = "../bluetooth"}
-browserhtml = {git = "https://... | 1 | 0 | 1 |
daea7cfb0af98319b3a9288a98eee8be3790544e | Xidorn Quan | 2017-01-17T17:05:33 | servo: Merge #15071 - Fix typo in glue code for page-break-after (from upsuper:page-break-after); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 4b3fbc005966295b8fd6c368e4bba63fc03c45db | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 1acc7c5c8..7f26b5d11 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -1251,7 +1251,7 @@ fn static_assert() {
T::left => true,
T::right => true
};
- self.gec... | 1 | 1 | 1 |
7adabf1cafab8cc7ea9f6c3da62e46656e22abad | Cameron McCormack | 2017-01-17T16:13:47 | servo: Merge #15069 - Update geckolib build-time bindgen build script for recent regex changes (from heycam:bindgen-regex-update); r=emilio
`./mach build-geckolib --with-gecko ...` is broken due to regex's API changing a bit.
r? @Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: b4980f9037805c... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 6a524f6dd..c2983df20 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -91,7 +91,7 @@ mod bindings {
added_paths.insert(path);
// Find all includes and add them recursively
for cap in INCLUDE_RE.captures_iter(&conten... | 1 | 3 | 2 |
82dbf407d47b45ca914e64cd4b34ced5bf627a1b | Martin Robinson | 2017-01-17T15:18:42 | servo: Merge #14979 - Only create scrolling overflow regions when necessary (from mrobinson:scroll-roots-when-necessary); r=emilio
Only create scroll roots for overflow regions when the overflow region
is actually larger than the container size. This prevents creating
scrolling roots for elements that do not have over... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index a904ee41b..ec3173cb8 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -25,7 +25,7 @@ use ipc_channel::ipc::IpcSharedMemory;
use msg::constellation_msg::PipelineId;
use net_traits::image::base::{Image, PixelFormat};
use range::R... | 6 | 78 | 63 |
0de3e7595678347cff1db7a800b13a7ae113cd4a | Ravi Shankar | 2017-01-17T10:18:15 | servo: Merge #15063 - Cleaning up CalcLengthOrPercentage (from Wafflespeanut:calc); r=heycam
<!-- Please describe your changes on the following line: -->
We don't really need enum variants in `CalcLengthOrPercentage`. Given that we already have the information (whether it's `vw`, `ch`, etc.) in the struct fields, we ... | diff --git a/style/values/computed/length.rs b/style/values/computed/length.rs
index 5ff6b5f0c..9268f5748 100644
--- a/style/values/computed/length.rs
+++ b/style/values/computed/length.rs
@@ -10,6 +10,7 @@ use std::fmt;
use style_traits::ToCss;
use super::{Number, ToComputedValue, Context};
use values::{Auto, CSSFl... | 2 | 58 | 36 |
883aaff741a39442fceac4bbb951e970a822d45a | Xidorn Quan | 2017-01-17T02:01:43 | servo: Merge #15056 - Never blockify display: none (from upsuper:blockify-none); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 7c1112408e2d73d291bcb7c38cd935a07f83f045 | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index 3661d03a3..3ef6e64a4 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -1973,7 +1973,7 @@ pub fn apply_declarations<'a, F, I>(viewport_size: Size2D<Au>,
% endif
... | 1 | 1 | 1 |
1b231fa4abd14f5866f7688557728018b32768c2 | Florian Merz | 2017-01-16T23:46:05 | servo: Merge #15047 - gfx: Don't mutate the same point multiple times while translating it … (from emilio:click-regression); r=notriddle,emilio
…to other stacking context space.
I don't know how neither review or a test caught this.
r? @pcwalton or @notriddle
Fixes #15015
Source-Repo: https://github.com/servo/ser... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index fb6aa9524..a904ee41b 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -55,11 +55,10 @@ impl DisplayList {
scroll_offsets: &ScrollOffsetMap)
-> Option<usize> {
let mut result =... | 2 | 18 | 15 |
4057f64c71cc5c9e14148f071e7151ab69474574 | Manish Goregaokar | 2017-01-16T21:56:51 | servo: Merge #15040 - stylo: support 1-arg CSS.supports() (from Manishearth:stylo-supports); r=heycam
r=heycam in https://bugzilla.mozilla.org/show_bug.cgi?id=1331316
Source-Repo: https://github.com/servo/servo
Source-Revision: b9c6f9f76e4e9170837484394600b9c9c6065059 | diff --git a/style/gecko_bindings/bindings.rs b/style/gecko_bindings/bindings.rs
index 2f8a6aa9c..9d355444e 100644
--- a/style/gecko_bindings/bindings.rs
+++ b/style/gecko_bindings/bindings.rs
@@ -1317,8 +1317,11 @@ extern "C" {
nsCSSPropertyID);
}
extern "C" ... | 1 | 5 | 2 |
21f378086c276e785401bfb95451c6eafaa855aa | Emilio Cobos Álvarez | 2017-01-16T21:01:59 | servo: Merge #15018 - gfx: Use proper freetype bindings (from emilio:freetype); r=jdm
<!-- Please describe your changes on the following line: -->
Needs https://github.com/servo/rust-freetype/pull/48, and https://github.com/servo/webrender/pull/716
Source-Repo: https://github.com/servo/servo
Source-Revision: c8c3824... | diff --git a/gfx/Cargo.toml b/gfx/Cargo.toml
index 7ce2bf725..b8fe39cda 100644
--- a/gfx/Cargo.toml
+++ b/gfx/Cargo.toml
@@ -53,7 +53,7 @@ core-graphics = "0.4"
core-text = "2.0"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
-freetype = "0.1.3"
+freetype = "0.2"
servo-fontconfig = "0... | 3 | 21 | 20 |
88ac6e4282f40dfe752bde46ed5cc4682337ec89 | Emilio Cobos Álvarez | 2017-01-16T20:07:02 | servo: Merge #15031 - Bug 1331272: style: Unify restyle-damage display: none checks (from emilio:stylo-display-none-pseudo); r=bholley
They were formerly different because we used the element check to cull the
traversal.
Now this is no longer true, so we can just unify them.
Also, update a no-longer up-to-date comme... | diff --git a/style/matching.rs b/style/matching.rs
index 857926b5c..63165927a 100644
--- a/style/matching.rs
+++ b/style/matching.rs
@@ -769,22 +769,23 @@ pub trait MatchMethods : TElement {
//
// 2. This is an incremental restyle, but the old display value
// is ... | 1 | 15 | 39 |
e85f8e84e4479ae9e2c3d44c72124c6e6bf729fc | Josh Matthews | 2017-01-16T19:11:46 | servo: Merge #15020 - Do not use the script element's line number for external scripts (from jdm:external_script_line); r=Ms2ger
This was yielding incorrect line numbers when looking at JS backtraces in gdb.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] T... | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index d80ab78c9..e1b23f9b2 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -500,9 +500,10 @@ impl HTMLScriptElement {
// Step 5.a.2.
let window = window_from_node(self);
+ let ... | 1 | 2 | 1 |
0981411415254a33229f97c95aa926f1f59206a2 | Ms2ger | 2017-01-16T13:59:18 | servo: Merge #15042 - Update regex (from servo:update-regex); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bb540cab632593841611ad470c87d2093af75158 | diff --git a/bluetooth_traits/Cargo.toml b/bluetooth_traits/Cargo.toml
index c2c5a632b..e1ccdf4ad 100644
--- a/bluetooth_traits/Cargo.toml
+++ b/bluetooth_traits/Cargo.toml
@@ -11,7 +11,7 @@ path = "lib.rs"
[dependencies]
ipc-channel = "0.5"
-regex = "0.1.43"
+regex = "0.2"
serde = "0.8"
serde_derive = "0.8"
ser... | 10 | 13 | 13 |
8922b4e36456de6f31b5c09dc1de28e65c32285e | Xidorn Quan | 2017-01-16T09:22:13 | servo: Merge #15038 - Store blink value for text-decoration-line (from upsuper:text-decor-blink); r=emilio
The spec does say user agents may not blink, but it doesn't say this
value can be ignored during parsing.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Serv... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 6d5885473..1acc7c5c8 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2315,6 +2315,9 @@ fn static_assert() {
if v.line_through {
bits |= structs::NS_STYLE_TEXT_DECORATION_LINE_LIN... | 2 | 15 | 7 |
a186f071b59eda4876d235ce9d837e2f70e91156 | tyler | 2017-01-14T23:08:56 | servo: Merge #15026 - Max session fix (from tydus101:max-session-fix); r=jdm
<!-- Please describe your changes on the following line: -->
Converted document discarding from an opt into a pref. Updated testing docs and changed all uses to pref api.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]... | diff --git a/config/opts.rs b/config/opts.rs
index 32195664f..df2bb2e04 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -68,9 +68,6 @@ pub struct Opts {
pub output_file: Option<String>,
- /// How much session history to keep in each tab.
- pub max_session_history: usize,
-
/// Replace unpaires s... | 2 | 2 | 11 |
9baf238f5c316fe6a8055404ccedf8e614181be4 | Nikhil Shagrithaya | 2017-01-14T21:54:01 | servo: Merge #15028 - Minor spelling corrections (from cynicaldevil:correction); 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: -->
<!-- Either: -... | diff --git a/constellation/frame.rs b/constellation/frame.rs
index d137e504f..1613e18b6 100644
--- a/constellation/frame.rs
+++ b/constellation/frame.rs
@@ -11,12 +11,12 @@ use std::mem::replace;
use std::time::Instant;
/// A frame in the frame tree.
-/// Each frame is the constrellation's view of a browsing contex... | 1 | 3 | 3 |
a55f415f0db7e2195ab4739dd1a3e8f84b4f3cbf | Hiroyuki Ikezoe | 2017-01-14T05:26:53 | servo: Merge #15022 - Animation name fix (from hiikezoe:animation-name-fix); r=heycam
<!-- Please describe your changes on the following line: -->
This is a PR of the counter part of https://bugzilla.mozilla.org/show_bug.cgi?id=1330824 .
All of patches have been reviewed by @heycam and @mystor.
---
<!-- Thank you fo... | diff --git a/style/gecko_bindings/nsstring_vendor/src/lib.rs b/style/gecko_bindings/nsstring_vendor/src/lib.rs
index af0ba1d19..ef2f07e06 100644
--- a/style/gecko_bindings/nsstring_vendor/src/lib.rs
+++ b/style/gecko_bindings/nsstring_vendor/src/lib.rs
@@ -574,6 +574,12 @@ impl nsACString {
pub unsafe fn as_str_un... | 3 | 57 | 15 |
ed0f6ada80307239b42cf4cc03a6727040bc3853 | Prudhvi Rampey | 2017-01-13T22:15:44 | servo: Merge #15016 - Documents now fully deactivate when a freeze message is sent (from prampey:doc-deactivate); r=cbrewster
<!-- Please describe your changes on the following line: -->
Documents now fully deactivate when a freeze message is sent
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]... | diff --git a/script/script_thread.rs b/script/script_thread.rs
index 4a2a76aa7..655825710 100644
--- a/script/script_thread.rs
+++ b/script/script_thread.rs
@@ -1354,9 +1354,10 @@ impl ScriptThread {
/// Handles freeze message
fn handle_freeze_msg(&self, id: PipelineId) {
- let window = self.document... | 1 | 4 | 3 |
e9fe3b0ec35da776f0a0fe0d812eba6ba1310902 | Manish Goregaokar | 2017-01-13T21:25:39 | servo: Merge #14968 - stylo: Store servo computed values for animation properties (from Manishearth:stylo-keyframes); r=heycam,birtles
Servo counterpart of https://bugzilla.mozilla.org/show_bug.cgi?id=1317208
r=heycam,birtles
Source-Repo: https://github.com/servo/servo
Source-Revision: a46e630b00de3072b0555c605bee35... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index b696f0f12..0420b498a 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -108,7 +108,7 @@ mod bindings {
trait BuilderExt {
fn get_initial_builder(build_type: BuildType) -> Builder;
fn include<T: Into<String>>(self, file: ... | 6 | 195 | 14 |
838e7c8423b16e897caacfecf1540099aa33fa21 | Anthony Ramine | 2017-01-13T12:51:50 | servo: Merge #15009 - Don't fire a load event on inline scripts (from nox:load-fixes); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 89c210f2c8974f5575047fdab6f2b7bc640c684b | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index 52935e32d..cf0d3c6cf 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -528,8 +528,6 @@ impl HTMLScriptElement {
// Step 8.
if script.external {
self.dispatch_load_even... | 1 | 0 | 2 |
a1ccc5ce6892c75be666d6234454229830571a86 | Xidorn Quan | 2017-01-13T05:49:04 | servo: Merge #15002 - Fix filling of two vector fields for geckolib (from upsuper:background-fields); r=Manishearth
<!-- Please describe your changes on the following line: -->
This fixes a crash of stylo when you do the following:
```javascript
p.setAttribute("style", "background-blend-mode: multiply");
alert(getComp... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 4d3b1c999..0488ed314 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -1774,9 +1774,9 @@ fn static_assert() {
}
<%
- fill_fields = "mRepeat mClip mOrigin mPositionX mPositionY mImage"... | 2 | 3 | 3 |
1ecd55d5de97044e61ddd900e6157ed86086b6d2 | Bobby Holley | 2017-01-13T03:23:17 | servo: Merge #14997 - stylo: Various crash fixes (from bholley:bug_1329845); r=heycam
Corresponding gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1329854
Source-Repo: https://github.com/servo/servo
Source-Revision: cc8bee8f8990e9bb23171fe65a259978749a9d2f | diff --git a/style/traversal.rs b/style/traversal.rs
index af943c503..694a4aff5 100644
--- a/style/traversal.rs
+++ b/style/traversal.rs
@@ -418,6 +418,19 @@ pub fn recalc_style_at<E, D>(traversal: &D,
(element.has_dirty_descendants() || !propagated_hint.is_empty() || inherited_style_changed) {
preproc... | 1 | 13 | 0 |
0a83f5bca6ac4d48a2136ca3e3a5eb9c9e49ca02 | Michael Howell | 2017-01-13T01:31:19 | servo: Merge #14989 - Fix the incrmental reflow behavior of text-overflow (from notriddle:ellipsis_reflow); r=emilio
This patch allows Servo to incrementally reflow truncated fragments correctly.
* The untruncated version of a fragment is preserved, and when incrementally reflowing, the untruncated version is what ge... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 4c7e29866..8d9e6547c 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -19,7 +19,7 @@ use flex::FlexFlow;
use flow::{BaseFlow, Flow, IS_ABSOLUTELY_POSITIONED};
use flow_ref::FlowRef;
use fragment::{Co... | 3 | 167 | 29 |
25f096e2f640308e22473f0a957616dabd282a27 | Simon Sapin | 2017-01-13T00:07:54 | servo: Merge #14992 - Upgrade to rustc 1.16.0-nightly (2782e8f8f 2017-01-12) (from servo:rustup); r=jdm
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
-... | diff --git a/plugins/lints/transmute_type.rs b/plugins/lints/transmute_type.rs
index 1488aaa9a..15e760291 100644
--- a/plugins/lints/transmute_type.rs
+++ b/plugins/lints/transmute_type.rs
@@ -29,11 +29,10 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for TransmutePass {
if path.segments.last()
... | 3 | 6 | 6 |
29fb02b6ea2bd5daa0c148dc91573a1fc59c079d | Alan Jeffrey | 2017-01-12T21:22:59 | servo: Merge #14990 - Remove reflow status from browsing context (from asajeffrey:script-remove-browsing-context-reflow); r=emilio
<!-- Please describe your changes on the following line: -->
This PR removes the reflow status from each browsing context. Previously, we were only using it to avoid reflowing on traversa... | diff --git a/script/dom/browsingcontext.rs b/script/dom/browsingcontext.rs
index 9652445d9..1c2ca66b3 100644
--- a/script/dom/browsingcontext.rs
+++ b/script/dom/browsingcontext.rs
@@ -33,9 +33,6 @@ use std::cell::Cell;
pub struct BrowsingContext {
reflector: Reflector,
- /// Indicates if reflow is required ... | 2 | 1 | 20 |
21a5609ef64c4b89faee8f725d121c229716085f | karenher | 2017-01-12T02:11:52 | servo: Merge #14963 - Report meaningful line numbers for inline script errors (from jdm:script_current_line); r=asajeffrey
Rebased from #14661.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12744 and partially #9604
- [X] There are ... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index d9c2f6907..be1e0eca4 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -145,10 +145,25 @@ impl fmt::Debug for Element {
#[derive(PartialEq, HeapSizeOf)]
pub enum ElementCreator {
- ParserCreated,
+ ParserCreated(u64),
Script... | 7 | 38 | 12 |
79795ff4ad961f620f75f686619f687c41848d43 | Nazım Can Altınova | 2017-01-11T23:47:04 | servo: Merge #14964 - Remove unnecessary try!'s (from canaltinova:ok-try); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
These try!'s are unnecessary here. We can remove them.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and... | diff --git a/style/values/specified/basic_shape.rs b/style/values/specified/basic_shape.rs
index 1d2ebd6c0..a4e0eefcb 100644
--- a/style/values/specified/basic_shape.rs
+++ b/style/values/specified/basic_shape.rs
@@ -239,7 +239,7 @@ impl Parse for InsetRect {
fn parse(context: &ParserContext, input: &mut Parser) -... | 1 | 4 | 4 |
666cafa388dff06e7bc604a5515bbc2906d7725f | Florian Merz | 2017-01-11T22:19:10 | servo: Merge #14291 - Position insertion point in input field with mouse (from fiji-flo:text-input-select); r=pcwalton
<!-- Please describe your changes on the following line: -->
Implements cursor positioning in input elements (text/password) via mouse. The related issue is #10083 but is only covered partly.
This PR ... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index a2cb83c5c..fb6aa9524 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -48,10 +48,74 @@ pub struct DisplayList {
}
impl DisplayList {
+ // Returns the text index within a node for the point of interest.
+ pub fn text_inde... | 9 | 219 | 50 |
cd71117b5efa7a4f1d53d8ca03f213ebad0196ea | ioctaptceb | 2017-01-11T21:23:08 | servo: Merge #14924 - Webgl blend func tests (from ioctaptceb:webgl-blendFunc-tests); r=jdm
<!-- Please describe your changes on the following line: -->
Add a function that validates the conditions for [Constant Color Blend](https://www.khronos.org/registry/webgl/specs/latest/1.0/#CONSTANT_COLOR_BLEND) in the WebGL sp... | diff --git a/script/dom/webglrenderingcontext.rs b/script/dom/webglrenderingcontext.rs
index 92771d6ef..5d61d5c48 100644
--- a/script/dom/webglrenderingcontext.rs
+++ b/script/dom/webglrenderingcontext.rs
@@ -103,6 +103,15 @@ macro_rules! object_binding_to_js_or_null {
};
}
+fn has_invalid_blend_constants(arg1:... | 1 | 33 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.