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
e9864d6fcfa4107c897463a5ed7d58933f6917f3
Ms2ger
2014-11-05T19:57:37
servo: Merge #3898 - Pass the correct argument to Element::create when cloning (from Ms2ger:prefix-clone); r=jdm The current code calls as_slice() on the Option, yielding &[DOMString], and then calls to_string, yielding "[prefix]". Source-Repo: https://github.com/servo/servo Source-Revision: 76cc006a40d7242e64c6c12f0...
diff --git a/script/dom/node.rs b/script/dom/node.rs index 938404bdc..c1b3ffc79 100644 --- a/script/dom/node.rs +++ b/script/dom/node.rs @@ -1516,7 +1516,7 @@ impl Node { local: element.local_name().clone() }; let element = Element::create(name, - ...
1
1
1
e59fa8599103fcee829b9d06e8de9a494a22a32f
Keegan McAllister
2014-11-05T19:21:42
servo: Merge #3900 - Only print HTML parse errors with RUST_LOG=script::parse (from kmcallister:parse-error); r=Ms2ger r? @ms2ger Source-Repo: https://github.com/servo/servo Source-Revision: 390e1115375fc887912961baff0ad626e7192cf8
diff --git a/script/parse/html.rs b/script/parse/html.rs index 94ce2e2cf..71792097b 100644 --- a/script/parse/html.rs +++ b/script/parse/html.rs @@ -136,7 +136,7 @@ impl<'a> TreeSink<TrustedNodeAddress> for servohtmlparser::Sink { } fn parse_error(&mut self, msg: MaybeOwned<'static>) { - error!("Pars...
1
1
1
0dfff05d4e0dabf1a6af3884271af26f622636de
Ms2ger
2014-11-05T18:12:40
servo: Merge #3897 - Re-enable reflection-forms.html and make it not crash (from Ms2ger:enable-reflection); r=Manishearth Source-Repo: https://github.com/servo/servo Source-Revision: fba6cb9c429d5f27a1f7520bf2c35b58b0a8f250
diff --git a/script/dom/element.rs b/script/dom/element.rs index b31797456..9c02a92d6 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -509,7 +509,7 @@ impl<'a> AttributeHandlers for JSRef<'a, Element> { value: DOMString) -> AttrValue { if *namespace == ns!("") { ...
4
23
12
9b67405ef5c9217ef7ecaddad1393f94eec0a482
Ms2ger
2014-11-05T17:36:38
servo: Merge #3896 - Defer to GetAttribute in HasAttribute (from Ms2ger:attr-crash); r=jdm The semantics of has_attribute aren't anywhere close to the ones expected for Element#hasAttribute, and it fails an assertion when passed non-lower-case names. Source-Repo: https://github.com/servo/servo Source-Revision: b27ec2...
diff --git a/script/dom/element.rs b/script/dom/element.rs index a81c515ae..b31797456 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -854,16 +854,7 @@ impl<'a> ElementMethods for JSRef<'a, Element> { // http://dom.spec.whatwg.org/#dom-element-hasattribute fn HasAttribute(self, name: DOMSt...
1
1
10
0a0d7eaab43ecede9ed5cd2a0abfe1e8d6cf7fea
Patrick Walton
2014-11-05T17:00:54
servo: Merge #3890 - gfx: Micro-optimize `DList` and `StackingContext` a bit (from pcwalton:microoptimize-dlist); r=glennw I'm sad to say that this improved performance significantly. A lot of this win is due to the Rust compiler not being smart about not zeroing objects out if it doesn't need to. r? @glennw Source-...
diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs index 7caa38354..75861005d 100644 --- a/gfx/display_list/mod.rs +++ b/gfx/display_list/mod.rs @@ -95,31 +95,34 @@ struct StackingContext { } impl StackingContext { - /// Creates a stacking context from a display list, consuming that display list in t...
2
50
49
699e0cc3ff7017ef64925dab2997913cd091a19f
Martin Robinson
2014-11-04T18:36:30
servo: Merge #3879 - Corral debug command-line options into a --debug/-Z flag (from mrobinson:debug-options); r=cgaebel This should make help output a lot cleaner and simplify the way that uncommon debug options are passed. Source-Repo: https://github.com/servo/servo Source-Revision: e483a189a3c24d0fe475cf2a8dedb1182...
diff --git a/util/opts.rs b/util/opts.rs index 175612ebd..ab744ada5 100644 --- a/util/opts.rs +++ b/util/opts.rs @@ -11,6 +11,7 @@ use geom::scale_factor::ScaleFactor; use geom::size::TypedSize2D; use layers::geometry::DevicePixel; use getopts; +use std::collections::HashSet; use std::cmp; use std::io; use std::m...
1
43
17
2844a5e608d7340e22c1c4688839e48acb18dc53
Mukilan Thiyagarajan
2014-11-04T12:06:34
servo: Merge #3732 - Fix race condition in XHR and handle other abort/open scenarios (from mukilan:xhr-issue-3630); r=jdm This fixes issue #3630 A short summary of the changes: * Use atomic generation id to cancel inflight requests * Handles nested calls to abort, open, send inside handlers * Adds XHRReleaseMsg to del...
diff --git a/script/dom/dedicatedworkerglobalscope.rs b/script/dom/dedicatedworkerglobalscope.rs index 6dafca0f8..9bf06024d 100644 --- a/script/dom/dedicatedworkerglobalscope.rs +++ b/script/dom/dedicatedworkerglobalscope.rs @@ -19,7 +19,7 @@ use dom::workerglobalscope::DedicatedGlobalScope; use dom::workerglobalscope...
3
240
133
e6c93ec61c1f93e57c3b84947da617d6916a9216
Clark Gaebel
2014-11-04T01:30:35
servo: Merge #3880 - Implements case insensitive font family names (from cgaebel:case-insensitive-font-family-matching); r=glennw,glennw One part (of 8!) of css font family disambiguation is that font families should be matched case-insensitively. This patch implements that. Once it lands, a bug needs to be filed to ...
diff --git a/gfx/font_cache_task.rs b/gfx/font_cache_task.rs index 6c524289d..3941f870f 100644 --- a/gfx/font_cache_task.rs +++ b/gfx/font_cache_task.rs @@ -8,12 +8,14 @@ use platform::font_list::get_variations_for_family; use platform::font_list::get_last_resort_font_families; use platform::font_context::FontContext...
4
41
14
8d6d4d4a5e9ebc6fef8e7da8c476f9d054a3a1f6
Cameron Zwarich
2014-11-03T23:54:31
servo: Merge #3878 - Remove InputFragment (from zwarich:remove-input-fragment); r=jdm Fixes #3724. Source-Repo: https://github.com/servo/servo Source-Revision: 39960f32e49c69977b185f91e587c9947b0b9a25
diff --git a/layout/construct.rs b/layout/construct.rs index 71b199af1..0c8661847 100644 --- a/layout/construct.rs +++ b/layout/construct.rs @@ -24,7 +24,7 @@ use flow_ref::FlowRef; use fragment::{Fragment, GenericFragment, IframeFragment, IframeFragmentInfo, ImageFragment}; use fragment::{ImageFragmentInfo, InlineAb...
3
15
19
c4e088de7cf9486b4684d4296ac19c4ec8f999c7
Patrick Walton
2014-11-03T22:48:34
servo: Merge #3835 - script: Implement various microoptimizations (from pcwalton:script-microoptzns); r=Ms2ger This is a grab bag of various microoptimizations for script that I came across when profiling our performance on RoboHornet. r? @jdm Source-Repo: https://github.com/servo/servo Source-Revision: 69f8b46f362a...
diff --git a/script/dom/bindings/js.rs b/script/dom/bindings/js.rs index 14f717f74..2cd327397 100644 --- a/script/dom/bindings/js.rs +++ b/script/dom/bindings/js.rs @@ -53,7 +53,8 @@ use js::jsapi::JSObject; use layout_interface::TrustedNodeAddress; use script_task::StackRoots; -use std::cell::{Cell, RefCell}; +use...
7
83
51
fc46d8ee724abc77224c8f9fa4b157299828e650
Clark Gaebel
2014-11-03T20:18:33
servo: Merge #3875 - Removes the useless 'static constraint on SmallVec (from cgaebel:remove-static-constraint-on-smallvec); r=jdm It was likely added accidentally after a rustc upgrade. r? @jdm Source-Repo: https://github.com/servo/servo Source-Revision: 97d57689e96e3ec904916cc703bc7878675cfe5d
diff --git a/util/smallvec.rs b/util/smallvec.rs index b1fbffb20..b8f1e62e0 100644 --- a/util/smallvec.rs +++ b/util/smallvec.rs @@ -57,7 +57,7 @@ pub trait SmallVecPrivate<T> { unsafe fn set_ptr(&mut self, new_ptr: *mut T); } -pub trait SmallVec<T> : SmallVecPrivate<T> where T: 'static { +pub trait SmallVec<T>...
1
13
13
8bf3ab581d290e1b49c1237192c6daffa2c769c6
Keegan McAllister
2014-11-03T19:39:34
servo: Merge #3872 - More useful stb-image error handling (from kmcallister:stb-error); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: cef58ccf29865ba894469f0e2884eb2598ac2c16
diff --git a/net/image/base.rs b/net/image/base.rs index 82215be9e..affbd705a 100644 --- a/net/image/base.rs +++ b/net/image/base.rs @@ -75,8 +75,14 @@ pub fn load_from_memory(buffer: &[u8]) -> Option<Image> { pixels: png::RGBA8(image.data) }) } - stb_image:...
1
8
2
b5dc76dd756842b3ea2029134798b6caddaaabe4
Martin Robinson
2014-11-03T19:03:37
servo: Merge #3857 - Have ContentBox(es)Queries consult the flow tree (from mrobinson:queries); r=pcwalton Instead of looking at the display tree, have ContentBox(es)Query consult the flow tree. This allow optimizing away parts of the display tree later. To do this we need to be more careful about how we send reflow r...
diff --git a/layout/block.rs b/layout/block.rs index b0ba90c27..883568264 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -35,7 +35,8 @@ use floats::{ClearBoth, ClearLeft, ClearRight, FloatKind, FloatLeft, Floats, Pla use flow::{BaseFlow, BlockFlowClass, FlowClass, Flow, ImmutableFlowUtils}; use flow::{MutableF...
19
374
213
dc6109eed71af83270d5d7696c19b0a63a947382
Ms2ger
2014-11-03T18:27:38
servo: Merge #3863 - Cleanup the implementation of HTMLTableElement::GetCaption (from Ms2ger:cleanup-caption); r=Manishearth Source-Repo: https://github.com/servo/servo Source-Revision: 169e6a2297b354dddcb4639ebd982ed11b484541
diff --git a/script/dom/htmltableelement.rs b/script/dom/htmltableelement.rs index b39c8ebb3..7dddf98bd 100644 --- a/script/dom/htmltableelement.rs +++ b/script/dom/htmltableelement.rs @@ -9,7 +9,6 @@ use dom::bindings::codegen::Bindings::NodeBinding::NodeMethods; use dom::bindings::js::{JSRef, Temporary}; use dom::b...
1
4
6
93b8b1571b4196b53200dec2307a39f26967f571
Manish Goregaokar
2014-11-03T17:54:35
servo: Merge #3862 - Remove suggestion to use #[must_root] for functions (from Manishearth:lint-fix); r=jdm The correct thing to do here is to use `#[allow(unrooted_must_root)]` (the warning already mentions this). `#[must_root]` on functions does nothing. Source-Repo: https://github.com/servo/servo Source-Revision: ...
diff --git a/plugins/lints.rs b/plugins/lints.rs index 01d6a81a7..fbd229f89 100644 --- a/plugins/lints.rs +++ b/plugins/lints.rs @@ -112,7 +112,7 @@ impl LintPass for UnrootedPass { ast::DefaultBlock => { for arg in decl.inputs.iter() { lint_unrooted_ty(cx, &*arg.ty, -...
1
1
1
16fc924f64cd31809d97286eb2c594c52f5989fe
Ms2ger
2014-11-02T21:51:33
servo: Merge #3871 - Cleanup some code in node.rs (from Ms2ger:node-cleanup); r=Ms2ger Source-Repo: https://github.com/servo/servo Source-Revision: 1a3ff8739c2a17d61f295f213f31ddee25e0b3ae
diff --git a/script/dom/node.rs b/script/dom/node.rs index 23041d58a..af1afccc3 100644 --- a/script/dom/node.rs +++ b/script/dom/node.rs @@ -59,7 +59,7 @@ use libc; use libc::{uintptr_t, c_void}; use std::cell::{Cell, RefCell, Ref, RefMut}; use std::default::Default; -use std::iter::{Map, Filter, Peekable}; +use std...
1
15
21
dfe12b5070f974c693c1b951d150fb77a79af043
Mitchell Van Der Hoeff
2014-11-02T20:39:35
servo: Merge #3870 - Initialize 'cancelable' to false in Event::new_inherited (from mvanderh:master); r=Ms2ger Fixes #3855. I'm not sure if this is the right place to set `cancelable`. If changing the default value in `Event::new_inherited` is not satisfactory, it will be possible to set the `Cell`'s value to `false`...
diff --git a/script/dom/event.rs b/script/dom/event.rs index bb87993a3..d6dc2cfe0 100644 --- a/script/dom/event.rs +++ b/script/dom/event.rs @@ -77,7 +77,7 @@ impl Event { phase: Cell::new(PhaseNone), type_: DOMRefCell::new("".to_string()), canceled: Cell::new(false), - ...
1
1
1
9f9686a270c9d6fadc9500f17970e272a2c9151b
Patrick Walton
2014-10-31T20:00:39
servo: Merge #3830 - layout: Employ a persistent list data structure to avoid copying floats all the time (from pcwalton:persistent-list-floats); r=kmcallister r? @kmcallister Source-Repo: https://github.com/servo/servo Source-Revision: 4418a28e7a67ade0f976405ad889b005f9d291b5
diff --git a/layout/floats.rs b/layout/floats.rs index 7a212c5e2..a72247e0d 100644 --- a/layout/floats.rs +++ b/layout/floats.rs @@ -5,11 +5,11 @@ use servo_util::geometry::Au; use servo_util::logical_geometry::WritingMode; use servo_util::logical_geometry::{LogicalPoint, LogicalRect, LogicalSize}; +use servo_util::...
3
177
106
487b5d4d978c74d9809857ad7fd7e886bca82737
Patrick Walton
2014-10-31T17:48:36
servo: Merge #3834 - util: Add a `Show` implementation to `SmallVec` (from pcwalton:smallvec-debugging); r=pcwalton r? @cgaebel Source-Repo: https://github.com/servo/servo Source-Revision: 72f6e14f0b8c42267b55227213060358f7cb2278
diff --git a/util/smallvec.rs b/util/smallvec.rs index f0767c3ec..b1fbffb20 100644 --- a/util/smallvec.rs +++ b/util/smallvec.rs @@ -7,6 +7,7 @@ use std::mem::init as i; use std::cmp; +use std::fmt; use std::intrinsics; use std::kinds::marker::ContravariantLifetime; use std::mem; @@ -435,6 +436,12 @@ macro_rules...
1
7
0
8cc220ace554df00a3dc891a8d0f32004a614c8d
Patrick Walton
2014-10-31T17:15:38
servo: Merge #3833 - gfx: Enhance display list debugging a bit with support for dumping stacking levels, etc (from pcwalton:display-list-debugging); r=mrobinson r? @mrobinson Source-Repo: https://github.com/servo/servo Source-Revision: b116a6fce647c75db8b7329763236971d28eb7dd
diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs index 16b40d0b7..bdc136f37 100644 --- a/gfx/display_list/mod.rs +++ b/gfx/display_list/mod.rs @@ -141,7 +141,7 @@ impl ScaledFontExtensionMethods for ScaledFont { } /// "Steps" as defined by CSS 2.1 § E.2. -#[deriving(Clone, PartialEq)] +#[deriving(Clon...
1
6
7
f09b9047d6801c776b88067ea0a602eff187bcc7
Bruno de Oliveira Abinader
2014-10-31T15:42:42
servo: Merge #3864 - Node's ChildElementIterator is now peekable (from brunoabinader:node-peekable-childelement); r=Ms2ger This change avoid using ```child_elements().count() > 0``` approach (using ```child_elements().peek().is_some()``` instead). Source-Repo: https://github.com/servo/servo Source-Revision: 20b2fae23...
diff --git a/script/dom/node.rs b/script/dom/node.rs index 2375037ee..23041d58a 100644 --- a/script/dom/node.rs +++ b/script/dom/node.rs @@ -59,7 +59,7 @@ use libc; use libc::{uintptr_t, c_void}; use std::cell::{Cell, RefCell, Ref, RefMut}; use std::default::Default; -use std::iter::{Map, Filter}; +use std::iter::{M...
1
20
24
0637c94f8bb385a80d6b8187cb6427f692230c6e
Patrick Walton
2014-10-30T22:33:36
servo: Merge #3838 - layout: Support more types of selectors for style sharing (from pcwalton:style-sharing-enhancements); r=SimonSapin This helps avoid problems with style sharing in common cases, often caused by the user agent stylesheet. r? @SimonSapin Source-Repo: https://github.com/servo/servo Source-Revision: ...
diff --git a/layout/css/matching.rs b/layout/css/matching.rs index 6a690114d..29c4f5208 100644 --- a/layout/css/matching.rs +++ b/layout/css/matching.rs @@ -19,10 +19,10 @@ use servo_util::arc_ptr_eq; use std::mem; use std::hash::{Hash, sip}; use std::slice::Items; -use style::{After, Before, ComputedValues, Declara...
3
146
10
fd7916ba0a82fda44bff3cd833863debd356b300
Bruno de Oliveira Abinader
2014-10-30T21:18:36
servo: Merge #3859 - Cleanup Element's AttributeHandlers (from brunoabinader:element-notify-content-changed); r=Ms2ger Remove ```notify_attribute_{changed,removed}``` in favor of a unified ```notify_content_changed```. In the future, whether we decide to specialize ```document.content_changed()```, it'll be just a mat...
diff --git a/script/dom/element.rs b/script/dom/element.rs index 9da8bcbfd..a81c515ae 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -419,9 +419,8 @@ pub trait AttributeHandlers { value: DOMString) -> AttrValue; fn remove_attribute(self, namespace: Namespace, name: &str...
1
8
19
9f02a248b8c576afbd3845805da96c3a0ddee898
Ms2ger
2014-10-30T18:27:35
servo: Merge #3856 - Format Element#tagName correctly when there's a prefix (from Ms2ger:tagname); r=Manishearth format!("{}", atom) yields strings like "Atom('span' type=Inline)", which is not intended here. Source-Repo: https://github.com/servo/servo Source-Revision: 7de9ed5fc7a3061676d9fd02dfc788e196c7123c
diff --git a/script/dom/element.rs b/script/dom/element.rs index 723fc38dd..9da8bcbfd 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -668,7 +668,11 @@ impl<'a> ElementMethods for JSRef<'a, Element> { // http://dom.spec.whatwg.org/#dom-element-tagname fn TagName(self) -> DOMString { ...
1
5
1
aac7d350b6a00f103fda65a67278b8478ca60a92
Ms2ger
2014-10-30T17:06:36
servo: Merge #3853 - Move build_element_from_tag out of the HTML parser (from Ms2ger:create); r=Manishearth This function is not particular to the parser, so should live in the DOM. Source-Repo: https://github.com/servo/servo Source-Revision: 2c6859937354760f2d175c60bad1daa16bd2ed22
diff --git a/script/dom/create.rs b/script/dom/create.rs new file mode 100644 index 000000000..24f04fcbc --- /dev/null +++ b/script/dom/create.rs @@ -0,0 +1,225 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, Yo...
7
248
166
6ab06ed29e19e50e09185595be72e75f868c18f2
Glenn Watson
2014-10-30T05:33:35
servo: Merge #3851 - Update to use new GL bindings (from glennw:servo_gl); r=glennw,metajack Source-Repo: https://github.com/servo/servo Source-Revision: f9b84fd8704e249682cc12dfeb2da61b39a88d92
diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml index 83a4bbee5..47f732d9c 100644 --- a/compositing/Cargo.toml +++ b/compositing/Cargo.toml @@ -43,9 +43,6 @@ git = "https://github.com/servo/rust-geom" [dependencies.layers] git = "https://github.com/servo/rust-layers" -[dependencies.opengles] -git = "ht...
3
24
23
baf493ece7060df0a7a367ab7707d50f3909290a
Matt Brubeck
2014-10-29T21:51:41
servo: Merge #3721 - Synchronous script loading during HTML parsing (from mbrubeck:script-sync); r=Ms2ger Fixes #3356. This makes script elements fetch their source synchronously and execute immediately by default. It also lays some groundwork for future deferred or async script loading. (Depends on #3716 to fix a ...
diff --git a/script/dom/document.rs b/script/dom/document.rs index 90c0ae5a5..76505df71 100644 --- a/script/dom/document.rs +++ b/script/dom/document.rs @@ -55,7 +55,7 @@ use dom::range::Range; use dom::treewalker::TreeWalker; use dom::uievent::UIEvent; use dom::window::{Window, WindowHelpers}; -use parse::html::bui...
8
259
189
0bd8cf4f347275ea415a89c4abbbed992b81b842
nchinth
2014-10-29T20:36:45
servo: Merge #3718 - M1452: Initial Step of Integrate an XML parser (from juzer10:master); r=jdm We have created parser trait and declared parse_chunk function in this trait. We are yet to implement this parse_chunk for ServoHTMLParser struct. Source-Repo: https://github.com/servo/servo Source-Revision: 5858fccf873ce...
diff --git a/script/dom/servohtmlparser.rs b/script/dom/servohtmlparser.rs index 88f0c9c82..f88c07774 100644 --- a/script/dom/servohtmlparser.rs +++ b/script/dom/servohtmlparser.rs @@ -14,6 +14,7 @@ use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use dom::node::TrustedNodeAddress; use dom::doc...
4
26
7
e53f50dc7ff10b889b1c73355b834dae87ad09fa
Clark Gaebel
2014-10-29T18:42:44
servo: Merge #3836 - layout: Actually calculate restyle damage while styling (from cgaebel:calculate-restyle-damage); r=pcwalton ...oops. Looks like I forgot to do this. r? @pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: fec3d53b1ecd170fc63eb305b6bb3c6bc3bf186d
diff --git a/layout/css/matching.rs b/layout/css/matching.rs index f41193400..6a690114d 100644 --- a/layout/css/matching.rs +++ b/layout/css/matching.rs @@ -5,8 +5,10 @@ //! High-level interface to CSS selector matching. use css::node_style::StyledNode; +use incremental; +use incremental::RestyleDamage; use util::...
1
49
41
9e28c8c735bbe600c3bab4e91c1a8e15a00c6729
Patrick Walton
2014-10-29T02:42:38
servo: Merge #3843 - layout: Promote absolute positioning, floatedness, and clearance into flags to avoid virtual calls (from pcwalton:flagify-display-and-position); r=glennw These were showing up really high in the maze solver profile. r? @glennw Source-Repo: https://github.com/servo/servo Source-Revision: 9f248378...
diff --git a/layout/block.rs b/layout/block.rs index 1fd17ad5e..75b19963d 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -29,6 +29,7 @@ use construct::FlowConstructor; use context::LayoutContext; +use css::node_style::StyledNode; use display_list_builder::{BlockFlowDisplayListBuilding, FragmentDisplayListBu...
7
156
133
984ab6ad01a54921a4f8696946ec007c97d9f147
Patrick Walton
2014-10-29T01:12:39
servo: Merge #3841 - layout: Stop adding damage when removing whitespace (from pcwalton:removing-whitespace-damage); r=cgaebel Avoids total reflow of the entire document on the maze solver. I have tested Wikipedia reflow and it still works. r? @cgaebel Source-Repo: https://github.com/servo/servo Source-Revision: c2...
diff --git a/layout/construct.rs b/layout/construct.rs index da31fcf1a..28666be03 100644 --- a/layout/construct.rs +++ b/layout/construct.rs @@ -306,15 +306,13 @@ impl<'a> FlowConstructor<'a> { match whitespace_stripping { NoWhitespaceStripping => {} StripWhitespaceFromStart => { - ...
1
6
18
b5af1897692aeebb1360e2fffd922c4807d031b3
Patrick Walton
2014-10-29T00:36:41
servo: Merge #3840 - layout: Put {ib} splits into a linked list so we stop copying them all the time (from pcwalton:ib-splits-linked-list); r=glennw r? @glennw Source-Repo: https://github.com/servo/servo Source-Revision: 08288fea411e001da9b35204ccf66f29c1d7dae6
diff --git a/layout/construct.rs b/layout/construct.rs index 7a3c3c7f1..da31fcf1a 100644 --- a/layout/construct.rs +++ b/layout/construct.rs @@ -113,7 +113,7 @@ pub enum ConstructionItem { #[deriving(Clone)] pub struct InlineFragmentsConstructionResult { /// Any {ib} splits that we're bubbling up. - pub split...
1
5
5
c2d32da2d368b580ff1b85af8b432722e076c778
Patrick Walton
2014-10-28T23:57:43
servo: Merge #3839 - layout: Use the new `append_from` method to get rid of a bunch of moves in display list construction (from pcwalton:fewer-moves-in-dls); r=glennw These were showing up in the profile. r? @glennw Source-Repo: https://github.com/servo/servo Source-Revision: 651ef60b1cbf5e7dc45d7121d6f159f3fbf0d055
diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs index d219ab26c..16b40d0b7 100644 --- a/gfx/display_list/mod.rs +++ b/gfx/display_list/mod.rs @@ -19,16 +19,16 @@ use render_context::RenderContext; use text::glyph::CharIndex; use text::TextRun; -use collections::dlist::DList; -use collections::dlist; ...
4
96
99
fcb9cf4e4ed9644077197c62de35dabf4f0beff1
Patrick Walton
2014-10-28T23:21:48
servo: Merge #3837 - layout: Make some formatting cleanups (from pcwalton:layout-formatting-cleanups); r=metajack These should have no effect on functionality. r? @metajack Source-Repo: https://github.com/servo/servo Source-Revision: 4bdd9a5ec02526b9a407b23dcbf95cc570e6fa56
diff --git a/layout/block.rs b/layout/block.rs index 6887895f0..1fd17ad5e 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -436,7 +436,7 @@ impl<'a> PreorderFlowTraversal for AbsoluteAssignBSizesTraversal<'a> { } let AbsoluteAssignBSizesTraversal(ref ctx) = *self; - block_flow.calculate_...
8
147
108
5eb78d4386979e844f51d84cc94351a2b32d7810
Clark Gaebel
2014-10-28T22:36:47
servo: Merge #3829 - util: Primarily fixes a bug where SmallVec.into_iter just doesn't work (from cgaebel:fix-into_iter); r=pcwalton into_iter used to use `inline_size` as the capacity insetad of the actual capacity. This patch fixes that, adds some utility methods to `SmallVec` to bring it closer in functionality to ...
diff --git a/util/smallvec.rs b/util/smallvec.rs index 5185c4ee5..f0767c3ec 100644 --- a/util/smallvec.rs +++ b/util/smallvec.rs @@ -12,7 +12,6 @@ use std::kinds::marker::ContravariantLifetime; use std::mem; use std::ptr; use std::raw::Slice; -use rustrt::local_heap; use alloc::heap; // Generic code for all smal...
1
49
24
0d9dd157d79a89758a7dcaf4e8ea154245cc7092
Glenn Watson
2014-10-28T21:36:51
servo: Merge #3708 - Add task profiler, which works by instrumenting each task runtime when enabled (from glennw:thread_profiler); r=pcwalton @pcwalton - I'm not sure if there's any gotchas or downsides to profiling using this technique to instrument the runtime. Happy to close this if it doesn't seem like a good idea...
diff --git a/util/lib.rs b/util/lib.rs index 0c5c5f65e..364a7e927 100644 --- a/util/lib.rs +++ b/util/lib.rs @@ -30,6 +30,8 @@ extern crate url; #[phase(plugin)] extern crate string_cache_macros; +#[phase(plugin)] +extern crate lazy_static; use std::sync::Arc; @@ -45,6 +47,7 @@ pub mod namespace; pub mod opts...
4
233
10
f5e495bab81ff82bb103485e1c6d2d0183839622
Patrick Walton
2014-10-28T20:27:54
servo: Merge #3832 - gfx: Inline a few commonly-used methods that were showing up in profiles (from pcwalton:display-list-inline); r=mrobinson r? @mrobinson (or whoever) Source-Repo: https://github.com/servo/servo Source-Revision: 3aad350a648bd69ca3410011f6e7eccf5813cb31
diff --git a/gfx/color.rs b/gfx/color.rs index 83d34f2e3..20be79164 100644 --- a/gfx/color.rs +++ b/gfx/color.rs @@ -7,6 +7,7 @@ use azure::azure_hl::Color as AzColor; pub type Color = AzColor; +#[inline] pub fn rgb(r: u8, g: u8, b: u8) -> AzColor { AzColor { r: (r as AzFloat) / (255.0 as AzFloat), ...
2
7
0
b67c2069d806055f19fe9fc424ef4a301893c0b0
Patrick Walton
2014-10-28T19:48:58
servo: Merge #3831 - util: Add a method to push all elements from another doubly-linked list without any moves (from pcwalton:append-from); r=mbrubeck This is tracked upstream as Rust bug #18402. r? @mbrubeck Source-Repo: https://github.com/servo/servo Source-Revision: c109f6ff772c75cc79b10cfdf8ebccdec9b8465e
diff --git a/util/dlist.rs b/util/dlist.rs index 14a1b5d4c..420a77a26 100644 --- a/util/dlist.rs +++ b/util/dlist.rs @@ -66,3 +66,29 @@ pub fn split<T>(list: &mut DList<T>) -> DList<T> { } } +/// Appends the items in the other list to this one, leaving the other list empty. +#[inline] +pub fn append_from<T>(thi...
1
26
0
e208e7251f8be6bfbe6c00b1b1fe5f6a548ed009
Clark Gaebel
2014-10-28T19:12:52
servo: Merge #3828 - layout: Implement flow tree dumping with RUST_LOG=debug is on (from cgaebel:layout-node-dumping); r=pcwalton r? @pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: 2d8bd10abefe5cee9b60900911d41bb47323d248
diff --git a/layout/layout_task.rs b/layout/layout_task.rs index 7768ae519..d35aed10b 100644 --- a/layout/layout_task.rs +++ b/layout/layout_task.rs @@ -31,6 +31,7 @@ use gfx::render_task::{RenderInitMsg, RenderChan, RenderLayer}; use gfx::{render_task, color}; use layout_traits; use layout_traits::{LayoutControlMsg...
5
29
10
f25c84f36610224b54d544018e6625a68377fe35
Glenn Watson
2014-10-28T18:36:51
servo: Merge #3823 - If opts is retrieved, but not set by platform layer, return a default set (from glennw:default-opts); r=mbrubeck This is required for unit tests like the image cache task, which can pass through code paths that query the command line options. Source-Repo: https://github.com/servo/servo Source-Rev...
diff --git a/util/opts.rs b/util/opts.rs index 4b75a120d..f8b7ff621 100644 --- a/util/opts.rs +++ b/util/opts.rs @@ -122,6 +122,35 @@ static FORCE_CPU_PAINTING: bool = true; #[cfg(not(target_os="android"))] static FORCE_CPU_PAINTING: bool = false; +fn default_opts() -> Opts { + Opts { + urls: vec!(), + ...
1
36
1
9767573763e7acd11b1aa106ca24ea8d1ac10ad2
Clark Gaebel
2014-10-28T18:00:51
servo: Merge #3826 - Layout: Fix resize (which just plain doesn't work right now) (from cgaebel:fix-resize); r=pcwalton Currently, both restyle/flow construction _and_ reflow are skipped during resize. Reflow should not be in that list. This patch fixes that. Source-Repo: https://github.com/servo/servo Source-Revisio...
diff --git a/layout/layout_task.rs b/layout/layout_task.rs index db47f9e58..7768ae519 100644 --- a/layout/layout_task.rs +++ b/layout/layout_task.rs @@ -11,6 +11,7 @@ use context::SharedLayoutContext; use flow::{Flow, ImmutableFlowUtils, MutableFlowUtils, MutableOwnedFlowUtils}; use flow; use flow_ref::FlowRef; +use...
1
41
15
602dec225ff33a4bf6f93c6f8438f2ebdf6e63c1
Clark Gaebel
2014-10-28T17:24:43
servo: Merge #3827 - Run all task spawning through util, to allow for easy hooking (from cgaebel:use-custom-spawn); r=pcwalton During debugging, I found it useful to hook all task creation in a central location, and util::task was the perfect place for it. r? @pcwalton (or maybe someone else, I'm kinda sending you a ...
diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml index 7b80f00f1..8aba12c4b 100644 --- a/canvas/Cargo.toml +++ b/canvas/Cargo.toml @@ -12,3 +12,6 @@ git = "https://github.com/servo/rust-azure" [dependencies.geom] git = "https://github.com/servo/rust-geom" + +[dependencies.util] +path = "../util" \ No newline at e...
13
46
36
8a885ba0df6a49e614d7a2703dcfe463df9ee763
Martin Robinson
2014-10-28T15:39:43
servo: Merge #3819 - Combine all layer methods into a CompositorLayer trait (from mrobinson:clean-up-events); r=pcwalton There are many function and methods that operate on a single layer, that can really just be methods on a CompositorLayer trait. This greatly simplifies the way that Compositor interacts with its chi...
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index ab959f17a..16d81c4c6 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -2,14 +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/2.0/. */ ...
5
446
435
431aa9e8c491760909d8bdd641775e31f8126893
Clark Gaebel
2014-10-28T00:06:43
servo: Merge #3820 - Rebase Laleh's #3505 (from cgaebel:rebase-lalehs-patch); r=pcwalton I addressed all but one of the code review comments, which was a request for documentation on where a number came from (which I'm not qualified to answer), and rebased this on to latest master. xref: #3505 cc: @LalehB @larsbergst...
diff --git a/util/workqueue.rs b/util/workqueue.rs index 3a0b3e32f..8708d8585 100644 --- a/util/workqueue.rs +++ b/util/workqueue.rs @@ -16,6 +16,7 @@ use std::rand::weak_rng; use std::sync::atomics::{AtomicUint, SeqCst}; use std::sync::deque::{Abort, BufferPool, Data, Empty, Stealer, Worker}; use std::task::TaskBui...
1
14
1
82d95b604d35aca8d1b15076455599fb4f4151c2
Ms2ger
2014-10-26T21:33:38
servo: Merge #3815 - Cleanup some code in image_cache_task.rs (from Ms2ger:image-cache-task); r=glennw Source-Repo: https://github.com/servo/servo Source-Revision: 43830e9be9ecf30cf5ec46eb150123477de51d2a
diff --git a/net/image_cache_task.rs b/net/image_cache_task.rs index 878d6420c..56ce73350 100644 --- a/net/image_cache_task.rs +++ b/net/image_cache_task.rs @@ -253,13 +253,7 @@ impl ImageCache { debug!("image_cache_task: started fetch for {:s}", url.serialize()); let image =...
1
8
25
f1e69da33c982f45f5ed1823773e53911528e06a
Keegan McAllister
2014-10-25T00:09:27
servo: Merge #3797 - Debug-only dynamic checks for layout and GC use of DOMRefCell (from kmcallister:domrefcell); r=jdm r? @mbrubeck, @jdm Alternative to #3770 and #3716. Source-Repo: https://github.com/servo/servo Source-Revision: 0c12f630e6352fc2aa00b638d014b2505f68af1f
diff --git a/gfx/render_task.rs b/gfx/render_task.rs index 976a574f2..0662eef3d 100644 --- a/gfx/render_task.rs +++ b/gfx/render_task.rs @@ -30,6 +30,7 @@ use servo_util::geometry; use servo_util::opts; use servo_util::smallvec::{SmallVec, SmallVec1}; use servo_util::task::spawn_named_with_send_on_failure; +use serv...
12
297
49
6c65fab77165b8869bb343310ceb72b1a5813ef3
Josh Matthews
2014-10-24T20:39:33
servo: Merge #3803 - Add an optional --debug-mozjs argument to `mach build` that enables a no (from jdm:mozjsdebug); r=mbrubeck ...n-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support. Source-Repo: https://github.com/servo/servo Source-Revision: e100a1834f40599952a...
diff --git a/layout/block.rs b/layout/block.rs index 54d2bf08b..6887895f0 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -13,17 +13,17 @@ //! "CSS 2.1" or "CSS 2.2" refers to the editor's draft of the W3C "Cascading Style Sheets Level 2 //! Revision 2 (CSS 2.2) Specification" available here: //! -//! http...
4
16
13
edf83945624bb172da47636ef8fbd89f085417c9
Glenn Watson
2014-10-24T05:03:29
servo: Merge #3800 - Use WindowMethods to get native graphics metadata instead of relying on azure (from glennw:native-gfx-metadata); r=mbrubeck This is a prerequisite for glutin support. Tested on Linux, mac. Tested that android + cef build. Source-Repo: https://github.com/servo/servo Source-Revision: a2587462693bf...
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index dbae78226..ab959f17a 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -145,13 +145,13 @@ impl<Window: WindowMethods> IOCompositor<Window> { // display list. This is only here because we don't have that logic in th...
3
12
9
b1f9ddffd26922dc779661d0b030a7e1d917b227
Josh Matthews
2014-10-24T04:00:34
servo: Merge #3795 - Add layers dependency to util crate. Fixes #3783 (from jdm:utildeps); r=metajack Source-Repo: https://github.com/servo/servo Source-Revision: 5d78d018cedcca2fe7df90d2c97783c0bf08bdf3
diff --git a/util/Cargo.toml b/util/Cargo.toml index f25072f82..29fc71d25 100644 --- a/util/Cargo.toml +++ b/util/Cargo.toml @@ -10,6 +10,9 @@ path = "lib.rs" [dependencies.geom] git = "https://github.com/servo/rust-geom" +[dependencies.layers] +git = "https://github.com/servo/rust-layers" + [dependencies.task_inf...
1
3
0
fc06c7aeeb86aec176d4da34c7c2f1b11aeb8ef8
Josh Matthews
2014-10-24T00:00:36
servo: Merge #3791 - Really fix #3738 by only processing iframe src attributes during parsing (from jdm:moreiframe); r=Ms2ger .... Source-Repo: https://github.com/servo/servo Source-Revision: 39d5f09350e3ec251b9f16cb55a12febeeeda4f8
diff --git a/script/dom/htmliframeelement.rs b/script/dom/htmliframeelement.rs index 52ee5c56c..737f3340e 100644 --- a/script/dom/htmliframeelement.rs +++ b/script/dom/htmliframeelement.rs @@ -121,7 +121,7 @@ impl<'a> HTMLIFrameElementHelpers for JSRef<'a, HTMLIFrameElement> { })); let doc = documen...
1
1
1
9167ec56b304788104d4b483360b8f742a489839
Patrick Walton
2014-10-23T18:18:34
servo: Merge #3772 - layout: Shrink fragments down from 448 bytes to 128 bytes (from pcwalton:slim-down-fragment); r=metajack 16% performance improvement in layout (!) r? @metajack (or whoever) Source-Repo: https://github.com/servo/servo Source-Revision: 012a80cc182ea9773f82696bf36f05820ab994b3
diff --git a/layout/construct.rs b/layout/construct.rs index ca97d7e36..424826f5d 100644 --- a/layout/construct.rs +++ b/layout/construct.rs @@ -238,12 +238,12 @@ impl<'a> FlowConstructor<'a> { Some(url) => { // FIXME(pcwalton): The fact that image fragments store the cache within them mak...
8
128
88
4da2669f87dda50e9bde12b6f8370542294dca38
Ms2ger
2014-10-23T17:36:40
servo: Merge #3780 - Cleanup Document (from Ms2ger:cleanup-document); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 43b13e7548f16c0c2721120ebabd89e88ecaf17d
diff --git a/script/dom/browsercontext.rs b/script/dom/browsercontext.rs index 5984ec3b7..b663327d5 100644 --- a/script/dom/browsercontext.rs +++ b/script/dom/browsercontext.rs @@ -4,7 +4,7 @@ use dom::bindings::js::{JS, JSRef, Temporary}; use dom::bindings::utils::{Reflectable, WindowProxyHandler}; -use dom::docum...
8
51
57
7d2fd33f7b234e456c6f72306c22f8a30cb027ce
Tetsuharu OHZEKI
2014-10-23T04:30:29
servo: Merge #3776 - Macroize event handler getters and setters (from saneyuki:macro); r=jdm Fix #3755 This doesn't convert some specialized event handlers (e.g. `HTMLBodyElement`'s ones, `HTMLElement.GetOnload()`). Source-Repo: https://github.com/servo/servo Source-Revision: 470d27a6681b4647de64c085654403820d48f7af
diff --git a/script/dom/dedicatedworkerglobalscope.rs b/script/dom/dedicatedworkerglobalscope.rs index 1e81f8d9e..84fc77d02 100644 --- a/script/dom/dedicatedworkerglobalscope.rs +++ b/script/dom/dedicatedworkerglobalscope.rs @@ -170,15 +170,7 @@ impl<'a> DedicatedWorkerGlobalScopeMethods for JSRef<'a, DedicatedWorkerGl...
8
43
163
4b948a7a15d3f602f1880b888f7683be40c2f7f2
Clark Gaebel
2014-10-23T00:48:31
servo: Merge #3741 - Clear reflow flags after reflow (from cgaebel:clear-reflow-flags); r=pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: a07b80bd569608f10318bd3569450eb27e01603e
diff --git a/layout/block.rs b/layout/block.rs index 1f32e685b..54d2bf08b 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -1163,6 +1163,16 @@ impl BlockFlow { self.base.position.size.block = block_size; } + // Our inline-size was set to the inline-size of the containing block by the flow's pare...
3
43
18
cfc35bb007e08aeaad730c571d835c5e00d19841
Patrick Walton
2014-10-22T20:45:35
servo: Merge #3765 - util: Make some minor formatting cleanups to profiling and gfx (from pcwalton:profiler-cleanups); r=cgaebel The only real user-visible change this effects is to trim URLs to 30 characters so they don't make huge lines on the terminal. r? @cgaebel Source-Repo: https://github.com/servo/servo Sourc...
diff --git a/gfx/font_context.rs b/gfx/font_context.rs index e70e7de0f..5ad81019d 100644 --- a/gfx/font_context.rs +++ b/gfx/font_context.rs @@ -215,7 +215,8 @@ impl FontContext { /// reference if already used by this font context. pub fn get_render_font_from_template(&mut self, ...
2
13
7
391953387b5c5dfb90cffed6f96087bf21475220
Edit Balint
2014-10-22T19:36:38
servo: Merge #3774 - Make DOM getters that return &JS<T> return Temporary<T> instead #3707 (from ebalint:3707_DOM_getters); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 1bc9c049c6536bc102939fd97f4390eed3dcc2bf
diff --git a/script/dom/browsercontext.rs b/script/dom/browsercontext.rs index 1a64068bd..5984ec3b7 100644 --- a/script/dom/browsercontext.rs +++ b/script/dom/browsercontext.rs @@ -39,7 +39,7 @@ impl BrowserContext { pub fn active_window(&self) -> Temporary<Window> { let doc = self.active_document().roo...
3
4
4
ecdff3faf7cdb5645f5225e712dc788aec101a64
Bruno de Oliveira Abinader
2014-10-22T15:33:37
servo: Merge #3757 - Usage of JSRef<Attr> in before_remove_attr & after_set_attr (from brunoabinader:content_changed); r=jdm ```JSRef<Attr>``` does not require allocating a ```DOMString``` for value, which are unused in most cases. It also provides more access to ```Attr``` data. Source-Repo: https://github.com/servo...
diff --git a/script/dom/attr.rs b/script/dom/attr.rs index 896c65d1c..bbb7325a7 100644 --- a/script/dom/attr.rs +++ b/script/dom/attr.rs @@ -172,22 +172,14 @@ impl<'a> AttrHelpers<'a> for JSRef<'a, Attr> { let namespace_is_null = self.namespace == ns!(""); match set_type { - ReplacedAttr ...
18
255
225
ef61db9b59aa0e853b7cf5a84ce5eebdff19145b
Patrick Walton
2014-10-22T14:51:34
servo: Merge #3762 - gfx: Paint in parallel in CPU rendering mode (from pcwalton:parallel-painting); r=zwarich r? @larsbergstrom @mrobinson Source-Repo: https://github.com/servo/servo Source-Revision: 22d6aaf36980cdcb0202acc2576dfe742aafe885
diff --git a/gfx/font_context.rs b/gfx/font_context.rs index 6a1ac25cc..e70e7de0f 100644 --- a/gfx/font_context.rs +++ b/gfx/font_context.rs @@ -231,4 +231,9 @@ impl FontContext { }); render_font } + + /// Returns a reference to the font cache task. + pub fn font_cache_task(&self) -> FontCa...
4
315
188
4cd3898e052c79a596a9266108865a701649e84b
Tetsuharu OHZEKI
2014-10-22T13:54:36
servo: Merge #3737 - Use DOMRefCell in script crate (from saneyuki:cell); r=jdm #3050 Altough LayoutDataRef is touched from layout, we don't use DOMRefCell in it becasuse it's expected to manipulate in layout task. Source-Repo: https://github.com/servo/servo Source-Revision: f5e8df9dac9330f2818906c471ed05f5975828c6
diff --git a/script/dom/document.rs b/script/dom/document.rs index 8d767be90..340e46db9 100644 --- a/script/dom/document.rs +++ b/script/dom/document.rs @@ -3,6 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use dom::attr::AttrHelpers; +use dom::bindings::cell::{DOMRefCell, Ref}; use dom::b...
14
83
77
66dd5fd88d2f1fab43ea691a19dce553a14722da
Glenn Watson
2014-10-22T09:30:36
servo: Merge #3769 - Convert internal font code to store pt size as Au (from glennw:font-au); r=pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: 4b508195ace7490fda08f6d40fe64165feb91edd
diff --git a/gfx/font.rs b/gfx/font.rs index f88d964b8..76beb89eb 100644 --- a/gfx/font.rs +++ b/gfx/font.rs @@ -28,7 +28,7 @@ use platform::font_template::FontTemplateData; // resources needed by the graphics layer to draw glyphs. pub trait FontHandleMethods { - fn new_from_template(fctx: &FontContextHandle, te...
6
24
23
6032af9309368e12e83939a2aa49a5dd3d2dd036
Tetsuharu OHZEKI
2014-10-22T07:27:36
servo: Merge #3742 - Remove the help text for render backend option (from saneyuki:opt); r=jdm This follows up #3711. Source-Repo: https://github.com/servo/servo Source-Revision: 213178b6b9413cd461b45c1b3275562fa4b604c1
diff --git a/util/opts.rs b/util/opts.rs index 1678f5fa9..4b75a120d 100644 --- a/util/opts.rs +++ b/util/opts.rs @@ -130,7 +130,6 @@ pub fn from_cmdline_args(args: &[String]) -> bool { getopts::optflag("c", "cpu", "CPU painting (default)"), getopts::optflag("g", "gpu", "GPU painting"), getopt...
1
0
1
ca58f204307289ae86c8d9b59d51344f42d2aa18
Clark Gaebel
2014-10-22T05:27:36
servo: Merge #3763 - Fix #3753 (from cgaebel:issue-3753); r=pcwalton r? @pcwalton Looks like I forgot to save `ScannedTextFragment`s block sizes with their inline sizes. This patch fixes that. Fixes #3753 Source-Repo: https://github.com/servo/servo Source-Revision: fe230ef37deaed2d6631af58ab923db023dcf319
diff --git a/layout/fragment.rs b/layout/fragment.rs index 80d6c68be..a18aa0342 100644 --- a/layout/fragment.rs +++ b/layout/fragment.rs @@ -381,19 +381,19 @@ pub struct ScannedTextFragmentInfo { /// fragments, it will have to be restored. pub original_new_line_pos: Option<Vec<CharIndex>>, - /// The inli...
3
13
15
26049f424f035a37c5cc334955b09a6cfb6bb9be
Patrick Walton
2014-10-22T03:18:33
servo: Merge #3752 - gfx: Switch the default to CPU painting (from pcwalton:default-cpu); r=larsbergstrom We've discussed this some and I think there's consensus to do it as a pragmatic decision for now. CPU painting is more stable, especially with buggy drivers, and faster (because we aren't caching the necessary Ope...
diff --git a/gfx/render_task.rs b/gfx/render_task.rs index 32c5d97c2..71ee42520 100644 --- a/gfx/render_task.rs +++ b/gfx/render_task.rs @@ -162,7 +162,7 @@ impl<C:RenderListener + Send> RenderTask<C> { { // Ensures RenderTask and graphics context are destroyed before shutdown msg let nati...
2
10
9
17e7bb3e3e7411bfd1a8121cc30cb3c65d5cff1e
Patrick Walton
2014-10-22T01:54:37
servo: Merge #3749 - gfx: Update rust-azure to pick up arcs, gradients, and subpixel text (from pcwalton:update-rust-azure); r=metajack r? @metajack Source-Repo: https://github.com/servo/servo Source-Revision: 691e42f7ef9005b2466bff85eee21e0363c77050
diff --git a/canvas/canvas_render_task.rs b/canvas/canvas_render_task.rs index 7eafd1aef..8dacd11cd 100644 --- a/canvas/canvas_render_task.rs +++ b/canvas/canvas_render_task.rs @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use azure::azure_hl::{DrawTarget, Color, B8G8R8A8, SkiaBacke...
2
8
6
59fbccc5ce2106f0870c2cf4aa06b54bb0d9f7f7
Martin Robinson
2014-10-22T01:00:37
servo: Merge #3748 - Improve logical geometry formatting (from mrobinson:trimmer-flow-tree-output); r=mbrubeck Logical geometry is complicated, so the string formatted output is verbose. This means that flow tree dumps often go well beyond the edge of the terminal screen. With a simple notation, we can shorten the out...
diff --git a/util/logical_geometry.rs b/util/logical_geometry.rs index a16dd6a5c..67cfb231a 100644 --- a/util/logical_geometry.rs +++ b/util/logical_geometry.rs @@ -143,7 +143,7 @@ pub struct LogicalSize<T> { impl<T: Show> Show for LogicalSize<T> { fn fmt(&self, formatter: &mut Formatter) -> Result<(), FormatEr...
1
14
10
19bfdfa87def50fb110bcc0ef7651243f3fce559
Martin Robinson
2014-10-21T23:51:43
servo: Merge #3747 - Add an option to validate display list items (from mrobinson:validate-display-list); r=pcwalton When this option is enabled, the layout task will print an error when display list items draw outside their owning Flow's position rect. This will make it easier to detect layout errors before they brea...
diff --git a/layout/flow.rs b/layout/flow.rs index b8f9a2b55..269aac1b8 100644 --- a/layout/flow.rs +++ b/layout/flow.rs @@ -54,6 +54,7 @@ use servo_msg::compositor_msg::LayerId; use servo_util::geometry::Au; use servo_util::logical_geometry::WritingMode; use servo_util::logical_geometry::{LogicalRect, LogicalSize};...
2
35
0
abfe9b832f7c9bd6a5024db5412d28a8e993deff
Martin Robinson
2014-10-21T23:06:40
servo: Merge #3746 - Add an option to show debug fragment borders (from mrobinson:debug-fragment-borders); r=pcwalton This is quite a bit cleaner than abusing the rust debug functionality. If we start collecting too many debugging options in the servo executable we could opt to organize them into a single option. Fix...
diff --git a/layout/fragment.rs b/layout/fragment.rs index 1546605fd..80d6c68be 100644 --- a/layout/fragment.rs +++ b/layout/fragment.rs @@ -42,6 +42,7 @@ use servo_net::local_image_cache::LocalImageCache; use servo_util::geometry::{Au, ZERO_RECT}; use servo_util::geometry; use servo_util::logical_geometry::{Logical...
2
17
14
897dbd81fcc5b74e2345dcc8fec8659aba40bfab
Glenn Watson
2014-10-21T21:15:42
servo: Merge #3730 - Introduce a basic shared task pool, and use it for image decoding (from glennw:taskpool); r=pcwalton r? @pcwalton - Is this the kind of thing you were thinking of in terms of task queue? Source-Repo: https://github.com/servo/servo Source-Revision: 4795e9cf0ba8a9712e81c281e31ffd4cf34240f0
diff --git a/net/image_cache_task.rs b/net/image_cache_task.rs index e5fbf856f..878d6420c 100644 --- a/net/image_cache_task.rs +++ b/net/image_cache_task.rs @@ -6,6 +6,7 @@ use image::base::{Image, load_from_memory}; use resource_task; use resource_task::{LoadData, ResourceTask}; +use servo_util::taskpool::TaskPool...
3
79
21
676e7fdbc05149173bdf35d5c8565728c7bbcd60
Clark Gaebel
2014-10-21T19:09:38
servo: Merge #3744 - More efficient preorder DOM traversals (from cgaebel:efficient-preorder-traversal); r=pcwalton This also tackles some nearby FIXMEs. `traverse_preorder` is used in a LOT of DOM functions.. r? @pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: 2bc4ffe5cf331fb7bd246af34c5d12e4e...
diff --git a/layout/wrapper.rs b/layout/wrapper.rs index f41c3e9fd..3abc146e4 100644 --- a/layout/wrapper.rs +++ b/layout/wrapper.rs @@ -214,28 +214,36 @@ impl<'ln> LayoutNode<'ln> { } } - /// Iterates over this node and all its descendants, in preorder. - /// - /// FIXME(pcwalton): Terribly in...
3
94
97
231f8744eac9925c1f6c563d886b7ba287c85878
Clark Gaebel
2014-10-21T17:27:40
servo: Merge #3728 - Dump the flow tree with println, instead of error (from cgaebel:dump-flow-tree-with-println); r=mrobinson r? @mrobinson Source-Repo: https://github.com/servo/servo Source-Revision: 018146b1a8d1e0a2cc5c2692665f3db12cbef84a
diff --git a/layout/flow.rs b/layout/flow.rs index 175f60586..b8f9a2b55 100644 --- a/layout/flow.rs +++ b/layout/flow.rs @@ -1018,7 +1018,7 @@ impl<'a> ImmutableFlowUtils for &'a Flow + 'a { indent.push_str("| ") } - error!("{}+ {}", indent, self.to_string()); + println!("{}+ {}", ...
1
1
1
ca9e2f5e208eaa9e58d12ccef7b83c3750592249
Glenn Watson
2014-10-21T08:12:38
servo: Merge #3750 - Update rust-core-text, handle empty font collections. Fixes #3703 (from glennw:fix-3703); r=pcwalton r? @pcwalton @metajack Source-Repo: https://github.com/servo/servo Source-Revision: 1690a40bf4de9183d4e840f0654785a4d4a4e240
diff --git a/gfx/platform/macos/font_list.rs b/gfx/platform/macos/font_list.rs index 74e22d0fe..0974ce3bf 100644 --- a/gfx/platform/macos/font_list.rs +++ b/gfx/platform/macos/font_list.rs @@ -23,12 +23,17 @@ pub fn get_variations_for_family(family_name: &str, callback: |String|) { let family_collection = ...
1
11
6
c42f84fa646d005e61b013a3b27d42cce493af84
Clark Gaebel
2014-10-20T18:54:34
servo: Merge #3715 - Fixes the table_percentage_width_a.html reftest with incremental reflow turned on (from cgaebel:fix-table-percentage-width); r=pcwalton This also enables incremental reflow by default. \o/ r? @pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: f6941b35e3b945f4a6dcd2cf03daa345a...
diff --git a/layout/block.rs b/layout/block.rs index f3ec9e0f3..db55e3a88 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -1592,12 +1592,13 @@ impl Flow for BlockFlow { "block" }); + self.base.floats = Floats::new(self.base.writing_mode); + if self.is_root() {...
10
47
69
e862ae6444fcd3b310df734bea380a67fd43b468
Glenn Watson
2014-10-20T03:33:25
servo: Merge #3729 - Use opts as a global, to avoid cloning and passing the struct all over the code base (from glennw:opts-cleanup); r=mbrubeck Source-Repo: https://github.com/servo/servo Source-Revision: 852378209badb936e8929c31501cb8cabeea6bc5
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index 1fd96aa02..dbae78226 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -42,7 +42,7 @@ use servo_msg::constellation_msg::{LoadData, PipelineId, ResizedWindowMsg, Windo use servo_msg::constellation_msg; use servo_util::geom...
15
86
106
c8da68feff65ce953551d724b8d6b8289268d394
Glenn Watson
2014-10-20T00:00:30
servo: Merge #3711 - Remove render backend option as it doesn't work and confuses people (from glennw:cleanup-opts); r=pcwalton r? @pcwalton @metajack Source-Repo: https://github.com/servo/servo Source-Revision: a983debaf16d788d500ce12262dc0b9b511b1e8e
diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs index afa80ca47..a82742f65 100644 --- a/gfx/display_list/mod.rs +++ b/gfx/display_list/mod.rs @@ -555,8 +555,7 @@ impl DisplayItem { render_context.font_ctx.get_render_font_from_template( &text.text_run.font_template,...
6
16
42
dd60eb55316e6ab8f1523bd71f47d039ab2e7d50
Ms2ger
2014-10-19T12:03:27
servo: Merge #3712 - Don't crash on invalid utf-8 in the HTML parser (from Ms2ger:parser-crash); r=Manishearth This was regressed by the html5ever landing. Source-Repo: https://github.com/servo/servo Source-Revision: c123f755586b0ad4673282015f46c6e215d54b9d
diff --git a/script/parse/html.rs b/script/parse/html.rs index 829d5d0c4..933202e81 100644 --- a/script/parse/html.rs +++ b/script/parse/html.rs @@ -496,7 +496,7 @@ pub fn parse_html(page: &Page, match msg { Payload(data) => { // FIX...
1
1
1
f1e7ed3163bbdfbb78397d37414a9ec9bee9e4cd
Martin Robinson
2014-10-18T01:51:24
servo: Merge #3719 - Wait to dump flow tree until flow is complete (from mrobinson:flow-dump); r=pcwalton The flow tree is currently dumped for debugging purposes early on in the flow process, so many values are still zero. If we wait to dump it until later, the output will more accurately reflect the real flow tree. ...
diff --git a/layout/layout_task.rs b/layout/layout_task.rs index 60b2a5393..48df4f9c4 100644 --- a/layout/layout_task.rs +++ b/layout/layout_task.rs @@ -655,9 +655,6 @@ impl LayoutTask { if self.opts.trace_layout { layout_debug::begin_trace(layout_root.clone()); } - if self.opts.du...
1
4
3
5deaf4e36a7159768ba2d25f53c05f7040f5a9a4
Clark Gaebel
2014-10-17T18:15:23
servo: Merge #3706 - Fix image_dynamic_remove reftest with incremental layout turned out (from cgaebel:fix-image-dynamic-remove); r=pcwalton This also adds some extra debugging infrastructure which I found useful tracking this bug down. A regression in the br reftests is also uncovered by this patch, which I'll work o...
diff --git a/layout/block.rs b/layout/block.rs index 62c40da06..f3ec9e0f3 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -811,7 +811,7 @@ impl BlockFlow { pub fn assign_block_size_block_base<'a>(&mut self, layout_context: &'a LayoutContext<'a>, ...
14
117
97
862b0ee6af407faf1a91e49ea8013ffaaaa3dd2a
Gilles Leblanc
2014-10-17T01:45:22
servo: Merge #3710 - Make HTMLFormElementHelpers::submit take an enumerated argument instead (from gilles-leblanc:issue-3677); r=jdm ...of a boolean Fixes #3677 Source-Repo: https://github.com/servo/servo Source-Revision: de2178bbc073a930ab856b216be9444a02886d70
diff --git a/script/dom/htmlformelement.rs b/script/dom/htmlformelement.rs index 49c3486a1..f19649427 100644 --- a/script/dom/htmlformelement.rs +++ b/script/dom/htmlformelement.rs @@ -116,19 +116,24 @@ impl<'a> HTMLFormElementMethods for JSRef<'a, HTMLFormElement> { // https://html.spec.whatwg.org/multipage/for...
2
10
5
d292a46e1b04970d4b6b0cce1b436b6ad45e0115
Matt Brubeck
2014-10-16T22:18:19
servo: Merge #3705 - Remove old hubbub HTML parsing code (from mbrubeck:rm-hubbub); r=kmcallister Unused after #3702. r? @kmcallister Source-Repo: https://github.com/servo/servo Source-Revision: 6ab8f4611f67883288f9bb6d03aa7dc1e06aea5f
diff --git a/script/html/hubbub_html_parser.rs b/script/html/hubbub_html_parser.rs deleted file mode 100644 index 490e35ff6..000000000 --- a/script/html/hubbub_html_parser.rs +++ /dev/null @@ -1,567 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL...
1
0
567
3bc3ee34cd5ea5f9c826b5b2c9a2a21afe5d7c04
Emanuel Rylke
2014-10-16T13:33:21
servo: Merge #3698 - Remove unused implementation of MonoCache (from ema-fox:remove-monocache); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: b80b18f1cb95966dabb7b1ce9fa8c643a798c4ba
diff --git a/util/cache.rs b/util/cache.rs index 35d442cd0..dd45ee98c 100644 --- a/util/cache.rs +++ b/util/cache.rs @@ -18,58 +18,6 @@ pub trait Cache<K: PartialEq, V: Clone> { fn evict_all(&mut self); } -pub struct MonoCache<K, V> { - entry: Option<(K,V)>, -} - -impl<K: Clone + PartialEq, V: Clone> MonoCac...
1
0
52
f1b5e7db05ef160e8dd4fa1f588a153907c65979
Tetsuharu OHZEKI
2014-10-16T06:03:18
servo: Merge #3695 - Use DOMRefCell in the rest of dom structs (from saneyuki:cell); r=jdm #3050 Source-Repo: https://github.com/servo/servo Source-Revision: 1de2fb3721b8a189156f4a860009cca01d8b2fd9
diff --git a/script/dom/element.rs b/script/dom/element.rs index e5be7b2c0..793ca673d 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -1082,11 +1082,13 @@ impl<'a> VirtualMethods for JSRef<'a, Element> { impl<'a> style::TElement<'a> for JSRef<'a, Element> { fn get_attr(self, namespace: &Namespac...
2
8
10
fd0b4f4dddd3dcef7d776464ff347e4bf1f9af41
Tetsuharu OHZEKI
2014-10-16T04:45:19
servo: Merge #3694 - Remove Node.unsafe_get_flags() (from saneyuki:node); r=jdm `Node.unsafe_get_flags()` returns `*const NodeFlags`, but `NodeFlags` has only `u8` length. So We should just returns a raw value instead of any pointers. Source-Repo: https://github.com/servo/servo Source-Revision: 84b2fe54b9a4f1b0453160...
diff --git a/script/dom/node.rs b/script/dom/node.rs index 5b2e3191c..57b2ca2a6 100644 --- a/script/dom/node.rs +++ b/script/dom/node.rs @@ -949,15 +949,15 @@ pub trait RawLayoutNodeHelpers { impl RawLayoutNodeHelpers for Node { #[inline] unsafe fn get_hover_state_for_layout(&self) -> bool { - (*self....
1
3
8
991547c82703f97d8389852332cbafe5fc9c11f5
Clark Gaebel
2014-10-16T03:27:20
servo: Merge #3689 - Fix whitespace_pre with incremental reflow turned on (from cgaebel:working-incremental-flow-construction); r=pcwalton This implements fragment merging, in order to incrementally reflow linebroken text. This makes the `whitespace_pre.html` reftest pass with incremental reflow turned on with `-i`. ...
diff --git a/layout/construct.rs b/layout/construct.rs index 9c99c9a49..c795f5025 100644 --- a/layout/construct.rs +++ b/layout/construct.rs @@ -33,6 +33,7 @@ use fragment::{InlineAbsoluteHypotheticalFragmentInfo, InlineBlockFragment}; use fragment::{InlineBlockFragmentInfo, InputFragment, SpecificFragmentInfo, TableC...
6
209
30
66b42edcbb7904d4ba45dc9ee927302261bc4345
Clark Gaebel
2014-10-16T02:00:20
servo: Merge #3692 - Fix append_style reftests with incremental reflow turned on (from cgaebel:fix-incremental-append-style); r=pcwalton @pcwalton r? Source-Repo: https://github.com/servo/servo Source-Revision: b83352f7eb511ca2e993e1cc92504f41363ccc95
diff --git a/layout/layout_task.rs b/layout/layout_task.rs index 126d5157e..c36ad0433 100644 --- a/layout/layout_task.rs +++ b/layout/layout_task.rs @@ -786,17 +786,13 @@ impl LayoutTask { } unsafe fn dirty_all_nodes(node: &mut LayoutNode) { + node.set_changed(true); node.set_dirty(true); - ...
1
3
7
bdf51edecf8285e4e38833645f1cb3391db64f1a
Ms2ger
2014-10-16T00:42:20
servo: Merge #3691 - Remove obsolete comments about cycles (from Ms2ger:cycle-comments); r=jdm The tracing setup has ensured that the cycles can be collected for a long time now. Source-Repo: https://github.com/servo/servo Source-Revision: d54fb041ba80350d1ea0fb342d6edb273d30ccf3
diff --git a/script/dom/location.rs b/script/dom/location.rs index c55da71ad..008a7deb3 100644 --- a/script/dom/location.rs +++ b/script/dom/location.rs @@ -19,7 +19,7 @@ use std::rc::Rc; #[must_root] #[privatize] pub struct Location { - reflector_: Reflector, //XXXjdm cycle: window->Location->window + reflect...
2
2
2
902272dcfb0cd4aa7d9292e92f3d3d3a5fea453d
Clark Gaebel
2014-10-15T22:18:23
servo: Merge #3686 - Use the Deref traits for FlowRefs (from cgaebel:deref-flows); r=pcwalton This patch switches FlowRefs to using the Deref and DerefMut traits, instead of the custom `get` and `get_mut` functions. Source-Repo: https://github.com/servo/servo Source-Revision: 6a11ee89de82abae9d6607a6c2890692df5259eb
diff --git a/layout/construct.rs b/layout/construct.rs index 58747ca13..9c99c9a49 100644 --- a/layout/construct.rs +++ b/layout/construct.rs @@ -329,7 +329,7 @@ impl<'a> FlowConstructor<'a> { } { - let inline_flow = inline_flow_ref.get_mut().as_inline(); + let inline_flow = inl...
10
76
74
8f3e9527ee453b8e00c93b4e3a4b69d78d7cfd24
Ms2ger
2014-10-15T14:09:23
servo: Merge #3685 - Remove the reflector field from Document (from Ms2ger:doc-reflector); r=jdm This field became unused in commit 99a36cbeb6077976861d94b7af16e9e57994a14d. Source-Repo: https://github.com/servo/servo Source-Revision: 08b10a6d7de548304225a8a9c19e3280a8ecbfeb
diff --git a/script/dom/document.rs b/script/dom/document.rs index bbcf35147..2a4f70fdf 100644 --- a/script/dom/document.rs +++ b/script/dom/document.rs @@ -78,7 +78,6 @@ pub enum IsHTMLDocument { #[privatize] pub struct Document { node: Node, - reflector_: Reflector, window: JS<Window>, idmap: RefC...
1
0
2
ee735bc59e69598940a920bd445a7d8e01e38654
Tetsuharu OHZEKI
2014-10-15T05:12:24
servo: Merge #3574 - Introduce a custom DOMRefCell<T> (from saneyuki:cell); r=jdm #3050 Source-Repo: https://github.com/servo/servo Source-Revision: 7c1054e6ab97dd199dee371c3b6ca5d559070804
diff --git a/layout/wrapper.rs b/layout/wrapper.rs index 3a9425c99..0b78a2f97 100644 --- a/layout/wrapper.rs +++ b/layout/wrapper.rs @@ -35,6 +35,7 @@ use css::node_style::StyledNode; use util::{LayoutDataAccess, LayoutDataWrapper, PrivateLayoutData, OpaqueNodeMethods}; use gfx::display_list::OpaqueNode; +use scrip...
6
94
33
71e4c27cb7bcb1e671fac7f9cc9c86edd54ddf98
Martin Robinson
2014-10-15T03:27:26
servo: Merge #3672 - Allow individual layers to render their own background color (from mrobinson:background-color); r=zwarich Instead of relying on a scene-wide background color, all layers can now have their own background color. Source-Repo: https://github.com/servo/servo Source-Revision: 0487671dabf03949a6816d436...
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index 6aa0ca469..1fd96aa02 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -952,10 +952,6 @@ impl<Window: WindowMethods> IOCompositor<Window> { // Render the scene. match self.scene.root { ...
2
12
11
ce1d73b7415c2059951588e50ce07b81260348db
Clark Gaebel
2014-10-15T01:33:28
servo: Merge #3668 - Removes duplicate CSS selector matching logic (from cgaebel:sequential-reflow); r=pcwalton Now that DOM/Flow traversals have been refactored out, the `recalc_style_for_subtree` function in `css/matching.rs` can be removed, in lieu of just running the standard `recalc_style_for_node` and `construct...
diff --git a/layout/block.rs b/layout/block.rs index d5352d622..62c40da06 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -431,18 +431,17 @@ struct AbsoluteAssignBSizesTraversal<'a>(&'a LayoutContext<'a>); impl<'a> PreorderFlowTraversal for AbsoluteAssignBSizesTraversal<'a> { #[inline] - fn process(&mu...
8
199
310
0169f50b78d315c1ec6bc3ac369fe758e196a66b
Glenn Watson
2014-10-15T00:36:29
servo: Merge #3610 - Implement media queries parser and matching. Improves mobile first sites like bootstrap3 (from glennw:media-queries); r=SimonSapin Source-Repo: https://github.com/servo/servo Source-Revision: 3eb6b17137964fc12779eca9597fa77930440138
diff --git a/layout/layout_task.rs b/layout/layout_task.rs index 2ff6d9214..68ab0b863 100644 --- a/layout/layout_task.rs +++ b/layout/layout_task.rs @@ -64,6 +64,7 @@ use std::comm::{channel, Sender, Receiver, Select}; use std::mem; use std::ptr; use style::{AuthorOrigin, Stylesheet, Stylist, TNode, iter_font_face_r...
7
680
58
97f5ec8135ee82c3012d70e83070bb39e2de71ae
Clark Gaebel
2014-10-14T22:51:30
servo: Merge #3640 - Try to reset flows which need reflow, since reflow isn't yet idempotent (from cgaebel:incremental-flow-construction); r=pcwalton This also hides the not-yet-working parts of incremental reflow behind a runtime flag. As I get the failing reftests passing, I'll send pull requests for them one by one...
diff --git a/layout/construct.rs b/layout/construct.rs index 7d4b6d24b..58747ca13 100644 --- a/layout/construct.rs +++ b/layout/construct.rs @@ -43,7 +43,7 @@ use table_rowgroup::TableRowGroupFlow; use table_row::TableRowFlow; use table_cell::TableCellFlow; use text::TextRunScanner; -use util::{LayoutDataAccess, Opa...
11
306
79
31f845fc50c2de9277b6b2b97d37172f2f94c6f5
Glenn Watson
2014-10-14T17:33:34
servo: Merge #3675 - Add support for local font faces. Improves fonts on rust lang and guide (from glennw:local-fonts); r=pcwalton Source-Repo: https://github.com/servo/servo Source-Revision: 48ce107d7275c08273cea6dca3523d0eee23eea7
diff --git a/gfx/font_cache_task.rs b/gfx/font_cache_task.rs index 1f1e6a110..9c3b537e0 100644 --- a/gfx/font_cache_task.rs +++ b/gfx/font_cache_task.rs @@ -13,7 +13,7 @@ use sync::Arc; use font_template::{FontTemplate, FontTemplateDescriptor}; use platform::font_template::FontTemplateData; use servo_net::resource_t...
5
39
40
8fd8aafe6ef95be5697dd19a420ea696e97287ba
Martin Robinson
2014-10-14T10:51:35
servo: Merge #3673 - Do not compound iframe margins when positioning (from mrobinson:iframe-margin); r=pcwalton Instead of taking margin size into account twice when positioning layers, just rely on the absolute position calculated during display list construction. Source-Repo: https://github.com/servo/servo Source-R...
diff --git a/layout/fragment.rs b/layout/fragment.rs index 4853ded38..031891156 100644 --- a/layout/fragment.rs +++ b/layout/fragment.rs @@ -1249,7 +1249,7 @@ impl Fragment { match self.specific { IframeFragment(ref iframe_fragment) => { self.finalize_position_and_size_of_iframe(i...
1
9
12
a8eb5acd3db235dfacb3dc56f6c7e1836a5d9692
Ms2ger
2014-10-14T09:36:36
servo: Merge #3676 - Don't borrow CharacterData.data from layout (from Ms2ger:no-text-borrow); r=Manishearth This should fix the most frequent intermittent wpt failure. Source-Repo: https://github.com/servo/servo Source-Revision: 083bf27b7536a8ae825ce87df4344f9e3cbc1a10
diff --git a/layout/wrapper.rs b/layout/wrapper.rs index e7ace898d..c39482c1d 100644 --- a/layout/wrapper.rs +++ b/layout/wrapper.rs @@ -189,7 +189,7 @@ impl<'ln> TLayoutNode for LayoutNode<'ln> { unsafe { if self.get().is_text() { let text: JS<Text> = self.get_jsmanaged().transmu...
2
9
2
f3f45aa87e76fac994a6586b05c738e061bb6962
Glenn Watson
2014-10-14T05:39:15
servo: Merge #3674 - Change accidental println to debug macro (from glennw:remove-println) Source-Repo: https://github.com/servo/servo Source-Revision: 5351c8572f564314f760037b9bcd355b43afa3aa
diff --git a/layout/inline.rs b/layout/inline.rs index 2d5c6bfdf..527b6367c 100644 --- a/layout/inline.rs +++ b/layout/inline.rs @@ -686,8 +686,8 @@ impl InlineFlow { pub fn build_display_list_inline(&mut self, layout_context: &LayoutContext) { let size = self.base.position.size.to_physical(self.base.writ...
1
2
2
1064ab07daa69e4b2e775c83946db812547a7fe0
Glenn Watson
2014-10-14T02:24:37
servo: Merge #3663 - Fix selection of fallback fonts. Fixes monospace fonts in rust guide (from glennw:font-fallback); r=pcwalton Previously, any font template that could not be found would return an item from the last resort font family. Now, the last resort font family is only searched if the entire list of supplied...
diff --git a/gfx/font_cache_task.rs b/gfx/font_cache_task.rs index 59fcd4146..1f1e6a110 100644 --- a/gfx/font_cache_task.rs +++ b/gfx/font_cache_task.rs @@ -71,13 +71,14 @@ impl FontFamily { /// Commands that the FontContext sends to the font cache task. pub enum Command { GetFontTemplate(String, FontTemplateDes...
2
75
16
ab856a66234f6649fe7441b3d0bef20d286386ff
Tim Taubert
2014-10-14T01:12:38
servo: Merge #3651 - Make Event::new take enumerated values instead of booleans (fixes #3643) (from ttaubert:issue/3643-event-new-enums); r=Manishearth r? @jdm Source-Repo: https://github.com/servo/servo Source-Revision: 293e06fd7cf3c79e377fc1ce619ee790c46f9858
diff --git a/script/dom/event.rs b/script/dom/event.rs index 085a30baa..92df2faac 100644 --- a/script/dom/event.rs +++ b/script/dom/event.rs @@ -35,6 +35,18 @@ pub enum EventTypeId { UIEventTypeId } +#[deriving(PartialEq)] +pub enum EventBubbles { + Bubbles, + DoesNotBubble +} + +#[deriving(PartialEq)] +p...
4
25
11
5d165d9b50a4c78cbc40d3be5bb1e1dd9087f92c
Patrick Walton
2014-10-14T00:36:40
servo: Merge #3650 - layout: Refactor inline layout to remove the code that tried to avoid splitting fragments (from pcwalton:give-up-on-not-splitting); r=glennw I don't think it will be possible to avoid splitting fragments in the presence of `vertical-align`, because one `ScannedTextFragment` could potentially be sp...
diff --git a/layout/inline.rs b/layout/inline.rs index 0c50c0dc9..2d5c6bfdf 100644 --- a/layout/inline.rs +++ b/layout/inline.rs @@ -25,8 +25,7 @@ use geom::Size2D; use gfx::text::glyph::CharIndex; use servo_util::geometry::Au; use servo_util::logical_geometry::{LogicalRect, LogicalSize}; -use servo_util::range; -us...
2
223
345
419b89bcc5a60ebb109c7fe80d795b504df174fd
Patrick Walton
2014-10-14T00:03:40
servo: Merge #3631 - layout: Store containing block inline-size separately rather than writing it to a temporary location and overwriting it (from pcwalton:idempotent-inline-size); r=glennw This makes layout more idempotent, which is important for incremental layout. Also converts `is_root` to a set of flags and fixe...
diff --git a/layout/block.rs b/layout/block.rs index d36f4b873..5fe80ecc8 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -35,6 +35,7 @@ use gfx::display_list::{BackgroundAndBorderLevel, BlockLevel, ContentStackingLev use gfx::display_list::{FloatStackingLevel, PositionedDescendantStackingLevel}; use gfx::displ...
9
142
107