Commit graph

64 commits

Author SHA1 Message Date
Paul Rouget
95a9287a8a Add more capabilities to UWP app 2019-09-21 09:45:50 +02:00
Paul Rouget
4490b2de9a Isolate default URL in its own file, for convenience 2019-09-21 09:45:49 +02:00
bors-servo
540a73ed29
Auto merge of #24226 - paulrouget:openxrup, r=jdm
OpenXR loader update

Fix #24181

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24226)
<!-- Reviewable:end -->
2019-09-17 10:22:41 -04:00
bors-servo
8bc8981ae5
Auto merge of #24149 - jdm:opt-in-msbuild, r=paulrouget
Add explicit packaging step for UWP apps

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24149)
<!-- Reviewable:end -->
2019-09-17 02:44:18 -04:00
Paul Rouget
c90c32238c Update OpenXRLoader Nuget package 2019-09-17 07:46:03 +02:00
Josh Matthews
c1f9dfda25 Make APPX build part of package command. Add nightly build for UWP. 2019-09-12 23:27:38 -04:00
bors-servo
f2b6cb77f2
Auto merge of #24126 - paulrouget:ui++, r=jdm
Make the HoloLens UI look better

Throbber, icons, tooltips, alignment, etc...

Based on top of #24125

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24126)
<!-- Reviewable:end -->
2019-09-11 23:46:48 -04:00
Paul Rouget
19d961626b Make the UI look better 2019-09-11 11:58:57 +02:00
Paul Rouget
fd12429d79 Fix UWP icons 2019-09-11 08:14:35 +02:00
bors-servo
d6118923d3
Auto merge of #24125 - paulrouget:branding, r=jdm
Branding: s/servo/firefox reality/

- Used images from https://github.com/MozillaReality/FirefoxReality
- Used description from https://play.google.com/store/apps/details?id=org.mozilla.vrbrowser
- Changed protocol handler url scheme from "servo://" to "fxr://"
- Default page for now is about:blank

Fix #24108

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24125)
<!-- Reviewable:end -->
2019-09-06 03:16:16 -04:00
Paul Rouget
56dd81f852 Branding: s/servo/firefox reality/ 2019-09-06 07:45:43 +02:00
bors-servo
2b31c0a644
Auto merge of #24140 - Manishearth:nuget-openxr, r=jdm
Use OpenXR loader from NuGet

No need to manually download the DLL

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24140)
<!-- Reviewable:end -->
2019-09-05 18:40:32 -04:00
angelortiz1007
49934c0335 Added support in CInitOptions to pass logging/filter modules to VSLogger. 2019-09-04 19:00:28 -05:00
Manish Goregaokar
92bddf081d Use OpenXR Loader from NuGet 2019-09-04 13:37:17 -07:00
Paul Rouget
5fe9a6223d Switch to chromeless mode when app opens from a servo:// link 2019-08-29 06:53:53 +02:00
Josh Matthews
c0ff30b71f Enable GStreamer on Windows. 2019-08-26 17:41:22 -04:00
Paul Rouget
b2c56940eb Resize Servo on surface resize 2019-08-23 11:10:09 +02:00
Paul Rouget
10f86935b8 Support hidpi 2019-08-23 11:08:46 +02:00
bors-servo
5bf00c07c2
Auto merge of #24013 - paulrouget:gestureCapture, r=jdm
[hololens] Gesture capture

I can't reproduce #24010 but I think this should fix it.

Fix #24010

Depends on #24008

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24013)
<!-- Reviewable:end -->
2019-08-23 01:06:45 -04:00
bors-servo
8672ab5447
Auto merge of #23999 - paulrouget:missingCMethods, r=jdm
Missing C methods

Depends on #23983

Fix #23969

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23999)
<!-- Reviewable:end -->
2019-08-22 22:59:55 -04:00
Paul Rouget
b642ff2057 Implement missing C callbacks 2019-08-22 07:43:12 +02:00
Josh Matthews
c98878f833 Downgrade UWP app target platform. 2019-08-21 20:28:46 -04:00
angelortiz1007
3dd1bfc317 Added support to download nuget and added python code to automate the x64 and arm64 mach build -r/-d --uwp build process. 2019-08-21 20:28:41 -04:00
Paul Rouget
aaefaee5dc Disable URL bar hit testing while scrolling in Servo 2019-08-21 11:12:20 +02:00
Paul Rouget
5c1d130217 Handle servo:// url 2019-08-21 11:03:19 +02:00
bors-servo
5f89dc87bd
Auto merge of #23983 - paulrouget:handlePanic, r=jdm
[hololens] Handle servo panic

Depends on #23981

Fix #23937

I've used a different approach than checking the return code of every single functions.
Basically calling a C function on panic.

That means the errors are not recoverable. I think it's fine for now.

I'm open to any other better approach.

