Re: [PATCH weston v2 2/2] configure: Make jpeglib an optional dependency.

2016-02-16 Thread Bryce Harrington
On Tue, Feb 16, 2016 at 01:57:52AM +, Emmanuel Gil Peyrot wrote: > It doesn’t make sense to fail the entire build when jpeglib isn’t > present, so this commit makes it optional just like libwebp in the > previous one, disabled with --without-jpeg and forced with --with-jpeg. > > Signed-off-by:

Re: [PATCH weston v2 1/2] configure: Make WebP support togglable, and improve its error message.

2016-02-16 Thread Bryce Harrington
On Tue, Feb 16, 2016 at 01:57:51AM +, Emmanuel Gil Peyrot wrote: > The current way was enabling WebP support whenever libwebp was found, > giving no way to the user to disable it if they had the library > installed but didn’t want to link against it. This adds a > --without-webp configure opti

Re: [PATCH][weston] build: Require dbus for systemd-login

2016-02-16 Thread Bryce Harrington
On Wed, Nov 04, 2015 at 12:13:08PM +0100, Manuel Bachmann wrote: > systemd-login support requires dbus (see "dbus.h" header in > "launcher-logind.c") but the configure script was only > checking libsystemd-login availability to define the > HAVE_SYSTEMD_LOGIN macro, which results in undefined > sym

Re: [PATCH wayland 2/2] build: build distcheck with --enable-fatal-warnings

2016-02-16 Thread Bryce Harrington
On Fri, Jan 15, 2016 at 01:33:53PM -0600, Derek Foreman wrote: > Signed-off-by: Derek Foreman Reviewed-by: Bryce Harrington And pushed both patches in series: To ssh://git.freedesktop.org/git/wayland/wayland 88ff135..8125919 master -> master I wanted to land these two post-release because

Re: [PATCH wayland 1/2] build: Add an --enable-fatal-warnings configure option

2016-02-16 Thread Bryce Harrington
On Fri, Jan 15, 2016 at 01:33:52PM -0600, Derek Foreman wrote: > New --enable-fatal-warnings ./configure option that just adds -Werror > to GCC_CFLAGS > > Signed-off-by: Derek Foreman Reviewed-by: Bryce Harrington > --- > configure.ac | 11 ++- > 1 file changed, 10 insertions(+), 1 de

Re: [PATCH wayland v2] server: validate resource versions at creation time

2016-02-16 Thread Bryce Harrington
On Fri, Jan 15, 2016 at 10:06:48AM -0600, Derek Foreman wrote: > We shouldn't ever create a resource with version less than 1 or > greater than the interface version. > > Reviewed-by: Marek Chalupa > Signed-off-by: Derek Foreman > --- > Changes since v1: > Fix silly typo - [0, %d] is now [1, %d]

Re: [PATCH v4 wayland-protocols] text: Create second version of text input protocol

2016-02-16 Thread Jonas Ådahl
On Wed, Feb 17, 2016 at 06:13:00AM +0100, Jan Arne Petersen wrote: > Hi, > > On 08/02/16 16:38, Rui Tiago Cação Matos wrote: > > Hi, > > > > Thanks for the update. I'm replying to both v4 and your reply to my > > previous mail. Inline: > > > > On Tue, Feb 2, 2016 at 2:33 PM, Jan Arne Petersen

Re: [PATCH weston v2] shell: Don't send extra configure events on click

2016-02-16 Thread Bryce Harrington
On Wed, Feb 03, 2016 at 06:46:52PM -0800, Bryce Harrington wrote: > On Thu, Dec 10, 2015 at 01:08:01PM -0600, Derek Foreman wrote: > > The click_to_activate handler fires on every mouse click for a surface > > so let's be a little quicker to early return if you're clicking on the > > surface that a

Re: [PATCH weston] tests: cleanup test runner script.

2016-02-16 Thread Bryce Harrington
On Mon, Dec 21, 2015 at 01:38:51PM -0800, Jon A. Cruz wrote: > Cleaned up test runner script to unify sections launching weston. > This makes the sections more legible and differences easier to spot. > > Signed-off-by: Jon A. Cruz Reviewed-by: Bryce Harrington > --- > tests/weston-tests-env |

Re: [PATCH wayland] resource-test: Use wl_seat instead of wl_display for testing

2016-02-16 Thread Bryce Harrington
On Thu, Jan 14, 2016 at 08:38:41PM +, Daniel Stone wrote: > On 14 January 2016 at 20:32, Derek Foreman wrote: > > We're creating resources with versions up to 4. wl_display isn't version 4, > > so this is technically verifying that we can do something we shouldn't. > > > > wl_seat already has

Re: [PATCH v4 wayland-protocols] text: Create second version of text input protocol

2016-02-16 Thread Jan Arne Petersen
Hi, On 08/02/16 16:38, Rui Tiago Cação Matos wrote: > Hi, > > Thanks for the update. I'm replying to both v4 and your reply to my > previous mail. Inline: > > On Tue, Feb 2, 2016 at 2:33 PM, Jan Arne Petersen wrote: >> + >> + >> + Disable text input in a surface (typically whe

[ANNOUNCE] weston 1.10.0

2016-02-16 Thread Bryce Harrington
This is the weston 1.10 release. This release adds support into Weston for a number of recently added Wayland protocols. This includes the new drag and drop actions, new frame and axis events, buffer co-ordinates for surface damage, A V4L2 (Video for Linux 2) client is now included for demonstra

