[PATCH libinput] evdev: enable button scrolling on the VirtualBox USB Tablet

2018-05-28 Thread Peter Hutterer
It's a generic tablet that maps whatever device actually interacts with VirtualBox into evdev events. Since we can't rely on the host system to have this feature we might as well make the guest slightly more usable. So we need to at least make sure that button scrolling is available. https://bugs

Re: [PATCH libinput 00/10] libinput device quirks config files

2018-05-28 Thread Peter Hutterer
On Mon, May 28, 2018 at 02:16:09PM +0300, Pekka Paalanen wrote: > On Mon, 28 May 2018 20:06:43 +1000 > Peter Hutterer wrote: > > > On Mon, May 28, 2018 at 12:54:57PM +0300, Pekka Paalanen wrote: > > > On Mon, 28 May 2018 18:08:26 +1000 > > > Peter Hutterer wrote: > > > > > > > This is the fir

Re: [PATCH weston 3/3] simple-dmabuf-drm: support DRM_FORMAT_LINEAR for NV12 as well

2018-05-28 Thread Guido Günther
Hi, On Mon, May 28, 2018 at 04:31:14PM +0300, Pekka Paalanen wrote: > On Tue, 20 Mar 2018 11:36:38 +0100 > Guido Günther wrote: > > > This makes --import-format=NV12 testable on e.g. intel > > > > We only set nv12_format_found to true if we found that format and at > > least one understood modif

[PATCH weston v2 1/1] simple-dmabuf-drm: support DRM_FORMAT_LINEAR for NV12 as well

2018-05-28 Thread Guido Günther
This makes --import-format=NV12 testable on e.g. intel We only set nv12_format_found to true if we found that format and at least one understood modifier. Store modifier verbatim instead of using a boolean flag. Last advertised and supported modifier currently wins. The NV12 DRM_FORMAT_LINEAR ima

[PATCH weston v2 0/1] simple-dmabuf-drm: support DRM_FORMAT_LINEAR for NV12

2018-05-28 Thread Guido Günther
simple-dmabuf-drm: support DRM_FORMAT_LINEAR for NV12 This makes things testable on non freedreno as well. E.g. intel supports it. Changes from v1: * don't forget to set modifier in dmabuf_modifiers * give an idea how the image should look like Guido Günther (1): simple-dmabuf-drm: support DR

Re: EXT: [PATCH] log: improve handling of use-before-init

2018-05-28 Thread Pekka Paalanen
On Mon, 7 May 2018 06:23:07 + "Ray, Ian (GE Healthcare)" wrote: > > On 4 May 2018, at 17.26, Matt Hoosier wrote: > > > > Rather than segfaulting by attempting to traverse an initially > > null log handler pointer, explicitly print a message and abort. > > > > Signed-off-by: Matt Hoosier

Re: [PATCH weston 3/3] simple-dmabuf-drm: support DRM_FORMAT_LINEAR for NV12 as well

2018-05-28 Thread Pekka Paalanen
On Tue, 20 Mar 2018 11:36:38 +0100 Guido Günther wrote: > This makes --import-format=NV12 testable on e.g. intel > > We only set nv12_format_found to true if we found that format and at > least one understood modifier. Store modifier verbatim instead of using > a boolean flag. Last advertised an

Re: [PATCH weston v5 0/3] simple-dmabuf-drm: Support etnaviv and freedreno cleanups

