Re: [ANNOUNCE] weston 1.7.91

2015-05-07 Thread Pekka Paalanen
On Thu, 7 May 2015 00:07:33 -0700 Bryce Harrington wrote: > This is the weston alpha on the path to 1.8.0. This requires Wayland > 1.7.91. > > Development this cycle focused around the IVI shell and keeping up with > the EGL modernization. Feature changes include: repaint scheduling, > named o

[PATCH 6/7] test: extract file:line from backtrace with addr2line

2015-05-07 Thread Peter Hutterer
libunwind gives us a file and an address and usually a function name. Beyond that, it's mostly guessing. Fork off addr2line to resolve the addresses that libunwind gives us, if we succeed we get a backtrace like this: Backtrace: 0: litest_fail_comparison_int() (./test/litest.c:268)

[PATCH 4/7] test: add a backtrace facility to litest

2015-05-07 Thread Peter Hutterer
The check unit test framework isn't particularly suited to having ck_assert* calls in helper functions. A failed assertion in a helper function or the litest framework merely gives us a the failed line in litest.c. which doesn't tell us which test actually failed. Add a backtracing facility with l

[PATCH 7/7] test: convert all helper functions to use the litest macros

2015-05-07 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/device.c | 2 +- test/log.c | 4 ++-- test/misc.c | 4 ++-- test/pointer.c | 28 ++-- test/touchpad.c | 9 + 5 files changed, 24 insertions(+), 23 deletions(-) diff --git a/test/device.c b/test/device.c index

[PATCH 5/7] test: add pointer comparison macros

2015-05-07 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/litest-selftest.c | 141 + test/litest.c | 12 + test/litest.h | 26 + 3 files changed, 179 insertions(+) diff --git a/test/litest-selftest.c b/test/litest-selftest.c index 5ed2

[PATCH 0/7] test: better backtracing in the test suite

2015-05-07 Thread Peter Hutterer
The check unit test framework isn't particularly suited to having ck_assert* calls in helper functions. A failed assertion in a helper function or the litest framework merely gives us a the failed line in litest.c. which doesn't tell us which test actually failed. We're using more and more helper

[PATCH 2/7] test: don't use enum values in ck_assert macros directly

2015-05-07 Thread Peter Hutterer
Unfortunately, typeof(enum something) != typeof(ENUM_VALUE) and produces a -Wsign-compare warning Preemptively fix this, it'll show up in the upcoming litest_asssert macros otherwise. This fix only applies to helper functions, tests themselves wont (yet) be switched to the new macros and don't ne

[PATCH 3/7] test: cast to int before integer comparison

2015-05-07 Thread Peter Hutterer
No effect with the current macros since they'll cast to int for us, but this will change with the litest_assert macros. Signed-off-by: Peter Hutterer --- test/litest.c | 17 +++-- test/pointer.c | 4 ++-- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/test/litest.c

[PATCH 1/7] test: type-safe two ck_assert invocations

2015-05-07 Thread Peter Hutterer
unsigned vs signed in both cases, but the ck_assert macros hide that (everything is cast to intmax_t). The upcoming litest_assert wrappers expose these warnings, so fix them ahead of time. Signed-off-by: Peter Hutterer --- test/litest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Re: [PATCH v2] weston-launch: Fixed TTY switching

2015-05-07 Thread Bryce Harrington
On Thu, Apr 09, 2015 at 04:11:17PM +0100, mateuszx.potr...@intel.com wrote: > From: Mateusz Polrola > > After weston-launch is executing weston it cannot close TTY file, > because it is still required to properly handle SIGUSR1 and SIGUSR2 > signals that are used for switching TTY. > > Additiona

Re: [PATCH weston] editor: implement Cut,Copy,Paste

2015-05-07 Thread Bryce Harrington
On Mon, Mar 30, 2015 at 01:57:44AM +0200, Manuel Bachmann wrote: > From: Manuel Bachmann > > weston-editor is the only stock client spawning the virtual > keyboard ; which means it may be the only client able to > obtain some special characters (depending on the user's > keyboard layout). > > If

[PATCH weston] rpi-renderer: use weston_output matrix instead of a private matrix

2015-05-07 Thread Derek Foreman
We already do this math in compositor.c so let's not duplicate it here. Additionally, the copy here has broken zoom, so this also fixes zooming. Signed-off-by: Derek Foreman --- src/rpi-renderer.c | 68 +++--- 1 file changed, 3 insertions(+), 65 de

[ANNOUNCE] weston 1.7.91

2015-05-07 Thread Bryce Harrington
This is the weston alpha on the path to 1.8.0. This requires Wayland 1.7.91. Development this cycle focused around the IVI shell and keeping up with the EGL modernization. Feature changes include: repaint scheduling, named outputs, output transformations, EGL improvements to gl-renderer, surface

[ANNOUNCE] wayland 1.7.91

2015-05-07 Thread Bryce Harrington
Here's the alpha release as we saunter towards 1.8.0. This release adds a new scanner option --include-core-only, and adds new headers wayland-client-core.h and wayland-server-core.h, to avoid dependency on the generated protocol headers. This makes life a bit easier for language bindings and oth