Michael Howell
c9cb4839e4
No more headless compositor. Just the normal one.
...
This changes headless operation to strictly be a runtime option, rather
than a compile-time one. Note that the old headless version still relied
on a display server to support WebGL, while it now requires one all the
time.
Fixes #8573
2016-03-24 11:18:54 -07:00
bors-servo
767b11cd67
Auto merge of #10106 - Ms2ger:renderer-id, r=ecoal95
...
Remove renderer ids.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10106 )
<!-- Reviewable:end -->
2016-03-22 08:50:28 +05:30
Ms2ger
63a00f4dbf
Stop sending the renderer id to script.
2016-03-21 17:55:08 +01:00
Paul Rouget
6577409b95
Add history information to mozbrowserlocationchange event
2016-03-21 19:19:48 +08:00
Ms2ger
08083f1c9d
Deny unsafe code in more crates.
2016-03-18 14:43:03 +01:00
Anthony Ramine
46c505e47b
Bump serde to 0.7
2016-03-17 13:52:39 +01:00
Anthony Ramine
b66d190166
Bump url to 0.5.7
2016-03-09 20:15:16 +01:00
Anthony Ramine
f89c321141
Bump euclid to 0.6.4
2016-03-09 20:15:11 +01:00
Anthony Ramine
5720c76816
Bump app_units to 0.2.3
2016-03-09 20:14:35 +01:00
Corey Farwell
75353e19a7
Indicate components should not be published to crates.io.
...
http://doc.crates.io/manifest.html#the-publish--field-optional
2016-03-03 15:04:44 -05:00
Paul Rouget
3ecc907767
Support Browser API event mozbrowserconnected
2016-02-24 18:45:07 +01:00
Anthony Ramine
290694b27e
Move util::cursor to style_traits
2016-02-16 00:50:01 +01:00
Anthony Ramine
55dcee94be
Bump heapsize to 0.3
2016-02-13 11:13:19 +01:00
Anthony Ramine
680c817d53
Bump url to 0.5.5
2016-02-13 00:08:12 +01:00
Anthony Ramine
874fa5595f
Bump euclid to 0.6.2
2016-02-13 00:08:08 +01:00
Anthony Ramine
2d6ac4da97
Bump app_units to 0.2.1
2016-02-13 00:08:05 +01:00
Josh Matthews
e6d906dbbf
Report CSS errors to script task for further processing.
2016-02-11 14:48:47 -05:00
Josh Matthews
e9b98ad5fa
Make iframes block the enclosing document's load event. Fixes #6663 .
2016-02-10 09:20:00 -05:00
Paul Rouget
63519c3574
mozbrowsersercuritychange event
2016-02-09 08:05:17 +01:00
Anthony Ramine
cb5cd8d881
Say farewell to in-tree HeapSizeOf
2016-02-04 22:03:32 +01:00
Anthony Ramine
32bc3d9c09
Reorder dependencies in various Cargo.toml files
2016-02-04 14:09:01 +01:00
Ms2ger
2ea9f2d028
Update Euclid.
2016-02-04 11:02:09 +01:00
Keith Yeung
9b23839394
Update rust-url
2016-02-02 20:04:01 -05:00
Patrick Walton
e5a1af5b7a
compositing: Fix a couple of bugs that prevented iframes from painting
...
after navigation.
The first bug was that iframes were not reflowed in their parent DOM
when the child page navigated. This is fixed by simply having the
constellation notify the appropriate script thread when navigation
occurs.
The second bug was that the compositor was unable to adjust the pipeline
for existing iframe layers, only new ones. This patch adds logic to do
that.
Closes #8081 .
2016-01-26 16:37:23 -05:00
Darin Minamoto
374bd5be27
Moving MouseButton from msg to script_traits
2016-01-13 19:23:45 -08:00
Joshua Holmer
83e66d6959
Move AnimationState to script_traits
...
Resolves #9223
2016-01-13 18:14:12 -05:00
apopiak
4b773cefe9
move MozBrowserEvent to script_traits (+ documentation)
2016-01-13 17:48:50 +01:00
Brandon Fairchild
d1186eda7a
Move DocumentState to script_traits
...
Fixes #9224 .
2016-01-12 13:30:33 -05:00
Matt McCoy
a2bf5b6b51
Moving MouseEventType from msg to script_traits
2016-01-11 19:54:51 -05:00
bors-servo
a5a7a8318c
Auto merge of #8972 - GauriGNaik:expose-css-errors-1, r=jdm
...
M1501: CSS Error Reporting: Final Steps Last Part
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8972 )
<!-- Reviewable:end -->
2016-01-12 03:47:50 +05:30
bors-servo
fed41a42da
Auto merge of #9257 - fmmartins:refactor-scripttraits, r=jdm
...
Move IFrameLoadInfo and IFrameSandboxState to script_traits
Hi, this should fix #8841 !
Any change that might be needed please tell me
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9257 )
<!-- Reviewable:end -->
2016-01-12 01:44:27 +05:30
Fernando Martins
0ef003c20a
moved IFrameLoadInfo and IFrameSandboxState to script_traits
2016-01-11 18:24:08 +00:00
GauriGNaik
907322c666
Final steps
2016-01-11 18:48:54 +05:30
John DeSilva
f32995543d
Move Epoch to gfx_traits
...
Resolves #9222 . Moved Epoch from components/msg/compositor_msg to
components/gfx_traits/lib. Updated use statements to reflect the move.
2016-01-10 17:36:52 -05:00
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00
Paul Rouget
268e285439
update pipeline url after redirections
2016-01-06 06:49:49 +01:00
Joe Kachmar
655268d111
Separate script and layout messages, issue #8843
2015-12-26 12:24:51 -05:00
bors-servo
da8952b702
Auto merge of #9044 - ecoal95:offscreen-gl-up, r=jdm
...
Update offscreen_gl_context
cc: https://github.com/ecoal95/rust-offscreen-rendering-context/pull/46
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9044 )
<!-- Reviewable:end -->
2015-12-23 20:35:37 +05:30
Emilio Cobos Álvarez
992a36234c
Update offscreen_gl_context
2015-12-22 04:33:03 +01:00
Brandon Fairchild
637afecec9
Move LayerKind and ScrollPolicy enums to gfx_traits
...
This also moves LayerId and LayerProperties to gfx_traits.
Fixes #8836 .
2015-12-20 20:43:31 -05:00
Beomjin Kim
2637d30c2a
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
...
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
resolving issue #8835 .
2015-12-20 00:31:33 +09:00
Mathieu Agopian
11234f5370
Use Url.join instead of UrlParser.base_url(...).parse ( #9002 )
2015-12-18 17:02:41 +01:00
Glenn Watson
b670430cb2
Add test to constellation to avoid writing reftest image if there are pending frames.
...
Also change when pipelines become active.
This makes the constellation activate a pipeline as the current frame
when it is ready to do initial reflow, rather than when it is ready
to paint.
This fixes a number of intermittent failures that could previously occur
if an iframe was not visible - which would mean it was never moved from
a pending frame in the constellation to an active frame.
(It happens that webrender exposes these intermittents as permanent failures).
2015-12-17 12:30:19 +10:00
GauriGNaik
fc81276c8e
Add pipeline information to CSS error reporting.
2015-12-14 11:18:30 -05:00
Tomas Cernaj
5507be2653
Move ScriptMsg from msg crate into script_traits
2015-12-09 20:50:11 +01:00
bors-servo
bc62b5aadb
Auto merge of #8785 - mbrubeck:fixed-hit-test, r=pcwalton
...
Add slow path for hit testing of iframe behind positioned content layer
Fixes browser.html blocker #8759 . r? @pcwalton
This adds a slow path for cases where the compositor's layer-based hit testing is incorrect. If the script task discovers that a mouse event should have been dispatched to an iframe, it bounces the event back to the constellation to be forwarded to the correct pipeline.
This isn't terribly slow (on the slow path, it adds one extra round-trip message between script and constellation), but if we want to optimize this better we could instead replace the compositor's layer hit testing with display list hit testing in the paint task. This would be a more complicated change that I think we should save for a follow-up.
This only fixes mouse input for now. A basically-identical change will be needed for touch-screen input, whether we stick with this approach or switch to the paint task.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8785 )
<!-- Reviewable:end -->
2015-12-04 02:54:22 +05:30
Matt Brubeck
8c4fed42b0
Minor refactoring of mouse event types
...
* Move some types into the `msg` crate so they can be shared more.
* Use MouseEventType instead of duplicating it in other enums.
2015-12-03 08:19:40 -08:00
bors-servo
8b95d7b8d8
Auto merge of #8757 - servo:skia, r=mbrubeck
...
Use skia and deps from crates.io.
This makes the initial download for skia go from a 300 MB git repository to a 5 MB tarball. This should help with issues like #6132 and #7687 .
Fix https://github.com/servo/skia/issues/70
This builds, but the at the moment causes a number of tidy errors for duplicated crates.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8757 )
<!-- Reviewable:end -->
2015-12-03 12:58:29 +05:30
Simon Sapin
aa1eba4f5a
Use skia and deps from crates.io.
...
Fix https://github.com/servo/skia/issues/70
2015-12-02 19:07:59 +01:00
Josh Matthews
c23cbd4163
Dispatch load events for cross origin iframes. Resolves #6672 .
2015-11-30 17:37:16 -05:00