Re: [RFC wayland] doc: generate doxygen html output from the scanner

2015-11-04 Thread Jonas Ådahl
On Thu, Oct 29, 2015 at 11:48:01AM +1000, Peter Hutterer wrote: > This switches the scanner to generate doxygen-compatible tags for the > generated protocol headers, and hooks up the doxygen build to generate server > and client-side API documentation. > > For the wayland protocol, this generates

Re: [PATCH weston 00/10] weston wayland-protocols migration

2015-11-04 Thread Jonas Ådahl
On Wed, Nov 04, 2015 at 05:50:00PM +0100, Mariusz Ceier wrote: > Hi, >Weston doesn't compile with this patchset - some source files in clients > directory still use old or removed headers. > I had to replace xdg-shell-server-protocol.h in desktop-shell/shell.c > with xdg-shell-unstable-v5-serve

Re: [PATCH v5 wayland] protocol: add wl_pointer.frame, axis_source, axis_stop, and axis_discrete

2015-11-04 Thread Jonas Ådahl
On Thu, Nov 05, 2015 at 08:44:57AM +1000, Peter Hutterer wrote: > On Wed, Nov 04, 2015 at 09:57:35AM +0800, Jonas Ådahl wrote: > > On Wed, Oct 28, 2015 at 03:34:31PM +1000, Peter Hutterer wrote: > [...] > > > + > > > + > > > + Indicates the end of a set of events that logically belong tog

Re: [RFC wayland] doc: generate doxygen html output from the scanner

2015-11-04 Thread Peter Hutterer
CC-ing Tiago for the doxygen question On Wed, Nov 04, 2015 at 03:30:29PM -0800, Bryce Harrington wrote: > On Mon, Nov 02, 2015 at 10:27:54AM +1000, Peter Hutterer wrote: > > On Fri, Oct 30, 2015 at 03:40:33PM -0700, Bryce Harrington wrote: > > > On Thu, Oct 29, 2015 at 11:48:01AM +1000, Peter Hutt

Re: [RFC wayland] doc: generate doxygen html output from the scanner

2015-11-04 Thread Bryce Harrington
On Mon, Nov 02, 2015 at 10:27:54AM +1000, Peter Hutterer wrote: > On Fri, Oct 30, 2015 at 03:40:33PM -0700, Bryce Harrington wrote: > > On Thu, Oct 29, 2015 at 11:48:01AM +1000, Peter Hutterer wrote: > > > This switches the scanner to generate doxygen-compatible tags for the > > > generated protoco

Re: [PATCH wayland v3 0/4] Enum and bitfield XML attributes

2015-11-04 Thread Bryce Harrington
On Sat, Oct 24, 2015 at 12:07:46PM +0100, Auke Booij wrote: > There has been plenty of discussion regarding the introduction of new XML > attributes. This series of patches improves on my earlier attempt to find > common ground in this. > > Major exclusions from these patches are: > > - Support

Re: [PATCH v5 wayland] protocol: add wl_pointer.frame, axis_source, axis_stop, and axis_discrete

2015-11-04 Thread Peter Hutterer
On Wed, Nov 04, 2015 at 09:57:35AM +0800, Jonas Ådahl wrote: > On Wed, Oct 28, 2015 at 03:34:31PM +1000, Peter Hutterer wrote: [...] > > + > > + > > + Indicates the end of a set of events that logically belong together. > > + A client is expected to accumulate the data in all events e

Re: [PATCH weston v2] data-device: Implement DnD progress notification

2015-11-04 Thread Bryce Harrington
On Mon, Nov 02, 2015 at 09:15:15PM +0100, Carlos Garnacho wrote: > Hi Bryce, > > On Mon, Nov 2, 2015 at 8:44 PM, Bryce Harrington > wrote: > > On Fri, Oct 30, 2015 at 10:04:49PM +0100, Carlos Garnacho wrote: > >> Weston now sends wl_data_source.drop_performed and .drag_finished in > >> order to

Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Manuel Bachmann
Hi Derek, and thanks for your answer, You are right, maybe we could search a config with matching visual_id, and if one does not exist, then fallback to a "0" config. I can rework the patch to do this ; but if you already started working on a new one, I will wait and be happy to test it :). PS :

Re: [PATCH weston] compositor-drm: fall back to EGL visual_id 0 if no others work

