Commit graph

56 commits

Author SHA1 Message Date
Philip Lamb
45a89bcb95 clang-fmt 2021-03-30 13:45:07 +13:00
Philip Lamb
b8a74e89cf Improve IME messaging to embedder with insertion point index and multiline flag. 2021-03-29 17:55:54 +13:00
Philip Lamb
c88b55286f clang-format 2020-12-17 10:15:34 +13:00
Philip Lamb
1471a6dc80 Replace use of c++ keyword 'default' in c++ code and C APIs. Also correct obsolete use of qualified name in member declaration. 2020-12-16 11:36:55 +13:00
Paul Rouget
848a84e3f5 Add time and app version to crash report 2020-08-11 10:44:08 +02:00
bors-servo
8067a2fe94
Auto merge of #27537 - jdm:armmedia, r=Manishearth
Use gstreamer on UWP targets

This fixes a regression that cause our arm64 builds to use the dummy media stack by default. Oops.

Fix #27531. Fix #27532.
2020-08-07 10:29:16 -04:00
Josh Matthews
47e6430d30 Pipe GST_DEBUG output to its own log file on UWP. 2020-08-07 10:28:54 -04:00
bors-servo
4d1b96e605
Auto merge of #27522 - jdm:home-override, r=paulrouget
Use override value for home button when available.

Fixes #27521.
2020-08-07 06:26:59 -04:00
Josh Matthews
1839f44dbb Use override value for home button when available. 2020-08-06 14:19:20 -04:00
Josh Matthews
5de6074ad8 Add missing media session callback in UWP embedding. 2020-08-06 14:17:58 -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
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
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
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
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
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
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
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
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
36c1669215 Format support/hololens/ 2019-11-04 07:05:06 +01:00
Fernando Jimenez Moreno
aeac55af5e Append default prefs to UWP app args 2019-10-24 17:16:55 +02:00
Fernando Jimenez Moreno
7737610870 Allow passing args to UWP app from command line 2019-10-24 11:49:40 +02:00