Commit graph

342 commits

Author SHA1 Message Date
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
Shinichi Morimoto
41ff93eca2 extended android jni with onMediaSessionSetPositionState 2019-12-03 23:16:43 +09:00
Paul Rouget
75b522d210 Prompt user to install OpenXR package if not installed 2019-11-26 05:10:39 +01:00
Fernando Jiménez Moreno
59f22abb3e Remove stop button for now and show play/pause in compact mode 2019-11-20 13:34:31 +01:00
Fernando Jiménez Moreno
f65c400828 Update media session metadata and show content text with artist and album 2019-11-20 13:34:30 +01:00
Fernando Jiménez Moreno
caedc28118 Do not play notification sound when creating media session on Android 2019-11-20 13:34:29 +01:00
Fernando Jiménez Moreno
7b5b46f560 Fix play action 2019-11-20 13:34:29 +01:00
Fernando Jiménez Moreno
07483f1d44 Switch play and pause buttons according to playback state 2019-11-20 13:34:29 +01:00
Fernando Jiménez Moreno
b5b8c6c2a8 Remove prev and next track action buttons for now 2019-11-20 13:34:29 +01:00
Fernando Jiménez Moreno
08f9f17ed3 Send MediaSessionAction from Android 2019-11-20 13:33:51 +01:00
Fernando Jiménez Moreno
0bbacdda0c Move media session related code out of MainActivity 2019-11-20 13:33:16 +01:00
Fernando Jiménez Moreno
dd63ba425f MediaSession show media controls on Android 2019-11-20 13:33:15 +01:00
Fernando Jiménez Moreno
3f6569447d MediaSession Android bits 2019-11-20 13:33:15 +01:00
Paul Rouget
8a97aa5647 Better tooltip for UWP port 2019-11-14 05:27:16 +01:00
bors-servo
97f1300739
Auto merge of #24704 - Darkspirit:https, r=jdm
HSTS & CA updates; Fix Debian bootstrap; Default to https on Android, too.

- Updated HSTS Preload list using ./mach update-hsts-preload
- Updated CA [database](https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV) using etc/cert_generator.sh.
  - No additions.
  - [bug 1552374](https://bugzilla.mozilla.org/show_bug.cgi?id=1552374) removed Certinomis - Root CA
  - [bug 1574670](https://bugzilla.mozilla.org/show_bug.cgi?id=1574670) removed Class 2 Primary CA and Deutsche Telekom Root CA 2
  - [bug 1586081](https://bugzilla.mozilla.org/show_bug.cgi?id=1586081) removed GlobalSign Extended Validation CA - SHA256 - G2
- Updated Public Suffix list using ./mach update-pub-domains
- Default to https on Android, too. Desktop was done in #23363.
Keep http:// after `android.webkit.URLUtil.guessUrl()` url sanitization only if the user explicitly typed it into the address bar.
Small warning: I don't have an Android build environment yet, but still wanted to try to contribute these two lines.
- Fixed `./mach bootstrap` for Debian Testing. Regression from #24512.
After `pip install distro` (#24561) I finally got `Exception: mach bootstrap does not support Debian GNU/Linux, please file a bug`.
distrib and version were "debian" and "bullseye/sid" before, now they are "debian gnu/linux" and "testing".
- Use HSTS preload list for private HttpState, too. Private HttpState currently [creates an empty HSTS list](f7fb130a2a/components/net/http_loader.rs (L93-L95)). In contrast, regular HttpState first creates HstsList from Preload list and then adds further HSTS entries previously saved on disk.

---
<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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. -->
2019-11-12 17:55:13 -05:00
Paul Rouget
42ee1a86f6 Properly set event.buttons value on mousemove 2019-11-11 16:00:44 +01:00
Jan Andre Ikenmeyer
c71988e70b
Make https the default protocol for address bar on Android, too. 2019-11-10 18:08: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
Josh Matthews
d59fd0fb65 Update to ANGLE 2.1.15 nuget package. 2019-10-25 13:35:32 -04: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
Fernando Jimenez Moreno
0feb16fe8d Allow launching UWP app from command line 2019-10-24 11:45:36 +02:00
bors-servo
578d9a7fb9
Auto merge of #24453 - jdm:openxr-update, r=Manishearth
Update OpenXR loader package

This fixes two outstanding WACK errors.
2019-10-18 00:51:15 -04:00
bors-servo
b96b08a3d9
Auto merge of #24443 - ferjm:gst.debug.android, r=jdm
Allow setting GST_DEBUG on Android through mach

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
2019-10-15 18:26:46 -04:00
Josh Matthews
35dc07ab9e Upgrade OpenXR loader package to 1.0.3. 2019-10-15 15:49:35 -04:00
Josh Matthews
40b473ad03 Remove unnecessary DLLs from UWP project. 2019-10-15 15:49:22 -04:00