Matt Brubeck
d54f489c33
Update image, hyper, gleam, flate2, threadpool, string_cache, num_cpus
2016-05-11 20:37:27 -07:00
Alan Jeffrey
00a8efe9fd
When webdriver is getting a pipeline id, it should wait for the pipeline document to be ready.
2016-05-11 15:27:25 -05:00
Rohit Zambre
ca3084d241
added infrastructure to handle interval and CSV time profiling alongside html-timeline-profiling
2016-05-11 11:27:07 -07:00
bors-servo
500b0a6d36
Auto merge of #11090 - saneyuki:fix11082, r=jdm
...
Move ConvertPipelineIdFromWebRender to compositing
Fix #11082
<!-- 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/11090 )
<!-- Reviewable:end -->
2016-05-09 13:50:05 -07:00
Tetsuharu OHZEKI
4f06470748
Move ConvertPipelineIdFromWebRender to compositing
2016-05-10 02:36:54 +09:00
bors-servo
7b8bb0c248
Auto merge of #11096 - mbrubeck:profile-image-saving, r=metajack
...
Profile time spent saving the screenshot image
I did this to see if it was a significant factor in automated test runs. (Spoiler: it isn't.)
<!-- 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/11096 )
<!-- Reviewable:end -->
2016-05-09 10:21:00 -07:00
Matt Brubeck
9b23cf537e
Profile time spent saving the screenshot image
2016-05-09 09:43:13 -07:00
Kosov Eugene
8b6a609764
move trait ConvertPipelineIdToWebRender to a better place
2016-05-09 01:20:24 +03:00
Fabrice Desré
8489b30042
Fix a build warning in compositor.rs
2016-05-05 17:59:13 -07:00
bors-servo
c1252a40d9
Auto merge of #10993 - pcwalton:fix-animations, r=glennw
...
compositing: Perform animation-related compositing operations in WebRender.
I accidentally removed this code in #10936 .
Fixes transitions.
r? @glennw
<!-- 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/10993 )
<!-- Reviewable:end -->
2016-05-04 16:26:08 -07:00
Patrick Walton
91907f563b
compositing: Send mouse events to the right pipeline when using
...
WebRender.
Fixes mouse events in browser.html.
Requires servo/webrender_traits#47 and servo/webrender#272 .
2016-05-04 11:40:15 -07:00
bors-servo
b4f573db1a
Auto merge of #10840 - ConnorGBrewster:window_alert, r=jdm
...
Implement alert dialogs
fix #10812
Implements alert dialogs using tinyfiledialogs
r? @jdm
<!-- 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/10840 )
<!-- Reviewable:end -->
2016-05-04 09:10:40 -07:00
bors-servo
944a8dc25a
Auto merge of #10632 - szeged:bluetooth-ipc, r=jdm
...
WebBluetooth impementation
Update the current WebBluetooth implementation.
<!-- 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/10632 )
<!-- Reviewable:end -->
2016-05-04 08:06:06 -07:00
Connor Brewster
dc85be4be5
Implement alert dialogs
...
Fixed conflict
Fixed merge issue
Finished implementation
Disable tinyfiledialogs on Windows
addressed comments
Use ancestor's SubpageId
Move display alert from method to function
Add extra test for nested iframes
Addressed comments
Updated tinyfiledialogs
2016-05-03 22:09:35 -06:00
Patrick Walton
62c6d8b06d
compositing: Perform animation-related compositing operations in WebRender.
...
I accidentally removed this code in #10936 .
2016-05-03 10:58:38 -07:00
fokinv
9825ea41b4
Add Bluetooth IPC support
2016-05-03 10:17:41 +02:00
Keith Yeung
c76d0006ee
Re-add TODO comment for adding referer info to LoadData
2016-05-02 21:07:54 -04:00
Ms2ger
db6543e502
Simplify load_data handling in handle_script_loaded_url_in_iframe_msg.
2016-05-02 16:36:57 +02:00
Ms2ger
eba74554f3
Add and update some FIXME comments about origin handling with iframes.
2016-05-02 12:34:08 +02:00
bors-servo
77cb2ca89a
Auto merge of #10712 - KiChjang:multipart-form-data, r=jdm
...
Support form submission of multipart/form-data
Fixes #7553 .
<!-- 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/10712 )
<!-- Reviewable:end -->
2016-04-30 18:43:30 -07:00
Keith Yeung
3110647852
Make IFrameLoadInfo take an Option<LoadData> instead of Option<Url>
2016-04-30 21:43:01 -04:00
bors-servo
a868bb2a90
Auto merge of #10936 - pcwalton:wr-scroll-event-handling, r=glennw
...
compositor: When WebRender is in use, only composite on new WebRender frames.
Scheduling composition on scroll and so forth is unnecessary and can
cause us to miss frames if the code happens to start the composition
while the WebRender backend is still in the process of preparing the
frame. This is most easily seen when scrolling in full-screen mode in
release builds on Mac.
Closes #9879 .
r? @glennw
cc @paulrouget
cc @tschneidereit
<!-- 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/10936 )
<!-- Reviewable:end -->
2016-04-30 17:14:05 -07:00
bors-servo
d9dc6dd03c
Auto merge of #10931 - asajeffrey:send-panic-backtrace-to-mozbrowser, r=jdm
...
Send the panic reason and backtrace in mozbrowsererror.
Closes #10334 . Glues together PRs #10837 and #10824 .
<!-- 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/10931 )
<!-- Reviewable:end -->
2016-04-30 07:30:38 -07:00
bors-servo
f75fa5283e
Auto merge of #10902 - asajeffrey:remove-explicit-panic-from-compositor, r=aneeshusa
...
Remove panic! from the compositor
Fixes #10864 , and adds a check to `/etc/ci/check_no_unwrap.sh`.
r? @aneeshusa
<!-- 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/10902 )
<!-- Reviewable:end -->
2016-04-29 17:25:17 -07:00
Patrick Walton
ed90011fa3
compositor: When WebRender is in use, only composite on new WebRender
...
frames.
Scheduling composition on scroll and so forth is unnecessary and can
cause us to miss frames if the code happens to start the composition
while the WebRender backend is still in the process of preparing the
frame. This is most easily seen when scrolling in full-screen mode in
release builds on Mac.
Closes #9879 .
2016-04-29 14:48:57 -07:00
Alan Jeffrey
bd09f3148e
Send the panic reason and backtrace in mozbrowsererror.
2016-04-29 13:22:48 -05:00
bors-servo
990dd72da7
Auto merge of #10837 - asajeffrey:add-mozbrowsererror-details, r=Manishearth
...
Add detail to mozbrowsererror events.
Part of #10334 . Once #10824 lands, we can include the panic reason and backtrace in the error report.
<!-- 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/10837 )
<!-- Reviewable:end -->
2016-04-29 09:18:39 -07:00
Alan Jeffrey
5db92870ff
Remove panic! from the compositor
2016-04-29 11:10:33 -05:00
Patrick Walton
7bd257089c
script: Make iframes know their pipeline IDs at all times, even after
...
navigation.
Since WebRender uses the pipeline ID stored in the iframe element to
determine which pipeline to display, it had better be kept up to date!
Closes #9919 .
2016-04-28 10:53:13 -07:00
bors-servo
959dbac0e7
Auto merge of #10862 - asajeffrey:only-the-chrome-survives, r=SimonSapin
...
Don't kill the root pipeline when randomly killing pipelines.
Useful for stress-testing the browser chrome, e.g. testing #10334 .
<!-- 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/10862 )
<!-- Reviewable:end -->
2016-04-26 18:40:21 -07:00
bors-servo
2729864af7
Auto merge of #10857 - servo:toml, r=nox
...
Simplify TOML syntax
* Sections like `[dependencies.foo]` can be entries in a `[dependencies]` section with the `{key = value}` syntax.
* Per-target dependencies can be expressed with more general `cfg(…)` conditions instead of exact target triples: https://github.com/rust-lang/cargo/pull/2328
<!-- 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/10857 )
<!-- Reviewable:end -->
2016-04-26 15:46:37 -07:00
Simon Sapin
83b3ebf6ac
Simplify TOML syntax
...
* Sections like `[dependencies.foo]` can be entries in a `[dependencies]`
section with the `{key = value}` syntax.
* Per-target dependencies can be expressed with more general `cfg(…)`
conditions instead of exact target triples:
https://github.com/rust-lang/cargo/pull/2328
2016-04-26 23:51:36 +02:00
Alan Jeffrey
2a52351de0
Don't kill the root pipeline when randomly killing pipelines.
2016-04-26 14:32:11 -05:00
Alan Jeffrey
9153333f62
Communicate a backtrace to the constellation when panicking.
2016-04-26 11:31:36 -05:00
Fabrice Desré
aac7101593
Don't expect a native_window when using webrender
2016-04-25 18:16:42 -07:00
Rebecca
526525b835
Add referrer policy pass-through and referrer header logic
...
add pass-through from doc to http-loader for referrer_policy, ref_URL
add logic for setting referer header
add script pass-through for referrer
add unit tests for setting referer header
2016-04-25 16:41:06 -04:00
Alan Jeffrey
d65cf8e833
Add detail to mozbrowsererror events.
2016-04-25 12:18:28 -05:00
Simon Sapin
7932ab6ac2
Upgrade to rust-url 1.0 and hyper 0.9
2016-04-23 20:27:58 +02:00
Josh Matthews
97637d8949
Remove unused crates on macos.
2016-04-23 10:44:55 -04:00
Michael Howell
7940b22158
compositing/script: Do not dispatch the resize event when initially loading.
...
No bug report corresponds to this, but I noticed it while trying to
reduce #10593
2016-04-22 13:36:43 -07:00
bors-servo
89b276c889
Auto merge of #10750 - servo:num, r=nox
...
Use num's constituent crates.
<!-- 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/10750 )
<!-- Reviewable:end -->
2016-04-20 20:40:24 +05:30
Ms2ger
a8b5ac5e32
Use num-traits in compositing.
2016-04-20 15:30:17 +02:00
bors-servo
8d988f20c1
Auto merge of #9968 - izgzhen:scroll, r=asajeffrey
...
Implement scroll, scrollLeft, scrollTop and friends, addressing issue #9650
This is a work in progress to solve https://github.com/servo/servo/issues/9650 . Thanks a lot for helping the review.
- [x] scroll
- [x] scrollTo
- [x] scrollBy
- [x] scrollTop (setter and getter)
- [x] scrollLeft (setter and getter)
The setters will be implemented in another PR after this is merged.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9968 )
<!-- Reviewable:end -->
2016-04-20 18:40:26 +05:30
Zhen Zhang
11b12f677b
element scroll setters
2016-04-20 08:29:17 +08:00
Alan Jeffrey
cfb066ef20
Added a dedicated panic channel.
2016-04-19 09:08:44 -05:00
Zhen Zhang
fefdaf76de
Implement ScrollTop and ScrollLeft getters:
...
Add new compositor message to get scroll_offset;
Add new layout query for computed value of overflow-x/y;
Implement layer_id method for ThreadSafeLayoutNode;
Add new layout query for layer_id;
Implement script interface for getting scrollTop and scrollLeft, as well as relavant helper functions.
2016-04-19 12:27:35 +08:00
Alan Jeffrey
59824ccb92
Trigger mozbrowsererror event when a pipeline fails.
2016-04-18 16:03:48 -05:00
Peter
b0ad3ddf5b
Updated euclid to version 0.6.5
...
And updated existing usages of Matrix4 to use Matrix4D<T>
2016-04-17 18:39:49 +01:00
bors-servo
6c5cfb738a
Auto merge of #10345 - asajeffrey:make-nox-happy, r=nox
...
Replace side-effecting unwrap_or_else by if let in constellation.
This addresses @nox's comments in #10295 .
<!-- 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/10345 )
<!-- Reviewable:end -->
2016-04-15 17:35:45 +05:30
Alan Jeffrey
0cca4a9d53
Replace side-effecting unwrap_or_else by if let in constellation.
...
This addresses nox's comments in #10295 .
2016-04-14 10:58:22 -05:00