Commit graph

123 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
ed601bcbad Context Menu: UWP 2020-03-30 07:42:06 +02:00
Paul Rouget
a707432b00 Add a devtools button 2020-03-25 13:23:10 +01:00
Paul Rouget
5ca122a938 UWP: include submodule logs 2020-03-24 10:28:28 +01:00
Paul Rouget
00395125f6 UWP port: re-enable devtools 2020-03-16 13:43:10 +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
Paul Rouget
f50f4df496 Properly sign UWP package 2020-03-09 09:35:47 +01:00
Josh Matthews
1898b7c59f
Disable devtools for HoloLens. 2020-03-04 15:32:52 -05:00
Josh Matthews
1901d11061
Remove broken thumbprint. 2020-03-02 11:46:31 -05:00
Paul Rouget
e45af06863 bump min target platform 2020-02-19 14:11:15 +01:00
Paul Rouget
6ddde1a3e1 Stop animations when window is hidden (API + UWP) 2020-02-19 14:10:49 +01:00
Josh Matthews
4a4b8bd9bd Revert "Auto merge of #25509 - jdm:angle-up, r=asajeffrey"
This reverts commit ce6204b904, reversing
changes made to 904fcb4317.
2020-02-10 11:25:46 -05:00
Paul Rouget
d83820061e enable devtools for hololens 2020-02-10 06:51:18 +01:00
Paul Rouget
49376e3b31 Prompt user before accepting incoming devtools connection 2020-02-10 06:51:18 +01:00
Paul Rouget
51f15a055e Embedder Prompt API 2020-02-10 06:51:18 +01:00
Josh Matthews
fc61190ddc Update ANGLE for UWP build. 2020-01-13 12:54:38 -05:00
Josh Matthews
b3d0388d83 Adjust UWP packaging for submission. 2019-12-16 15:15:13 -05:00
bors-servo
47716cc1aa
Auto merge of #25219 - jdm:angle-uwp-up, r=paulrouget
Update ANGLE for UWP fix.

This fixes a WACK error where the ANGLE DLLs do not contain the App Container feature.
2019-12-10 14:47:32 -05:00
Josh Matthews
ba8c52854e Update ANGLE for UWP fix. 2019-12-09 14:40:33 -05:00
Paul Rouget
5c6e38d1b4 Revert " Prompt user to install OpenXR package if not installed"
This reverts commit 75b522d210.
2019-12-09 04:41:38 +01:00
Paul Rouget
138e50dc67 Dependency on OpenXR runtime package 2019-12-09 04:40:22 +01: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
Fernando Jimenez Moreno
d633c8b9da Hololens - Show/hide media controls according to playback state 2019-12-05 15:19:18 +01:00
Fernando Jimenez Moreno
c810962d78 Hololens - MediaSession controls UI 2019-12-05 15:19:18 +01:00
bors-servo
64bcce2389
Auto merge of #25076 - paulrouget:uwpTouch, r=Manishearth
Properly send TouchEvents to Servo

This PR is based on #24778. It fixes some UWP platform weirdness (click not registering, and non-expected touch move events).
2019-12-04 23:39:56 -05:00
Paul Rouget
171e826180 Properly send TouchEvents to Servo 2019-12-04 14:24:27 +01:00
Paul Rouget
193113037d Home button and larger buttons in toolbar 2019-12-04 08:09:13 +01:00
Paul Rouget
75b522d210 Prompt user to install OpenXR package if not installed 2019-11-26 05:10:39 +01:00
Paul Rouget
8a97aa5647 Better tooltip for UWP port 2019-11-14 05:27:16 +01:00
Paul Rouget
42ee1a86f6 Properly set event.buttons value on mousemove 2019-11-11 16:00:44 +01:00
bors-servo
64560ec0b6
Auto merge of #24646 - paulrouget:nocancel, r=jdm
No need to cancel the task. The thread is ending.

Fix #24635
2019-11-06 22:56:02 -05:00
Paul Rouget
1c3da95b70 do not rely on UWP URL parser 2019-11-06 07:38:19 +01:00
bors-servo
593f8bd0f6
Auto merge of #24640 - paulrouget:no-allfiles-opt, r=jdm
Remove all_files options for clang-format check

fix #24638
2019-11-05 07:42:29 -05:00
Paul Rouget
f11132f8c8 No need to cancel the task. The thread is ending. 2019-11-04 15:15:41 +01:00
Paul Rouget
ddbb0d5cc4 CPP formating 2019-11-04 12:46:14 +01:00
Paul Rouget
749f2217f9 XAML key bindings 2019-11-04 12:30:22 +01:00
Paul Rouget
7fb12fcc43 Indent XAML file 2019-11-04 12:30:15 +01:00
bors-servo
f626355b67
Auto merge of #24552 - paulrouget:clangformat, r=jdm
mach fmt calls clang-format

Fix #24031

What would be the right way to also integrate this with tidy?
2019-11-04 04:48:20 -05:00
Paul Rouget
36c1669215 Format support/hololens/ 2019-11-04 07:05:06 +01:00
Patrick Walton
a358bca766 Use surfman for managing GL surfaces
Co-authored-by: Alan Jeffrey <ajeffrey@mozilla.com>
Co-authored-by: Zakor Gyula <gyula.zakor@h-lab.eu>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
2019-11-01 08:47:11 -05:00
bors-servo
48d918dcde
Auto merge of #24597 - paulrouget:mouse, r=jdm
UWP: More mouse events

Support more UWP Desktop events (mouse wheel, mouse move, etc).

This introduces a new issue, where the basic bbjs demo requires double click to select a color (unrelated to #24530 I believe). Filed #24596.

Next step is to properly fire touch events in HoloLens and only mouse events on Desktop (see #24587).
2019-11-01 08:22:17 -04:00
Paul Rouget
112221f046 UWP: More mouse events 2019-11-01 06:28:14 +01:00
Paul Rouget
ff102fa64b Load hololens demo page by default 2019-10-31 09:48:00 +01:00
Paul Rouget
70823e3032 Format CPP code with clang-format 2019-10-30 11:00:33 +01:00
bors-servo
de9c84f686
Auto merge of #24577 - paulrouget:transientThrobber, r=jdm
Add a loading indicator in transient mode

---
<!-- 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 #24549 (GitHub issue number if applicable)
2019-10-30 01:37:07 -04:00
Paul Rouget
50929d7992 Add a loading indicator in transient mode 2019-10-29 08:25:50 +01:00
Paul Rouget
f2f8223cf1 UWP: better mouse interaction support 2019-10-29 07:35:50 +01:00
bors-servo
b052a1a020
Auto merge of #24542 - jdm:angle-up, r=paulrouget
Update UWP ANGLE to a modern version

The previous UWP ANGLE builds were made from https://github.com/servo/ms-angle/tree/servo-master which was based on an abandoned revision of ANGLE from >2 years ago. This is lacking some features that are necessary for https://github.com/servo/webxr/issues/46, so this is a new build produced from https://github.com/google/angle/ instead.

I've documented the process for releasing new ANGLE builds at https://github.com/servo/servo/wiki/Publishing-a-new-ANGLE-NuGet-version.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24199
- [x] These changes do not require tests because the windows testing situation is sad, and the UWP testing situation is sadder
2019-10-28 05:32:45 -04:00