[PATCH 01/14] tablet-shell: add weston-tablet.ini file for tablet shell configuration.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com Signed-off-by: Ning Tang tecto...@gmail.com --- weston-tablet.ini | 64 +++ 1 file changed, 64 insertions(+) create mode 100644 weston-tablet.ini diff --git a/weston-tablet.ini b/weston-tablet.ini new

[PATCH 05/14] tablet-shell: add motion handler to launchers.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com Enable dragging launchers. Use the drag and drop mechanism, the launcher's icon is provided as cursor image. Currently ignore all drop events. Signed-off-by: Ning Tang tecto...@gmail.com --- clients/tablet-shell.c | 234

[PATCH 06/14] tablet-shell: add trash function when dragging launcher icon.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com Determine whether to accpet the data by the allocation of trash area. If the icon is in it, then drop event will delete either the icon image as well as tag in ini file. Signed-off-by: Ning Tang tecto...@gmail.com --- clients/tablet-shell.c | 153

[PATCH 07/14] tablet-shell: add layout indicator on homescreen.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com We could know how many layouts in total and our current layout. Keyword in ini file is the path to indicator images, use the format of 1-f.png(focus) 1.png 2-f.png... Signed-off-by: Ning Tang tecto...@gmail.com --- clients/tablet-shell.c | 51

[PATCH 09/14] tablet-shell: add shell_surface in tablet-shell.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com Since now toytoolkit and simple programs use shell_surface to show on screen, we add it in tablet-shell to let them show. But we only need serveral feature in tablet shell, the wl_shell is too big and not suitable for tablet-shell. And it is helpful to fill

[PATCH 10/14] tablet-shell: add event in tablet-client protocol.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com When a client is binded, the server side will send an event to let the client set fullscreen. If the client don't response, it will remain centered. Signed-off-by: Ning Tang tecto...@gmail.com --- protocol/tablet-shell.xml | 2 ++ src/tablet-shell.c

[PATCH 11/14] tablet-shell: add key binding for kill and activate surface.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com Send kill signal to client in order to exit. After the client ends, the surface below it would get focus. Signed-off-by: Ning Tang tecto...@gmail.com --- src/tablet-shell.c | 73 ++ 1 file changed, 73

[PATCH 14/14] tablet-shell: a workaround to prevent memory leak in drawing background.

2012-08-21 Thread tecton69
From: Ning Tang ning.t...@intel.com The origin method is to create a surface every time paint background and destroy it. But load_cairo_surface(1) and cairo_surface_destroy(1) will cause memory leak. Since sliding effect will cause background to be drawn many times, use this workaround to

Q: xwayland overt Qt-compositor?

2012-08-21 Thread jegde jedge
Please forgive the 'user' post in a devel list. I am porting a fundamentally Qt system but still need some X backward compatability? I am unclear of the Qt/X/Weston/Wayland interoperability. Does the weston compositor work with Qt5 apps? Can the Qt5-compositor run the Weston apps? Will the Qt

Re: [PATCH 03/14] tablet-shell: break the connection between launcher and homescreen.

2012-08-21 Thread Philipp Brüschweiler
On Tue, Aug 21, 2012 at 1:49 PM, tecto...@gmail.com wrote: From: Ning Tang ning.t...@intel.com Launcher is totally depend on layout and add layout redraw function to manage drawing launchers. Signed-off-by: Ning Tang tecto...@gmail.com --- clients/tablet-shell.c | 133

Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread darxus
On 08/21, jegde jedge wrote: Please forgive the 'user' post in a devel list. This post seems entirely appropriate to me. I am porting a fundamentally Qt system but still need some X backward compatability? You consider porting to be a user subject? I am unclear of the Qt/X/Weston/Wayland

Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread jegde jedge
On Tue, Aug 21, 2012 at 9:28 AM, Jørgen Lind jorgen.l...@nokia.com wrote: Hi, On Tue, Aug 21, 2012 at 09:15:54AM -0400, ext jegde jedge wrote: Please forgive the 'user' post in a devel list. Does the weston compositor work with Qt5 apps? Yes Can the Qt5-compositor run the Weston apps?

Re: [PATCH 09/14] tablet-shell: add shell_surface in tablet-shell.

2012-08-21 Thread Pekka Paalanen
On Tue, 21 Aug 2012 19:49:23 +0800 tecto...@gmail.com wrote: From: Ning Tang ning.t...@intel.com Since now toytoolkit and simple programs use shell_surface to show on screen, we add it in tablet-shell to let them show. But we only need serveral feature in tablet shell, the wl_shell is too

Re: [PATCH 06/14] tablet-shell: add trash function when dragging launcher icon.

2012-08-21 Thread Philipp Brüschweiler
On Tue, Aug 21, 2012 at 1:49 PM, tecto...@gmail.com wrote: From: Ning Tang ning.t...@intel.com Determine whether to accpet the data by the allocation of trash area. If the icon is in it, then drop event will delete either the icon image as well as tag in ini file. Signed-off-by: Ning Tang

Re: [PATCH 09/14] tablet-shell: add shell_surface in tablet-shell.

2012-08-21 Thread Philipp Brüschweiler
On Tue, Aug 21, 2012 at 1:49 PM, tecto...@gmail.com wrote: From: Ning Tang ning.t...@intel.com Since now toytoolkit and simple programs use shell_surface to show on screen, we add it in tablet-shell to let them show. But we only need serveral feature in tablet shell, the wl_shell is too big

Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread Thiago Macieira
On terça-feira, 21 de agosto de 2012 10.07.57, dar...@chaosreigns.com wrote: I am unclear of the Qt/X/Weston/Wayland interoperability. Does the weston compositor work with Qt5 apps? Can the Qt5-compositor run the Weston apps? I haven't tested them lately, but I believe the answers should

Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread Jørgen Lind
Hi, On Tue, Aug 21, 2012 at 09:15:54AM -0400, ext jegde jedge wrote: Please forgive the 'user' post in a devel list. I am porting a fundamentally Qt system but still need some X backward compatability? I am unclear of the Qt/X/Weston/Wayland interoperability. Does the weston compositor

