[PATCH wayland-web] Updated additional dependencies for a cleaner Ubuntu 12.04 LTS system.

2014-10-27 Thread Jon A. Cruz
--- ubuntu12.04.html | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ubuntu12.04.html b/ubuntu12.04.html index 804433e..7576fd4 100644 --- a/ubuntu12.04.html +++ b/ubuntu12.04.html @@ -15,7 +15,8 @@ Building Weston on Ubuntu 12.04/h1 XWayland on an Ubuntu 12.04 LTS

Re: Reusing wl_egl_window for multiple EGL surfaces

2014-10-27 Thread Pekka Paalanen
On Sat, 25 Oct 2014 17:14:32 -0700 Virtual Presence virtualpresence.u...@gmail.com wrote: Hi, I am writing a simple multi-threaded multi-context GLES2 Wayland client. As required by Wayland and MESA EGL bindings i do create a wl_egl_window to pass on to EGL window surface creation. I was

Re: [PATCH Weston 1/1] desktop-shell: implement autolaunch

2014-10-27 Thread Pekka Paalanen
On Fri, 24 Oct 2014 14:47:00 -0700 Bryce Harrington br...@osg.samsung.com wrote: On Fri, Oct 24, 2014 at 01:18:51PM +0300, Pekka Paalanen wrote: And, while you're at it - as this was written for kiosk mode, it spawns a shell script which just restarts the video player in a loop. Can we

[PATCH wayland 1/2] tests: add test for callback serials

