Commit graph

6822 commits

Author SHA1 Message Date
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
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