Commit graph

3882 commits

Author SHA1 Message Date
bors-servo
c3ecf2ecef
Auto merge of #26043 - paulrouget:IMMenu, r=jdm
Context menu API

This adds an API for Servo internals to request a context menu to the embedder, along an implement for the UWP port.
2020-03-30 03:08:08 -04:00
Paul Rouget
ed46f5985c Context Menu: API 2020-03-30 07:42:06 +02:00
Paul Rouget
5ca122a938 UWP: include submodule logs 2020-03-24 10:28:28 +01:00
Kunal Mohan
94db0d61cb
Add support for launching devtools server on random port
Assign random port to devtools server in case user does not specify a
port explicitly and report it to the embedding layer for display to user.
2020-03-16 15:30:26 +05:30
Alan Jeffrey
9c2163cf89 Updated gst plugin for new surfman-chains API 2020-03-10 15:12:33 -05:00
Josh Matthews
fbcf2bbc3e Integrate swapchain surface provider changes into webgl and webxr implementations. 2020-03-09 17:50:54 -04:00
Anthony Ramine
5a4f8cf93f Update SpiderMonkey 2020-03-06 11:13:28 +01:00
bors-servo
813be91926
Auto merge of #25863 - servo:synup, r=jdm
Remove syn 0.15 from our crate graph
2020-03-05 10:03:48 -05:00
Anthony Ramine
9996e48500 Remove syn 0.15 from our crate graph (fixes #24421)
This required bumps of:

* gleam
* image
* rust-webvr
* webrender
* webxr
2020-03-05 13:01:13 +01:00
Iulian Gabriel Radu
ffba9d0ea7 Handle PromptPermission in libsimpleservo 2020-02-28 22:02:52 +02:00
Iulian Gabriel Radu
f75d547c61 Delegate permission prompt dialog formatting to embedders 2020-02-28 11:44:33 +02:00
gatowololo
675b36dde5 Move tinyfiledialog out of script into embedder. 2020-02-27 01:01:08 +02:00
Daniel Alley
430a65be07 Remove azure canvas backend
closes #25833
2020-02-25 00:14:24 -05:00
Manish Goregaokar
f3e1aba4e3 Add profiling for WebXR 2020-02-22 22:00:05 -08:00
bors-servo
c78f0d7449
Auto merge of #25806 - jdm:ipc-up, r=Manishearth
Update ipc-channel and crossbeam-channel

Depends on https://github.com/servo/webxr/pull/130 and https://github.com/servo/media/pull/333.
2020-02-20 18:47:12 -05:00
bors-servo
b5b9732509
Auto merge of #25799 - paulrouget:hideWindow, r=Manishearth
Hide window

Stop animations when the window is hidden.

Tested with both Immersive Mode, and regular window being minimized.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #25794 (GitHub issue number if applicable)
2020-02-20 14:28:09 -05:00
Josh Matthews
fee7cc2a36 Update gstreamer in gstplugin port. 2020-02-20 12:27:46 -05:00
Josh Matthews
3fd3c23e17 Update ipc-channel and crossbeam-channel. 2020-02-20 11:15:13 -05:00
Manish Goregaokar
68589128e0 Thread vslatestinstalled feature to the top 2020-02-19 16:51:13 -08:00
Paul Rouget
6ddde1a3e1 Stop animations when window is hidden (API + UWP) 2020-02-19 14:10:49 +01:00
Paul Rouget
51f15a055e Embedder Prompt API 2020-02-10 06:51:18 +01:00
Josh Matthews
8fdec5bb50 Try to avoid panicking during I/O in the signal and panic handlers. 2020-01-31 12:20:12 +01:00
Josh Matthews
3adf62dd7b
Add profilemozjs feature to C API crate. 2020-01-28 00:59:07 +00:00
Josh Matthews
f47187bf30
Add profilemozjs feature to simpleservo/api. 2020-01-28 00:58:19 +00:00
Patrick Shaughnessy
de76597d33 tinyfiledialogs mitigation 2020-01-14 20:47:09 -05:00
Kunal Mohan
02c1612cb0
Add accountable-refcell as optional build time feature 2020-01-08 09:44:41 +05:30
Alan Jeffrey
14e0c6ad05 Use gstreamer_gl metadata 2019-12-20 12:13:31 -06:00
Alan Jeffrey
03ec414d88 Removed outdated comment 2019-12-20 12:13:01 -06:00
Alan Jeffrey
da3fdf89a7 Updated README 2019-12-18 20:28:22 -06:00
Alan Jeffrey
9f52997f41 Make wayland happier by sharing a Connection between servo and gstreamer 2019-12-18 19:31:12 -06:00
Alan Jeffrey
aca438aebc Miscellaneous gstreamer plugin fixes 2019-12-18 14:06:41 -06:00
Alan Jeffrey
16122be83e Run GL commands on the GStreamer GL thread 2019-12-12 13:43:52 -06:00
Alan Jeffrey
24678da9c9 Block the gstreamer plugin waiting for the next frame 2019-12-11 20:06:39 -06:00
Alan Jeffrey
722e60c9b1 Rename servosrc to servowebsrc 2019-12-11 09:47:53 -06:00
Alan Jeffrey
eae574df25 Rename the ServoSrc type to ServoGstSrc to avoid a name clash 2019-12-09 12:45:41 -06:00
Alan Jeffrey
bd1e4f87b5 Get the servosrc gstreamer plugin to use a GL buffer pool 2019-12-06 17:31:20 -06:00
Alan Jeffrey
06a10c5b65 GStreamer plugin should use GLMemory 2019-12-05 13:49:23 -06:00
Fernando Jiménez Moreno
58623a6f5b Fix libsimpleservo build after MediaSession C enums change 2019-12-05 16:35:11 +01:00
Fernando Jimenez Moreno
b01e3fdc7e Introduce CMediaSessionPlaybackState and CMediaSessionActionType 2019-12-05 15:34:34 +01:00
Fernando Jimenez Moreno
d5200ba453 Hololens - Trigger MediaSessionActions for play and pause buttons 2019-12-05 15:20:48 +01:00
bors-servo
f31a88d85d
Auto merge of #24885 - shnmorimoto:implement_mediasession_set_positon_state, r=ferjm
Implement mediasession set positon state

<!-- Please describe your changes on the following line: -->

fix #24808

> Bonus points if you want to tweak the existing UI by adding a progress bar, and the info about the current position and total duration.

I haven't implemented this yet.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24808 (GitHub issue number if applicable)

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2019-12-03 12:13:06 -05:00
Shinichi Morimoto
4d215c9557 extended HostTrait with on_media_session_set_position_state 2019-12-03 23:16:43 +09:00
Shinichi Morimoto
e268193b8d fix typo 2019-12-03 07:39:04 +09:00
Simon Sapin
5bcd2f5642 Avoid locking in the signal handler 2019-11-27 21:56:39 +01:00
Simon Sapin
99804eb5a6 Only print a backtrace the first time the signal handler is called.
This avoids infinite recursion if the printing causes another signal.
2019-11-27 21:56:36 +01:00
Simon Sapin
413f499da8 Avoid allocation in the signal handler to fix a deadlock
Fixes https://github.com/servo/servo/issues/24881
CC https://github.com/rust-lang/backtrace-rs/pull/265
2019-11-27 20:35:49 +01:00
bors-servo
ea18d5f5e9
Auto merge of #24861 - asajeffrey:gstplugin-url, r=ferjm
Add url parameter to the servosrc gstreamer plugin

<!-- Please describe your changes on the following line: -->

Support a `url` parameter for the gstreamer plugin.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24836
- [x] These changes do not require tests because adding features to a port

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2019-11-26 19:17:22 -05:00
Alan Jeffrey
2356f3ea6b The gstreamer plugin should resize when it's presented with frames to fill, not when caps are set 2019-11-25 15:03:58 -06:00
Alan Jeffrey
82e7e457e7 Add url parameter to the servosrc gstreamer plugin 2019-11-25 13:27:36 -06:00
Alan Jeffrey
69acec137d Add a gstreamer servosrc plugin 2019-11-25 10:12:05 -06:00