2014-10-27 Thread Marek Chalupa
The callback returns always with the same serial, which is not right (it's serial, not constant...). This test highlights the bug. Signed-off-by: Marek Chalupa mchqwe...@gmail.com --- tests/display-test.c | 55 1 file changed, 55 insertions(+)

[PATCH wayland 2/2] server: use next serial in display_sync

2014-10-27 Thread Marek Chalupa
Display sync sends always the same serial (if nothing intervenes and increases the serial for the sync). Signed-off-by: Marek Chalupa mchqwe...@gmail.com --- src/wayland-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index

[PATCH wayland] client: read_events should return -1 after an error

2014-10-27 Thread Marek Chalupa
When a thread is sleeping, waiting until another thread read from the display, it always returns 0. Even when an error occured. In documentation stands: return 0 on success or -1 on error. In case of error errno will be set accordingly So this is a fix for this. Along with the

Re: [PATCH] connection: Leave fd open in wl_connection_destroy

2014-10-27 Thread Marek Chalupa
Hi, at first glance I didn't like returning fd from wl_connection_destroy, but at the other, I did! If you think about the connection as a buffer for the fd (and that is really the case), then it make sense to do something like: create conn -- destroy conn fd

Re: [PATCH libinput] evdev: Pass along device overflow information

2014-10-27 Thread Derek Foreman
On 26/10/14 11:11 PM, Peter Hutterer wrote: On Fri, Oct 24, 2014 at 01:18:06PM -0500, Derek Foreman wrote: Currently libinput users just see choppy input if the kernel event queue overflows. This patch passes along an event so the caller can at least log it. any reason you didn't just log

[PATCH libinput] evdev: Log evdev event queue overflows

2014-10-27 Thread Derek Foreman
Log a message when the kernel event queue overflows and events are dropped. After 10 messages logging stops to avoid flooding the logs if the condition is persistent. --- src/evdev.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/evdev.c b/src/evdev.c index 1b4ce10..c786537

Re: [PATCH libinput] evdev: Log evdev event queue overflows

2014-10-27 Thread Derek Foreman
A couple of questions on this one: Is it ok to limit logging to 10 messages like this? Should I be doing that on a per device basis instead of globally? (I'm totally unattached to the specifics of the log text, I believe X says something clever about how it's not the X server's fault to avoid

Re: [PATCH wayland-web] Updated additional dependencies for a cleaner Ubuntu 12.04 LTS system.

2014-10-27 Thread Bryce Harrington
Reviewed-by: Bryce Harrington b.harring...@samsung.com On Mon, Oct 27, 2014 at 12:25:05AM -0700, Jon A. Cruz wrote: --- ubuntu12.04.html | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ubuntu12.04.html b/ubuntu12.04.html index 804433e..7576fd4 100644 ---

[WESTON PATCH 1/1] compositor: Add idle timeout option to weston.ini

2014-10-27 Thread Frederic Plourde
Weston's idle timeout can already be set via the '-i' command-line option, but this patch lets users specify it also via weston.ini. Note that the command-line option takes precedence over the .ini, should the option be set by both. This patch also Updates weston.ini man page with idle-timeout

[weston] Makefile.am: Link weston_multi_resource against rt library

2014-10-27 Thread Javier Jardón
This fixes this build failure: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.3/../../../../x86_64-unknown-linux-gnu/bin/ld: clients/weston_multi_resource-multi-resource.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'

Re: [PATCH v3] wayland-util: added wl_strtol/wl_strtoul utility functions

2014-10-27 Thread Jasper St. Pierre
Can I also suggest that we don't make this public API? These are internal helpers for libwayland, not designed for any consumers. We've been burned by making too much internal helper API public before. On Mon, Oct 27, 2014 at 2:42 AM, Marek Chalupa mchqwe...@gmail.com wrote: On 22 October

Re: [PATCH Weston 1/2] desktop-shell: refactor panel_add_launcher

2014-10-27 Thread Frederic Plourde
Ok, I split the patches and here's the one doing the refactor, below. Dan : the other patch (the one adding autolaunch per se) still needs a comment from you before I can update it. See below for the conversation, I'd like to have your comments about

Re: Reusing wl_egl_window for multiple EGL surfaces

2014-10-27 Thread Virtual Presence
I see. Thank you for the info. What i am trying to do is have multiple contexts with its own EGLSurface but sharing the same window or wl_surface on wayland, where one thread renders a gl_triangle and the other rendering gears. This was a simple client to teach myself queues and IPC of wayland,

Re: [PATCH weston] cairo-util: fix shadows for small clients

2014-10-27 Thread Bill Spitzak
On 10/15/2014 01:16 AM, Marek Chalupa wrote: + shadow_height = height / 2; + + /* when the height is odd, we need some part of the +* shadow to be one pixel higher. Let's choose the +* upper one */ +

Re: [PATCH 3/6] Attach output profiles and build corresponding LUTs

2014-10-27 Thread Niels Ole Salscheider
On Wednesday 15 October 2014, 21:56:53, Bryce Harrington wrote: On Mon, Oct 13, 2014 at 07:40:48PM +0200, Niels Ole Salscheider wrote: This patch allows to attach an ICC profile to each output. Signed-off-by: Niels Ole Salscheider niels_...@salscheider-online.de ---

Re: [RFC PATCH v2 0/6] Initial per-surface color management

2014-10-27 Thread Niels Ole Salscheider
The support to mask the area of a surface so that its color space is not converted has been removed. Instead, the color profile of the main output of that surface can be attached if an application has a need to display uncorrected colors. I had a discussion regarding this with Zoxc on the IRC

Re: libinput: Support for long press key detection?

2014-10-27 Thread Bill Spitzak
On 10/26/2014 05:35 AM, Carsten Haitzler (The Rasterman) wrote: to implement longpress you need to implement timeouts - this is where it begins getting high level and far more hairy than libinput is. toolkits already do this and have timeout infra with their mainloop handling. That's not

Re: [PATCH v3] wayland-util: added wl_strtol/wl_strtoul utility functions

2014-10-27 Thread Bill Spitzak
On 10/27/2014 09:51 AM, Jasper St. Pierre wrote: + if (!wl_strtol(since, NULL, 0, (long *)version)) This is baad. You cannot use the int version here, because in wl_strol you write sizeof(long) on the address of version and if sizeof(version)

Re: [PATCH wayland-web] Updated additional dependencies for a cleaner Ubuntu 12.04 LTS system.

2014-10-27 Thread Bill Spitzak
Looks good to me! I'll check if this is also needed for the 14.04 instructions. Probably it is. Also when I did these instructions, I just wrote what I found worked by pretty much blind searching. I am wondering if I missed some method to compile all known xorg/proto stuff in one step. I

Re: [PATCH wayland-web] Updated additional dependencies for a cleaner Ubuntu 12.04 LTS system.

2014-10-27 Thread Jon A. Cruz
On Mon, Oct 27, 2014, at 11:39 AM, Bill Spitzak wrote: Looks good to me! I'll check if this is also needed for the 14.04 instructions. Probably it is. Uh oh. I targeted the wrong file, as this was actually against 14.04. Just hard coordinating this code from a hospital waiting room with

Re: libinput: Support for long press key detection?

2014-10-27 Thread The Rasterman
On Mon, 27 Oct 2014 11:16:16 -0700 Bill Spitzak spit...@gmail.com said: On 10/26/2014 05:35 AM, Carsten Haitzler (The Rasterman) wrote: to implement longpress you need to implement timeouts - this is where it begins getting high level and far more hairy than libinput is. toolkits already

Re: [PATCH wayland-web] Updated additional dependencies for a cleaner Ubuntu 12.04 LTS system.

2014-10-27 Thread Peter Hutterer
On Mon, Oct 27, 2014 at 11:39:39AM -0700, Bill Spitzak wrote: Looks good to me! I'll check if this is also needed for the 14.04 instructions. Probably it is. Also when I did these instructions, I just wrote what I found worked by pretty much blind searching. I am wondering if I missed

Re: [PATCH libinput] evdev: Log evdev event queue overflows

2014-10-27 Thread Peter Hutterer
On Mon, Oct 27, 2014 at 09:33:45AM -0500, Derek Foreman wrote: A couple of questions on this one: Is it ok to limit logging to 10 messages like this? IMO yes. Should I be doing that on a per device basis instead of globally? you are doing it per-device here, I'm not sure what you mean with

Re: [PATCH libinput] evdev: Log evdev event queue overflows

2014-10-27 Thread Peter Hutterer
On Mon, Oct 27, 2014 at 09:26:39AM -0500, Derek Foreman wrote: Log a message when the kernel event queue overflows and events are dropped. After 10 messages logging stops to avoid flooding the logs if the condition is persistent. --- src/evdev.c | 10 ++ 1 file changed, 10

ANNOUNCE: New Wayland Live CD ISOs

2014-10-27 Thread nerdopolis
Hi. I have decided to announce new ISOs for my Wayland live CD, named in honor my favorite celebrity, Rebecca Black. http://sourceforge.net/projects/rebeccablackos/files/2014-10-27/ These ISOs have been built by SVN revision 3013, and are based on Utopic, with Wayland/Weston 1.6+ (master).

Re: libinput: Support for long press key detection?

2014-10-27 Thread Bill Spitzak
On 10/27/2014 04:08 PM, Carsten Haitzler (The Rasterman) wrote: You are right that libinput should not do this. I see it as something the compositor does. It is just like the gestures for touch. now you're higher level - compositor. slight problem here is that to do click cancellation the

Re: [PATCH wayland-web] Updated additional dependencies for a cleaner Ubuntu 12.04 LTS system.

2014-10-27 Thread Bill Spitzak
On 10/27/2014 01:44 PM, Jon A. Cruz wrote: On Mon, Oct 27, 2014, at 11:39 AM, Bill Spitzak wrote: Looks good to me! I'll check if this is also needed for the 14.04 instructions. Probably it is. Uh oh. I targeted the wrong file, as this was actually against 14.04. Just hard coordinating this