Re: [PATCH 01/11] COPYING: Update to MIT Expat License rather than MIT X License

2015-06-11 Thread Pekka Paalanen
On Thu, 11 Jun 2015 18:10:07 -0700 Bryce Harrington wrote: > On Thu, Jun 11, 2015 at 10:56:10AM +0300, Pekka Paalanen wrote: > > On Wed, 10 Jun 2015 11:55:12 -0700 > > Bryce Harrington wrote: > > > > > MIT has released software under several slightly different licenses, > > > including the old

[PATCH libinput] touchpad: make the hysteresis dependent on physical distance

2015-06-11 Thread Peter Hutterer
Some touchpads, e.g. the Cyapa in the Acer c720 have a small axis range ([0, 870], [0, 470]), so the diagonal/magic value yields a hysteresis margin of 1 device unit. On that device, that's one-tenth of a millimeter, causing pointer motion just by holding the finger. For touchpads that provide a p

Re: [PATCH 11/11] xcursor: Change keithp licensed code from X11 to Expat license

2015-06-11 Thread Pekka Paalanen
On Thu, 11 Jun 2015 08:07:58 -0700 Keith Packard wrote: > Bryce Harrington writes: > > > The license text for this file mentions Keith Packard specifically, > > however it is otherwise identical to all the other MIT X11 licensed code > > in Wayland, and so can be changed to the substantially id

[PATCH v4 5/6] Converted the config parser test to the new framework.

2015-06-11 Thread Jon A. Cruz
Signed-off-by: Jon A. Cruz --- Makefile.am| 9 +- tests/config-parser-test.c | 368 + 2 files changed, 310 insertions(+), 67 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9bd4b29..81f0f41 100644 --- a/Makefile.am +++ b/Mak

[PATCH v4 3/6] Enables output in the Test Anything Protocol (TAP) format.

2015-06-11 Thread Jon A. Cruz
Adds basic support for optionally outputting in the Test Anything Protocol (TAP) format. This format is a bit older and simplistic, but certain tools handle it well. https://testanything.org/ Signed-off-by: Jon A. Cruz --- Makefile.am | 2 + tools/zunitc/inc/zunitc/zuni

[PATCH v4 6/6] Adding doxygen setup and info for the testing framework.

2015-06-11 Thread Jon A. Cruz
Signed-off-by: Jon A. Cruz --- .gitignore| 2 ++ doc/doxygen/devtools.dox | 52 +++ doc/doxygen/tooldev.doxygen | 11 ++ doc/doxygen/tools.dox | 29 +++ doc/doxygen/tools.doxygen | 11 ++ doc/doxygen/tools_arch_ne

[PATCH v4 0/6] Refactored simple unit/integration test framework and corresponding test program.

2015-06-11 Thread Jon A. Cruz
Supersedes: [PATCH weston v3 0/5] Refactored simple unit/integration test framework and corresponding test program. Here is another re-worked version of the patch adding unit testing framework and corresponding separation. Aside from the higher-level waycheck program this also updates one of the

[PATCH v4 4/6] Enables output in the JUnit XML format.

2015-06-11 Thread Jon A. Cruz
Adds basic support fo optionally outputting in the XML format commonly used by JUnit compatible tools. This format is supported by default by many tools, including the Jenkins build system. It also is more detailed and captures more information than the more simplistic TAP format. Signed-off-by:

[PATCH v4 2/6] By default, stop test execution if unrecognized parameters are encountered.

2015-06-11 Thread Jon A. Cruz
Signed-off-by: Jon A. Cruz --- tools/zunitc/src/main.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/zunitc/src/main.c b/tools/zunitc/src/main.c index 3e155d8..9a110d4 100644 --- a/tools/zunitc/src/main.c +++ b/tools/zunitc/src/main.c @@ -38,7 +38,16 @@ mai

Re: Compositor grabs (was: Re: [PATCH] protocol: Add DnD actions)

2015-06-11 Thread Jonas Ådahl
On Tue, Jun 09, 2015 at 07:26:15PM +0200, Carlos Garnacho wrote: > Hey Jonas :), > > On jue, 2015-06-04 at 12:34 +0800, Jonas Ådahl wrote: > > On Fri, Apr 17, 2015 at 02:16:41PM +0200, Carlos Garnacho wrote: > > > > > > Let's expand on that example, maybe far-streched, but certainly > > > pos

Re: [PATCH wayland] protocol: define further the behavior of input on the presence of grabs

