Re: [PATCH 1/7] protocol: add linux_dmabuf extension RFCv1

2014-12-18 Thread Daniel Vetter
On Fri, Dec 12, 2014 at 04:51:02PM -0500, Louis-Francis Ratté-Boulianne wrote: From: Pekka Paalanen pekka.paala...@collabora.co.uk An experimental (hence the 'z' prefix) linux_dmabuf Wayland protocol extension for creating dmabuf-based wl_buffers in a generic manner. This does not include

Re: [PATCH 1/7] protocol: add linux_dmabuf extension RFCv1

2014-12-18 Thread Pekka Paalanen
On Thu, 18 Dec 2014 10:25:09 +0100 Daniel Vetter dan...@ffwll.ch wrote: On Fri, Dec 12, 2014 at 04:51:02PM -0500, Louis-Francis Ratté-Boulianne wrote: From: Pekka Paalanen pekka.paala...@collabora.co.uk An experimental (hence the 'z' prefix) linux_dmabuf Wayland protocol extension for

Re: [PATCH v2] doc: two patches

2014-12-18 Thread Pekka Paalanen
On Wed, 17 Dec 2014 12:09:43 -0800 Bryce Harrington br...@osg.samsung.com wrote: On Tue, Dec 16, 2014 at 07:23:01PM -0800, Bill Spitzak wrote: These supersede my previous patches for this. The first bug fix has been updated to use macros like $(MKDIR_P) The second one, which is a

Re: [PATCH] doc: Make it easier to add a new doxygen page

2014-12-18 Thread Pekka Paalanen
On Tue, 16 Dec 2014 19:52:10 -0800 Bill Spitzak spit...@gmail.com wrote: This supersedes the previous one and fixes a typo where a slash was missing. D'oh, I didn't notice this and pushed the earlier one. I pushed a fixup as a follow-up. Thanks, pq The repetitive parts of generating the

Re: [PATCH wayland-web] Fix broken EGL_WL_bind_wayland_display link in architecture.html

2014-12-18 Thread Pekka Paalanen
On Tue, 16 Dec 2014 08:33:38 -0600 Derek Foreman der...@osg.samsung.com wrote: Signed-off-by: Derek Foreman der...@osg.samsung.com --- architecture.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/architecture.html b/architecture.html index 4497674..6f3c554

Re: [PATCH v2] doc: two patches

2014-12-18 Thread Pekka Paalanen
On Tue, 16 Dec 2014 19:23:01 -0800 Bill Spitzak spit...@gmail.com wrote: These supersede my previous patches for this. The first bug fix has been updated to use macros like $(MKDIR_P) The second one, which is a makefile cleanup, not a bug fix, has been updated so that make distcheck

Re: [PATCH] doc: Reduce the validation errors of the docbook input

2014-12-18 Thread Pekka Paalanen
On Wed, 10 Dec 2014 16:53:01 -0800 Bryce Harrington br...@osg.samsung.com wrote: On Tue, Dec 09, 2014 at 07:33:51PM -0800, Bill Spitzak wrote: This removes all the validation errors except for missing link targets. You can test this by removing the --skip-validation from

[PATCH libinput v3 2/2] Added configure option for documentation build.

2014-12-18 Thread Jon A. Cruz
Added option with fallback of 'auto' to control building of documentation. Signed-off-by: Jon A. Cruz j...@osg.samsung.com --- configure.ac| 72 ++--- doc/Makefile.am | 2 +- 2 files changed, 55 insertions(+), 19 deletions(-) diff --git

[PATCH libinput v3 1/2] Initial move of some wiki contents into main documentation.

2014-12-18 Thread Jon A. Cruz
This moves some information from the wiki into the main generated doxygen documenation. It is fairly rought but includes examples for inline and stand-alone diagrams, linking to external HTML pages, etc. Among other things, it allows for better cross-referencing into the main doxygen contents and

[PATCH libinput v3 0/2] Moving wiki contents into doxygen.

2014-12-18 Thread Jon A. Cruz
Initial round of moving certain wiki contents into doxygen build. Jon A. Cruz (2): Initial move of some wiki contents into main documentation. Added configure option for documentation build. configure.ac | 63 +++-- doc/Makefile.am

Re: [PATCH v2 weston] editor: Make editor multi-seat aware