@jdm what do you think?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23983)
<!-- Reviewable:end -->
2019-08-21 00:50:45 -04:00
Paul Rouget
3933b432fa Panic HoloLens app on rust panic 2019-08-21 06:20:20 +02:00
Paul Rouget
42f2c472f7 Remove Immersive Mode demo 2019-08-20 08:17:43 +02:00
Paul Rouget
d09692664e Use URL keyboard layout for urlbar 2019-08-20 05:34:48 +02:00
Paul Rouget
92f57b66d1 move control to its own directory 2019-08-19 07:12:17 +02:00
Paul Rouget
663ec48e00 Move Servo into a Control Template 2019-08-19 07:12:16 +02:00
Josh Matthews
a94d4b267a
Enable webxr for the UWP port. 2019-08-15 17:55:48 -04:00
Manish Goregaokar
c879ce078d Use packaged OpenXR 2019-08-12 19:28:48 -07:00
Manish Goregaokar
acfe1ee0dd Add support for OpenXR hololens backend 2019-08-12 19:28:48 -07:00
Manish Goregaokar
8686e74c25 Fix scrolling on hololens 2019-08-09 16:53:23 -07:00
Paul Rouget
20c7692e3e Add clang-format file 2019-08-02 00:45:42 +02:00
Paul Rouget
b7667ff362 Clarify hololens loop 2019-08-02 00:45:42 +02:00
bors-servo
45af8a34fe
Auto merge of #23900 - paulrouget:tasks, r=jdm
Use tasks instead of events

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23900)
<!-- Reviewable:end -->
2019-08-01 03:46:44 -04:00
Paul Rouget
224fc8bea5 Missing libraries for HoloLens x64 2019-07-31 19:46:51 +02:00
Paul Rouget
4525530310 Use tasks instead of events 2019-07-31 18:59:28 +02:00
Josh Matthews
8a10faf3b9 Remove GStreamer dependencies from UWP app. Remove GStreamer backend on Windows.
It's impossible to conditionally use a crate based only on cargo features, so
temporarily disable the backend on all Windows builds while we sort out how
to get the UWP builds working again.
2019-07-30 21:17:34 -07:00
Josh Matthews
71a3b24529
Fix deployment condition for debug arm64 GStreamer DLL. 2019-07-30 00:05:38 -04:00
Josh Matthews
330706b73b Add missing GStreamer DLLs to ARM64 UWP app. 2019-07-28 12:46:22 -04:00
bors-servo
b9b01764fb
Auto merge of #23863 - jdm:gstreamer-uwp, r=ferjm
Various UWP GStreamer improvements

There are a number of positive changes in these commits:
* we successfully load GStreamer plugins in ARM64 UWP builds
* we correctly link the ARM64 ANGLE libraries when appropriate
* it is no longer necessary to manually set the LIB environment variable on Windows
* we automatically download and link against UWP-friendly GStreamer binaries when building with `--uwp`
* the use of vcruntime140.dll, msvcp140.dll and api-ms-win-crt-runtime-l1-1-0.dll in the UWP application has been removed and the build does not repackage them
* the set of base supporting GStreamer DLLs has been expanded to allow the gstlibav plugin to load correctly

---
<!-- 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 #23742
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23863)
<!-- Reviewable:end -->
2019-07-27 12:03:11 -04:00
Josh Matthews
817a7fe2af Add more DLLs to UWP app. 2019-07-27 09:55:42 -04:00
Josh Matthews
5d3d766204 Vendor UWP GStreamer binaries. 2019-07-27 09:55:42 -04:00
Paul Rouget
c6a2f6eb05 Fix shutdown 2019-07-26 18:25:29 +02:00
bors-servo
3e90b93b83
Auto merge of #23845 - paulrouget:cleanup, r=jdm
[hololens] More events, remove most of the statics, better shutdown

Depends on #23831

- Buttons are greyed out when necessary
- Reload, Stop, Back and Fwd are properly bound
- Servo.cpp rewritten in a much cleaner way
- Removed most of the statics
- Improved (but not full) shutdown

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23845)
<!-- Reviewable:end -->
2019-07-25 04:39:50 -04:00
bors-servo
9f6d134957
Auto merge of #23841 - servo:arm64-configuration, r=paulrouget
Make Windows arm64 easy

* Add a ServoApp project configuration
* Add a `--win-arm64` build flag (now `python mach build -r --win-arm64 --uwp`)
* Automatically set up GStreamer LIB environment
* Yell if the cross-compilation environment isn't set up correctly
* Automatically find the Visual C++ installation for DLL packaging, rather than relying on an environment variable

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23793 and fix #23795
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23841)
<!-- Reviewable:end -->
2019-07-25 01:25:39 -04:00
Paul Rouget
d0436f16b6 More events, remove most of the statics, better shutdown 2019-07-25 05:47:56 +02:00