Release blockers for 1.8? (was Re: scanner: don't emit the extern declarations for external types)

2015-06-01 Thread Bryce Harrington
On Mon, Jun 01, 2015 at 11:53:23AM +0300, Pekka Paalanen wrote: > On Mon, 1 Jun 2015 09:55:09 +0200 Arnaud Vrac wrote: > > On Thu, May 28, 2015 at 6:30 PM, Giulio Camuffo > > wrote: > > > We were emitting the extern declarations of all types used in the > > > protocol, > > > even if not defined

[PATCH libinput] evdev: always default to the middle button for button-scrolling

2015-06-01 Thread Peter Hutterer
The current code only defaulted to the middle button for those devices that used button scrolling by default, requiring the user to enable button scrolling _and_ set the button before it is active. This causes some confusion. There is no real benefit to leaving the button at 0 when the scroll meth

Re: Fwd: Re: Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-01 Thread Bill Spitzak
Despite the impression you may get from the API, the compositor is able (and required to implement many designs) to decode keyboard events into keysyms, using exactly the same xkb code clients would use and thus arriving at the same answer. Therefore if there was a key-grab api to the composit

Re: [PATCH libinput v3] test: check getcwd() and system() return values in litest

2015-06-01 Thread Peter Hutterer
On Mon, Jun 01, 2015 at 06:04:59PM -0700, Jon A. Cruz wrote: > Added code to check for errors in getcwd() and system() that > were previously ignored and silently dropped. > > Signed-off-by: Jon A. Cruz > --- pushed, thanks. for next time, please add a section here with Changes to v1: - added

[PATCH libinput v3] test: check getcwd() and system() return values in litest

2015-06-01 Thread Jon A. Cruz
Added code to check for errors in getcwd() and system() that were previously ignored and silently dropped. Signed-off-by: Jon A. Cruz --- test/litest.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/test/litest.c b/test/litest.c index 30d3056..d457a27 100

[ANNOUNCE] libinput 0.16.0

2015-06-01 Thread Peter Hutterer
A new release of libinput, 0.16.0, is now available. No API changes or additions and much of the work has gone into the test-suite. There are still a couple of new features: Touchpads with ABS_MT_DISTANCE such as the Chromebook Pixel are now supported. The tapping code now allows ending a tap-a

Re: [PATCH libinput] evdev: use the udev ID_INPUT_POINTINGSTICK property

2015-06-01 Thread Benjamin Tissoires
On Mon, Jun 1, 2015 at 12:08 AM, Peter Hutterer wrote: > On Sat, May 30, 2015 at 12:10:28PM +0200, Hans de Goede wrote: >> Hi, >> >> On 29-05-15 17:06, Benjamin Tissoires wrote: >> > >> > >> >On 05/29/2015 03:31 AM, Hans de Goede wrote: >> >>Hi, >> >> >> >>On 29-05-15 03:28, Peter Hutterer wrote:

[PATCH libinput v2] test: check getcwd() and system() return values in litest

2015-06-01 Thread Jon A. Cruz
Added code to check for errors in getcwd() and system() that were previously ignored and silently dropped. Signed-off-by: Jon A. Cruz --- test/litest.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/test/litest.c b/test/litest.c index 30d3056..ac66c45 10064

Re: Wayland not MIT-licensed / FAQ wrong

2015-06-01 Thread Derek Foreman
On 01/06/15 02:47 AM, Steven Newbury wrote: > On Mon Jun 1 08:16:32 2015 GMT+0100, Pekka Paalanen wrote: >> On Mon, 1 Jun 2015 12:25:37 +1000 >> Peter Hutterer wrote: >> >>> On Mon, Jun 01, 2015 at 02:09:43AM +0200, Markus Slopianka wrote: On Monday 01 June 2015 09:26:56 Peter Hutterer wrote:

Re: Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-01 Thread Jasper St. Pierre
Note that there are non-obvious consequences to this. The keymap is hierarchical upon layouts and levels. You can either do a depth-first search, or a breadth-first search. This can change behavior. XKeysymToKeycode is documented as doing a breadth-first search. This can have consequences in behavi

Re: Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-01 Thread Daniel Stone
Hi, On 1 June 2015 at 12:22, 박성진 wrote: > Actually, we'd like to provide a key grab protocol to wayland client(s) > > with which each client can make request to grab a key to wayland > compositor. > > To use the protocol, we need to provide one or more keycodes associated > with a given keysym

Fwd: Re: Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-01 Thread 박성진
Resend not to make this mail scrubbed. Sorry. :) --- Original Message --- Sender : 박성진 S5(책임)/책임/Common Platform Lab(S/W센터)/삼성전자 Date : 2015-06-01 20:22 (GMT+09:00) Title : Re: Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t. Dear Daniel, thanks for your quic

