Henry Castro
a3284d92c6
loleaflet: mobile: replace clipboardContainer with map focus
...
Change-Id: I616e5b8417522ec06d7311f335d3c60888a32b82
2018-08-08 16:14:16 -04:00
Henry Castro
1907678197
loleaflet: mobile: use setValue
...
Change-Id: Ica14c95e2aec31423a47d904c3c499b706261370
2018-08-08 16:13:16 -04:00
Tamás Zolnai
1a885b9c40
Store wireId only for tiles inside the visible area
...
Change-Id: If60015c86bbdd1158c203a7a9c47b3dc877ac6c5
2018-08-07 16:22:48 +02:00
Tamás Zolnai
e35ce41eaa
Need to reset wireId map anytime when part number changes
...
Change-Id: I8309a0a0788587f6daebe9698723df6bc0410039
2018-08-07 16:22:48 +02:00
Andras Timar
494cb023e5
loleaflet: Calc: Add handling for multiple selection of status bar functions
...
Change-Id: I79700615b62dbd44cd06c231466832cf81ac1108
Reviewed-on: https://gerrit.libreoffice.org/58664
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-08-07 11:33:42 +02:00
Andras Timar
01969666e6
loleaflet: fix Calc status bar functions
...
Change-Id: I11eced357e000bafa6f49f605d0766cc4df49720
(cherry picked from commit f94e49cc8da501b8d58a79d4a5db27499d2196b7)
Reviewed-on: https://gerrit.libreoffice.org/58654
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-08-06 17:47:24 +02:00
Andras Timar
d2610ce1a4
loleaflet: fix l10n of context menus
...
Change-Id: I96ea9d572288796587bc2be194c94c83a9b53f8d
Reviewed-on: https://gerrit.libreoffice.org/58558
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-08-03 21:16:05 +02:00
Tamás Zolnai
4d1ffab941
Disable testCancelTilesMultiView
...
It's seems unstable. After canceltiles wsd still can send tiles
if they already in the senderqueue.
Change-Id: I28f669aa18dfbfee1d9d242bd1ee3d0490f06c68
2018-08-03 13:50:40 +02:00
Tamás Zolnai
cec718d0f1
Fix TileCacheTests::testCancelTilesMultiView failure
...
Change-Id: I9d05a1f041611a30f598c18c13525e807851604d
2018-08-03 12:26:10 +02:00
Tamás Zolnai
ec8b7bc012
Revert "Cancel tiles also in wsd's senderqueue"
...
This reverts commit 0bb96131c4
.
Change-Id: Iffea072aabc88e5150e6ec069917b7965850683a
2018-08-03 12:21:29 +02:00
Miklos Vajna
468f8fedb5
wsd: 'path' is copy-constructed from a const reference but is only used as const reference
...
Make it a const reference.
2018-08-03 09:10:09 +02:00
Jan Holesovsky
1f5d779ef8
Fix systemplate creation when running make with -j.
...
Change-Id: Ifcf45b01fdba9b502b1a88190d6a0d4cb316c566
2018-08-03 05:29:27 +02:00
Jan Holesovsky
ac7d67f43e
Fix networking in the chroot.
...
The needed files were not copied, and consequently the hostname
resolution did not work in the chroot.
Change-Id: Id3dccc4f70cd1deeddb83c8e672f240e06748e34
2018-08-03 05:22:03 +02:00
Jan Holesovsky
521afe2e98
Add possibility to strace loolforkit if necessary for debugging.
...
Needs a rebuild with STRACE_LOOLFORKIT defined, and setting the
appropriate capabilities for the strace binary.
Change-Id: I43d45fbafa3868f6ae42f740a773ad9ed7add668
2018-08-03 05:21:25 +02:00
Jan Holesovsky
6ab7acc6d6
wsd: Kill --nocaps, and use --o:security.capabilities="false" instead.
...
The --nocaps apparently stopped working when the security.capabilities was
introduced.
Change-Id: Ieee173e97b62eb4e254667bd105826486e6bdbcb
2018-08-03 05:20:56 +02:00
Henry Castro
e4a7e2ddbb
loleaflet: mobile: fix panning inside max bounds
...
Change-Id: I5c08a529cb05471f3e248ab403dff5370de0ee46
2018-08-01 21:23:17 -04:00
Henry Castro
fdfd67c8c3
loleaflet: mobile: fix dragging the document layer
...
Change-Id: I7047781926581c84ea8f1cb6576799d91099f6b5
2018-08-01 21:22:20 -04:00
Tamás Zolnai
165e5b4e1c
Use a bigger number as a tiles-on-fly limit
...
So scrolling can be more smooth.
Change-Id: I7b029c0ccc2de6883db54493a9188ae54a346a1d
2018-07-31 17:19:12 +02:00
Tamás Zolnai
8d95ca7165
Make client tilesBeingRendered tracking more robust
...
Store the tile cache names and drop outdated tiles
times to times, so we can avoid tile rendering / sending to
stuck.
Change-Id: Ibff001307c7c660cbc57ab20c29c430e0090444d
2018-07-31 15:44:15 +02:00
Tamás Zolnai
30cdbc330b
Unused method
...
Change-Id: I53c2a33313fbcd3cd0484c0e8a27985c673ad04e
2018-07-31 15:02:25 +02:00
Tamás Zolnai
0bb96131c4
Cancel tiles also in wsd's senderqueue
...
Change-Id: I683b3cacee2f87d0dc0f28ad9ac3e122bcd043f1
2018-07-31 13:18:44 +02:00
Andras Timar
199b32fc0f
loleaflet: fix Keyboard Shortcuts help localization
...
Change-Id: I1bbe88a37127fb13cba7c065ce03cb6799c6b7fa
2018-07-31 09:24:50 +02:00
Miklos Vajna
6f3fd44c03
wsd: make these a const reference instead of copying for each invocation
2018-07-31 09:19:03 +02:00
Andras Timar
33f0e7e893
loleaflet: updated UI pot file
...
Change-Id: I31fb03a771cd802416250d9dad29ccadd8fd1631
2018-07-30 11:37:05 +02:00
Henry Castro
3e3857e1c7
loleaflet: fix tile debugging mode
...
Change-Id: I73a9d9c449a89540a057f68d2a5536f18b0ee931
2018-07-29 19:48:07 -04:00
Henry Castro
42823fcafb
loleaflet: mobile: fix delete with backspace
...
Change-Id: I36eddf8b81849592982d01f3a4c7f3be0f0c0ee3
2018-07-29 15:03:57 -04:00
Henry Castro
57940acb06
loleaflet: mobile: check tolerance when the move event occurs
...
Change-Id: I9e1d28e1b198e81f876a323c978478e4ccea7474
2018-07-29 14:50:24 -04:00
Michael Meeks
fabd928366
Mark LOOLWebSocket as deprecated, and dung it out a bit.
...
Change-Id: I4e1daff8a10092b8845971375ce83e09b78354ea
2018-07-26 09:23:37 +01:00
George Wood
be3a3d2028
added mode lines to all the javascript files without them
...
Change-Id: Iea2b216d988496a60fc5ca043014d4d4c09eb99a
Reviewed-on: https://gerrit.libreoffice.org/57919
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2018-07-26 08:07:14 +02:00
Tamás Zolnai
c2a5f6acb0
Store number of tiles sent to kit for rendering
...
and use that info also to avoid sending to much tiles on the network.
Change-Id: Iab2d7af64693047a3c1cfe9f73de80a7100bbc13
2018-07-24 20:52:53 +02:00
Tamás Zolnai
b014804ce2
Trace sent tiles when they are actually sent
...
SenderQueue might drop some tiles, so we were waiting for
tileprocessed message for a tile which was not sent at all.
Change-Id: I7c502966f656e46df7c22002dee19aeabbf97774
2018-07-24 20:52:45 +02:00
Henry Castro
03a29a1699
loleaflet: mobile: handle long click
...
Change-Id: I3c3ecce737e5c2457e922e2e612f0312dfab72dd
2018-07-24 14:03:10 -04:00
George Wood
594348b6fe
enables debug mode to be turned on from the about screen by pressing d.
...
Also fixes focus issue with map after closing dialog.
2018-07-24 12:27:35 +01:00
George Wood
73b8da4ab0
Cleanup error reporting.
2018-07-24 12:27:35 +01:00
George Wood
e8235e50c8
A more attractive 404 page.
2018-07-24 12:27:35 +01:00
Henry Castro
dd9aefd5d8
loleaflet: mobile: do not zoom out when edits a document
...
Change-Id: Ic5b78df16c8ac0ccfb7334e6809b58665cd04494
2018-07-23 16:06:39 -04:00
Henry Castro
f5de78f920
loleaflet: fix when document window zooms out until it disappears
...
Change-Id: If0f7234429130aed47dbc9156fde2e125680638f
2018-07-23 16:05:53 -04:00
Henry Castro
276a9713c2
Revert "loleflet: disable the document is automatically zoomed ..."
...
This reverts commit dfab8731a9
.
Change-Id: I20ab8eee97b9d6934ea33a1cbb24030d3d5b5a7e
2018-07-23 16:04:04 -04:00
Miklos Vajna
ec008efd73
tools: remove unused Poco::Util::Option include / using decl
2018-07-20 10:23:48 +02:00
Tamás Zolnai
33a0cb1ee7
Fix failing unit tests after latency changes
...
With the new code, wsd is waiting for tileprocessed messages
if the upper limit of tiles-on-fly limit is reached. To avoid that
send canceltiles message.
Change-Id: Iadf16c834f12d14000d630078882dfa8e11a99a0
2018-07-19 14:19:07 +02:00
Tamás Zolnai
fe5507f134
Add some additional comment related to latency changes
...
Change-Id: I3ece60ce8a66730a8f8a93757412bcaa2b02a77d
2018-07-19 14:18:11 +02:00
Tamás Zolnai
3215ddfe48
Set back debugging code removed by latency related code changes
...
Change-Id: I6634029bc8c36dfea7219e7e48e1c010b274e687
2018-07-19 14:17:59 +02:00
Tamás Zolnai
8d92b0809d
Store wiredIDs on the server side
...
So we can use this information in tile requests.
Change-Id: I87ba420ec0fd699353d48a228268e546ace21921
2018-07-19 14:13:03 +02:00
Tamás Zolnai
e1b22eaac3
Calculate TilesOnFly limit based on visible area
...
Use 10 as a minimum value.
Change-Id: I9442a427fd25e1a7a32c3d1d06aa34d2c4ca2472
2018-07-19 14:12:52 +02:00
Tamás Zolnai
2fda5f7d92
Use an upper limit for number of tiles we push to the network
...
I used number 25 as this limit. It's an approximate value. It's enough
to handle the first 5-10 character input without waiting for tileprocessed
messages. After the first 5-10 characters the tileprocessed messages are
arriving continuously (same frequency as the typing speed), so for the later
character inputs we always have some tileprocessed messages arrived so
we can push new tiles to the network again.
This 25 upper limit also seems enough to send all tiles when a whole page is
requested (e.g. zoom os scroll).
We store the requested tiles in a list, used as a queue. I don't use std::queue
because sometimes we need to do deduplication (replace older versions of the
same tile with a newer version).
Change-Id: I22ff3e35c8ded6001c7fc160abdc1f1b12ce3bae
2018-07-19 14:12:41 +02:00
Tamás Zolnai
4e2b50dc0f
Check whether tile rendering request was already sent
...
Change-Id: Iceb559106dcd95d6ff7db67df76cdfb04f9fb7e0
2018-07-19 14:12:27 +02:00
Tamás Zolnai
6c4e4440e8
Handle part number a bit more robust in case of Writer
...
Change-Id: I7390f1c5f4289be67deacf3540068c040b230584
2018-07-19 14:12:15 +02:00
Tamás Zolnai
7428c46efe
In Impress setpart message's syntax is a bit different.
...
Two alternative sytnax:
"setpart part=1"
"setpart 1"
Change-Id: I42683ca46d642d56cfc3dcc52a10d69a3f00462b
2018-07-19 14:12:02 +02:00
Tamás Zolnai
1aa8f3b17b
Send new clientvisiblearea and clientzoom messages
...
when something is actually changed.
Change-Id: I56983f5700cb9cbd0b660155a4dd0a2396b22e2a
2018-07-19 14:11:49 +02:00
Tamás Zolnai
29df46219c
Need to extract the initial part id from status message
...
Change-Id: Ia0651d93fedb71d3ca1e24d0356ac179e95e907e
2018-07-19 14:11:36 +02:00