2018-05-28 Thread Pekka Paalanen
On Tue, 20 Mar 2018 09:41:57 +0100 Guido Günther wrote: > Former patches 1-2 where already applied thanks Derek. > > Changes from v4 > - configure: use true if etnaviv drm was not found as with > other drm backends (avoids an unused variable assignment) > - configure: use (hopefull

Re: [PATCH] rdp-compositor: fix compilation against last FreeRDP 2.0

2018-05-28 Thread Pekka Paalanen
On Sun, 27 May 2018 23:56:43 +0200 David Fort wrote: > The SURFACE_BITS_COMMAND struct has changed and some members have been moved > in the > bmp field. > --- > configure.ac | 9 - > libweston/compositor-rdp.c | 69 -- > 2 files changed, 5

Re: [PATCH libinput 00/10] libinput device quirks config files

2018-05-28 Thread Pekka Paalanen
On Mon, 28 May 2018 20:06:43 +1000 Peter Hutterer wrote: > On Mon, May 28, 2018 at 12:54:57PM +0300, Pekka Paalanen wrote: > > On Mon, 28 May 2018 18:08:26 +1000 > > Peter Hutterer wrote: > > > > > This is the first implementation of the .ini style config files for > > > libinput's device qui

Re: [PATCH libinput 00/10] libinput device quirks config files

2018-05-28 Thread Peter Hutterer
On Mon, May 28, 2018 at 12:54:57PM +0300, Pekka Paalanen wrote: > On Mon, 28 May 2018 18:08:26 +1000 > Peter Hutterer wrote: > > > This is the first implementation of the .ini style config files for > > libinput's device quirks. I first described this here: > > https://lists.freedesktop.org/archi

Re: [PATCH libinput 00/10] libinput device quirks config files

2018-05-28 Thread Pekka Paalanen
On Mon, 28 May 2018 18:08:26 +1000 Peter Hutterer wrote: > This is the first implementation of the .ini style config files for > libinput's device quirks. I first described this here: > https://lists.freedesktop.org/archives/wayland-devel/2018-May/038233.html > > This is NOT a configuration API.

[PATCH libinput 09/10] libinput: initialize the quirks subsystem

2018-05-28 Thread Peter Hutterer
A bit quirky (haha), because we cannot do this during context creation - we really want any parsing error messages to show up in the right log file and the log handler isn't set up during context creation. So we do it on the first real call to the backend - path_add_device or udev_assign_seat. Als

[PATCH libinput 10/10] Switch from udev property parsing to the quirks system

2018-05-28 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 129 -- src/evdev.c | 154 ++- test/litest-device-alps-dualpoint.c | 15 +-- test/litest-device-apple-appletouch.c| 15 +

[PATCH libinput 08/10] test: switch the udev tag tests to be quirk tests

2018-05-28 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/test-device.c | 85 -- test/test-quirks.c | 83 2 files changed, 83 insertions(+), 85 deletions(-) diff --git a/test/test-device.c b/test/test-device.c

[PATCH libinput 05/10] quirks: use an empty dmi modalias string for the test suite

2018-05-28 Thread Peter Hutterer
We don't want any of the test devices to match the local machine's DMI modalias. This was a major drawback in the previous test suite, hacking the dmi modalias string was nontrivial but a wrong string could cause false positives or negatives. The quirks system is internal, so rather than having so

[PATCH libinput 07/10] test: init the quirks once per test suite run

2018-05-28 Thread Peter Hutterer
So we have them available per litest device and check in tests for certain quirks to be present. Signed-off-by: Peter Hutterer --- test/litest.c | 28 test/litest.h | 2 ++ 2 files changed, 30 insertions(+) diff --git a/test/litest.c b/test/litest.c index 8a4b5335.

[PATCH libinput 06/10] test: install per-test device quirks files

2018-05-28 Thread Peter Hutterer
These will replace the custom udev rules we currently have in place. Signed-off-by: Peter Hutterer --- meson.build | 3 ++ test/litest-int.h | 1 + test/litest.c | 88 +++ 3 files changed, 92 insertions(+) diff --git a/meson.build

[PATCH libinput 02/10] test: remove created directories too

2018-05-28 Thread Peter Hutterer
If we created it, remove it again. No change because we're not adding any of the directories yet. Signed-off-by: Peter Hutterer --- test/litest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/litest.c b/test/litest.c index 6624d82d..97039ce2 100644 --- a/test/litest.c +++ b/test/lit

[PATCH libinput 01/10] test: make litest_copy_file copy normal files too

2018-05-28 Thread Peter Hutterer
Make the tempfile creation dependent on whether the required template is present. Currently unused, this is just prep work for future patches. Signed-off-by: Peter Hutterer --- test/litest.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/litest.c b/test/lite

[PATCH libinput 00/10] libinput device quirks config files

2018-05-28 Thread Peter Hutterer
This is the first implementation of the .ini style config files for libinput's device quirks. I first described this here: https://lists.freedesktop.org/archives/wayland-devel/2018-May/038233.html This is NOT a configuration API. This is a replacement for the hwdb entries we currently ship. It s

[PATCH libinput 04/10] Implement a quirks system to replace the udev property parsing

2018-05-28 Thread Peter Hutterer
Previously, we had all extra device information ("This is an Apple Touchpad", "This touchpad causes pointer jumps", etc.) in the udev hwdb. The problem with the hwdb is that updating it is nontrivial for the average user and debugging when things go wrong is even harder. Plus, the hwdb has a matchi

[PATCH libinput 03/10] util: add a list_append()

2018-05-28 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/libinput-util.c | 14 ++ src/libinput-util.h | 1 + 2 files changed, 15 insertions(+) diff --git a/src/libinput-util.c b/src/libinput-util.c index 80ed489a..d8878f6a 100644 --- a/src/libinput-util.c +++ b/src/libinput-util.c @@ -61,6 +61,20 @@ l

Re: [PATCH wayland-protocols v6] unstable: add xdg-decoration protocol

2018-05-28 Thread Simon Ser
Hi Jonas, What do you think of this new proposal? Thanks, --- Simon Ser https://emersion.fr On May 20, 2018 11:39 AM, Simon Ser wrote: > This adds a new protocol to negotiate server-side rendering of window > decorations for xdg-toplevels. This allows compositors that want to draw > decorations