2015-06-11 Thread Jonas Ådahl
On Thu, Jun 11, 2015 at 02:33:34PM +0200, Carlos Garnacho wrote: > On mié, 2015-06-10 at 08:20 -0700, Jasper St. Pierre wrote: > > On Wed, Jun 10, 2015 at 4:50 AM, Carlos Garnacho > > wrote: > > > On mar, 2015-06-09 at 11:03 -0700, Jasper St. Pierre wrote: > > > > What is the value of clients hav

Re: [PATCH 01/11] COPYING: Update to MIT Expat License rather than MIT X License

2015-06-11 Thread Bryce Harrington
On Thu, Jun 11, 2015 at 10:56:10AM +0300, Pekka Paalanen wrote: > On Wed, 10 Jun 2015 11:55:12 -0700 > Bryce Harrington wrote: > > > MIT has released software under several slightly different licenses, > > including the old 'X11 License' or 'MIT License'. Some code under this > > license was in

Re: [PATCH 10/11] cursor-data.h: Change SuSE licensed code from X11 to Expat

2015-06-11 Thread Bryce Harrington
On Thu, Jun 11, 2015 at 10:55:28AM +0200, Markus Slopianka wrote: > On Wednesday 10 June 2015 11:55:21 Bryce Harrington wrote: > > The license text for this file mentions SuSE specifically, however it is > > otherwise identical to all the other MIT X11 licensed code in Wayland, > > and so can be ch

Re: [PATCH 01/11] COPYING: Update to MIT Expat License rather than MIT X License

2015-06-11 Thread Kristian Høgsberg
On Thu, Jun 11, 2015 at 3:58 AM, Daniel Stone wrote: > Hi Bryce, > > On 10 June 2015 at 19:55, Bryce Harrington wrote: >> MIT has released software under several slightly different licenses, >> including the old 'X11 License' or 'MIT License'. Some code under this >> license was in fact included

Re: [PATCH libinput] test: add missing libunwind cflags to test-litest-selftest

2015-06-11 Thread Peter Hutterer
On Thu, Jun 11, 2015 at 04:38:02PM +0900, JoonCheol Park wrote: > Signed-off-by: JoonCheol Park > --- > test/Makefile.am | 4 > 1 file changed, 4 insertions(+) > > diff --git a/test/Makefile.am b/test/Makefile.am > index fc05ff6..6f2e6e4 100644 > --- a/test/Makefile.am > +++ b/test/Makefile

Re: [PATCH weston v2 12/21] Introduce a 'double fixed' data type abstraction

2015-06-11 Thread Peter Hutterer
On Thu, Jun 11, 2015 at 02:37:38PM -0700, Bill Spitzak wrote: > Do you actually need 64 bits or are you just trying to get more than 8 bits > of fraction? > > If instead other fixed types were provided, such as 1.30 or 7.24, etc could > that be used? This could be covered by the existing fixed typ

Re: [PATCH 1/7] litest: add a generic multitouch screen

