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
bors-servo
ed6a3f5022
Auto merge of #8609 - KiChjang:file-loader-headers, r=KiChjang
...
Add content_type to metadata in file_loader
Fixes #4212 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8609 )
<!-- Reviewable:end -->
2015-11-25 01:49:26 +05:30
Keith Yeung
af705a6faf
Add content_type to metadata in file_loader
2015-11-24 11:52:35 -08:00
Patrick Walton
2843000810
Update ipc-channel
to pick up the improved error reporting.
...
Intended to help diagnose intermittent failures.
2015-11-23 16:38:39 -08:00
Corey Farwell
f34da4120d
Implement 'url!(..)' macro
...
https://github.com/servo/rust-url/issues/136
https://github.com/servo/rust-url/pull/137
2015-11-21 08:15:56 -05:00
bors-servo
8b39b9afed
Auto merge of #8599 - jdm:e10s-redux, r=metajack
...
compositing: Split Servo up into multiple sandboxed processes.
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
Rebase of #6884 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599 )
<!-- Reviewable:end -->
2015-11-20 03:59:48 +05:30
Patrick Walton
1c130819ca
compositing: Split Servo up into multiple sandboxed processes.
...
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
2015-11-19 16:38:04 -05:00
Aleksandr Likhanov
4bf21ab15e
reduce node.unique_id size
...
fix sizeof unittest
update Cargo.lock
2015-11-19 00:48:20 +05:00
Ms2ger
de23fef9ca
Update bitflags.
2015-11-18 15:00:56 +01:00
Roman Klauke
b6f336595f
update string_cache from 0.1.16 to 0.1.17
2015-11-14 19:41:02 +01:00
Ms2ger
d34ea70212
Update string_cache_shared.
2015-11-13 17:52:03 +01:00
Ms2ger
002a418fe8
Update mozjs.
2015-11-13 15:14:57 +01:00
Corey Farwell
ef18b49b35
Upgrade string_cache_shared
2015-11-12 23:46:29 -05:00
Ms2ger
ddaa1a1960
Update js.
2015-11-12 10:20:13 +01:00
Ms2ger
ff0acccc06
Consolidate ProfilerMetadata and TimerMetadata.
...
There is no good reason to have the two types.
This also means that the result of LayoutTask::profiler_metadata no longer
borrows the LayoutTask, which I'll need later.
2015-11-09 09:03:50 +01:00
bors-servo
7c4fd5e770
Auto merge of #8387 - larsbergstrom:update_mozjs, r=Manishearth
...
Update mozjs
r? @Manishearth
This mainly just picks up the support for ccache. I'd like to get one module using it to land to see how it works on Travis & the builders (probably should have done this along with #8366 ).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8387 )
<!-- Reviewable:end -->
2015-11-07 20:29:58 +05:30
bors-servo
7ace7bc090
Auto merge of #8249 - servo:htmlinputelement-type-atom, r=nox
...
'type' attribute on HTMLInputElement should be stored as an Atom
Fixes #8180
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8249 )
<!-- Reviewable:end -->
2015-11-07 19:07:51 +05:30
bors-servo
8c0f0a22d2
Auto merge of #8370 - Ms2ger:update-js, r=jdm
...
Update js.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8370 )
<!-- Reviewable:end -->
2015-11-07 08:11:19 +05:30
Corey Farwell
31e6f1b4a1
Upgrade string_cache and string_cache_shared
2015-11-06 21:07:01 -05:00
Lars Bergstrom
e0fd254147
Update mozjs
2015-11-06 19:40:00 -06:00
bors-servo
faf2f34772
Auto merge of #8343 - servo:custom-properties, r=mbrubeck
...
Fix some custom properties bugs
Fix #7767 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8343 )
<!-- Reviewable:end -->
2015-11-07 06:02:36 +05:30
Ms2ger
2a509e4fa2
Update js.
2015-11-06 18:38:07 +01:00
David Zbarsky
dfc90db1d7
Cleanup some unneeded let bindings
2015-11-06 00:22:31 -08:00
Matt Brubeck
ce61dc2623
Upgrade to latest glutin
2015-11-05 09:05:17 -08:00
Simon Sapin
69d398f29a
Update to rust-cssparser 0.4.0
2015-11-05 08:57:01 +01:00