The documentation is still at 1.3 on the website

2014-02-23 Thread Jiergir Ogoerg
Hi,
please update it to 1.4 and/or add a simple step by step how
to build the docs yourself (be it in the FAQ region, or in building
from source).
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH] Extend wl_surface protocol [reminder]

2013-11-03 Thread Jiergir Ogoerg
Just a reminder on how clocks differ (on LInux) from one another, taken
from here:
http://www.spinics.net/lists/linux-man/msg00973.html
Needless to say, gettimeofday() should be avoided.

CLOCK_REALTIME
- can jump
- can slew

- if ntp is running this clock is always kept close to GMT. even if hardware
is not 100% correct, ntp will correct everything over time.

CLOCK_MONOTONIC
- cannot jump
- can slew !!! (because of ntp)

- it is not kept in sync with GMT. but the speed of seconds is kept in sync
with GMT by varying it constantly by ntp.

CLOCK_MONOTONIC_RAW
- cannot jump
- cannot slew !

- the speed of seconds is not the same as the speed of GMT seconds since the
hardware timer is never 100% exact and ntp daemon does NOT have influence
here




/**

*Just one question. Which clock is being used. Ideally a monotony one, or
*even better, a configurable one. We would normally not want these
*timestamps affected by the user changing the system time.

**/
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Wayland cut/copy/paste better than in X11?

2013-04-15 Thread Jiergir Ogoerg
Hi,
Between application running on X11 apparently there's no standard way to
tell if file(s) (their URIs) have been cut or copied into the
clipboard, so you don't know what to do on Paste, so people invented
(silly) workarounds as explained here [1]:

Since there is no standard way to copy and paste files between
applications on X11, various MIME types and conventions are currently in
use. For instance, Nautilus expects files to be supplied with a
x-special/gnome-copied-files MIME type with data beginning with the
cut/copy action, a newline character, and the URL of the file.

I wonder if the Wayland protocol allows for a proper/easy solution to this
problem (I'm talking about cut/copy/paste, not drag-n-drop), like an
additional uint32_t info field to code the type of action into it, not just
the URI strings?

I looked here [2] and wl_data_device::set_selection_arguments has a uint
serial field but I'm not sure if it's meant to solve this problem or for a
different reason.

Can anyone please explain?


[1] http://qt-project.org/doc/qt-4.8/qclipboard.html
[2]
http://wayland.freedesktop.org/docs/html/protocol-spec-interface-wl_data_device.html
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


[PATCH] client: Add acquire-fd API to avoid requiring a polling main thread

2013-04-10 Thread Jiergir Ogoerg
Hi Kristian,

Your patch calls like 3 times pthread_cond_wait(..), shouldn't each of
these calls be in a loop?

From a book on pthreads:
You should always wait for a condition variable in a loop, to protect
against errors,
multiprocessor races, and spurious wakeups.

Kind Regards
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel