Pranav Kant
79aa4d5e06
loleaflet: Hide the hat after 1.5s of inactivity in cursor
2016-08-25 19:17:45 +05:30
Pranav Kant
3ff170a194
loleaflet: Adjust the hat a bit; don't make it change cursor pos
2016-08-25 19:17:45 +05:30
Pranav Kant
73f7e48c90
loleaflet: A hat for colored cursors
2016-08-25 19:17:45 +05:30
Andras Timar
679ee2df27
loolwsd: set LOK_VIEW_CALLBACK by default
2016-08-24 14:19:34 +02:00
Jan Iversen
4af3b8546d
update of pootle strings
...
This is a manual update, as a prelude to the automatic
pootle update.
2016-08-24 11:07:24 +00:00
Tor Lillqvist
e10175aed6
Nah, it's better to use the Storage thing to get the user name
...
instead of accepting it in the load message
Let's not just bother documenting random examples of what might be in
the JSON, this is not the right place for it.
2016-08-24 10:32:00 +03:00
Tor Lillqvist
4e8fd90bea
Document the .uno:Author attribute in the options parameter of the load message
...
... as I understand it, that is. Not sure whether it makes sense to
document stuff like this here, or in the LibreOfficeKit headers.
2016-08-23 19:38:42 +03:00
Andras Timar
ff3c15fd40
loleaflet: expose Wrap and Anchor context menus for images
2016-08-23 15:36:59 +02:00
Tor Lillqvist
0a18d513a1
Mention that the options parameter of the load message must be JSON
2016-08-22 16:01:19 +03:00
Tor Lillqvist
300cc0e947
There is no 'loadtest' program since a while
2016-08-22 15:45:42 +03:00
Ashod Nakashian
5656f84401
loolstress: benchmark statistics are calculated and reported
...
Statistics include:
Total latency from input to tile.
Tile rendering time.
Tile-cache response time.
The lowest latency for each is reported and the
95th percentile as well.
The rendering and cache-serving power is
calculated as Mega-Pixels per second.
Change-Id: Ib1baede818444c92f553eaf3e6b17dc617c51b0f
Reviewed-on: https://gerrit.libreoffice.org/28310
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 06:00:43 +00:00
Ashod Nakashian
8506c31a43
loolstress: latency and tile-rendering benchmark tests
...
Document modify round-trip benchmark and tile-rendering
round-trip benchmarks added to loolstress.
Change-Id: If3b6932f3a64008b1dbeb23da8a5e98ecedd66c8
Reviewed-on: https://gerrit.libreoffice.org/28309
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:59:21 +00:00
Ashod Nakashian
a46d9a55b3
loolwsd: refactor getTileMessage
...
Move CppUnit assertions into assertTileMessage
to allow for reusing getTileMessage without
dependency on CppUnit.
Change-Id: I35592d440910854dc207db533292efd6f1520c0b
Reviewed-on: https://gerrit.libreoffice.org/28308
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:52:30 +00:00
Ashod Nakashian
baef50055f
loolstress: support for benchmarking
...
Change-Id: I100ee5ced96f876047598e42bd83257f8dd9581a
Reviewed-on: https://gerrit.libreoffice.org/28307
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:50:56 +00:00
Ashod Nakashian
0d395f18b5
loolwsd: cleanup of ChildSession
...
Change-Id: I63bd6ff24a54b0ba3e0361ea385bf866f98faf76
Reviewed-on: https://gerrit.libreoffice.org/28306
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:49:45 +00:00
Ashod Nakashian
76ad9b3451
loolwsd: cleanup of LOOLSession
...
Change-Id: Ib65e65c44b258c7ae4d4fbe68555f664900d21c9
Reviewed-on: https://gerrit.libreoffice.org/28305
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:48:00 +00:00
Ashod Nakashian
4b28a9a4fc
loolwsd: forward redline table update notification event to the UI
...
Change-Id: I45df2a1aaf826301a113f8cf0a8c609d46b794a7
Reviewed-on: https://gerrit.libreoffice.org/28304
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:46:37 +00:00
Ashod Nakashian
169fb52a4b
loleaflet: remove view selection when closed
...
Change-Id: Ia822a00bab13be12e327aee936ed9fb0d3d211b0
Reviewed-on: https://gerrit.libreoffice.org/28303
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:45:24 +00:00
Ashod Nakashian
a28b832309
loolwsd: proper ChildSession cleanup
...
ChildSession cleanup is tricky because it needs
to be cleaned up when the connection is dropped.
The ChildSession itself needs to initiate this
cleanup from Document.
A new approach simplifies the design and correctly
broadcasts remview to all other connections so
they would be able to cleanup visual elements.
Change-Id: I78fd01fb42b801913534c858324c16dd7ad6451d
Reviewed-on: https://gerrit.libreoffice.org/28302
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:44:24 +00:00
Ashod Nakashian
98db6b8518
loolwsd: logging and comments
...
Change-Id: If58cfd8ac60b95119bef752ff4ebae295fc564cc
Reviewed-on: https://gerrit.libreoffice.org/28301
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:31:52 +00:00
Ashod Nakashian
c98af7c5a0
loolwsd: Poco HTTPRequest and co are not thread-safe
...
Change-Id: I5b7a290651a51f117da1dd972f4c24bdebd2b3b2
Reviewed-on: https://gerrit.libreoffice.org/28300
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:30:40 +00:00
Ashod Nakashian
e65535b7cb
loolwsd: configure documentation correction
...
Change-Id: Ia58ea1b87b1d82512f7107f2046c30bc54e4976a
Reviewed-on: https://gerrit.libreoffice.org/28299
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:23:48 +00:00
Ashod Nakashian
dd4ccbafa8
loleaflet: make admin graph container just wide enough not to trim the labels
...
Change-Id: I5ecc22b9dc9d09a3129c0d948ac51c3fd7e1447d
Reviewed-on: https://gerrit.libreoffice.org/28298
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:22:57 +00:00
Ashod Nakashian
a5602db8f4
loolwsd: formatting
...
Change-Id: I2f2cac98a0401a43ef919ed2b05c79db57d1d112
Reviewed-on: https://gerrit.libreoffice.org/28297
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:17:37 +00:00
Ashod Nakashian
39a1fd0add
loolwsd: Document unloading doesn't hold Document lock anymore
...
Change-Id: I4be051b9a24a7a971211e6f7159d959c5f504c0e
Reviewed-on: https://gerrit.libreoffice.org/28296
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:15:25 +00:00
Ashod Nakashian
59b88dab49
loolwsd: don't expose ChildSession mutex publicly
...
The only usecases for using the ChildSession mutex
are during tile rendering in Document. For these
the lok::Document mutex is perfectly fine.
Change-Id: I888e51d7885b05081858bcd55212abe45925e732
Reviewed-on: https://gerrit.libreoffice.org/28295
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:04:53 +00:00
Ashod Nakashian
16f15864d1
loolwsd: no member of lok::Document should take lock
...
Since often multiple API functions are invoked in sequence,
which should be done atomically, there is little gain in
locking explicitly in each call.
The caller should take the lock to insure the call is safe.
Change-Id: I3dd9b2a7763c6b36002d22191f98f2b6c2aeaacb
Reviewed-on: https://gerrit.libreoffice.org/28294
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:03:03 +00:00
Ashod Nakashian
415796d69a
loolwsd: unittest fixes
...
Change-Id: Ia08135bfaadbf4f59b658f7563ac4d40e6abacac
Reviewed-on: https://gerrit.libreoffice.org/28293
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 05:00:28 +00:00
Ashod Nakashian
119d2c862c
loolwsd: don't render tiles when no views exists
...
Change-Id: Ic7bc72384372961752dc68671b0dd20f592cb669
Reviewed-on: https://gerrit.libreoffice.org/28292
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:59:25 +00:00
Ashod Nakashian
3af0d69d22
loolwsd: isTileBeingRenderedIfSoSubscribe -> subscribeToTileRendering
...
Simpler yet descriptive function name and better logging.
Change-Id: Ic903197d5772b7994ffa8136cfae771deee3a24a
Reviewed-on: https://gerrit.libreoffice.org/28291
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:54:29 +00:00
Ashod Nakashian
bea85403ea
loolstress: non-static member naming convention fix
...
Change-Id: I33eebfcde89e39f39491edad32d3eab50761b073
Reviewed-on: https://gerrit.libreoffice.org/28290
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:44:45 +00:00
Ashod Nakashian
b9a2d7fcaf
loolwsd: unit-test misbehaving client that connects without loading
...
Change-Id: I1cef429a9310450c1b317f65475536db5d8a8306
Reviewed-on: https://gerrit.libreoffice.org/28289
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:38:19 +00:00
Ashod Nakashian
716b28f4de
loolwsd: forward declare TraceFileWriter and move out of header
...
Change-Id: Id1be0eec0d8a3e9963f986b05ad5426ddb6866c4
Reviewed-on: https://gerrit.libreoffice.org/28288
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:24:22 +00:00
Ashod Nakashian
60e7c0b50e
loolstress: usage
...
Change-Id: I04df4341dbe669b35c0c5cad6e17cd08a8faa05c
Reviewed-on: https://gerrit.libreoffice.org/28287
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:23:36 +00:00
Ashod Nakashian
eb38d7697b
loolwsd: don't unload views not loaded yet
...
Change-Id: Iee676849cc2b9ac4f0e518e5730e921687c3a42d
Reviewed-on: https://gerrit.libreoffice.org/28286
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:22:34 +00:00
Ashod Nakashian
3469fd9537
loolstress: seemingly support plain text and .gz trace files
...
Change-Id: I6eb6c8f0b6476c8d0af7bf90ccf15712df0dbbd5
Reviewed-on: https://gerrit.libreoffice.org/28285
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:20:30 +00:00
Ashod Nakashian
006a49007c
loolwsd: sync re-activating views by replaying state messages
...
Change-Id: I0ce37ca75f10493a90107e93c253edf084a15f7f
Reviewed-on: https://gerrit.libreoffice.org/28284
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2016-08-22 04:13:54 +00:00
Henry Castro
23a71ac35b
loleaflet: add L.Control.MetricInput
2016-08-21 16:08:40 -04:00
Pranav Kant
df03394223
loolwsd: Don't try to unload if underlying doc pointer is null
2016-08-21 22:40:57 +05:30
Pranav Kant
4fdfa3a1c9
loolwsd: Separate global and document callback
2016-08-21 22:40:54 +05:30
Pranav Kant
86891498a9
loolwsd: fix leftover confusing comment
...
Call to getStatus is gone in
2744caf97b
, so there are no
"arguments" anywhere now.
2016-08-21 21:19:21 +05:30
Pranav Kant
77be7d6e18
loleaflet: Prevent double-decoding utf8; fixes context menu
...
Text messages are already utf8 decoded, so we only need to decode
if its a binary message, not otherwise.
This also fixes context menu invocation on the UI as in some
cases double-decoding of utf8 strings would throw a URI malformed
error. This problem started to appear after we explicitly started
sending context menu payload as text message rather than binary
message in ecd33e1b07
2016-08-21 19:41:33 +05:30
Miklos Vajna
e0cd11848a
Update bundled headers
2016-08-19 16:55:09 +02:00
Andras Timar
a68274c1de
loleaflet: spinner l10n
2016-08-19 14:34:30 +02:00
Marco Cecchetti
26fa0651d6
loleaflet: initial support for multiple cursor in Calc
2016-08-18 10:08:26 +02:00
Miklos Vajna
f85dcba905
QueueHandler: use std::move()
...
Change-Id: I849a273a68986fb665dc7c1d03c54fd7dcf9b488
2016-08-18 08:19:00 +02:00
Henry Castro
2757adc3c6
loleaflet: add dblclick row/column to process optimal height/width
2016-08-17 09:15:42 -04:00
Miklos Vajna
30f1a43615
UnitHTTP: avoid binding dereferenced null pointer to reference
...
As it's undefined behavior.
Change-Id: Icd172f23fbeb0ef9b9d792ffb39b08b361fa7844
2016-08-17 08:39:19 +02:00
Pranav Kant
f41b947960
loleaflet: Disable pointer events on graphic marker boundary
2016-08-16 22:43:48 +05:30
Pranav Kant
9ec2aba359
loleaflet: Disable pointer events on cell cursor
...
otherwise, it would invoke browser's context menu upon
right-clicking on the cell cursor (border of the cell; on black
lines)
2016-08-16 22:41:31 +05:30