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
Josh Matthews
1dbbc1b72d
Use servo forks of hyper and cookie-rs for more lenient cookie parsing behaviour.
2015-02-04 13:35:05 +00:00
Glenn Watson
f495884dcb
Remove the glfw port (it doesn't compile since last rustup anyway).
2015-02-02 10:38:12 +10:00
Josh Matthews
9e01d91947
Lock crates.io dependencies to specific versions.
2015-01-31 01:27:26 +01:00
Ms2ger
505159a464
Import the util crate as util rather than servo_util.
...
This used to conflict with the util crate from the standard library, which
has long since been removed.
The import in layout has not been changed because of a conflict with the
util mod there.
2015-01-29 12:16:41 +01:00
Ms2ger
2026cbada2
Fix various build warnings.
2015-01-28 20:42:39 +01:00
Josh Matthews
95fc29fa0d
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
2015-01-28 10:16:49 +10:00
Martin Robinson
c3d23a0630
Update to latest rust-azure and rust-layers
...
We no longer need to implement from_azure_surface in Servo, now that
rust-layers is handling more of the glue between rust-layers and Azure.
2015-01-15 12:59:11 -08:00
Martin Robinson
6a46eef5cd
Update FrameTree pipelines when appropriate
...
Instead of simply creating a new FrameTree when an iframe starts a
load, update the existing FrameTree's pipeline. This prevents the
FrameTree from accumulating many extra children.
2015-01-09 15:14:01 -08:00
bors-servo
0793137631
auto merge of #4575 : mttr/servo/warnings, r=jdm
...
Notes:
* This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary.
* This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to).
```
css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:72 this_as_query.equiv(other)
^~~~~~~~~~~~
css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> {
```
2015-01-08 16:03:55 -07:00
bors-servo
1458709247
auto merge of #4558 : mrobinson/servo/compositor-message-renames, r=zwarich
...
These names no longer reflect what the messages do, so rename them to
SetFrameTree, AssignPaintedBuffers, and CreateOrUpdateBaseLayer.
2015-01-08 12:36:53 -07:00
Matthew Rasmus
a3fc3a1581
Allow missing_copy_implementations
2015-01-08 08:51:11 -08:00
Ms2ger
16c7060bc8
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
2015-01-08 09:58:46 -05:00
Martin Robinson
ad751e4926
Rename Compositor messages SetIds and Paint
...
These names no longer reflect what the messages do, so rename them to
SetFrameTree and AssignPaintedBuffers.
2015-01-06 07:23:26 -08:00
Patrick Walton
5ea2c6dcfd
layout: Paint stacking contexts' overflow areas properly.
...
This was making `box-shadow` not show up in many cases, in particular,
but the effects were not limited to that.
2015-01-04 17:41:59 -08:00
Ms2ger
b16f9cea09
Qualify hyper enums.
2015-01-04 15:26:40 +01:00
Ms2ger
138081ba25
Rename the PaintState variants.
2015-01-04 11:59:49 +01:00
Ms2ger
de0caf8761
Rename constellation_msg::Msg variants.
2015-01-04 11:59:21 +01:00
Martin Robinson
c0b397322f
Stall PaintTask exit until it can release all buffers
...
It is possible for a PaintTask to start exiting soon after sending new
buffers to the compositor. In that case, the compositor should return
the now unnecessary buffers to the PaintTask so that it can properly
free them.
To accomplish this, the compositor now keeps a hash map of paint task
channels per pipeline id. When a PaintTask exists, the constellation
informs the compositor that it can forget about it. Additionally, the
PaintTask should not wait for any buffers when the engine is doing a
complete shutdown. In that case, the compositor is already halted and
has simply let all buffers leak. We pipe through the shutdown type when
destroying the pipeline to make this decision.
Fixes #2641 .
2015-01-02 15:20:32 -08:00
Patrick Walton
7371e0b8e3
compositing: Implement cursor
per CSS3-UI § 8.1.1 in the CEF/Mac port.
...
I'm not sure how we want to handle Linux cursors, and GLFW has no
ability to set cursors (short of disabling it and managing it yourself).
2014-12-17 22:58:52 -08:00
Ms2ger
466faac2a5
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
2014-12-17 15:19:45 -05:00
Nathan E. Egge
b0552cb98e
Sending key events through script task before processing them in the compositor.
...
Fixes #4163
2014-12-12 12:31:44 -05:00
Patrick Walton
8b2aadc30b
ports/cef: Implement accelerated compositing for the CEF port.
2014-12-10 08:35:47 -08:00
Tetsuharu OHZEKI
037eff0f4c
Replace 'render' to 'paint' in compositor_msg.rs
2014-12-08 15:32:33 +09:00
Tetsuharu OHZEKI
b921986cd6
Rename RendererReadyMsg -> PainterReadyMsg
2014-12-08 14:13:07 +09:00
Tetsuharu OHZEKI
806b6f09c9
Rename RenderState -> PaintState
2014-12-08 14:05:50 +09:00
Tetsuharu OHZEKI
b5f73fb179
Rename RenderListener -> PaintListener, and its methods.
2014-12-08 14:05:50 +09:00
Sean McArthur
b7de46970f
adjust WPT since hyper fixed some
2014-12-04 10:12:04 -08:00
Sean McArthur
1dc67f0c76
convert msg crate to use hyper
2014-12-04 10:06:41 -08:00
Manish Goregaokar
cdddf6465c
Remove unused arguments from LoadComplete and LoadCompleteMsg
2014-11-14 02:14:00 +05:30
Josh Matthews
80764f65e3
Add single-line text input with no visible cursor.
2014-11-13 12:53:54 -05:00
Josh Matthews
329ba56fca
Dispatch keydown, keyup, and keypress events at appropriate times.
2014-11-13 11:27:15 -05:00
Josh Matthews
1c64dabb15
Pass all key events to the current constellation frame.
2014-11-13 11:24:14 -05:00
Jack Moffitt
d1b433a3b3
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
2014-11-13 11:17:43 +10:00
Martin Robinson
6e06a1353c
Rename LoadIframeUrlMsg to CreateIFrameAndLoadUrlMsg
...
This better reflects what the message does.
2014-11-11 17:36:18 -08:00
Patrick Walton
10f7b49cf7
Invert control flow, fix resizing, and improve checkerboarding
...
significantly by giving tiles some time to paint before we render
unrendered content.
2014-11-04 13:51:56 -08:00
Patrick Walton
55222336b5
gfx: Paint in parallel in CPU painting mode
2014-10-22 07:47:47 -07:00
Manish Goregaokar
ad16c52a6b
Allow passing a method, request body, and headers to the pipeline in LoadUrlMsg
2014-10-09 14:09:29 +05:30
Manish Goregaokar
cc44a3b064
Use JSTraceable everywhere
2014-09-24 05:44:49 +05:30
Simon Sapin
c228b81ca8
Merge pull request #3437 from SimonSapin/https-deps
...
Use HTTPS for Cargo dependencies
2014-09-21 11:00:34 +01:00
Simon Sapin
afe28ae422
Use HTTPS for Cargo dependencies
2014-09-20 21:19:09 +01: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
Jack Moffitt
e10206e91e
Reinstate errors for unused variables and imports.
2014-09-13 23:38:00 -06:00
Bryan Bell
0e86679464
Store one RenderState per-pipeline in the Compositor
...
This can later be used to decide whether the entire pipeline is ready
for rendering.
2014-09-12 10:47:51 -07: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
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00