Re: [PATCH weston 3/3] ivi-shell: use zalloc instead of calloc

2016-07-09 Thread Yong Bakos
Hi Emre, > On Jul 1, 2016, at 2:34 AM, Ucan, Emre (ADITG/SW1) > wrote: > > Signed-off-by: Emre Ucan Since `zalloc(sizeof *foo)` just inlines calloc(1, sizeof *foo), the patch is fine. However, I'd like to make a couple comments. First, please add an explicit include of zalloc.h in any .c fil

Re: [PATCH weston] gl-renderer: Silence silly warning

2016-07-09 Thread Yong Bakos
On Jul 4, 2016, at 7:00 AM, Quentin Glidic wrote: > > From: Quentin Glidic > > Signed-off-by: Quentin Glidic Seems trivial enough, and is Reviewed-by: Yong Bakos However, it would be nice to see what the warning is in the commit log. I can't reproduce the 'silly warning'. There are additi

Re: [PATCH weston 1/6] README: clarify libweston purpose/goals.

2016-07-09 Thread Yong Bakos
On Jul 4, 2016, at 7:23 AM, Emil Velikov wrote: > > From: Emil Velikov > > v2: Rewrap, add a couple of missing words (Pekka). > v3: Use alternative wording (Yong). > > Signed-off-by: Emil Velikov Reviewed-by: Yong Bakos Note: If this ends up going through another revision, see the nit inli

Re: [PATCH weston] weston-editor: Close the data source after sending

2016-07-09 Thread Yong Bakos
On Jul 7, 2016, at 8:52 AM, Derek Foreman wrote: > > We're leaking the fd when sending cut'n'paste. Failure to close can also > makes the other end unhappy because it doesn't know the paste is finished. > > Signed-off-by: Derek Foreman Occurrences in other weston clients already mimc this pat

Re: [PATCH weston 1/2] desktop-shell: Generate serials for pings in the function that sends them

2016-07-09 Thread Yong Bakos
On Jul 8, 2016, at 10:42 AM, Derek Foreman wrote: > > Currently we generate a serial and pass it through a couple of functions. > > In a future commit I'm going to throttle pings in the leaf function, so > generating them there prevents consuming them needlessly. > > Signed-off-by: Derek Forema

[PATCH weston v2] libweston: Position layers in an absolute way

2016-07-09 Thread Quentin Glidic
From: Quentin Glidic Currently, layers’ order depends on the module loading order and it does not survive runtime modifications (like shell locking/unlocking). With this patch, modules can safely add their own layer at the expected position in the stack, with runtime persistence. Signed-off-by:

Re: Weston versioning (Re: [PATCH weston 6/6] libweston: do not use weston version in libweston.pc)

2016-07-09 Thread Pekka Paalanen
On Thu, 7 Jul 2016 17:45:24 +0100 Emil Velikov wrote: > On 7 July 2016 at 10:46, Pekka Paalanen wrote: > > On Mon, 4 Jul 2016 16:25:54 +0100 > > Emil Velikov wrote: > > > >> On 4 July 2016 at 15:35, Quentin Glidic > >> wrote: > >> > On 04/07/2016 16:23, Emil Velikov wrote: > >> >> > >>

Re: Weston versioning (Re: [PATCH weston 6/6] libweston: do not use weston version in libweston.pc)

2016-07-09 Thread Pekka Paalanen
On Sat, 9 Jul 2016 05:19:26 +0200 (CEST) Jan Engelhardt wrote: > On Thursday 2016-07-07 11:46, Pekka Paalanen wrote: > >> >> +AC_SUBST([LIBWESTON_VERSION], > >> >> [libweston_major_version.libweston_minor_version.libweston_patch_version]) > >> >> > >> > > >> > That makes packaging a pain. Al

Re: [PATCH weston 5/6] libweston: do not add libweston-$version to the Cflags

2016-07-09 Thread Pekka Paalanen
On Fri, 8 Jul 2016 11:31:42 +0100 Emil Velikov wrote: > On 7 July 2016 at 19:18, Quentin Glidic > wrote: > > On 07/07/2016 18:28, Emil Velikov wrote: > >> > >> On 7 July 2016 at 10:20, Pekka Paalanen wrote: > >>> > >>> [snip] > >>> Therefore a NAK from me too. > >>> > >> As you guys wish

Re: [PATCH weston 3/6] README: Document versioning scheme, forward compatibility

2016-07-09 Thread Pekka Paalanen
On Thu, 7 Jul 2016 20:08:40 +0200 Quentin Glidic wrote: > On 07/07/2016 18:11, Emil Velikov wrote: > > On 7 July 2016 at 10:05, Pekka Paalanen wrote: > >> > >> [snip] > >> > >> Now that you mentioned the semantics could be of upper or lower > >> limit, the name should imply the meaning. I onl