Commit graph

453 commits

Author SHA1 Message Date
Tor Lillqvist
d6bd6ca140 Handle nextmessage: here, too
Otherwise loadtest crashes on big tiles.
2015-05-28 13:23:28 +03:00
Tor Lillqvist
13645eb769 There should be whitespace after the message keyword and colon 2015-05-28 12:59:11 +03:00
Tor Lillqvist
cedee8f1a9 Log the input to MasterProcessSession::handleInput() earlier 2015-05-28 12:58:08 +03:00
Tor Lillqvist
0092414470 Handle LOK_CALLBACK_DOCUMENT_SIZE_CHANGED callbacks more cleverly
When a child process sends a documentsizechanged: message to the parent, to be
forwarded to the client, parse it and update a cached status of the doucment,
if available, and send an updated status: message to the client instead.

Note that clients should not rely on getting only status: messages and never
documentsizechanged: messages, though; the cache might be cleaned at any time
even while the server is running. If there is no cached status of the document
to update and re-use, we have to forward the documentsizechanged: message as
such to the client.
2015-05-28 12:53:14 +03:00
Tor Lillqvist
6968bd1c3c This should obviously be noarch 2015-05-28 11:19:20 +03:00
Mihai Varga
f999c337b9 Better differentiate commands, status vs statusindicator 2015-05-28 11:02:12 +03:00
Tor Lillqvist
8166e9494f Post-release bump to 1.0.23 2015-05-28 10:35:07 +03:00
Tor Lillqvist
5150db06b9 Adapt to work with either 5.0 or 5.1 packages from TDF 2015-05-28 10:31:39 +03:00
Tor Lillqvist
fd7f83df92 Update from master 2015-05-28 10:27:43 +03:00
Tor Lillqvist
84819b6f0c Improve error handling 2015-05-27 21:44:39 +03:00
Miklos Vajna
d8d054fa47 LOOLSession: PAGE_COUNT -> DOCUMENT_SIZE 2015-05-27 17:34:10 +02:00
Miklos Vajna
36c94140ef loleaflet: document ~/.npmrc prefix setting 2015-05-27 16:09:04 +02:00
Tor Lillqvist
d54acdd6fb Post-release bump to 1.0.21 2015-05-27 16:48:32 +03:00
Tor Lillqvist
3747129da5 Bump version to 1.0.20 2015-05-27 16:47:50 +03:00
Tor Lillqvist
beb321d142 Revert attempts at sanity 2015-05-27 16:33:49 +03:00
Tor Lillqvist
6b91320f69 Intermediate non-working attempt at sanity 2015-05-27 16:29:57 +03:00
Tor Lillqvist
2e6719faaf Tweak where the systemplate and child-root directories are put
They must be on the same file system where LO is installed, and the TDF
tarballs puts that in /opt, and on some Linuxes in default configuration /opt
is on a different file system from /home, so we should not really use
/home/lool.
2015-05-27 16:28:36 +03:00
Tor Lillqvist
86b846d137 Accept URI on the command line 2015-05-27 16:27:52 +03:00
Tor Lillqvist
05c6505325 Post-release bump to 1.0.19 2015-05-27 15:13:25 +03:00
Tor Lillqvist
4109d1cb5d Avoid "cannot create directory: File exists" issues 2015-05-27 15:12:21 +03:00
Tor Lillqvist
85e98d5231 Don't put superfluous stuff in the tarball, and bump version to 1.0.2 2015-05-27 14:58:41 +03:00
Tor Lillqvist
7e5f0afcee Post-release bump to 1.0.17 2015-05-27 14:38:41 +03:00
Tor Lillqvist
b3ea72955d Update from LO master 2015-05-27 14:06:50 +03:00
Miklos Vajna
6453f130c0 LOOLSession: handle LOK_CALLBACK_SET_PART 2015-05-27 11:36:21 +02:00
Henry Castro
6742cd8046 Capture invalidatetiles when keys are pressed
There is a problem with fade and opacity. they
are set to 0.
2015-05-26 23:51:52 -04:00
Henry Castro
9287074b75 Added cursor visible and invalidate cursor 2015-05-26 20:52:35 -04:00
Henry Castro
8d094fbf3f Added keypress function to send keys 2015-05-26 20:37:11 -04:00
Mihai Varga
bd642c3d37 Make the view/edit text in the control unselectable 2015-05-26 20:56:27 +03:00
Mihai Varga
22232e070f Dragging will be handled in the js code 2015-05-26 20:56:27 +03:00
Mihai Varga
77b8e0d126 Edit/View switching handler 2015-05-26 20:56:27 +03:00
Mihai Varga
7b79f0edd5 Control for switching between viewing and editing mode 2015-05-26 20:56:27 +03:00
Jan Holesovsky
029a41ba81 Fix non-debug build. 2015-05-26 10:11:06 +02:00
Jan Holesovsky
bc02be9812 Don't cycle the parts, stop at 0 / max. 2015-05-25 18:43:18 +02:00
Mihai Varga
29d4296d12 Disable prev/next part buttons for the first/last part 2015-05-25 17:52:36 +03:00
Mihai Varga
57cb4fe243 Prune tiles after switching parts 2015-05-25 17:36:18 +03:00
Mihai Varga
bcdf048d6d Merge adjacent selection rectangles into a single polygon
+ the document is scrolled to the average center of the rectangles
if that is out of the viewing area
2015-05-25 16:54:29 +03:00
Henry Castro
d33d1afcf3 Added missing rectangle to invalidate cursor. 2015-05-25 00:40:08 -04:00
Tor Lillqvist
c97b4d4994 Mention the 'help' command, too 2015-05-23 12:02:05 +01:00
Tor Lillqvist
54d1ee6d42 Take the part number too in the 'tile' command and switch to it 2015-05-23 12:01:24 +01:00
Tor Lillqvist
0053f18e2d Handle LOK_CALLBACK_PAGE_COUNT_CHANGED 2015-05-23 11:26:11 +01:00
Tor Lillqvist
25ecb6ce16 Update from latest master 2015-05-23 11:25:42 +01:00
Tor Lillqvist
f7d001ed45 Bin the uid debug output 2015-05-22 17:43:45 +01:00
Tor Lillqvist
180f8fcba0 Pass the --uid option to the child too 2015-05-22 17:42:36 +01:00
Tor Lillqvist
94e29dab1e This approach will not work...
The amount of system frameworks (both public and private) needed by
the LO libraries is staggering. It will not work to try to list them
here. If you are crazy enough to want to run this on OS X, use some
other tool than this script to set up the system template for the
chroot jail. Like mkjail from https://github.com/glvnst/shlibs.
2015-05-22 16:55:05 +01:00
Tor Lillqvist
73505aa550 On OS X libsofficeap.dylib is in Frameworks 2015-05-22 14:40:09 +01:00
Tor Lillqvist
9af39d189a Add some fairly hackish things to make this run better on OS X 2015-05-22 14:34:21 +01:00
Tor Lillqvist
99b7fcdfa8 Include dynamic loader and more system libraries on OS X 2015-05-22 14:34:13 +01:00
Tor Lillqvist
0440a908fa For some reason linking the PkgInfo file fails in OS X
No idea. Does not even work from the command line...  But after
"fixing" this, we run into other weird problems anyway. (Maybe one
needs to use lower-level (Mach) APIs for esoteric stuff like chroot?)
So, getting loolwsd to work on OS X seems unexpectedly hard even
before considering what changes might be needed to LibreOfficeKit. Oh
well.
2015-05-22 12:43:00 +01:00
Mihai Varga
139bae53c1 Fixed the incorrect tile rendering after zooming problem
Leaflet originally discarded tiles from different zoom levels
and I initially thought setting the opacity to 0 will be enough
and this way tiles will remain in cache.
But this does not work so tiles are now removed from the dom tree
and added in a cache to be later reused
2015-05-22 14:35:06 +03:00
Tor Lillqvist
6b12d9e1a8 Make the script work on OS X
Note: No idea yet whether this stuff will work on OS X.
2015-05-22 11:37:40 +01:00