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
Andras Timar
dd1c12fcd6
loolwsd: bump version before tarball
2015-10-29 15:50:46 +01:00
Miklos Vajna
1409ef11ec
loolwsd: allow duplicate messages for all message types expect tile
...
To be on the safe side, I only allowed "uno" previously, but Mihai
confirmed that the intention was to filter out "tile" duplicates, so
filter out only that.
2015-10-28 17:29:51 +01:00
Miklos Vajna
31982808f4
loolwsd: disable -Wshadow with self-built poco
...
poco itself isn't warning-free wrt. -Wshadow, so we can only use it if
it's at a location where the system suppresses such warnings.
2015-10-28 16:38:57 +01:00
Miklos Vajna
0fe05e6d91
loolwsd: -Werror=shadow
2015-10-28 10:55:27 +01:00
Miklos Vajna
3d613a443f
loolwsd: add paste testcase
...
Fails with commit cc24463f08
(loolwsd:
wrap lok::Document::paste(), 2015-10-27) reverted.
2015-10-28 10:42:29 +01:00
Miklos Vajna
b5ed22c4d9
loolwsd: avoid filtering out "duplicated" uno commands
...
Problem since commit 8f48dabf28
(loolwsd:
discard requests that are in the queue already, 2015-07-21), e.g.
"select-all, paste, select-all" doesn't have the same meaning as
"select-all, paste".
Quite possibly the condition should be inverted, and filtering out
should be done only for a few commands, like "tile"; but at least
filtering out "uno" is definitely problematic.
2015-10-28 10:28:27 +01:00
Miklos Vajna
cc24463f08
loolwsd: wrap lok::Document::paste()
2015-10-27 11:53:32 +01:00
Miklos Vajna
c2a681ff4d
loolwsd: update the bundled headers
2015-10-26 17:21:15 +01:00
Mihai Varga
58d7c99f19
loolwsd: added getChildId and insertFile methods
...
getChildId is used to get the chroot's name and insertFile inserts a the
/user/thedocument/insertfile/file_name file in the document
2015-10-22 18:32:19 +03:00
Mihai Varga
28f3555180
loolwsd: insert file HTTP request handler
...
The client send a file through an http post request, the handler saves
the file in a temporary directory then moves it in the specified chroot
2015-10-22 18:27:29 +03:00
Miklos Vajna
9917dd733f
HTTPPostTest::testConvertTo: fix accidentel copy&paste
2015-10-21 13:58:50 +02:00
Miklos Vajna
3ed78cce6f
loolwsd: add HTTP POST convert-to testcase
...
Fails with 8f90c38844
(loolwsd convert-to:
implement actual conversion, 2015-10-20) reverted.
2015-10-21 13:51:30 +02:00
Miklos Vajna
443486117a
loolwsd: cppunit skeleton
2015-10-21 12:06:02 +02:00
Miklos Vajna
71ce604adb
loolwsd: add initial reference.txt to document HTTP POST API
2015-10-20 18:10:40 +02:00
Miklos Vajna
8f90c38844
loolwsd convert-to: implement actual conversion
2015-10-20 15:41:42 +02:00
Miklos Vajna
355362f519
loolwsd convert-to: clean up temp directory in case format would be empty
2015-10-20 15:35:43 +02:00
Miklos Vajna
cdc0783c27
LOOLWSD: put file we get from convert-to to a temp. dir
...
Having a URL like file:///tmp/tmp13630baaaaa/test.txt allows retaining
the filename given by the user and still work with a URL.
We could try carrying around a memory buffer, but we would still have to
send it over the WS, so it's easier if we always work with URLs instead.
2015-10-20 15:00:20 +02:00
Miklos Vajna
847c65cb1c
LOOLSession: handle file:// in the ToPrisoner saveas input handler
2015-10-20 14:45:00 +02:00