Commit graph

495 commits

Author SHA1 Message Date
Andras Timar
0407e8d505 loolwsd: bump version after tarball 2015-11-20 11:14:43 +01:00
Andras Timar
01f258921c loolwsd: bump version before tarball 2015-11-20 11:14:43 +01:00
Henry Castro
41d94bc9da loolwsd: clear queue before socket shutdown
This cause broke pipe exception
2015-11-19 07:32:48 -04:00
Henry Castro
238e674ba9 loolwsd: avoid double socket shutdown
This cause abnormal socket close
2015-11-19 07:22:59 -04:00
Miklos Vajna
bc38b2c265 loolwsd: -Werror,-Wshadow
With this, loolwsd builds with clang.
2015-11-19 11:23:45 +01:00
Miklos Vajna
0723a96df7 HTTPWSTest: share socket init code between tests 2015-11-19 11:11:47 +01:00
Miklos Vajna
7be61ec464 HTTPWSTest: add document rendering options testcase
Fails without commit 57199a36cd (loolwsd:
route rendering options to initializeForRendering(), 2015-11-19).
2015-11-19 11:03:32 +01:00
Miklos Vajna
b066c91c8f loolwsd: factor out LOOLSession::parseDocOptions() from *ProcessSession 2015-11-19 10:30:45 +01:00
Miklos Vajna
57199a36cd loolwsd: route rendering options to initializeForRendering() 2015-11-19 10:10:18 +01:00
Miklos Vajna
93c0d29c5c loolwsd: accept load options in ChildProcessSession::loadDocument() 2015-11-19 10:10:17 +01:00
Miklos Vajna
e644fd2e1c loolwsd: -Werror,-Wunused-value
Found by clang.
2015-11-19 08:32:14 +01:00
Jan Holesovsky
7e4f1d3b61 loolwsd: KillMode=control-group for the debian systemd config too. 2015-11-18 18:53:32 +01:00
Miklos Vajna
e6f0abf763 loolwsd: support getting load options
This is a single json that contains both load and rendering options.
Currently only the rendering ones are added to it by the client.

Also, just accept the options string for now, a later commit will have
to actually pass the rendering part to
lok::Document::initializeForRendering().
2015-11-18 18:12:27 +01:00
Miklos Vajna
cb189234b0 loolwsd: describe so far undocumented part= parameter of the load command 2015-11-18 17:53:03 +01:00
Miklos Vajna
fe1aacd6d0 loolwsd: update the bundled headers 2015-11-18 17:00:34 +01:00
Mihai Varga
d18667d000 ccu#1273 support utf8 characters in the message passing server <-> client 2015-11-17 20:07:48 +02:00
Mihai Varga
9fd963398e loolwsd: bump version after tarball 2015-11-17 19:25:59 +02:00
Mihai Varga
cba634a6f1 loolwsd: bump version before tarball 2015-11-17 19:24:52 +02:00
Andras Timar
330643098a loolwsd: bump version after tarball 2015-11-17 14:47:24 +01:00
Andras Timar
78a84c3567 loolwsd: bump version before tarball 2015-11-17 14:45:40 +01:00
Jan Holesovsky
9e9974e186 loolwsd: Update LOK headers to get setClientZoom and LOK_CALLBACK_CELL_FORMULA. 2015-11-16 20:29:21 +01:00
Andrzej Hunt
0ab5560758 loolwsd: re-add erronously remove break
Seems to have been removed accidentally in:
c1efc7c012
2015-11-13 11:24:44 +01:00
Mihai Varga
c1efc7c012 Formula bar for calc 2015-11-12 16:55:56 +02:00
Mihai Varga
242870cb9f use setClientZoom() before postMouse/Key event 2015-11-12 16:54:45 +02:00
Andrzej Hunt
74edae8703 loolwsd: support LOK_CALLBACK_MOUSE_POINTER 2015-11-10 13:46:41 +01:00
Andrzej Hunt
69325ce576 loolwsd: update bundled headers to contain LOK_CALLBACK_MOUSE_POINTER 2015-11-10 13:46:41 +01:00
Andras Timar
0ffa93de8a loolwsd: bump version after tarball 2015-11-10 09:09:15 +01:00
Andras Timar
efae9b496e loolwsd: bump version before tarball 2015-11-10 09:08:31 +01:00
Jan Holesovsky
0f03c3b925 loolwsd: Don't assert on 'canceltiles'.
Fixes a regression from 6a1477d8a9 where now the
'canceltiles' command reaches the ChildProcessSession::handleInput().