Re: [PATCH 10/14] tablet-shell: add event in tablet-client protocol.

2012-08-21 Thread Philipp Brüschweiler
On Tue, Aug 21, 2012 at 1:49 PM, tecto...@gmail.com wrote: From: Ning Tang ning.t...@intel.com When a client is binded, the server side will send an event to let the client set fullscreen. If the client don't response, it will remain centered. Signed-off-by: Ning Tang tecto...@gmail.com

[PATCH 0/3] Add tests and documentation for text protocol

2012-08-21 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com Add tests for text_model (activate/deactivate/surface focus lost) and documentation for text protocol. Jan Arne Petersen (3): tests: Explicitly define the test client to launch tests: Add unit test for text model text: Add some documentation

[PATCH 3/3] text: Add some documentation to the text protocol.

2012-08-21 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com --- protocol/text.xml | 70 --- 1 file changed, 67 insertions(+), 3 deletions(-) diff --git a/protocol/text.xml b/protocol/text.xml index 7554167..3d7b92d 100644 --- a/protocol/text.xml +++

[PATCH 1/3] tests: Explicitly define the test client to launch

2012-08-21 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com Allow different test clients to launch. The test client is defined by an argument in the test_client_launch() function. --- tests/client-test.c | 2 +- tests/event-test.c | 2 +- tests/test-runner.c | 4 ++-- tests/test-runner.h | 2 +- 4 files

[PATCH 2/3] tests: Add unit test for text model

2012-08-21 Thread Jan Arne Petersen
From: Jan Arne Petersen jpeter...@openismus.com Add tests for activate/deactivate and unfocusing of the assigned surface. --- tests/.gitignore | 2 +- tests/Makefile.am| 8 +- tests/test-text-client.c | 260 +++ tests/text-test.c

Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread darxus
On 08/21, Jørgen Lind wrote: Will the Qt compositor host the xwayland server? I have to admit that we haven't focused much on this. Technically its possible, but you have to do some work yourself I suppose. Or you can wait untill we have done it. How is that likely to end up working? I'm

Re: Q: xwayland overt Qt-compositor?

2012-08-21 Thread Scott Moreau
On Tue, Aug 21, 2012 at 10:31 AM, dar...@chaosreigns.com wrote: On 08/21, Jørgen Lind wrote: Will the Qt compositor host the xwayland server? I have to admit that we haven't focused much on this. Technically its possible, but you have to do some work yourself I suppose. Or you can wait

Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Bill Spitzak
On 07/25/2012 12:44 AM, Tiago Vignatti wrote: On 07/25/2012 09:25 AM, Bill Spitzak wrote: xwayland failed to build: checking for SHA1 implementation... configure: error: No suitable SHA1 implementation found I'm using gcrypt in my system ('sudo apt-get install libgcrypt11-dev'). But X does

Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Scott Moreau
Got a little further having installed libgcrypt11-dev and --with-sha1=libgcrypt on the configure of xserver. However xserver now fails with the following error: xwayland-input.c: In function 'create_input_device': xwayland-input.c:499:51: error: 'wl_input_device_interface' undeclared

Re: [PATCH 09/14] tablet-shell: add shell_surface in tablet-shell.

2012-08-21 Thread Juan Zhao
On Tue, 2012-08-21 at 17:35 +0300, Pekka Paalanen wrote: On Tue, 21 Aug 2012 19:49:23 +0800 tecto...@gmail.com wrote: From: Ning Tang ning.t...@intel.com Since now toytoolkit and simple programs use shell_surface to show on screen, we add it in tablet-shell to let them show. But we

RE: [PATCH 04/14] tablet-shell: add sliding effect of layout.

2012-08-21 Thread Tang, Ning
-Original Message- From: Philipp Brüschweiler [mailto:ble...@gmail.com] Sent: Tuesday, August 21, 2012 9:59 PM To: tecto...@gmail.com Cc: wayland-devel@lists.freedesktop.org; juan.j.z...@linux.intel.com; Tang, Ning Subject: Re: [PATCH 04/14] tablet-shell: add sliding effect of

RE: [PATCH 06/14] tablet-shell: add trash function when dragging launcher icon.

2012-08-21 Thread Tang, Ning
-Original Message- From: Philipp Brüschweiler [mailto:ble...@gmail.com] Sent: Tuesday, August 21, 2012 11:01 PM To: tecto...@gmail.com Cc: wayland-devel@lists.freedesktop.org; juan.j.z...@linux.intel.com; Tang, Ning Subject: Re: [PATCH 06/14] tablet-shell: add trash function when

Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Bill Spitzak
On 08/21/2012 10:17 AM, Scott Moreau wrote: Got a little further having installed libgcrypt11-dev and --with-sha1=libgcrypt on the configure of xserver. However xserver now fails with the following error: xwayland-input.c: In function 'create_input_device':

Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Scott Moreau
You probably have the wrong xserver code. Make sure you get it from the xwayland-1.12 branch of git://anongit.freedesktop.org/**xorg/xserverhttp://anongit.freedesktop.org/xorg/xserver http://anongit.freedesktop.**org/xorg/xserverhttp://anongit.freedesktop.org/xorg/xserver with latest here