Signed-off-by: Jon A. Cruz
---
.gitignore | 2 +
Makefile.am| 22 +++
configure.ac | 20 ++
doc/doxygen/devtools.dox | 51 +
doc/doxygen/tooldev.doxygen.in | 11 ++
doc/doxygen/tools.dox
Here is yet another re-worked version of the patch adding unit testing
framework and corresponding separation. This drops the higher-level waycheck
program and focuses on the first two steps of adding zunitc and converting
the config-parser test.
Changes since v5:
- Reduced to just the core framew
Adds basic support for 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:
Signed-off-by: Jon A. Cruz
---
Makefile.am| 10 +-
tests/config-parser-test.c | 371 +
2 files changed, 320 insertions(+), 61 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 89d9e4c..42f0ed4 100644
--- a/Makefile.am
+++ b/Mak
On 07/02/2015 11:02 PM, Pekka Paalanen wrote:
> On Thu, 02 Jul 2015 18:12:21 -0700
> "Jon A. Cruz" wrote:
>
>> On 06/25/2015 07:18 AM, Pekka Paalanen wrote:
>>> On Sat, 20 Jun 2015 15:47:47 -0700
>>> "Jon A. Cruz" wrote:
>>>
> +static void *setup_test_config(void *data)
> +{
> + stru
On Thu, 02 Jul 2015 18:12:21 -0700
"Jon A. Cruz" wrote:
> On 06/25/2015 07:18 AM, Pekka Paalanen wrote:
> > On Sat, 20 Jun 2015 15:47:47 -0700
> > "Jon A. Cruz" wrote:
> >
> >> > +static void *setup_test_config(void *data)
> >> > +{
> >> > +struct weston_config *config = load_config(dat
Signed-off-by: Peter Hutterer
---
doc/Makefile.am | 4 +
doc/gestures.dox | 91 ++
doc/svg/pinch-gestures.svg | 612 +++
doc/svg/swipe-gestures.svg | 512
doc/svg/touchscreen-g
Signed-off-by: Peter Hutterer
Reviewed-by: Hans de Goede
---
tools/event-gui.c | 69 ++-
1 file changed, 68 insertions(+), 1 deletion(-)
diff --git a/tools/event-gui.c b/tools/event-gui.c
index 0c484cb..058c42d 100644
--- a/tools/event-gui.c
+
From: Hans de Goede
Add support for swipe gestures.
Signed-off-by: Hans de Goede
Reviewed-by: Peter Hutterer
Acked-by: Jason Gerecke
---
src/evdev-mt-touchpad-gestures.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/src/evdev-mt-touchpad-gesture
From: Hans de Goede
For touchscreens we always send raw touch events to the compositor, and the
compositor or application toolkits do gesture recognition. This makes sense
because on a touchscreen which window / widget the touches are over is
important context to know to interpret gestures.
On t
This is the set of patches on the touchpad-gestures branch that I intend to
merge next week. Short of a bunch of minor cleanups and fixes, they are
mostly the same that Hans sent out to the list ages ago.
Notable changes are:
* *GESTURE_*_START was renamed to *GESTURE_*_BEGIN
* get_angle was rena
From: Hans de Goede
Extend the touchpad gesture API with pinch gestures. Note that this
new API offers a single event stream for both pinch and rotate data, this
is deliberate as some applications may be interested in getting both at
the same time. Applications which are only interested in one or
No functional changes
Signed-off-by: Peter Hutterer
---
src/evdev-mt-touchpad-gestures.c | 22 +-
src/evdev-mt-touchpad.c | 6 +++---
src/evdev-mt-touchpad.h | 5 -
3 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/src/evdev-mt-touchpad-g
From: Hans de Goede
Implement touchpad pinch (and rotate) gesture support.
Note that two two-finger scrolling tests are slightly tweaked to assure that
there is enough touch movement to allow the scroll-or-pinch detect code to do
its work.
Signed-off-by: Hans de Goede
Acked-by: Jason Gerecke
Signed-off-by: Peter Hutterer
Reviewed-by: Hans de Goede
---
tools/event-gui.c | 59 +++
1 file changed, 59 insertions(+)
diff --git a/tools/event-gui.c b/tools/event-gui.c
index 3806014..0c484cb 100644
--- a/tools/event-gui.c
+++ b/tools/even
For start/end, dx/dy is always 0.0, and there is no need to make calling this
function for start/end a caller bug. It just unnecessarily complicates the
caller's codepath.
Same for get_angle
Signed-off-by: Peter Hutterer
---
src/libinput.c | 28 +++-
src/libinput.h | 19
From: Hans de Goede
Signed-off-by: Hans de Goede
---
src/evdev-mt-touchpad-gestures.c | 20
src/evdev-mt-touchpad.c | 6 +++---
src/evdev-mt-touchpad.h | 2 +-
src/libinput-private.h | 11 +++
src/libinput.c | 37 +
Signed-off-by: Peter Hutterer
Reviewed-by: Hans de Goede
---
src/evdev-mt-touchpad-gestures.c | 3 +-
src/libinput-private.h | 1 +
src/libinput.c | 65 +++-
src/libinput.h | 13 ++--
4 files changed, 78 inse
On 06/25/2015 07:18 AM, Pekka Paalanen wrote:
> On Sat, 20 Jun 2015 15:47:47 -0700
> "Jon A. Cruz" wrote:
>
>> > +static void *setup_test_config(void *data)
>> > +{
>> > + struct weston_config *config = load_config(data, true);
>> > +
>> > + if (zuc_has_failure())
>> > + ZUC_MARK_FATAL
On 06/25/2015 07:18 AM, Pekka Paalanen wrote:
> On Sat, 20 Jun 2015 15:47:47 -0700
> "Jon A. Cruz" wrote:
>
>> > Signed-off-by: Jon A. Cruz
>> > ---
>> > Makefile.am| 9 +-
>> > tests/config-parser-test.c | 368
>> > +
>> > 2 file
On Sun, 21 Jun 2015 21:25:12 +0200
Mario Kleiner wrote:
> Fix desktop-shell's activate() method to only restore the output
> mode on the single output on which a shell surface gets activated.
>
> This way toplevel fullscreen surfaces can mode-switch their output
> via method WL_SHELL_SURFACE_FUL
On Thu, 02 Jul 2015 09:36:47 +0200
Mario Kleiner wrote:
> On 06/29/2015 06:09 PM, Derek Foreman wrote:
> > On 28/06/15 10:17 PM, Mario Kleiner wrote:
> >> On 06/26/2015 08:29 PM, Derek Foreman wrote:
> >>> On 21/06/15 02:25 PM, Mario Kleiner wrote:
> Allows to force loading an identity gamma
Hi,
On 02-07-15 09:46, Peter Hutterer wrote:
Set up a udev_monitor before each device creation and wait for the monitor to
notify us of the newly created device. This should take the place of the
various sleep loops we currently have sprinkled around the code and provide a
reliability when test
The previous idiom for building a cross-compiled Wayland is to build once for
the build host (with --enable-scanner --disable-libraries) to get a
wayland-scanner binary that can then be used in a cross-compile (with
--disable-scanner). The problem with this is that the cross wayland is missing
a w
Drop the busy loop we had waiting for an event to appear and just call poll on
the libinput fd.
This actually makes the tests more correct, if we now time out where we didn't
before it means we're not setting the timers correctly.
Signed-off-by: Peter Hutterer
---
test/litest.c | 7 ++-
1 f
3s is too easy to hit on congested systems. 10s is overkill, but it's still
better to pass a test late than having to restart the whole test-suite again.
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 a5ee
Set up a udev_monitor before each device creation and wait for the monitor to
notify us of the newly created device. This should take the place of the
various sleep loops we currently have sprinkled around the code and provide a
reliability when testing.
Signed-off-by: Peter Hutterer
---
test/l
On 06/29/2015 06:09 PM, Derek Foreman wrote:
On 28/06/15 10:17 PM, Mario Kleiner wrote:
On 06/26/2015 08:29 PM, Derek Foreman wrote:
On 21/06/15 02:25 PM, Mario Kleiner wrote:
Allows to force loading an identity gamma table if
option icc_profile=identity is given in weston.ini for
an output.
28 matches
Mail list logo