doc: Remove trailing whitespaces.

This should be the last one.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
input: timers: Implement remove + docs.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
backends: Add GP_BackendTimersInQueue() + docs.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
libs: backends: BackendWait() fix.

Get the TimeStamp only when there are timers in timer queue.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
spiv: Initialize sleep_ms correctly.

So that no timers are scheduled if -s param is not set.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
backends: X11: Hotfix for Wait().

Hold the display lock only when processing events.

This fixes lock when main thread sleeps in backend->Wait() and some
other thread calls backend function that works with X11 connection.

The correct fix will be single backend Wait() with poll for all
backends that have filedescriptor to wait on.

Also add XFlush() after update_rect() (it was previously flushed
automatically by the XNextEvent() call).

Lastly but not least remove the WARNING from docs.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>
loaders: TIFF: Write loader for basic types.

This adds loader support for most common tiff images.

So far we do not support tiled images, images with planar > 1
obscure and too big bits_per_samples.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>