On 12/09/2014 08:35 AM, Derek Foreman wrote:
>
> Any way we can print a more descriptive error at failure time instead of
> just hiding a clue in the docs? Or can we just disable docbook if deps
> aren't present?
>
> I'm not certain Arch will be the only distribution to ever have this
> problem,
On Tue, Dec 09, 2014 at 05:01:08PM -0800, Bill Spitzak wrote:
> This supersedes the previous patches. The main change is that this
> is rebased atop Jon A Cruz's patches (which are included here as the
> first 2). I also merged two related patches and updated the comments.
This supersedes the chap
On Tue, Dec 09, 2014 at 05:01:12PM -0800, Bill Spitzak wrote:
> This was suggested before to make it clearer that things like wl_display
> are different objects in each of them. I made these into two appendixes
> because the protocol spec was already an appendix.
> ---
> doc/publican/Makefile.am
Two methods are provided:
* button area - used on most clickpads, a click with a touch within a given
area generates left/middle/right clicks
* clickfinger - used on apple touchpads, a click with 1/2/3 fingers on the
touchpad generates a left, right, middle click
Both methods already exist in
Signed-off-by: Peter Hutterer
---
test/touchpad.c | 85 +
1 file changed, 85 insertions(+)
diff --git a/test/touchpad.c b/test/touchpad.c
index 934674c..01dabfd 100644
--- a/test/touchpad.c
+++ b/test/touchpad.c
@@ -745,6 +745,87 @@ START_T
Allow switching between softbuttons and clickfinger on any mt-capable
clickpad.
This disables top software buttons on T440s when switching to clickfingers.
That's left as a future project for those that need this exact behavior...
The top buttons will work if the touchpad is disabled though.
Sign
Signed-off-by: Peter Hutterer
---
test/touchpad.c | 293
1 file changed, 293 insertions(+)
diff --git a/test/touchpad.c b/test/touchpad.c
index 44b403b..c044fee 100644
--- a/test/touchpad.c
+++ b/test/touchpad.c
@@ -884,6 +884,198 @@ START
Signed-off-by: Peter Hutterer
---
test/touchpad.c | 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/test/touchpad.c b/test/touchpad.c
index 01dabfd..44b403b 100644
--- a/test/touchpad.c
+++ b/test/touchpad.c
@@ -828,8 +828,13 @@ END_TEST
START_TEST(tou
On Tue, Dec 09, 2014 at 11:36:42AM -0800, Jason Ekstrand wrote:
> Bryce,
> Thanks for your thoughts. I've got a few of my own, but I decided to reply
> to your e-mail as it seemed the best branch-point for the actual discussion
> without replying to everything.
>
> On Mon, Dec 8, 2014 at 3:26 PM,
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 add to lists, remove some extra
commands, and prefix all the id's so that collisions
between libclient and libserver are
On Tue, Dec 09, 2014 at 12:47:10PM +0100, Hans de Goede wrote:
> When clicking a clickpad the user may want to switch fingers to move the
> pointer around, without lifting so as to not release the button.
>
> Switch to using combined motion of all touches when a clickpad is clicked to
> allow this
On Tue, Dec 09, 2014 at 12:47:11PM +0100, Hans de Goede wrote:
> Use TOUCHPAD_MIN_SAMPLES in tp_get_delta rather then hardcoding "4".
s/then/than/
> Also remove the superfluous TOUCHPAD_MIN_SAMPLES check before calling
> tp_get_delta in tp_get_pointer_delta, this is not necessary as tp_get_delta
On Tue, Dec 09, 2014 at 01:34:23AM -0800, Jon A. Cruz wrote:
> Split out directory creation to leverage order only prerequisites.
bit beyond my puny make skills but to the best of my abilities both patches:
Acked-by: Peter Hutterer
learned a few new tricks though :)
Cheers,
Peter
> Signed-o
On 12/09/2014 04:34 PM, Peter Hutterer wrote:
> Makes them show up on the respective page and in the data structures list
> doxygen generates.
>
> Signed-off-by: Peter Hutterer
> ---
> src/libinput.h | 29 +
> 1 file changed, 29 insertions(+)
>
> diff --git a/src/l
In the current test, disable followed by enable would result in the same fd
number for the new device, not exposing a bug fixed by
"evdev: Ensure the libevdev object receives the new fd on resume"
Create a keyboard device after suspending the first device, then re-enable the
device. This changes t
From: Carlos Garnacho
Otherwise, input_events will be attempted to read from the wrong place,
which also leaves the right/current fd with pending data to be read,
making the epoll fd wake up constantly.
Signed-off-by: Carlos Garnacho
Reviewed-by: Peter Hutterer
Signed-off-by: Peter Hutterer
-
On 12/09/2014 12:00 PM, Bill Spitzak wrote:
> Did you see the patch I posted that merged the client/server stuff
> together into rules using % so that it is easier to add more
> doxygen-produced chapters?
>
Yes, but it did appear to not be much in contention with these. I
figured that I could eas
This supersedes the previous patches. The main change is that this
is rebased atop Jon A Cruz's patches (which are included here as the
first 2). I also merged two related patches and updated the comments.
___
wayland-devel mailing list
wayland-devel@lis
From: "Jon A. Cruz"
Split out directory creation to leverage order only prerequisites.
Signed-off-by: Jon A. Cruz
---
doc/doxygen/Makefile.am | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index f8d6
This was suggested before to make it clearer that things like wl_display
are different objects in each of them. I made these into two appendixes
because the protocol spec was already an appendix.
---
doc/publican/Makefile.am |1 -
doc/publican/doxygen-to-publican.xsl | 28 +++
From: "Jon A. Cruz"
This is a general cleanup of the makefile in order to bring it more inline
with standard make practices. Cleanups included more use of automatic
variables, switching AM_V_GEN to AM_V_at to have one 'GEN' visible per file,
splitting copy operations to proper rules, and using or
It was telling it to scan the doxyfile as well as the C source, and
listing some source files more than once.
---
doc/doxygen/Makefile.am |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 7276f5c..8d563f4 100644
The repetitive parts of generating the server and client documentation are
merged, so it is easier to add another doxygen chapter: add a new line to
$publican_sources in publican/Makefile.am, and a list of C source files to
doxygen/Makefile.am.
---
doc/doxygen/Makefile.am | 23 +
On Tue, Dec 09, 2014 at 03:55:32PM +0100, Carlos Garnacho wrote:
> Otherwise, input_events will be attempted to read from the wrong place,
> which also leaves the right/current fd with pending data to be read,
> making the epoll fd wake up constantly.
>
> Signed-off-by: Carlos Garnacho
huh, this
Makes them show up on the respective page and in the data structures list
doxygen generates.
Signed-off-by: Peter Hutterer
---
src/libinput.h | 29 +
1 file changed, 29 insertions(+)
diff --git a/src/libinput.h b/src/libinput.h
index 682e16f..d6e0446 100644
--- a/src
This isn't the final 0.8.0 API yet, but we might as well get started.
Signed-off-by: Peter Hutterer
---
src/Makefile.am | 5 ++-
src/libinput.sym | 117 +++
2 files changed, 120 insertions(+), 2 deletions(-)
create mode 100644 src/libinput.
Signed-off-by: Peter Hutterer
---
src/libinput.h | 34 ++
1 file changed, 34 insertions(+)
diff --git a/src/libinput.h b/src/libinput.h
index d6e0446..7e5d93c 100644
--- a/src/libinput.h
+++ b/src/libinput.h
@@ -302,8 +302,31 @@ enum libinput_event_type {
doxygen supports markdown so we can expand the README with general interesting
information in markdown format and have it be the front page of the
documentation at the same time.
This requires renaming README to README.txt, but that's a relatively small
price to pay.
Signed-off-by: Peter Hutterer
Unlike all other structs, events aren't refcounted and will get destroyed
immediately.
Signed-off-by: Peter Hutterer
---
src/libinput.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/libinput.h b/src/libinput.h
index 7e5d93c..f7cb169 100644
--- a/src/libinput.h
Signed-off-by: Peter Hutterer
---
src/evdev.c| 7 ---
src/libinput.c | 16
src/libinput.h | 27 ---
3 files changed, 50 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index 0873c99..ad167b2 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1604
Since when it started I was following the list:
-First weston announce:
http://lists.freedesktop.org/archives/wayland-devel/2012-January/001763.html
-Some questions to Kristian about the same subject(with reply):
[Weston SDK]
http://lists.freedesktop.org/archives/wayland-devel/2013-February/00741
You bring this up every single time somebody mentions keyboard input, and
every single time we explain in excruciating detail exactly how you're
wrong, why you're wrong, and why the use cases you cite are broken work
perfectly today.
Please stop bringing it up. This is your second warning.
On Tue
On 12/09/2014 12:48 AM, Hans de Goede wrote:
No this is about input-method like functionality.
Okay, in that case I think the api should be designed such that a text
editor gets the UTF-8 to insert in *exactly* the same way whether the
language is English or Chinese or Russian and whether or
On 08/12/14 08:07 AM, Jonas Ådahl wrote:
> On Tue, Dec 02, 2014 at 02:39:21PM -0800, Bill Spitzak wrote:
>> On 12/02/2014 05:49 AM, Jonas Ådahl wrote:
>>
>>> +
>>> +
>>> +The lock_pointer request lets the client disable absolute pointer
>>> +movements, locking the pointer
Realy happy to see something like this! :)
I've already commented on individual patches, almost entirely cosmetic crap.
Patch 1 and 8 I think are correct, but I'm not confident enough to say
that out loud ;) (especially wrt the XXX comments in patch 8)
Otherwise,
Reviewed-by: Derek Foreman
This new test fails for me:
"interactive.weston: tests/interactive-test.c:115:
focus_tests_one_client: Assertion `c1->input->keyboard->focus ==
c1->surface->wl_surface' failed.
On 05/12/14 07:36 AM, Marek Chalupa wrote:
> These tests are using pointer and keyboard simulated events
> to interact wi
On 05/12/14 07:36 AM, Marek Chalupa wrote:
> Add functions that simulate pointer movement, draging and clicking.
> These functions will be handy in more tests, so add them to helpers.
>
> Signed-off-by: Marek Chalupa
> ---
> tests/weston-test-client-helper.c | 57
> +
On 05/12/14 07:36 AM, Marek Chalupa wrote:
> ---
> protocol/wayland-test.xml | 11 +++
> tests/weston-test-client-helper.c | 18 ++
> tests/weston-test-client-helper.h | 6 ++
> tests/weston-test.c | 23 +++
> 4 files changed,
On 05/12/14 07:36 AM, Marek Chalupa wrote:
> Split display_run into two functions - display_run and display_dispatch.
> display_dispatch is the part that actually does something and
> display_run just calls it in a loop. Now we can dispatch toytoolkit
> events in tests (display_run is blocking, so
Distill has 2 ls...
On 05/12/14 07:36 AM, Marek Chalupa wrote:
> Split out the real code from event handlers (like pointer_handle_motion,
> etc.) and put it into standalone function. We'll use it in follow-up
> patch where we will register handlers for toytoolkit clients and we'll
> use the new fu
On 05/12/14 07:36 AM, Marek Chalupa wrote:
> We need get wayland objects from toytoolkit display
> (there already are display_get_output, input_get_seat, ...),
> so that we can use them in the tests. This patch adds:
>
> display_get_input()
> input_get_wl_pointer()
> input_get_wl_keyboard()
Did you see the patch I posted that merged the client/server stuff
together into rules using % so that it is easier to add more
doxygen-produced chapters?
On 12/09/2014 01:34 AM, Jon A. Cruz wrote:
This is a general cleanup of the makefile in order to bring it more inline
with standard make pr
Bryce,
Thanks for your thoughts. I've got a few of my own, but I decided to reply
to your e-mail as it seemed the best branch-point for the actual discussion
without replying to everything.
On Mon, Dec 8, 2014 at 3:26 PM, Bryce Harrington
wrote:
> On Mon, Dec 08, 2014 at 02:01:32PM +0200, Pekka
On 05/12/14 07:36 AM, Marek Chalupa wrote:
> We want to use toytoolkit in tests. This patch also
> removes collisions of symbols defined in libtoytoolkit
> with symbols defined in tests (i. e. shm_listener)
This patch introduces a compiler warning over the definition of
xzalloc() in presentation-t
On 09/12/14 12:29 PM, Ondřej Majerech wrote:
> On Tue, 09 Dec 2014 10:19:22 -0600
> Derek Foreman wrote:
>
>> On 05/12/14 07:49 PM, Ondřej Majerech wrote:
>>> load_modules currently ignores errors signalled by both
>>> weston_load_module and module_init, and instead always returns 0.
>>> Its retu
On Tue, 9 Dec 2014 09:29:15 +0900
"Tanibata, Nobuhiko (ADITJ/SWG)" wrote:
> How about adding more info like following to clearly say which shell
> output this log? weston_log("ivi-shell: No ivi-module set in
> weston.conf\n");
Yes, clearly identifying the shell sounds like a good idea. :-)
>
>
On Tue, 09 Dec 2014 10:19:22 -0600
Derek Foreman wrote:
> On 05/12/14 07:49 PM, Ondřej Majerech wrote:
> > load_modules currently ignores errors signalled by both
> > weston_load_module and module_init, and instead always returns 0.
> > Its return value appears to be checked in callers, so we mos
On 05/12/14 06:49 AM, Marek Chalupa wrote:
> The fd member of clipboard_source structure was not set
> but was used in close().
>
> Signed-off-by: Marek Chalupa
> ---
> src/clipboard.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/clipboard.c b/src/clipboard.c
> index dbd8c9b
On 05/12/14 06:49 AM, Marek Chalupa wrote:
> There were unchecked malloc and free of conditionally allocated
> memory without checking if the memory was really allocated.
> Also simplify error handling in one function.
>
> Signed-off-by: Marek Chalupa
> ---
> src/screenshooter.c | 27 +++
On 08/12/14 08:49 AM, Jon A. Cruz wrote:
> Adding simple notes on DocBook dependencies needed when building on Arch
> Linux.
> Without these being present the documentation build will attempt network
> access
> and fail outright or warn and then not produce correct results when no
> Internet
> a
On 05/12/14 07:49 PM, Ondřej Majerech wrote:
> load_modules currently ignores errors signalled by both
> weston_load_module and module_init, and instead always returns 0. Its
> return value appears to be checked in callers, so we most likely want to
> propagate any errors.
>
> Signed-off-by: Ondře
On Fri, 5 Dec 2014 14:03:28 +0100
Marek Chalupa wrote:
> On 3 December 2014 at 17:04, Daniel Stone wrote:
>
> > Hi,
> >
> > On 3 December 2014 at 14:53, Marek Chalupa wrote:
> >
> >> + * fds[0].fd = wl_display_get_fd(display);
> >> + * fds[0].event = POLLIN | POLLHUP | POLLERR;
> >>
> >
>
On Wed, 3 Dec 2014 13:05:16 +0100
Marek Chalupa wrote:
> On 28 November 2014 at 14:30, Pekka Paalanen wrote:
>
> > On Fri, 28 Nov 2014 12:18:55 +0100
> > Marek Chalupa wrote:
> >
> > > 1) there is nothing like main thread since
> > >3c7e8bfbb4745315b7bcbf69fa746c3d6718c305 anymore, so remo
Hi,
On Tue, 09 Dec 2014 14:49:01 +0100
Dan Oscarsson wrote:
> tis 2014-12-09 klockan 14:10 +0200 skrev Pekka Paalanen:
> > On Tue, 09 Dec 2014 11:21:31 +0100
> > Dan Oscarsson wrote:
> > > Looking at the wayland presentation extension I see that you send time
> > > in the format: seconds plus
Otherwise, input_events will be attempted to read from the wrong place,
which also leaves the right/current fd with pending data to be read,
making the epoll fd wake up constantly.
Signed-off-by: Carlos Garnacho
---
src/evdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/evdev.c b
On Thu, Oct 02, 2014 at 07:44:57PM +0200, Luc Verhaegen wrote:
> Hi,
>
> At FOSDEM on the 31st of january and the 1st of February 2015, there
> will be another graphics DevRoom. URL: https://fosdem.org/2015/
> Slots will be handed out on a first come, first serve basis. The best
> slots will go
2014-12-08 14:01 GMT+02:00 Pekka Paalanen :
> Dear Wayland community,
>
> I would like to start a discussion on what Weston really is, and where
> it should go, if only to confirm that our concensus still holds.
>
> I feel the need for it, because I personally find it sometimes hard to
> judge whet
When clicking a clickpad the user may want to switch fingers to move the
pointer around, without lifting so as to not release the button.
Switch to using combined motion of all touches when a clickpad is clicked to
allow this.
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86807
Signed-off
On Tue, 09 Dec 2014 11:21:31 +0100
Dan Oscarsson wrote:
> Hi
>
> While I have been looking at Wayland for a long time I have not yet
> tried it.
>
> I have for a long time worked with video players and used VDPAU as the
> best way to get video working well.
> I have not yet studied the Wayland
Split out the pointer-motion handling into a helper function.
Signed-off-by: Hans de Goede
---
src/evdev-mt-touchpad.c | 46 ++
1 file changed, 26 insertions(+), 20 deletions(-)
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 5938
Use TOUCHPAD_MIN_SAMPLES in tp_get_delta rather then hardcoding "4".
Also remove the superfluous TOUCHPAD_MIN_SAMPLES check before calling
tp_get_delta in tp_get_pointer_delta, this is not necessary as tp_get_delta
already checks itself.
Signed-off-by: Hans de Goede
---
src/evdev-mt-touchpad.c
On Mon, 08 Dec 2014 11:06:00 -0800
Bill Spitzak wrote:
> However I think the decision was to only require Doxygen 1.6 and
> therefore the tildes don't work, and you must use \code. Is this
> correct? This is what is currently in git head.
There is no tilde mark-up in upstream at the moment.
I
On Tue, Dec 09, 2014 at 11:18:16AM +0200, Jussi Laako wrote:
> On 9.12.2014 1:26, Bryce Harrington wrote:
> >But I imagine 'minimal' is intended here in more of an engineering
> >sense, and interpret it myself to mean something like: Focuses on
> >principle features not superfluous stuff better han
This is a general cleanup of the makefile in order to bring it more inline
with standard make practices. Cleanups included more use of automatic
variables, switching AM_V_GEN to AM_V_at to have one 'GEN' visible per file,
splitting copy operations to proper rules, and using order only dependencies
These cover some basic makefile cleanup to improve dependency graph generation
in preparation for including more generated content in the DocBook output.
Jon A. Cruz (2):
doc: General makefile cleanup.
doc: Minor makefile cleanup.
doc/doxygen/Makefile.am | 20 -
doc/publican/Mak
Split out directory creation to leverage order only prerequisites.
Signed-off-by: Jon A. Cruz
---
doc/doxygen/Makefile.am | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index f8d636e..7276f5c 100644
---
2014-12-09 11:18 GMT+02:00 Jussi Laako :
> On 9.12.2014 1:26, Bryce Harrington wrote:
>>
>> But I imagine 'minimal' is intended here in more of an engineering
>> sense, and interpret it myself to mean something like: Focuses on
>> principle features not superfluous stuff better handled by other
>>
On 9.12.2014 1:26, Bryce Harrington wrote:
But I imagine 'minimal' is intended here in more of an engineering
sense, and interpret it myself to mean something like: Focuses on
principle features not superfluous stuff better handled by other
projects; doesn't overengineer algorithms to squeeze a f
Hi,
On 09-12-14 00:35, Peter Hutterer wrote:
On Mon, Dec 08, 2014 at 10:46:43AM +0100, Hans de Goede wrote:
Some dispatchers may want to do some cleanup at remove time, rather then at
destroy time.
Signed-off-by: Hans de Goede
---
src/evdev-mt-touchpad.c | 1 +
src/evdev.c | 4
Hi,
On 09-12-14 03:49, Bill Spitzak wrote:
On 12/08/2014 06:37 PM, Peter Hutterer wrote:
On Mon, Dec 08, 2014 at 11:03:58AM -0800, Bill Spitzak wrote:
Shouldn't this use the same api as the input methods, since it is in fact an
input method?
please explain
Never mind, I think this is not
70 matches
Mail list logo