[PATCH libinput] touchpad: add synaptics semi-mt devices to those needing hysteresis

2016-02-16 Thread Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=94097 Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index d8b2334..912a0f0 100644 --- a/src/

[ANNOUNCE] wayland 1.10.0

2016-02-16 Thread Bryce Harrington
Welcome to the Wayland 1.10 release! This is a big release with a bunch of new functionality: Drag and drop actions are now added to the Wayland API, to facilitate negotiation of content type when dragging between a source and destination, and provision is made to communicate the completion (or c

Re: [PATCH libinput] tablet: add hwdb entries to ignore Wacom Cintiq offsets

2016-02-16 Thread Peter Hutterer
On Tue, Feb 16, 2016 at 12:39:09PM -0800, Ping Cheng wrote: > On Mon, Feb 15, 2016 at 9:47 PM, Peter Hutterer > wrote: > > > Wacom Cintiqs and some DTK/DTU devices have a sensor larger than the > > underlying display. Clamp any data outside the screen area to the screen > > area. > > > > Signed-o

[PATCH libinput] touchpad: move the tapping exclusion zone to the top edge of the button

2016-02-16 Thread Peter Hutterer
We previously used the half-way mark of the touchpad's y axis to decide where to ignore tapping. Move this down to the top edge of the software buttons instead. Users may tap with a finger in the software button areas, on the rest of the touchpad it's unlikely that they tap within 5% of the edge.

Re: libweston backend configuration API candidates

2016-02-16 Thread Bryce Harrington
On Tue, Feb 16, 2016 at 01:45:03PM +0200, Pekka Paalanen wrote: > Hi all, > > now we have three API candidates with patches (and my own idea[1] > without patches so it doesn't count). Here is what I have gathered, let > me know if I got something wrong. > > > Giulio's proposal: > https://patchwo

Re: [PATCH libinput] tablet: add hwdb entries to ignore Wacom Cintiq offsets

2016-02-16 Thread Ping Cheng
On Mon, Feb 15, 2016 at 9:47 PM, Peter Hutterer wrote: > Wacom Cintiqs and some DTK/DTU devices have a sensor larger than the > underlying display. Clamp any data outside the screen area to the screen > area. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 27

Re: libweston backend configuration API candidates

2016-02-16 Thread Benoit Gschwind
Hello Pekka, Thanks for your review. I agree with you analyses but I have few additions. On 02/16/16 11:45, Pekka Paalanen wrote: > Hi all, > > now we have three API candidates with patches (and my own idea[1] > without patches so it doesn't count). Here is what I have gathered, let > me know if

libweston backend configuration API candidates

2016-02-16 Thread Pekka Paalanen
Hi all, now we have three API candidates with patches (and my own idea[1] without patches so it doesn't count). Here is what I have gathered, let me know if I got something wrong. Giulio's proposal: https://patchwork.freedesktop.org/patch/67547/ It uses transparent structs that get passed throu

Re: [PATCH wayland] client: ensure thread safety for wl_display_roundtrip_queue()

2016-02-16 Thread Jonas Ådahl
On Tue, Feb 16, 2016 at 10:46:11AM +, Ucan, Emre (ADITG/SW1) wrote: > Hi Jonas, > > What are the shortcomings of my approach ? Because we want to use this > approach internally for thread safety. It blocks all other threads from reading while you are inside prepare_read() cancel_read(). The

[ANNOUNCE] wayland-protocols 1.1

2016-02-16 Thread Jonas Ådahl
wayland-protocols 1.1 is now available. This release includes two new unstable protocol extensions: . relative pointer events . pointer constraints (locking and confinement) See the corresponding XML files for details. Changes to existing protocols include: xdg-shell: . Added EFL state r

RE: [PATCH wayland] client: ensure thread safety for wl_display_roundtrip_queue()

2016-02-16 Thread Ucan, Emre (ADITG/SW1)
Hi Jonas, What are the shortcomings of my approach ? Because we want to use this approach internally for thread safety. If there are no shortcomings, is it not better to use this approach than introducing many new APIs ? Best regards Emre Ucan Software Group I (ADITG/SW1) Tel. +49 5121 49 69

Re: [PATCH libinput] tablet: add hwdb entries to ignore Wacom Cintiq offsets

2016-02-16 Thread Peter Hutterer
On 16/02/2016 18:54 , Steven Newbury wrote: On Tue, 2016-02-16 at 15:47 +1000, Peter Hutterer wrote: Wacom Cintiqs and some DTK/DTU devices have a sensor larger than the underlying display. Clamp any data outside the screen area to the screen area. I wonder if that's a feature to make screen-ed

Re: [PATCH libinput] tablet: add hwdb entries to ignore Wacom Cintiq offsets

2016-02-16 Thread Steven Newbury
On Tue, 2016-02-16 at 15:47 +1000, Peter Hutterer wrote: > Wacom Cintiqs and some DTK/DTU devices have a sensor larger than the > underlying display. Clamp any data outside the screen area to the > screen area. I wonder if that's a feature to make screen-edge gestures easier to execute? signature.

Re: [PATCH libinput] tablet: add hwdb entries to ignore Wacom Cintiq offsets

2016-02-16 Thread Hans de Goede
Hi, On 16-02-16 06:47, Peter Hutterer wrote: Wacom Cintiqs and some DTK/DTU devices have a sensor larger than the underlying display. Clamp any data outside the screen area to the screen area. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 27 +