2014-12-18 Thread Jan Arne Petersen
Hey, On Wed Dec 17 2014 at 4:53:24 PM Derek Foreman der...@osg.samsung.com wrote: With multi-seat, multiple entries can occur on the text inputs in the editor. Also, the panel shouldn't be hidden by the editor if either text entry is still active. Signed-off-by: Derek Foreman

Re: [PATCH v2] doc: two patches

2014-12-18 Thread Bill Spitzak
On 12/18/2014 05:56 AM, Pekka Paalanen wrote: On Tue, 16 Dec 2014 19:23:01 -0800 Bill Spitzak spit...@gmail.com wrote: These supersede my previous patches for this. The first bug fix has been updated to use macros like $(MKDIR_P) The second one, which is a makefile cleanup, not a bug fix,

Re: [PATCH libinput v3 2/2] Added configure option for documentation build.

2014-12-18 Thread Peter Hutterer
On Thu, Dec 18, 2014 at 10:49:59AM -0800, Jon A. Cruz wrote: Added option with fallback of 'auto' to control building of documentation. Signed-off-by: Jon A. Cruz j...@osg.samsung.com --- configure.ac| 72 ++--- doc/Makefile.am | 2

Re: [PATCH libinput v3 2/2] Added configure option for documentation build.

2014-12-18 Thread Jon A. Cruz
On 12/18/2014 02:30 PM, Peter Hutterer wrote: that's quite unusual. libinput.doxygen itself has no dependency on dot or doxygen, so I don't think moving this here is helpful, it just hides it away from a known location. ACK to the rest of the patch, I'll just move this bit back to

[PATCH libinput 1/8] tools: make event-debug's option parsing more flexible

2014-12-18 Thread Peter Hutterer
We need to be able to turn config options on/off for testing, so switch to something that's a bit more flexible than characters that represent the options. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/event-debug.c | 22 +++--- 1 file changed, 15

[PATCH libinput 5/8] tools: move applying device configuration to shared lib

2014-12-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/event-debug.c | 10 ++ tools/shared.c | 8 tools/shared.h | 3 ++- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/tools/event-debug.c b/tools/event-debug.c index b8be215..ffc9a13 100644

[PATCH libinput 4/8] tools: move opening the backend to the shared lib too

2014-12-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/event-debug.c | 79 ++ tools/shared.c | 91 + tools/shared.h | 4 +++ 3 files changed, 98 insertions(+), 76 deletions(-)

[PATCH libinput 2/8] tools: add --enable-tap to event-debug

2014-12-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/event-debug.c | 36 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/tools/event-debug.c b/tools/event-debug.c index 1be3e14..b6b7140 100644 --- a/tools/event-debug.c +++

[PATCH libinput 6/8] tools: add support to enable/disable natural scrolling

2014-12-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/shared.c | 16 tools/shared.h | 1 + 2 files changed, 17 insertions(+) diff --git a/tools/shared.c b/tools/shared.c index bd8fd11..623005e 100644 --- a/tools/shared.c +++ b/tools/shared.c @@ -39,6 +39,8 @@ enum

[PATCH libinput 8/8] tools: use the new shared lib from event-gui

2014-12-18 Thread Peter Hutterer
This gives the event gui the ability to use the path backend, and any configuration toggles given on the commandline. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/Makefile.am | 2 +- tools/event-gui.c | 50 ++ 2 files changed,

[PATCH libinput 3/8] tools: move option parsing to a helper library

2014-12-18 Thread Peter Hutterer
event-debug and event-gui can and should share this Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/Makefile.am | 8 +++- tools/event-debug.c | 121 +-- tools/shared.c | 133

[PATCH libinput 7/8] tools: add support for enabling/disabling left-handed button mappings

2014-12-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/shared.c | 15 +++ tools/shared.h | 1 + 2 files changed, 16 insertions(+) diff --git a/tools/shared.c b/tools/shared.c index 623005e..8439cb2 100644 --- a/tools/shared.c +++ b/tools/shared.c @@ -41,6 +41,8 @@ enum

[PATCH libinput 5/5] touchpad: revert to pointer movement when stopping twofinger scrolling

2014-12-18 Thread Peter Hutterer
Add a boolean state machine for two-finger scrolling so we know when we're currently scrolling. If we were scrolling and it stops, pick the active touch as pointer touch so we can go back to pointer movement without having to lift the finger off the touchpad.

