Pranav Kant
f429001ff9
loolwsd: Display version information on command line
...
Change-Id: Ie65c30574ca4cef619a224ec6df3501d6bda086a
Reviewed-on: https://gerrit.libreoffice.org/20847
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-01-19 16:36:00 +00:00
Miklos Vajna
aed9e61c2e
loleaflet: document .uno:ModifiedStatus
2016-01-19 17:07:10 +01:00
Jan Holesovsky
152a7bbb76
loleaflet: No need to ask for tiles for non-current parts.
...
LibreOffice may trigger invalidation of a part that is not current (eg. during
the part switch). But as we don't need the old data, discard such requests.
2016-01-19 12:17:24 +01:00
Jan Holesovsky
3f35e2f3ad
loleaflet: Share code for updating the parts.
2016-01-19 12:17:15 +01:00
Andras Timar
84bb9a2989
loleaflet: replaced the scrollbars with with version 3.1.3
...
This solves issues regarding cross-domain iframes.
2016-01-18 19:57:05 +01:00
Jan Holesovsky
ed3be25e01
loleaflet: connect() was actually renamed to initialize().
2016-01-18 17:03:15 +01:00
Miklos Vajna
c8ea8bcacd
loolwsd: handle WS messages split into multiple frames
2016-01-18 16:54:22 +01:00
Miklos Vajna
8845679d2f
loleaflet: enable drop of images
2016-01-18 14:37:44 +01:00
Miklos Vajna
bcf0e2d81f
loleaflet: don't attempt to log binary ws frames
...
There is no correct encoding to create log strings for e.g. binary image
data.
2016-01-18 14:37:44 +01:00
Jan Holesovsky
b632d4e858
loleaflet: Minor tweaks to the look of the column/rows headers.
2016-01-18 13:12:58 +01:00
Miklos Vajna
a67d73ea57
loolwsd: HTML paste testcase
...
Fails without the previous commit.
2016-01-18 11:47:57 +01:00
Miklos Vajna
201c9fb590
loolwsd: handle 'nextmessage:' in master -> prisoner traffic
...
ToPrisoner already generated 'nextmessage:' when it was necessary, but
the other side did not handle that message type, since previously
(before multi-line paste) only the prisoner -> master direction needed
'nextmessage:' for tile data.
2016-01-18 11:47:57 +01:00
Jan Holesovsky
dd5a8a7cb4
loleaflet: Fix insertfile after the L.Socket -> this._map.socket change.
2016-01-18 10:37:13 +01:00
Miklos Vajna
3eeecacfb9
Document::_callbackQueue -> CallbackQueue
...
AFAICS this was the last member named not following the coding style.
2016-01-18 09:43:49 +01:00
Miklos Vajna
3cbdd9e3bd
MasterProcessSession: capitalize static members
2016-01-18 09:43:49 +01:00
Miklos Vajna
93eccfad98
ChildProcessSession::_mutex -> Mutex
...
As it's a static member.
2016-01-18 09:43:49 +01:00
Miklos Vajna
9185012704
Log::StreamLogger: Stream -> _stream
...
As it's not a static member.
2016-01-18 09:43:49 +01:00
Faruk Uzun
3fa796f26a
loleaflet: Add dialog to confirm slide deletion
...
ccu#1423 related.
Change-Id: Ibf6ce88de2742b0277b2df63225f1a3f374de45d
Reviewed-on: https://gerrit.libreoffice.org/21461
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-01-17 19:21:22 +00:00
Henry Castro
3cbaded0d2
loleaflet: adjust document size to map size
2016-01-16 16:57:15 -04:00
Henry Castro
15414a90a0
leaflet: fixed js lint erros in layer/tile/TileLayer.js
2016-01-16 15:36:43 -04:00
Henry Castro
f689dba693
loleaflet: fixed js lint errors misc files
2016-01-16 15:06:50 -04:00
Henry Castro
301bc6dad0
loleaflet: fixed js lint erros in layer/tile/ImpressTileLayer.js
2016-01-16 14:38:50 -04:00
Henry Castro
fc5af4eba2
loleaflet: fixed js lint erros in layer/tile/WriterTileLayer.js
2016-01-16 14:32:47 -04:00
Henry Castro
68a10e3976
loleaflet: fixed js lint erros in layer/tile/CalcTileLayer.js
2016-01-16 14:25:14 -04:00
Jan Holesovsky
42b25715f9
loleaflet: Update the row / column headers on part switch.
2016-01-15 20:42:07 +01:00
Jan Holesovsky
bfc5d4d51f
loleaflet: Avoid indexOf, not supported everywhere apparently.
2016-01-15 19:38:15 +01:00
Andras Timar
287768c6bc
loleaflet: L.Socket should not be global. (fixup)
2016-01-15 16:38:41 +01:00
Jan Holesovsky
c8a1e7cbca
loleaflet: Better naming of the spreadsheet header styles.
2016-01-15 16:29:42 +01:00
Jan Holesovsky
72e12ecae5
loleaflet: Fix off-by-one in the spreadsheet row headers.
2016-01-15 16:29:33 +01:00
Jan Holesovsky
cb105b5e77
loleaflet: Simlify & beautify the column headers too.
2016-01-15 16:29:21 +01:00
Miklos Vajna
d91dd9774a
loleaflet: prefer HTML over plain text for drop purposes
...
We iterate over an array provided by the browser, let's always use HTML
and not plain text, even if the array contains plain text first, and
only then HTML.
2016-01-15 16:06:52 +01:00
Miklos Vajna
82e12a199c
loleaflet: fix plain text drop
...
I don't know yet how to test HTML drop, but probably it needs the same
fix.
2016-01-15 15:51:13 +01:00
Jan Holesovsky
a29a9d37d6
loleaflet: Simlify & beautify the row headers.
2016-01-15 14:44:21 +01:00
Miklos Vajna
1977f07d5c
paste: handle data containing newlines
...
By changing the protocol, so that instead of "paste ... data=<data>",
the client is now expected to send "paste ...\n<data>".
2016-01-15 14:43:59 +01:00
Tomaž Vajngerl
033a066ba7
Don't send unneccesary "tilecombine" on multiple invalidates
...
It usually happens that we get more "invalidateTiles" requests
from LO for one change. To avoid unnecessary tile rerenders we
remember (in transientInvalidationKeys) all tile keys which we
send to the server for rerendering and don't send the request
for the same tile. This is effective until we get back a
rerendered tile from the server (transientInvalidationKeys is
cleared).
(cherry picked from commit fdd76332db6b9c3b59864132578dc01ce19f0214)
2016-01-15 14:16:15 +01:00
Jan Holesovsky
be46817a6f
loleaflet: JS part of the HTML and images dropping.
...
So far it is commented out, as it needs improvements on the loolwsd side too.
2016-01-15 11:11:14 +01:00
Miklos Vajna
de7823744e
loolwsd: fix naming style of LOOLWSD static members
2016-01-15 09:44:07 +01:00
Jan Holesovsky
ce69617fb8
loleaflet: Support for 'drop', 'text/plain' only for now.
2016-01-15 09:24:22 +01:00
Jan Holesovsky
7009ee8e20
loleaflet: Fix paste in Firefox.
2016-01-15 09:00:02 +01:00
Miklos Vajna
ec9cc2aecc
loolwsd: adjust coding style to reality
...
E.g. it's DocumentURI::UriToDocumentURIMap, not
DocumentURI::_uriToDocumentURIMap.
2016-01-15 07:41:49 +01:00
Jan Holesovsky
0eb0bec296
loleaflet: Really fire the event on 'this'.
2016-01-14 23:39:57 +01:00
Jan Holesovsky
95bc0d4ebb
loleaflet: Fire 'hyperlinkclicked' when the user clicks hyperlink in the doc.
2016-01-14 22:32:18 +01:00
Jan Holesovsky
43417659ad
loleaflet: Implement 'id' for errors.
...
Most of the errors are not interesting for the user (in the sense that they
couldn't do anything about them anyway), for those return just a general
'internal error'; details are still available through the 'cmd' and 'kind'.
The rest have their own 'id'.
2016-01-14 21:30:53 +01:00
Andras Timar
6b767bc5ee
loolwsd: loolwsd-systemplate-setup: remove OS X support attempt
2016-01-14 18:15:15 +01:00
Andras Timar
3a53c864b4
loolwsd: loolwsd-systemplate-setup: add libpng*
2016-01-14 18:15:15 +01:00
Andras Timar
37f5132e9e
loolwsd: loolwsd-systemplate-setup: remove redundancy
2016-01-14 18:15:15 +01:00
Ashod Nakashian
0632da5edb
loolwsd: reworked child management and load balancing in broker
...
Change-Id: I92874d1aeb8fe46f3bbc1cb9d3b2b9d46632f4b9
Reviewed-on: https://gerrit.libreoffice.org/21473
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-14 13:56:40 +00:00
Ashod Nakashian
558dfd40e0
loolwsd: unloading of disconnected documents
...
Documents that do not have any client connections to
are unloaded.
Currently we do not check for saved state of the
document before unloading.
Change-Id: I0f4f2ec1a7ddb15262833fe3d4ab73af16a2a959
Reviewed-on: https://gerrit.libreoffice.org/21472
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-14 13:55:50 +00:00
Ashod Nakashian
5d07c46065
loolwsd: logging improvements
...
Error can supress printing errno and warning can
be asked to print it by setting a bool argument.
Formatting has been improved for readability.
Change-Id: I93d2808fbff4f6cacc583923905438ada7b8e90e
Reviewed-on: https://gerrit.libreoffice.org/21471
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-14 13:41:18 +00:00
Ashod Nakashian
bdd3f73bd5
loolwsd: misc child cleanup
...
Change-Id: I5ed100e053925264db2cb8f60de67cf6a536a65b
Reviewed-on: https://gerrit.libreoffice.org/21470
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-14 13:40:40 +00:00