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 |
|---|---|---|---|---|---|---|---|
08d25e40986a631fac617e2b8ba3c70125209066 | Ms2ger | 2015-05-19T17:13:37 | servo: Merge #6134 - Cleanup the fetch code (from Ms2ger:fetch); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 40dded8b3a2e9eb9c0f0b7af189df27f3ad6414a | diff --git a/net/fetch/request.rs b/net/fetch/request.rs
index 7c44e5f14..8ce58f819 100644
--- a/net/fetch/request.rs
+++ b/net/fetch/request.rs
@@ -114,7 +114,7 @@ pub struct Request {
}
impl Request {
- pub fn new(url: Url, context: Context, isServiceWorkerGlobalScope: bool) -> Request {
+ pub fn new(url: U... | 1 | 12 | 12 |
0e56034a10c0f8a67eb2a0a035f356b1a33cf5dd | Matt Brubeck | 2015-05-19T16:29:34 | servo: Merge #6130 - Fixes for layout of RTL floats (from mbrubeck:float-rtl); r=pcwalton
This fixes panics in RTL pages with floats (#6113) and partially fixes the positioning of RTL floats. There are some remaining issues with the layout of floats in RTL flows, which I'll file follow-up issues for.
Source-Repo: ht... | diff --git a/layout/block.rs b/layout/block.rs
index 43b52430f..fa3a13c58 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -771,8 +771,9 @@ impl BlockFlow {
}
let mut margin_collapse_info = MarginCollapseInfo::new();
+ let writing_mode = self.base.floats.writing_mode;
... | 4 | 27 | 10 |
d0e25b40acddbd0a5eae2cb4f61b18f3ca0292ca | Kevin Butler | 2015-05-18T21:19:34 | servo: Merge #6118 - Skip empty fragments when justifying inline fragments (from Ryman:gh5856); r=pcwalton
Fixes #5856
This stops the panic, but the empty fragments tend to be non-empty if extended by `info.range_end_including_stripped_whitespace`, so I'm unsure if it's a requirement to include that instead of skippi... | diff --git a/layout/inline.rs b/layout/inline.rs
index 9625787f0..ffa59e2d1 100644
--- a/layout/inline.rs
+++ b/layout/inline.rs
@@ -959,14 +959,13 @@ impl InlineFlow {
let mut expansion_opportunities = 0i32;
for fragment_index in line.range.each_index() {
let fragment = fragments.get(fra... | 1 | 11 | 14 |
8ee7938fea1636e18b5d34be6bb7410421b8db47 | Keith Yeung | 2015-05-18T14:23:43 | servo: Merge #5824 - Implemented http fetch (partial #4576) (from KiChjang:http-fetch-spec); r=jdm
This is a work-in-progress for the implementation of HTTP fetch. Currently, it does not compile, as I haven't figured out how to solve the issues regarding borrows and lifetimes.
Source-Repo: https://github.com/servo/se... | diff --git a/net/fetch/request.rs b/net/fetch/request.rs
index adf7b769c..7c44e5f14 100644
--- a/net/fetch/request.rs
+++ b/net/fetch/request.rs
@@ -5,13 +5,16 @@
use url::Url;
use hyper::method::Method;
use hyper::mime::{Mime, TopLevel, SubLevel, Attr, Value};
-use hyper::header::Headers;
-use hyper::header::Conten... | 1 | 247 | 21 |
67a66d9c7ba736974dbebf0c5bf2909e422ef5da | Glenn Watson | 2015-05-18T00:18:14 | servo: Merge #6108 - Fix android logging since the rustup (from glennw:android-logs); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 57e3710ba2e2b27989e11cc531851f95d408cce2 | diff --git a/servo/main.rs b/servo/main.rs
index 5c15b1a6c..bee05978b 100644
--- a/servo/main.rs
+++ b/servo/main.rs
@@ -191,6 +191,7 @@ mod android {
use util::task::spawn_named;
use std::ffi::CString;
use std::str::from_utf8;
+ use std::ffi::CStr;
unsafe {
let... | 1 | 8 | 9 |
d8bbd70cee2ab9af43711945b23fc365116feb90 | Anthony Ramine | 2015-05-17T18:40:30 | servo: Merge #6064 - Fix overflow in CharacterData (from nox:characterdata-overflow); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 0f1f71b56f55c0cf4cb0d075916f34ebfc706783 | diff --git a/script/dom/characterdata.rs b/script/dom/characterdata.rs
index 3ea3609c7..017bc79f5 100644
--- a/script/dom/characterdata.rs
+++ b/script/dom/characterdata.rs
@@ -21,7 +21,6 @@ use util::str::DOMString;
use std::borrow::ToOwned;
use std::cell::Ref;
-use std::cmp;
// https://dom.spec.whatwg.org/#cha... | 1 | 18 | 16 |
16cc5b7a23ba92a4568fc110adc1b531d097ff47 | Keith Yeung | 2015-05-17T17:57:58 | servo: Merge #6102 - Made open event in WebScoket not cancelable (fixes #6101) (from KiChjang:websocket-open-event-noncancelable); r=Ms2ger
Fixes #6101
Source-Repo: https://github.com/servo/servo
Source-Revision: d6c3ddd8fd80853b6f679c5a9539ae86587c9b8e | diff --git a/script/dom/websocket.rs b/script/dom/websocket.rs
index 009ca43a7..75c868b50 100644
--- a/script/dom/websocket.rs
+++ b/script/dom/websocket.rs
@@ -247,7 +247,7 @@ impl WebSocketTaskHandler {
let event = Event::new(global.r(),
"open".to_owned(),
EventBubbles::DoesNotBubbl... | 1 | 1 | 1 |
53cbdc79735e48f6140ea6565d27589eceb94216 | Matt Brubeck | 2015-05-16T03:46:35 | servo: Merge #6081 - Fix layout of RTL tables in LTR flow (from mbrubeck:table-wrapper-rtl); r=pcwalton
Fixes #6006. r? @pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 3934831da3f481e24f923e73fa9df3a0faec194e | diff --git a/layout/table_wrapper.rs b/layout/table_wrapper.rs
index 1adf5c174..592ad213f 100644
--- a/layout/table_wrapper.rs
+++ b/layout/table_wrapper.rs
@@ -190,6 +190,18 @@ impl TableWrapperFlow {
table_border_padding + spacing;
self.block_flow.base.position.size.inline = total_used_inline_si... | 1 | 14 | 6 |
8f7719685cd5436bdda6ba24adcb33be9bec3af3 | Ms2ger | 2015-05-15T17:15:39 | servo: Merge #6070 - Remove some clones (from Ms2ger:clone); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 089862090285b1126deaa2357505d2a027e56b2e | diff --git a/compositing/compositor_task.rs b/compositing/compositor_task.rs
index 793e1ecc9..5a3c6bdd5 100644
--- a/compositing/compositor_task.rs
+++ b/compositing/compositor_task.rs
@@ -231,14 +231,14 @@ impl CompositorTask {
box compositor::IOCompositor::create(window,
... | 2 | 5 | 5 |
cf64c628baaf6333b857bafb657fe4b8cdb821d3 | Jinwoo Song | 2015-05-15T14:42:18 | servo: Merge #6033 - Add support for 'padding-box' value for 'box-sizing' property (fixes #6032) (from Jinwoo-Song:boxsizing_paddingbox); r=pcwalton
Spec: http://dev.w3.org/csswg/css-ui/#valdef-box-sizing-padding-box
Currently, only Firefox is supporting this value.
Source-Repo: https://github.com/servo/servo
Source... | diff --git a/layout/block.rs b/layout/block.rs
index 215bf1ffe..43b52430f 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -346,8 +346,10 @@ impl CandidateBSizeIterator {
};
// If the style includes `box-sizing: border-box`, subtract the border and padding.
+ // If the style includes `bo... | 3 | 12 | 1 |
31e23710244e73ede6626a8240f0e173551d2ce6 | Mukilan Thiyagarajan | 2015-05-15T08:35:37 | servo: Merge #6043 - Fix implementation of Element::get_root_element (from mukilan:get_root_element); r=Ms2ger
The [current implementation](http://mxr.mozilla.org/servo/source/components/script/dom/element.rs#666) is wrong as it always tries to cast the furthest ancestor into an element.
When the method is invoked on ... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index f6e34985f..f0ff55e2e 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -510,7 +510,7 @@ pub trait ElementHelpers<'a> {
fn get_inline_style_declaration(self, property: &Atom) -> Option<PropertyDeclaration>;
fn get_important_inline... | 1 | 6 | 6 |
1402230fae61946bac0c8bc9feaf0e9d86797d84 | Mike Blumenkrantz | 2015-05-15T01:06:04 | servo: Merge #6016 - Embedding windowing (from zmike:embedding-windowing); r=larsbergstrom
Depends on glutin PR #21
@glennw @larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: a97f81b83d8901073b52054aaf3bfb9d0e74be07 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 4c48122f7..3202bcf38 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -623,7 +623,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "layers"
version = "0.1.0"
-source = "git+https://github.com/servo/rust-layers#01825... | 1 | 1 | 1 |
4a1b25a2f21c769795a5b89ae67c2c7ac6b73c7e | Patrick Walton | 2015-05-14T23:00:52 | servo: Merge #6055 - gfx: Implement paint flashing, which will be useful for debugging invalidation (from pcwalton:paint-flashing); r=mbrubeck
r? @mbrubeck (or whoever)
Source-Repo: https://github.com/servo/servo
Source-Revision: 74ef5d6aa89eb138f029ab6aeb9ce0bbf8befede | diff --git a/gfx/Cargo.toml b/gfx/Cargo.toml
index a8551de59..5e26c6a7e 100644
--- a/gfx/Cargo.toml
+++ b/gfx/Cargo.toml
@@ -74,3 +74,4 @@ time = "0.1.12"
bitflags = "*"
rustc-serialize = "0.3"
libc = "*"
+rand = "*"
diff --git a/gfx/lib.rs b/gfx/lib.rs
index 52d5a705d..57633303b 100644
--- a/gfx/lib.rs
+++ b/gfx/li... | 5 | 19 | 0 |
1e0f2067e50518fdc4d530c7681ea76a1b8c0574 | Lars Bergstrom | 2015-05-14T21:56:25 | servo: Merge #6054 - Android refixup (from larsbergstrom:android_refixup); r=mbrubeck
It appears that https://github.com/servo/servo/pull/6012 reverted our attempts to update the android submodule - probably a bad rebase. This re-fixes it and also updates the debugging code to modern Rust.
r? @mbrubeck
Source-Repo: ... | diff --git a/servo/main.rs b/servo/main.rs
index 53002888b..5c15b1a6c 100644
--- a/servo/main.rs
+++ b/servo/main.rs
@@ -173,7 +173,9 @@ mod android {
pub fn setup_logging() {
use self::libc::consts::os::posix88::{STDERR_FILENO, STDOUT_FILENO};
- //os::setenv("RUST_LOG", "servo,gfx,msg,util,layer... | 1 | 3 | 1 |
c75b4a9f63ab9b8978452092d818cc4e589a672a | Matt Brubeck | 2015-05-14T17:52:27 | servo: Merge #6049 - Fix positioning of RTL blocks with margins (from mbrubeck:position-rtl); r=pcwalton
`BaseFlow::position` is relative to the parent flow's margin box in the inline direction. We need to use the parent's `position` as the container size when translating it to physical coordinates, or we get incorre... | diff --git a/layout/block.rs b/layout/block.rs
index 895809f6d..215bf1ffe 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1572,11 +1572,8 @@ impl Flow for BlockFlow {
// Distance from the inline-end margin edge to the inline-end content edge.
let inline_end_content_edge =
- self.ba... | 1 | 3 | 11 |
8d9f2a39a83b5e461ad1de3f9659fd5c91db4fe4 | Ms2ger | 2015-05-14T12:16:42 | servo: Merge #6044 - Various cleanup (from Ms2ger:cleanup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 7bda431e61d06113306c3f12d9f4240a58a7d34d | diff --git a/canvas/webgl_paint_task.rs b/canvas/webgl_paint_task.rs
index 806440db3..155cbde22 100644
--- a/canvas/webgl_paint_task.rs
+++ b/canvas/webgl_paint_task.rs
@@ -37,6 +37,34 @@ impl WebGLPaintTask {
})
}
+ pub fn handle_webgl_message(&self, message: CanvasWebGLMsg) {
+ match message... | 11 | 67 | 49 |
d7fa275a5d470e6e691d3a77b9decadf7a9696f9 | Glenn Watson | 2015-05-14T03:34:59 | servo: Merge #5890 - Various fixes for cleaning up iframes, compositor layers, pipelines and threads (from glennw:iframe-cleanup); r=jdm
This allows most of the jquery test suite to run without exhausting thread resources.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7e022b25a8ab87897180dcf1b6aff8d9b5... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index d5cebea2a..4ba546fbe 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -431,9 +431,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
}
(Msg::PaintTaskExited(pipeline_id), ShutdownState::Not... | 11 | 192 | 15 |
efdcffd221f827912f84055b10028968e3ad219e | Jinwoo Song | 2015-05-14T01:40:33 | servo: Merge #6035 - Position the background image on the padding box (from Jinwoo-Song:fix_background_image_position); r=pcwalton
According to CSS2.1 spec, background image should be positioned on padding box.
Spec: http://www.w3.org/TR/CSS21/colors.html#propdef-background-position
Fixes #6034.
r? @jdm
cc @yichoi
... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 9722fb350..b77bbf013 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -435,8 +435,11 @@ impl FragmentDisplayListBuilding for Fragment {
let vertical_position = model::specified(background.b... | 1 | 5 | 2 |
e64c4571977a302437ef117e360e9460a90826a2 | Mike Blumenkrantz | 2015-05-13T20:27:47 | servo: Merge #5995 - add parent window setting when creating windows with glutin (from zmike:glutin-parenting); r=jdm
needed for embedding api usage
Depends on https://github.com/servo/glutin/pull/20
Source-Repo: https://github.com/servo/servo
Source-Revision: a388a76d8238e6a009f4e62dbc930487adb96811 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 4a30f0989..02601a41f 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -430,7 +430,7 @@ dependencies = [
[[package]]
name = "glutin"
version = "0.0.26"
-source = "git+https://github.com/servo/glutin?branch=servo#11389c9ead188376095297a5a295f53d98129a57"
+s... | 2 | 2 | 2 |
4dfe77a3e78360c90be9454b6a332fe34d4b56bb | Adenilson Cavalcanti | 2015-05-13T02:25:58 | servo: Merge #6027 - Removing unused start up parameter (from Adenilson:unusedOpts01); r=jdm
Seems to be a left over from quite some time ago.
Source-Repo: https://github.com/servo/servo
Source-Revision: e7db42f93125a8b2f9122ed34402d652ea6b2ff3 | diff --git a/util/opts.rs b/util/opts.rs
index 3505b33f2..7183095dd 100644
--- a/util/opts.rs
+++ b/util/opts.rs
@@ -258,7 +258,6 @@ pub fn from_cmdline_args(args: &[String]) -> bool {
getopts::optopt("u", "user-agent", "Set custom user agent string", "NCSA Mosaic/1.0 (X11;SunOS 4.1.4 sun4m)"),
getopt... | 1 | 0 | 1 |
88c0f6d36e024fec8b6d396516cf2a8a92fa270c | Glenn Watson | 2015-05-13T01:44:19 | servo: Merge #6013 - Fix a compositor race condition that can result in the most recent buffer not being painted (from glennw:compositor-race); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 606ab1df448368fdffd531f4c66f1f069b942eac | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 3ff8ba62d..a3771b408 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -25,7 +25,7 @@ use layers::layers::{BufferRequest, Layer, LayerBuffer, LayerBufferSet};
use layers::rendergl::RenderContext;
use layers::rendergl;
us... | 4 | 44 | 22 |
1067b1cd98cef38ad41e4a2073f9da5850de7281 | Patrick Walton | 2015-05-13T00:55:44 | servo: Merge #6012 - layout: Draw elements with `position: relative; z-index: auto` over ordinary content per CSS 2.1 Appendix E (from pcwalton:position-relative-painting-order); r=mbrubeck
Improves Talking Points Memo.
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: dc27f8020e6c9e6347368af... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 224da2ca6..59b8d0192 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -87,8 +87,10 @@ pub struct DisplayList {
pub block_backgrounds_and_borders: LinkedList<DisplayItem>,
/// Floats: step 5. These are treated as pseudo-s... | 3 | 57 | 16 |
6b064572c19b7613639597776c08ad510bb3a52f | Ms2ger | 2015-05-12T19:47:49 | servo: Merge #6019 - Move the presentational hint from table border to the new infrastructure (from Ms2ger:preshint-border); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 398e7f07fe0c5b0f0c9e8c05b8962011c83505d3 | diff --git a/layout/wrapper.rs b/layout/wrapper.rs
index f9a214daf..256aca623 100644
--- a/layout/wrapper.rs
+++ b/layout/wrapper.rs
@@ -40,6 +40,7 @@ use data::{LayoutDataAccess, LayoutDataFlags, LayoutDataWrapper, PrivateLayoutDa
use opaque_node::OpaqueNodeMethods;
use gfx::display_list::OpaqueNode;
+use script::... | 5 | 56 | 78 |
359a5cdcfb33c395a1d6a952d7e22cf201c1ab68 | Mike Blumenkrantz | 2015-05-12T18:26:22 | servo: Merge #5992 - Random fixups (from zmike:random-fixups); r=larsbergstrom
Attempt to not panic as much if the resources/ dir is not where it's expected to be.
Source-Repo: https://github.com/servo/servo
Source-Revision: 76225bdccb5105764d979b4d739d4d8edfc98bfe | diff --git a/style/selector_matching.rs b/style/selector_matching.rs
index bbb2d0201..9545ad1cf 100644
--- a/style/selector_matching.rs
+++ b/style/selector_matching.rs
@@ -9,6 +9,7 @@ use selectors::matching::{SelectorMap, Rule};
use selectors::matching::DeclarationBlock as GenericDeclarationBlock;
use selectors::pa... | 2 | 43 | 17 |
ed0567ef649caf077b71a3dd3c93f45356044c88 | Simon Sapin | 2015-05-12T17:42:49 | servo: Merge #6021 - Upgrade to Hyper 0.4.0 (from SimonSapin:hyperup); r=Manishearth
r? @Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 8cacf20a075b3747509897599c37662721d18d1c | diff --git a/devtools/Cargo.toml b/devtools/Cargo.toml
index 5fe447183..c42e37c99 100644
--- a/devtools/Cargo.toml
+++ b/devtools/Cargo.toml
@@ -20,4 +20,4 @@ path = "../util"
time = "*"
rustc-serialize = "0.3"
url = "*"
-hyper = "*"
+hyper = "0.4"
diff --git a/devtools_traits/Cargo.toml b/devtools_traits/Cargo.toml... | 9 | 40 | 20 |
5509abc3b797a411c8d0c719f2aa07d98ccb35fa | Brian Anderson | 2015-05-12T08:26:54 | servo: Merge #6010 - More cleanup of the servo entry points (from brson:next); r=pcwalton
Just cleanup.
Source-Repo: https://github.com/servo/servo
Source-Revision: ca9c703bf5e7b6664ab956e15c7f53534f0f32cd | diff --git a/compositing/constellation.rs b/compositing/constellation.rs
index 8794c6566..24b581999 100644
--- a/compositing/constellation.rs
+++ b/compositing/constellation.rs
@@ -2,6 +2,13 @@
* 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... | 6 | 36 | 21 |
ff5763da9606041b4ff7417e89e5429825c00429 | Ms2ger | 2015-05-12T07:15:11 | servo: Merge #5988 - Move some presentational hints to the new infrastructure (from Ms2ger:preshints); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 8fa604be9dc85bfd41db7d574e236ab8b4e6d89a | diff --git a/layout/wrapper.rs b/layout/wrapper.rs
index 33e343df9..f9a214daf 100644
--- a/layout/wrapper.rs
+++ b/layout/wrapper.rs
@@ -60,7 +60,7 @@ use script::dom::node::{HAS_CHANGED, IS_DIRTY, HAS_DIRTY_SIBLINGS, HAS_DIRTY_DES
use script::dom::text::Text;
use script::layout_interface::LayoutChan;
use msg::const... | 4 | 116 | 199 |
5b557ea21530a47e350623c26a4eda103044bb9a | Patrick Walton | 2015-05-12T00:54:39 | servo: Merge #6014 - layout: Support block-direction margins for inline-blocks (from pcwalton:inline-block-block-direction-margins); r=glennw
Improves linux.com.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 79363a427bc416c1249822da1c7b4d2156fd81de | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 65ed14361..34e3f2963 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -1770,8 +1770,9 @@ impl Fragment {
let font_metrics = text::font_metrics_for_style(layout_context.font_context(),
... | 2 | 11 | 5 |
6450761842c329a271c3213732d5d8de2b1ebb48 | Patrick Walton | 2015-05-11T21:53:32 | servo: Merge #6011 - compositing: Fix scrolling timeout. There are 1,000,000 nanoseconds in a millisecond (from pcwalton:ns_to_ms); r=jdm
r? @jdm (or whoever)
Source-Repo: https://github.com/servo/servo
Source-Revision: 885068207f05b81bcf6f9fc14184a0b4d44eca10 | diff --git a/compositing/scrolling.rs b/compositing/scrolling.rs
index 11a0b8721..e9b533d9f 100644
--- a/compositing/scrolling.rs
+++ b/compositing/scrolling.rs
@@ -60,7 +60,7 @@ impl ScrollingTimer {
Ok(ToScrollingTimerMsg::ScrollEventProcessedMsg(timestamp)) => {
let target = tim... | 1 | 1 | 1 |
cdcbee8aaa4cac23adcb9305c76ec89e022db50e | Patrick Walton | 2015-05-11T21:08:46 | servo: Merge #5991 - layout: Store overflow for flows impacted by floats (from pcwalton:float-overflow-area); r=glennw
Makes qz.com visible.
In order to work around a compiler bug involving Sized, this patch moves
`store_overflow` to be a virtual method.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source... | diff --git a/layout/block.rs b/layout/block.rs
index 78ed9d581..490e94a0a 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -33,7 +33,7 @@ use display_list_builder::{BlockFlowDisplayListBuilding, BorderPaintingMode};
use display_list_builder::{FragmentDisplayListBuilding};
use floats::{ClearType, FloatKind, Float... | 3 | 47 | 41 |
12ef5b6aa15c2969158a50d3518f1591320a115d | Patrick Walton | 2015-05-11T20:25:42 | servo: Merge #5980 - layout: Implement `<table width>` and `<center>` (from pcwalton:table-width-and-center); r=mbrubeck
Improves Hacker News.
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: c1e15e827edeef264afbbf1eae4be46de19fa0ef | diff --git a/layout/block.rs b/layout/block.rs
index 0df2bbe3f..78ed9d581 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -55,7 +55,7 @@ use std::cmp::{max, min};
use std::fmt;
use std::sync::Arc;
use style::computed_values::{border_collapse, box_sizing, display, float, overflow_x, overflow_y};
-use style::com... | 4 | 75 | 34 |
d6bc8cc49d2405b7137962c7db7297ee5bb94c4a | Josh Matthews | 2015-05-11T19:35:33 | servo: Merge #5804 - Add simple document load tracking infrastructure (from jdm:docloader); r=Ms2ger
This implements a simple load-tracking system and tracks stylesheet loads as an example of how it fits together. This is a simplified and rebased version of #3714; I do not believe that the main thrust of hsivonen's co... | diff --git a/compositing/pipeline.rs b/compositing/pipeline.rs
index 06d85a2ca..2402ed23f 100644
--- a/compositing/pipeline.rs
+++ b/compositing/pipeline.rs
@@ -108,7 +108,7 @@ impl Pipeline {
script_port,
constellation_chan.clone(),
... | 18 | 381 | 61 |
88ab91f4fb5b223c519c8536e78a34fc1a0325e8 | James Graham | 2015-05-11T17:33:26 | servo: Merge #6008 - Add support for getActiveElement webdriver command (from jgraham:webdriver_get_active_element); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 263b69cf7fd99bfc13eecc840f27cdcf1e8178cc | diff --git a/script/script_task.rs b/script/script_task.rs
index 70291d64a..10568e308 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -795,6 +795,8 @@ impl ScriptTask {
webdriver_handlers::handle_find_element_css(&page, pipeline_id, selector, reply),
WebDriverScriptComman... | 5 | 21 | 1 |
e7c3fcec40e91f1ea73ebb9d6a700b8542a5efd6 | James Graham | 2015-05-11T16:51:27 | servo: Merge #6007 - Add basic browser capabilities (from jgraham:webdriver_capabilities); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ca3149e52110f13ba663d67723f408ab682c7d7c | diff --git a/webdriver_server/lib.rs b/webdriver_server/lib.rs
index e86fb43f6..330322157 100644
--- a/webdriver_server/lib.rs
+++ b/webdriver_server/lib.rs
@@ -87,10 +87,13 @@ impl Handler {
fn handle_new_session(&mut self) -> WebDriverResult<WebDriverResponse> {
if self.session.is_none() {
... | 1 | 4 | 1 |
d1ffed2f450cd088f2a3531df345e0ce9c649cf6 | James Graham | 2015-05-11T14:57:02 | servo: Merge #5969 - Add WebDriver support for getting elements by selector (from jgraham:webdriver_select_css); r=jdm
Also adds example support for getting the name and text properties of the elements.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8df824998f108d8ef0472bcf6c006b3270e2800e | diff --git a/script/dom/node.rs b/script/dom/node.rs
index 048ee28b3..ff69e4552 100644
--- a/script/dom/node.rs
+++ b/script/dom/node.rs
@@ -975,20 +975,17 @@ impl<'a> NodeHelpers for JSRef<'a, Node> {
fn get_unique_id(self) -> String {
// FIXME(https://github.com/rust-lang/rust/issues/23338)
- l... | 5 | 163 | 10 |
3223d48f4b93d7b77655f524d1cf9b9e4fede1b3 | Matt Brubeck | 2015-05-11T12:50:09 | servo: Merge #5997 - Fix direction of columns in mixed LTR/RTL tables (from mbrubeck:table-direction); r=pcwalton
Table columns should be layed out according to the 'direction' property of the
table flow, regardless of the 'direction' property of any table-row,
table-rowgroup, etc. flows.
This fixes a number of the `... | diff --git a/layout/block.rs b/layout/block.rs
index 718155f49..0df2bbe3f 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1207,6 +1207,7 @@ impl BlockFlow {
usize,
Au,... | 6 | 97 | 72 |
b9ee20289e41d808c4ee3a35f672844acbc4eeb6 | Ms2ger | 2015-05-11T11:46:17 | servo: Merge #6004 - Replace TElement::get_link() by specific methods (from Ms2ger:get_link); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: be8539af885b5d668222bbbdd677922eb75be65f | diff --git a/layout/css/matching.rs b/layout/css/matching.rs
index f3f29d1b2..0fbe60645 100644
--- a/layout/css/matching.rs
+++ b/layout/css/matching.rs
@@ -265,7 +265,7 @@ impl StyleSharingCandidate {
local_name: element.get_local_name().clone(),
class: element.get_attr(&ns!(""), &atom!("clas... | 4 | 30 | 16 |
df5cc604a7f2d37c069ac8cf4f088d09db7004d0 | Patrick Walton | 2015-05-10T21:23:10 | servo: Merge #5994 - layout: Support `vertical-align` for inline-blocks (from pcwalton:vertical-align-inline-block); r=glennw
Improves Twitter.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: c76d73d1244089e1db8c3e11b341c9ce4b6621d7 | diff --git a/layout/inline.rs b/layout/inline.rs
index b25f47ad1..03548ce84 100644
--- a/layout/inline.rs
+++ b/layout/inline.rs
@@ -813,9 +813,9 @@ impl InlineFlow {
for style in fragment.inline_styles() {
// Ignore `vertical-align` values for table cells.
let box_style = style.get_b... | 1 | 7 | 5 |
06e30ae6b40d9a9e7f962e8f1fc4f53f95790516 | Ms2ger | 2015-05-10T20:14:37 | servo: Merge #6001 - Merge the JS context and runtime structs into Runtime (from Ms2ger:runtime); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d1a0aacc60a27a6a9d0709c505d9621a5ebc2f78 | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index 31f1a78f7..d3da922c6 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -45,7 +45,7 @@ use hyper::header::Headers;
use hyper::method::Method;
use js::jsapi::{JSObject, JSTracer, JS_CallTracer, JSGCTraceKind};
... | 6 | 47 | 47 |
42cdc1b968ed59b18838370656cff3b232dffd58 | Ms2ger | 2015-05-10T16:26:25 | servo: Merge #5999 - Move get_attr and get_attrs into TElementAttributes (from Ms2ger:TElement); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: cf9338cb2eb1ff0c28e83d40e06b687828ab4c04 | diff --git a/layout/fragment.rs b/layout/fragment.rs
index e52c5373c..65ed14361 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -40,7 +40,7 @@ use string_cache::Atom;
use style::computed_values::content::ContentItem;
use style::computed_values::{border_collapse, clear, mix_blend_mode, overflow_wrap, posit... | 9 | 49 | 49 |
c3bc6f749fbc272464b9fe6f2b91f26c8fc4d2bf | Ms2ger | 2015-05-10T13:58:33 | servo: Merge #6000 - Update js (from Ms2ger:update-js); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 54b1c9af11f77ae9e4e92531a12b2a1dc1aa10f7 | diff --git a/script/script_task.rs b/script/script_task.rs
index 12ae363c9..926d8567b 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -80,7 +80,7 @@ use hyper::header::{LastModified, Headers};
use js::jsapi::{JS_SetWrapObjectCallbacks, JS_SetExtraGCRootsTracer};
use js::jsapi::{JSContext, JSRuntime,... | 2 | 2 | 2 |
fc3fabf0432122b687ab5856fa48651b34979aa1 | Patrick Walton | 2015-05-08T20:45:52 | servo: Merge #5990 - layout: Take the `width` attribute of `<img>` into account when computing the intrinsic widths of the associated fragment (from pcwalton:img-width-attribute-intrinsic-width); r=glennw
Fixes sites that use spacer gifs for table layout, such as the comments
page on Hacker News.
r? @glennw
Source-R... | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 7085ca307..e52c5373c 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -1248,11 +1248,15 @@ impl Fragment {
result.union_block(&block_flow.base.intrinsic_inline_sizes)
}
SpecificFragmentInfo::Image(ref mut im... | 1 | 6 | 2 |
22ad0d7ed1462fd8be960049b413e65ee53b6708 | Mike Blumenkrantz | 2015-05-08T20:03:52 | servo: Merge #5985 - Embedding: wooden bikeshed (from zmike:embedding-woodenbikeshed); r=larsbergstrom
Some small changes.
@larsbergstrom or whoever cares the most at this exact moment.
Source-Repo: https://github.com/servo/servo
Source-Revision: 892a7404266983c6d51218bc18b8aa878d9a7a3e | diff --git a/net/image_cache_task.rs b/net/image_cache_task.rs
index 6d4bd6156..666364875 100644
--- a/net/image_cache_task.rs
+++ b/net/image_cache_task.rs
@@ -330,15 +330,22 @@ pub fn new_image_cache_task(resource_task: ResourceTask) -> ImageCacheTask {
// Preload the placeholder image, used when images fail... | 1 | 13 | 6 |
fd7dfbaf6d0305a1722f36688b92ced00d0ed9a1 | Adenilson Cavalcanti | 2015-05-08T18:42:40 | servo: Merge #5987 - This was done already on #5783, maybe was reintroduced by mistake (from Adenilson:rmComment01); r=jdm
Removing outdated comment.
Source-Repo: https://github.com/servo/servo
Source-Revision: a052c53d2e79a0024b62087815eb5d7e4e56d5c9 | diff --git a/net/image_cache_task.rs b/net/image_cache_task.rs
index b0b488386..6d4bd6156 100644
--- a/net/image_cache_task.rs
+++ b/net/image_cache_task.rs
@@ -329,7 +329,6 @@ pub fn new_image_cache_task(resource_task: ResourceTask) -> ImageCacheTask {
// Preload the placeholder image, used when images fail... | 1 | 0 | 1 |
f8c9af95f51a72e6c2a6e01f71ff18ce7c210920 | Patrick Walton | 2015-05-08T00:10:31 | servo: Merge #5940 - layout: Implement inline margins (from pcwalton:inline-margins); r=glennw
Improves the Google SERPs.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 0872ed922ff49d28e0183ea1407e07a9cbe338a8 | diff --git a/layout/construct.rs b/layout/construct.rs
index af6ac911b..0acd923de 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -334,7 +334,9 @@ impl<'a> FlowConstructor<'a> {
if child.is_table() {
let fragment = Fragment::new(child_node, SpecificFragmentInfo::TableWrapper);
... | 4 | 130 | 57 |
46aeb5da1bdf7c9c9f320f3748169a8915ae0cea | Patrick Walton | 2015-05-07T23:13:29 | servo: Merge #5936 - layout: Don't rerun selector matching unless we need to when resizing the window (from pcwalton:fast-resize); r=jdm
2.1x improvement on resizing on Reddit.
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bfd16984623e55d835a0a9c08e985d96257c49c0 | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 324c76528..62cf1fc6e 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -884,11 +884,8 @@ impl LayoutTask {
}
}
if needs_reflow {
- match self.try_get_layout_root(*node) {
- None => {... | 4 | 61 | 38 |
2c720cf45856a983b14ca4b1b871eae3f287958f | ecoal95 | 2015-05-07T12:51:04 | servo: Merge #5957 - Remove Glutin dependency for WebGL (from emilio:glcontext-mac-support); r=jdm
Now we have mac support, and since android build is broken, we can
drop glutin from WebGL code.
Went back to upstream repo, see:
https://github.com/servo/rust-offscreen-rendering-context/pull/1#issuecomment-99234534
So... | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index adca541b1..52557fca9 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -22,13 +22,8 @@ path = "../util"
[dependencies.gfx]
path = "../gfx"
-[dependencies.glutin]
-git = "https://github.com/servo/glutin"
-branch = "servo"
-features = ["headless"]
-
[d... | 4 | 16 | 50 |
dedc01bc92444780fa36267bfb0f3457627af0e6 | Mátyás Mustoha | 2015-05-07T12:09:41 | servo: Merge #5949 - Mark the canvas as dirty on certain drawing calls (from mmatyas:canvas_dirty); r=jdm
With this patch, it is now possible to create nice animations using the canvas.
Source-Repo: https://github.com/servo/servo
Source-Revision: 5f2a8494be44d57b74bda24f2fa6b6976f71531b | diff --git a/script/dom/canvasrenderingcontext2d.rs b/script/dom/canvasrenderingcontext2d.rs
index c712c7920..6353479b1 100644
--- a/script/dom/canvasrenderingcontext2d.rs
+++ b/script/dom/canvasrenderingcontext2d.rs
@@ -6,6 +6,7 @@ use dom::bindings::codegen::Bindings::CanvasRenderingContext2DBinding;
use dom::bindin... | 1 | 19 | 3 |
eccdbd5766fc0b19cdec319fdf885e00dfeba1e9 | James Graham | 2015-05-07T09:59:04 | servo: Merge #5884 - Support WebDriver takeScreenshot command (from jgraham:webdriver_screenshot); r=jdm
This adds support for compositing to a PNG without actually quiting
the browser.
Cargo bits need to be updated after the upstream changes to rust-png land.
Source-Repo: https://github.com/servo/servo
Source-Revis... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 7774673b5..3ff8ba62d 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -92,6 +92,9 @@ pub struct IOCompositor<Window: WindowMethods> {
/// A handle to the scrolling timer.
scrolling_timer: ScrollingTimerProxy,
+... | 11 | 181 | 64 |
30e870a7e0c867390342df68c9cfd6aa00d7af66 | Ms2ger | 2015-05-07T08:50:17 | servo: Merge #5967 - Remove unused imports (from Ms2ger:warnings); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 0ec6d80b6ed61c6950b8e5f50d04f994f0021101 | diff --git a/gfx/font_context.rs b/gfx/font_context.rs
index 4ccdfbbc0..cd6f1fa69 100644
--- a/gfx/font_context.rs
+++ b/gfx/font_context.rs
@@ -26,7 +26,6 @@ use std::hash::{Hash, Hasher};
use std::rc::Rc;
use std::sync::Arc;
-use azure::AzFloat;
use azure::azure_hl::BackendType;
use azure::scaled_font::ScaledFo... | 2 | 0 | 2 |
791aac9c3babd9023e82bf1d17fb8d6d1ac93887 | Simon Sapin | 2015-05-07T07:31:15 | servo: Merge #5968 - Deduplicate some dependencies (from SimonSapin:deduplicate-deps); r=Manishearth
This uses some dependencies from crates.io instead of git where the crates.io copy was already used in some other part of the dependency tree, so we had two copies of the same library.
The `android_glue` crate is the ... | diff --git a/net/Cargo.toml b/net/Cargo.toml
index 3fb0f5b0a..6869fb274 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -32,4 +32,4 @@ regex = "0.1.14"
regex_macros = "0.1.8"
hyper = "0.3"
flate2 = "0.2.0"
-uuid = "*"
+uuid = "0.1.16"
diff --git a/script/Cargo.toml b/script/Cargo.toml
index 73043ccb3..ac3c05fbb ... | 5 | 49 | 62 |
de5a6ce486448d87312e0fd30542e1321f2c21c3 | James Gilbertson | 2015-05-06T17:41:09 | servo: Merge #5361 - Implement CSS Device Adaption Level 1 (from luniv:css-device-adapt); r=mbrubeck
Spec: http://dev.w3.org/csswg/css-device-adapt/
Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently ne... | diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml
index f035bc4ef..a16df45f0 100644
--- a/compositing/Cargo.toml
+++ b/compositing/Cargo.toml
@@ -28,6 +28,9 @@ path = "../profile_traits"
[dependencies.net_traits]
path = "../net_traits"
+[dependencies.style]
+path = "../style"
+
[dependencies.util]
path... | 17 | 694 | 71 |
f6b08cb64007f6f6c5f046fd3225f5ade308f361 | James Graham | 2015-05-06T15:34:44 | servo: Merge #5962 - Implement webdriver commands for back/forward/title/handles (from jgraham:webdriver_navigation); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 72c20d8491137a82160e5455c89ff1a42f3767a7 | diff --git a/msg/constellation_msg.rs b/msg/constellation_msg.rs
index 98743cdc6..4d9d2d19f 100644
--- a/msg/constellation_msg.rs
+++ b/msg/constellation_msg.rs
@@ -226,7 +226,7 @@ pub enum Msg {
ChangeRunningAnimationsState(PipelineId, AnimationState),
/// Requests that the constellation instruct layout to b... | 5 | 47 | 5 |
528aafcaee55f6064a2ccdd83d5f67e9706b8616 | Matt Brubeck | 2015-05-06T08:43:02 | servo: Merge #5953 - Replace `libc` feature with external `libc` crate (from mbrubeck:libc); r=jdm
r? @Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: b762758366928d15063ce661e75e9494d5720353 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index ac3a7c801..060328b59 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -11,6 +11,7 @@ dependencies = [
"gfx_tests 0.0.1",
"glutin_app 0.0.1",
"layout 0.0.1",
+ "libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"msg 0.0.1",
"net 0... | 4 | 4 | 2 |
976b74a61077bf55652bea395212ea84ebc5e95d | Anthony Ramine | 2015-05-06T06:31:26 | servo: Merge #5931 - Remove helpers that correspond to DOM methods (from nox:rm-helpers); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 16a7c792b564a6eab48391865a7060b8dba38284 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index b5750f4a3..cbb8b8dae 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -548,7 +548,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
let el = match ElementCast::to_ref(node.r()) {
Some(el) => Temporary::... | 8 | 227 | 331 |
84b5868f107b0784ccea82999942087262f99930 | Glenn Watson | 2015-05-05T23:11:32 | servo: Merge #5956 - Update glutin to get fix for x crash on exit (from glennw:up-glutin); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: c303e9dcd599cd6cb59fb6468a9be7fa18eab065 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index b71f516c3..ac3a7c801 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -433,7 +433,7 @@ dependencies = [
[[package]]
name = "glutin"
version = "0.0.26"
-source = "git+https://github.com/servo/glutin?branch=servo#c1af76550f311e3da7a08d393b4ea9805cb61a7b"
+s... | 1 | 1 | 1 |
15fbcd7b5024c51d35fe96cf78f4f1980c7d3a5a | Ms2ger | 2015-05-05T19:26:37 | servo: Merge #5952 - Various cleanup (from Ms2ger:cleanup); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: e779e8905ba530eddf6777dfb7565131cfcd1830 | diff --git a/layout/layout_debug.rs b/layout/layout_debug.rs
index 36a013161..e9e5c585e 100644
--- a/layout/layout_debug.rs
+++ b/layout/layout_debug.rs
@@ -6,7 +6,6 @@
//! that can be viewed by an external tool to make layout debugging easier.
#![macro_use]
-#![allow(unsafe_code)] // thread_local!() defines an uns... | 2 | 2 | 4 |
712c1452bc759b32850a687f412c4bd1cbde84b7 | Himaja | 2015-05-05T16:52:44 | servo: Merge #5947 - Extend the developer tools support (from jdm:devtools); r=jdm
Implement HTTP request/response notifications per https://github.com/servo/servo/wiki/More-developer-tools-student-project .
Rebased from #5920.
Source-Repo: https://github.com/servo/servo
Source-Revision: ab589da1f464ed00b0105bc45316... | diff --git a/devtools/Cargo.toml b/devtools/Cargo.toml
index 6503aa125..5fe447183 100644
--- a/devtools/Cargo.toml
+++ b/devtools/Cargo.toml
@@ -19,3 +19,5 @@ path = "../util"
[dependencies]
time = "*"
rustc-serialize = "0.3"
+url = "*"
+hyper = "*"
diff --git a/devtools/actors/network_event.rs b/devtools/actors/net... | 17 | 348 | 21 |
4b6f47333cebaa83c389bf143575cf5a75662a48 | Patrick Walton | 2015-05-04T18:37:24 | servo: Merge #5919 - layout: Fix a couple of issues relating to intrinsic widths of inline blocks (from pcwalton:inline-block-intrinsic-widths); r=mbrubeck
* Stop double-counting border and padding for inline-block fragments.
(Test case: `inline_block_border_intrinsic_size_a.html`.)
* Take clearance into account wh... | diff --git a/layout/block.rs b/layout/block.rs
index e61ad3104..b01a31804 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1465,8 +1465,8 @@ impl Flow for BlockFlow {
// Find the maximum inline-size from children.
let mut computation = self.fragment.compute_intrinsic_inline_sizes();
- l... | 3 | 19 | 8 |
9bbb7d92c9c9725aee44f1f4751800edf827a509 | Philip Munksgaard | 2015-05-04T13:42:43 | servo: Merge #5932 - Remove FIXME (from Munksgaard:fix-5930); r=Ms2ger
Following the (short) in #5930 it was decided that we should remove this
FIXME.
Fixes #5930
Source-Repo: https://github.com/servo/servo
Source-Revision: 2e4d2eb6a9fd135ee19475664a608789880f37b6 | diff --git a/script/script_task.rs b/script/script_task.rs
index e11db7135..24a91c65c 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -266,8 +266,6 @@ impl Drop for StackRootTLS {
/// Information for an entire page. Pages are top-level browsing contexts and can contain multiple
/// frames.
-///
-/... | 1 | 0 | 2 |
c8095c86eabdd96fa666b8f6f0b1e5c44cd43def | ecoal95 | 2015-05-04T00:59:08 | servo: Merge #5926 - Fix WebGL objects inheritance (from emilio:webgl-object-inheritance); r=jdm
Uses WebGLObject inheritance as specified by the WebGL 1.0 spec.
Source-Repo: https://github.com/servo/servo
Source-Revision: 72ca16ed555cac4aa3019411c7157251107efccc | diff --git a/script/dom/webglbuffer.rs b/script/dom/webglbuffer.rs
index e5535fa36..ee19ff7d5 100644
--- a/script/dom/webglbuffer.rs
+++ b/script/dom/webglbuffer.rs
@@ -6,18 +6,19 @@
use dom::bindings::codegen::Bindings::WebGLBufferBinding;
use dom::bindings::global::GlobalRef;
use dom::bindings::js::{Temporary, JSR... | 5 | 17 | 13 |
1aef482d82ab3cbe570c38ee4b313d70596c033e | Patrick Walton | 2015-05-01T23:01:03 | servo: Merge #5918 - layout: Use the border box, not the margin box, for placement of block formatting contexts (from pcwalton:block-formatting-context-float-placement); r=mbrubeck
Improves Amazon.
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: a346f95e6861e33244307783b6de35892178e8ad | diff --git a/layout/block.rs b/layout/block.rs
index 34945dc5a..e61ad3104 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1395,9 +1395,7 @@ impl BlockFlow {
}
let info = PlacementInfo {
- size: LogicalSize::new(self.fragment.style.writing_mode,
- s... | 1 | 1 | 3 |
235a0925be3438c66b1c282ed2a415abd6626d74 | Prabhjyot Singh Sodhi | 2015-05-01T21:33:58 | servo: Merge #5903 - TextEncoder::Constructor should not trim whitespaces or lowercase labels (from psdh:textencoder5900); r=Ms2ger
... #5900
Fixes #5900
Source-Repo: https://github.com/servo/servo
Source-Revision: ba8eaac3e42d6df447377203a1f92a65080a79b2 | diff --git a/script/dom/textencoder.rs b/script/dom/textencoder.rs
index 75d2badd9..545402dc4 100644
--- a/script/dom/textencoder.rs
+++ b/script/dom/textencoder.rs
@@ -14,7 +14,6 @@ use dom::bindings::utils::{Reflector, reflect_dom_object};
use util::str::DOMString;
use std::borrow::ToOwned;
-use std::ascii::Ascii... | 1 | 1 | 2 |
5e7eb542a4c9b3bc6789e8630ed27b7d6c9e9bc5 | Ms2ger | 2015-05-01T19:44:19 | servo: Merge #5916 - Prepare for the rustup (from servo:prepare-rustup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2f0b805fad2419518f0d80e90cf322fbd507a916 | diff --git a/gfx/buffer_map.rs b/gfx/buffer_map.rs
index 69b798b4e..cba6fa82b 100644
--- a/gfx/buffer_map.rs
+++ b/gfx/buffer_map.rs
@@ -109,7 +109,7 @@ impl BufferMap {
}
};
if {
- let list = &mut self.map[old_key].buffers;
+ let list = &mut self... | 13 | 66 | 57 |
9526fd24fe6de0d39a599ee5bd0c6fcab3e849cb | Glenn Watson | 2015-05-01T18:15:23 | servo: Merge #5913 - Various fixes to getClientBoundingRect() (from glennw:bounding-rect); r=pcwalton
* Fix queries involving stacking contexts
* The code was double accumulating stacking context origins.
* Handle queries of inline elements.
* The node addresses being compared were incorrect (CharacterData vs. Span)... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 75f6cde1e..b18a6bc05 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -64,7 +64,7 @@ pub static BLUR_INFLATION_FACTOR: i32 = 3;
/// Because the script task's GC does not trace layout, node data cannot be safely stored in layout
... | 11 | 131 | 102 |
7f15f682dedd7d22af4c8e2b2db8b0cd4f8f4ffa | Ms2ger | 2015-05-01T17:20:02 | servo: Merge #5906 - Require documentation in script_traits (from Ms2ger:s-t-docs); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 03d0303e6726fb4c23fa22461e2123633ef85b61 | diff --git a/script_traits/lib.rs b/script_traits/lib.rs
index 1fa6e8d32..93ab1e49d 100644
--- a/script_traits/lib.rs
+++ b/script_traits/lib.rs
@@ -2,6 +2,12 @@
* 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/. */
+//! This module con... | 1 | 23 | 6 |
714b73a00e439e7963948518ead49a273faf885f | Nicholas Nethercote | 2015-05-01T01:02:33 | servo: Merge #5912 - Add a `profile_traits` crate to reduce compile times (from nnethercote:profile_traits); r=Manishearth
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching co... | diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml
index fcc129e2c..c14652b16 100644
--- a/compositing/Cargo.toml
+++ b/compositing/Cargo.toml
@@ -22,8 +22,8 @@ path = "../msg"
[dependencies.net]
path = "../net"
-[dependencies.profile]
-path = "../profile"
+[dependencies.profile_traits]
+path = "../profil... | 34 | 254 | 213 |
48782ae9d8de6b580bae4c4858ab6c297141aa70 | Peter | 2015-04-30T17:22:03 | servo: Merge #5725 - added dispatching for mousedown and mouseup events, fixes #5705 (from pgonda:dispatch-mousedown-mouseup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 88ed4e58e16e1ccf2957e1838175b5195c5d7950 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 692c597d7..32f6a2362 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -220,8 +220,6 @@ pub trait DocumentHelpers<'a> {
fn title_changed(self);
fn send_title_to_compositor(self);
fn dirty_all_nodes(self);
- fn handle_... | 2 | 57 | 24 |
2f6c41cf73641be5b2eaf6def8fa9b208e798bb8 | Glenn Watson | 2015-04-30T01:03:38 | servo: Merge #5898 - Handle gzip decompression failure (encountered during jquery test suite work) without panic (from glennw:corrupt-gz); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 738f006afe36a06c8ed4f668904c76ba84e9f1af | diff --git a/net/http_loader.rs b/net/http_loader.rs
index 728435b31..bc2a74caf 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -331,8 +331,16 @@ reason: \"certificate verify failed\" }]";
match encoding_str {
Some(encoding) => {
if encoding == "gzip" {
- ... | 1 | 10 | 2 |
93fa615ddaa393307fd531cfe222e9b596900a00 | Prabhjyot Singh Sodhi | 2015-04-29T20:51:39 | servo: Merge #5895 - Uniformise the various Msg types [#5882] (from psdh:uniformiseMsgTypes); r=jdm
Fixes #5882
Source-Repo: https://github.com/servo/servo
Source-Revision: 19a4a263645a643d3a3f79b41b816fe8b8727265 | diff --git a/compositing/constellation.rs b/compositing/constellation.rs
index f1a7cd8c4..7ad95f89b 100644
--- a/compositing/constellation.rs
+++ b/compositing/constellation.rs
@@ -385,9 +385,9 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
debug!("constellation got g... | 9 | 37 | 37 |
eb267789e3759d0f45c81a2ad8d81d72e17db8c0 | Matt Brubeck | 2015-04-29T14:07:17 | servo: Merge #5891 - Support `text-align: start` and `end` (from mbrubeck:text-align-rtl); r=SimonSapin
r? @SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 7ee605db117bfc96ef145a1c77d43b704baeacb2 | diff --git a/layout/inline.rs b/layout/inline.rs
index e4f35b2f6..d2e48630e 100644
--- a/layout/inline.rs
+++ b/layout/inline.rs
@@ -895,10 +895,17 @@ impl InlineFlow {
let slack_inline_size = max(Au(0), line.green_zone.inline - line.bounds.size.inline);
// Compute the value we're going to use for `... | 2 | 14 | 7 |
57c9f12766e6e354477a06b356068db44d1bc7f9 | Jinwoo Song | 2015-04-29T07:35:26 | servo: Merge #5879 - Make NodeTypeId include CharacterData variant (from Jinwoo-Song:character_data); r=jdm
NodeTypeId is supposed to reflect the WebIDL inheritance hierarchy.
All of Text/ProcessingInstruction/Comment inherit from CharacterData,
which inherits from Node. There should be a CharacterDataTypeId value
tha... | diff --git a/layout/construct.rs b/layout/construct.rs
index 6c4537e8b..2365fe69e 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -47,6 +47,7 @@ use text::TextRunScanner;
use wrapper::{PostorderNodeMutTraversal, PseudoElementType, TLayoutNode, ThreadSafeLayoutNode};
use gfx::display_list::OpaqueNode;
... | 9 | 67 | 78 |
d8b083a99b25dbff2dd6aa3211808f0bead1efd7 | Patrick Walton | 2015-04-28T23:30:38 | servo: Merge #5889 - layout: Remove `absolute_static_i_offset` and `fixed_static_i_offset` (from pcwalton:remove-absolute-static-i-offset); r=glennw
They haven't been used for hypothetical box calculation in quite some
time.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 0a4db7ae0f581a959863... | diff --git a/layout/block.rs b/layout/block.rs
index eaa2e33f8..4c50adb3e 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1227,19 +1227,6 @@ impl BlockFlow {
let mut inline_end_floats_impact_child =
self.base.flags.contains(IMPACTED_BY_RIGHT_FLOATS);
- let absolute_static_i_offset ... | 2 | 0 | 26 |
0e97901c490dcaf7ac70c602e963f1031bd7c3e6 | Patrick Walton | 2015-04-28T20:32:31 | servo: Merge #5887 - layout: Don't panic in border collapse when a row has fewer cells than its previous sibling (from pcwalton:border-collapse-missing-cells); r=mbrubeck
This was seen in Twitter and the Google SERPs (sometimes).
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: b6fc83cf2b4b4... | diff --git a/layout/table.rs b/layout/table.rs
index 80edfa274..eeb11d4a2 100644
--- a/layout/table.rs
+++ b/layout/table.rs
@@ -760,7 +760,9 @@ fn perform_border_collapse_for_row(child_table_row: &mut TableRowFlow,
let next_block = next_block.push_or_mutate(i, *this_block_border);
match next_block_bo... | 1 | 3 | 1 |
36fa83b600fe28f67d5a05f182b3da7cfd01fadc | Matt Brubeck | 2015-04-28T18:53:59 | servo: Merge #5885 - Ignore border-spacing for tables with zero cells (from mbrubeck:empty-table); r=pcwalton
r? @pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: b5beebbc6280f5ff6397b6a9154b705d42d000e7 | diff --git a/layout/table.rs b/layout/table.rs
index 25d17d04b..80edfa274 100644
--- a/layout/table.rs
+++ b/layout/table.rs
@@ -202,6 +202,14 @@ impl TableFlow {
}
}
}
+
+ pub fn total_horizontal_spacing(&self) -> Au {
+ let num_columns = self.column_intrinsic_inline_sizes.len();
+... | 2 | 15 | 8 |
3e485f8a87304aaa0acde8cfcbe97bb469e53bf8 | Patrick Walton | 2015-04-28T16:44:39 | servo: Merge #5831 - layout: Make `margin: auto` work properly with tables (from pcwalton:amazon-table-sizing); r=mbrubeck
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 32b9c0962b7e42ac6d298f5959f1e48d4cc99c5a | diff --git a/layout/block.rs b/layout/block.rs
index 3879c627d..10bb2a055 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -622,51 +622,44 @@ impl BlockFlow {
/// Compute the actual inline size and position for this block.
pub fn compute_used_inline_size(&mut self,
la... | 6 | 237 | 115 |
068c2320efa6503e6f6f6901fd6610bfcee95307 | Glenn Watson | 2015-04-28T14:08:44 | servo: Merge #5877 - Remove node dirty on img width/height that is no longer needed (from glennw:img-cache-tidy); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: ae99a17a1b1b6e51317c9a22e66bc6c166815c3b | diff --git a/script/dom/htmlimageelement.rs b/script/dom/htmlimageelement.rs
index 62271ec8c..59c100465 100644
--- a/script/dom/htmlimageelement.rs
+++ b/script/dom/htmlimageelement.rs
@@ -186,14 +186,7 @@ impl<'a> HTMLImageElementMethods for JSRef<'a, HTMLImageElement> {
}
fn Width(self) -> u32 {
- ... | 1 | 0 | 14 |
135985c2d39b335037b0dacea756cc0f53fe3511 | Patrick Walton | 2015-04-28T12:13:53 | servo: Merge #5694 - layout: Generate anonymous table objects as necessary per CSS 2.1 § 17.2.1 (from pcwalton:anonymous-table-objects); r=mbrubeck
Improves Facebook Timeline.
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 2fd5ecf3d7b93addb42d42d46e440451043a2f43 | diff --git a/layout/construct.rs b/layout/construct.rs
index 8bac5dccb..f945e8bb5 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -302,6 +302,41 @@ impl<'a> FlowConstructor<'a> {
Fragment::new(node, specific_fragment_info)
}
+ /// Generates anonymous table objects per CSS 2.1 § 17.2.1.
... | 1 | 40 | 3 |
9e79f3612f9f242ecf409d7da6fcd192a24a3a30 | Patrick Walton | 2015-04-28T10:02:32 | servo: Merge #5878 - layout: Make the style-specified width affect minimum width (from pcwalton:intrinsic-style-specified-width); r=mbrubeck
Improves the front page of Google.
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: adec683333895a5112d3d8295fa01a6b06ff38ad | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 16ff6a6d3..c7e1cd1ed 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -963,20 +963,19 @@ impl Fragment {
fn style_specified_intrinsic_inline_size(&self) -> IntrinsicISizesContribution {
let flags = self.quantities_included_in_intrinsic_... | 1 | 7 | 8 |
22cf68adefdb02ce832e40a0fa91a0528fe67b36 | Ms2ger | 2015-04-28T08:24:14 | servo: Merge #5857 - Create a new infrastructure for presentational hints (from Ms2ger:preshints); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 1cb012fc5043dd978d118e49b2f76e9320090bba | diff --git a/layout/css/matching.rs b/layout/css/matching.rs
index e79982130..b29ea3cad 100644
--- a/layout/css/matching.rs
+++ b/layout/css/matching.rs
@@ -27,13 +27,14 @@ use std::slice::Iter;
use std::sync::Arc;
use std::sync::mpsc::Sender;
use string_cache::{Atom, Namespace};
-use style::node::{TElement, TNode};... | 6 | 115 | 108 |
456f8b833b3bb8d10380806e18ed372565bc9ecf | Peter | 2015-04-27T20:25:30 | servo: Merge #5692 - Switched Element::Get_attributes to use a RootedVec (from pgonda:get_attributes-memory-safety); r=jdm
Changes Element::get_attributes to use a `&mut Rooted<JS<Attr>>` param instead of returning a `Vec<Temporary<Attr>>`, fixes #5684.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8e... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 6aa90f0f9..9f3f29379 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -665,8 +665,7 @@ pub trait AttributeHandlers {
/// Returns the first attribute with any namespace and given case-sensitive
/// name, if any.
fn get_attri... | 2 | 15 | 15 |
51593f545aaf71de6b5adb4f3de32915efe3db30 | Ms2ger | 2015-04-27T19:37:38 | servo: Merge #5777 - Make Attr::prefix an Atom (from tamird:ICE-attr-prefix-atom); r=jdm
Rebase of https://github.com/Ms2ger/servo/commits/ICE-attr-prefix-atom
Some of the changes weren't necessary since the internals had been refactored some in the interim. In any case, I was unable to reproduce the ICE reported in ... | diff --git a/script/dom/attr.rs b/script/dom/attr.rs
index c25c9d4d6..d9fba6439 100644
--- a/script/dom/attr.rs
+++ b/script/dom/attr.rs
@@ -101,7 +101,7 @@ pub struct Attr {
value: DOMRefCell<AttrValue>,
name: Atom,
namespace: Namespace,
- prefix: Option<DOMString>,
+ prefix: Option<Atom>,
... | 5 | 20 | 22 |
9a2e6ca82366ca1048e54f24512ae99901e35d78 | Tim Cuthbertson | 2015-04-27T13:05:25 | servo: Merge #5865 - Implement implicit form submission from input elements (from timbertson:implicit-submit); r=Manishearth
With submission-blocking rules from https://html.spec.whatwg.org/multipage/forms.html#implicit-submission.
I wasn't sure if/where it would be relevant to add new tests (I couldn't find any exis... | diff --git a/script/dom/htmlinputelement.rs b/script/dom/htmlinputelement.rs
index 56596a181..c68e70f3f 100644
--- a/script/dom/htmlinputelement.rs
+++ b/script/dom/htmlinputelement.rs
@@ -8,6 +8,7 @@ use dom::attr::AttrHelpers;
use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::AttrBinding::A... | 1 | 54 | 6 |
b02e9af114841b96c2fe6e8ae143941f7757e9f4 | Ms2ger | 2015-04-27T12:28:33 | servo: Merge #5867 - Factor out a handle_parsing_complete function from ScriptTask::Load (from Ms2ger:load-end); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0cd0abb7186c4a67458f5b3af825502a6709a21c | diff --git a/script/script_task.rs b/script/script_task.rs
index 6de727451..f1f469212 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -1164,40 +1164,7 @@ impl ScriptTask {
};
parse_html(document.r(), parse_input, &final_url, None);
-
- document.r().set_ready_state(DocumentRe... | 1 | 46 | 34 |
d778b8c2702dbef7a50ea8ca5209743ef4bb0ce1 | Anthony Ramine | 2015-04-27T08:50:08 | servo: Merge #5862 - Change MutNullableJS<T> to MutNullableHeap<JS<T>> (from nox:mutnullableheap); r=jdm
This is useful for union types, in cases where we need MutNullableHeap<NodeOrString>.
Source-Repo: https://github.com/servo/servo
Source-Revision: b0ddd8149b04db6bceba0c0b8de852acc1086838 | diff --git a/script/dom/attr.rs b/script/dom/attr.rs
index 1387131e0..c25c9d4d6 100644
--- a/script/dom/attr.rs
+++ b/script/dom/attr.rs
@@ -6,7 +6,7 @@ use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::AttrBinding::{self, AttrMethods};
use dom::bindings::codegen::InheritTypes::NodeCast;
use... | 18 | 172 | 169 |
1ba262bd5e9e8b27ec7c16c4ccbf770a15c1e150 | Brandon DeRosier | 2015-04-27T03:13:30 | servo: Merge #5424 - Add Accept header to HTTP loader (from bdero:bdero/accept-header); r=jdm
The value of the header is: `text/html;q=0.9,*/*;q=0.8`
Closes #5399
Source-Repo: https://github.com/servo/servo
Source-Revision: 21c38d0de8e82e29d187929535a73bfd297538b8 | diff --git a/net/http_loader.rs b/net/http_loader.rs
index 5081d9f8d..728435b31 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -12,7 +12,7 @@ use std::collections::HashSet;
use file_loader;
use flate2::read::{DeflateDecoder, GzDecoder};
use hyper::client::Request;
-use hyper::header::{AcceptEncoding, Co... | 1 | 11 | 1 |
56915bf3296a66a6877e6ca380277d686d7336c3 | Jacob Taylor-Hindle | 2015-04-27T00:00:06 | servo: Merge #5860 - Remove #[jstraceable] annotation for the RootedVec type [Issue #5849] (from GlassAndOneHalf:remove-jstraceable); r=jdm
This PR solves Issue #5849.
Source-Repo: https://github.com/servo/servo
Source-Revision: ea00e949a45ca2e8842882b1b8a6ad7970890c00 | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index d3de04ca5..05ee1f09a 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -401,7 +401,6 @@ impl VecRootableType for *mut JSObject {
/// A vector of items that are rooted for the lifetime
/// of this struct
#[all... | 1 | 0 | 1 |
b786a0a90afe7f3284d34ca4c46fa86216dedb10 | Peter | 2015-04-26T07:53:45 | servo: Merge #5844 - Removed unessary poping in dispatch_event, fixes #5843 (from pgonda:removing-poping-dispatch_event); r=Ms2ger
fixes for #5843
Source-Repo: https://github.com/servo/servo
Source-Revision: aef48baeb4a67d003c8a88d91d01d3a33ac3620d | diff --git a/script/dom/eventdispatcher.rs b/script/dom/eventdispatcher.rs
index e4faed47f..1ec656b34 100644
--- a/script/dom/eventdispatcher.rs
+++ b/script/dom/eventdispatcher.rs
@@ -128,12 +128,6 @@ pub fn dispatch_event<'a, 'b>(target: JSRef<'a, EventTarget>,
None => {}
}
- // Root ordering restr... | 1 | 0 | 6 |
570a163a5161231681378f4035837451cc95be89 | Ms2ger | 2015-04-25T13:59:26 | servo: Merge #5840 - Replace the Str implementation for AttrValue by a Deref implementation (from Ms2ger:attrvalue-slice); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: b22a6c8095f03fda6e8901dea768af18d474fb31 | diff --git a/script/dom/attr.rs b/script/dom/attr.rs
index 55ad525bb..536600e5f 100644
--- a/script/dom/attr.rs
+++ b/script/dom/attr.rs
@@ -23,6 +23,7 @@ use string_cache::{Atom, Namespace};
use std::borrow::ToOwned;
use std::cell::Ref;
use std::mem;
+use std::ops::Deref;
pub enum AttrSettingType {
FirstSet... | 16 | 52 | 43 |
821e085eedb760ea163634d81c61450b66a3860d | Patrick Walton | 2015-04-25T01:06:41 | servo: Merge #5836 - style: Disregard the `size` attribute for input elements other than text or password fields (from pcwalton:input-size); r=mbrubeck
HTML5 § 4.10.5.3.2 doesn't explicitly say to do this, but all other
browser engines seem to do it.
Improves the Google home page.
r? @mbrubeck
Source-Repo: https://... | diff --git a/style/legacy.rs b/style/legacy.rs
index 7ddee2f8a..2ce112a2f 100644
--- a/style/legacy.rs
+++ b/style/legacy.rs
@@ -167,25 +167,23 @@ impl PresentationalHintSynthesis for Stylist {
shareable);
}
name if *name == atom!("input") => {
- match eleme... | 1 | 15 | 17 |
4d6d04add84e35c5f94b50117e235c7762d581d5 | Patrick Walton | 2015-04-24T20:17:07 | servo: Merge #5816 - layout: Don't strip trailing newlines from fragments, since we use their presence to determine the line flush mode (from pcwalton:more-jumpiness); r=mbrubeck
Fixes the "jumpiness" seen on the Google home page, Wikipedia, and many
other places.
r? @mbrubeck
Source-Repo: https://github.com/servo/s... | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 3d683bed0..69fc424d8 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -598,17 +598,26 @@ pub struct ScannedTextFragmentInfo {
/// so that we can restore the range to its original value (before line breaking occurred) when
/// performing inc... | 2 | 41 | 13 |
577e05701b348fcd465a40fbcd1795aa9226e966 | Ms2ger | 2015-04-24T17:12:53 | servo: Merge #5827 - Use as_slice less (from Ms2ger:slice); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 79be3b967668e46a4289f4fc8fce2b4f457cab23 | diff --git a/gfx/buffer_map.rs b/gfx/buffer_map.rs
index 01070851d..e0cf4d226 100644
--- a/gfx/buffer_map.rs
+++ b/gfx/buffer_map.rs
@@ -32,7 +32,7 @@ struct BufferKey([usize; 2]);
impl Hash for BufferKey {
fn hash<H: Hasher>(&self, state: &mut H) {
let BufferKey(ref bytes) = *self;
- bytes.as_sli... | 35 | 84 | 84 |
ab5d19f3728c0f77945b513ce818742e15651fc4 | Adenilson Cavalcanti | 2015-04-24T12:44:51 | servo: Merge #5817 - Squashing a warning on WebDriver (from Adenilson:squashWarning); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 471ce46f57bd905034c856d0136ef31047eba69c | diff --git a/webdriver_server/lib.rs b/webdriver_server/lib.rs
index d1d57608f..afd40fb94 100644
--- a/webdriver_server/lib.rs
+++ b/webdriver_server/lib.rs
@@ -124,7 +124,6 @@ impl Handler {
let pipeline_id = self.get_root_pipeline();
let func_body = ¶meters.script;
- let args = ¶met... | 1 | 0 | 1 |
23d9040539ec6244990b00a0d060e200819257f7 | Jinwoo Song | 2015-04-24T03:50:32 | servo: Merge #5818 - Remove unused ScriptDevtoolControlMsg enum (from Jinwoo-Song:removeUnused); r=mbrubeck
Simple patch to remove unused enum, ScriptDevtoolControlMsg.
r? @jdm
cc @yichoi
Source-Repo: https://github.com/servo/servo
Source-Revision: ef1e50aa770e48018ae32ea5f6f2c0ad2056ad44 | diff --git a/devtools_traits/lib.rs b/devtools_traits/lib.rs
index c77fb34c6..659c6983e 100644
--- a/devtools_traits/lib.rs
+++ b/devtools_traits/lib.rs
@@ -119,13 +119,6 @@ pub enum DevtoolScriptControlMsg {
DropTimelineMarkers(PipelineId, Vec<TimelineMarkerType>),
}
-/// Messages to instruct devtools server t... | 1 | 0 | 7 |
36d38fdf84b2ab00371688c4d3725d300570b045 | Adenilson Cavalcanti | 2015-04-23T19:38:05 | servo: Merge #5782 - Fix inline filtered elements (from Adenilson:fixInlineFiltered01); r=pcwalton
It will create a StackingContext for inline elements that may need it, I'm looking for feedback on this.
Not for commit, as there are some tests failing.
Source-Repo: https://github.com/servo/servo
Source-Revision: e66... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index a1074a0a2..153afb61e 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -230,6 +230,14 @@ pub trait FragmentDisplayListBuilding {
display_list: &mut Disp... | 1 | 75 | 70 |
5efaba101da43c26e1f973bc14d94ec758a810e7 | James Graham | 2015-04-23T18:41:11 | servo: Merge #5808 - Add script execution support via WebDriver (from jgraham:webdriver_execute_script); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 38ac11d0b8ae4244f49b59a6321a1a570ea01e03 | diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml
index 37035dec2..fcc129e2c 100644
--- a/compositing/Cargo.toml
+++ b/compositing/Cargo.toml
@@ -31,8 +31,8 @@ path = "../net_traits"
[dependencies.util]
path = "../util"
-[dependencies.webdriver_server]
-path = "../webdriver_server"
+[dependencies.webdriv... | 17 | 197 | 14 |
eca2ee3f4252e8a514ddfdaf5db1ebaae58c35ef | Patrick Walton | 2015-04-23T01:23:17 | servo: Merge #5805 - layout: Take the `white-space` property into account when computing intrinsic sizes of inline flows (from pcwalton:whitespace-effect-on-minimum-inline-sizes); r=glennw
Improves Amazon.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 68f03c9dbbc42765ebb4ce6bef959fb23438ac7... | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 168bcb2c8..ce0defe25 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -16,8 +16,7 @@ use flow_ref::FlowRef;
use incremental::{self, RestyleDamage};
use inline::{InlineFragmentContext, InlineMetrics};
use layout_debug;
-use model::{IntrinsicISizes,... | 3 | 58 | 7 |
3625fcc0ef7cf277cd443526f9eb6fe99c45b305 | Mátyás Mustoha | 2015-04-23T00:49:30 | servo: Merge #5802 - Fix some irregular indentation (from mmatyas:indentfix); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 43d666f94b9b1b8313d430785946b8d3e020fecf | diff --git a/net/mime_classifier.rs b/net/mime_classifier.rs
index fabfdae9e..7d792cfb6 100644
--- a/net/mime_classifier.rs
+++ b/net/mime_classifier.rs
@@ -6,13 +6,13 @@ use std::borrow::ToOwned;
use std::cmp::max;
pub struct MIMEClassifier {
- image_classifier: GroupedClassifier,
- audio_video_classifer: Grou... | 4 | 28 | 28 |
a0f2e580c17c43b967d56b30cb307408efed747a | Adenilson Cavalcanti | 2015-04-22T22:04:41 | servo: Merge #5787 - Using helper color function (less verbose and clearer to understand) (from Adenilson:colorWhite01); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: f9a50c9be0ea8d941c0065ff23758fd460cc5eaa | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 7ddfd045b..8e42eb7a9 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -548,7 +548,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
epoch: Epoch(0),
id: LayerId::null(),
rect: R... | 5 | 7 | 7 |
1c75ea63f3a6ee502b56c7dd9630647ae49e33cd | nithin murali | 2015-04-22T18:01:32 | servo: Merge #5781 - Implement child reparenting and node removal during parsing (from jdm:reparent); r=Ms2ger
Fixes html5test.com.
r? @Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 9ae3cad31e6c0567afc909651ab1bcd1dc89d320 | diff --git a/script/parse/html.rs b/script/parse/html.rs
index 1424c7218..735018093 100644
--- a/script/parse/html.rs
+++ b/script/parse/html.rs
@@ -166,8 +166,11 @@ impl<'a> TreeSink for servohtmlparser::Sink {
}
}
- fn remove_from_parent(&mut self, _target: JS<Node>) {
- error!("remove_from_... | 1 | 14 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.