Weston release 1.1.1

2013-06-06 Thread Kristian Høgsberg
Hi, Here's the first bug fix release for the 1.1 branch, the weston 1.1.1 release. There's no wayland 1.1.1 release, since there are no commits since the 1.1.0 release that qualify for a stable release. In weston, we have a good set of fixes. Most importantly, Anders fix for monitor hotplug (bu

Re: [PATCH] text: Fix misleading error message

2013-06-06 Thread Kristian Høgsberg
On Fri, May 10, 2013 at 05:50:36PM -0300, Eduardo Lima (Etrunko) wrote: > From: "Eduardo Lima (Etrunko)" > > This should be "input_method" and not "desktop_shell" Thanks, patch applied. Kristian > Signed-off-by: Eduardo Lima (Etrunko) > --- > src/text-backend.c | 2 +- > 1 file changed, 1 in

Re: [PATCH] text: Fix misleading error message

2013-06-06 Thread Kristian Høgsberg
On Thu, Jun 06, 2013 at 10:59:06AM -0300, Eduardo Lima (Etrunko) wrote: > Ping? This never made it to the list, it got stuck in moderation. Normally you just subscribe to the list and re-send it, but I found it in the moderation queue and let it through. Kristian > On 05/10/2013 05:50 PM, Eduar

[PATCH] text: Fix misleading error message

2013-06-06 Thread Eduardo Lima (Etrunko)
From: "Eduardo Lima (Etrunko)" This should be "input_method" and not "desktop_shell" Signed-off-by: Eduardo Lima (Etrunko) --- src/text-backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-backend.c b/src/text-backend.c index 92efd9f..d7ce31c 100644 --- a/src/

Re: [PATCH 1/1] evdev: Fix a high CPU utilization bug

2013-06-06 Thread Kristian Høgsberg
On Thu, Jun 06, 2013 at 05:17:37PM +, Singh, Satyeshwar wrote: > The problem was that if we ever switched to another tty while running > Weston, then we would essentially not handle any remaining events and Weston > would enter an infinite loop where it's trying to process an event but it > can

Re: [PATCH] Avoid unnecessarily re-allocating texture buffer when the size hasn't changed.

2013-06-06 Thread Kristian Høgsberg
On Fri, Jun 07, 2013 at 12:25:20AM -0400, Kristian Høgsberg wrote: > On Wed, Jun 05, 2013 at 11:47:40AM +0300, Ander Conselvan de Oliveira wrote: > > On 06/04/2013 08:06 AM, Kristian Høgsberg wrote: > > >On Tue, May 28, 2013 at 05:28:49PM -0700, Sinclair Yeh wrote: > > >>v3: > > >>* Removed unneces

Re: [RFC weston] Change weston_surface.resource to a wl_resource pointer.

2013-06-06 Thread Kristian Høgsberg
On Thu, Jun 06, 2013 at 10:34:41PM -0500, Jason Ekstrand wrote: > This is the first in what will be a series of weston patches to convert > instances of wl_resource to pointers so we can make wl_resource opaque. > This patch handles weston_surface and should be the most invasive of the > entire ser

Re: [PATCH] Avoid unnecessarily re-allocating texture buffer when the size hasn't changed.

2013-06-06 Thread Kristian Høgsberg
On Thu, Jun 06, 2013 at 04:41:30PM -0700, Sinclair Yeh wrote: > v4: > Incorporated krh and anderco's comments. Now adding newly allocated > buffer's dimensions to texture_damage > > v3: > * Removed unnecessary parentheses > * Added check for switching from EGL image to SHM buffer > * Moved shader

Re: [PATCH] gl-renderer: Always release previous EGL images on attach

2013-06-06 Thread Kristian Høgsberg
On Wed, Jun 05, 2013 at 12:21:05PM +0300, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > When attaching a new buffer, the EGL images created for the previous one > would be released if this new buffer was an EGL or NULL buffer, but not > if is was an SHM buffer. This w

Re: [PATCH] Avoid unnecessarily re-allocating texture buffer when the size hasn't changed.

2013-06-06 Thread Kristian Høgsberg
On Wed, Jun 05, 2013 at 11:47:40AM +0300, Ander Conselvan de Oliveira wrote: > On 06/04/2013 08:06 AM, Kristian Høgsberg wrote: > >On Tue, May 28, 2013 at 05:28:49PM -0700, Sinclair Yeh wrote: > >>v3: > >>* Removed unnecessary parentheses > >>* Added check for switching from EGL image to SHM buffer

[RFC weston] Change weston_surface.resource to a wl_resource pointer.

2013-06-06 Thread Jason Ekstrand
This is the first in what will be a series of weston patches to convert instances of wl_resource to pointers so we can make wl_resource opaque. This patch handles weston_surface and should be the most invasive of the entire series. I am sending this one out ahead of the rest for review. Specifica

Re: [PATCH] gl-renderer: Always release previous EGL images on attach

2013-06-06 Thread Sinclair Yeh
On Wed, 5 Jun 2013 12:21:05 +0300 Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > > When attaching a new buffer, the EGL images created for the previous > one would be released if this new buffer was an EGL or NULL buffer, > but not if is was an SHM buffer. This would

[PATCH] Avoid unnecessarily re-allocating texture buffer when the size hasn't changed.

2013-06-06 Thread Sinclair Yeh
v4: Incorporated krh and anderco's comments. Now adding newly allocated buffer's dimensions to texture_damage v3: * Removed unnecessary parentheses * Added check for switching from EGL image to SHM buffer * Moved shader assignment out of IF condition v2: Fixed the wrong comparison v1: Depending

Re: [PATCH 1/2] compositor-drm: Cache the DPMS property on drm_output

2013-06-06 Thread Daniel Vetter
On Wed, Jun 05, 2013 at 12:03:37AM -0400, Kristian Høgsberg wrote: > On Tue, Jun 04, 2013 at 04:24:04PM +0300, Ander Conselvan de Oliveira wrote: > > From: Ander Conselvan de Oliveira > > > > This avoids one drmModeGetConnector() call every time the DPMS mode is > > set. That call can take hundre

Re: [PATCH 2/2] compositor-drm: Force DPMS state to ON after drmModeSetCrtc()

2013-06-06 Thread Daniel Vetter
On Tue, Jun 04, 2013 at 04:24:05PM +0300, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > The kernel is supposed to set this when drmModeSetCrtc() is called but > at least the i915 driver wouldn't do that in all cases. A fix for this > should be released with kernel 3.1

Re: minimized and stick windows

2013-06-06 Thread Kristian Høgsberg
On Tue, May 28, 2013 at 1:10 PM, Rafael Antognolli wrote: > On Thu, May 16, 2013 at 2:12 PM, Bill Spitzak wrote: >> >> >> Pekka Paalanen wrote: >> For example the floating shared toolbox with 2 main windows. It should only disappear when *both* main windows are minimized. >>> >>> >>> Yo

[PATCH 1/1] evdev: Fix a high CPU utilization bug

2013-06-06 Thread Singh, Satyeshwar
The problem was that if we ever switched to another tty while running Weston, then we would essentially not handle any remaining events and Weston would enter an infinite loop where it's trying to process an event but it can't because the processing function evdev_device_data exits before it can re

Re: Problem compiling Qt5 on Wayland

2013-06-06 Thread darxus
You're probably missing the environment variables to point it to the version of wayland you built, which are at the top of http://wayland.freedesktop.org/building.html under "Setting up the environment". On 06/06, Aurélien Roy wrote: >Hi, > >I'm trying to deploy this solution : > >[1

Problem compiling Qt5 on Wayland

2013-06-06 Thread Aurélien Roy
Hi, I'm trying to deploy this solution : http://wayland.freedesktop.org/qt5.html But when I try to run "qmake" in order to compile QtWayland I got the following error : Project ERROR: QtWayland requires Wayland 1.0.3 or higher I built wayland and weston using the latest version so it should be

Re: [PATCH] text: Fix misleading error message

2013-06-06 Thread Eduardo Lima (Etrunko)
Ping? On 05/10/2013 05:50 PM, Eduardo Lima (Etrunko) wrote: > From: "Eduardo Lima (Etrunko)" > > This should be "input_method" and not "desktop_shell" > > Signed-off-by: Eduardo Lima (Etrunko) > --- > src/text-backend.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

Re: [PATCH wayland 1/2] Change WL_ZOMBIE_OBJECT from 0x2 to an actual pointer

2013-06-06 Thread Jason Ekstrand
On Jun 6, 2013 1:37 AM, "Pekka Paalanen" wrote: > > On Wed, 5 Jun 2013 16:39:50 -0500 > Jason Ekstrand wrote: > > > In order to use the second-lowest bit of each pointer in wl_map for the > > WL_MAP_ENTRY_LEGACY flag, every pointer has to be a multiple of 4. This > > was a good assumption, exce

[PATCH 2/2] Some CJK glyphs are wide, which occupy two columns. If the glyph is wide, then use two columns instead of one.

2013-06-06 Thread Peng Wu
--- clients/Makefile.am | 2 +- clients/terminal.c | 18 -- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/clients/Makefile.am b/clients/Makefile.am index cad0d40..d37d66a 100644 --- a/clients/Makefile.am +++ b/clients/Makefile.am @@ -104,7 +104,7 @@ weston_scree

[PATCH 1/2] As some CJK fonts are dual-width, use the average width of ASCII glyphs instead of the max_x_advance of the font, just like the vte project.

2013-06-06 Thread Peng Wu
--- clients/terminal.c | 55 -- 1 file changed, 41 insertions(+), 14 deletions(-) diff --git a/clients/terminal.c b/clients/terminal.c index 2985726..0d4f726 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -54,6 +54,16 @@ terminal_de

[PATCH 0/2] terminal: Handle dual-width fonts

2013-06-06 Thread Peng Wu
In CJK locale, there are some dual-width fonts. When start weston terminal in CJK locale, the glyph will occupy many empty space. I changed to use the average ASCII glyph width instead of the maximum glyph width, like vte project. Peng Wu (2): As some CJK fonts are dual-width, use the average wi