Mike Blumenkrantz
12f20f1ecc
add handling for favicon link elements
...
fixes #6166
2015-06-02 22:16:25 -04:00
bors-servo
20f63459ef
Auto merge of #6254 - servo:rustup_20150601, r=SimonSapin
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6254 )
<!-- Reviewable:end -->
2015-06-02 12:53:37 -05:00
Manish Goregaokar
f80f99fe1e
Move to latest hyper everywhere
2015-06-02 20:12:14 +05:30
bors-servo
f6fe195334
Auto merge of #6230 - frewsxcv:getters-get, r=nox
...
Part of #6224
I certainly didn't remove all of them; I avoided `unsafe` areas and also `components/script`
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6230 )
<!-- Reviewable:end -->
2015-06-02 08:17:03 -05:00
Corey Farwell
435e551753
Remove get_
prefix on getters
...
Part of #6224
I certainly didn't remove all of them; I avoided `unsafe` areas and also `components/script`
2015-06-02 08:54:44 -04:00
James Graham
49f1b13ad9
Add support for switching frames with the webdriver API.
...
This moves webdriver_traits into msg to avoid a circular dependency.
2015-06-01 23:18:55 +01:00
Mike Blumenkrantz
0d46a3b89a
add navigation state data to LoadComplete messages, finish cef load state cbs
2015-05-27 14:45:48 -04:00
Corey Farwell
8e3f4bba85
Reduce max line length from 150 to 120 characters
...
Part of https://github.com/servo/servo/issues/6041
2015-05-24 00:01:49 -04:00
ecoal95
3350522306
Layerize canvas
...
Note that this keeps using readback right now, `NativeSurface` painting
will be implemented soon.
Also see https://github.com/servo/servo/issues/6142
2015-05-20 19:10:50 +02:00
bors-servo
c51e9f0455
Auto merge of #6131 - glennw:jquery-exit-fix, r=jdm
...
This fixes a hang found while testing the jQuery test suite.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6131 )
<!-- Reviewable:end -->
2015-05-19 21:44:45 -05:00
Patrick Walton
6a197719b3
compositing: Implement display ports and avoid creating display lists
...
for items outside it.
This improves Servo's performance on large pages.
2015-05-19 16:53:51 -07:00
Glenn Watson
35a570ab66
Fix several hangs / panics during pipeline cleanup of in progress loads.
...
This fixes a hang found while testing the jQuery test suite.
2015-05-19 16:14:25 +10:00
bors-servo
7bda431e61
Auto merge of #6044 - Ms2ger:cleanup, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6044 )
<!-- Reviewable:end -->
2015-05-14 07:16:42 -05:00
Ms2ger
d84c3e7a30
Fix some overlong lines.
2015-05-14 13:26:13 +02:00
James Graham
28ac0abf6a
Make WebDriver Get() command wait on pages loading before returning.
...
This makes using WebDriver significantly less racy. Also
refactors the message structure a little
2015-05-14 10:59:10 +01:00
Glenn Watson
2b3737d34e
Various fixes for cleaning up iframes, compositor layers, pipelines and threads.
...
This allows most of the jquery test suite to run without exhausting thread resources.
2015-05-14 11:42:54 +10:00
Glenn Watson
eec3fad93d
Fixes a number of race conditions and reliability issues with reftests and compositor.
...
The basic idea is it's safe to output an image for reftest by testing:
- That the compositor doesn't have any animations active.
- That the compositor is not waiting on any outstanding paint messages to arrive.
- That the script tasks are "idle" and therefore won't cause reflow.
- This currently means page loaded, onload fired, reftest-wait not active, first reflow triggered.
- It could easily be expanded to handle pending timers etc.
- That the "epoch" that the layout tasks have last laid out after script went idle, is reflected by the compositor in all visible layers for that pipeline.
2015-05-14 09:35:53 +10:00
bors-servo
606ab1df44
Auto merge of #6013 - glennw:compositor-race, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6013 )
<!-- Reviewable:end -->
2015-05-12 20:44:19 -05:00
Simon Sapin
8292f5749e
Upgrade to Hyper 0.4.0
2015-05-12 16:48:21 +02:00
Glenn Watson
79942f0920
Fix a compositor race condition that can result in the most recent buffer not being painted.
2015-05-12 10:34:05 +10:00
James Graham
5311d9ab59
Support WebDriver takeScreenshot command.
...
This adds support for compositing to a PNG without actually quiting
the browser.
2015-05-07 09:56:15 +01:00
bors-servo
ccf1e6b9a7
Auto merge of #5361 - luniv:css-device-adapt, r=mbrubeck
...
Spec: http://dev.w3.org/csswg/css-device-adapt/
Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell).
I did not implement sections 9 (viewport <META>) or 10 (handling 'auto' for 'zoom').
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5361 )
<!-- Reviewable:end -->
2015-05-06 12:41:09 -05:00
James Graham
1576107c45
Implement webdriver commands for back/forward/title/handles.
2015-05-06 12:22:10 +01:00
James Gilbertson
138596e861
Constrain the viewport & zoom when reflowing
2015-05-06 00:34:33 -06:00
Guro Bokum
be2cb665de
Start using on_refresh_driver_tick #5681
...
Final
2015-05-06 02:08:39 +07:00
Prabhjyot Singh Sodhi
b980278d90
Uniformise the various Msg types [ #5882 ]
2015-04-30 01:22:16 +05:30
Ms2ger
903305416a
Implement Clone for Copy types.
2015-04-28 23:31:10 +02:00
James Graham
c2fc6e311a
Add script execution support via WebDriver
2015-04-23 16:14:27 +01:00
Avi Weinstock
503cc9e6d6
Moved clipboard integration from textinput to constellation, to facilitate sandboxing.
2015-04-21 09:31:20 -04:00
Glenn Watson
18d465bcd2
Support focus management and keyboard events for iframes.
2015-04-20 07:52:22 +10:00
James Graham
009e2baaf0
Add enough Webdriver support to enable Get().
...
This is incomplete in several ways:
* It assumes that there's only one constellation (i.e. top level browsing context), ever.
* The session support is very basic indeed (no capabilities)
* Passing channels over channels may not sit well with IPC
* The error handling is mostly missing
2015-04-16 16:02:43 +01:00
Patrick Walton
66dd8c8a6c
layout: Implement CSS transitions per CSS-TRANSITIONS § 2.
...
Transition events are not yet supported, and the only animatable
properties are `top`, `right`, `bottom`, and `left`. However, all other
features of transitions are supported. There are no automated tests at
present because I'm not sure how best to test it, but three manual tests
are included.
2015-03-31 08:46:11 -07:00
Ms2ger
864679db24
Use u32 for SubpageId.
2015-03-28 15:55:03 +01:00
Ms2ger
131270c1d3
Use u32 for PipelineId.
2015-03-28 15:55:03 +01:00
Ms2ger
c98d92df00
Use u32 for WorkerId.
2015-03-28 15:55:01 +01:00
Ms2ger
2f3060c8a7
Use u32 for FrameId.
2015-03-28 15:36:36 +01:00
Ms2ger
37c271a260
Use usize and u32 for LayerId.
2015-03-28 15:36:36 +01:00
Ms2ger
ac3c076892
Use u32 for Epoch.
2015-03-28 15:36:36 +01:00
Thiago Pontes
1244f9e016
Notify devtools about new worker globals
2015-03-27 16:04:53 -03:00
Avi Weinstock
cb9cfe2b22
Replace (String, Option<String>) with MozBrowserEvent in uses of MozBrowserEventMsg.
2015-03-25 17:07:59 -04:00
Glenn Watson
bf9b8f7050
Experimental implementation of (a small subset of) mozbrowser APIs.
2015-03-23 13:26:55 +10:00
Simon Sapin
6a58cbd118
Fix more warnings everywhere.
2015-03-18 22:11:20 +01:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
Glenn Watson
3fb3e66ada
Add support for selecting which frame is requesting a navigation.
...
This allows iframes to navigate their own history.
2015-03-18 07:50:46 +10:00
Glenn Watson
939a89568e
First part of refactoring constellation to support iframe navigation.
...
The history is now recorded per frame, but needs to be exposed in a followup PR.
Also fixes a race condition that occurs loading iframes under heavy CPU load.
This ensures that iframes never do a reflow / layout until they have a valid
window size set from their parent frame.
2015-03-17 09:35:41 +10:00
Ms2ger
aaed4a54c7
Use rustc-serialize rather than the built-in deprecated serialize.
2015-02-17 13:24:15 +01:00
Ms2ger
2ca59b3f5b
Fix warnings in msg.
2015-02-13 11:08:31 +01:00
Simon Sapin
d5dd1d658e
Upgrade to rustc ba2f13ef0 2015-02-04
2015-02-11 14:48:34 -08:00
Josh Matthews
446f0f447e
Allow unused variables, imports, and mutable.
2015-02-09 17:41:57 -05:00
Glenn Watson
1e0e98b63c
Implement window.frameElement, change window.parent to make use of it.
2015-02-07 06:46:29 +10:00