Commit graph

76 commits

Author SHA1 Message Date
Josh Matthews
47e6430d30 Pipe GST_DEBUG output to its own log file on UWP. 2020-08-07 10:28:54 -04:00
Paul Rouget
3b8773940a Keep C++ pref value in memory longer 2020-08-05 16:33:27 +02:00
Paul Rouget
52f01a8a14 UWP: Crash report UI 2020-08-03 17:36:52 +02:00
Josh Matthews
f030162ec3 Make reload button clear the network cache. 2020-07-27 22:34:07 -04:00
bors-servo
8a5a5cb91b
Auto merge of #27396 - jdm:home-button, r=Manishearth
Avoid crashing when no homepage preference is set.

Fixes #27394.
2020-07-24 20:07:35 -04:00
Josh Matthews
4f7b44c850 Avoid crashing when no homepage preference is set. 2020-07-24 16:08:58 -04:00
Paul Rouget
b42d441732 Fire sessionavailable if in transient mode 2020-07-23 03:32:28 +02:00
Paul Rouget
1b0de562ed Remove simpleservo antialiasing option, rely on pref 2020-07-21 06:30:06 +02:00
Paul Rouget
9174b201b0 UWP: rely more on servo preferences 2020-07-20 09:31:27 +02:00
Paul Rouget
6252d36a14 Unfocus input when virtual keyboard is dismissed 2020-07-13 14:04:06 +02:00
Paul Rouget
79ecc7e216 UWP: allow servo's initial URL to be set before Servo starts 2020-07-06 11:49:13 +02:00
bors-servo
ee56d5d212
Auto merge of #27149 - paulrouget:key_events2, r=jdm
UWP: support virtual keyboard

Fix #26898 and fix #26680.

@jdm: can you test on the device?
2020-07-03 00:25:05 -04:00
Josh Matthews
337791d4b1 Enable stdout logging for all UWP builds 2020-07-02 23:08:31 -04:00
Paul Rouget
34265c872e UWP: support virtual keyboard 2020-07-02 10:57:34 +02:00
bors-servo
db00c1f96e
Auto merge of #27114 - paulrouget:key_events, r=jdm
[UWP] Key events

This is the initial work required for proper keyboard events.
The text controller implementation is very basic, just enough to show the virtual keyboard when it's needed, and have basic key events.
2020-06-30 09:41:15 -04:00
Paul Rouget
2dcb78de13 UWP: Basic key events 2020-06-30 07:30:54 +02:00
Paul Rouget
2ef6ba25dc Fix DEFAULT_URL 2020-06-29 06:31:32 +02:00
Paul Rouget
8cf2f14baa Allow embedder to bypass devtools prompt 2020-06-22 11:47:03 +02:00
bors-servo
10202c2ad2
Auto merge of #26840 - paulrouget:l10n, r=Manishearth
UWP L10N

Partially addresses #26665.

This does not cover Rust strings and resources files.
2020-06-11 02:12:00 -04:00
Paul Rouget
e5edd22208 L10N for UWP app. 2020-06-11 07:54:57 +02:00
Paul Rouget
562f4781c5 Fix warnings 2020-06-11 07:54:57 +02:00
Paul Rouget
805b79b32c log and format for wstrings. 2020-06-11 07:54:57 +02:00
Josh Matthews
4a1fb14982 Don't force using the preview Windows MixedReality runtime. 2020-06-10 10:44:07 -04:00
Paul Rouget
0d8afd9f0c c++ headers cleanup 2020-06-10 09:38:14 +02:00
Paul Rouget
dd2ebce57e UWP: Preference panel 2020-06-10 09:38:14 +02:00
Josh Matthews
a5970ab9c7 Enable UWP logging in release builds with FirefoxRealityLogStdout env var. 2020-04-24 14:47:22 -04:00
Josh Matthews
d6ae56b75e Ensure correct buttons are disabled when prompting in UWP. 2020-04-24 14:47:21 -04:00
bors-servo
306e8ac5f9
Auto merge of #25853 - asajeffrey:surfmanup, r=jdm
Replace glutin by winit + surfman 0.2

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

This PR updates surfman to 0.2, and replaces glutin with winit+surfman.

---
<!-- 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 do not require tests because this should all be invisible

<!-- 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. -->
2020-04-18 21:03:25 -04:00
Alan Jeffrey
8bb1732258 Update surfman to 0.2 and remove glutin 2020-04-17 23:44:53 -05:00
bors-servo
aa37904bbd
Auto merge of #26196 - jdm:stdout-log, r=Manishearth
Dump all UWP logging output to a file

These changes ensure that we keep getting debug output in the VS output window, but we also write each message to a file in the app's local data directory. These changes also extend the C API a bit to support more generic logging facilities, removing some of the Windows-specific nature of the VSLogger. Fixes part of #23813.
2020-04-17 14:45:32 -04:00
Josh Matthews
6a73c5b23c Dump all stdout/stderr/logging output to a file. 2020-04-17 14:44:50 -04:00
Josh Matthews
5fcb3c84d4 Depend on the preview OpenXR runtime for performance fixes. 2020-04-15 18:08:34 -04:00
Alan Jeffrey
c611e46381 Remove WebVR 2020-04-08 20:23:41 -05:00
Paul Rouget
0b489a0135 Make it possible to add a title to context menu 2020-03-31 12:25:54 +02:00
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
Josh Matthews
1898b7c59f
Disable devtools for HoloLens. 2020-03-04 15:32:52 -05:00
Paul Rouget
6ddde1a3e1 Stop animations when window is hidden (API + UWP) 2020-02-19 14:10:49 +01: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
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
Paul Rouget
171e826180 Properly send TouchEvents to Servo 2019-12-04 14:24:27 +01:00
Paul Rouget
42ee1a86f6 Properly set event.buttons value on mousemove 2019-11-11 16:00:44 +01:00