Re: Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-01 Thread 박성진
Title: Samsung Enterprise Portal mySingle Dear Daniel, thanks for your quick answer. :) In theory, one or more keysym can be mapped to each corresponding keycode therefore we need to look through the keymap to find them out. I agree with you on that. :)   Actually, we'd like to provide a ke

Re: Wayland not MIT-licensed / FAQ wrong

2015-06-01 Thread Markus Slopianka
On Monday 01 June 2015 10:16:32 Pekka Paalanen wrote: > since I'm not completely alone with my worries here, I too would like to > hear what your friend has to say before we do any changes. I do not > have any such connections myself. I expect to see him in person Thursday, unless he's on holiday

Re: [PATCH weston v3 4/5] Enables output in the JUnit XML format.

2015-06-01 Thread Daniel Stone
Hi, On 27 May 2015 at 00:06, Jon A. Cruz wrote: > +void emit_escaped(int fd, const char *str) > +{ > + const char *ptr = str; > + while (*ptr) { > + switch (*ptr) { > + case '\'': > + dprintf(fd, "'"); > + break;

Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-01 Thread Daniel Stone
Hi Sung-Jin, On 1 June 2015 at 07:16, Sung-Jin Park wrote: > I'd like to ask how to get keycode(s) from keysym using libxkbcommon API. > Is there any API in libxkbcommon ? > The short answer is, no. The long answer is, look through the keymap and find every keycode which produces that keysym,

Re: [PATCH wayland] scanner: don't emit the extern declarations for external types

2015-06-01 Thread Pekka Paalanen
On Mon, 1 Jun 2015 09:55:09 +0200 Arnaud Vrac wrote: > On Thu, May 28, 2015 at 6:30 PM, Giulio Camuffo > wrote: > > > We were emitting the extern declarations of all types used in the protocol, > > even if not defined in it. This caused warnings to be produced when using > > the -Wredundant-dec

Fwd: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-01 Thread Sung-Jin Park
Dear all, I'm sorry that my e-mail message has been scrubbed. I'm resending it. === Dear Daniel Stone, Ran Benita and all, I'd like to ask how to get keycode(s) from keysym using libxkbcommon API. Is there any API in libxkbcommon ? ==

Re: Wayland not MIT-licensed / FAQ wrong

2015-06-01 Thread Steven Newbury
On Mon Jun 1 08:16:32 2015 GMT+0100, Pekka Paalanen wrote: > On Mon, 1 Jun 2015 12:25:37 +1000 > Peter Hutterer wrote: > > > On Mon, Jun 01, 2015 at 02:09:43AM +0200, Markus Slopianka wrote: > > > On Monday 01 June 2015 09:26:56 Peter Hutterer wrote: > > > > > > > but given that this is a signif

Re: [PATCH wayland] scanner: don't emit the extern declarations for external types

2015-06-01 Thread Arnaud Vrac
On Thu, May 28, 2015 at 6:30 PM, Giulio Camuffo wrote: > We were emitting the extern declarations of all types used in the protocol, > even if not defined in it. This caused warnings to be produced when using > the -Wredundant-decls compiler flag when building an extension that uses > e.g. wl_sur

Re: [PATCH libinput 1/3] filter: pass last_velocity as argument

2015-06-01 Thread Hans de Goede
Hi, On 01-06-15 08:13, Peter Hutterer wrote: Let the caller set the various fields, here we just calculate stuff. No functional changes. Signed-off-by: Peter Hutterer Tricky stuff, but the entire set LGTM: Reviewed-by: Hans de Goede Regards, Hans --- src/filter.c | 15 +++

Re: [PATCH libinput] evdev: use the button down time for no-scroll middle button press event

2015-06-01 Thread Hans de Goede
Hi, On 01-06-15 06:38, Peter Hutterer wrote: When we get the release event within the timeout, we send a press + release event for the middle button. Rather than using the release event's timestamp for both, remember and use the button press timestamp. Signed-off-by: Peter Hutterer LGTM: Rev

Re: [PATCH weston] make error() portable

2015-06-01 Thread Pekka Paalanen
On Sat, 30 May 2015 12:08:22 -0700 Khem Raj wrote: > > > On May 30, 2015, at 12:02 PM, Jon A. Cruz wrote: > > > > On 05/29/2015 09:14 PM, Khem Raj wrote: > >> error() is not posix but gnu extension so may not be available on all > >> kind of systemsi e.g. musl. > > > > Hi, > > > > Just inclu

Re: Wayland not MIT-licensed / FAQ wrong

2015-06-01 Thread Pekka Paalanen
On Mon, 1 Jun 2015 12:25:37 +1000 Peter Hutterer wrote: > On Mon, Jun 01, 2015 at 02:09:43AM +0200, Markus Slopianka wrote: > > On Monday 01 June 2015 09:26:56 Peter Hutterer wrote: > > > > > but given that this is a significant rewording of the license text (even > > > if > > > the functionali