[PATCH libinput 1/5] test: switch touch points around for semi-mt tap-n-drag testing

2014-12-18 Thread Peter Hutterer
The tests ignored it when motion events never happened - but that's mostly what these tests are about. This only happened for semi-mt devices that use the bounding box only, not separate touch points. Switching the touch points around that the bounding box doesn't interfere causes the test to work

[PATCH libinput 2/5] test: add helper function for checking for a specific event type

2014-12-18 Thread Peter Hutterer
In a few tests we care about that a specific set of events are in the queue but not about the details of the events (usually checked elsewhere). Instead of manual loops, provide a helper function that also checks that there is at least one of those events in the queue. Signed-off-by: Peter

[PATCH libinput 3/5] test: switch tests to use the new helper function

2014-12-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/touchpad.c | 79 ++--- 1 file changed, 8 insertions(+), 71 deletions(-) diff --git a/test/touchpad.c b/test/touchpad.c index e6f0eb6..1a0414c 100644 --- a/test/touchpad.c +++

[PATCH libinput 4/5] touchpad: rename scroll.state to scroll.edge_state

2014-12-18 Thread Peter Hutterer
In preparation for a twofinger_state field, to avoid confusion. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev-mt-touchpad-edge-scroll.c | 6 +++--- src/evdev-mt-touchpad.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 5/7] doc: added \memberof and \cond commands

2014-12-18 Thread Bill Spitzak
\memberof added to undocumented functions that belong to classes, such as all the wl_list_* functions. This makes doxygen produce them as a single block. \cond added to hide the non-public map implementation. --- src/wayland-client.c |7 --- src/wayland-server.c | 39

[PATCH 1/7] doc: Reduce the validation errors of the docbook input

2014-12-18 Thread Bill Spitzak
(this is different from previous version as it removes some broken and irrelevant changes to the protocol appendix). This removes all the validation errors except for missing link targets. You can test this by removing the --skip-validation from doc/publican/Makefile.am. Main changes are to

[PATCH 7/7] doc: Intro text for doxygen output in it's own file

2014-12-18 Thread Bill Spitzak
Removed this text from the doxygen-publican converter. This makes it possible to customize the text. This versions produce the same text as before except I changed server to compositor. Somebody with more understanding of Wayland may want to improve the text. --- doc/publican/Makefile.am

[PATCH 3/7] doc: Each class in doxygen output is a section

2014-12-18 Thread Bill Spitzak
All the methods belonging to the class are listed with it, making it much easier to find them. I dumped all other functions into a section called Functions at the end. --- doc/publican/doxygen-to-publican.xsl | 36 -- 1 file changed, 21 insertions(+), 15

[PATCH 2/7] doc: removed the word interface from the link names

2014-12-18 Thread Bill Spitzak
Just to make it slightly shorter. Also add a dash to the doxygen links to make them look a bit more alike. --- doc/publican/doxygen-to-publican.xsl|6 +++--- doc/publican/protocol-interfaces-to-docbook.xsl | 10 +- doc/publican/protocol-to-docbook.xsl|7

[PATCH 6/7] doc: make itemized lists from doxygen work

2014-12-18 Thread Bill Spitzak
Not actually used currently but probably a good idea. --- doc/publican/doxygen-to-publican.xsl |8 1 file changed, 8 insertions(+) diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl index dfd47ee..a151628 100644 ---

[PATCH 4/7] doc: Document structures and unions in addition to classes

2014-12-18 Thread Bill Spitzak
This provides targets for some of the doxygen links, and some of them have useful memberof function lists. Added some if/else statements to reduce validation errors. --- doc/publican/doxygen-to-publican.xsl | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff

[PATCH] doc: Improve doxygen conversion

2014-12-18 Thread Bill Spitzak
The first patch supersedes one of my previous ones, the change is to remove some irrelevant and broken changes to the protocol docs. Other changes fix the doxygen conversion so that each class/struct is a section, with all the related functions in that section. This makes it a lot easier to read

Re: [PATCH libinput 1/8] tools: make event-debug's option parsing more flexible

2014-12-18 Thread Bill Spitzak
On 12/18/2014 03:16 PM, Peter Hutterer wrote: We need to be able to turn config options on/off for testing, so switch to something that's a bit more flexible than characters that represent the options. +enum options { + OPT_DEVICE, + OPT_UDEV, + OPT_HELP, +