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 |
|---|---|---|---|---|---|---|---|
a5c0101fcc4da661fda0cdde23c51ad6e8eea4f8 | Corey Farwell | 2015-11-07T13:37:51 | servo: Merge #8249 - 'type' attribute on HTMLInputElement should be stored as an Atom (from servo:htmlinputelement-type-atom); r=nox
Fixes #8180
Source-Repo: https://github.com/servo/servo
Source-Revision: 7ace7bc09087b6bfa817047640ba15df997b4a91 | diff --git a/script/dom/htmlelement.rs b/script/dom/htmlelement.rs
index 84198d29d..ffb31eca1 100644
--- a/script/dom/htmlelement.rs
+++ b/script/dom/htmlelement.rs
@@ -345,7 +345,7 @@ impl HTMLElement {
NodeTypeId::Element(ElementTypeId::HTMLElement(type_id)) =>
match type_id {
... | 3 | 30 | 23 |
9d6d4372e80ee34b381daa9aff3cbd6a70e85824 | Ms2ger | 2015-11-07T10:49:43 | servo: Merge #8382 - Remove the unsafe Sync implementation for SharedLayoutContext (from Ms2ger:SharedLayoutContext-sync); r=eefriedman
Source-Repo: https://github.com/servo/servo
Source-Revision: 36cd1866086c97d6612289c9fd10f559d23304cf | diff --git a/layout/animation.rs b/layout/animation.rs
index 27bf118bf..7b58e4356 100644
--- a/layout/animation.rs
+++ b/layout/animation.rs
@@ -14,14 +14,14 @@ use script::layout_interface::Animation;
use script_traits::ConstellationControlMsg;
use std::collections::HashMap;
use std::collections::hash_map::Entry;
-... | 7 | 33 | 51 |
2e810ffc406ebbcceb97d2c6793613ce25b2c9ae | Michael Howell | 2015-11-07T08:43:42 | servo: Merge #8296 - Prepend, rather than append, SVG title elements (from notriddle:svg_title_prepend); r=nox
Fixes #8164
Source-Repo: https://github.com/servo/servo
Source-Revision: 3c794d0076d9f68754865c1fdaa7d2e6055bc777 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 508059515..a7267ca00 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -1740,8 +1740,10 @@ impl DocumentMethods for Document {
let name = QualName::new(ns!(SVG), atom!("title"));
let elem = Ele... | 1 | 4 | 2 |
d1aeddbe355f894a0ef0d8113f64246d0a2c0f19 | Ulysse Carion | 2015-11-07T05:37:21 | servo: Merge #8388 - Use Result::ok in CompositorReceiver (from ucarion:ucarion-8386); r=frewsxcv
Fixes #8386
Source-Repo: https://github.com/servo/servo
Source-Revision: de2d14c971e21e8d8107b8ae5669408bee06f87b | diff --git a/compositing/compositor_task.rs b/compositing/compositor_task.rs
index b9d73c6b2..fe8d82e26 100644
--- a/compositing/compositor_task.rs
+++ b/compositing/compositor_task.rs
@@ -48,10 +48,7 @@ pub trait CompositorReceiver : 'static {
/// A convenience implementation of `CompositorReceiver` for a plain old R... | 1 | 1 | 4 |
6ff75016408b757b623a5b4a881df3dc80ab677c | Corey Farwell | 2015-11-07T05:03:32 | servo: Merge #8385 - Use more iterators in compositing component (from frewsxcv:compositing-iterators); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 3510cec3e511fb1dacf7b68e5a08bb64b221fc43 | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 720ded6ad..f92bb55c5 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -2031,13 +2031,11 @@ impl<Window: WindowMethods> IOCompositor<Window> {
}
}
- pub fn cache_unused_buffers(&mut self, buffers: Vec<Box... | 2 | 8 | 8 |
0e3da0bb9c90409dac88c7a702414d2020d57c8c | Bobby Holley | 2015-11-07T04:23:19 | servo: Merge #8341 - Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets (from bholley:state_hint_selector_ordering); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 65c3185b202b8dd57a39e1d84872d7528723b191 | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index ec5bd2c07..b72bdbb23 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -323,10 +323,18 @@ fn add_font_face_rules(stylesheet: &Stylesheet,
outstanding_web_fonts_counter: &Arc<AtomicUsize>) {
for font_face in sty... | 7 | 56 | 48 |
bdfa1bad3120ee9acaf28c79b9bfbd3dff8c9a4a | Ms2ger | 2015-11-07T02:41:19 | servo: Merge #8370 - Update js (from Ms2ger:update-js); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 8c0f0a22d2a574027c35272dba76ab9713e39652 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 9cf20c4fe..89c9b02d0 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -935,8 +935,8 @@ dependencies = [
[[package]]
name = "js"
-version = "0.1.0"
-source = "git+https://github.com/servo/rust-mozjs#8fabaf877224fdd7a33286c5de2a99189aae5524"
+version = "0.... | 1 | 4 | 4 |
920e0037152a246408ab871577b86c2f4d0640ca | Benjamin Herr | 2015-11-06T22:33:35 | servo: Merge #8359 - Append query string + fragment to javascript: url (from ben0x539:js-url-query-fragment); r=eefriedman
When loading a URL whose scheme is javascript, we should do what
https://html.spec.whatwg.org/multipage/browsers.html#javascript-protocol
says and append the URL's query and fragment components to... | diff --git a/script/script_task.rs b/script/script_task.rs
index dda6faaa8..773d43448 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -1671,10 +1671,32 @@ impl ScriptTask {
let is_javascript = incomplete.url.scheme == "javascript";
let parse_input = if is_javascript {
+ ... | 1 | 24 | 2 |
807e6a2d9ab9ddccff8cdb0b36ceb1373a374de6 | Ms2ger | 2015-11-06T21:33:44 | servo: Merge #8330 - Remove unused LayoutTaskData::screen_size (from Ms2ger:rm-screen_size); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: a0221b91268307b1c2690241a4d24816471c915e | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index d4931848f..ec5bd2c07 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -109,9 +109,6 @@ pub struct LayoutTaskData {
/// The channel on which messages can be sent to the constellation.
pub constellation_chan: ConstellationChan,
... | 1 | 1 | 7 |
798ad2c2d025223459934046834b8cb5233b7ffe | Alan Jeffrey | 2015-11-06T20:34:28 | servo: Merge #8315 - Dirty parent when removng a child node (from asajeffrey:remove_child_dirty_parent); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: c54558d5ef0ffbe7892ad1ba0c66bec6b0886fe1 | diff --git a/script/dom/node.rs b/script/dom/node.rs
index bd3e51a7e..d3eb716d0 100644
--- a/script/dom/node.rs
+++ b/script/dom/node.rs
@@ -325,8 +325,8 @@ impl Node {
node.layout_data.dispose(&node);
}
- let document = child.owner_doc();
- document.content_and_heritage_changed(ch... | 1 | 2 | 2 |
10c3fbbd4974c883ce634015414cffd64ba5fb78 | David Zbarsky | 2015-11-06T20:01:40 | servo: Merge #8304 - Cleanup some unneeded let bindings (from dzbarsky:borrowck); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 69e6eb4d91ab1bd8f363ee7425e4f921ca006a1e | diff --git a/script/dom/keyboardevent.rs b/script/dom/keyboardevent.rs
index c7f91ccce..e5804dcd6 100644
--- a/script/dom/keyboardevent.rs
+++ b/script/dom/keyboardevent.rs
@@ -85,19 +85,15 @@ impl KeyboardEvent {
let ev = KeyboardEvent::new_uninitialized(window);
ev.InitKeyboardEvent(type_, canBubble... | 3 | 11 | 19 |
17749833afb9db9c2a7053c1df65932f328cd072 | Maciej Skrzypkowski | 2015-11-06T18:52:59 | servo: Merge #7696 - Draft. Change PaintContext rects to TypedRects #7023 (from mskrzypkows:PaintContext_Units); r=mbrubeck
I created draft. I'm not sure if we need any units conversion in PaintContext. There is also strange 'clear' method, we use PagePx origin and ScreenPx size is it OK?
Source-Repo: https://github.... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 7273c73d2..3f03ecf88 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -705,9 +705,9 @@ impl StackingContext {
inverse_transform.m21, inverse_transform.m22,
... | 3 | 46 | 43 |
5673f4a5c53b06135dcea3178a91588bab5c3e6f | Josh Matthews | 2015-11-06T18:06:57 | servo: Merge #8138 - Implement cancellable runnables, and make image load events cancellab… (from jdm:createelementintermittent); r=nox
…le. Resolves #7731.
Source-Repo: https://github.com/servo/servo
Source-Revision: 4113302c262dc4fedb67a6d6d68284f14fe9b9bc | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index df5c84d37..48f6ed390 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -79,6 +79,7 @@ use std::mem;
use std::ops::{Deref, DerefMut};
use std::rc::Rc;
use std::sync::Arc;
+use std::sync::atomic::AtomicBool;
u... | 4 | 62 | 8 |
87202c01c47dbc6f5a0e2c0342ea4d68a23a393b | Josh Matthews | 2015-11-06T00:54:59 | servo: Merge #8326 - Send mouse move events to the the previous layer when directing event… (from jdm:iframehover); r=glennw
…s to a new one for the first time. Resolves #7865.
Source-Repo: https://github.com/servo/servo
Source-Revision: 4067960ba5d309ec6c4c6aef6e7aa231aca0e5d5 | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index a0cc3059b..720ded6ad 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -35,7 +35,7 @@ use msg::constellation_msg::{NavigationDirection, PipelineId, WindowSizeData};
use pipeline::CompositionPipeline;
use profile_traits::m... | 4 | 41 | 12 |
20c57896b701dccc92bb25750167458dd6092e81 | Martin Robinson | 2015-11-06T00:06:35 | servo: Merge #8337 - Remove DisplayListBuildingResult (from mrobinson:remove-display-list-result); r=pcwalton
Always produce a DisplayList when processing nodes for display list
construction. StackingContexts are now added to the positioned content
section of DisplayLists. This makes the code a bit simpler and opens u... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index d69353e1f..7273c73d2 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -164,18 +164,30 @@ impl DisplayList {
}
}
+
+ /// Creates a new display list which contains a single stacking context.
+ #[inline]
+ pu... | 4 | 50 | 70 |
ae98911b264b4e631a84d66e210e6fe68009b58c | Josh Matthews | 2015-11-05T21:22:33 | servo: Merge #8367 - Force constellation logging when running particularly frustrating tes… (from jdm:investigation2); r=metajack
…ts on the build machines. Continuation of investigation for #7787.
Source-Repo: https://github.com/servo/servo
Source-Revision: fb3ba97f05d92f7a1b0ebeec1f0a77b75d4a9120 | diff --git a/servo/main.rs b/servo/main.rs
index e78bd2b31..45a64d747 100644
--- a/servo/main.rs
+++ b/servo/main.rs
@@ -51,11 +51,15 @@ fn load_gl_when_headless() {
fn load_gl_when_headless() {}
fn main() {
- env_logger::init().unwrap();
-
// Parse the command line options and store them globally
opts... | 1 | 6 | 2 |
9783892b8ba9e140db42e0ed08a1ed69afa453b3 | Matt Brubeck | 2015-11-05T18:29:04 | servo: Merge #8357 - Upgrade to latest glutin (from mbrubeck:glutinup); r=metajack
Includes servo/glutin#52 and servo/glutin#53.
r? @glennw cc @vvuk
Source-Repo: https://github.com/servo/servo
Source-Revision: 65a0bb4aefad7b1cfcce2f5d1f01b081483001e8 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 23b492750..71f72c8f7 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -722,8 +722,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "glutin"
-version = "0.4.0"
-source = "git+https://github.com/servo/glutin?branch=s... | 2 | 5 | 5 |
2a8d7b640baf13ac9fdbbb9f8a435e4f274cbdba | Abhishek Kumar | 2015-11-05T17:31:48 | servo: Merge #8216 - M1502: Improve HTTP monitoring devtool support (from akumar21NCSU:master); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 45f07ec320b77ef8fa6511c9dc12598bc5d0f5e0 | diff --git a/devtools_traits/lib.rs b/devtools_traits/lib.rs
index eb062eb9d..83d317840 100644
--- a/devtools_traits/lib.rs
+++ b/devtools_traits/lib.rs
@@ -264,6 +264,7 @@ pub struct HttpRequest {
pub method: Method,
pub headers: Headers,
pub body: Option<Vec<u8>>,
+ pub pipeline_id: PipelineId,
}
... | 10 | 39 | 31 |
39fc90a2bfc9df82cdcaa473cc0b7ee3add330d3 | Benjamin Herr | 2015-11-05T15:14:07 | servo: Merge #8353 - Make desktop UA string depend on build target (from ben0x539:linux-ua); r=larsbergstrom
This implements #7158 by conditionally choosing a UA string by
`#[cfg()]`-checking for `target_os = linux` and whether `target_arch` is
`x86_64` or not. Matching the behavior of Firefox, either "X11; Linux
x86_... | diff --git a/util/opts.rs b/util/opts.rs
index fb68c2496..1aa7f7f57 100644
--- a/util/opts.rs
+++ b/util/opts.rs
@@ -373,9 +373,29 @@ enum UserAgent {
}
fn default_user_agent_string(agent: UserAgent) -> String {
+ #[cfg(all(target_os = "linux", target_arch = "x86_64"))]
+ const DESKTOP_UA_STRING: &'static str... | 1 | 21 | 1 |
a4f198520414544043d7b0e316d27563edf63538 | Ms2ger | 2015-11-05T13:26:26 | servo: Merge #8327 - Remove unused argument from TableLikeFlow::assign_block_size_for_table_like_flow (from Ms2ger:unused-arg); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: e2385c8c0eb555e0ea7caa9c61229432aa25c9b1 | diff --git a/layout/table.rs b/layout/table.rs
index 24cb0618f..c6785d523 100644
--- a/layout/table.rs
+++ b/layout/table.rs
@@ -494,10 +494,10 @@ impl Flow for TableFlow {
})
}
- fn assign_block_size<'a>(&mut self, layout_context: &'a LayoutContext<'a>) {
+ fn assign_block_size<'a>(&mut self, _: ... | 2 | 6 | 11 |
9cc6e8089efbf7877e5df8f43bfdf5166b83f5ce | Ms2ger | 2015-11-05T11:51:09 | servo: Merge #8346 - Cleanup WebSocket::Send_Impl (from Ms2ger:send_impl); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e3484315ddb2c6f4efeec50ef5b5abc2b411601c | diff --git a/script/dom/websocket.rs b/script/dom/websocket.rs
index 8e3cbc993..c0ad9e3d2 100644
--- a/script/dom/websocket.rs
+++ b/script/dom/websocket.rs
@@ -296,18 +296,13 @@ impl WebSocket {
// https://html.spec.whatwg.org/multipage/#dom-websocket-send
fn Send_Impl(&self, data_byte_len: u64) -> Fallibl... | 1 | 7 | 14 |
16e9a35ad3d95df0422da999f7751f37f3835207 | Ms2ger | 2015-11-05T09:50:24 | servo: Merge #8344 - Silence unused code warnings (from Ms2ger:warnings); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b030c5177444a5274b1c329802ae9d998cf5df9 | diff --git a/script/parse/xml.rs b/script/parse/xml.rs
index c741fd033..907c1600f 100644
--- a/script/parse/xml.rs
+++ b/script/parse/xml.rs
@@ -13,8 +13,8 @@ pub enum ParseContext {
}
-pub fn parse_xml(document: &Document,
- input: DOMString,
- url: Url,
- context: ... | 1 | 4 | 4 |
7d275e66a49000a172ef40e38c747b0e19a2b96c | Eli Friedman | 2015-11-05T04:18:55 | servo: Merge #8336 - Remove HTMLTableCellElement fields with parsed attribute values (from eefriedman:tablecell-attributes); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 0d15101323b67e06f06451e22b64b15398269d0f | diff --git a/script/dom/attr.rs b/script/dom/attr.rs
index 024522acf..856fb90aa 100644
--- a/script/dom/attr.rs
+++ b/script/dom/attr.rs
@@ -21,7 +21,8 @@ use std::mem;
use std::ops::Deref;
use string_cache::{Atom, Namespace};
use style::values::specified::Length;
-use util::str::{DOMString, parse_unsigned_integer, ... | 3 | 17 | 23 |
a68a6390067521fcabf068013f41561e0afb6119 | Martin Robinson | 2015-11-05T01:34:11 | servo: Merge #8334 - Eliminate LAYERS_NEEDED_FOR_DESCENDANTS flag (from mrobinson:eliminate-layers-needed); r=pcwalton
This flag is no longer necessary, because stacking contexts can now
create layers lazily for content that needs to be stacked above a
layer. This should reduce the number of layers on pages, hopefully... | diff --git a/layout/block.rs b/layout/block.rs
index c4e7a371d..32413de69 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -39,8 +39,7 @@ use flow::{HAS_LEFT_FLOATED_DESCENDANTS, HAS_RIGHT_FLOATED_DESCENDANTS};
use flow::{IMPACTED_BY_LEFT_FLOATS, IMPACTED_BY_RIGHT_FLOATS, INLINE_POSITION_IS_STATIC};
use flow::{I... | 3 | 3 | 56 |
917c0cbebc3b67c9060b48e0d2492e00c4910445 | Ms2ger | 2015-11-05T00:55:54 | servo: Merge #8332 - Remove obsolete comment (fixes #8209) (from Ms2ger:8209-comment); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 1dc144d1687cc6d89b29be859454e7ef73fb341d | diff --git a/script/dom/window.rs b/script/dom/window.rs
index b7cec975b..9682b89cb 100644
--- a/script/dom/window.rs
+++ b/script/dom/window.rs
@@ -919,9 +919,6 @@ impl Window {
debug!("script: layout forked");
- // FIXME(cgaebel): this is racey. What if the compositor triggers a
- // reflow... | 1 | 0 | 3 |
e40af1048fa2fecbe8a0e3ac1db9e4347494a9f5 | Josh Matthews | 2015-11-04T22:38:30 | servo: Merge #8314 - Investigations for #7787 (from jdm:timeoutinvestigations); r=metajack
I'm just going to keep throwing stuff at try, because running directly on the builders isn't yielding results.
Source-Repo: https://github.com/servo/servo
Source-Revision: c78da15abbffd223290300b6b985d65cd6f03d08 | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index e8576e70e..a0cc3059b 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -55,6 +55,24 @@ use util::opts;
use util::print_tree::PrintTree;
use windowing::{self, MouseWindowEvent, WindowEvent, WindowMethods, WindowNavigateMsg... | 3 | 93 | 26 |
9a53531e5fe7ea0224d0cd6bec01a488b6b1312c | Eli Friedman | 2015-11-04T21:51:04 | servo: Merge #8318 - Remove dead load_sync function (from eefriedman:dead-sync-load); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 50e0c36eeb8cd52b90dba24b5b3692abc25d8d4d | diff --git a/script/document_loader.rs b/script/document_loader.rs
index 2cfa9096d..c9241956b 100644
--- a/script/document_loader.rs
+++ b/script/document_loader.rs
@@ -7,7 +7,7 @@
use msg::constellation_msg::{PipelineId};
use net_traits::AsyncResponseTarget;
-use net_traits::{Metadata, PendingAsyncLoad, ResourceTa... | 1 | 1 | 9 |
4ba745b9baec870eb1c939b18e9d93c961ff95dc | Martin Robinson | 2015-11-04T20:53:43 | servo: Merge #8322 - Properly resize iframe root layers (from mrobinson:iframe-resizing); r=pcwalton
When a layer containing an iframe changes, we also need to resize the
root layer of the subpage. This ensures that content from the child
layer tree is masked to the new size.
Fixes #8301.
Source-Repo: https://github... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index de02b59d6..e8576e70e 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -791,8 +791,20 @@ impl<Window: WindowMethods> IOCompositor<Window> {
self.pipeline_details.remove(&pipeline_id);
}
- fn update_layer_... | 1 | 13 | 1 |
c42287d82a0e6ecee1417cb233c9075279836c16 | Eli Friedman | 2015-11-04T17:52:09 | servo: Merge #8243 - Simplify implementation of '<canvas>' 'width' and 'height' attributes (from eefriedman:canvas-width-height); r=Ms2ger
Strictly speaking, this affects correctness for extremely large width and height values... but that's unlikely to matter in practice.
Source-Repo: https://github.com/servo/servo
S... | diff --git a/script/dom/htmlcanvaselement.rs b/script/dom/htmlcanvaselement.rs
index 95e3476f7..9ada3036f 100644
--- a/script/dom/htmlcanvaselement.rs
+++ b/script/dom/htmlcanvaselement.rs
@@ -4,6 +4,7 @@
use canvas_traits::{CanvasMsg, FromLayoutMsg};
use dom::attr::Attr;
+use dom::attr::AttrValue;
use dom::bindin... | 1 | 24 | 41 |
1cedd4e1db193984eb7a374d73cd2317c00d7a06 | Ms2ger | 2015-11-04T17:08:51 | servo: Merge #7128 - Make BrowsingContext JS-managed (from Ms2ger:bc-root); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: b4d234107e7fcc02e88915f37c06bf651842c1dd | diff --git a/script/dom/browsercontext.rs b/script/dom/browsercontext.rs
index 049ff4325..72d48d51d 100644
--- a/script/dom/browsercontext.rs
+++ b/script/dom/browsercontext.rs
@@ -6,45 +6,70 @@ use dom::bindings::conversions::native_from_handleobject;
use dom::bindings::conversions::{ToJSValConvertible};
use dom::bi... | 2 | 52 | 46 |
4f360812958aa6244014a58c49b0eaf8280151e0 | Simon Sapin | 2015-11-04T12:22:23 | servo: Merge #8321 - counter-reset defaults to 0, not 1 (from servo:reset-zero); r=Ms2ger
https://drafts.csswg.org/css2/generate.html#counters
Source-Repo: https://github.com/servo/servo
Source-Revision: df4e6141793b9927b28a567cadda5b6bd7aeeee3 | diff --git a/style/properties.mako.rs b/style/properties.mako.rs
index 760672efd..a0ae43630 100644
--- a/style/properties.mako.rs
+++ b/style/properties.mako.rs
@@ -1272,7 +1272,7 @@ pub mod longhands {
use super::content;
use values::computed::ComputedValueAsSpecified;
- use cssparser::{ToCs... | 1 | 12 | 4 |
98e8d4219bc4c8acda3051464ecbff879b6e5d55 | David Zbarsky | 2015-11-04T08:02:15 | servo: Merge #8202 - Allow retrieving width/height for non-positioned elements (from dzbarsky:getComputedStyle); r=pcwalton
This was causing a bunch of tests in tests/wpt/web-platform-tests/html/semantics/embedded-content/the-canvas-element/size.attributes* to fail. They were returning "auto" instead of the correct s... | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 42dcddb57..c86ecdeda 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -931,6 +931,40 @@ impl LayoutTask {
// There are probably other quirks.
let applies = true;
+ fn used_value_for_position_property(layout_node... | 2 | 46 | 32 |
f5645c2f2e9011342ed23499cd0a37d575da6c8a | Glenn Watson | 2015-11-04T02:45:58 | servo: Merge #8306 - Change overflow calculation to be calculated after compute_absolute_position (from glennw:fix-abd-overflow); r=pcwalton
Also include absolutely positioned elements in the overflow rect calculation.
Fixes #7797.
Source-Repo: https://github.com/servo/servo
Source-Revision: ca56ebbb09f3c258d10e7a7f... | diff --git a/layout/block.rs b/layout/block.rs
index 51d09e6cf..c4e7a371d 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -42,7 +42,6 @@ use flow::{ImmutableFlowUtils, LateAbsolutePositionInfo, MutableFlowUtils, Opaqu
use flow::{LAYERS_NEEDED_FOR_DESCENDANTS, NEEDS_LAYER};
use flow::{PostorderFlowTraversal, Pre... | 7 | 5 | 105 |
1700110654e36545b0b095b0c23aa08fb0dadae0 | Martin Robinson | 2015-11-04T01:52:43 | servo: Merge #8266 - Mix stacking contexts into the positioned content list (from mrobinson:stacking-context-mix); r=pcwalton
Sometimes positioned content needs to be layered on top of stacking
contexts. The layer synthesis code can do this, but the current design
prevents it because stacking contexts are stored in a ... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 5fb8b99d9..d69353e1f 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -31,6 +31,7 @@ use paint_task::{PaintLayerContents, PaintLayer};
use self::DisplayItem::*;
use self::DisplayItemIterator::*;
use smallvec::SmallVec;
+use std... | 5 | 302 | 276 |
12ee5f59c092730684240e0a0953eb97e8a07c2d | Patrick Walton | 2015-11-04T00:58:46 | servo: Merge #8299 - Fix several bugs causing the page to reflow on every mouse move event (from pcwalton:dont-reflow-on-hover); r=mbrubeck
After all these changes are applied, Hacker News and GitHub only repaint and reflow nodes that actually have hover styles applied when the mouse moves over them.
r? @mbrubeck
cc... | diff --git a/layout/block.rs b/layout/block.rs
index 399b3e5a9..51d09e6cf 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -989,9 +989,10 @@ impl BlockFlow {
let mut block_size = cur_b - block_start_offset;
let is_root = self.is_root();
if is_root {
- let scree... | 5 | 56 | 40 |
0340a0797ca6f634a073902851da824c82f0565e | Florian Merz | 2015-11-03T23:59:59 | servo: Merge #8265 - add get_raw_layout_value (HTMLInputElementHelpers) (from fiji-flo:password_caret); r=eefriedman
This resolves #8107
Previously the index of the insetion point for a password input was
calculated using the scrambled string based on the edit point in the
raw string. That could lead to a wrong positi... | diff --git a/layout/wrapper.rs b/layout/wrapper.rs
index 85351c5c1..b761e2dc9 100644
--- a/layout/wrapper.rs
+++ b/layout/wrapper.rs
@@ -1004,10 +1004,9 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
return Some(CharIndex(search_index(insertion_point, text.char_indices())));
}
if let Some(input... | 2 | 31 | 21 |
c1e7bd33756e4a36ae7018a5f3d339e953173606 | Nova Fallen | 2015-11-03T18:51:29 | servo: Merge #8303 - Refactor code dealing with headers of requests and responses #6638 (from nfallen:6638-http_loader); r=eefriedman
Extract the code in load in http_loader.rs that specifically deals with modifying the headers for a request into a separate function. Extract the code that deals with processing the hea... | diff --git a/net/http_loader.rs b/net/http_loader.rs
index 62e461dbc..8f5289432 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -477,6 +477,39 @@ fn request_must_be_secured(url: &Url, hsts_list: &Arc<RwLock<HSTSList>>) -> bool
}
}
+pub fn modify_request_headers(headers: &mut Headers,
+ ... | 1 | 35 | 22 |
e0466931fa21176748c4dd990ddea5b740b1c8f9 | Matt Brubeck | 2015-11-03T17:15:21 | servo: Merge #8232 - Correct event dispatching for multiple simultaneous touch points (from mbrubeck:glutin-touch); r=glennw
Instead of just converting the mouse into a single "touch" input, Servo can now listen for multi-touch events from Glutin, maintain a list of active touch points, and dispatch events for all of ... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 3482d730b..de02b59d6 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -35,8 +35,9 @@ use msg::constellation_msg::{NavigationDirection, PipelineId, WindowSizeData};
use pipeline::CompositionPipeline;
use profile_traits::m... | 6 | 215 | 104 |
a7b25abcb51c5ade356afcb3cfb62bc3930002f4 | Gilles Leblanc | 2015-11-03T16:09:32 | servo: Merge #8111 - Compute value of float according to position value (from gilles-leblanc:issue-8002); r=SimonSapin
According to CSS2 Section 9.7, if 'position' has a value of 'absolute'
or 'fixed' the computed value of 'float' should be 'none'.
This changes the float to a single_keyword_computed which checks the
... | diff --git a/style/properties.mako.rs b/style/properties.mako.rs
index 2912d4ea8..760672efd 100644
--- a/style/properties.mako.rs
+++ b/style/properties.mako.rs
@@ -546,7 +546,25 @@ pub mod longhands {
</%self:longhand>
${single_keyword("position", "static absolute relative fixed")}
- ${single_keyword("f... | 1 | 19 | 1 |
a83116c73853533fc897c9f66ce4e8630615b358 | Alan Jeffrey | 2015-11-03T15:34:39 | servo: Merge #8087 - Removced unncessary call to dirty() in Document::node_and_heritage_ch… (from asajeffrey:dont_dirty_twice); r=pcwalton
Removed unncessary call to dirty() in Document::node_and_heritage_change, since the node is aready dirtied by force_dirty_ancestors().
Source-Repo: https://github.com/servo/servo
... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 42530e492..bbb8b81f5 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -347,7 +347,6 @@ impl Document {
pub fn content_and_heritage_changed(&self, node: &Node, damage: NodeDamage) {
node.force_dirty_ancestors(damage);
-... | 1 | 0 | 1 |
9466e93ed8b1e8f288a425a7287713e1f5c35f26 | Patrick Walton | 2015-11-03T12:55:33 | servo: Merge #8300 - layout: Avoid flooding the compositor with animation state changes if there are no animations running and no new animations were added (from pcwalton:avoid-animation-state-flooding); r=glennw
Avoids compositor jank during scroll.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source-Revi... | diff --git a/layout/animation.rs b/layout/animation.rs
index 99d257f38..27bf118bf 100644
--- a/layout/animation.rs
+++ b/layout/animation.rs
@@ -58,6 +58,12 @@ pub fn update_animation_state(rw_data: &mut LayoutTaskData, pipeline_id: Pipelin
let mut running_animations_hash = (*rw_data.running_animations).clone();... | 1 | 6 | 0 |
aac2287f9868a47d5e9973ca9be4cea029985221 | Ms2ger | 2015-11-03T10:58:14 | servo: Merge #8295 - Various cleanup (from Ms2ger:cleanup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1794e5875a1d1e61f00f7d0d0592fc5f7cd278d7 | diff --git a/script/devtools.rs b/script/devtools.rs
index bc6dc34ad..3ea1448e0 100644
--- a/script/devtools.rs
+++ b/script/devtools.rs
@@ -155,12 +155,12 @@ pub fn handle_modify_attribute(page: &Rc<Page>,
let node = find_node_by_unique_id(&*page, pipeline, node_id);
let elem = node.downcast::<Element>().exp... | 2 | 5 | 8 |
8df116bff5cb95043f651e731b34f636fc7af0cc | Ms2ger | 2015-11-03T09:59:17 | servo: Merge #8239 - Remove unused code around ScriptReflow (from Ms2ger:ScriptReflow); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a800becdf7f6b3b3524d204485cb7c593b506f5 | diff --git a/script/dom/window.rs b/script/dom/window.rs
index d87b04cbf..f487bc810 100644
--- a/script/dom/window.rs
+++ b/script/dom/window.rs
@@ -54,7 +54,7 @@ use profile_traits::mem;
use rustc_serialize::base64::{FromBase64, STANDARD, ToBase64};
use script_task::{ScriptChan, ScriptPort, MainThreadScriptMsg};
us... | 3 | 1 | 19 |
a5b66733f488cfaf771e2f8da73257abbfc963b7 | Eli Friedman | 2015-11-03T01:37:40 | servo: Merge #8056 - Fix the implementation of JSTraceable for RefCell (from eefriedman:trace-refcell); r=jdm
The existing implementation could panic; make sure that doesn't
happen by requiring that the contents of a RefCell are trivially
traceable (i.e. the value don't contain any traceable objects).
I'm not sure wh... | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index f18719073..d656ae0fc 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -66,7 +66,7 @@ use selectors::states::*;
use serde::{Deserialize, Serialize};
use smallvec::SmallVec;
use std::boxed::FnBox;
-use std::ce... | 11 | 43 | 66 |
1ff63f237b6a626f4010c04b64bbcddba9b233c9 | Ms2ger | 2015-11-02T14:14:51 | servo: Merge #8294 - Remove RawLayoutHTMLInputElementHelpers (from Ms2ger:layout-input); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5c11c88e92ccbc3013501096d5625778774c9fee | diff --git a/script/dom/element.rs b/script/dom/element.rs
index d07d25663..a78ba89b4 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -42,7 +42,7 @@ use dom::htmlcollection::HTMLCollection;
use dom::htmlfieldsetelement::HTMLFieldSetElement;
use dom::htmlfontelement::HTMLFontElement;
use dom::htmlif... | 2 | 12 | 25 |
c8fa0502eab676a53313aba3851f16cf04e92177 | Emilio Cobos Álvarez | 2015-11-02T13:22:33 | servo: Merge #8291 - Add destructors to some WebGL objects, remove duplicated glutin dependency and try to enable the webgl reftests (from emilio:webgl-drop); r=jdm
The first commit allows to cleanup the gl resources of the webgl task earlier if they aren't being used.
Right now all resources were cleaned up when the ... | diff --git a/script/dom/webglbuffer.rs b/script/dom/webglbuffer.rs
index 05f8d7263..17f13f333 100644
--- a/script/dom/webglbuffer.rs
+++ b/script/dom/webglbuffer.rs
@@ -71,7 +71,13 @@ impl WebGLBuffer {
pub fn delete(&self) {
if !self.is_deleted.get() {
self.is_deleted.set(true);
- ... | 9 | 58 | 38 |
704b3b50220daedf4ddd5e0c3bca2dce50193fed | Eli Friedman | 2015-11-02T09:44:32 | servo: Merge #8245 - Use attribute getter/setter macros for misc DOM attributes (from eefriedman:misc-attribute-fixes); r=nox
This fixes a few minor bugs.
Source-Repo: https://github.com/servo/servo
Source-Revision: 50d51bab7faa5ce52e9f345eee3d49886433289f | diff --git a/script/dom/htmlbuttonelement.rs b/script/dom/htmlbuttonelement.rs
index 7ea783fc6..85eca4b18 100644
--- a/script/dom/htmlbuttonelement.rs
+++ b/script/dom/htmlbuttonelement.rs
@@ -83,15 +83,7 @@ impl HTMLButtonElementMethods for HTMLButtonElement {
}
// https://html.spec.whatwg.org/multipage/#d... | 4 | 7 | 24 |
e6e4dc9d17ac219dd0d5261fc471f0178baccccb | David Zbarsky | 2015-11-02T00:27:28 | servo: Merge #8193 - Use an Atom for Event.type (from dzbarsky:event_type); r=nox
Depends on https://github.com/servo/string-cache/pull/113
Source-Repo: https://github.com/servo/servo
Source-Revision: 35b452660bf0759d222e8f2ac4b8c57f75529443 | diff --git a/script/dom/event.rs b/script/dom/event.rs
index c56d44e15..0aa57146a 100644
--- a/script/dom/event.rs
+++ b/script/dom/event.rs
@@ -13,6 +13,7 @@ use dom::eventtarget::EventTarget;
use std::borrow::ToOwned;
use std::cell::Cell;
use std::default::Default;
+use string_cache::Atom;
use time;
use util::st... | 5 | 27 | 21 |
599f20b0559633472081ae3c4837a3c08e5e0ae6 | nxnfufunezn | 2015-11-01T17:43:21 | servo: Merge #8192 - Accept Brotli-compressed HTTP responses #8156 (from nxnfufunezn:brotli-decompressor); r=jdm
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2e4454a42356c0ea9edf67f96922ac96e4d52900 | diff --git a/net/Cargo.toml b/net/Cargo.toml
index 51573136d..620a10ca1 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -16,6 +16,9 @@ path = "../util"
[dependencies.devtools_traits]
path = "../devtools_traits"
+[dependencies.brotli]
+git = "https://github.com/ende76/brotli-rs"
+
[dependencies.plugins]
path =... | 4 | 22 | 5 |
f601f06555137dc7df22423af4fb8f478b033e73 | Olivia Nordquist | 2015-11-01T09:20:17 | servo: Merge #8290 - Un-boxed ScriptReflow (from itsmeolivia:store-script-reflow); r=Ms2ger
As per #8238 I changed `layout_interface::Msg::Reflow` to store `ScriptReflow` rather than `Box<ScriptReflow>`
I ran the tests and believe everything passed but this is my first commit to the project so sorry if I messed up th... | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 273d56bca..06c561103 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -593,7 +593,7 @@ impl LayoutTask {
profile(time::ProfilerCategory::LayoutPerform,
self.profiler_metadata(),
... | 3 | 3 | 3 |
8fc2ab46e567dbc8bdd65afb9e1fd339d3a19043 | Bobby Holley | 2015-11-01T01:53:51 | servo: Merge #8274 - Implement state-based restyle hints (from bholley:state_restyle_hints); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 959ae86bd0435bf67626d3203a220c0e9f2eea40 | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 4ebe8363f..273d56bca 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -1182,9 +1182,10 @@ impl LayoutTask {
let state_changes = document.drain_element_state_changes();
if !needs_dirtying {
- for &(el, state)... | 6 | 314 | 27 |
e38a136c1f318b2ef4f7b85d6c69dea3d59f48f1 | Eli Friedman | 2015-11-01T00:49:03 | servo: Merge #8287 - Fix unused variable warnings (from eefriedman:label-unused-var); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 1add1185ab338709082981f226e8227cabfac866 | diff --git a/script/dom/htmllabelelement.rs b/script/dom/htmllabelelement.rs
index ae1aa580c..0e1326102 100644
--- a/script/dom/htmllabelelement.rs
+++ b/script/dom/htmllabelelement.rs
@@ -69,7 +69,7 @@ impl Activatable for HTMLLabelElement {
}
// https://html.spec.whatwg.org/multipage/#implicit-submission
... | 1 | 1 | 1 |
51290070e4e1cef982fb27db7be50ef8366e0162 | Eli Friedman | 2015-10-31T22:20:29 | servo: Merge #8037 - Consistently use content-type sniffing with all protocols (from eefriedman:net-send-sniff); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 4cf49d4d0917a5784a54f2a26b138516dfcdc2bc | diff --git a/net/about_loader.rs b/net/about_loader.rs
index 4308b4a8c..04878fed7 100644
--- a/net/about_loader.rs
+++ b/net/about_loader.rs
@@ -9,7 +9,7 @@ use hyper::mime::{Mime, SubLevel, TopLevel};
use mime_classifier::MIMEClassifier;
use net_traits::ProgressMsg::Done;
use net_traits::{LoadConsumer, LoadData, Me... | 4 | 40 | 37 |
f87aeda948d849744eb175d05bc2dc22eb6cd6ad | KALPESH KRISHNA | 2015-10-31T16:55:27 | servo: Merge #8260 - Implementing activation behavior for <label> (from martiansideofthemoon:my-code-fix); r=Manishearth
Attempt to resolve #8179
@Manishearth , could you give me some resources having more information about what each function in `Activatable` does? The code compiles on my machine but I guess a lot mor... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index eaee0d241..4fc714ed1 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -43,6 +43,7 @@ use dom::htmlfieldsetelement::HTMLFieldSetElement;
use dom::htmlfontelement::HTMLFontElement;
use dom::htmliframeelement::HTMLIFrameElement;
use dom::... | 2 | 42 | 0 |
4cf74f724724e58d8ecfb054d279614d72afa0ec | Gökberk Yaltıraklı | 2015-10-31T16:00:52 | servo: Merge #7956 - Made binary files show an info message instead of garbled text (from gkbrk:binary_mime); r=jdm
Content-types with the TopLevel "Application" such as
* application/octet-stream
* application/pdf
now show an info message instead of trying to view binary data as html.
Source-Repo: https://github.c... | diff --git a/script/dom/servohtmlparser.rs b/script/dom/servohtmlparser.rs
index 433c1085a..c3ef82c9b 100644
--- a/script/dom/servohtmlparser.rs
+++ b/script/dom/servohtmlparser.rs
@@ -68,8 +68,8 @@ pub type Tokenizer = tokenizer::Tokenizer<TreeBuilder<JS<Node>, Sink>>;
pub struct ParserContext {
/// The parser t... | 1 | 24 | 7 |
223a0b133c009d2714493dc70804b1bfd44b1d45 | Ms2ger | 2015-10-31T13:27:31 | servo: Merge #8282 - Cleanup Document::handle_mouse_move_event a bit (from Ms2ger:handle_mouse_move_event); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 912359fcbd74ddfdfa7aaf11f28cc8c2cfbd0eac | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 4559bb098..781c53e23 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -671,14 +671,13 @@ impl Document {
prev_mouse_over_targets: &mut RootedVec<JS<Element>>) {
// Build a list of elements that... | 1 | 7 | 8 |
4100d2388ab935e71382cc6b5ad97cb1220d7053 | nxnfufunezn | 2015-10-31T12:54:23 | servo: Merge #8262 - Removed JS::root #8251 (from nxnfufunezn:Remove_JS_root); r=Ms2ger
Fixes #8251
r? @Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 37c03c78165fbb77eb024f2c3376d5e33cd7e446 | diff --git a/script/dom/bindings/global.rs b/script/dom/bindings/global.rs
index a1a1c68c8..e91e94a0a 100644
--- a/script/dom/bindings/global.rs
+++ b/script/dom/bindings/global.rs
@@ -230,8 +230,8 @@ impl GlobalField {
/// Create a stack-bounded root for this reference.
pub fn root(&self) -> GlobalRoot {
... | 25 | 98 | 126 |
8ddc20dea3c8101e1cacce3828eef2e0a95f100e | Bobby Holley | 2015-10-31T04:35:45 | servo: Merge #8162 - Centralize event states in rust-selectors (from bholley:centralize_event_states); r=pcwalton
This still needs a rev bump on rust-selectors once https://github.com/servo/rust-selectors/pull/55 gets merged.
Source-Repo: https://github.com/servo/servo
Source-Revision: 521a87180a85709f8f704df33537f79... | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 5f9c732d8..4ebe8363f 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -1180,11 +1180,11 @@ impl LayoutTask {
}
}
- let event_state_changes = document.drain_event_state_changes();
+ let state_changes =... | 17 | 108 | 154 |
115ef64bdc99dca1e6e3af3e49c954a222e0ac46 | Nova Fallen | 2015-10-31T02:34:08 | servo: Merge #8114 - Implement DOMStringMap::SupportedPropertyNames and NamedNodeMap::SupportedPropertyNames #7695 (from nfallen:7695); r=eefriedman
Here is a draft for issue #7695 with web platform tests.
Thanks for reviewing!
https://dom.spec.whatwg.org/#namednodemap
https://html.spec.whatwg.org/multipage/infrastruc... | diff --git a/script/dom/domstringmap.rs b/script/dom/domstringmap.rs
index 95f727c93..bed480317 100644
--- a/script/dom/domstringmap.rs
+++ b/script/dom/domstringmap.rs
@@ -61,7 +61,6 @@ impl DOMStringMapMethods for DOMStringMap {
// https://html.spec.whatwg.org/multipage/#the-domstringmap-interface:supported-pr... | 3 | 53 | 4 |
ebe62821e3c54b12f99de0da9d7bbd9e7d4e818b | Corey Farwell | 2015-10-31T01:21:47 | servo: Merge #8279 - Fix some rust-clippy violations (from frewsxcv:clippy-fixes); r=eefriedman
Source-Repo: https://github.com/servo/servo
Source-Revision: 913ac568750502087a7f1693b3657a24cefd2460 | diff --git a/layout/block.rs b/layout/block.rs
index f580763e9..adb48e324 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1024,17 +1024,12 @@ impl BlockFlow {
let mut candidate_block_size_iterator = CandidateBSizeIterator::new(
&self.fragment,
self.base.block_contai... | 11 | 37 | 42 |
b6591a5f16ce34e1b80e508dc5e92a3179989f5e | Martin Robinson | 2015-10-31T00:18:00 | servo: Merge #8276 - Snap fragment scroll points to pixel boundaries (from mrobinson:fragment-ticks); r=mbrubeck
These don't match hardware pixels, but work well enough when the device
pixel ratio is a whole number.
Source-Repo: https://github.com/servo/servo
Source-Revision: 84bf368c3bb8ec3550fe158a874e68e02bb0d2be | diff --git a/script/script_task.rs b/script/script_task.rs
index 02046df71..fa427db6f 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -1669,12 +1669,21 @@ impl ScriptTask {
}
fn scroll_fragment_point(&self, pipeline_id: PipelineId, element: &Element) {
- let rect = element.upcast::<... | 1 | 12 | 3 |
8bdf873fdbe2e307596fec4f49f9eef745dfbbf4 | Connor Imes | 2015-10-30T23:17:22 | servo: Merge #8254 - Read params from a file on Android (from connorimes:android-params-file); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 2d0d9ca04054eefcc094e2643e6388ed57919e84 | diff --git a/servo/main.rs b/servo/main.rs
index 34c9bfe3d..b339babb9 100644
--- a/servo/main.rs
+++ b/servo/main.rs
@@ -23,6 +23,8 @@ extern crate android_glue;
// The window backed by glutin
extern crate glutin_app as app;
extern crate env_logger;
+#[macro_use]
+extern crate log;
// The Servo engine
extern crate... | 1 | 34 | 4 |
c19232e2ecf30d673e8da66bf12ac7111ba15988 | Eli Friedman | 2015-10-30T22:13:54 | servo: Merge #8257 - Attempt to fix webfont-related intermittent test failures (from eefriedman:reorder-webfont-check); r=mbrubeck
I'm not completely sure the race condition outlined in this patch is
actually the race condition causing failures... but it's a possibility.
(I plan to run this through try a couple of ti... | diff --git a/compositing/constellation.rs b/compositing/constellation.rs
index d0c5003f9..d578fac78 100644
--- a/compositing/constellation.rs
+++ b/compositing/constellation.rs
@@ -1203,6 +1203,21 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
for frame in self.current_frame_... | 1 | 15 | 7 |
6d2ae22a4faff276f40a63c5c81e40a99425a3b7 | Michael Wu | 2015-10-30T19:59:25 | servo: Merge #8273 - Minor cleanups for DOM (from michaelwu:cleanups); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: c887aaf6943c3945aed391e6fbbc23c709a4517f | diff --git a/script/dom/cssstyledeclaration.rs b/script/dom/cssstyledeclaration.rs
index ba6923c1f..f4ab910e9 100644
--- a/script/dom/cssstyledeclaration.rs
+++ b/script/dom/cssstyledeclaration.rs
@@ -60,8 +60,8 @@ impl CSSStyleDeclaration {
CSSStyleDeclaration {
reflector_: Reflector::new(),
... | 4 | 10 | 11 |
7612e3ab1265a6e1f750ac5dad914a2c1ac3d40c | Corey Farwell | 2015-10-30T13:50:25 | servo: Merge #8261 - Use 'atom!' macro for known static strings (from frewsxcv:atom-macro-static-str); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: f85f22c04fcd32c8fc3b02032a8ab62285992bd0 | diff --git a/script/dom/htmlbodyelement.rs b/script/dom/htmlbodyelement.rs
index 4b639d0ed..333febd77 100644
--- a/script/dom/htmlbodyelement.rs
+++ b/script/dom/htmlbodyelement.rs
@@ -70,7 +70,7 @@ impl HTMLBodyElementMethods for HTMLBodyElement {
fn SetText(&self, value: DOMString) {
let element = self.... | 3 | 4 | 4 |
b7ebc6f16b000372af5964090f59d1827779c262 | Ms2ger | 2015-10-30T08:13:17 | servo: Merge #8187 - Introduce a Layoutnode::new function and use it (from Ms2ger:layoutnode-new); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 6cc8186481110370205e7979f3942ad005889a30 | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 6e8c62b65..5f9c732d8 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -51,9 +51,7 @@ use profile_traits::time::{self, ProfilerMetadata, profile};
use query::{LayoutRPCImpl, process_content_box_request, process_content_boxes_request};
us... | 2 | 31 | 33 |
3531f79986fbd057ed4c046603a38f3129f3db2d | Connor Imes | 2015-10-30T06:56:10 | servo: Merge #8253 - Heartbeats and energy profiling support for Android (from connorimes:android-energy-profiling); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: f9d79600c9399c6f804cfdce4a42fc118a1bdb47 | diff --git a/profile/heartbeats.rs b/profile/heartbeats.rs
index 6eaff00e7..0101f62e2 100644
--- a/profile/heartbeats.rs
+++ b/profile/heartbeats.rs
@@ -11,6 +11,8 @@ use std::env::var_os;
use std::error::Error;
use std::fs::File;
use std::mem;
+use std::path::Path;
+use util::opts;
static mut HBS: Option<*mut ... | 5 | 70 | 23 |
dc01a2ebcaebdfdbcd8634befbe71a42eec5a897 | Corey Farwell | 2015-10-30T05:59:29 | servo: Merge #8255 - Remove struct field for <font> 'face' attribute (from frewsxcv:rm-font-face-attribute-field); r=eefriedman
Part of #7863
Source-Repo: https://github.com/servo/servo
Source-Revision: a1939b0c6f9dfddccfa5a7fff192a4e9db285e20 | diff --git a/script/dom/htmlfontelement.rs b/script/dom/htmlfontelement.rs
index 6c54bfbc7..c0717e8e3 100644
--- a/script/dom/htmlfontelement.rs
+++ b/script/dom/htmlfontelement.rs
@@ -4,7 +4,6 @@
use cssparser::RGBA;
use dom::attr::{Attr, AttrValue};
-use dom::bindings::cell::DOMRefCell;
use dom::bindings::codege... | 1 | 5 | 12 |
0afe1ba74d81bce9d2cc84eeabd9fd23bde6ed1c | Matt Brubeck | 2015-10-30T03:35:06 | servo: Merge #8252 - Remove some unused code on Android (from mbrubeck:android-unused); r=mbrubeck
r? @larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 4ad6eba69be10941fcde8cdb809654548dfdf44f | diff --git a/servo/main.rs b/servo/main.rs
index 3e81da46f..34c9bfe3d 100644
--- a/servo/main.rs
+++ b/servo/main.rs
@@ -31,8 +31,6 @@ use servo::Browser;
use servo::compositing::windowing::WindowEvent;
use servo::net_traits::hosts;
use servo::util::opts;
-#[cfg(target_os = "android")]
-use std::borrow::ToOwned;
us... | 2 | 1 | 3 |
7ee5795f3c7128c326899cf92c540bdf84f1617b | Ms2ger | 2015-10-30T01:51:57 | servo: Merge #8248 - Remove the Zeroable definition for Finite<T> (from Ms2ger:finite-zero); r=jdm
I have no idea why it was added, and it appears to be unused.
Source-Repo: https://github.com/servo/servo
Source-Revision: 851e7098c93a354fdf04808e7935f1bb3721e82b | diff --git a/script/dom/bindings/num.rs b/script/dom/bindings/num.rs
index ed5d78cdb..720aeb285 100644
--- a/script/dom/bindings/num.rs
+++ b/script/dom/bindings/num.rs
@@ -4,7 +4,6 @@
//! The `Finite<T>` struct.
-use core::nonzero::Zeroable;
use num::Float;
use std::ops::Deref;
@@ -12,8 +11,6 @@ use std::ops:... | 1 | 0 | 3 |
3c1598dd44759c71ffbc8b263b0c4049ab1f5a9a | rohan.prinja | 2015-10-30T01:07:44 | servo: Merge #8250 - remove get_rooted() and replace all references to it with references … (from ajnirp:8246-remove-get-rooted); r=Ms2ger
…to get()
for #8246
Source-Repo: https://github.com/servo/servo
Source-Revision: 00b60b93860d32e1c5aaf0f9b4a2ce5110880652 | diff --git a/script/dom/attr.rs b/script/dom/attr.rs
index 84dc04086..50e028a03 100644
--- a/script/dom/attr.rs
+++ b/script/dom/attr.rs
@@ -319,7 +319,7 @@ impl Attr {
}
pub fn owner(&self) -> Option<Root<Element>> {
- self.owner.get_rooted()
+ self.owner.get()
}
pub fn summarize(... | 11 | 28 | 34 |
247f01edf3733db9f0c25d857a02bf7b2aa017af | Ms2ger | 2015-10-29T23:52:54 | servo: Merge #8212 - Remove SharedLayoutContext::reflow_root (from Ms2ger:reflow-root); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: b6bcccb204f710665482fa8098084a30126a3bac | diff --git a/layout/context.rs b/layout/context.rs
index e68ce3439..4f2cf89de 100644
--- a/layout/context.rs
+++ b/layout/context.rs
@@ -102,9 +102,6 @@ pub struct SharedLayoutContext {
/// FIXME(#2604): Make this no longer an unsafe pointer once we have fast `RWArc`s.
pub stylist: *const Stylist,
- /// ... | 6 | 47 | 45 |
b4265d307601d204ff7660f6b6de2d63b886ac6a | Ms2ger | 2015-10-29T11:38:50 | servo: Merge #8247 - Add thread assertions to js.rs (from Ms2ger:assert); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 430578355b75a3d58bec48b865cccbcf7eb8c990 | diff --git a/script/dom/bindings/js.rs b/script/dom/bindings/js.rs
index 9a4f17b42..f591bb8b9 100644
--- a/script/dom/bindings/js.rs
+++ b/script/dom/bindings/js.rs
@@ -40,6 +40,7 @@ use std::mem;
use std::ops::Deref;
use std::ptr;
use util::mem::HeapSizeOf;
+use util::task_state;
/// A traced reference to a DOM ... | 1 | 30 | 0 |
c6c57f6e5918b1decc4fef66b95b1fbafe941bbd | Martin Robinson | 2015-10-29T01:25:10 | servo: Merge #8244 - Expand DisplayList layer bounds to whole pixels (from mrobinson:layer-size); r=pcwalton
Before passing these layers to the paint task, expand them to pixel
boundaries. This ensures that subpixel edges of the layer will not be
clipped away and helps prevent rounding issues with layer contents.
Fix... | diff --git a/gfx/paint_task.rs b/gfx/paint_task.rs
index e33432caf..9a5821025 100644
--- a/gfx/paint_task.rs
+++ b/gfx/paint_task.rs
@@ -34,7 +34,7 @@ use std::mem as std_mem;
use std::sync::Arc;
use std::sync::mpsc::{Receiver, Select, Sender, channel};
use url::Url;
-use util::geometry::ZERO_POINT;
+use util::geome... | 3 | 29 | 12 |
6a145bc5c56652966ab074a98130ecc1550631de | Matt Brubeck | 2015-10-28T21:37:01 | servo: Merge #8229 - Disable debug logging in release builds (from mbrubeck:debug-log); r=larsbergstrom
This uses the new `release_max_level` feature added in rust-lang-nursery/log#58 to turn the `debug!` and `trace!` macros into no-ops in optimized builds.
r? @pcwalton (or anyone else who wants it)
Source-Repo: htt... | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index a741c5ec9..2beac8051 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -19,6 +19,7 @@ dependencies = [
"layers 0.1.0 (git+https://github.com/servo/rust-layers)",
"layout 0.0.1",
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
+ "l... | 2 | 31 | 26 |
8bc4318f3b08f029ce431c3300d369c7006a3c83 | Bobby Holley | 2015-10-28T18:54:53 | servo: Merge #8098 - Track event state changes on Document and do the dirtying from layout (from bholley:dirty_from_layout); r=jdm
This is a first step in fixing #6942.
Source-Repo: https://github.com/servo/servo
Source-Revision: 285e29c06637f31a8b8a27c2e454468717924ebd | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 9c3a3e7ea..638488452 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -52,6 +52,7 @@ use query::{LayoutRPCImpl, process_content_box_request, process_content_boxes_re
use query::{MarginPadding, MarginRetrievingFragmentBorderBoxIterator, P... | 8 | 178 | 43 |
aec0f05e89a86a3b9872ff035a35e1649889927c | Ms2ger | 2015-10-28T18:05:40 | servo: Merge #8242 - Update js (from Ms2ger:update-js); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 30ce2a84c162915f71873e9e20955e12709b39ae | diff --git a/script/dom/bindings/conversions.rs b/script/dom/bindings/conversions.rs
index b38f2df03..710a5715f 100644
--- a/script/dom/bindings/conversions.rs
+++ b/script/dom/bindings/conversions.rs
@@ -229,10 +229,10 @@ impl ToJSValConvertible for HandleValue {
}
#[inline]
-fn convert_int_from_jsval<T, M>(cx: *m... | 3 | 20 | 20 |
7a354383eba18b5b8455fd9ed9b3469d3f3cab42 | Manish Goregaokar | 2015-10-28T16:31:15 | servo: Merge #8241 - Update euclid to 0.3 (from Manishearth:euclid_up); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 0d699a2b4419632e31b35352c518e2ef5ffcc9a3 | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index 9342b7fa6..37276b5ba 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -9,9 +9,11 @@ path = "lib.rs"
[dependencies.azure]
git = "https://github.com/servo/rust-azure"
+features = ["plugins"]
[dependencies.layers]
git = "https://github.com/servo/rus... | 20 | 159 | 110 |
e8fa37688bf2d78155888fb4ca37e89dc2e4d175 | Dongie Agnir | 2015-10-28T02:15:02 | servo: Merge #7963 - Implement ask_for_reset for HTMLSelectElement (from dagnir:issue-7774); r=eefriedman
Fixes #7774
Source-Repo: https://github.com/servo/servo
Source-Revision: 3951c577bf2ec0f809d81752737fccac966537a8 | diff --git a/script/dom/htmloptionelement.rs b/script/dom/htmloptionelement.rs
index 60af71b6c..8c7dea8ac 100644
--- a/script/dom/htmloptionelement.rs
+++ b/script/dom/htmloptionelement.rs
@@ -14,6 +14,7 @@ use dom::document::Document;
use dom::element::{AttributeMutation, Element, IN_ENABLED_STATE};
use dom::htmlele... | 2 | 79 | 2 |
46d53b5ed8bf5e5b638988f1092bb16ca7069a60 | Axel Solis Trompler | 2015-10-28T00:25:03 | servo: Merge #8169 - Implement document.createEvent(TouchEvent) (from ax3lst:master); r=eefriedman
This solves #8160
Source-Repo: https://github.com/servo/servo
Source-Revision: 7c9f4644f3f5849a68a0575c755d9cb5619c86dc | diff --git a/script/dom/document.rs b/script/dom/document.rs
index a05679086..488069376 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -1564,6 +1564,14 @@ impl DocumentMethods for Document {
Ok(Root::upcast(KeyboardEvent::new_uninitialized(&self.window))),
"messageeven... | 1 | 8 | 0 |
8752e70e6c3af7a6fad3facb49a24db827a7791e | Matt Brubeck | 2015-10-27T23:42:36 | servo: Merge #8231 - Fix misplaced doc comment in plugins/lib.rs (from mbrubeck:plugin-doc); r=eefriedman
Source-Repo: https://github.com/servo/servo
Source-Revision: 949a5b3a3e650c321e488cffc8ddee28a7283bb3 | diff --git a/plugins/lib.rs b/plugins/lib.rs
index a9fbb4ad2..bb328c944 100644
--- a/plugins/lib.rs
+++ b/plugins/lib.rs
@@ -36,8 +36,8 @@ use syntax::parse::token::intern;
pub mod jstraceable;
/// Handles the auto-deriving for `#[derive(HeapSizeOf)]`
pub mod heap_size;
-/// Autogenerates implementations of Reflecta... | 1 | 1 | 1 |
a5001222006c29dcb9a344e607744c24a0e9fa33 | Michael Howell | 2015-10-27T22:27:07 | servo: Merge #8145 - Show overflow for #8118 (from notriddle:master); r=pcwalton
Fixes list items.
Source-Repo: https://github.com/servo/servo
Source-Revision: bccede03708c0e80b7ef718890e0a740edcce901 | diff --git a/layout/list_item.rs b/layout/list_item.rs
index 41c404f6a..7ea9ebd0f 100644
--- a/layout/list_item.rs
+++ b/layout/list_item.rs
@@ -153,7 +153,15 @@ impl Flow for ListItemFlow {
}
fn compute_overflow(&self) -> Rect<Au> {
- self.block_flow.compute_overflow()
+ let mut overflow = se... | 1 | 9 | 1 |
acb91a9473a05256ab658f4960e32244cc5bf7eb | David Raifaizen | 2015-10-27T20:14:48 | servo: Merge #8129 - Made block type pattern match less inclusive (from craftytrickster:pos-fixed-list-item); r=glennw
Given the comments above the match statement, it seems that fixed-pos check should match only block elements in this case. Doing this change seems to partially resolve the issue where list items with ... | diff --git a/layout/construct.rs b/layout/construct.rs
index 7d3a0b748..e8f9b8df8 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -1470,7 +1470,7 @@ impl<'a> PostorderNodeMutTraversal for FlowConstructor<'a> {
// flow here - instead, let it match the inline case
// below.
... | 1 | 1 | 1 |
9929d3612c06452078e5d998ea2a4516585ba5e5 | Alan Jeffrey | 2015-10-27T18:29:53 | servo: Merge #8224 - Upgrade glutin and related packages (from mbrubeck:glutinup); r=frewsxcv
Updated version of #8172.
Source-Repo: https://github.com/servo/servo
Source-Revision: 98dc67dbec7f4f9a6d8b62d75a9b2e0aca91eb7d | diff --git a/script/Cargo.toml b/script/Cargo.toml
index 5c62fb3ee..0f8913f8c 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -85,7 +85,7 @@ websocket = "0.12.0"
uuid = "0.1.16"
smallvec = "0.1"
html5ever = { version = "0.2.1", features = ["unstable"] }
-string_cache = { version = "0.1.9", features = ["uns... | 2 | 44 | 59 |
4e09ddcf578689a1fd958260b3ca501ca0ef7aa1 | Rohan Prinja | 2015-10-27T05:12:02 | servo: Merge #8217 - remove DocumentProgressTask enum (from ajnirp:8211-remove-documentprogresstask); r=Manishearth
for #8211
Source-Repo: https://github.com/servo/servo
Source-Revision: a6e2c138db156a7b817107b22c482010ebcdcf2a | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 42620fa98..a05679086 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -2039,21 +2039,14 @@ fn is_scheme_host_port_tuple(url: &Url) -> bool {
url.host().is_some() && url.port_or_default().is_some()
}
-#[derive(HeapSizeOf)]
-pub... | 2 | 7 | 18 |
ccef8916682cf40805839f9b756f916e397a788d | Glenn Watson | 2015-10-26T22:59:39 | servo: Merge #8094 - Fix start and end points for linear gradients with angle specified (from glennw:fix-angle-gradients); r=pcwalton
Previously, this was most noticeable with 45deg gradients, where the gradient would end too early, and the remainder was filled with a solid color.
(This also fixes gradients on webren... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 1794123bf..f5c9e0dc6 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -556,10 +556,17 @@ impl FragmentDisplayListBuilding for Fragment {
// between the starting point and the ending point.
... | 1 | 11 | 4 |
ccb0f1823364450a8b960d1f7267bb6493c3e198 | Till Schneidereit | 2015-10-26T20:48:23 | servo: Merge #7979 - Improve spec-compliance of script loading and execution during document startup (from tschneidereit:script-loading-fixes); r=jdm
Including proper support for async and deferred scripts.
r? @jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 704c5ef25a846ac4321cd136d9747dee9513f98b | diff --git a/script/document_loader.rs b/script/document_loader.rs
index 65e875b53..2cfa9096d 100644
--- a/script/document_loader.rs
+++ b/script/document_loader.rs
@@ -8,9 +8,7 @@
use msg::constellation_msg::{PipelineId};
use net_traits::AsyncResponseTarget;
use net_traits::{Metadata, PendingAsyncLoad, ResourceTask... | 6 | 298 | 113 |
62e0376ac95cb82052443f0264485c27424f5260 | Keith Yeung | 2015-10-26T19:07:50 | servo: Merge #8201 - Add missing htmlpreelement (from KiChjang:add-missing-htmlpreelement); r=jdm
Fixes #7995. My tests came out pretty weird, with additional crashes and timeouts.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6c051ce8286873e47fd33ec438142ddffbb84ca2 | diff --git a/script/dom/create.rs b/script/dom/create.rs
index bb7deafb7..97a5ffcc8 100644
--- a/script/dom/create.rs
+++ b/script/dom/create.rs
@@ -197,6 +197,7 @@ pub fn create_element(name: QualName, prefix: Option<Atom>,
atom!("output") => make!(HTMLOutputElement),
atom!("p") => make!... | 1 | 2 | 0 |
1da07e09e9d65cb8a74a439337dabbc937f3dc84 | Ms2ger | 2015-10-26T16:08:33 | servo: Merge #8208 - Return a LayoutNode with a limited lifetime from layout_node_from_unsafe_layout_node (fixes #3044) (from Ms2ger:lnfuln); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f6e3146de248554607790108680a43844dff70bf | diff --git a/layout/wrapper.rs b/layout/wrapper.rs
index 438f63ec7..c59fb978e 100644
--- a/layout/wrapper.rs
+++ b/layout/wrapper.rs
@@ -1053,9 +1053,7 @@ pub fn layout_node_to_unsafe_layout_node(node: &LayoutNode) -> UnsafeLayoutNode
}
}
-// FIXME(#3044): This should be updated to use a real lifetime instead o... | 1 | 1 | 3 |
12c1b5f80a716f927be7806b93276ee67521756c | Ms2ger | 2015-10-26T15:27:47 | servo: Merge #8206 - Cleanup layout interaction with canvas elements (from Ms2ger:dlb-canvas); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2091aafcfb32dffba836fde2ccddf4a183e88302 | diff --git a/layout/construct.rs b/layout/construct.rs
index 2ed8f286d..7d3a0b748 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -327,7 +327,8 @@ impl<'a> FlowConstructor<'a> {
}
Some(NodeTypeId::Element(ElementTypeId::HTMLElement(
HTMLElementTypeId::HTM... | 5 | 40 | 68 |
d7eb20a3d12576c35605ebd795103f47bbb680bc | Ms2ger | 2015-10-26T14:00:30 | servo: Merge #8205 - Return the result from query functions (from Ms2ger:query); r=jdm
This reduces some unnecessarily tight coupling, makes it clearer what these functions do, and may help avoid bugs where we would return from such a function without updating the relevant field.
It is also a precondition for some fu... | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 7d2e31ce2..9c3a3e7ea 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -877,25 +877,24 @@ impl LayoutTask {
traversal);
}
- fn process_node_geometry_request<'a>(&'a self,
- ... | 2 | 44 | 47 |
c42ced2b85e3b710eb31c624bcb20497256d64b5 | Rohan Prinja | 2015-10-26T11:08:01 | servo: Merge #8097 - implement PartialEq for MutHeap<JS<T>> and MutNullableHeap<JS<T>> (from ajnirp:8090-partialeq-for-mutheap); r=nox
for #8090
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b95c3957b32db1f7a25738229381e046e9be6e7 | diff --git a/script/dom/bindings/js.rs b/script/dom/bindings/js.rs
index 7abebcac9..a2ec90033 100644
--- a/script/dom/bindings/js.rs
+++ b/script/dom/bindings/js.rs
@@ -273,6 +273,22 @@ impl<T: HeapGCValue> HeapSizeOf for MutHeap<T> {
}
}
+impl<T: Reflectable> PartialEq for MutHeap<JS<T>> {
+ fn eq(&self, oth... | 1 | 33 | 0 |
6d9f28f2ad4e57261339426f99b997beb7a39a4f | Ms2ger | 2015-10-26T08:48:19 | servo: Merge #8203 - Remove manual implementations of Send and Sync for BaseFlow (from Ms2ger:unsafe-impl-baseflow); r=nox
They don't appear to be necessary.
Source-Repo: https://github.com/servo/servo
Source-Revision: 4e015b53781ce6ae26c8972fe5cfe82f0cc98b72 | diff --git a/layout/flow.rs b/layout/flow.rs
index 96d4b4b15..5be4533dc 100644
--- a/layout/flow.rs
+++ b/layout/flow.rs
@@ -937,11 +937,6 @@ pub struct BaseFlow {
pub flags: FlowFlags,
}
-#[allow(unsafe_code)]
-unsafe impl Send for BaseFlow {}
-#[allow(unsafe_code)]
-unsafe impl Sync for BaseFlow {}
-
impl fm... | 1 | 0 | 5 |
8115d0a42c1ec292d934ef55d97d2a0a94bb18d0 | Ms2ger | 2015-10-26T08:04:24 | servo: Merge #8204 - Privatize FlowConstructionUtils (from Ms2ger:privatize-FlowConstructionUtils); r=nox
This makes it match the documentation.
Source-Repo: https://github.com/servo/servo
Source-Revision: 83b72e86693452ce9e950752743a712c29deb430 | diff --git a/layout/construct.rs b/layout/construct.rs
index ff1ff42a1..2ed8f286d 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -1659,7 +1659,9 @@ impl<'ln> ObjectElement<'ln> for ThreadSafeLayoutNode<'ln> {
}
}
-pub trait FlowConstructionUtils {
+// This must not be public because only the layo... | 1 | 3 | 5 |
4595f0b67ff2a564b822cba40196394b562651f2 | Ms2ger | 2015-10-25T22:58:11 | servo: Merge #8196 - Remove a pointless clone() from add_font_face_rules (from Ms2ger:clone-font-cache-task); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 64cae0c5905d1069e40c94c4ef61d50b30bc8196 | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index d88645b9c..7d2e31ce2 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -324,7 +324,6 @@ fn add_font_face_rules(stylesheet: &Stylesheet,
outstanding_web_fonts_counter: &Arc<AtomicUsize>) {
for font_face in style... | 1 | 0 | 1 |
812ce067a830b3af4371de99dee23266978f23d8 | Ms2ger | 2015-10-25T19:23:57 | servo: Merge #8195 - Update js (from Ms2ger:update-js); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1982ae38e33a64396bd2174cba5925b62a7715e0 | diff --git a/script/dom/bindings/utils.rs b/script/dom/bindings/utils.rs
index 5dc7f2d62..27fdb3efa 100644
--- a/script/dom/bindings/utils.rs
+++ b/script/dom/bindings/utils.rs
@@ -28,7 +28,6 @@ use js::jsapi::JS_GetFunctionObject;
use js::jsapi::JS_IsExceptionPending;
use js::jsapi::JS_NewObjectWithUniqueType;
use ... | 2 | 19 | 41 |
6c4b54b5a02bc1d1ff0e886b4e64e6eedae3c39b | Ms2ger | 2015-10-25T10:09:11 | servo: Merge #8186 - Remove an unnecessary Atom::clone() call (from Ms2ger:rm-clone); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 4b5bc4f9a95aa8aa1497ff2545ff7ed018d3c650 | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 7dde0fe69..d88645b9c 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -945,7 +945,7 @@ impl LayoutTask {
// TODO: we will return neither the computed nor used value for margin and padding.
// Firefox returns blank string... | 1 | 2 | 2 |
b91102b345a4e5ddde5f4a68e0354af6f5ffc579 | Eli Friedman | 2015-10-25T01:20:04 | servo: Merge #8073 - Make unrooted_must_root a bit more aggressive (from eefriedman:root-lint); r=Manishearth
Basically, instead of trying to check for specific kinds of statements,
just check the types of all local variables.
Also included are some commented-out proposals for some slightly more
aggressive lints whic... | diff --git a/plugins/lints/unrooted_must_root.rs b/plugins/lints/unrooted_must_root.rs
index bb599e845..5b6e16c99 100644
--- a/plugins/lints/unrooted_must_root.rs
+++ b/plugins/lints/unrooted_must_root.rs
@@ -8,7 +8,7 @@ use rustc::middle::ty;
use rustc_front::{hir, visit};
use syntax::attr::AttrMetaMethods;
use syn... | 7 | 95 | 89 |
a96419ad171f2b7b028bc82dd54487c049763456 | Corey Farwell | 2015-10-24T22:25:09 | servo: Merge #8181 - Remove unnecessary allocation with getElementById (from frewsxcv:no-alloc-get-element-by-id); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 3b50f219631ee8b8746199ef2bc1d60c716295ea | diff --git a/script/dom/document.rs b/script/dom/document.rs
index e8c23b599..23d455a19 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -419,7 +419,7 @@ impl Document {
/// Attempt to find a named element in this page's document.
/// https://html.spec.whatwg.org/multipage/#the-indicated-pa... | 1 | 6 | 3 |
8f42597807b4e2a515b6c520341ced5f6625eae2 | Ms2ger | 2015-10-23T22:49:28 | servo: Merge #8171 - Remove the default implementation of Reflectable::init_reflector (from Ms2ger:reflector); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 354e75a447c8afc7757d0340c03119de853110f5 | diff --git a/script/dom/bindings/global.rs b/script/dom/bindings/global.rs
index cfb1acb99..a1a1c68c8 100644
--- a/script/dom/bindings/global.rs
+++ b/script/dom/bindings/global.rs
@@ -196,10 +196,9 @@ impl<'a> GlobalRef<'a> {
GlobalRef::Worker(worker) => worker.set_devtools_wants_updates(send_updates),
... | 2 | 3 | 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.