This is good in general - in case'd need to add some special handling even to
the handler; but so far all we need happens on the message queue level.
2015-11-09 22:20:26 +01:00
Jan Holesovsky
2dcfb61a69 loolwsd: Don't crash due to an uncaught std::out_of_range exception.
Let's invalidate everything in such a case.
2015-11-09 20:21:13 +01:00
Andras Timar
9f84cc2e25 loolwsd: loolwsd.service KillMode should be control-group 2015-11-09 13:01:24 +01:00
Jan Holesovsky
6a1477d8a9 loolwsd: Specialize the MessageQueue a bit.
Introduce a bit of hierarchy there, at some stage we'll want to re-order the
tile requests a bit so that it works better for collaborative editing; for the
moment, removing the duplicate entries is enough.
2015-11-09 11:54:09 +01:00
Jan Holesovsky
dfcaaf91aa loolwsd: Remove the tiles also from the child's queue.
The commands leave the parent's queue very quickly, the child's queue is the
critical one, so remove them also from there.  This speeds up the typing
experience very considerably.
2015-11-06 18:27:32 +01:00
Jan Holesovsky
c44e0a6266 loolwsd: Log the tile rendering times. 2015-11-06 18:27:32 +01:00
Jan Holesovsky
37cb3c247a loolwsd: We have only ms resolution anyway, clean this up. 2015-11-06 18:27:32 +01:00
Jan Holesovsky
fbb184d256 loolwsd: More readable timestamps, 100ns resolution.
Actually POCO doc claims 100ns resolution, but unfortunately it seems it is ms
only; will improve later in case it is necessary.
2015-11-06 12:07:29 +01:00
Andrzej Hunt
ab5b41b740 loolwsd: use length here too 2015-11-05 12:52:06 +01:00
Andrzej Hunt
09e823e750 loolwsd: tdf#94605 handle LOK_CALLBACK_CELL_CURSOR 2015-11-05 12:52:05 +01:00
Andrzej Hunt
b46bc1bcf6 loolwsd: update the bundled headers 2015-11-05 12:52:05 +01:00
Jan Holesovsky
c6743b4d64 loolwsd: Remove the potential leftover document before attempting to link.
Otherwise we create a copy, and at the moment, the copy is not copied back out
of the chroot jail; we should bind that to the .uno:Save callback...
2015-11-05 12:17:21 +01:00
Jan Holesovsky
7a88c9b959 loolwsd: Document unocommandresult in the protocol. 2015-11-04 13:33:11 +01:00
Jan Holesovsky
db38aaff1c loolwsd: Handle LOK_CALLBACK_UNO_COMMAND_RESULT.
Also update according to the API change, and trigger the notification when
calling .uno:Save.
2015-11-03 19:29:50 +01:00
Jan Holesovsky
9f75fbd2fc loolwsd: Update the bundled LOK to contain LOK_CALLBACK_UNO_COMMAND_RESULT. 2015-11-03 19:29:50 +01:00
Andras Timar
510db7bbdc loolwsd: bump version after tarball 2015-10-30 13:19:45 +01:00
Andras Timar
16f8e75d1d loolwsd: bump version before tarball 2015-10-30 13:19:45 +01:00
Andras Timar
87554d1be9 Collabora Office as requirement 2015-10-30 13:19:45 +01:00
Jan Holesovsky
2691d88909 Revert "loolwsd: Update systemplate with every startup of the service."
This is not a good idea, it takes too long for systemd, and times out.

This reverts commit b42409c388.
2015-10-30 11:34:41 +01:00
Jan Holesovsky
b42409c388 loolwsd: Update systemplate with every startup of the service. 2015-10-30 10:40:22 +01:00
Andras Timar
2d37bbcc20 skip make check for rpmbuild 2015-10-29 16:32:03 +01:00
Andras Timar
3310c03a1a loolwsd: bump version after tarball 2015-10-29 15:53:41 +01:00