2015-06-11 Thread Peter Hutterer
On Thu, Jun 11, 2015 at 10:06:37PM +0200, Andreas Pokorny wrote: > Hi, > > On Thu, Jun 11, 2015 at 8:04 AM, Peter Hutterer > wrote: > > > [...] > > > +static struct input_absinfo absinfo[] = { > > > + { ABS_X, 0, 1500, 0, 0, 0 }, > > > + { ABS_Y, 0, 2500, 0, 0, 0 }, > > > > out of intere

Re: [PATCH weston v2 12/21] Introduce a 'double fixed' data type abstraction

2015-06-11 Thread Bill Spitzak
Do you actually need 64 bits or are you just trying to get more than 8 bits of fraction? If instead other fixed types were provided, such as 1.30 or 7.24, etc could that be used? This could be covered by the existing fixed type by just defining the argument as being the desired value multiplied by

Re: [PATCH wayland] protocol: Add DnD actions

2015-06-11 Thread Bill Spitzak
I think everybody is waiting for an explanation as to why one of the clients cannot choose the action, and instead the compositor does it. You are defining a function f(S,D,M) that takes three inputs and returns a selected action. The three inputs are the set of actions from the source (S), the se

Re: [PATCH 1/7] litest: add a generic multitouch screen

2015-06-11 Thread Andreas Pokorny
Hi, On Thu, Jun 11, 2015 at 8:04 AM, Peter Hutterer wrote: > [...] > > +static struct input_absinfo absinfo[] = { > > + { ABS_X, 0, 1500, 0, 0, 0 }, > > + { ABS_Y, 0, 2500, 0, 0, 0 }, > > out of interest: is his from a real touchscreen? no resolution? > Yes and not an exception. I haven

[PATCH weston] gl-renderer: Don't print GL error for EGLGetDisplay()

2015-06-11 Thread Derek Foreman
EGLGetDisplay() doesn't generate a GL error, so we shouldn't print one. I've also renamed the goto labels so it's a little clearer when to use them. Signed-off-by: Derek Foreman --- src/gl-renderer.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gl-rendere

Re: [PATCH 10/11] cursor-data.h: Change SuSE licensed code from X11 to Expat

2015-06-11 Thread Keith Packard
Bryce Harrington writes: > The license text for this file mentions SuSE specifically, however it is > otherwise identical to all the other MIT X11 licensed code in Wayland, > and so can be changed to the substantially identical MIT Expat license. > > Signed-off-by: Bryce Harrington Acked-by: Ke

Re: [PATCH libinput] COYPING: Update boilerplate from MIT X11 to MIT Expat license

2015-06-11 Thread Daniel Stone
Hi, On 11 June 2015 at 16:07, Jonas Ådahl wrote: > Acked by me as well, but I suppose we need to wait and possibly adapt to > whether the "real" MIT Expat license text should be used or the "X11 > MIT" license (as discussed in the other thread). I think we should just use the proposed license te

Re: [PATCH 11/11] xcursor: Change keithp licensed code from X11 to Expat license

2015-06-11 Thread Keith Packard
Bryce Harrington writes: > The license text for this file mentions Keith Packard specifically, > however it is otherwise identical to all the other MIT X11 licensed code > in Wayland, and so can be changed to the substantially identical MIT > Expat license. > > Signed-off-by: Bryce Harrington A

Re: [PATCH libinput] COYPING: Update boilerplate from MIT X11 to MIT Expat license

2015-06-11 Thread Jonas Ådahl
On Thu, Jun 11, 2015 at 10:54:35AM -0400, Benjamin Tissoires wrote: > On Thu, Jun 11, 2015 at 3:46 AM, Hans de Goede wrote: > > Hi, > > > > On 11-06-15 04:16, Peter Hutterer wrote: > >> > >> To quote Bryce Harrington from [1]: > >> "MIT has released software under several slightly different licens

Re: [PATCH libinput] COYPING: Update boilerplate from MIT X11 to MIT Expat license

2015-06-11 Thread Benjamin Tissoires
On Thu, Jun 11, 2015 at 3:46 AM, Hans de Goede wrote: > Hi, > > On 11-06-15 04:16, Peter Hutterer wrote: >> >> To quote Bryce Harrington from [1]: >> "MIT has released software under several slightly different licenses, >> including the old 'X11 License' or 'MIT License'. Some code under this >>

Re: [PATCH 10/11] cursor-data.h: Change SuSE licensed code from X11 to Expat

2015-06-11 Thread Pekka Paalanen
On Thu, 11 Jun 2015 15:18:44 +0200 Markus Slopianka wrote: > On Thursday 11 June 2015 11:55:48 Pekka Paalanen wrote: > > > I don't think we should change this one at all. As you see from the > > copyright, this code was copied from elsewhere. > > I think Keith Packard is more than capable to co

Re: [PATCH 10/11] cursor-data.h: Change SuSE licensed code from X11 to Expat

2015-06-11 Thread Markus Slopianka
On Thursday 11 June 2015 11:55:48 Pekka Paalanen wrote: > I don't think we should change this one at all. As you see from the > copyright, this code was copied from elsewhere. I think Keith Packard is more than capable to comment on that on his own. ___

Re: [PATCH wayland] protocol: define further the behavior of input on the presence of grabs

2015-06-11 Thread Carlos Garnacho
On mié, 2015-06-10 at 08:20 -0700, Jasper St. Pierre wrote: > On Wed, Jun 10, 2015 at 4:50 AM, Carlos Garnacho > wrote: > > On mar, 2015-06-09 at 11:03 -0700, Jasper St. Pierre wrote: > > > What is the value of clients having this information? > > > > The same there is in having wl_touch.cancell

Re: [PATCH 10/11] cursor-data.h: Change SuSE licensed code from X11 to Expat

2015-06-11 Thread Gerd Hafenbrack
https://www.suse.com/company/legal/ SUSE LLC 10 Canal Park Drive Suite 200 Cambridge MA 02141 Tel: +1 617.613.2014 Managing Director: Kevin Loosemore ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [PATCH 01/11] COPYING: Update to MIT Expat License rather than MIT X License

2015-06-11 Thread Daniel Stone
Hi Bryce, On 10 June 2015 at 19:55, Bryce Harrington wrote: > MIT has released software under several slightly different licenses, > including the old 'X11 License' or 'MIT License'. Some code under this > license was in fact included in X.org's Xserver in the past. However, > X.org now prefers

Re: [PATCH weston] don't attempt to start input method if path is empty

2015-06-11 Thread Pekka Paalanen
On Tue, 9 Jun 2015 20:28:06 + Murray Calavera wrote: > This allows a user to explicitly disable the input > method by setting path to blank; > > Signed-off-by: Murray Calavera > --- > src/text-backend.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/text-backend.c b/src/

Re: [PATCH weston 2/2] move text_backend initialization into the shell plugin

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 21:16:02 + Murray Calavera wrote: > Whether a input method is used should be the responsibility > of the shell because some shells may not want to implement > an input method at all > > Signed-off-by: Murray Calavera > Reviewed-by: Pekka Paalanen > --- > desktop-shell/

Re: [PATCH weston 1/2] text backend should handle existing seats on init.

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 20:29:42 + Murray Calavera wrote: > ​Hello, > > New patches are here: > http://patchwork.freedesktop.org/patch/51584 > http://patchwork.freedesktop.org/patch/51585​ > > > >​ What was the crash exactly? > > The crash​ happens because the seat is assigned an input method

Re: [PATCH 07/11] wayland-server: Fix style on multi-line comment

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 11:55:18 -0700 Bryce Harrington wrote: > Signed-off-by: Bryce Harrington > --- > src/wayland-server.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/wayland-server.c b/src/wayland-server.c > index 3dc5048..57d3bbd 100644 > --- a/src/wayland

Re: [PATCH 10/11] cursor-data.h: Change SuSE licensed code from X11 to Expat

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 11:55:21 -0700 Bryce Harrington wrote: > The license text for this file mentions SuSE specifically, however it is > otherwise identical to all the other MIT X11 licensed code in Wayland, > and so can be changed to the substantially identical MIT Expat license. > > Signed-off-

Re: [PATCH 04/11] socket-test: Fix style on multi-line comment

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 11:55:15 -0700 Bryce Harrington wrote: > Signed-off-by: Bryce Harrington > --- > tests/socket-test.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/tests/socket-test.c b/tests/socket-test.c > index 512cf9a..c53f972 100644 > --- a/tests/socket-

Re: [PATCH 11/11] xcursor: Change keithp licensed code from X11 to Expat license

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 11:55:22 -0700 Bryce Harrington wrote: > The license text for this file mentions Keith Packard specifically, > however it is otherwise identical to all the other MIT X11 licensed code > in Wayland, and so can be changed to the substantially identical MIT > Expat license. > >

Re: [PATCH 10/11] cursor-data.h: Change SuSE licensed code from X11 to Expat

2015-06-11 Thread Markus Slopianka
On Wednesday 10 June 2015 11:55:21 Bryce Harrington wrote: > The license text for this file mentions SuSE specifically, however it is > otherwise identical to all the other MIT X11 licensed code in Wayland, > and so can be changed to the substantially identical MIT Expat license. > > Signed-off-by

Re: [PATCH 01/11] COPYING: Update to MIT Expat License rather than MIT X License

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 11:55:12 -0700 Bryce Harrington wrote: > MIT has released software under several slightly different licenses, > including the old 'X11 License' or 'MIT License'. Some code under this > license was in fact included in X.org's Xserver in the past. However, > X.org now prefers

Re: [PATCH 2.5/4 libinput] test: install hwdb.d files in /etc, not /run

2015-06-11 Thread Hans de Goede
Hi, On 11-06-15 01:43, Peter Hutterer wrote: systemd is dropping support for /run/udev/hwdb.d (which it never really supported except some documentation mentioning it). Too bad, that was actually a useful thing for our purposes :) So drop our hwdb.d files into /etc/udev/hwdb.d instead and m

[PATCH libinput] test: add missing libunwind cflags to test-litest-selftest

2015-06-11 Thread JoonCheol Park
Signed-off-by: JoonCheol Park --- test/Makefile.am | 4 1 file changed, 4 insertions(+) diff --git a/test/Makefile.am b/test/Makefile.am index fc05ff6..6f2e6e4 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -113,6 +113,10 @@ test_litest_selftest_SOURCES = litest-selftest.c litest.c

Re: [PATCH 02/11] Contributing: Specify use of MIT Expat for new code files

2015-06-11 Thread Pekka Paalanen
On Wed, 10 Jun 2015 11:55:13 -0700 Bryce Harrington wrote: > Signed-off-by: Bryce Harrington > --- > doc/Contributing | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/doc/Contributing b/doc/Contributing > index c51b7e8..39c3e39 100644 > --- a/doc/Contributing > +++ b/doc