libreoffice-online:private/tml/cancellation

Last commit made on 2015-06-09
Get this branch:
git clone -b private/tml/cancellation https://git.launchpad.net/libreoffice-online

Branch merges

Branch information

Name:
private/tml/cancellation
Repository:
lp:libreoffice-online

Recent commits

12e0a34... by Tor Lillqvist <email address hidden>

Don't bother with storing a ref to Application::instance() in a variable in some places

e6ac989... by Tor Lillqvist <email address hidden>

Use a queue also in the child processes

94b8034... by Tor Lillqvist <email address hidden>

Log the number of tiles requests and replies

e05db70... by Tor Lillqvist <email address hidden>

Typo

9e98a38... by Tor Lillqvist <email address hidden>

Add a "canceltiles" message to the protocol and handle it

Implementing this Was harder than I first expected. The basic idea is as
follows: The master process puts each message arriving from a client that
isn't "canceltiles" into a (client-specific) queue. A separate thread that
pulls messages from the queue at its own pace and handles them as
before. Incoming "canceltiles" messages are handled specially, though: The
queue is emptied of "tile" messages.

The above sounds simple but there are several details that were a bit tricky
to get right.

f849c5f... by Tor Lillqvist <email address hidden>

Clarify usage message

b5856cb... by Tor Lillqvist <email address hidden>

The buffer parameter to handleInput() can be const

ea2141f... by Tor Lillqvist <email address hidden>

Take the tile cache directory as an option, too

314a9ba... by Tor Lillqvist <email address hidden>

We want --localstatedir=/var on Debian

28d28dd... by Tor Lillqvist <email address hidden>

Bump version after tarball