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 |
|---|---|---|---|---|---|---|---|
7a6282fe1733092ae419735c2481ae79a210b3b6 | Matt McCoy | 2015-03-18T04:27:47 | servo: Merge #4736 - Fixes #4508 dispatching input event at HTMLTextareaElement (from mattnenterprise:dispatch_input_event); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 65d4b12bf20783ea784f1c61f4b33ec0fc975f4f | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 71b3a2687..6da0dd573 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -629,7 +629,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
ctrl, alt, shift, meta,
... | 2 | 49 | 10 |
d33d2508ef82ddefc756f93385f003dafb29fe03 | Glenn Watson | 2015-03-17T22:21:48 | servo: Merge #5249 - Add support for selecting which frame is requesting a navigation (from glennw:iframe-navigate); r=jdm
This allows iframes to navigate their own history.
Source-Repo: https://github.com/servo/servo
Source-Revision: 755581ff54a6f55ff7b8cdf88e09f8f3ff8dd33a | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index a45f2d7a9..23bfe1fb5 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -953,7 +953,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
windowing::WindowNavigateMsg::Back => NavigationDirection::Back,
... | 3 | 16 | 11 |
49bcbd9a928ab82d8577ed8d3539548a7e702fa6 | Nicholas Nethercote | 2015-03-17T20:31:10 | servo: Merge #5252 - Put system memory measurements in a memory reporter (from nnethercote:system-reporter); r=jdm
Currently the system memory measurements ("resident", "vsize", etc.) are
not reported through the generic memory reporting mechanism, simply
because they pre-date that mechanism. This changeset removes th... | diff --git a/util/memory.rs b/util/memory.rs
index 11bec328f..56bd91c3f 100644
--- a/util/memory.rs
+++ b/util/memory.rs
@@ -265,7 +265,16 @@ impl MemoryProfiler {
memory_profiler.start();
});
- MemoryProfilerChan(chan)
+ let memory_profiler_chan = MemoryProfilerChan(chan);
+
+ ... | 1 | 62 | 51 |
e29da03f59ca725e364d2b32bfa352bd19dc90f2 | Matt Brubeck | 2015-03-17T18:33:53 | servo: Merge #5233 - Fixes for positioning of RTL blocks (from mbrubeck:rtl-position); r=SimonSapin
This fixes a bug in finding the top left corner of an RTL block in physical coordinates. (The old code used the `start` point of the `position` rect, which is not always the top left.)
It also fixes the setting of `po... | diff --git a/layout/block.rs b/layout/block.rs
index 355c76aa4..9c8ae1a19 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1237,6 +1237,7 @@ impl BlockFlow {
&mut self,
layout_context: &LayoutContext,
inline_start_content_edge: Au,
+ inline_end_content_edge: Au,
... | 6 | 42 | 7 |
ab64b2a300d3e6e383a6b7bf147b291136f8af0a | Chris Double | 2015-03-17T13:18:51 | servo: Merge #5219 - view-source protocol and text/plain handling (from doublec:view_source_protocol_and_plain_text); r=jdm
Implements view-source protocol by having a view-source handler, and modifying the content type to be text/plain if that is used.
Implements text/plain handling. This allows view-source content ... | diff --git a/net/http_loader.rs b/net/http_loader.rs
index c3e6a5dfb..9b81de49f 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -14,6 +14,7 @@ use hyper::client::Request;
use hyper::header::{ContentLength, ContentType, Host, Location};
use hyper::HttpError;
use hyper::method::Method;
+use hyper::mime::{M... | 4 | 69 | 17 |
f4c96bcc4e623564135bdb7eb3c1764dc489b168 | Glenn Watson | 2015-03-17T05:51:49 | servo: Merge #5248 - Ensure that clicking a link in an iframe gets the existing iframe rect (from glennw:fix-subpage-reflow); r=jdm
Otherwise, the new iframe may not get a valid window size until the parent frame does another reflow.
Source-Repo: https://github.com/servo/servo
Source-Revision: b4b2c63c11a38ebda3eb323... | diff --git a/compositing/constellation.rs b/compositing/constellation.rs
index acfde8d1d..030bec0f9 100644
--- a/compositing/constellation.rs
+++ b/compositing/constellation.rs
@@ -217,9 +217,23 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
}
}
+ /// Gets the curre... | 2 | 32 | 18 |
45be247c2e880d09a00db16060b2781b1ce16de6 | Nicholas Nethercote | 2015-03-17T04:21:49 | servo: Merge #5245 - Make IOCompositor only respond to the first Quit event (from nnethercote:only-one-quit-event); r=glennw
This fixes #5234, in that the huge memory spike disappears. It still takes ~15 seconds for the window to actually disappear after that first `Quit` event is received by the IOCompositor. Maybe t... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 799f23141..a45f2d7a9 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -128,6 +128,9 @@ pub struct IOCompositor<Window: WindowMethods> {
/// Pending scroll events.
pending_scroll_events: Vec<ScrollEvent>,
+
+ ... | 1 | 11 | 4 |
c08632cabb4f3ca71cd17e6a0fc15dfa23fc417b | Nicholas Nethercote | 2015-03-17T03:33:50 | servo: Merge #5193 - Add memory reporting infrastructure and use it to measure the display list (from nnethercote:measure-display-list); r=jdm
These changeset implements the beginnings of fine-grained measurement of Servo's data structures.
@pcwalton, @jdm: are you likely reviewers for this?
Source-Repo: https://git... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index af816d5a9..799f23141 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -1348,12 +1348,8 @@ impl<Window> CompositorEventListener for IOCompositor<Window> where Window: Wind
while self.port.try_recv_compositor_msg().... | 11 | 471 | 46 |
7fb838df710f72b180babb2a6b2f75a020553a4b | Matt McCoy | 2015-03-17T02:36:49 | servo: Merge #5244 - Serializing the thread name for page load task (from mattnenterprise:page_load_thread_name); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 990a965ddfba254bb1b58664b27f2056fa9654f5 | diff --git a/script/script_task.rs b/script/script_task.rs
index 4d319aa75..c8873387d 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -1213,7 +1213,7 @@ impl ScriptTask {
let script_chan = self.chan.clone();
let resource_task = self.resource_task.clone();
- spawn_named(forma... | 1 | 1 | 1 |
270f725730cedf5082d97d7d524d182d4a3f2c2f | Glenn Watson | 2015-03-16T22:57:50 | servo: Merge #5226 - Fixes for compositor layers being removed and reftest timeouts (from glennw:fix-compositor-layers); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 0888a3a16d4f5eafe4f8008ec060764645f3bee5 | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 715c3bc89..895f08795 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -15,7 +15,7 @@ use std::cmp;
use std::mem;
use geom::point::{Point2D, TypedPoint2D};
use geom::rect::{Rect, TypedRect};
-use geom::size::TypedSize2D;... | 2 | 36 | 24 |
71523dfd50abd563ddaddf9cb35829640cc04511 | Jack Moffitt | 2015-03-16T19:16:03 | servo: Merge #5228 - Fix memory leak in flow tree by adding weak refs (from metajack:memory-debug); r=pcwalton
Cycles were being created in the flow tree since absolutely positioned
descendants had pointers to their containing blocks. This adds
WeakFlowRef (based on Weak<T>) and makes these backpointers weak
reference... | diff --git a/layout/flow.rs b/layout/flow.rs
index 1d737348c..a49b8a18d 100644
--- a/layout/flow.rs
+++ b/layout/flow.rs
@@ -31,7 +31,7 @@ use context::LayoutContext;
use display_list_builder::DisplayListBuildingResult;
use floats::Floats;
use flow_list::{FlowList, FlowListIterator, MutFlowListIterator};
-use flow_r... | 4 | 147 | 18 |
66f06bddda2c0fb70687b683555e6433b20a279d | Martin Schröder | 2015-03-16T17:03:58 | servo: Merge #5169 - Refactored optional argument "last_modified" for Document (from mschroeder:issue-4981); r=saneyuki
Fixes #4981
Source-Repo: https://github.com/servo/servo
Source-Revision: ccc6faa14787765485dae7ccd0976cd7e1764185 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 0db59106f..71b3a2687 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -102,7 +102,7 @@ pub struct Document {
implementation: MutNullableJS<DOMImplementation>,
location: MutNullableJS<Location>,
content_type: DOMString,
... | 5 | 23 | 22 |
08fd0be12812aaacf730bf4fcd23a06b9b3fad7a | Mikko Perttunen | 2015-03-16T15:54:56 | servo: Merge #5173 - Consider media attribute on link and style tags (from cyndis:media-attr); r=jdm
Don't add a stylesheet if the current device does not match the media
query specified in a link or style tag.
Cheers,
cyndis
Source-Repo: https://github.com/servo/servo
Source-Revision: 660ea05ddb3b17b0bb914cb09968cb... | diff --git a/layout/layout_task.rs b/layout/layout_task.rs
index 751a540ac..ac58f56b2 100644
--- a/layout/layout_task.rs
+++ b/layout/layout_task.rs
@@ -73,7 +73,7 @@ use style::selector_matching::Stylist;
use style::computed_values::{filter, mix_blend_mode};
use style::stylesheets::{Origin, Stylesheet, iter_font_fac... | 4 | 48 | 17 |
2141914c32c9dc0e59fc7baf01ee0c1326efc5e2 | Diego Marcos | 2015-03-16T12:57:53 | servo: Merge #5220 - Fixes the problem with canvas not being rendered when displayed as block level elements (from dmarcos:issue4595); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1e1c97adb3cb44351df913daf8265de2edc74704 | diff --git a/layout/block.rs b/layout/block.rs
index 7fb63c004..355c76aa4 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -732,11 +732,15 @@ impl BlockFlow {
/// Return true if this has a replaced fragment.
///
- /// The only two types of replaced fragments currently are text fragments
- /// and... | 1 | 7 | 3 |
a626bb6d3fe54a9eacbd67d6785461dcd4af1ec7 | Connor Jennings | 2015-03-15T19:30:56 | servo: Merge #5222 - Retain buffer for CGDataProviderCreateWithData. Fixes #5084 (from cojennin:mac-font-face); r=metajack
CGDataProviderCreateWithData just wraps the underlying buffer. The
underlying buffer needs to be kept around until the data provider is
freed. Adding the buffer to the FontTemplateData struct ensu... | diff --git a/gfx/platform/macos/font_template.rs b/gfx/platform/macos/font_template.rs
index c6eb84d97..028657339 100644
--- a/gfx/platform/macos/font_template.rs
+++ b/gfx/platform/macos/font_template.rs
@@ -16,6 +16,7 @@ use std::borrow::ToOwned;
pub struct FontTemplateData {
pub ctfont: Option<CTFont>,
pu... | 1 | 3 | 1 |
5d3566695a8f8233dba083dcf7893ab1b9296e32 | Manish Goregaokar | 2015-03-14T14:39:48 | servo: Merge #5212 - Add --no-ssl flag for bypassing SSL checking (from Manishearth:ssl-off); r=larsbergstrom
SSL is broken-ish (eg tw.yahoo.com, html.spec.whatwg.org don't work since we don't verify SAN properly), this flag can let devs bypass the protection for testing purposes.
Source-Repo: https://github.com/serv... | diff --git a/net/http_loader.rs b/net/http_loader.rs
index 9cb337638..c3e6a5dfb 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -23,6 +23,7 @@ use std::sync::mpsc::{Sender, channel};
use std::thunk::Invoke;
use util::task::spawn_named;
use util::resource_files::resources_dir_path;
+use util::opts;
use u... | 2 | 13 | 1 |
b2a00dc256a620a3e8b3ee2b33b59e9c89907786 | Ms2ger | 2015-03-14T13:54:49 | servo: Merge #5211 - Use qitem rather than QualityItem::new in XHR (from Ms2ger:qitem); r=Manishearth
This is more future-proof.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2fb5eb8747fb4189ca577cc93b056f1290876980 | diff --git a/script/dom/xmlhttprequest.rs b/script/dom/xmlhttprequest.rs
index b8530f5b3..cb257f1ed 100644
--- a/script/dom/xmlhttprequest.rs
+++ b/script/dom/xmlhttprequest.rs
@@ -33,7 +33,7 @@ use encoding::label::encoding_from_whatwg_label;
use encoding::types::{DecoderTrap, Encoding, EncodingRef, EncoderTrap};
... | 1 | 2 | 2 |
6dff4d18fd7676903b49003804b20eb08b406c61 | James Gilbertson | 2015-03-13T15:36:50 | servo: Merge #5180 - Fix broken viewport percentage length units after a viewport resize (from luniv:viewport-length-cached-values-invalidation); r=SimonSapin
When a viewport is resized, the computed values for a style containing viewport percentage length units become stale. However, there's no way for those styles t... | diff --git a/layout/context.rs b/layout/context.rs
index 00d9f2139..7420a29fa 100644
--- a/layout/context.rs
+++ b/layout/context.rs
@@ -41,6 +41,10 @@ fn create_or_get_local_context(shared_layout_context: &SharedLayoutContext) -> *
style_sharing_candidate_cache: StyleSharingCandidateCache::new(),
... | 3 | 19 | 5 |
ddec21f5a8a0a1ed950de96eb4dd39d5119ccf07 | hirschenberger | 2015-03-12T11:51:48 | servo: Merge #5194 - Fix #5176 by premultiplying the alpha channel to the color channels (from hirschenberger:gif_alpha_background); r=larsbergstrom
This is GIF specific. It's also done when the image is PNG but PNG is
handled separately with the PNG crate, whereas GIFs are handled by the
stb-image crate and the disti... | diff --git a/net/image/base.rs b/net/image/base.rs
index 4acbd35cb..46436ef84 100644
--- a/net/image/base.rs
+++ b/net/image/base.rs
@@ -59,7 +59,12 @@ pub fn load_from_memory(buffer: &[u8]) -> Option<Image> {
match stb_image::load_from_memory_with_depth(buffer, FORCE_DEPTH, true) {
stb_image::Loa... | 1 | 13 | 1 |
4c90a94a463950717b799273d750a46fba87c5ea | Ms2ger | 2015-03-12T03:42:48 | servo: Merge #5201 - Remove plugin attributes from extern crates (from Ms2ger:plugins); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 27a76f14b2baa58946004e17f4a417344a43e0a5 | diff --git a/plugins/lib.rs b/plugins/lib.rs
index da826cf68..26e7b07e0 100644
--- a/plugins/lib.rs
+++ b/plugins/lib.rs
@@ -16,10 +16,8 @@
#![allow(missing_copy_implementations)]
-#[plugin]
#[macro_use]
extern crate syntax;
-#[plugin]
#[macro_use]
extern crate rustc; | 1 | 0 | 2 |
9ac5f44274612cd8b4f894ca7776ef43f5454c39 | Md. Enzam Hossain | 2015-03-11T20:12:50 | servo: Merge #5198 - Remove redundant force_relayout calls (from ienzam:force_relayout_cleanup); r=jdm
This is a cleanup for issue #3959
Do I need to inline force_relayout?
Source-Repo: https://github.com/servo/servo
Source-Revision: 7b6e314df1b93bd749eee9036927d795f26e1590 | diff --git a/script/dom/htmlinputelement.rs b/script/dom/htmlinputelement.rs
index 6b25090ae..15d5ee018 100644
--- a/script/dom/htmlinputelement.rs
+++ b/script/dom/htmlinputelement.rs
@@ -245,7 +245,6 @@ impl<'a> HTMLInputElementMethods for JSRef<'a, HTMLInputElement> {
fn SetValue(self, value: DOMString) {
... | 1 | 0 | 8 |
2c8df4938ba6efa9cedf3898d0905303ef03e116 | Glenn Watson | 2015-03-11T09:45:47 | servo: Merge #5192 - Remove now unused id field for frame tree (from glennw:remove-frame-id); r=Ms2ger
This will be re-introduced in a follow up PR with a different usage, but I'm trying to create small, independent PRs that are easier to review than one large change.
Source-Repo: https://github.com/servo/servo
Sourc... | diff --git a/compositing/compositor_task.rs b/compositing/compositor_task.rs
index 172716be5..7edc65422 100644
--- a/compositing/compositor_task.rs
+++ b/compositing/compositor_task.rs
@@ -5,7 +5,7 @@
//! Communication with the compositor task.
pub use windowing;
-pub use constellation::{FrameId, SendableFrameTree}... | 4 | 9 | 38 |
6c4ffb68e53c50be87b00be1733274f33f9d6372 | Glenn Watson | 2015-03-11T00:12:47 | servo: Merge #5189 - Make change page url message consistent with other compositor messages (from glennw:page-url); r=larsbergstrom
This doesn't have any effect on functionality, it just simplifies a few upcoming changes with how FrameIds work.
Source-Repo: https://github.com/servo/servo
Source-Revision: e581648c75a5... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 02461adb1..715c3bc89 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -5,7 +5,7 @@
use compositor_layer::{CompositorData, CompositorLayer, WantsScrollEventsFlag};
use compositor_task::{CompositorEventListener, Compositor... | 3 | 6 | 6 |
e584dd726b12d246072b398a5d66b8a39aa827f7 | Glenn Watson | 2015-03-10T22:57:47 | servo: Merge #5188 - Perform reflow if load events dirty any nodes (from glennw:reflow-events); r=jdm
This fixes some test failures that begin occurring when other events (such as resize) are fixed to only occur when needed.
Source-Repo: https://github.com/servo/servo
Source-Revision: 19827658deaf21eb811203f89c78a0f9... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index e696e035d..cc9ab9d38 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -1387,6 +1387,8 @@ impl DocumentProgressHandler {
EventCancelable::NotCancelable).root();
let doctarget: JSRef<EventTarget>... | 2 | 8 | 2 |
81d2284ffc5b46ac474880e801106df1a26a40cb | Zack Slayton | 2015-03-10T13:51:50 | servo: Merge #5182 - Use new `if let` syntax wherever possible. Fixes #4153 (from zslayton:master); r=jdm
Opening this PR to invite feedback.
Of the many `match` statement candidates for conversion to `if let`, several included `if` guards. Since `if let` doesn't support this syntax, I used nested if statements. If t... | diff --git a/script/dom/bindings/utils.rs b/script/dom/bindings/utils.rs
index 56c9b5828..5dc48bd53 100644
--- a/script/dom/bindings/utils.rs
+++ b/script/dom/bindings/utils.rs
@@ -224,23 +224,16 @@ fn create_interface_object(cx: *mut JSContext, global: *mut JSObject,
let constructor = JS_GetFunctionObject(fun... | 25 | 178 | 262 |
474ea864b9f2f335a2ef8ad67f71b1e98de5039e | Avi Weinstock | 2015-03-09T23:00:51 | servo: Merge #5183 - Subsume ScriptMsg::WorkerDispatchErrorEvent into ScriptMsg::RunnableMsg (from aweinstock314:master); r=saneyuki
...via introduction of Worker::WorkerErrorHandler (Closes #5171).
Source-Repo: https://github.com/servo/servo
Source-Revision: f4a362725faeb41aef85631965d3a4fd6153a70d | diff --git a/script/dom/dedicatedworkerglobalscope.rs b/script/dom/dedicatedworkerglobalscope.rs
index ea16903fd..3ae4cbc14 100644
--- a/script/dom/dedicatedworkerglobalscope.rs
+++ b/script/dom/dedicatedworkerglobalscope.rs
@@ -18,11 +18,10 @@ use dom::bindings::utils::Reflectable;
use dom::errorevent::ErrorEvent;
u... | 3 | 30 | 13 |
5778fb060bc7a3553e37a12abd72940852086a17 | Matt Brubeck | 2015-03-09T21:54:51 | servo: Merge #5143 - Layout fixes for RTL child flows in LTR parents (from mbrubeck:rtl); r=pcwalton
...and vice-versa. This is not a complete fix for all mixed-direction layout cases, but it fixes enough problems to make some simple test cases pass, like tha attached reftest.
There are FIXME comments for many of th... | diff --git a/layout/block.rs b/layout/block.rs
index 81edba159..456ee73d0 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -54,7 +54,7 @@ use rustc_serialize::{Encoder, Encodable};
use msg::compositor_msg::LayerId;
use msg::constellation_msg::ConstellationChan;
use util::geometry::{Au, MAX_AU};
-use util::logic... | 5 | 131 | 26 |
971fdff6aaa57bc4f3749630f85af21ec67421d8 | Jack Moffitt | 2015-03-08T03:45:48 | servo: Merge #5170 - Fix scrolling on OS X (from metajack:update-cocoa-glutin); r=pcwalton
This just requires updating glutin and cocoa to pick up some backported fixes.
Source-Repo: https://github.com/servo/servo
Source-Revision: da880af7428e3b76a9a5e7d3a5ff2c80a32d63f0 | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 0887b9caf..315c0ce89 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -76,7 +76,7 @@ dependencies = [
[[package]]
name = "cocoa"
version = "0.1.1"
-source = "git+https://github.com/servo/rust-cocoa#458971cb1199cd25fd31f9c17852e76926622b92"
+source = "git+... | 1 | 4 | 4 |
82801862af02802bce8887f7e8d995f24fc46c5b | Adenilson Cavalcanti | 2015-03-07T04:48:50 | servo: Merge #5150 - Implements reflow events debugging (from Adenilson:reflowNotifications03); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f3feed2bea957de0910a136d33dff4fb3c07a22 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 4b74d6e20..e696e035d 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -56,7 +56,7 @@ use dom::processinginstruction::ProcessingInstruction;
use dom::range::Range;
use dom::treewalker::TreeWalker;
use dom::uievent::UIEvent;
-use dom... | 4 | 70 | 18 |
43634d907dbb77035dabf0f2c193e8164104abd2 | Prabhjyot Singh Sodhi | 2015-03-06T20:36:53 | servo: Merge #5054 - implement missing steps from "prepare a script" algorithm (from psdh:scriptimplementation); r=jdm
Fixes #4089
Source-Repo: https://github.com/servo/servo
Source-Revision: 73e5bbec4316c2e9b83121d5127687c20e1fb796 | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index bf99123f7..fa7dcdd6f 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -35,6 +35,7 @@ use dom::bindings::utils::{Reflectable, Reflector, WindowProxyHandler};
use script_task::ScriptChan;
use cssparser::RGBA;... | 3 | 39 | 9 |
6b218b7f7f500bd177d27e203a0f3c762920a3ce | Mikko Perttunen | 2015-03-06T17:31:05 | servo: Merge #5153 - Handle font load errors in FontContext (from cyndis:check-font-result); r=jdm
Thread font load errors from platform font loading code to
FontContext::get_layout_font_group_for_style, and cache the failure
result, instead of panicing the thread when a font fails to load.
Before this patch, a faile... | diff --git a/gfx/font_context.rs b/gfx/font_context.rs
index 1441d1d53..24574676f 100644
--- a/gfx/font_context.rs
+++ b/gfx/font_context.rs
@@ -97,7 +97,7 @@ impl FontContext {
/// Create a font for use in layout calculations.
fn create_layout_font(&self, template: Arc<FontTemplateData>,
... | 1 | 41 | 24 |
347830b80424334bd84cad984f69823d2ebb0ae1 | Guro Bokum | 2015-03-06T16:42:52 | servo: Merge #5139 - ScriptTask::mouse_over_targets is not traced #4985 (from JIoJIaJIu:trace); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: eda9c0c9ac29646c5b4c9ce30b97c6547345171e | diff --git a/script/dom/bindings/trace.rs b/script/dom/bindings/trace.rs
index b7d677a58..bf99123f7 100644
--- a/script/dom/bindings/trace.rs
+++ b/script/dom/bindings/trace.rs
@@ -42,7 +42,7 @@ use hyper::header::Headers;
use hyper::method::Method;
use js::jsapi::{JSObject, JSTracer, JS_CallTracer, JSGCTraceKind};
... | 2 | 31 | 4 |
c59f139ef30fff2debb572909b2ed0df85865cbb | Gilles Leblanc | 2015-03-06T03:03:55 | servo: Merge #5105 - Add more robust hostsfile parsing (from gilles-leblanc:issue-5063); r=jdm
Adds hostsfile parsing support for:
* Tabs
* Comments (line and end of line)
* IPv4 address validation
* Basic IPv6 address validation
* End of line whitespaces
* Host name alias (multiple host names per address)
Fixes #506... | diff --git a/net/Cargo.toml b/net/Cargo.toml
index dc8bfd9b2..a80a07b7d 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -29,3 +29,5 @@ time = "0.1.17"
openssl="0.3.1"
rustc-serialize = "0.2"
cookie="*"
+regex = "0.1.14"
+regex_macros = "0.1.8"
diff --git a/net/lib.rs b/net/lib.rs
index 706af1a53..2c2a96a82 10064... | 4 | 152 | 14 |
4af75008ec73a6b96b42eba73e49a11dbfb15166 | James Gilbertson | 2015-03-06T01:55:02 | servo: Merge #5154 - Implement 'vw', 'vw', 'vmin', 'vmax' CSS length units (from luniv:viewpoint-percent-lengths); r=SimonSapin
Spec: http://dev.w3.org/csswg/css-values-3/#viewport-relative-lengths
Source-Repo: https://github.com/servo/servo
Source-Revision: a557b51c28aaba398fd85f86af909ec623e2350f | diff --git a/layout/css/matching.rs b/layout/css/matching.rs
index 8e2002ca0..f688be2cd 100644
--- a/layout/css/matching.rs
+++ b/layout/css/matching.rs
@@ -6,6 +6,7 @@
#![allow(unsafe_blocks)]
+use context::SharedLayoutContext;
use css::node_style::StyledNode;
use incremental::{self, RestyleDamage};
use data::... | 6 | 244 | 117 |
f5bc808d838d42b40f98f3965ccd529106865a2c | Dan Fox | 2015-03-05T18:09:58 | servo: Merge #5135 - Fix 5120 rename layout util (from iamdanfox:fix-5120-rename-layout-util); r=jdm
A simple rename/refactor (https://github.com/servo/servo/issues/5120)
My first servo contribution!
Source-Repo: https://github.com/servo/servo
Source-Revision: 7fc37dfaa76c9265e6d2145fe5ef2fba5f6bd013 | diff --git a/layout/block.rs b/layout/block.rs
index fadba8af4..81edba159 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -53,9 +53,9 @@ use gfx::display_list::{ClippingRegion, DisplayList};
use rustc_serialize::{Encoder, Encodable};
use msg::compositor_msg::LayerId;
use msg::constellation_msg::ConstellationCh... | 27 | 172 | 163 |
079ebb5b6034d7fb840665af7e4c0282006f8675 | Ms2ger | 2015-03-05T15:27:50 | servo: Merge #5155 - Remove an unused import from properties.rs (from Ms2ger:unused-import); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: caf5663e0981f36a621dde1dd51be2bd0a15dd24 | diff --git a/style/properties.mako.rs b/style/properties.mako.rs
index 5330de59a..11089b165 100644
--- a/style/properties.mako.rs
+++ b/style/properties.mako.rs
@@ -2687,8 +2687,6 @@ pub mod shorthands {
use properties::longhands::{background_color, background_position, background_repeat};
use propert... | 1 | 0 | 2 |
fa87e7f1c316a4bbadbdae01c7706ded70881baf | Keith Yeung | 2015-03-05T08:15:44 | servo: Merge #5127 - Added type parameter to PartialEq on JSRef (from KiChjang:partial-eq-jsref); r=Ms2ger
Fixes #5112, #3960
Source-Repo: https://github.com/servo/servo
Source-Revision: 67548a6244f0cf92f6b71507b69dceb2115d1aa2 | diff --git a/script/dom/bindings/js.rs b/script/dom/bindings/js.rs
index b370b3a07..7ada9f45d 100644
--- a/script/dom/bindings/js.rs
+++ b/script/dom/bindings/js.rs
@@ -727,7 +727,7 @@ impl<'a, T> Clone for JSRef<'a, T> {
}
}
-impl<'a, T> PartialEq for JSRef<'a, T> {
+impl<'a, 'b, T> PartialEq<JSRef<'b, T>> for... | 3 | 7 | 7 |
acf7979395b1f6696b68b44164c02e5a5edde630 | Adenilson Cavalcanti | 2015-03-04T23:54:44 | servo: Merge #5144 - Remove flush_layout() (from Adenilson:removeFlushLayout01); r=Manishearth
Due to changes on Page/Window interfaces, we no longer have use for flush_layout().
Source-Repo: https://github.com/servo/servo
Source-Revision: 34289943e354b2ac0e54fd1fe2d65c944f6c8e9d | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 6d559483e..059f568f8 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -523,7 +523,7 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
el.authentic_click_activation(event);
self.commit_focus_transaction();
-... | 3 | 6 | 11 |
b4d9d91bfc242740a942cd753c4edc25dc3899f4 | Adenilson Cavalcanti | 2015-03-04T14:51:44 | servo: Merge #5137 - Cleanup compilation warning (from Adenilson:cleanupWarning02); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 761f7f056c607ed67adc0c4927ae63847aef8f0d | diff --git a/util/memory.rs b/util/memory.rs
index c309cdbb4..6327a6e01 100644
--- a/util/memory.rs
+++ b/util/memory.rs
@@ -7,6 +7,7 @@
use libc::{c_char,c_int,c_void,size_t};
use std::borrow::ToOwned;
use std::ffi::CString;
+#[cfg(target_os = "linux")]
use std::iter::AdditiveIterator;
use std::old_io::timer::sle... | 1 | 1 | 0 |
082dd16fe4f8e854e7f40d5ff8c1147f1ac62140 | Bryan Bell | 2015-03-04T05:24:44 | servo: Merge #5128 - For inline-block correctly use min-width (from bjwbell:inline-block_fix_min-width); r=jdm
With inline-block elements set the width to max(min width,
specified width) instead of only using the specified width.
Fixes https://github.com/servo/servo/issues/4945
Source-Repo: https://github.com/servo/... | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 31642bb4c..3fba0974b 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -982,10 +982,11 @@ impl Fragment {
fn style_specified_intrinsic_inline_size(&self) -> IntrinsicISizesContribution {
let flags = self.quantities_included_in_intrinsic_... | 1 | 7 | 5 |
220e9050cfd0e209de76da866385b6a6eb6df993 | Glenn Watson | 2015-03-03T22:12:45 | servo: Merge #5125 - Remove compositor layers when iframes are removed from doc or display:none (from glennw:remove-iframe-layers); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: e19fbc686cd10d59c9e02593f0b6ab68aabe02fc | diff --git a/layout/block.rs b/layout/block.rs
index 822ec6bfb..fadba8af4 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -52,6 +52,7 @@ use geom::{Point2D, Rect, Size2D};
use gfx::display_list::{ClippingRegion, DisplayList};
use rustc_serialize::{Encoder, Encodable};
use msg::compositor_msg::LayerId;
+use msg... | 6 | 95 | 37 |
ac9bbd93d9c41511aaaf25692dbba60248b69294 | Adenilson Cavalcanti | 2015-03-03T20:51:48 | servo: Merge #5124 - Cleanup compilation warning (from Adenilson:cleanupWarning01); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 621150db1ca2d6ac9d4ba5d2709726dbc4139883 | diff --git a/script/dom/canvasrenderingcontext2d.rs b/script/dom/canvasrenderingcontext2d.rs
index d0ae869d8..8367e27d0 100644
--- a/script/dom/canvasrenderingcontext2d.rs
+++ b/script/dom/canvasrenderingcontext2d.rs
@@ -151,7 +151,7 @@ impl<'a> CanvasRenderingContext2DMethods for JSRef<'a, CanvasRenderingContext2D>
... | 1 | 1 | 1 |
161f945f433ef7690d789c3f29f67cdba2564ad3 | Simon Sapin | 2015-03-03T20:16:03 | servo: Revert "Refactor content property parsing."
This reverts commit 50800940dc5c8cf424d5786c447f7ff1d0432a97.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7a218b3f08c95b5c1a14ef1bbf09658d61b8d342 | diff --git a/style/properties.mako.rs b/style/properties.mako.rs
index 6cb61bdc1..b3ccef6f9 100644
--- a/style/properties.mako.rs
+++ b/style/properties.mako.rs
@@ -760,6 +760,7 @@ pub mod longhands {
<%self:longhand name="content">
use cssparser::{ToCss, Token};
use std::ascii::AsciiExt;
+ ... | 1 | 109 | 27 |
1052d8f548f25b0d196b4255378d8e5085446bb0 | Simon Sapin | 2015-03-03T20:16:01 | servo: Revert "Tidy."
This reverts commit e209f5e0da5a3dd3b188d11e884b2859daf053d3.
Source-Repo: https://github.com/servo/servo
Source-Revision: e590f9b7f4167ed9a2b46d97b282b99a0fa47d5f | diff --git a/style/properties.mako.rs b/style/properties.mako.rs
index b15c31502..6cb61bdc1 100644
--- a/style/properties.mako.rs
+++ b/style/properties.mako.rs
@@ -923,12 +923,8 @@ pub mod longhands {
// upper-roman
//
// [1]: http://dev.w3.org/csswg/css-counter-styles/
- ${single_keyword("list-s... | 1 | 2 | 6 |
c3ed53afce2a80648e995f57cc6ac01c092c7db3 | Avi Weinstock | 2015-03-03T14:18:53 | servo: Merge #5131 - Replace borrow with borrow_for_gc_trace in JSTraceable::trace (Issue #47 (from aweinstock314:master); r=jdm
...78).
Source-Repo: https://github.com/servo/servo
Source-Revision: 417a932e306438b5cda7a7071412a34d3e503f94 | diff --git a/script/dom/bindings/cell.rs b/script/dom/bindings/cell.rs
index 810852568..18ea62d71 100644
--- a/script/dom/bindings/cell.rs
+++ b/script/dom/bindings/cell.rs
@@ -94,7 +94,9 @@ impl<T> DOMRefCell<T> {
impl<T: JSTraceable> JSTraceable for DOMRefCell<T> {
fn trace(&self, trc: *mut JSTracer) {
- ... | 1 | 3 | 1 |
8e04dbb0774858b22df266d9578949c179bf62a3 | Glenn Watson | 2015-03-03T02:42:49 | servo: Merge #5121 - Fix hover state on elements with transparent background colours (from glennw:transparent-hover); r=mbrubeck
Move culling of transparent display items to paint task rather than display list builder, so that hit testing detects mouse over on transparent background elements.
Source-Repo: https://git... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 7ad745a1a..9ba4d93e9 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -28,6 +28,7 @@ use azure::azure_hl::{Color};
use collections::dlist::{self, DList};
use geom::{Point2D, Rect, SideOffsets2D, Size2D, Matrix2D};
+use geom::a... | 2 | 12 | 12 |
5e4a297f51b2a30ab51257307b0ca3226030255d | Prabhjyot Singh Sodhi | 2015-03-03T01:27:51 | servo: Merge #5114 - Replacing uses of accumulating fold with sum (from psdh:foldsum); r=jdm
Fix #5109
Source-Repo: https://github.com/servo/servo
Source-Revision: 290b025f8992569ed98a8556b70d5ebafb57a154 | diff --git a/util/memory.rs b/util/memory.rs
index e5e20d4cc..c309cdbb4 100644
--- a/util/memory.rs
+++ b/util/memory.rs
@@ -7,6 +7,7 @@
use libc::{c_char,c_int,c_void,size_t};
use std::borrow::ToOwned;
use std::ffi::CString;
+use std::iter::AdditiveIterator;
use std::old_io::timer::sleep;
#[cfg(target_os="linux")... | 1 | 2 | 1 |
7d120fb5b176fcd1ec9f8bf05a567cae5604844f | Glenn Watson | 2015-03-03T00:24:56 | servo: Merge #5113 - Only allow root pipelines to set the window title (from glennw:fix-title); r=mbrubeck
Sometimes, the root pipeline title is sent before the compositor has created the root pipeline, so also request the main page title once the initial frame tree has been sent.
Source-Repo: https://github.com/serv... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index bf5370c4a..cf303102b 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -288,6 +288,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
response_chan,
... | 1 | 8 | 2 |
3a3c98b545ba7b187d657716f12afa8d97a89e0f | Glenn Watson | 2015-03-02T23:45:51 | servo: Merge #5086 - Reap layout data whenever a node is removed from the tree (from glennw:reap-more-stuff); r=jdm
Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts.
Clear the layout data when a node becomes display:none.
Source-Repo: https://github.com/se... | diff --git a/layout/construct.rs b/layout/construct.rs
index aa6a50f05..b2ea8090e 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -1329,6 +1329,13 @@ impl<'ln> NodeUtils for ThreadSafeLayoutNode<'ln> {
let mut layout_data_ref = self.mutate_layout_data();
let layout_data = layout_data_ref... | 5 | 35 | 40 |
a823ed611dcc53014f6d4172f864e13865bbbff5 | Glenn Watson | 2015-03-02T22:30:52 | servo: Merge #5065 - Fix making an iframe visible when it was initially set to display:none (from glennw:iframe-vis-fix); r=pcwalton
When an iframe is created with display:none it sets the root layer to be zero width and height. When updating the rect of the iframe from layout send the entire rect rather than just the... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 3ed89b376..bf5370c4a 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -315,9 +315,9 @@ impl<Window: WindowMethods> IOCompositor<Window> {
chan.send(Some(self.window.native_metadata())).unwrap();
... | 4 | 14 | 14 |
463d7f4795c78e8fb18493ead7d8aaa699860062 | Keith Yeung | 2015-03-02T05:18:49 | servo: Merge #5111 - Implementation of step 1 activation behavior of htmlanchorelement (from KiChjang:step-1-anchor); r=Manishearth
Fixes #4871
Source-Repo: https://github.com/servo/servo
Source-Revision: fed878710c5697b49ccf5185ebe08a58be27073f | diff --git a/script/dom/document.rs b/script/dom/document.rs
index d33e223bd..6e5413ebd 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -189,6 +189,7 @@ pub trait DocumentHelpers<'a> {
fn window(self) -> Temporary<Window>;
fn encoding_name(self) -> Ref<'a, DOMString>;
fn is_html_docum... | 2 | 21 | 2 |
6b2479207bd335564084e231c5ae44e9b25d8c96 | Ms2ger | 2015-02-28T21:45:47 | servo: Merge #5104 - Remove unused import from script_task (from Ms2ger:unused-import); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 154427ce51cf06b54940f84895d8f42aca79e2c2 | diff --git a/script/script_task.rs b/script/script_task.rs
index c9293e4fe..51361bd14 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -23,7 +23,6 @@ use dom::element::{Element, AttributeHandlers};
use dom::event::{Event, EventHelpers};
use dom::uievent::UIEvent;
use dom::eventtarget::EventTarget;
-... | 1 | 0 | 1 |
dab3d055f4467399492704119f78d5765608fb0f | Guro Bokum | 2015-02-28T19:21:51 | servo: Merge #5073 - Move body of ScriptTask::handle_mouse_move_event into a method on Document (fixes #5032) (from JIoJIaJIu:handle_mouse_event); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 75060f41dbd6c9a6e8865f1c1c88f5b984b199f7 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 333891de2..d33e223bd 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -83,6 +83,7 @@ use std::ascii::AsciiExt;
use std::cell::{Cell, Ref};
use std::default::Default;
use std::sync::mpsc::channel;
+use std::num::ToPrimitive;
use ti... | 2 | 81 | 73 |
cc14caa80c1d8db6defb9444037bc68b76b50054 | Ankit Agrawal | 2015-02-28T18:46:02 | servo: Merge #5102 - Add profiling to image decoding (from servo:profile-img); r=jdm
This extracts some independently useful parts of
<https://github.com/servo/servo/pull/4215>.
Source-Repo: https://github.com/servo/servo
Source-Revision: 16bc4749af685c7a1728858c15ead011ab415615 | diff --git a/net/image_cache_task.rs b/net/image_cache_task.rs
index ddf80570d..6a0d08323 100644
--- a/net/image_cache_task.rs
+++ b/net/image_cache_task.rs
@@ -9,6 +9,7 @@ use resource_task::ProgressMsg::{Payload, Done};
use util::task::spawn_named;
use util::taskpool::TaskPool;
+use util::time::{self, profile, Ti... | 3 | 42 | 22 |
f3587af84ef9d1788288073515998bac0f8610f4 | Liam Zdenek | 2015-02-28T16:21:54 | servo: Merge #5059 - Click event is now a MouseEvent (from saneyuki:event); r=jdm
Fix #4260
Pick up: This original commit is https://github.com/servo/servo/pull/4718.
Source-Repo: https://github.com/servo/servo
Source-Revision: b261d27ac5fc5e8a858b344087792f9b1709ee55 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index c369b8f1d..333891de2 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -446,14 +446,25 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
let doc = window.r().Document().root();
doc.r().begin_fo... | 1 | 17 | 6 |
0e1e12acf960c3885995abba2cd3cb120b58ebe6 | Alexandru Cojocaru | 2015-02-28T14:21:53 | servo: Merge #5098 - Remove uint/int inside `components/util` (partial #4745) (from servo:int-util); r=Ms2ger
This leaves range.rs alone.
Source-Repo: https://github.com/servo/servo
Source-Revision: 07b918f731c0ff7c101f69195a4ff94b2f13acdc | diff --git a/util/cache.rs b/util/cache.rs
index b3f2aaf55..757a6d60c 100644
--- a/util/cache.rs
+++ b/util/cache.rs
@@ -59,7 +59,7 @@ impl<K, V> HashCache<K,V>
#[test]
fn test_hashcache() {
- let mut cache: HashCache<uint, Cell<&str>> = HashCache::new();
+ let mut cache: HashCache<usize, Cell<&str>> = HashCa... | 11 | 69 | 69 |
6da4ff5a8f125867345700e8b28b056952e99684 | yodalee | 2015-02-28T02:39:58 | servo: Merge #4928 - Issue4906 fix characterdata substringdata (from yodalee:issue4906-fix-characterdata-substringdata); r=jdm
issue #4906
Fix substringData function, and add a test case for all function in characterdata.
Source-Repo: https://github.com/servo/servo
Source-Revision: 55f763654910bb3110a8853d74481290a4e... | diff --git a/script/dom/characterdata.rs b/script/dom/characterdata.rs
index 9fc2f5ec0..b7703e7e7 100644
--- a/script/dom/characterdata.rs
+++ b/script/dom/characterdata.rs
@@ -77,11 +77,11 @@ impl<'a> CharacterDataMethods for JSRef<'a, CharacterData> {
}
fn Length(self) -> u32 {
- self.data.borrow()... | 1 | 5 | 5 |
5bd8fd2e5becc839e43304feab7c5e8f2e16ee5a | Bryan Bell | 2015-02-27T23:57:53 | servo: Merge #4952 - Dont draw interior borders for text run fragments (from bjwbell:borders-txt-nodes); r=pcwalton
Inline fragments that are part of a text run don't have interior borders.
So don't draw interior borders or include them when calculating positioning.
Fixes https://github.com/servo/servo/issues/4658, w... | diff --git a/layout/construct.rs b/layout/construct.rs
index 20c5b0b44..aa6a50f05 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -195,14 +195,17 @@ impl InlineFragmentsAccumulator {
mut fragments,
enclosing_style
} = self;
+ if let Some(enclosing_style) = enclosi... | 3 | 49 | 9 |
ce35f828ce9b50c6dcd03cfec003fa67614b6cb9 | dhneio | 2015-02-27T16:48:58 | servo: Merge #5091 - Remove AccessControl header implementations in favor of hyper’s (from dhneio:5090); r=jdm
We no longer need these header implementations as they are included in hyper. Fixes #5090.
Source-Repo: https://github.com/servo/servo
Source-Revision: 60ce6c3b0fa7bd4199976a2b7e18f14df99bc511 | diff --git a/script/cors.rs b/script/cors.rs
index e326e8917..6930848bb 100644
--- a/script/cors.rs
+++ b/script/cors.rs
@@ -10,13 +10,13 @@
//! with CORSRequest being expanded into FetchRequest (etc)
use std::ascii::AsciiExt;
-use std::fmt::{self, Display};
-use std::str::from_utf8;
use time;
use time::{now, Tim... | 1 | 4 | 148 |
02166674f5a6828106bb9d02be5bded997cb119b | Glenn Watson | 2015-02-26T21:46:10 | servo: Merge #5064 - Fix setting display:none after a layout where the element was visible (from glennw:hide-after-layout); r=pcwalton
Prior to incremental layout, the code would remove the existing
construction result. However, with incremental layout the construction result
is cloned rather than removed. This change... | diff --git a/layout/construct.rs b/layout/construct.rs
index 2d031d4f9..20c5b0b44 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -1170,8 +1170,9 @@ impl<'a> PostorderNodeMutTraversal for FlowConstructor<'a> {
// results of children.
(display::T::none, _, _) => {
... | 1 | 2 | 1 |
75bc1c67166abf5e6c861ae11442ff690f045eeb | Jack Moffitt | 2015-02-26T15:39:54 | servo: Merge #5078 - Update to latest Cocoa (from metajack:cocoa-hotifx); r=jdm
This fixes Servo in release mode on OS X.
Source-Repo: https://github.com/servo/servo
Source-Revision: 24139a21e8dabf5d1b16773a3a7a1919aa2655fd | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 018ae7f86..941bd2213 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -76,7 +76,7 @@ dependencies = [
[[package]]
name = "cocoa"
version = "0.1.1"
-source = "git+https://github.com/servo/rust-cocoa#7768a8f6af73d132b68e5cad6a0d81ec54102abe"
+source = "git+... | 1 | 1 | 1 |
4ea00d53e40ecb3c39c71b9674d163453346a978 | Keith Yeung | 2015-02-26T13:15:56 | servo: Merge #5031 - Moved dispatch_key_event method from script_task.rs to document.rs (from KiChjang:refactor-dispatch-key-event); r=jdm
Fixes #4982
Source-Repo: https://github.com/servo/servo
Source-Revision: 071941da59e442ad359d97e7c36e387c0029f9aa | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 6673d14fe..5e29dd60e 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -6,6 +6,7 @@ use dom::attr::{Attr, AttrHelpers, AttrValue};
use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::DocumentBinding;
use dom::... | 2 | 92 | 90 |
38c1631168d80535a6706abc49bc1fdd0987deec | James Gilbertson | 2015-02-26T08:06:51 | servo: Merge #5070 - Implement 'beforescriptexecute' and 'afterscriptexecute' events (from luniv:script-before-after-events); r=Ms2ger
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9
Source-Repo: https://github.com/servo/servo
Source-Revision: c1645bd10ccd9... | diff --git a/script/dom/event.rs b/script/dom/event.rs
index eae43afe9..2a284fcb4 100644
--- a/script/dom/event.rs
+++ b/script/dom/event.rs
@@ -246,7 +246,7 @@ impl<'a> EventMethods for JSRef<'a, Event> {
pub trait EventHelpers {
fn set_trusted(self, trusted: bool);
- fn fire(self, target: JSRef<EventTarget... | 2 | 55 | 24 |
41628b26c12666f591720eca8d64c506ab2a35ee | Adenilson Cavalcanti | 2015-02-26T05:48:50 | servo: Merge #5072 - Clean compilation warnings (from Adenilson:cleanWarnings01); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a8b55e821a10c5ed8e5942e88e88eb20d08ad43c | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index e9e230bd9..694fdeef1 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -170,13 +170,13 @@ impl DisplayList {
match *item {
// TODO(savago): would be nice to have other information associated wi... | 1 | 8 | 8 |
57089869b90de4d6de7dbd18e382800b132339e1 | Glenn Watson | 2015-02-26T04:06:57 | servo: Merge #5071 - If root element contains "reftest-wait" class, don't mark document as ready until it's removed (from glennw:reftest-wait); r=jdm
This allows reftests to perform tests for incremental layout and other bugs that require rendering multiple frames.
Source-Repo: https://github.com/servo/servo
Source-R... | diff --git a/script/script_task.rs b/script/script_task.rs
index 348328507..83b2fd8ca 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -22,7 +22,7 @@ use dom::bindings::structuredclone::StructuredCloneData;
use dom::bindings::trace::JSTraceable;
use dom::bindings::utils::{wrap_for_same_compartment, p... | 1 | 9 | 2 |
7311ced1bbc5cd0fad9e1af61f3903b88644bc23 | Adenilson Cavalcanti | 2015-02-26T03:15:56 | servo: Merge #5062 - Implements a DisplayList dumper (from Adenilson:printDisplayList01); r=pcwalton
This patch will iterate through the DisplayList after the reflow is done and print its elements (as also any sub-lists associated to a child node stacking context).
Source-Repo: https://github.com/servo/servo
Source-R... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 50aa8b086..e9e230bd9 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -148,6 +148,53 @@ impl DisplayList {
}
result
}
+
+ // Print the display list. Only makes sense to call it after performing reflow.
+ ... | 3 | 59 | 0 |
e8ab05aba3e950cf2f91fc3c4eed92fdf17256d9 | Jack Moffitt | 2015-02-25T19:04:04 | servo: Merge #5069 - Change Servo release builds to include debugging (from metajack:rel-debug); r=larsbergstrom
This makes basic symbols available in release builds.
Source-Repo: https://github.com/servo/servo
Source-Revision: 259792e4818c6356a87d8375503feff9f837cf21 | diff --git a/servo/Cargo.toml b/servo/Cargo.toml
index 89d9c8277..bd9367ab0 100644
--- a/servo/Cargo.toml
+++ b/servo/Cargo.toml
@@ -34,6 +34,12 @@ default = ["glutin_app", "window"]
window = ["glutin_app/window"]
headless = ["glutin_app/headless"]
+[profile.release]
+opt-level = 3
+debug = true
+rpath = false
+lto... | 1 | 6 | 0 |
8f0751c143896e877b392d4b0c52257821085eba | Dae-seon Moon | 2015-02-25T14:49:08 | servo: Merge #5068 - Remove ScriptMsg::Navigate (fixes #4948) (from servo:navigate-msg); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: a5688466855c31548ba27506bd99a35b9e6d136d | diff --git a/script/script_task.rs b/script/script_task.rs
index b59bef574..348328507 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -50,7 +50,7 @@ use script_traits::ScriptTaskFactory;
use msg::compositor_msg::ReadyState::{FinishedLoading, Loading, PerformingLayout};
use msg::compositor_msg::{Laye... | 1 | 1 | 13 |
9b465eaa643496d5633797d4335b8ebca82b3388 | Patrick Walton | 2015-02-25T02:12:50 | servo: Merge #5061 - style: Fix parsing of text decorations (from pcwalton:fix-text-decoration); r=mbrubeck
Adds a reftest so it doesn't break again.
r? @mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: cbc4b9520e8fb609fa068bb53193a95202f3a0a7 | diff --git a/style/properties.mako.rs b/style/properties.mako.rs
index f05252064..9318aae87 100644
--- a/style/properties.mako.rs
+++ b/style/properties.mako.rs
@@ -1443,7 +1443,7 @@ pub mod longhands {
impl ComputedValueAsSpecified for SpecifiedValue {}
- #[derive(PartialEq, Eq, Copy, Clone)]
+ ... | 1 | 4 | 5 |
3845f8645f90f17bc9764657f6f1ee689d0a1f0d | Matt Brubeck | 2015-02-25T01:30:57 | servo: Merge #5060 - Fix incorrect comment in BlockFlow (from mbrubeck:comment); r=pcwalton
The behavior of this code was changed in #3631. The parent no longer sets the inline size to a temporary value.
r? @pcwalton or @SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 213b90fdacc3dc27d59e145... | diff --git a/layout/block.rs b/layout/block.rs
index ba11c33cb..e26fb5f8b 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -1232,8 +1232,9 @@ impl BlockFlow {
self.base.restyle_damage.remove(REFLOW_OUT_OF_FLOW | REFLOW);
}
- // Our inline-size was set to the inline-size of the containing block b... | 1 | 3 | 2 |
18a7f8cd02c2ec41627da91a6724b68ddf9217ef | Ms2ger | 2015-02-24T15:15:47 | servo: Merge #5048 - Derive Debug rather than the deprecated Show for TimerControlMsg (from servo:show-warning); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bf60477e955ff8997b8dffd2b4e6da76ad6b3346 | diff --git a/script/timers.rs b/script/timers.rs
index 66dd5ea12..23ae75ce9 100644
--- a/script/timers.rs
+++ b/script/timers.rs
@@ -93,7 +93,7 @@ pub enum IsInterval {
// Messages sent control timers from script task
#[jstraceable]
-#[derive(PartialEq, Copy, Clone, Show)]
+#[derive(PartialEq, Copy, Clone, Debug)]
... | 1 | 1 | 1 |
ac69963c31c2d7d26f45a21c26b38281f633c513 | Pawel Kondzior | 2015-02-24T04:45:46 | servo: Merge #4960 - Add thaw/freeze messages that can suspend/resume webcontent timers #4907 (from pkondzior:add-script-timers-suspend-resume-functionality); r=jdm
Adds free/thaw methods to script_task that let you send suspend/resume messages to web content timers. Fixes #4907
Source-Repo: https://github.com/servo/... | diff --git a/compositing/constellation.rs b/compositing/constellation.rs
index dedf6e07b..daf2cb250 100644
--- a/compositing/constellation.rs
+++ b/compositing/constellation.rs
@@ -834,6 +834,8 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
... | 6 | 105 | 9 |
a58e463c0d7b1ac2a2ab009e2d17ec28285d8037 | Josh Matthews | 2015-02-24T03:30:48 | servo: Merge #4996 - Eagerly report errors when evaluating JS on a global scope. Fixes #4966 (from jdm:reportpending); r=Ms2ger
I believe this problem was introduced with the mozjs error reporting changes, since we don't see errors reported from `<script>` blocks any more.
Source-Repo: https://github.com/servo/servo
... | diff --git a/script/dom/window.rs b/script/dom/window.rs
index ded3ba243..bf6f1d364 100644
--- a/script/dom/window.rs
+++ b/script/dom/window.rs
@@ -10,7 +10,7 @@ use dom::bindings::codegen::Bindings::WindowBinding::WindowMethods;
use dom::bindings::codegen::Bindings::DocumentBinding::DocumentMethods;
use dom::bindin... | 1 | 2 | 1 |
5a6d47d3ca1974e28bd1b837bf4321d4bd2c5fbf | Nicholas Nethercote | 2015-02-24T02:54:50 | servo: Merge #4894 - Read smaps in the memory profiler on Linux (from nnethercote:read-smaps); r=jdm
Here's example -m output after these changesets are applied:
```
_size (MiB)_: _category_
2798.61: vsize
136.80: resident
142.89: resident-according-to-smaps
97.84: - anonymous (rw-p)
23... | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index fea1d2740..018ae7f86 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -696,6 +696,11 @@ dependencies = [
"log 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
+[[package]]
+name = "regex"
+version = "0.1.14"
+source = "registry+https://... | 4 | 134 | 11 |
a81d42355827d557856a98d1c8848c9e43fe1a02 | Glenn Watson | 2015-02-24T02:18:51 | servo: Merge #4959 - Fixes a number of issues with setting hover state, and simplifies the code (from glennw:fix-hover); r=jdm
Specifically:
- Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs.
- Send the mousemove event after all the hover states have been set correctly.
- Correct... | diff --git a/script/page.rs b/script/page.rs
index b369a5e33..c7ea2e44b 100644
--- a/script/page.rs
+++ b/script/page.rs
@@ -436,23 +436,23 @@ impl Page {
address
}
- pub fn get_nodes_under_mouse(&self, point: &Point2D<f32>) -> Option<Vec<UntrustedNodeAddress>> {
+ pub fn get_nodes_under_mouse(&se... | 2 | 78 | 93 |
624c1ff3e2048fb3247203c01f79ba6eab151d3b | Ms2ger | 2015-02-23T21:51:54 | servo: Merge #5040 - Simplify RootCollection::unroot a bit (from Ms2ger:cleanup-unroot); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a5970cceacb40a742a3f34292ad6bf5fa56c01f | diff --git a/script/dom/bindings/js.rs b/script/dom/bindings/js.rs
index 622368af6..b370b3a07 100644
--- a/script/dom/bindings/js.rs
+++ b/script/dom/bindings/js.rs
@@ -634,11 +634,9 @@ impl RootCollection {
fn unroot<'b, T: Reflectable>(&self, rooted: &Root<T>) {
unsafe {
let roots = self.ro... | 1 | 3 | 5 |
83faf861c4b5cb5759e57fc93c7aec2e77ec105b | Ms2ger | 2015-02-23T13:33:47 | servo: Merge #5028 - Split the 'Execute a script block' code out of prepare() (from Ms2ger:script-split); r=jdm
This also adds comments for missing steps.
The only change in behaviour should be the debug message when an external
script fails to load.
Source-Repo: https://github.com/servo/servo
Source-Revision: f0b57... | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index df1a22874..8a0c34836 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -29,12 +29,12 @@ use script_task::{ScriptMsg, Runnable};
use encoding::all::UTF_8;
use encoding::types::{Encoding, DecoderTr... | 1 | 128 | 44 |
b7801fe1a09c4022b3cbccf8e20923d6f0d5a4e2 | Tetsuharu OHZEKI | 2015-02-22T21:57:44 | servo: Merge #5023 - Introduce dom::htmlscriptelement::EventDispatcher (from saneyuki:script); r=Ms2ger
Fix #5021
Source-Repo: https://github.com/servo/servo
Source-Revision: fe7db9d8d0dbf1135cf955a0cfb7bb1405a92a6e | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index 662e88f02..df1a22874 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -40,8 +40,6 @@ use url::UrlParser;
pub struct HTMLScriptElement {
htmlelement: HTMLElement,
- error_occurred: Cell<bo... | 1 | 19 | 10 |
ad5a72148c44e557186be22ad519d2d53a462a58 | Keith Yeung | 2015-02-22T21:24:45 | servo: Merge #5022 - script_task.rs now utilizes hyper's LastModified header (from KiChjang:hyper-last-modified); r=Manishearth
Fixes #4986
Source-Repo: https://github.com/servo/servo
Source-Revision: 3d9ff6e880a22de9fc5f9751da5a404e55ea23bf | diff --git a/script/script_task.rs b/script/script_task.rs
index f29e5690c..16785a8ab 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -66,8 +66,7 @@ use util::task::spawn_named_with_send_on_failure;
use util::task_state;
use geom::point::Point2D;
-use hyper::header::{Header, Headers, HeaderFormat}... | 1 | 2 | 39 |
53f0db9504217f7bd8a354c588e5a00da81ed8b7 | Josh Matthews | 2015-02-22T20:51:45 | servo: Merge #5019 - The HTML serializer depth can change on each iteration (from jdm:serializerfix); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 0ea9dafa639d153f6f064192f8f378c0b482540f | diff --git a/script/dom/htmlserializer.rs b/script/dom/htmlserializer.rs
index 7d0cc7738..9ad6cd77e 100644
--- a/script/dom/htmlserializer.rs
+++ b/script/dom/htmlserializer.rs
@@ -21,8 +21,8 @@ use std::borrow::ToOwned;
pub fn serialize(iterator: &mut NodeIterator) -> String {
let mut html = String::new();
... | 1 | 2 | 2 |
30f519b2e5af19782d6050a8b2a586ce710f2ae3 | Ms2ger | 2015-02-22T16:36:46 | servo: Merge #5004 - Reindent handle_click_event (from Ms2ger:handle_click_event); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e68d6d2924bf2f6f762e2dc50b75fc32c0eafe16 | diff --git a/script/dom/document.rs b/script/dom/document.rs
index d13d5b6c2..6673d14fe 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -400,52 +400,53 @@ impl<'a> DocumentHelpers<'a> for JSRef<'a, Document> {
let window = self.window.root();
let window = window.r();
let p... | 1 | 42 | 41 |
cc473f01f2a54f84d117d70f333b33fdb795433a | Prabhjyot Singh Sodhi | 2015-02-21T19:51:44 | servo: Merge #4956 - Fixing Intermittent failure in pages with timers (from psdh:interfail); r=jdm
Fixes #4923
Source-Repo: https://github.com/servo/servo
Source-Revision: f1f826544919b4fa7cdf4bf263abf0c0c1497f70 | diff --git a/script/dom/bindings/refcounted.rs b/script/dom/bindings/refcounted.rs
index a0183aac5..b7f039cb5 100644
--- a/script/dom/bindings/refcounted.rs
+++ b/script/dom/bindings/refcounted.rs
@@ -114,7 +114,7 @@ impl<T: Reflectable> Drop for Trusted<T> {
*refcount -= 1;
if *refcount == 0 {
... | 8 | 23 | 19 |
aeb6ef607003ccd08cb1d1a72f96484aa5dbaeda | Ms2ger | 2015-02-21T18:33:46 | servo: Merge #5007 - Remove unused imports (from Ms2ger:warnings); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: 939b13f436d2fc895cf8a57140b0bd50acc53a89 | diff --git a/script/script_task.rs b/script/script_task.rs
index ba81a84dc..f63bd70ab 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -15,7 +15,6 @@ use dom::bindings::codegen::Bindings::WindowBinding::WindowMethods;
use dom::bindings::codegen::InheritTypes::{ElementCast, EventTargetCast, HTMLIFrameE... | 1 | 1 | 2 |
433bae07993472f236e95da198f1e9899cf46e21 | Ms2ger | 2015-02-21T17:48:46 | servo: Merge #5006 - Cleanup ScriptTask::load (from Ms2ger:script_task); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: 31c8f97b4b493d828f1b96144772f3df1aff145b | diff --git a/script/script_task.rs b/script/script_task.rs
index 3612b126a..ba81a84dc 100644
--- a/script/script_task.rs
+++ b/script/script_task.rs
@@ -27,7 +27,6 @@ use dom::element::{Element, ActivationElementHelpers};
use dom::event::{Event, EventHelpers, EventBubbles, EventCancelable};
use dom::uievent::UIEvent;... | 1 | 18 | 22 |
4c0cbd335959022231667eda0612a582828acafb | yodalee | 2015-02-21T17:06:48 | servo: Merge #5003 - update mozjs-sys to newest (from yodalee:update-mozjs-sys); r=Ms2ger
update mozjs-sys after rust-mozjs
Source-Repo: https://github.com/servo/servo
Source-Revision: d368d70f14474c5c0460d0d06f163c390cff60bd | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index 76c6506d2..5df5fce9e 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -578,7 +578,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "mozjs-sys"
version = "0.0.0"
-source = "git+https://github.com/servo/mozjs#2267d106... | 1 | 1 | 1 |
61b243995f918be4d3297b21e4a8871eba1bbb78 | Tetsuharu OHZEKI | 2015-02-21T16:24:47 | servo: Merge #4997 - Move DocumentProgressHandler to document.rs (from saneyuki:doc); r=jdm
Fix #4987
Source-Repo: https://github.com/servo/servo
Source-Revision: b589735b47e0c8c9b008831a776a6db38b38cd5d | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 888c82399..d13d5b6c2 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -7,6 +7,7 @@ use dom::bindings::cell::DOMRefCell;
use dom::bindings::codegen::Bindings::DocumentBinding;
use dom::bindings::codegen::Bindings::DocumentBinding::{D... | 2 | 85 | 81 |
9fb6041ddf0281116d022be1a722ae7d1dad8414 | Keith Yeung | 2015-02-21T15:42:46 | servo: Merge #4939 - Script elements now fire async error events (fixes #4506) (from KiChjang:script-element-error-events); r=jdm
Fixes #4506
Source-Repo: https://github.com/servo/servo
Source-Revision: 0be6389158799a58a46564524004e827c5884296 | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index aec5422fd..ee3e85f6e 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -40,6 +40,8 @@ use url::UrlParser;
pub struct HTMLScriptElement {
htmlelement: HTMLElement,
+ error_occurred: Cell<bo... | 1 | 37 | 3 |
ea6af99bed086d77bfbd97236307cb82540c73a2 | Keith Yeung | 2015-02-21T14:39:51 | servo: Merge #4931 - Worker now fires errorevent when url fetching failed, fixes #4511 (from KiChjang:worker-error-event); r=jdm
Fixes #4511
Source-Repo: https://github.com/servo/servo
Source-Revision: 1ad9c678f7fbfaffe86a0f76904aaf5f5a3bbee2 | diff --git a/script/dom/dedicatedworkerglobalscope.rs b/script/dom/dedicatedworkerglobalscope.rs
index d7b68f933..32314d8fc 100644
--- a/script/dom/dedicatedworkerglobalscope.rs
+++ b/script/dom/dedicatedworkerglobalscope.rs
@@ -18,7 +18,7 @@ use dom::bindings::utils::Reflectable;
use dom::errorevent::ErrorEvent;
use... | 2 | 34 | 1 |
5bd7d3277fa88c51d816a30706b5fc3db9db835d | Ms2ger | 2015-02-21T13:51:50 | servo: Merge #5000 - Move gfx to libc from crates.io (from Ms2ger:libc-gfx); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bc5eeb00a1874c7211d6a656871000f9352c2f40 | diff --git a/gfx/Cargo.toml b/gfx/Cargo.toml
index 0ae81eafe..359bc97e8 100644
--- a/gfx/Cargo.toml
+++ b/gfx/Cargo.toml
@@ -68,3 +68,4 @@ url = "0.2.16"
time = "0.1.12"
bitflags = "*"
rustc-serialize = "0.2"
+libc = "*"
diff --git a/gfx/lib.rs b/gfx/lib.rs
index fcb57c2f8..808f20272 100644
--- a/gfx/lib.rs
+++ b/gf... | 3 | 10 | 3 |
8ef1cb9a93caf52e7e7fbc89acc00291b5d59360 | Keith Yeung | 2015-02-21T12:42:53 | servo: Merge #4999 - Moved handle_click_event from script_task.rs to document.rs (from KiChjang:refactor-handle-click-event); r=jdm
Fixes #4983
Source-Repo: https://github.com/servo/servo
Source-Revision: aad6cc03b80c3ef88439c3dc68693ddcc941ecde | diff --git a/script/dom/document.rs b/script/dom/document.rs
index c6304d08d..888c82399 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -9,6 +9,7 @@ use dom::bindings::codegen::Bindings::DocumentBinding::{DocumentMethods, Documen
use dom::bindings::codegen::Bindings::EventHandlerBinding::EventHandl... | 2 | 86 | 77 |
4ae9258bec1178f0f7d0b8e0f72b8331a84a4cba | Ms2ger | 2015-02-21T12:03:51 | servo: Merge #5001 - Remove the implementation of ToJSValConvertible for JS<T> (from Ms2ger:JS-to_jsval); r=jdm
It is unused and doesn't serve a purpose.
Source-Repo: https://github.com/servo/servo
Source-Revision: ea9b0909bdc240a064978accd0c092b8814945d4 | diff --git a/script/dom/bindings/conversions.rs b/script/dom/bindings/conversions.rs
index dfcb9b71d..15a597dfc 100644
--- a/script/dom/bindings/conversions.rs
+++ b/script/dom/bindings/conversions.rs
@@ -30,7 +30,7 @@
//! | union types | `T` |
use dom::bindings::codegen::Pr... | 1 | 1 | 7 |
696255756636055150a08e5af67c585f02b09bde | yodalee | 2015-02-21T09:51:48 | servo: Merge #4998 - update mozjs and rust-mozjs to newest (from yodalee:update-mozjs-and-rustmozjs); r=Ms2ger
All javascript Typedarray supported.
Source-Repo: https://github.com/servo/servo
Source-Revision: b548fb8f58c03a7ebb6573049ec72a516eb9282d | diff --git a/servo/Cargo.lock b/servo/Cargo.lock
index bd2924b05..51d3feaec 100644
--- a/servo/Cargo.lock
+++ b/servo/Cargo.lock
@@ -452,7 +452,7 @@ dependencies = [
[[package]]
name = "js"
version = "0.1.0"
-source = "git+https://github.com/servo/rust-mozjs#db08a4eacdb3d92df9a38c8a5d7ad1e1ee0fef4e"
+source = "git+h... | 1 | 1 | 1 |
a5bf883d9db4f70bb6d13f7a4bd54dc0dbde03a7 | Patrick Walton | 2015-02-21T06:06:48 | servo: Merge #4994 - layout: Add an option to visualize parallel layout (from pcwalton:layout-tinting); r=pcwalton
r? @metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: d26345f868e4261760ce204bdc383941e8f14621 | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 799810e4a..50aa8b086 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -766,6 +766,18 @@ impl<T> BorderRadii<T> where T: PartialEq + Zero {
}
}
+impl<T> BorderRadii<T> where T: PartialEq + Zero + Clone {
+ /// Returns a ... | 13 | 215 | 88 |
8a86af5b78c1732641cf3a028f5fda72b9b3d55d | Manish Goregaokar | 2015-02-21T05:27:49 | servo: Merge #4991 - Add `./mach build-gonk`; unbreak gonk build; document (from Manishearth:gonkup); r=larsbergstrom
r? @larsbergstrom
cc @mwu
Source-Repo: https://github.com/servo/servo
Source-Revision: d326e75c5e0314903ed2d297dcb72e535c543c2f | diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml
index 12fbba2bd..dbbc9f4f7 100644
--- a/compositing/Cargo.toml
+++ b/compositing/Cargo.toml
@@ -51,5 +51,5 @@ git = "https://github.com/servo/gleam"
[dependencies]
url = "0.2.16"
-time = "0.1.12"
-libc = "*"
+time = "0.1.17"
+libc = "*"
\ No newline at en... | 3 | 15 | 15 |
8ea37cb9f31cd57a509dfd87851175ca37245207 | Andreas Gal | 2015-02-21T04:00:55 | servo: Merge #4977 - Use cleaner StrokeOptions interface (from andreasgal:master); r=jdm
The new interface will be added by https://github.com/ser...vo/rust-azure/pull/145 (has to be merged first).
Source-Repo: https://github.com/servo/servo
Source-Revision: 991b47953197ef5311300145e7b3d6f249a3f6b5 | diff --git a/canvas/canvas_paint_task.rs b/canvas/canvas_paint_task.rs
index 982861b06..095a8d76a 100644
--- a/canvas/canvas_paint_task.rs
+++ b/canvas/canvas_paint_task.rs
@@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use azure::azure_hl::{DrawTarget, SurfaceFormat, BackendType, St... | 3 | 16 | 21 |
213b92374b02a1817888d10b00ef61c673d2d3b2 | Adenilson Cavalcanti | 2015-02-21T03:12:55 | servo: Merge #4995 - Actually print the contents of Flow Tree into console (from Adenilson:printFlowTree01); r=jdm
When executing servo with proper flags (i.e. --debug dump-flow-tree), it should print the flow tree. We had the code, but it was commented.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2e... | diff --git a/layout/flow.rs b/layout/flow.rs
index a4f664376..c8339b527 100644
--- a/layout/flow.rs
+++ b/layout/flow.rs
@@ -1133,8 +1133,7 @@ impl<'a> ImmutableFlowUtils for &'a (Flow + 'a) {
indent.push_str("| ")
}
- // TODO: ICE, already fixed in rustc.
- //println!("{}+ {:?}", ... | 1 | 1 | 2 |
bf9f371a78ac694bf979c1bff4199f1b58eeae5d | Shing Lyu | 2015-02-21T02:00:54 | servo: Merge #4870 - Bug 4236: Moved anchorelement click event to activation behaviour (from shinglyu:bug4236); r=jdm
Fixed bug #4236
Source-Repo: https://github.com/servo/servo
Source-Revision: 95cc1705cb2d795071ee454132a3d7d691f385ae | diff --git a/script/dom/element.rs b/script/dom/element.rs
index ad1e70b30..e54607f73 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -21,6 +21,7 @@ use dom::bindings::codegen::InheritTypes::{HTMLInputElementDerived, HTMLTableEle
use dom::bindings::codegen::InheritTypes::{HTMLTableElementDerived, HTM... | 2 | 61 | 33 |
5e0ec27a573b2bee4de9193f353d89c3074b33cf | Ms2ger | 2015-02-21T01:21:51 | servo: Merge #4993 - Move compositing to libc from crates.io (from Ms2ger:libc-compositing); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d8c9f2b92fb4be83895c4fe43ede2d6e83d2c274 | diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml
index 39c00d314..12fbba2bd 100644
--- a/compositing/Cargo.toml
+++ b/compositing/Cargo.toml
@@ -51,4 +51,5 @@ git = "https://github.com/servo/gleam"
[dependencies]
url = "0.2.16"
-time = "0.1.12"
\ No newline at end of file
+time = "0.1.12"
+libc = "*"
di... | 3 | 3 | 2 |
146d49d8974fcfd6ab3075c1efb5fe113dc3fb53 | Prabhjyot Singh Sodhi | 2015-02-21T00:03:53 | servo: Merge #4865 - implementing step 12 of 'prepare a script' algorithm (from psdh:prepscript); r=Ms2ger
#4176
Source-Repo: https://github.com/servo/servo
Source-Revision: e39e75865bdcef639b47a6a448a84cf2ca4894cf | diff --git a/script/dom/htmlscriptelement.rs b/script/dom/htmlscriptelement.rs
index 5ecdaa279..aec5422fd 100644
--- a/script/dom/htmlscriptelement.rs
+++ b/script/dom/htmlscriptelement.rs
@@ -170,9 +170,25 @@ impl<'a> HTMLScriptElementHelpers for JSRef<'a, HTMLScriptElement> {
// these steps at this point. Th... | 1 | 18 | 2 |
45a63f6a6a001289a5883ebadab6a89a24de1757 | Josh Matthews | 2015-02-20T22:39:53 | servo: Merge #4989 - Use platform-sized integers for textinput.rs (from jdm:textinputsizes); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: e8ade1e3d331a78921b3a7a3be2737a94b096ffa | diff --git a/script/textinput.rs b/script/textinput.rs
index 8c1a62140..20b396d45 100644
--- a/script/textinput.rs
+++ b/script/textinput.rs
@@ -24,9 +24,9 @@ enum Selection {
#[derive(Copy)]
struct TextPoint {
/// 0-based line number
- line: uint,
+ line: usize,
/// 0-based column number
- index: ... | 1 | 12 | 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.