Commit graph

87 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
3cd6b71e6b
Auto merge of #27556 - paulrouget:bookmarks, r=jdm
UWP Bookmarks

Fix #27416

Bookmarks are saved in a JSON file.
Clicking on the star icon add the bookmark and show a UI to edit the label or cancel the bookmark addition.
Clicking on the star icon again allows the user to edit or remove the bookmark.
A bookmark toolbar is displayed if there's any bookmark.

<img width="471" alt="Screen Shot 2020-08-10 at 15 26 53" src="https://user-images.githubusercontent.com/373579/89791113-22a81300-db23-11ea-9d1a-9d90e1e62534.png">
<img width="978" alt="Screen Shot 2020-08-10 at 15 26 42" src="https://user-images.githubusercontent.com/373579/89791121-250a6d00-db23-11ea-9b42-6c155ccb2b42.png">
2020-08-10 13:17:19 -04:00
Paul Rouget
47fde310b1 UWP: Bookmarks 2020-08-10 15:58:24 +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
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