bors-servo
9f0c6d75d1
Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2ger
...
Move PaintListener to gfx_traits, Fixes #8834
Adding layers and msg dependency to gfx_traits.
Fixes #8834 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8939 )
<!-- Reviewable:end -->
2015-12-12 04:27:55 +05:30
Tomas Cernaj
701aebee48
Move PaintListener to gfx_traits, Fixes #8834
...
Adding layers and msg dependency to gfx_traits.
2015-12-11 18:43:10 +01:00
bors-servo
99fd946130
Auto merge of #8930 - frewsxcv:event-type-atom, r=nox
...
Pass around event types as Atoms instead of Strings
`Event` internally stores the `type` as an `Atom`, and we're `String`s
everywhere, which can cause unnecessary allocations to occur since
they'll end up as `Atom`s anyways.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8930 )
<!-- Reviewable:end -->
2015-12-11 21:12:35 +05:30
bors-servo
f5eec35cb4
Auto merge of #8888 - zmike:stubbed_my_skia, r=larsbergstrom
...
stub out gluCheckExtension in embedding
this is called from src/gpu/gl/unix/SkNativeGLContext_unix.cpp which
is not something that is used in servo
ref #8883
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8888 )
<!-- Reviewable:end -->
2015-12-11 20:24:22 +05:30
Corey Farwell
4accaf50b2
Pass around event types as Atoms instead of Strings
...
`Event` internally stores the `type` as an `Atom`, and we're `String`s
everywhere, which can cause unnecessary allocations to occur since
they'll end up as `Atom`s anyways.
2015-12-10 23:47:25 -05:00
Beomjin Kim
729812f383
Moved CompositorMsg enum into compositing crate.
...
moved from components/msg/constellation_msg.rs
to components/compositing/lib.rs
dependencies on compositing crate added in ports/cef/Cargo.lock
2015-12-11 13:42:14 +09:00
bors-servo
7438bc0425
Auto merge of #8909 - cnaj:msg_refactoring, r=jdm
...
Move ScriptMsg to script_traits crate, Fixes #8833
Review of documentation that was missing needed.
Fixes #8833 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8909 )
<!-- Reviewable:end -->
2015-12-10 11:24:44 +05:30
Corey Farwell
c7e62689e5
Upgrade dependency: shared_library
...
8c6d2433f0...391e74ae02
2015-12-09 17:08:00 -05:00
Corey Farwell
0919f81a7a
Upgrade dependency: malloc_buf
...
bab724c8ad...a7811e5f4c
2015-12-09 17:07:59 -05:00
Corey Farwell
389d5b4eed
Upgrade dependency: gaol
...
71865ff8...e1349d8d
2015-12-09 17:05:26 -05:00
Corey Farwell
0316f0bb2b
Upgrade dependency: ipc-channel
...
8306cdf0...6900611d
2015-12-09 16:38:13 -05:00
Tomas Cernaj
5507be2653
Move ScriptMsg from msg crate into script_traits
2015-12-09 20:50:11 +01:00
Ms2ger
cfa18bc2e6
Update rustc to the 2015-12-09 nightly.
2015-12-09 13:53:06 -05:00
Ms2ger
07d837bd03
Update bincode.
2015-12-08 14:49:38 -05:00
bors-servo
5cfba0cb6e
Auto merge of #8887 - mbrubeck:glue-up, r=Ms2ger
...
Upgrade to android_glue 0.1.3
Fixes scrolling on Android (tomaka/android-rs-glue#70 ). r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8887 )
<!-- Reviewable:end -->
2015-12-08 22:03:32 +05:30
zmike
d782ec1636
stub out gluCheckExtension in embedding
...
this is called from src/gpu/gl/unix/SkNativeGLContext_unix.cpp which
is not something that is used in servo
ref #8883
2015-12-08 11:02:48 -05:00
Matt Brubeck
6560a8ad9e
Upgrade to android_glue 0.1.3
2015-12-08 07:13:35 -08:00
bors-servo
951ab565d1
Auto merge of #8867 - nfallen:6638-websocket_loader, r=jdm
...
Move websocket creation to resource task
This is a pull request for part of https://github.com/servo/servo/issues/6638
It includes the following changes:
-The websocket networking code (ie. making a connection, receiving data, and sending data) has been extracted out of components/script/dom/websocket.rs and into the new file components/net/websocket_loader.rs.
-websocket.rs now communicates with the resource task (components/net/resource_task.rs) to instruct it to initiate a new websocket connection
- websocket_loader.rs now provides an API sent over an IPCChannel that allows websocket.rs to receive feedback about this process and to subsequently send and receive data
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8867 )
<!-- Reviewable:end -->
2015-12-08 20:40:50 +05:30
Nova Fallen
e8c8277f34
move websocket creation to resource task
2015-12-08 02:04:40 -05:00
Ms2ger
f724493738
Update mozjs and gcc.
2015-12-07 23:59:01 -05:00
bors-servo
7fb5f3c976
Auto merge of #8877 - Ms2ger:update-hbs, r=jdm
...
Update heartbeats libraries.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8877 )
<!-- Reviewable:end -->
2015-12-07 23:07:12 +05:30
Ms2ger
0545ba08af
Update heartbeats libraries.
2015-12-07 12:32:11 -05:00
Ms2ger
2e40297885
Move from clock_ticks to time.
...
This is recommended at <https://github.com/tomaka/clock_ticks >.
2015-12-07 11:03:48 -05:00
Corey Farwell
1c52aee7a8
Update some Rust dependencies
2015-12-06 22:21:54 -05:00
David Zbarsky
789a90a82f
Implement IsPointInPath
2015-12-05 17:49:49 -08:00
bors-servo
32b90cdb6f
Auto merge of #8800 - servo:warnings, r=metajack
...
Fix warnings
Fixing unused attributes warnings required updating serde_macros
which required updating to rustc 1.6.0-nightly (a2866e387 2015-11-30)
which required updating some other dependencies.
Fix #8709 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8800 )
<!-- Reviewable:end -->
2015-12-04 05:37:38 +05:30
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
Simon Sapin
b19cc7e44c
Fix warnings
...
Fixing unused attributes warnings required updating serde_macros
which required updating to rustc 1.6.0-nightly (a2866e387 2015-11-30)
which required updating some other dependencies.
2015-12-03 17:05:26 +01:00
bors-servo
8ae008761f
Auto merge of #8787 - Jayflux:hotfix/8695, r=mbrubeck
...
now using external ref_slice instead of the std version fixed #8695
Fixes #8695 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8787 )
<!-- Reviewable:end -->
2015-12-03 16:10:24 +05:30
Jason Williams
1a8db9a07a
now using external ref_slice instead of the std version
2015-12-03 07:32:07 +00: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
b8a3a64691
Tidy ports/cef/Cargo.lock
...
Despite the rest of ports/cef/ being ignored.
2015-12-02 19:11:08 +01:00
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
Glenn Watson
6c8905126f
Add debug option to disable vsync for profiling.
2015-12-01 09:52:13 +10:00
James Sanders
3659218c59
Use thread::sleep instead of deprecated sleep_ms
...
Similarly, change one instance of `thread::park_timeout_ms`.
Fixes #8694
2015-11-29 13:41:04 -07:00
bors-servo
eadaf30af3
Auto merge of #8703 - eefriedman:dom-getter-setter-atom, r=frewsxcv
...
Compute attribute name atoms at compile-time.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8703 )
<!-- Reviewable:end -->
2015-11-28 20:40:07 +05:30
bors-servo
dbff1ab336
Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanut
...
Ensure crate are alphabetically sorted
cc @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692 )
<!-- Reviewable:end -->
2015-11-28 19:34:11 +05:30
bors-servo
b4213e6d8e
Auto merge of #8698 - servo:rustup_2015-11-26, r=Manishearth
...
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8698 )
<!-- Reviewable:end -->
2015-11-28 12:11:52 +05:30
Guillaume Gomez
6e7de62b38
Add check up on extern crate order and sort extern crates alphabetically
2015-11-28 03:11:08 +01:00
Eli Friedman
c02c0576c8
Compute attribute name atoms at compile-time.
2015-11-27 15:42:34 -08:00
Brandon Fairchild
341e66f66d
Remove #[allow(raw_pointer_derive)]
attributes
...
The attributes are unused.
Fixes #8699 .
2015-11-27 14:32:57 -05:00
Simon Sapin
8d7d132c93
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)
2015-11-27 14:33:29 +01:00
Manish Goregaokar
dc0e467945
Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
...
… and libc 0.2 and many other dependencies
2015-11-27 00:15:29 -05:00
bors-servo
bc618b0d53
Auto merge of #8689 - jdm:deps, r=frewsxcv
...
Remove remaining version-conflict exceptions in tidy.py.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8689 )
<!-- Reviewable:end -->
2015-11-27 09:17:54 +05:30
Josh Matthews
c36cbf58e8
Remove remaining version-conflict exceptions in tidy.py.
2015-11-26 11:26:28 -05:00
GauriGNaik
996e9e06b2
Defined new trait ParseErrorReporter and added error_reporter member to ParserContext
2015-11-25 18:28:30 -05:00
Alan Jeffrey
3dec6edd10
Update string_cache to 0.2.
...
Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock.
Removed references to string_cache_plugin.
Import atom! and ns! from string_cache.
Replaced ns!("") by ns!().
Replaced ns!(XML) and co by ns!(xml) and co.
Replaced atom!(foo) by atom!("foo").
Replaced Atom::from_slice by Atom::from.
Replaced atom.as_slice() by &*atom.
2015-11-25 10:13:21 -06:00
bors-servo
13a96fcaf7
Auto merge of #8660 - pcwalton:ipc-channel-errors, r=larsbergstrom
...
Update `ipc-channel` to pick up the improved error reporting.
Intended to help diagnose intermittent failures.
r? @jdm or @larsbergstrom (or whoever)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8660 )
<!-- Reviewable:end -->
2015-11-25 07:31:15 +05:30
Simon Sapin
45ec900745
Remove dependency on regex_macros
...
This reduces the amount of code using unstable features that we depend on.
The hand-written IP address parser is probably just as fast.
2015-11-24 22:07:14 +01:00