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 |
|---|---|---|---|---|---|---|---|
7c1480026f4a215be44ce160db4711d18ddeeb38 | Anthony Ramine | 2016-07-27T08:31:03 | servo: Merge #12612 - Remove use of util::opts from net crate (from nox:die-opts-die); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: d8991496c6ddcce3c93ba36d36619a3200626c1f | diff --git a/net/resource_thread.rs b/net/resource_thread.rs
index 9ee16b911..e43451f08 100644
--- a/net/resource_thread.rs
+++ b/net/resource_thread.rs
@@ -42,13 +42,13 @@ use std::collections::HashMap;
use std::error::Error;
use std::fs::File;
use std::io::prelude::*;
-use std::path::Path;
+use std::ops::Deref;
+u... | 3 | 44 | 24 |
fd837fdfe572cf6eb328faf271c3937dc79f2660 | Bobby Holley | 2016-07-27T04:58:23 | servo: Merge #12608 - Update anonymous box list (from bholley:sync_anon_box); r=emilio
These have drifted since we introduced them. Adding a few other misc commits while I'm at it.
Source-Repo: https://github.com/servo/servo
Source-Revision: c1409af5438213d5a697aa83e983f8100c660b74 | diff --git a/style/gecko_selector_impl.rs b/style/gecko_selector_impl.rs
index ed99fd397..5798222cb 100644
--- a/style/gecko_selector_impl.rs
+++ b/style/gecko_selector_impl.rs
@@ -44,7 +44,8 @@ pub enum PseudoElement {
// https://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSAnonBoxList.h
#[derive(Clone, ... | 1 | 9 | 6 |
12a75c778e9cc3c560f3d5ee88c1e2116c3a15a6 | Rahul Sharma | 2016-07-27T03:54:56 | servo: Merge #12582 - Make the service worker send custom response (from creativcoder:sw-fetch); 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/script/dom/abstractworker.rs b/script/dom/abstractworker.rs
index 4f2f02980..28c755d4f 100644
--- a/script/dom/abstractworker.rs
+++ b/script/dom/abstractworker.rs
@@ -15,7 +15,7 @@ pub enum WorkerScriptMsg {
/// Common variants associated with the script messages
Common(CommonScriptMsg),
//... | 4 | 52 | 29 |
ed4c9ee3a897dc46c67e7a7b740b1e460a17d76e | Adam Casey | 2016-07-27T01:17:02 | servo: Merge #12593 - Fix table vertical alignment (middle, bottom) (from adamncasey:table-row-cell-height); r=pcwalton
Fix table vertical alignment (middle, bottom)
<!-- Please describe your changes on the following line: -->
Fixes table cell vertical alignment (middle, bottom, not yet baseline) when the row contain... | diff --git a/layout/table_cell.rs b/layout/table_cell.rs
index a71b78b8a..18ff88e10 100644
--- a/layout/table_cell.rs
+++ b/layout/table_cell.rs
@@ -80,6 +80,10 @@ impl TableCellFlow {
if !flow::base(self).restyle_damage.contains(REFLOW) {
return;
}
+ }
+
+ /// Position this cell's ... | 2 | 10 | 0 |
19cc11201ead891c83f17aa109d00409ebf0f722 | Eduard Burtescu | 2016-07-26T22:18:41 | servo: Merge #12586 - Update Rust to 1.12.0-nightly (9316ae515 2016-07-24) (from servo:rustup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 0be8e6857f4f767129dd694bf1e7e86060d307a4 | diff --git a/canvas_traits/Cargo.toml b/canvas_traits/Cargo.toml
index 899e0eaf3..8684ac3ce 100644
--- a/canvas_traits/Cargo.toml
+++ b/canvas_traits/Cargo.toml
@@ -18,8 +18,8 @@ heapsize = "0.3.0"
heapsize_plugin = "0.1.2"
ipc-channel = {git = "https://github.com/servo/ipc-channel"}
plugins = {path = "../plugins"}
... | 22 | 128 | 125 |
667023a8e95efbc746a0980862766c0328afb10f | kilobtye | 2016-07-26T13:31:49 | servo: Merge #12388 - Let textarea wrap lines (from kilobtye:textarea2); r=pcwalton
<!-- Please describe your changes on the following line: -->
1. Change textarea's style from white-space: pre to white-space: pre-wrap.
2. Display insertion point when a line is wrapped.
---
<!-- Thank you for contributing to Servo! P... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 5eb201562..8d036dfc9 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -29,7 +29,6 @@ use gfx::display_list::{LayeredItem, LayerInfo, LineDisplayItem, OpaqueNode};
use gfx::display_list::{SolidColorDisp... | 3 | 14 | 11 |
768f7514d502f51a7f3af80f13ff2a0a0d5fa8c7 | Zhen Zhang | 2016-07-26T07:42:45 | servo: Merge #12577 - Chunked ReadFile from file manager (from izgzhen:fm-chunked); r=Manishearth
+ Introduce a `ReadFileProgress` sender in the `ReadFile` msg to file manager, and implement the related I/O operations
+ Change `tests/unit/net/test.jpeg` from a 4.8K file to a 39K file to better test the chunked reading... | diff --git a/net/blob_loader.rs b/net/blob_loader.rs
index 0ded01955..d8e4e6663 100644
--- a/net/blob_loader.rs
+++ b/net/blob_loader.rs
@@ -10,7 +10,7 @@ use mime::{Mime, Attr};
use mime_classifier::MimeClassifier;
use net_traits::ProgressMsg::{Payload, Done};
use net_traits::blob_url_store::parse_blob_url;
-use ne... | 4 | 133 | 45 |
7c818e64c9bb60359da544bd4ad78df66eae669b | David Raifaizen | 2016-07-26T05:44:28 | servo: Merge #11791 - Pipeline lookup in webdriver (from craftytrickster:11712/pipeline-lookup); r=asajeffrey
Fixes #11712
<!-- Please describe your changes on the following line: -->
Removed a method that seemed to duplicate already existing functionality, and returned BrowsingContextErrors in the web_handler file ... | diff --git a/devtools/actors/inspector.rs b/devtools/actors/inspector.rs
index a41c98c7b..0328c538e 100644
--- a/devtools/actors/inspector.rs
+++ b/devtools/actors/inspector.rs
@@ -290,7 +290,7 @@ impl Actor for WalkerActor {
"documentElement" => {
let (tx, rx) = ipc::channel().unwrap();
... | 7 | 89 | 54 |
3330973f5d9d018df6a523e560df1e3188a862bd | UK992 | 2016-07-25T13:14:09 | servo: Merge #12588 - Support tinyfiledialogs on Windows (from UK992:tinyfiledialogs); r=jdm
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mac... | diff --git a/net/Cargo.toml b/net/Cargo.toml
index 9cb6ecfc5..50b160130 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -46,5 +46,5 @@ git = "https://github.com/servo/webrender_traits"
default_features = false
features = ["serde_macros"]
-[target.'cfg(any(target_os = "macos", target_os = "linux"))'.dependencies... | 8 | 20 | 20 |
a14cb5f6e7663ea2ef627e3fde860677eab282dc | Dirkjan Ochtman | 2016-07-24T19:53:34 | servo: Merge #12560 - Hoist retrieval of layout_threads from opts into Constellation (from djc:layout-threads-hoist); r=emilio
<!-- Please describe your changes on the following line: -->
This makes the lower-level crates less dependent on `util::opts`.
---
<!-- Thank you for contributing to Servo! Please replace ea... | diff --git a/constellation/pipeline.rs b/constellation/pipeline.rs
index dd2a665f6..eb9ee6c7e 100644
--- a/constellation/pipeline.rs
+++ b/constellation/pipeline.rs
@@ -160,6 +160,7 @@ impl Pipeline {
pipeline_port: pipeline_port,
layout_to_constellation_chan: state.layout_to_c... | 6 | 26 | 10 |
dd9991a3facce47fcb0f9fc3080faca0a6358295 | Nikhil Shagrithaya | 2016-07-23T20:22:57 | servo: Merge #12570 - Implemented name for Runnable trait in WebSocket Runnables (from cynicaldevil:impl-websockets); r=SimonSapin
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` w... | diff --git a/script/dom/websocket.rs b/script/dom/websocket.rs
index 1a34096f2..3b3652040 100644
--- a/script/dom/websocket.rs
+++ b/script/dom/websocket.rs
@@ -461,6 +461,8 @@ struct ConnectionEstablishedTask {
}
impl Runnable for ConnectionEstablishedTask {
+ fn name(&self) -> &'static str { "ConnectionEstabli... | 1 | 8 | 0 |
e548fa1254da6d3da88094b36b8fa0a94a8697a4 | Josh Matthews | 2016-07-22T17:07:40 | servo: Merge #12559 - Generate multiple DOM bindings in parallel (from jdm:parallel-codegen); r=Ms2ger
Reduces the time for a build after touching `CodegenRust.py` by 58s for me.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12529 (... | diff --git a/script/build.rs b/script/build.rs
index 88b1e22b9..a0d693d15 100644
--- a/script/build.rs
+++ b/script/build.rs
@@ -2,12 +2,17 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+use std::env;
use std::process::Comma... | 1 | 6 | 1 |
d89d7ca58d6e41f1ff7f0fac577b761238613c1f | Zhen Zhang | 2016-07-22T06:09:58 | servo: Merge #12544 - Patches of File API (from izgzhen:patch-file-api); r=Manishearth
r? @Manishearth
<!-- 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/script/dom/blob.rs b/script/dom/blob.rs
index f63e66e3b..1e3c74e1e 100644
--- a/script/dom/blob.rs
+++ b/script/dom/blob.rs
@@ -20,6 +20,7 @@ use net_traits::filemanager_thread::{FileManagerThreadMsg, SelectedFileId, Relat
use std::cell::Cell;
use std::ops::Index;
use std::path::PathBuf;
+use uuid::Uuid... | 2 | 8 | 4 |
05ec97bc0cf2389fdda8ed574c1745f9fe05922c | Connor Brewster | 2016-07-22T03:40:56 | servo: Merge #11866 - Implement joint session history (from cbrewster:joint_session_history); r=asajeffrey
<!-- Please describe your changes on the following line: -->
This is cleaned up and should align with the patches on https://github.com/ConnorGBrewster/ServoNavigation/blob/master/notes/notes.pdf
r? @asajeffrey
... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index be52e7e6b..da9272d08 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -29,7 +29,7 @@ use layers::rendergl;
use layers::rendergl::RenderContext;
use layers::scene::Scene;
use msg::constellation_msg::{Image, PixelFormat, ... | 7 | 329 | 202 |
c7c431c94603684210401ffbada9d721bc271985 | Emilio Cobos Álvarez | 2016-07-21T21:54:34 | servo: Merge #12469 - style: Rewrite the restyle hints code to allow different kinds of element snapshots (from emilio:stylo); 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 ... | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index 53912f635..3c13572bf 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -89,8 +89,7 @@ use string_cache::{Atom, Namespace, QualName};
use style::attr::{AttrIdentifier, AttrValue, LengthOrPercentageOrAuto};
use ... | 9 | 286 | 174 |
e4bb41da5c4d9f18e128715382576dd171b69063 | Josh Matthews | 2016-07-21T20:28:04 | servo: Merge #12545 - Update ipc-channel (from jdm:ipcchannelbump); r=metajack
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12303
- [X] These changes do not require tests because we don't run automated tests on the platforms this affect... | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 2134fd2d5..b881a7c3a 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -1031,7 +1031,7 @@ dependencies = [
[[package]]
name = "ipc-channel"
version = "0.4.0"
-source = "git+https://github.com/servo/ipc-channel#f97eb4c4ceaa0463323ddbd00cc9980cb7840950"
+sou... | 1 | 1 | 1 |
147b0504f1eea47737d566a225968825c639089a | Johann Hofmann | 2016-07-21T18:27:06 | servo: Merge #12539 - Improve page load error information (from johannhof:error-page); r=jdm
Fixes #8640.
This commit adds a neterror page that displays really really basic
information about what went wrong with your request, which is an
improvement over the current state of blank page.
It also fixes the problem of ... | diff --git a/net/http_loader.rs b/net/http_loader.rs
index 80a7b91e3..a39d284a4 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -1143,7 +1143,7 @@ fn is_cert_verify_error(error: &OpensslError) -> bool {
match error {
&OpensslError::UnknownError { ref library, ref function, ref reason } => {
... | 2 | 15 | 4 |
c932d5ed5ac588f288dcf81de7a160a7073c6ef4 | Alan Jeffrey | 2016-07-21T16:20:37 | servo: Merge #12468 - Removed panic channel, replaced by integrated logging and issue reporting (from asajeffrey:constellation-remove-panic-channel); r=emilio
<!-- Please describe your changes on the following line: -->
Remove the previous ad hoc panic channel, replace it by an integrated logging and panicking mechan... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index af6237ddd..d2152d52c 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -29,7 +29,6 @@ use msg::constellation_msg::{FrameId, FrameType, PipelineId};
use msg::constellation_msg::{Key, KeyModifiers, KeySta... | 20 | 83 | 246 |
5ebfa9faa9b288ae24391440d34f1c7a03d639ae | Rahul Sharma | 2016-07-21T15:17:47 | servo: Merge #12518 - Remove expect calls in service worker manager thread (from creativcoder:swm-fix); r=nox
<!-- Please describe your changes on the following line: -->
An intermittent timeout was seen in #12516 , caused by panic of ServiceWorkerManager thread on reception of messages from resource thread. This PR ... | diff --git a/script/serviceworker_manager.rs b/script/serviceworker_manager.rs
index 3d1476a45..85f76faad 100644
--- a/script/serviceworker_manager.rs
+++ b/script/serviceworker_manager.rs
@@ -15,10 +15,15 @@ use ipc_channel::router::ROUTER;
use net_traits::{CustomResponseMediator, CoreResourceMsg};
use script_traits... | 1 | 25 | 22 |
5c511e12bc278e231c9dd377b39ab2389a44b176 | Manish Goregaokar | 2016-07-21T09:08:49 | servo: Merge #12535 - Use Result instead of panicking when the resource dir can't be found (from Manishearth:try-resource); r=KiChjang
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `_... | diff --git a/constellation/sandboxing.rs b/constellation/sandboxing.rs
index 945e0605f..380155b56 100644
--- a/constellation/sandboxing.rs
+++ b/constellation/sandboxing.rs
@@ -12,7 +12,8 @@ pub fn content_process_sandbox_profile() -> Profile {
use gaol::platform;
Profile::new(vec![
Operation::FileRe... | 9 | 75 | 61 |
e6a7e117b3c70b8e1fdbc335f12fd4398d0673e2 | Manish Goregaokar | 2016-07-21T08:05:56 | servo: Merge #12521 - Introduce safer layer of sugar for nsStyleUnion (from Manishearth:safer-coord); r=bholley
This routes (almost) all access to nsStyleUnion through a largely safe interface, CoordData.
It also introduces a corresponding Rust enum, CoordDataValue, which can be used when interacting with CoordData
... | diff --git a/style/gecko_values.rs b/style/gecko_values.rs
index 19d242b35..efbcb7db9 100644
--- a/style/gecko_values.rs
+++ b/style/gecko_values.rs
@@ -6,291 +6,117 @@
use app_units::Au;
use cssparser::RGBA;
-use gecko_bindings::structs::{nsStyleCoord, nsStyleUnion, nsStyleUnit};
+use gecko_bindings::structs::nsSt... | 2 | 139 | 315 |
e04134b321a8a440c2da0cf59bc3b8cb30e0211e | Lars Bergstrom | 2016-07-20T16:53:04 | servo: Merge #12507 - Remove clipboard crate to due disallowed usage of GPL code (from larsbergstrom:remove_clipboard); r=metajack
<!-- Please describe your changes on the following line: -->
Fixes #7578, removing usage of rust-clipboard, which contains a disallowed dependency on GPL code.
r? @metajack
---
<!-- Than... | diff --git a/constellation/Cargo.toml b/constellation/Cargo.toml
index f2cf43340..83d8aac99 100644
--- a/constellation/Cargo.toml
+++ b/constellation/Cargo.toml
@@ -13,7 +13,6 @@ path = "lib.rs"
backtrace = "0.2.1"
canvas = {path = "../canvas"}
canvas_traits = {path = "../canvas_traits"}
-clipboard = {git = "https:/... | 4 | 2 | 84 |
190c087cc191dc7fc701632ed281fc0f5c033681 | Dirkjan Ochtman | 2016-07-20T14:19:04 | servo: Merge #12490 - Remove dependency on util::opts from canvas crate (from djc:canvas-no-opts); 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/canvas/canvas_paint_thread.rs b/canvas/canvas_paint_thread.rs
index 23989a45f..2eeb827d7 100644
--- a/canvas/canvas_paint_thread.rs
+++ b/canvas/canvas_paint_thread.rs
@@ -17,7 +17,6 @@ use ipc_channel::ipc::{self, IpcSender};
use num_traits::ToPrimitive;
use std::borrow::ToOwned;
use std::mem;
-use uti... | 2 | 10 | 8 |
6b651652743810eac14a7e81bf8388c0c5829d6b | Alan Jeffrey | 2016-07-20T09:41:34 | servo: Merge #12426 - Allow window elements as well as iframes to the the target of mozbrowser events (from asajeffrey:mozbrowser-event-targets); r=SimonSapin
<!-- Please describe your changes on the following line: -->
Allow mozbrowser events, in particular mozbrowsererror events, to target a window. Needed for https... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index 2b0462c80..b03ad1c0d 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -1098,14 +1098,14 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
debug!("Panic handler for pipeline {:?}: {}... | 8 | 163 | 153 |
f9bea87d6b0a1caf33bbd8224e690dd3f2d32ba9 | Ms2ger | 2016-07-20T06:41:55 | servo: Merge #12500 - Expand the documentation for DOMString (from Ms2ger:DOMString); r=nox
There was some confusion on IRC about its purpose; hopefully this will clarify the situation.
Source-Repo: https://github.com/servo/servo
Source-Revision: 86ed7bfc099a73e2f560e4cf45ddb0ccbc05f0e3 | diff --git a/script/dom/bindings/str.rs b/script/dom/bindings/str.rs
index 310285a8b..5d79d29b7 100644
--- a/script/dom/bindings/str.rs
+++ b/script/dom/bindings/str.rs
@@ -113,6 +113,41 @@ pub fn is_token(s: &[u8]) -> bool {
}
/// A DOMString.
+///
+/// This type corresponds to the [`DOMString`](idl) type in WebID... | 1 | 35 | 0 |
5ba8a82706a0c0e19e50e7e41404e4d5b7ee074c | Manish Goregaokar | 2016-07-20T01:57:10 | servo: Merge #12465 - Add bindings for calc() (from Manishearth:stylo-calc); r=heycam
This adds bindings for dealing with refcounted calc() values.
So far we can get/set them, but we don't yet have the ability to copy them around. I'll work on that next.
Corresponding gecko bindings at https://github.com/servo/gecko... | diff --git a/style/gecko_conversions.rs b/style/gecko_conversions.rs
new file mode 100644
index 000000000..95ab9eb8b
--- /dev/null
+++ b/style/gecko_conversions.rs
@@ -0,0 +1,36 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with ... | 2 | 38 | 0 |
a7efbea98a89b89fae28f25ce39c5ba9a1c16844 | Glenn Watson | 2016-07-19T01:46:14 | servo: Merge #12497 - Update WR to get fix for texture atlas assert (from glennw:wr-update); 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/servo/Cargo.lock b/servo/Cargo.lock
index da1d71b55..e8db00d2a 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -2591,7 +2591,7 @@ dependencies = [
[[package]]
name = "webrender"
version = "0.1.0"
-source = "git+https://github.com/servo/webrender#29fcb362a71b0434db186db7e7b9fa8349a0dc3a"
+source ... | 1 | 1 | 1 |
a69c2f17056af11bfc38076f22e709a89a1fa636 | Kuba Birecki | 2016-07-18T20:18:49 | servo: Merge #12495 - Implement Runnable trait name method for PauseIfNotInDocumentTask (from ice9js:implement-runnable-for-PauseIfNotInDocumentTask); r=KiChjang
Implements #12350.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropr... | diff --git a/script/dom/htmlmediaelement.rs b/script/dom/htmlmediaelement.rs
index 9a4c39464..7a94768c1 100644
--- a/script/dom/htmlmediaelement.rs
+++ b/script/dom/htmlmediaelement.rs
@@ -801,6 +801,8 @@ impl PauseIfNotInDocumentTask {
}
impl Runnable for PauseIfNotInDocumentTask {
+ fn name(&self) -> &'static ... | 1 | 2 | 0 |
40c16406f0ebea7ee076cc2c1a984f89903cdb7f | Pu Xingyu | 2016-07-18T18:21:04 | servo: Merge #12361 - Blockify elements in a flex container (from stshine:blockify-flex-item); r=pcwalton
<!-- Please describe your changes on the following line: -->
The is one of my pull requests that implement basic flexible box layout.
As the spec stated in https://drafts.csswg.org/css-flexbox/#flex-items ,
A inli... | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index 7b8141ecc..2cba33cb4 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -1890,7 +1890,9 @@ pub fn cascade<C: ComputedValues>(
longhands::position::SpecifiedValue::absolute |
... | 1 | 4 | 2 |
68c23834ca2305b2babacdf0b1e841cf7b781fac | Zhen Zhang | 2016-07-18T14:19:49 | servo: Merge #12400 - Fix Blob type-string (from izgzhen:fix-type-string); r=Manishearth
Use a final construction guard over type-string format; and other minor related cleanups
r? @Manishearth
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace e... | diff --git a/script/dom/blob.rs b/script/dom/blob.rs
index b2bce4f2e..f63e66e3b 100644
--- a/script/dom/blob.rs
+++ b/script/dom/blob.rs
@@ -17,7 +17,6 @@ use ipc_channel::ipc;
use net_traits::IpcSend;
use net_traits::blob_url_store::{BlobBuf, get_blob_origin};
use net_traits::filemanager_thread::{FileManagerThreadM... | 2 | 22 | 28 |
257b26ca45c38bb22561ed6e47f914d761477c96 | Ms2ger | 2016-07-16T10:47:27 | servo: Merge #12471 - Cleanup HTMLScriptElement::execute() (from Ms2ger:script-exec); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e8fa02a07f3ee8965c022df4e92d5bdb0fccdb0b | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index 707e12ee5..442f30635 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -61,7 +61,7 @@ pub struct HTMLScriptElement {
parser_document: JS<Document>,
/// The source this script was loaded f... | 1 | 48 | 37 |
e93f998803a8ee1df25755478221a37055481c7b | Manish Goregaokar | 2016-07-16T05:31:37 | servo: Merge #12458 - Cleanups in autoarray helper (from Manishearth:style-gecko-only); r=emilio
Addresses @emilio's comments from #11851
- Replace gecko_autoarray_longhand with vector_longhand, make it configurable
- Allow for empty vectors, use empty vector longhand in box-shadow
Source-Repo: https://github.com/se... | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index 2b16f527e..374cd6a01 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -37,12 +37,18 @@
// and handle the empty case correctly
<%doc>
To be used in cases where we have a grammar like
- ... | 4 | 68 | 94 |
596b9508de055ea9778fd7aa3b534ca117ead134 | Aneesh Agrawal | 2016-07-15T20:22:49 | servo: Merge #12464 - Remove fn start_sending_sniffed (from aneeshusa:cleanup-start-sending-sniffed); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
This function was not used, but more importantly encodes the bad
practice of a raw `.unwrap()` and therefore should not be used.
---
<!-- ... | diff --git a/net/resource_thread.rs b/net/resource_thread.rs
index bffd40fed..2bf6f38e3 100644
--- a/net/resource_thread.rs
+++ b/net/resource_thread.rs
@@ -94,14 +94,6 @@ pub fn send_error(url: Url, err: NetworkError, start_chan: LoadConsumer) {
}
}
-/// For use by loaders in responding to a Load message that ... | 1 | 0 | 8 |
0997d4958faf3d5177af75a2597240d83ff4c933 | Alan Jeffrey | 2016-07-15T19:22:26 | servo: Merge #11841 - Send log messages to the constellation (from asajeffrey:constellation-logging); r=Manishearth
<!-- Please describe your changes on the following line: -->
Send all warnings and errors to the constellation. Warnings are bufferred up, and included in any subsequent error reports. Errors are report... | diff --git a/constellation/Cargo.toml b/constellation/Cargo.toml
index bb6548d1e..f2cf43340 100644
--- a/constellation/Cargo.toml
+++ b/constellation/Cargo.toml
@@ -10,6 +10,7 @@ name = "constellation"
path = "lib.rs"
[dependencies]
+backtrace = "0.2.1"
canvas = {path = "../canvas"}
canvas_traits = {path = "../ca... | 9 | 224 | 14 |
b34093aba45773c1af4b5bc5a34bd3578b9d62cf | Aravind Gollakota | 2016-07-15T18:25:43 | servo: Merge #12441 - Implement referrer policy delivery by header (from aravind-pg:referrer-pol-header); r=jdm
Adds a new `Option<ReferrerPolicy>` field to Document and sets it appropriately in `ScriptThread::load` if a Referrer-Policy header is present.
r? @jdm
<!-- Thank you for contributing to Servo! Please repl... | diff --git a/msg/constellation_msg.rs b/msg/constellation_msg.rs
index be5bd924c..7872e5983 100644
--- a/msg/constellation_msg.rs
+++ b/msg/constellation_msg.rs
@@ -332,7 +332,7 @@ pub enum FrameType {
#[derive(Clone, Copy, Debug, Deserialize, HeapSizeOf, Serialize)]
pub enum ReferrerPolicy {
NoReferrer,
- No... | 12 | 69 | 27 |
c3accbe1d75b63195371b31c8e5692736f2ab74c | Connor Brewster | 2016-07-15T17:29:55 | servo: Merge #12137 - Check for Resources on case sensitive filesystem (from cbrewster:resources_case_sensitive); r=aneeshusa
<!-- Please describe your changes on the following line: -->
Case where this is needed:
http://logs.glob.uno/?c=mozilla%23servo&s=1+Jul+2016&e=1+Jul+2016#c471192
Another option is to make the ... | diff --git a/util/resource_files.rs b/util/resource_files.rs
index d580b6f8a..9c2eab83d 100644
--- a/util/resource_files.rs
+++ b/util/resource_files.rs
@@ -46,6 +46,12 @@ pub fn resources_dir_path() -> PathBuf {
break;
}
path.pop();
+ // Check for Resources on mac when using a cas... | 1 | 6 | 0 |
50d700e99bfb59d69d3f3bea45cea2308cae7694 | Alan Jeffrey | 2016-07-15T15:36:47 | servo: Merge #12463 - Replace any errors caused by content-provided URLs by warnings (from asajeffrey:url-errors-should-be-warnings); r=Ms2ger
<!-- 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 re... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 5e5b305ca..be52e7e6b 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -1403,7 +1403,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
warn!("Sending load url to constellation failed ({}).", e);
... | 2 | 3 | 3 |
67250650a04fcf68e7000a729601dd2681c313b5 | Zhen Zhang | 2016-07-15T13:39:23 | servo: Merge #12440 - Put Blob URL online (from izgzhen:blob-online); r=Manishearth
This PR connects the resource requests with file manager thread, including:
+ `script_thread` load request
+ `image_cache_thread` load request
+ XHR load request (the responding part code yet not implemented due to unfamiliarity with ... | diff --git a/net/blob_loader.rs b/net/blob_loader.rs
index df0c7468d..0ded01955 100644
--- a/net/blob_loader.rs
+++ b/net/blob_loader.rs
@@ -5,53 +5,92 @@
use hyper::header::{DispositionType, ContentDisposition, DispositionParam};
use hyper::header::{Headers, ContentType, ContentLength, Charset};
use hyper::http::Ra... | 9 | 188 | 170 |
ee3bd0a57129bb3cb30a595089d95bcc8969e327 | Keith Yeung | 2016-07-14T17:55:17 | servo: Merge #12448 - Implement file reading task source (from jdm:file-reading-task-source-2); r=KiChjang
Implement the task source API for the File Reader task source, enabling using task sources from non-main threads.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report a... | diff --git a/script/dom/bindings/global.rs b/script/dom/bindings/global.rs
index 1040e7b59..22cb256bd 100644
--- a/script/dom/bindings/global.rs
+++ b/script/dom/bindings/global.rs
@@ -23,9 +23,10 @@ use net_traits::filemanager_thread::FileManagerThreadMsg;
use net_traits::{ResourceThreads, CoreResourceThread, Request... | 14 | 153 | 82 |
210f62e0c81bc1aee20da1ef8d0e9912bbd8ea50 | Alan Jeffrey | 2016-07-14T16:33:18 | servo: Merge #12447 - All our Cargo.toml files should contain an MPL-2.0 license field (from asajeffrey:license-mpl-2.0); r=frewsxcv
<!-- Please describe your changes on the following line: -->
Added a `license = "MPL-2.0"` field to all our `Cargo.toml` files, and added a check to `test-tidy` that the license is pres... | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index 3a677000f..e9803a764 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -2,6 +2,7 @@
name = "canvas"
version = "0.0.1"
authors = ["The Servo Project Developers"]
+license = "MPL-2.0"
publish = false
[lib]
diff --git a/canvas_traits/Cargo.toml b/canv... | 26 | 26 | 0 |
100a9d0213f189e9cecd225acb4c8abddf5bb475 | Ms2ger | 2016-07-14T13:39:37 | servo: Merge #12444 - Improve the readability of the script fetching code (from servo:fetch-script); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 86b2104f11ce1070818e07728160085914521aa0 | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index d638ad582..2a512d840 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -5,7 +5,6 @@
use document_loader::LoadType;
use dom::attr::Attr;
use dom::bindings::cell::DOMRefCell;
-use dom::bindings::cod... | 1 | 78 | 68 |
8781130f2d9b6022cc1aa9d190534cdffd0926ca | zakorgy | 2016-07-14T12:09:26 | servo: Merge #12445 - Remove some unnecessary pub modifiers (#50) (from szeged:pub-remove); r=jdm
<!-- Please describe your changes on the following line: -->
Removed unnecessary pub modifiers from DOM class functions get_instance_id.
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when ... | diff --git a/script/dom/bluetoothremotegattcharacteristic.rs b/script/dom/bluetoothremotegattcharacteristic.rs
index 0fc9d7a41..e3e17b4a0 100644
--- a/script/dom/bluetoothremotegattcharacteristic.rs
+++ b/script/dom/bluetoothremotegattcharacteristic.rs
@@ -76,7 +76,7 @@ impl BluetoothRemoteGATTCharacteristic {
... | 3 | 3 | 3 |
3373e3fcf835c064a55db0658a4560bf693abe94 | Manish Goregaokar | 2016-07-14T09:32:49 | servo: Merge #11851 - Add support for gecko-only array values; use for stylo (from Manishearth:stylo-autoarray); r=emilio
Doesn't yet work, because I can't grow nsTArrays from Rust. If anyone knows how to add bindings for that, let me know!
Thoughts on the design so far? Once this PR lands, all of the array-accepting... | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index dae60af08..2b16f527e 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -33,6 +33,85 @@
</%call>
</%def>
+// FIXME (Manishearth): Add computed_value_as_specified argument
+// and handle th... | 2 | 81 | 2 |
90f2ed51ec8fecb16db9244692f462d6b547c283 | Kuba Birecki | 2016-07-14T08:30:22 | servo: Merge #12443 - Inline DOM element creation into box expressions in components/script/dom/ (from ice9js:cleanup/inline-dom-element-creation); r=Ms2ger
Takes care of #12436.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropria... | diff --git a/script/dom/documenttype.rs b/script/dom/documenttype.rs
index 0f8b688c9..c48805eed 100644
--- a/script/dom/documenttype.rs
+++ b/script/dom/documenttype.rs
@@ -41,8 +41,9 @@ impl DocumentType {
system_id: Option<DOMString>,
document: &Document)
-> Root<Docume... | 66 | 198 | 132 |
3093b4fe252171103eca5a2edfc0b80602a832aa | Josh Matthews | 2016-07-13T19:04:24 | servo: Merge #12438 - Enable more DOM bindings inlining opportunities (from jdm:jsinline); r=metajack
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix (partially) #12354
- [X] These changes do not require tests because no automated performan... | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index e51ba3026..859e6b00e 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -1081,7 +1081,7 @@ dependencies = [
[[package]]
name = "js"
version = "0.1.3"
-source = "git+https://github.com/servo/rust-mozjs#3ea62135ba1316b4aa845b18cf621bf127b56211"
+source = "git... | 1 | 1 | 1 |
b4a4e7ad71f889702fb2078a603a3754ac87bd01 | Connor Brewster | 2016-07-13T17:18:15 | servo: Merge #12404 - Clean up task sources and make all tasks cancellable (from cbrewster:task_source_cleanup); r=asajeffrey
<!-- Please describe your changes on the following line: -->
This makes it so each task is a thin wrapper over a runnable and whenever a task is queued, it is automatically wrapped by the windo... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 669c4d9a3..8630d64eb 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -1488,11 +1488,12 @@ impl Document {
update_with_current_time_ms(&self.dom_content_loaded_event_start);
- self.window().dom_manipulation_task_so... | 15 | 136 | 107 |
c92ee8c3e1ef9d2bba3c1ada6f2cb77feca5b71e | Ms2ger | 2016-07-13T11:43:26 | servo: Merge #12432 - Update fnv (from servo:fnv); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 2df5d705e13f78afc8ceeb1b5333fc886e2691fa | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 6d293b3a4..e51ba3026 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -709,7 +709,7 @@ dependencies = [
[[package]]
name = "fnv"
-version = "1.0.2"
+version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
@@ -78... | 1 | 8 | 8 |
7dc32cee530b00eb639cccdedd1c80293ae7f30c | Kuba Birecki | 2016-07-13T10:06:08 | servo: Merge #12431 - Remove unnecessary 'unwrap' calls from ImageCacheThread (from ice9js:fix/remove-unwrap-calls); r=Wafflespeanut
Fixes #12390.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build... | diff --git a/net_traits/image_cache_thread.rs b/net_traits/image_cache_thread.rs
index 3c4543574..7a6359e84 100644
--- a/net_traits/image_cache_thread.rs
+++ b/net_traits/image_cache_thread.rs
@@ -129,7 +129,7 @@ impl ImageCacheThread {
result_chan: ImageCacheChan,
re... | 1 | 9 | 9 |
7ccd336aed408eea53fa57ddf5ebeb833bbc093d | Guillaume Gomez | 2016-07-13T07:57:35 | servo: Merge #12419 - Replace AdjacentPosition::parse by TryFrom (from GuillaumeGomez:try_from); r=Ms2ger
Fixes #12387.
Source-Repo: https://github.com/servo/servo
Source-Revision: 902e6322e0d8768acf5349d20e1328e6b15a446c | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 6b671d6fe..a4c1ed285 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -78,6 +78,7 @@ use selectors::parser::{AttrSelector, NamespaceConstraint, parse_author_origin_s
use std::ascii::AsciiExt;
use std::borrow::Cow;
use std::cell::{Cell,... | 2 | 9 | 5 |
ba922907458dc6596825c26f51f751afbad70dcb | Zhen Zhang | 2016-07-13T05:00:08 | servo: Merge #12406 - Refactor FileAPI implementation (from izgzhen:refactor-file); r=Manishearth
Most are simple refactoring, cleanups and improvements, but still involving two slightly notable changes:
+ In `filemanager`, now we read the file content based on requested `RelativePos` by `seek` and `read_exact` (rath... | diff --git a/net/blob_loader.rs b/net/blob_loader.rs
index e12cdab98..09a426fbc 100644
--- a/net/blob_loader.rs
+++ b/net/blob_loader.rs
@@ -8,26 +8,23 @@ use hyper::http::RawStatus;
use mime::{Mime, Attr};
use mime_classifier::MimeClassifier;
use net_traits::ProgressMsg::Done;
-use net_traits::blob_url_store::BlobU... | 7 | 223 | 178 |
ba6f3926dd16b616312ca9994e5f3b74688dc822 | Connor Brewster | 2016-07-13T00:25:10 | servo: Merge #12301 - Take selection direction into account when setting selection (from cbrewster:selection_direction); r=asajeffrey
<!-- Please describe your changes on the following line: -->
r? @asajeffrey
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete,... | diff --git a/script/textinput.rs b/script/textinput.rs
index 871af9637..5beee247f 100644
--- a/script/textinput.rs
+++ b/script/textinput.rs
@@ -651,8 +651,17 @@ impl<T: ClipboardProvider> TextInput<T> {
start = end;
}
- self.selection_begin = Some(self.get_text_point_for_absolute_point(s... | 1 | 11 | 2 |
d661a401db16f3243e7b91726698b07e30534500 | Simon Martin | 2016-07-12T23:27:36 | servo: Merge #12365 - Issue #12071: Don't submit forms when typing Tab on an input (from simartin:issue_12071); r=KiChjang
<!-- Please describe your changes on the following line: -->
Fixes https://github.com/servo/servo/issues/12071
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when... | diff --git a/script/dom/htmlinputelement.rs b/script/dom/htmlinputelement.rs
index d8acc2dbe..35e2a6f51 100644
--- a/script/dom/htmlinputelement.rs
+++ b/script/dom/htmlinputelement.rs
@@ -33,6 +33,7 @@ use dom::validation::Validatable;
use dom::virtualmethods::VirtualMethods;
use ipc_channel::ipc::{self, IpcSender};... | 1 | 13 | 4 |
036132046c9717b0ac58bc6a2f07d7a657eda9b7 | Aravind Gollakota | 2016-07-12T20:44:33 | servo: Merge #11978 - Add "origin" and "same-origin" referrer policies, replacing "origin-only" (from aravind-pg:new-referrer-pols); 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... | diff --git a/msg/constellation_msg.rs b/msg/constellation_msg.rs
index b0047e604..be5bd924c 100644
--- a/msg/constellation_msg.rs
+++ b/msg/constellation_msg.rs
@@ -333,7 +333,8 @@ pub enum FrameType {
pub enum ReferrerPolicy {
NoReferrer,
NoRefWhenDowngrade,
- OriginOnly,
+ Origin,
+ SameOrigin,
... | 3 | 6 | 3 |
3f89220116309efa44080ecc529574c8d477d464 | Manish Goregaokar | 2016-07-12T14:29:25 | servo: Merge #12409 - Update clippy, improve clippy integration (from Manishearth:clippy); r=nox
This makes it much easier to run rustfix on servo
(rustfix is still pretty buggy though)
Source-Repo: https://github.com/servo/servo
Source-Revision: 74925460952ac070ff5e365b6fe6b886fd81861b | diff --git a/plugins/Cargo.toml b/plugins/Cargo.toml
index 331adbe58..c60cc48b7 100644
--- a/plugins/Cargo.toml
+++ b/plugins/Cargo.toml
@@ -12,10 +12,10 @@ plugin = true
[dependencies]
tenacious = "0.2.0"
-[dependencies.clippy]
-git = "https://github.com/Manishearth/rust-clippy"
-rev = "9dca15de3e8ea266d3e7e868c0f... | 10 | 28 | 23 |
54afad961ad87aa4a5a2310629ddff2b21bb483e | Anthony Ramine | 2016-07-12T08:53:05 | servo: Merge #12366 - Bump ipc-channel to 0.4.0 (from nox:ipc); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 5f188003baa2682cff29baf62e996474def588d1 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 9d43557ec..abcd86d8e 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -19,7 +19,7 @@ dependencies = [
"gfx_tests 0.0.1",
"gleam 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)",
"glutin_app 0.0.1",
- "ipc-channel 0.2.3 (git+https://githu... | 1 | 30 | 31 |
410f52825937f6819b563cbc6f0d21162f777ea0 | Pu Xingyu | 2016-07-11T23:19:52 | servo: Merge #12382 - layout: Clear non-inherited properties on anonymous block (from stshine:anonymous-block); r=SimonSapin
<!-- Please describe your changes on the following line: -->
This is one of my pull requests that imlement basic flexible box layout.
This pull request adds a `modify_style_for_anonymous_flow()... | diff --git a/layout/flow.rs b/layout/flow.rs
index 35bd4c268..c9c3e2d90 100644
--- a/layout/flow.rs
+++ b/layout/flow.rs
@@ -1304,6 +1304,9 @@ impl<'a> ImmutableFlowUtils for &'a Flow {
Arc::new(TableCellFlow::from_node_fragment_and_visibility_flag(node, fragment, !hide))
},
F... | 2 | 44 | 0 |
68eef335f74e3fc83cb8c3a5521a1a2671c3a244 | Pu Xingyu | 2016-07-11T16:31:03 | servo: Merge #12371 - Treat flex flow as block in float calculation (from stshine:flex-block-flow); r=notriddle
<!-- Please describe your changes on the following line: -->
This is on of my pull requests that implement basic flexible box layout.
Currently call `is_block_like()` on flex flow returns false. This would f... | diff --git a/layout/flow.rs b/layout/flow.rs
index 1c53740c4..35bd4c268 100644
--- a/layout/flow.rs
+++ b/layout/flow.rs
@@ -588,7 +588,7 @@ impl FlowClass {
match self {
FlowClass::Block | FlowClass::ListItem | FlowClass::Table | FlowClass::TableRowGroup |
FlowClass::TableRow | FlowC... | 1 | 1 | 1 |
7f0747294abdafad534960911f2f973cd59727c8 | Ms2ger | 2016-07-11T12:11:48 | servo: Merge #12385 - Move arc_ptr_eq to style (from Ms2ger:arc_ptr_eq); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: c3a8cbbd38570d4a9095ca94ee4a970956691051 | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 8092985f4..5d101ffc4 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -37,6 +37,7 @@ use std::cmp::{max, min};
use std::collections::LinkedList;
use std::fmt;
use std::sync::{Arc, Mutex};
+use style::arc_ptr_eq;
use style::computed_values::conten... | 5 | 16 | 16 |
150d08d90b60b2a61005719a9d523ec7868e1c3e | Ms2ger | 2016-07-11T10:17:55 | servo: Merge #12381 - Move some unit type definitions to style_traits (from Ms2ger:units); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 1c7bec4b493174742c579b67ddb6f5411892d3d2 | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 8041fd7f1..5e5b305ca 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -45,11 +45,12 @@ use std::mem as std_mem;
use std::rc::Rc;
use std::sync::mpsc::Sender;
use style_traits::viewport::ViewportConstraints;
+use style_t... | 13 | 41 | 42 |
00b5cd87014bafc7c5780c3469b86b0c68605854 | Emilio Cobos Álvarez | 2016-07-11T08:08:57 | servo: Merge #12370 - Fix line-breaking with white-space: pre-wrap/pre-line; (from emilio:wrap); r=mbrubeck
Fix line-breaking with white-space: pre-wrap/pre-line;
<!-- Please describe your changes on the following line: -->
Not sure if this is the appropriate fix, but we'll know soon.
---
<!-- Thank you for contrib... | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 4561a1bf5..8092985f4 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -1541,12 +1541,11 @@ impl Fragment {
/// information are both optional due to the possibility of them being whitespace.
pub fn calculate_split_position(&self, max_inline_... | 3 | 22 | 22 |
b6beed96ba540e24dcbaf4bad9e60e40017b7ab6 | Zhen Zhang | 2016-07-11T07:13:45 | servo: Merge #12378 - Add FileID validity setting/checking logic to Blob URL implementation (from izgzhen:blob-url-revocation-fix); r=Manishearth
r? @Manishearth
---
<!-- 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/net/filemanager_thread.rs b/net/filemanager_thread.rs
index 627dcced0..4be5b6a01 100644
--- a/net/filemanager_thread.rs
+++ b/net/filemanager_thread.rs
@@ -16,7 +16,7 @@ use std::fs::File;
use std::io::Read;
use std::ops::Index;
use std::path::{Path, PathBuf};
-use std::sync::atomic::{self, AtomicUsize,... | 4 | 149 | 44 |
b0e6f149af1d7b1ae10174ef2cd06240f165b936 | sappharx | 2016-07-11T04:14:17 | servo: Merge #12376 - add Runnable::name() implementation for PlannedNavigation #12333 (from sappharx:master); r=ConnorGBrewster
<!-- Please describe your changes on the following line: -->
implements Runnable::name() for PlannedNavigation
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]... | diff --git a/script/dom/htmlformelement.rs b/script/dom/htmlformelement.rs
index 90baba4eb..18c30a9d8 100644
--- a/script/dom/htmlformelement.rs
+++ b/script/dom/htmlformelement.rs
@@ -936,6 +936,8 @@ struct PlannedNavigation {
}
impl Runnable for PlannedNavigation {
+ fn name(&self) -> &'static str { "PlannedNa... | 1 | 2 | 0 |
d09122e3f7dc0dad36a873d88e6735e009d96531 | Emilio Cobos Álvarez | 2016-07-11T03:09:48 | servo: Merge #11750 - canvas: Deallocate WebRender images on canvas (from emilio:canvas-leaks); r=glennw
canvas: Deallocate WebRender images on canvas
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complet... | diff --git a/canvas/canvas_paint_thread.rs b/canvas/canvas_paint_thread.rs
index 28a1e46e7..23989a45f 100644
--- a/canvas/canvas_paint_thread.rs
+++ b/canvas/canvas_paint_thread.rs
@@ -706,6 +706,14 @@ impl<'a> CanvasPaintThread<'a> {
}
}
+impl<'a> Drop for CanvasPaintThread<'a> {
+ fn drop(&mut self) {
+ ... | 2 | 16 | 0 |
5f201e6db51e7d30a6711fef1a651bac5f9e6137 | Emilio Cobos Álvarez | 2016-07-11T00:25:29 | servo: Merge #11744 - webgl: Unlock WebRender by default by adding a readback based fallback to WebGL context creation (from emilio:wr-default); 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 compl... | diff --git a/canvas/canvas_paint_thread.rs b/canvas/canvas_paint_thread.rs
index c69b2039c..28a1e46e7 100644
--- a/canvas/canvas_paint_thread.rs
+++ b/canvas/canvas_paint_thread.rs
@@ -30,7 +30,7 @@ impl<'a> CanvasPaintThread<'a> {
let canvas_rect = Rect::new(Point2D::new(0i32, 0i32), canvas_size);
le... | 2 | 55 | 27 |
9105f89d222e3f4239f29b57c61c6a2bccb5ff78 | Michael Howell | 2016-07-10T23:30:48 | servo: Merge #11873 - Rotate animation (from notriddle:rotate_anim); r=glennw
Add rotation interpolation code for the case where their direction vectors are equal.
___
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11808 (github issue nu... | diff --git a/style/properties/helpers/animated_properties.mako.rs b/style/properties/helpers/animated_properties.mako.rs
index 404698968..1043aaf24 100644
--- a/style/properties/helpers/animated_properties.mako.rs
+++ b/style/properties/helpers/animated_properties.mako.rs
@@ -606,9 +606,18 @@ fn interpolate_transform_l... | 1 | 12 | 3 |
b3ef77f8a19363172fbb816f7ff9cdd7ad4386bf | Gabriel Poesia | 2016-07-10T20:10:37 | servo: Merge #12375 - Implement Runnable::name() for ImageResponseHandlerRunnable (from gpoesia:master); r=KiChjang
<!-- Please describe your changes on the following line: -->
Implement the name() method from the Runnable trait for ImageResponseHandlerRunnable.
---
<!-- Thank you for contributing to Servo! Please r... | diff --git a/script/dom/htmlimageelement.rs b/script/dom/htmlimageelement.rs
index 27152ca93..8c28b1e8c 100644
--- a/script/dom/htmlimageelement.rs
+++ b/script/dom/htmlimageelement.rs
@@ -81,6 +81,8 @@ impl ImageResponseHandlerRunnable {
}
impl Runnable for ImageResponseHandlerRunnable {
+ fn name(&self) -> &'s... | 1 | 2 | 0 |
2367e24813cf281800454f9acc836f4fb348583b | Josh Matthews | 2016-07-10T15:18:27 | servo: Merge #12374 - Improve performance of HTMLDivElement constructor (from jdm:jsup); r=Manishearth
These changes address two sources of performance loss seen while profiling in #12354. #12358 and https://github.com/rust-lang/rust/issues/34727 are still the biggest offenders, however.
---
- [X] `./mach build -d` d... | diff --git a/script/dom/htmldivelement.rs b/script/dom/htmldivelement.rs
index 585bc7e2e..f3fcd6d8a 100644
--- a/script/dom/htmldivelement.rs
+++ b/script/dom/htmldivelement.rs
@@ -28,8 +28,9 @@ impl HTMLDivElement {
pub fn new(localName: Atom,
prefix: Option<DOMString>,
document: &... | 2 | 4 | 3 |
e774648515835aeaae1124108bdb5351a52f09e3 | Nikhil Shagrithaya | 2016-07-10T12:59:37 | servo: Merge #12373 - Implements name method for FilerReader event from trait Runnable (from cynicaldevil:impl-runnable); r=KiChjang
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__`... | diff --git a/script/dom/filereader.rs b/script/dom/filereader.rs
index 634f2faca..be57d67f7 100644
--- a/script/dom/filereader.rs
+++ b/script/dom/filereader.rs
@@ -380,6 +380,8 @@ pub enum FileReaderEvent {
}
impl Runnable for FileReaderEvent {
+ fn name(&self) -> &'static str { "FileReaderEvent" }
+
fn ha... | 1 | 2 | 0 |
ff077368ec844b80474a4a8343b2cd9d4d76966f | MovingtoMars | 2016-07-10T07:26:53 | servo: Merge #12368 - Implement Runnable trait name method for FireSimpleEventTask (from MovingtoMars:task_name); r=KiChjang
<!-- Please describe your changes on the following line: -->
Implement Runnable trait name method for FireSimpleEventTask in `components/script/dom/htmlmediaelement.rs`.
---
<!-- Thank you for... | diff --git a/script/dom/htmlmediaelement.rs b/script/dom/htmlmediaelement.rs
index 8a0b9f4a7..b38f796e5 100644
--- a/script/dom/htmlmediaelement.rs
+++ b/script/dom/htmlmediaelement.rs
@@ -738,6 +738,8 @@ impl FireSimpleEventTask {
}
impl Runnable for FireSimpleEventTask {
+ fn name(&self) -> &'static str { "Fir... | 1 | 2 | 0 |
77c473a7ff4cb888b31a9745762d57f70cb52122 | Pierre-Alain Bandinelli | 2016-07-09T15:22:40 | servo: Merge #12360 - Add name method for Runnable trait in DedicatedMediaSourceFailureTask… (from pierre-alain-b:master); r=Wafflespeanut
Add name method for Runnable trait in DedicatedMediaSourceFailureTask.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X]... | diff --git a/script/dom/htmlmediaelement.rs b/script/dom/htmlmediaelement.rs
index 877a98311..8a0b9f4a7 100644
--- a/script/dom/htmlmediaelement.rs
+++ b/script/dom/htmlmediaelement.rs
@@ -759,6 +759,8 @@ impl ResourceSelectionTask {
}
impl Runnable for ResourceSelectionTask {
+ fn name(&self) -> &'static str { ... | 1 | 4 | 0 |
4fc3d93f5aab30adea4f4e97be31aaf1914a8451 | Zhen Zhang | 2016-07-09T03:33:26 | servo: Merge #12268 - Spawn threads for requests in file manager (from izgzhen:fm-spawn); r=Manishearth
r? @Manishearth
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any er... | diff --git a/net/blob_loader.rs b/net/blob_loader.rs
index 1008b405e..e12cdab98 100644
--- a/net/blob_loader.rs
+++ b/net/blob_loader.rs
@@ -19,9 +19,9 @@ use std::sync::Arc;
// TODO: Check on GET
// https://w3c.github.io/FileAPI/#requestResponseModel
-pub fn load_blob(load_data: &LoadData, start_chan: LoadConsumer... | 5 | 205 | 158 |
5126bd2c756f5ca2e52ffde1d3ee76f7486213ce | Michael Howell | 2016-07-08T22:25:07 | servo: Merge #12293 - Correct negative margins in centered table cells (from notriddle:margins_in_tables); r=mbrubeck
Fixes the cell-filling links on @AelitaBot [queue viewer page](http://ec2-52-26-55-30.us-west-2.compute.amazonaws.com/).
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy... | diff --git a/layout/table_cell.rs b/layout/table_cell.rs
index 58bb96cfb..1e36adc65 100644
--- a/layout/table_cell.rs
+++ b/layout/table_cell.rs
@@ -80,8 +80,12 @@ impl TableCellFlow {
if !flow::base(self).restyle_damage.contains(REFLOW) {
return;
}
+ // Note to the reader: this co... | 1 | 4 | 0 |
11c4865c85b91d2d401ccac325e9f23f9e6d897a | Connor Brewster | 2016-07-08T16:56:31 | servo: Merge #12277 - Make network listener runnable cancellable (from cbrewster:network_listener_cancellable); r=Manishearth
<!-- Please describe your changes on the following line: -->
This keeps scripts from executing after its script thread has been shut down.
---
<!-- Thank you for contributing to Servo! Please ... | diff --git a/script/dom/htmllinkelement.rs b/script/dom/htmllinkelement.rs
index ed6754afd..ea5c25d8d 100644
--- a/script/dom/htmllinkelement.rs
+++ b/script/dom/htmllinkelement.rs
@@ -226,6 +226,7 @@ impl HTMLLinkElement {
let listener = NetworkListener {
context: context,
... | 7 | 23 | 7 |
b46155dacdea963c10490df3ce1a93a560f4f7bc | Ms2ger | 2016-07-08T14:46:00 | servo: Merge #12311 - Move the cache module out of util (from Ms2ger:cache); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: d475a277eebaa7d91d1b070b169e205b4c533c4f | diff --git a/gfx/font.rs b/gfx/font.rs
index c401c616d..e92fff1c5 100644
--- a/gfx/font.rs
+++ b/gfx/font.rs
@@ -12,6 +12,7 @@ use smallvec::SmallVec;
use std::ascii::AsciiExt;
use std::borrow::ToOwned;
use std::cell::RefCell;
+use std::collections::HashMap;
use std::rc::Rc;
use std::str;
use std::sync::Arc;
@@ -... | 8 | 14 | 64 |
45dbc69c7036ae622204041339d258b92ec05d87 | Steve Melia | 2016-07-08T12:06:57 | servo: Merge #11781 - Issue 8719: Add basic support for :active selector (from sjmelia:8719_support_for_css_active); r=Manishearth
<!-- Please describe your changes on the following line: -->
Added toggling of active state for element and parents on mousedown/mouseup. Active state is removed when mouseout. (hover)
- ... | diff --git a/script/dom/activation.rs b/script/dom/activation.rs
index ff8d59aac..5c59393f7 100644
--- a/script/dom/activation.rs
+++ b/script/dom/activation.rs
@@ -10,6 +10,9 @@ use dom::event::{Event, EventBubbles, EventCancelable};
use dom::eventtarget::EventTarget;
use dom::mouseevent::MouseEvent;
use dom::node:... | 4 | 45 | 2 |
2a1a30a4d8a4b3e649eec64eb9610fe8ccd90de8 | Changwan Hong | 2016-07-08T11:12:04 | servo: Merge #12342 - Add name method for Runnable trait into DetailsNotificationRunnable (from ChangWanHong:trivial); r=KiChjang
<!-- 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 `__` wi... | diff --git a/script/dom/htmldetailselement.rs b/script/dom/htmldetailselement.rs
index 07c85ed6e..f8fc6545f 100644
--- a/script/dom/htmldetailselement.rs
+++ b/script/dom/htmldetailselement.rs
@@ -90,6 +90,8 @@ pub struct DetailsNotificationRunnable {
}
impl Runnable for DetailsNotificationRunnable {
+ fn name(&... | 1 | 2 | 0 |
d4e010d6f6bea667982d62162f58ab4f700abef5 | Andrew Savchyn | 2016-07-08T09:23:16 | servo: Merge #12340 - Add name method for Runnable trait in DocumentProgressHandler (from Scorpil:document_progress_handler_runnable_name); r=KiChjang
<!-- 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/script/dom/document.rs b/script/dom/document.rs
index 43a447368..c14a2b809 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -2869,6 +2869,8 @@ impl DocumentProgressHandler {
}
impl Runnable for DocumentProgressHandler {
+ fn name(&self) -> &'static str { "DocumentProgressHandler" ... | 1 | 2 | 0 |
bf03365ba5b4bc29b1f68c9d9e0b8d5cace12499 | Malisa Smith | 2016-07-08T04:08:50 | servo: Merge #12327 - Profile stats (from malisas:profile-stats); r=jdm
<!-- Please describe your changes on the following line: -->
Pulled out profiler statistics calculation into its own function in time.rs, added tests for it, and simplified min and max calculation for pre-sorted data.
---
<!-- Thank you for contr... | diff --git a/profile/time.rs b/profile/time.rs
index 9c9debdb7..e6cb6d45f 100644
--- a/profile/time.rs
+++ b/profile/time.rs
@@ -327,6 +327,23 @@ impl Profiler {
true
}
+ /// Get tuple (mean, median, min, max) for profiler statistics.
+ pub fn get_statistics(data: &[f64]) -> (f64, f64, f64, f64) {... | 1 | 19 | 10 |
741f1596bc386e9dc8b3f98a9010f3fc9544ead3 | zakorgyula | 2016-07-08T01:15:38 | servo: Merge #12309 - Add missing steps to descriptors writeValue function (from szeged:descriptor-functions); r=jdm
<!-- Please describe your changes on the following line: -->
Add two missing steps to characteristic's writeValue function. https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattdescrip... | diff --git a/script/dom/bluetoothremotegattcharacteristic.rs b/script/dom/bluetoothremotegattcharacteristic.rs
index ebdd59ca6..0fc9d7a41 100644
--- a/script/dom/bluetoothremotegattcharacteristic.rs
+++ b/script/dom/bluetoothremotegattcharacteristic.rs
@@ -27,7 +27,7 @@ use net_traits::bluetooth_thread::BluetoothMethod... | 2 | 9 | 3 |
bc64748049652ef3dadb7a7209ceca4b1d971966 | gozala | 2016-07-08T00:20:02 | servo: Merge #12302 - Update browserhtml version to 0.1.15 (from Gozala:bhtml@0.1.15); r=ConnorGBrewster
Update browserhtml version to 0.1.15
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` ... | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 4d781757d..5f6e0da6d 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -4,7 +4,7 @@ version = "0.0.1"
dependencies = [
"android_glue 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"backtrace 0.2.2 (registry+https://github.com/rust-lang/c... | 1 | 3 | 3 |
532d25c9a1d221872182f8e14b3c5bb8345a7fdc | Matt Brubeck | 2016-07-07T22:22:13 | servo: Merge #12294 - Update num_cpus, libc, openssl, threadpool, smallvec, string_cache, gleam, gl_generator, x11 (from mbrubeck:always-be-updating); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: d0ab03bb294b91e47ca929464ab71e7c42ff2e9a | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 030f19a50..4d781757d 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -17,13 +17,13 @@ dependencies = [
"gaol 0.0.1 (git+https://github.com/servo/gaol)",
"gfx 0.0.1",
"gfx_tests 0.0.1",
- "gleam 0.2.19 (registry+https://github.com/rust-lang/crates.io-i... | 1 | 119 | 119 |
705cb6080c9e2d7e6752b7af4095d9ffd2711222 | Connor Brewster | 2016-07-07T21:26:44 | servo: Merge #12292 - Consolidate runnable variants on DOMManipulationTask into a single Runnable variant (from cbrewster:runnable_variant); r=KiChjang
<!-- Please describe your changes on the following line: -->
Consolidates the runnable variants on `DOMManipulationTask` into a single `Runnable` variant.
Also combine... | diff --git a/script/dom/htmldetailselement.rs b/script/dom/htmldetailselement.rs
index d63e15178..07c85ed6e 100644
--- a/script/dom/htmldetailselement.rs
+++ b/script/dom/htmldetailselement.rs
@@ -79,7 +79,7 @@ impl VirtualMethods for HTMLDetailsElement {
element: details,
toggle_numbe... | 7 | 25 | 36 |
9a77eb13c9f5167f65c31e0b8a48f18cc9a107d2 | Matt Brubeck | 2016-07-07T18:54:11 | servo: Merge #12291 - Bail out gracefully on malformed kern table headers (from mbrubeck:font-panic); r=Wafflespeanut
This changes a debug assert to a debug log and early return.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropria... | diff --git a/gfx/platform/macos/font.rs b/gfx/platform/macos/font.rs
index 4e4ae7721..35f6e9031 100644
--- a/gfx/platform/macos/font.rs
+++ b/gfx/platform/macos/font.rs
@@ -113,11 +113,14 @@ impl FontHandle {
let pair_data_start = subtable_start + FORMAT_0_HEADER_LEN;
result.... | 1 | 5 | 2 |
db3362a4bca0eb1ebc3d0c600a351b726bd97106 | Ms2ger | 2016-07-07T03:49:54 | servo: Merge #12272 - Reuse report_pending_exception in CallSetup (from Ms2ger:report); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 4fafcb121f807c31593bd2f8731358c68b3b7810 | diff --git a/script/dom/bindings/callback.rs b/script/dom/bindings/callback.rs
index cc1266d27..c34598a26 100644
--- a/script/dom/bindings/callback.rs
+++ b/script/dom/bindings/callback.rs
@@ -4,15 +4,14 @@
//! Base classes to work with IDL callbacks.
-use dom::bindings::error::{Error, Fallible};
+use dom::binding... | 1 | 4 | 10 |
369fdbcae4fec7b0e584ef1c17081f8b9656471c | Anthony Ramine | 2016-07-07T01:52:05 | servo: Merge #12289 - Properly check storage size against QUOTA_SIZE_LIMIT (fixes #12247) (from nox:slate); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 32fa565bafcbdc9a59cde670e785a3392d231e3d | diff --git a/net/storage_thread.rs b/net/storage_thread.rs
index c314dbdd8..cc329f089 100644
--- a/net/storage_thread.rs
+++ b/net/storage_thread.rs
@@ -144,12 +144,15 @@ impl StorageManager {
value: String) {
let origin = self.origin_as_string(url);
- let current_total_size = {
+ ... | 1 | 7 | 4 |
28e7a256d74423f35163dfb907898b4fce5c9b4b | Emilio Cobos Álvarez | 2016-07-07T00:54:13 | servo: Merge #12275 - prefs: Make the preferences be guarded by a RwLock instead of a Mutex (from emilio:prefs-rwlock); 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 a... | diff --git a/util/prefs.rs b/util/prefs.rs
index d0d96a930..eeb32a9a5 100644
--- a/util/prefs.rs
+++ b/util/prefs.rs
@@ -11,12 +11,12 @@ use std::collections::HashMap;
use std::fs::File;
use std::io::{Read, Write, stderr};
use std::path::PathBuf;
-use std::sync::{Arc, Mutex};
+use std::sync::{Arc, RwLock};
lazy_s... | 1 | 10 | 10 |
c46a17947b0e7776f6756e4b934fac433b38e1e0 | Anthony Ramine | 2016-07-06T22:49:18 | servo: Merge #12287 - Remove util::breakpoint (from nox:die-util-die); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 921f605c0528b087db627f02c94fb71849a40b1c | diff --git a/script/dom/window.rs b/script/dom/window.rs
index a098edcb4..34ac683e2 100644
--- a/script/dom/window.rs
+++ b/script/dom/window.rs
@@ -96,8 +96,8 @@ use timers::{IsInterval, OneshotTimerCallback, OneshotTimerHandle, OneshotTimers
use tinyfiledialogs::{self, MessageBoxIcon};
use url::Url;
use util::geom... | 3 | 4 | 10 |
18ec6fc12a2b36ce6a8d4f8a45e5f804766ca865 | zakorgy | 2016-07-06T18:11:26 | servo: Merge #12261 - Missing steps of Characteristic's readValue, writeValue functions (from szeged:gattcharacteristicfunctions); r=jdm
<!-- Please describe your changes on the following line: -->
Add a check for the read property of the characteristic as described in https://webbluetoothcg.github.io/web-bluetooth/#d... | diff --git a/script/dom/bindings/error.rs b/script/dom/bindings/error.rs
index 161e477a8..d0074335c 100644
--- a/script/dom/bindings/error.rs
+++ b/script/dom/bindings/error.rs
@@ -57,6 +57,8 @@ pub enum Error {
QuotaExceeded,
/// TypeMismatchError DOMException
TypeMismatch,
+ /// InvalidModificationE... | 2 | 19 | 1 |
720a0f0db32bb1d1053f4866fa9c4c9203a51696 | Anthony Ramine | 2016-07-06T17:16:23 | servo: Merge #12208 - Continue loading font-face sources on missing local font (from nox:fontloading); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 3679b0a328aaf37e6086d7ee7161f2cceb999067 | diff --git a/gfx/font_cache_thread.rs b/gfx/font_cache_thread.rs
index b7e68e9ef..6e60e2b6d 100644
--- a/gfx/font_cache_thread.rs
+++ b/gfx/font_cache_thread.rs
@@ -268,10 +268,17 @@ impl FontCache {
Source::Local(ref font) => {
let font_face_name = LowercaseString::new(font.name());
... | 1 | 8 | 1 |
c75c2e03a67d5f071b52884f2466f9144a468441 | Josh Matthews | 2016-07-06T09:51:50 | servo: Merge #11950 - Support non-QWERTY keyboards (from jdm:keylayout2); r=emilio
Using the ReceivedCharacter event from glutin, we can obtain the actual key characters that the user is pressing and releasing. This gets passed to the script thread along with the physical key data, since KeyboardEvent needs both piece... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 270a6b656..8041fd7f1 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -701,9 +701,9 @@ impl<Window: WindowMethods> IOCompositor<Window> {
self.composition_request = CompositionRequest::CompositeNow(reason)... | 13 | 89 | 91 |
1508c7a66ad483ba4e8417a632e28879e40b0034 | Keith Yeung | 2016-07-06T08:05:13 | servo: Merge #12233 - Make text decorations have the same color as the text if no shadows are present (from KiChjang:underline-color); 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 r... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 173a19196..4bc969b2e 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -43,6 +43,7 @@ use std::default::Default;
use std::sync::Arc;
use std::{cmp, f32};
use style::computed_values::filter::Filter;
+u... | 1 | 27 | 32 |
855a6182256429108702e6aa1f21c0f667a37f2f | Bobby Holley | 2016-07-06T01:55:36 | servo: Merge #11886 - Refactor attribute handling to avoid marshalling attributes from Gecko into Servo (from bholley:attr_refactor); r=SimonSapin
This marshaling is slow, because Gecko stores attributes as UTF-16 and does not atomize them in all cases, and it turns out that the need for them in Servo is pretty minima... | diff --git a/layout/Cargo.toml b/layout/Cargo.toml
index 188b39e92..05f9fcda8 100644
--- a/layout/Cargo.toml
+++ b/layout/Cargo.toml
@@ -31,7 +31,7 @@ range = {path = "../range"}
rustc-serialize = "0.3"
script_layout_interface = {path = "../script_layout_interface"}
script_traits = {path = "../script_traits"}
-selec... | 17 | 221 | 182 |
b3a0616b1329b08c4c58055f94a8a1c8e3243f4f | Simon Sapin | 2016-07-05T22:04:42 | servo: Merge #12263 - Make geckolib possible to build on stable Rust (from servo:stable-geckolib); r=nox
<!-- Please describe your changes on the following line: -->
More for https://github.com/servo/servo/issues/11815
r? @nox
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the... | diff --git a/style/keyframes.rs b/style/keyframes.rs
index 7d2197588..82dc4c920 100644
--- a/style/keyframes.rs
+++ b/style/keyframes.rs
@@ -10,7 +10,8 @@ use std::sync::Arc;
/// A number from 1 to 100, indicating the percentage of the animation where
/// this keyframe should run.
-#[derive(Debug, Copy, Clone, Part... | 5 | 26 | 13 |
c2c4595535cf735b8e262391fc9748bbfc07a5dc | Manish Goregaokar | 2016-07-05T21:12:21 | servo: Merge #12003 - Don't crash when <img> fails to parse its src (from Manishearth:no-crash-url-parse); r=jdm
Fixes #11992
Source-Repo: https://github.com/servo/servo
Source-Revision: 5574a4e4c8a2f684f06ca80937bf6b2bdb4ae369 | diff --git a/script/dom/htmlimageelement.rs b/script/dom/htmlimageelement.rs
index 06a5bf93a..2b61a800a 100644
--- a/script/dom/htmlimageelement.rs
+++ b/script/dom/htmlimageelement.rs
@@ -31,6 +31,8 @@ use script_thread::Runnable;
use std::sync::Arc;
use string_cache::Atom;
use style::attr::{AttrValue, LengthOrPerc... | 2 | 77 | 33 |
bbf2f8618d96badccd68665683b49fc0f611e229 | zakorgy | 2016-07-05T16:02:25 | servo: Merge #12260 - Timeout for GATTServer's connect, disconnect methods (from szeged:gattserverfunctions); r=jdm
<!-- Please describe your changes on the following line: -->
Added 30 seconds maximum timeout as specified in the bluetooth 4.2 https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=286439 (V... | diff --git a/net/bluetooth_thread.rs b/net/bluetooth_thread.rs
index f25da702f..1b8827639 100644
--- a/net/bluetooth_thread.rs
+++ b/net/bluetooth_thread.rs
@@ -33,6 +33,11 @@ const CHARACTERISTIC_ERROR: &'static str = "No characteristic found";
const DESCRIPTOR_ERROR: &'static str = "No descriptor found";
const VALU... | 1 | 28 | 15 |
d18d9c699f5547de103c13cdc2b33206847397de | Zhen Zhang | 2016-07-05T13:24:46 | servo: Merge #12258 - Remove DataSlice, fix #12249 (from izgzhen:remove-data-slice); r=Manishearth
r? @Manishearth
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
... | diff --git a/net/filemanager_thread.rs b/net/filemanager_thread.rs
index 469cd36c3..2a32bc910 100644
--- a/net/filemanager_thread.rs
+++ b/net/filemanager_thread.rs
@@ -135,8 +135,8 @@ impl<UI: 'static + UIProvider> FileManager<UI> {
Err(_) => { let _ = sender.send(Err(FileManagerThreadError::R... | 10 | 61 | 126 |
95ae4d371091cc8884345dd4cac5bc9b415f50a7 | Anthony Ramine | 2016-07-05T09:04:42 | servo: Merge #12256 - Move some stuff from util to style (from nox:die-util-die); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: bb916bb38bc4298477bfc8134b94dc906054bce1 | diff --git a/gfx/text/text_run.rs b/gfx/text/text_run.rs
index 24024908d..390f8b5c3 100644
--- a/gfx/text/text_run.rs
+++ b/gfx/text/text_run.rs
@@ -11,8 +11,8 @@ use std::cell::Cell;
use std::cmp::{Ordering, max};
use std::slice::Iter;
use std::sync::Arc;
+use style::str::char_is_whitespace;
use text::glyph::{Byte... | 22 | 23 | 26 |
97fda66d85649de170a6656b3e7cd97f1b34f7c3 | Ms2ger | 2016-07-05T07:58:51 | servo: Merge #12216 - Move some types from msg to script_traits (from servo:msg); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 181261004d3b217605cb2d8fbdc00ad0785532ba | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index bc450c44c..270a6b656 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -28,16 +28,16 @@ use layers::platform::surface::NativeDisplay;
use layers::rendergl;
use layers::rendergl::RenderContext;
use layers::scene::Scene;
-... | 16 | 82 | 79 |
2bd238751de35eee7ce00a0c34ac26a1dec73fa0 | Hugh Gallagher | 2016-07-05T07:06:44 | servo: Merge #12237 - Avoid many uses of unwrap in font_cache_thread.rs (from hgallagher1993:servo); r=jdm
Replaced `result.send(...blah...).unwrap()` with `let _ = result.send(...blah...);` in `components/gfx/font_cache_thread.rs`
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not r... | diff --git a/gfx/font_cache_thread.rs b/gfx/font_cache_thread.rs
index 9a88cce95..b7e68e9ef 100644
--- a/gfx/font_cache_thread.rs
+++ b/gfx/font_cache_thread.rs
@@ -165,11 +165,11 @@ impl FontCache {
match msg {
Command::GetFontTemplate(family, descriptor, result) => {
... | 1 | 3 | 3 |
ef6285ca0f782cf27bd9d1c16460672a2bb65bbb | Josh Matthews | 2016-07-05T05:09:41 | servo: Merge #12241 - Don't load stylesheets in documents without browsing contexts (from jdm:multiple-stylesheets); r=notriddle
Per https://github.com/whatwg/html/issues/1495, this fixes the most commonly reported panic in nightlies by making us match what other browsers do.
---
- [X] `./mach build -d` does not repo... | diff --git a/script/dom/htmllinkelement.rs b/script/dom/htmllinkelement.rs
index 0af076950..0b84bc385 100644
--- a/script/dom/htmllinkelement.rs
+++ b/script/dom/htmllinkelement.rs
@@ -194,6 +194,10 @@ impl VirtualMethods for HTMLLinkElement {
impl HTMLLinkElement {
fn handle_stylesheet_url(&self, href: &str) {
... | 1 | 4 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.