Commit graph

220 commits

Author SHA1 Message Date
Josh Matthews
08cac68d5a Check if the immediate node is an element before looking at ancestors when clicking, and flush pending layout changes after dispatching the event. 2014-10-01 15:03:15 -04:00
Simon Sapin
b3245fa407 Upgrade to rustc d2b30f7d3 2014-09-23 2014-09-29 17:41:45 +01:00
Ms2ger
a12f2b9f06 Simplify the Page URL handling in handle_resize_inactive_msg.
This also makes it more obvious what's actually happening.
2014-09-27 13:56:33 +02:00
Manish Goregaokar
cc44a3b064 Use JSTraceable everywhere 2014-09-24 05:44:49 +05:30
Keegan McAllister
dc86e83654 Eliminate warnings 2014-09-20 13:00:55 -07:00
Keegan McAllister
a640a7c5c3 Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000) 2014-09-20 13:00:06 -07:00
Cameron Zwarich
4fa8725111 First steps of &JSRef -> JSRef conversion
Replace &JSRef with JSRef in the bulk of the generated code. This will
remove a level of indirection throughout all DOM code.

This patch doesn't change methods implemented on JSRef<T> to take `self`
rather than `&self`, and it leaves a few other uses of &JSRef, but those
changes can be made incrementally.
2014-09-19 13:39:17 -07:00
Josh Matthews
fae7ce3c1d Retrieve some basic layout properties for nodes to make the box model somewhat useful. 2014-09-18 15:07:11 -04:00
Josh Matthews
fa57fe890b Enable real DOM inspector support. 2014-09-18 15:06:40 -04:00
Josh Matthews
c31e2f928d Avoid selecting on the devtools port if no devtools server exists. 2014-09-18 15:06:40 -04:00
Josh Matthews
cdb4037ca2 Enable executing JS snippets in the context of the main Servo window and viewing the responses from the Firefox remote console. 2014-09-18 15:06:40 -04:00
Josh Matthews
f0f7e98dfa Dump initial prototype of devtools server into the build. Expect lies if you try to use it for anything real. 2014-09-18 15:06:40 -04:00
Josh Matthews
75caade828 Merge pull request #3358 from jdm/thespicemustnotreflow
Delay initiating layout operations for as long as possible.
2014-09-17 19:09:31 -04:00
Matt Brubeck
1ae3bda172 Move link rel=stylesheet fetching to layout task
Fixes #3346.
2014-09-16 07:12:01 -07:00
Josh Matthews
2bd93ed070 Delay initiating layout operations for as long as possible. 2014-09-15 23:16:45 -04:00
Jack Moffitt
b605929134 Handle iframe.src with a javascript protocol URL.
This change prevents us from crashing on Amazon and other pages with
iframe.src="javascript:foo".
2014-09-15 10:02:02 -06:00
Glenn Watson
102e06f46b Handle AttachLayout before ResizeMsg. Fixes #3333 for yahoo static suite. 2014-09-15 12:30:05 +10:00
Bryan Bell
c182308350 Store Compositor ReadyState per-pipeline
Instead of storing a single ReadyState, store one per pipeline and
track the earliest one.
2014-09-12 10:47:50 -07:00
Glenn Watson
7503033e57 Coalesce pending reflow messages so they don't queue up. 2014-09-12 15:49:57 +10:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00
Renamed from src/components/script/script_task.rs (Browse further)