2015-11-04 Thread Bryce Harrington
On Wed, Nov 04, 2015 at 02:47:33PM -0600, Derek Foreman wrote: > commit e76f185 stopped using visuals with "native visual id" == 0 > > This broke some systems, so we now try 0 as a worst case fallback if > everything else has failed. > > Signed-off-by: Derek Foreman Reviewed-by: Bryce Harrington

Re: [PATCH v5 wayland] protocol: add wl_pointer.frame, axis_source, axis_stop, and axis_discrete

2015-11-04 Thread Bryce Harrington
On Sun, Nov 01, 2015 at 11:41:22AM +1000, Peter Hutterer wrote: > On 31/10/2015 09:17 , Bryce Harrington wrote: > >On Wed, Oct 28, 2015 at 03:34:31PM +1000, Peter Hutterer wrote: > >>The frame event groups separate pointer events together. The primary > >>use-case > >>for this at the moment is dia

[PATCH weston] compositor-drm: fall back to EGL visual_id 0 if no others work

2015-11-04 Thread Derek Foreman
commit e76f185 stopped using visuals with "native visual id" == 0 This broke some systems, so we now try 0 as a worst case fallback if everything else has failed. Signed-off-by: Derek Foreman --- I'm not able to confirm myself that this fixes the bug it's intended to... src/compositor-drm.c |

Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Derek Foreman
On 04/11/15 01:44 PM, Bryce Harrington wrote: > On Wed, Nov 04, 2015 at 02:57:11PM +0100, Manuel Bachmann wrote: >> Accept 0 as a valid value for the EGL_NATIVE_VISUAL_ID >> attribute in EGL configurations, just as we did before >> commit e76f185. >> >> (fixes running Weston with DRM backend and gl

Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Bryce Harrington
On Wed, Nov 04, 2015 at 02:57:11PM +0100, Manuel Bachmann wrote: > Accept 0 as a valid value for the EGL_NATIVE_VISUAL_ID > attribute in EGL configurations, just as we did before > commit e76f185. > > (fixes running Weston with DRM backend and gl-renderer > on Lenovo ThinkPad with i915 driver) >

Re: [PATCH weston 00/10] weston wayland-protocols migration

2015-11-04 Thread Mariusz Ceier
Hi, Weston doesn't compile with this patchset - some source files in clients directory still use old or removed headers. I had to replace xdg-shell-server-protocol.h in desktop-shell/shell.c with xdg-shell-unstable-v5-server-protocol.h and disable clients compilation in order to be able to compi

Re: Unstable protocol name breakage

2015-11-04 Thread Pekka Paalanen
On Mon, 2 Nov 2015 11:24:01 +0800 Jonas Ådahl wrote: > On Fri, Oct 30, 2015 at 05:03:29PM -0700, Bryce Harrington wrote: > > On Tue, Oct 20, 2015 at 10:22:45AM +0800, Jonas Ådahl wrote: > > > Hi again, > > > > > > I was about to start migrating generic protocols away from weston into > > > wayla

[PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Manuel Bachmann
Accept 0 as a valid value for the EGL_NATIVE_VISUAL_ID attribute in EGL configurations, just as we did before commit e76f185. (fixes running Weston with DRM backend and gl-renderer on Lenovo ThinkPad with i915 driver) Signed-off-by: Manuel Bachmann --- src/gl-renderer.c | 2 +- 1 file changed,

Re: [PATCH weston 05/10] Use input method protocol from wayland-protocols

2015-11-04 Thread Jan Arne Petersen
On 04/11/15 09:49, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl Reviewed-by: Jan Arne Petersen > --- > Makefile.am | 17 ++- > clients/keyboard.c | 174 +- > clients/weston-simple-im.c | 122 +-- > desktop-shell/input-pane

Re: [PATCH weston 04/10] Use text input protocol from wayland-protocols

2015-11-04 Thread Jan Arne Petersen
On 04/11/15 09:49, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl Reviewed-by: Jan Arne Petersen > --- > Makefile.am| 21 ++- > clients/editor.c | 119 + > clients/keyboard.c | 12 +- > protocol/text.xml | 374 > -

Re: [PATCH weston] libinput: don't fail if no input device exists

2015-11-04 Thread Pekka Paalanen
On Tue, 3 Nov 2015 13:32:51 + "Ucan, Emre (ADITG/SW1)" wrote: > There is no reason to fail at udev_input_init, > if no input device is recognized by libinput. > > An input device can be hot-plugged later. > > Signed-off-by: Emre Ucan > --- > src/libinput-seat.c |1 - > 1 file changed,

[PATCH][weston] build: Require dbus for systemd-login

2015-11-04 Thread Manuel Bachmann
systemd-login support requires dbus (see "dbus.h" header in "launcher-logind.c") but the configure script was only checking libsystemd-login availability to define the HAVE_SYSTEMD_LOGIN macro, which results in undefined symbols in launcher-unit. Put the systemd-login checks after the dbus ones, a

[PATCH weston 06/10] Makefile.am: Make the external xml scanning rule version generic

2015-11-04 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6b2b3da..66d133d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1414,13 +1414,21 @@ doc: $(DOXYGEN_INDICES) .SECONDEXPANSION: -protoc

[PATCH weston 09/10] Rename screenshooter protocol to weston_screenshooter

2015-11-04 Thread Jonas Ådahl
Due to the effort of moving a way from non-prefixed protocols, rename the weston specific screenshooter protocol to weston_screenshooter. Signed-off-by: Jonas Ådahl --- Makefile.am | 14 +++--- clients/screenshot.c | 21 + protocol/s

[PATCH weston 04/10] Use text input protocol from wayland-protocols

2015-11-04 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am| 21 ++- clients/editor.c | 119 + clients/keyboard.c | 12 +- protocol/text.xml | 374 - src/text-backend.c | 56 tests/text-test.c | 52 6 files chang

[PATCH weston 07/10] Use xdg_shell protocol from wayland-protocols

2015-11-04 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am| 29 ++- protocol/xdg-shell.xml | 616 - 2 files changed, 14 insertions(+), 631 deletions(-) delete mode 100644 protocol/xdg-shell.xml diff --git a/Makefile.am b/Makefile.am index 66d133d..46

[PATCH weston 03/10] Use presentation timing protocol from wayland-protocols

2015-11-04 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 21 ++- clients/presentation-shm.c | 65 +- clients/weston-info.c| 19 +-- protocol/presentation_timing.xml | 274 --- src/compositor-drm.c | 14 +- src/

[PATCH weston 10/10] Remove workspaces protocol

2015-11-04 Thread Jonas Ådahl
It doesn't fill a useful function and is not intended to be continued. If there is need for workspace manipulation from clients a protocol based on those future needs need to be properly designed. workspaces.xml is probably not very relevant since it did the bare minimum. Signed-off-by: Jonas Ådah

[PATCH weston 05/10] Use input method protocol from wayland-protocols

2015-11-04 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 17 ++- clients/keyboard.c | 174 +- clients/weston-simple-im.c | 122 +-- desktop-shell/input-panel.c | 12 +- ivi-shell/input-panel-ivi.c | 12 +- protocol/input-method.xml | 291

[PATCH weston 08/10] desktop-shell: Rename protocol weston_desktop_shell

2015-11-04 Thread Jonas Ådahl
In the effort of going away from generic names of protocols only relevant for weston, rename the weston desktop shell weston_desktop_shell. This also resets the version to 1, as there will be no prior versions to weston_desktop_shell. Signed-off-by: Jonas Ådahl --- Makefile.am

[PATCH weston 01/10] Use fullscreen-shell.xml from wayland-protocols

2015-11-04 Thread Jonas Ådahl
Use the fullscreen-shell protocol XML from the wayland-protocols installation, and remove the one we provide ourself. Signed-off-by: Jonas Ådahl --- Makefile.am | 44 +--- clients/fullscreen.c| 60 +-- clients/simple-damage.c | 1

[PATCH weston 02/10] Use linux-dmabuf protocol from wayland-protocols

2015-11-04 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- Makefile.am | 13 +-- clients/simple-dmabuf.c | 56 +- protocol/linux-dmabuf.xml | 274 -- src/gl-renderer.c | 6 +- src/linux-dmabuf.c| 40 +++ 5 files changed, 57 insertio

[PATCH weston 00/10] weston wayland-protocols migration

2015-11-04 Thread Jonas Ådahl
Hi, This series changes weston to depend on wayland-protocols for the majority of the protocols previously in the protocols/ directory. The protocols moved are also renamed to comply with the unstable naming conventions of wayland-protocols, with the exception of xdg_shell which will use the curre