Andras Timar
a82c2f4401
loleaflet: localize annotation/comment date
...
Change-Id: If29a3a84bc5a3aab31bf4f259345845cd9004467
Reviewed-on: https://gerrit.libreoffice.org/60076
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2018-09-06 10:44:47 +02:00
Tamás Zolnai
4b5bc1f202
Code deduplication and comment
...
Change-Id: I9deb8771b9ecf338fbafaacc41b0ad934ed287fd
2018-09-05 14:31:04 +02:00
Tamás Zolnai
af0a14f034
Reduce code deduplication
...
Change-Id: I5ed788d37ff8096557423095d3a7751f6d29e91c
2018-09-05 13:40:34 +02:00
Tamás Zolnai
8af096eb63
Reset client visible area members by connection lost / reloading
...
Change-Id: I28eb32d7c667a1a2b71de4bfcb348f5fab020123
2018-09-05 13:20:56 +02:00
Tor Lillqvist
997503a8d1
Make this file compile for iOS
...
Again, note that I don't claim this file (or the code-base as such)
would make much sense for iOS as such at the moment. I just want it to
compile for now. Baby steps etc. (And there is no public Xcode project
to compile it even partially.)
Change-Id: I1321d61e9e911c7d97c7309b78aab46d9cecec29
2018-09-04 12:24:48 +03:00
Tor Lillqvist
496bf321a7
Make this file compile for iOS
2018-09-04 12:17:46 +03:00
Tor Lillqvist
10c302f047
Make std::chrono usage more portable
...
Add a std::chrono::time_point_cast to get it to compile against libc++
(for iOS).
2018-09-04 12:12:35 +03:00
Tor Lillqvist
0e9f5eba96
Make this file compile for iOS
...
Note that I don't claim this file would make much sense for iOS as
such at the moment. I just want it to compile for now. This holds for
all my other recent commits with the same 'Make this file compile for
iOS' commit message.
2018-09-04 12:04:07 +03:00
Tamás Zolnai
1e0b4928ad
Remove this printing line used only for debugging
...
Change-Id: I482adcac61cf2fa4bec4fb02feec0e23370a3e45
2018-09-03 16:54:12 +02:00
Tamás Zolnai
14537846a8
Handle unset client visible area case while calculating tiles-on-fly limit
...
Change-Id: I25ea6f1efdc8115304d5449cfccdbb5c0c15fb1f
2018-09-03 16:35:00 +02:00
Tor Lillqvist
1ae4a32067
Factor out loleaflet/dist construction for iOS app building
...
The idea is that on a Linux box you have a tree of online that you
configure with --enable-iosapp. Then running 'make' there will only
create the stuff in loleaflet/dist. That loleaflet/dist can then be
copied to the Mac where you build the iOS app.
(To me, this approach seemed for now simpler than to get all the
PKG_CONFIG etc stuff working that running configure normally requires,
and run all the node, npm, and associated crack, on a Mac.)
Change-Id: Id2e495d0521922d0666fdab5fdcb5fcd460136f1
2018-09-03 17:10:19 +03:00
Tamás Zolnai
8085b112dc
Add some test for the new tile rendering code
...
Change-Id: I92e925740e67a62cd69e8c8135484c10d74dabc8
2018-08-30 18:43:43 +02:00
Tamás Zolnai
dce6c18fb4
Calculate tiles-on-fly limit a bit more precisely
...
Change-Id: Id012a83d6ccd226d1b66e3cd48a9caeafd849fc5
2018-08-30 18:42:55 +02:00
Tamás Zolnai
ab7943edd6
Make tilerendering working again after connection lost
2018-08-29 23:34:05 +02:00
Tor Lillqvist
d07f686b28
Make this file compile for iOS
2018-08-29 20:56:59 +03:00
Tor Lillqvist
39072dbae5
Make this file compile for iOS
2018-08-29 20:41:16 +03:00
Tor Lillqvist
7d850bfa6e
Make this file compile for iOS
...
Change-Id: I1d82fed408818a6945cbf2b7743ffcdbe67f6079
2018-08-29 20:41:07 +03:00
Tor Lillqvist
d3f0179c96
Make this file compile for iOS
2018-08-29 20:39:26 +03:00
Tor Lillqvist
8209d6cd0e
Make this file compile for iOS
2018-08-29 20:38:40 +03:00
Tor Lillqvist
3131dc9d10
Add manually created config.h for iOS
2018-08-29 20:34:34 +03:00
Tor Lillqvist
d7dea2ea51
Need to include <string> here
2018-08-29 19:57:58 +03:00
Tor Lillqvist
c184270934
Bin some unneeded #includes
...
Change-Id: I5957417b5f81cb373299f3386d509e475bed2b6e
2018-08-29 18:44:35 +03:00
Tor Lillqvist
57326ae27c
Third parameter to prefix() is a bool
...
Passing syscall(SYS_gettid) as a bool is equivalent to passing true,
as far as I understand.
Change-Id: I31bb15000a9e6c95b657d58bc78df4f3da0fe687
2018-08-29 18:36:16 +03:00
Miklos Vajna
9a4626ae0d
test: no need to copy testname
2018-08-27 09:10:10 +02:00
Henry Castro
c3db4078cb
loleaflet: mobile: add control to handle events cut/copy/paste
...
Change-Id: I8f500b17d9479a846afd59c42775e11d3f298248
2018-08-26 14:30:31 -04:00
Henry Castro
62c5c2ff20
loleaflet: remove unused corner control
...
Change-Id: Iea7003a6542d704cdd8ec54e8e5f6b8fb3b275ad
2018-08-26 14:28:47 -04:00
Henry Castro
4d5fa8f833
loleaflet: mobile: disable scroll bars
...
Change-Id: I82b3872b7354717937e9adc4c8ae5e8d582834ea
2018-08-26 14:26:10 -04:00
Henry Castro
6d2ba49f9e
loleaflet: mobile: enable context menu
...
Change-Id: If6d24d05cc59274b49059b9e05f91dcc0f6cdc6b
2018-08-26 14:23:21 -04:00
Henry Castro
ccb20d551e
loleaflet: mobile: remove more invalid focus
...
Change-Id: I10dd64d388dcf640ee2c2a7744408b13834ef044
2018-08-26 14:20:00 -04:00
Henry Castro
a6d505ad45
loleaflet: encapsulate activeElement
...
Change-Id: I21326c075c7a40b96ac946daaf70d488e0d633f9
2018-08-26 14:17:51 -04:00
Henry Castro
66f2be060a
loleaflet: fix npm-shrinkwrap.json
...
Change-Id: I9e0d792bbe91c175f39a3bbd85dc530f616d0eaa
2018-08-26 14:14:45 -04:00
Tamás Zolnai
9473908d45
loleaflet: Request invalid tiles too by view change
...
Change-Id: I43c65ce025d3b18bd664d2ad16107cf828bab300
2018-08-26 06:52:21 +02:00
Tamás Zolnai
1b01af3605
First forward invalidation to client and request tiles after
2018-08-26 06:49:34 +02:00
Tamás Zolnai
185b933353
Go back using list for tilesOnFly
...
It can handle duplicates which we need to have.
Change-Id: Ia4cd813dd173bc538dd27953c4886d460b5b1c49
2018-08-23 13:44:39 +02:00
Tamás Zolnai
3bd7c6b508
Fix previous commit
...
Change-Id: I7d3bce0132d124e52f7885c8cb3c26acc6f7b41d
2018-08-23 13:04:48 +02:00
Tamás Zolnai
759d1fe722
Drop too old tileID's from tiles-on-fly list
...
So we can avoid that tile sending stop working because server is
waiting for tileprocessed messages which will not arrive.
Change-Id: I545346c50d49340999608aadac32b5190ede43c5
2018-08-23 12:47:52 +02:00
Martin Srebotnjak
ed9cafa0eb
Updated Slovenian translation
...
Change-Id: Ic9f9d07d16d02903871e0d184cfc135f2aebe54c
2018-08-23 11:39:41 +02:00
Andras Timar
148f7deaf8
loleaflet: updated UI pot file
...
Change-Id: Ic330e0a6996055956ebcd293950723ed1668b653
2018-08-23 10:05:32 +02:00
Andras Timar
948e2fa44a
leaflet: enable l10n of IE11 connection limit message
...
Change-Id: I4799c448fd7c843a5cae5eef2eac0bb096f1395f
(cherry picked from commit 259db2527721caa4df8d6084e902136493e4e7dc)
2018-08-23 10:01:27 +02:00
Ashod Nakashian
d42fbcbe91
leaflet: update IE11 connection limit message
...
Change-Id: I7299867873fb00cf2a500f17a559106f52c8ba6f
Reviewed-on: https://gerrit.libreoffice.org/57709
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 6ee2f90d4a448717bf73c4e4e4186b74b3ce6558)
2018-08-23 10:01:20 +02:00
Ashod Nakashian
b95bf8dc66
leaflet: update IE11 connection limit message
...
Change-Id: I7299867873fb00cf2a500f17a559106f52c8ba6f
Reviewed-on: https://gerrit.libreoffice.org/57709
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit e17f6b9e7aabf66db43874a7852fa5d23a0b9100)
2018-08-23 10:01:13 +02:00
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