YiiChang Yen
3e202e8ed1
ossii# wsd: Add lost config settings for default value.
...
We lost default value for(POCO setting) but loolwsd.xml had:
pureAge, purgeCount, rotationOnOpen and archive
so set them.
Change-Id: If6fc071884e77cd4e67412e9db66cf17ddbbb4ce
Reviewed-on: https://gerrit.libreoffice.org/57474
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-08-23 09:52:28 +02:00
Ashod Nakashian
184b717cd7
wsd: make loolmount before setcap on it
...
Change-Id: Ide93a347513d85d0c6349f364b3a28127e3d2882
Reviewed-on: https://gerrit.libreoffice.org/58298
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-08-23 09:51:02 +02:00
Tamás Zolnai
3ca4421eb7
Updated deduplicated tiles wireID
...
Change-Id: Ia901d8831792de1bee6b21017be02fa1e744e2ee
2018-08-22 23:20:27 +02:00
Tamás Zolnai
54596dbcf9
Reset also the wireId map by canceltiles
2018-08-22 16:53:07 +02:00
Tamás Zolnai
d0fb39cd76
Handle negativ position value of clientvisiblearea
...
Change-Id: I1bf1217e038d034167e1a5412d81a311ebbd83ed
2018-08-22 16:53:01 +02:00
Tamás Zolnai
25e1a01a3c
Handle tiles hanging out the visible area
...
A problem comes up when only a part of the tile is visible
on the client side and invalidation affects the invisible
part of this tile. To get back the old / right behavior we
need to request this kind of tiles too.
2018-08-22 13:49:23 +02:00
Tamás Zolnai
fd87e1e315
Crash: Check whether we still have requested tiles
...
Change-Id: I2a8b9ced09ff624ce925b52a60352e6fa50af25e
Reviewed-on: https://gerrit.libreoffice.org/59334
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2018-08-20 18:19:54 +02:00
Tomaž Vajngerl
cfab70c48b
get rid of boost::optional
...
We don't check if boost is available in the configure phase so we
can't use it. It is possible to add it but as we only use it in
one place and it is actually not really needed, it is better to
remove the usage.
This change also moves the std::list to std::deque.
Change-Id: I4c661a2fb8995bf756a0815a6e30bb304f22d3c8
Reviewed-on: https://gerrit.libreoffice.org/58640
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-08-20 17:43:44 +02:00
Tor Lillqvist
fc9f722a46
Revert "Look for libpng16, too, and link with -lz (in case static build)"
...
Nah. Let's not pretend. The configure script approach is for Linux
only.
This reverts commit db5a57308b
.
2018-08-20 17:59:31 +03:00
Tor Lillqvist
a035120095
Revert "Hopefully just 'readlink' (without the -f option) is enough"
...
Nah. Let's not pretend. The configure script approach is for Linux
only.
This reverts commit 574f769317
.
2018-08-20 17:59:06 +03:00
Tamás Zolnai
7d98b5f015
Revert "Get back "Cancel tiles also in wsd's senderqueue""
...
This reverts commit f1a385be98
.
It's not easy, it can interfere the tile tracking.
Change-Id: I1e4ec9b4d66e5e912873f673fd5cb71ba55a9332
Reviewed-on: https://gerrit.libreoffice.org/59326
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-08-20 15:13:59 +02:00
Tor Lillqvist
db5a57308b
Look for libpng16, too, and link with -lz (in case static build)
2018-08-20 13:15:00 +03:00
Tor Lillqvist
574f769317
Hopefully just 'readlink' (without the -f option) is enough
2018-08-20 13:15:00 +03:00
Tamás Zolnai
f1a385be98
Get back "Cancel tiles also in wsd's senderqueue"
...
This reverts commit ec8b7bc012
.
Change-Id: I0a4f3f529c86522261085d4feec45e4b56a7e0e6
2018-08-17 23:47:10 +02:00
Henry Castro
cfcf27ff1e
loleaflet: auto fit width limit 100%
...
Change-Id: I6dfa345e9faa85a794d2a7f276f134f57511fe63
2018-08-17 14:36:52 -04:00
Tamás Zolnai
1001f083f1
Remove this test, it just dumps the result instead of assert on that
...
Change-Id: Id9976d98bbd30cb38cee86b1ff45b96922065d11
2018-08-16 16:02:20 +02:00
Tamás Zolnai
eb448a6dd9
Update visibla area first before requesting new tiles
...
Change-Id: I379e4d92adf34bf16a1990123328b75c50f13df2
2018-08-15 18:42:35 +02:00
Tor Lillqvist
4dd62d4dd2
Revert "Add a cache of "thumbnails" (PNG images) generated using the convert-to API"
...
No need to keep such a cache here. The consumer of previews
(thumbnails) in question does it itself (Nextcloud).
This reverts commit 405b66c8db
Change-Id: Iad16212ccbc875fe4f6d041e2fceef7eaea1d1bb
2018-08-15 15:01:03 +03:00
Tor Lillqvist
b811f70492
Revert "When asked to convert to PNG, look for an embedded ODF thumbnail first"
...
The embedded ODF thumbnail in documents produced by OOo or LO is too
small (max 256 pixels) to be useful in general, so let's not bother.
This reverts commit 3a9e536dfa
.
Change-Id: I503b61f85264b9be658064632ffd1f94518b2a3c
2018-08-15 11:36:20 +03:00
Henry Castro
f8c1c1a74a
loleaflet: run eslint when toolbar.js is modified
...
Change-Id: I84272849e20fefea775118960b876e62112c3701
2018-08-14 10:43:32 -04:00
Miklos Vajna
9ed7c1065c
common, kit, test, wsd: these parameters are copied for each invocation ...
...
... but passing by const ref is enough
2018-08-13 09:26:15 +02:00
Henry Castro
1018589d44
loleaflet: fix the number of users label from the status bar
...
Change-Id: I0b7e66c73a335295e5e61510bc0b68fc5c08ca58
2018-08-12 21:20:19 -04:00
Tamás Zolnai
6d3a0d0327
Update row by row, instead of column by column
...
Change-Id: I504cab9509d25eebf3f68c63dd7e18a54f80d865
2018-08-10 17:49:48 +02:00
Tamás Zolnai
3bc8821bb0
Enough to have smaller tiles-on-fly limit
...
Change-Id: I7e9e1b2c117cb8938b6f0fb2eac8ab3e2c8fef30
2018-08-10 17:49:48 +02:00
Henry Castro
be167de3e8
loleaflet: mobile: hide TextWrap toolbar item
...
Change-Id: Ib0f05ab619729b614e0f04eae3ad79eb61df3214
2018-08-08 16:35:56 -04:00
Henry Castro
f4a87c63b9
loleaflet: mobile: remove invalid input focus
...
Change-Id: Ieb29394daac95a7a0666a852e7e375ab6d665429
2018-08-08 16:18:22 -04:00
Henry Castro
c738beea87
loleaflet: mobile: fix the status bar that loses the input focus
...
Change-Id: Ia39a33295e3a1c153636e2dd33a232cbe2b399b7
2018-08-08 16:17:31 -04:00
Henry Castro
42047a3b8f
loleaflet: mobile: fix invalidate size
...
Change-Id: Ic4d06f2cf9a945bef4e8b81acd483238bf4e2bdb
2018-08-08 16:16:47 -04:00
Henry Castro
6a70fe02c6
loleaflet: mobile: show the cursor only if clipContainer is focused
...
Change-Id: I209952df810d23b244e8b963304115fd81e30a81
2018-08-08 16:15:39 -04:00
Henry Castro
4dbec80ffd
loleaflet: mobile: replace refocusOnMap with map focus
...
Change-Id: I271ea3a3ed22320b1184e1bfc348ecb69f681fd8
2018-08-08 16:14:52 -04:00
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