Commit graph

14604 commits

Author SHA1 Message Date
Andras Timar
5e10aa795a Translated using Weblate (German)
Currently translated at 100.0% (420 of 420 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib37b3564f3630b7ef8028a042e0979c1795c4d16
2021-04-06 13:03:22 +02:00
Martin Srebotnjak
87d02c0b7f Translated using Weblate (Slovenian)
Currently translated at 100.0% (18 of 18 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (371 of 371 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I039afe669f4ee98a0e79ab6233117324937290ac
2021-04-06 13:03:22 +02:00
Szymon Kłos
84771d4ba5 notebookbar: fix alignment in insert,layout,file,help tabs
Change-Id: Ia0699ffa749e6be2e943460c0b4398d6f3689fa3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 12:01:02 +02:00
Yunusemre Şentürk
27365caf98 Use CODE arm64 repository while the base OS architecture is aarch64
when creating docker image

Change-Id: I8562b5bbccc50d11c6b8110a4791fa9592eff6b8
Signed-off-by: Yunusemre Şentürk <yunusemre@collabora.com>
2021-04-06 12:21:21 +03:00
Szymon Kłos
e6b12a5741 notebookbar: refresh font list when is updated
Change-Id: I9139fccf47dd16c0e6729886b6e6da68a05f5d02
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
e6850dc9f7 notebookbar: show context tabs if needed
Change-Id: I4deb132600ef34654dba665683a248691691e03d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
bed804309a notebookbar: use full JSON only once
Load full JSON on the beginning and later don't
rebuild on switching tabs.

Change-Id: I0b63c3f3dfa43a7b5cd4f580ab542e9f5022a5ec
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
9d2ac7f89d notebookbar: minify home tab for impress
Change-Id: If9f4affa2eff1364ee16bdee45f9a9092702753f
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
c303db11de notebookbar: minify home tab for calc
Change-Id: Iab61f19f4ba2cd1a13e4787762afcdd0e24365dc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
853121b841 notebookbar: minify home tab for writer
Change-Id: I2f8ce6f1305dc13546efef23dded6a531691e2b9
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
4a218d656e mobile-wizard: listbox prepared for partial updates
Change-Id: I778f7d46de1fc3c9c2eb61daaee690e8438d57d6
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 09:30:15 +02:00
Szymon Kłos
f5af8e3395 mobile-wizard: prepare radiobutton for partial updates
Change-Id: Iddb1d57b0de1cc984f57793dfcdcfaee26737f71
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 09:30:15 +02:00
Szymon Kłos
8183e37f65 notebookbar: unify single tab code in tabcontrol
this will allow to use toolboxes without id

Change-Id: Ic5eb5ac249b9d1317fccc2143f10af292f564b52
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 09:30:15 +02:00
Dennis Francis
a13d18538c zoomanim: show markers/svg-overlays only at the end
Conflicts:
	loleaflet/src/layer/tile/CanvasTileLayer.js

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2163918a721db540cc02a73e0d75753dbccc9996
2021-04-05 18:20:24 +05:30
Dennis Francis
4e0f7459da zoomanim: avoid infinite setInterval loop
In Writer the tiles wont be sent for margin areas so waiting for all
tiles will hang forever. This is more apparent in low zoom levels where
the page margins are visible. So lets put a cap on waiting time instead
and hope the tiles would have arrived by then. If not it will cause a
flicker, but this is better than the document freezing due to infinite
loop.

Conflicts:
	loleaflet/src/layer/tile/CanvasTileLayer.js

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5f2fe5bac7e20cb0cc1417df078a1722b55cd08a
2021-04-05 18:20:24 +05:30
Dennis Francis
4765c7a315 zoomanim: fix: swipe action never finishes sometimes
Cancel the swipe's autoscroll animation frame as soon as we enter pinch
zoom and don't leak it.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5ae4ffc00c426fdb4f30bae5e759c77ecc88e5a3
2021-04-05 18:20:24 +05:30
Dennis Francis
505e8e9bda zoomanim: avoid flicker: wait till we have all tiles
Conflicts:
	loleaflet/src/layer/tile/CanvasTileLayer.js

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I9089ec3adf1982e19f1ff08acffed73859f75752
2021-04-05 18:20:24 +05:30
Dennis Francis
09d235fb58 fix: pinch-zoom after swipe: overlays out of sync with tiles
The fix is to avoid pinch zoom when swipe action has not finished yet.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6cc9bf01ed3411f3dceea10326c4be7a6f0914d4
2021-04-05 18:20:24 +05:30
Dennis Francis
813afa18f4 fix: overlay line width gets thicker on zoom out
Keep the lineWidth constant and equal to the 100% zoom value during zoom
animation.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I7a35654cc563eead7f58f4545dca3a307fa31422
2021-04-05 18:20:24 +05:30
Dennis Francis
f6f270c8c8 client-side-grid: draw grid in offscreen canvas properly
When the canvas to draw the tiles is offscreen, always clear background
and draw grids. When drawing grids for offscreen canvas, use the correct
paneOffset as offscreen canvas has a extended pane area (meant to handle
zoom out).

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I202c6cd8540f0d3e501c6290412bf511ee28176b
2021-04-05 18:20:24 +05:30
Dennis Francis
bc3887b5c6 client-side-grid: use the right canvas context for clearing and grid
Earlier it used the main canvas context for clearing and drawing grid
always. This breaks the offscreen canvas contents and overwrites the
main canvas when trying to update offscreen canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6fe21bd20b1862f32a1e06828b22567b566809bf
2021-04-05 18:20:24 +05:30
Dennis Francis
50078e4161 client-side-grid: draw grid before drawing async tiles
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic0d814cd0c64dcccd6d1d65b719829f4eed560aa
2021-04-05 18:20:24 +05:30
Dennis Francis
4ebdb4feb3 client-side-grid: clear tile background for Calc too
Tile section is already cleared if call arised from requestRedraw(). So
do per tile pre-clearing for async tiles painting.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I406f6cf2a9c77f81237a1be5a9e6dcf0b600a1de
2021-04-05 18:20:24 +05:30
Gökay Şatır
30a4c726c4 Calc: Fix error when filter is active.
RowColSelCount is used for 2 different states.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ia5f68ca15881102a42016e80ea0b947c0e4d9106
2021-04-05 12:39:34 +03:00
Gökay Şatır
91fa8be0d9 Calc: Update row headers on scroll when entire column/row selected.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Icfe1a71ea67d1a7e3c0adf324a7637ecf7f334fb
2021-04-05 12:18:18 +03:00
Gökay Şatır
c44656c59d CanvasTileLayer: Keep cursor position relative to view.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ib5e37077db0c31d5b43563537731c1f73bb516aa
2021-04-05 11:00:45 +03:00
Gökay Şatır
4f2f22cb5d CanvasTileLayer: Remove unusued variable "calledFromInvalidateCursorMsg"
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Id5f8240f11c2343e7ef5d93167b93008c48ccc93
2021-04-05 11:00:45 +03:00
Ashod Nakashian
e2253257ef wsd: test: http: use Response in the test server
Change-Id: I6e4960d11fc11c509c858cdcb0e68c3ba629da58
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
f53e928530 wsd: http: support sending Request and Response in Socket
Improved handling of http::Request and http::Response
in Socket directly with better error handling and
automatic socket shutdown on error.

We shouldn't need to manually serialize into the
socket's buffer when sending a Request or Response.

Change-Id: I6dfcd2fe4f6b88cd2fa8c749045ce25a8c52fe9a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
251f436049 wsd: test: http: loopback to echo server and random data
Change-Id: Icb57f7658aa88ff748121996187077b105a8389b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
bfc877546b wsd: test: http: echo server
The server, upon request via /echo URL,
returns in the body of the response whatever
is sent in the URL past the "/echo/" prefix.

And use socket::flush() where possible.

Change-Id: Idbb9b70cde69b9030f3f7768185f7ecf0ea321fd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
bf13f90a3a wsd: test: http: more mature http test server
Change-Id: I1ee85847da6c58922c220b7d6cdf675d8e8e4f81
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
8e81559b50 wsd: test: http: use Response instead of crafting strings
Change-Id: Ia072d34d7ea309d1d50782710c70a9539c95a777
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
ea7376df34 wsd: test: http: simplify http test server
Change-Id: I41b025bfa7bbc127f844a202c2047624ea40aa2d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
0d0dbaea79 wsd: test: http: support external regression-test server
Change-Id: I82b4ab126e85be5b414f7dac138fdb7e1780cf9a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
4d413af916 wsd: test: http: improve http test server
Change-Id: Id1e19b857d9c82f953746dbfbcd1a19c7f3cc792
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
257f8d5753 wsd: test: http: improve GET test validation
Change-Id: I6f7b1f2180a0923b85a625d460437fbb6a05097a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
8638970918 wsd: test: retry poco requests and check body
Change-Id: I42c59208f5df8cba039f8fe96e134787ab5a1ca0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
6e75fca0b1 wsd: test: http: add HttpTestServer
To be used as a loopback http test server.

Change-Id: Ifb6109f9d49d8cedb8e8502fed8bf426898201a2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ayhan Yalçınsoy
49bf424031 added stdexcept include to fix build error
Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Change-Id: Idc3f58e6c8f04efcbe636ab9aac940eee2f0affd
2021-04-03 17:47:56 +01:00
Ayhan Yalçınsoy
7bef5b5c23 eslint:v.bump to 7.0.0
Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Change-Id: Ib93992efd676e7f1d35ed55f3a317eb35003a901
2021-04-03 09:46:06 +03:00
mert
afa2ccd6df Send mouse click position on drawingAreaControl
Change-Id: I92dd6ada3a1179fe63fea428e554a7e490ca3c67
Signed-off-by: mert <mert.tumer@collabora.com>
2021-04-02 20:29:20 +02:00
Ashod Nakashian
8789130e06 wsd: exclude all of the kit config logic from mobileapp
Change-Id: I123872235ddc9d189ec86658c863e5c58ebf31ab
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00
Ashod Nakashian
44b5314c8b wsd: http: don't process timeout if the request is done
Change-Id: If308c6e28cd7de7a70adbfd99f6f6623ff990e5d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00
Ashod Nakashian
fbf42a63b9 wsd: test: http: name increase test timeout
Reduces the chance of transient timeouts
due to network issues or load.

Change-Id: I286aa0035546f0c409dddb86654256fce2eb1983
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00
Ashod Nakashian
abc4423997 wsd: add utility to connect to socket given a uri
Change-Id: I2ec9497c2392f9f246a461b052802a7b85d3eb13
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00
Ashod Nakashian
c80e31ed31 wsd: trace socket data
Change-Id: Idb86e4ba86342e7f9993abc644af06a0dbd83dd7
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00
Ashod Nakashian
d382282f42 wsd: log socket data only in debug builds
Change-Id: I4072f431a353327808e21bcbd9de89745fb8bfa2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00
Ashod Nakashian
61670a6e8a wsd: better support for erasing from the socket in-buffer
We shouldn't need to erase from the in-buffer manually
anywhere. This utility encapsulates this functionality
well and protects against off-by-one errors.

Change-Id: I53616444ac9811a1e22d23d96a9cac8965b8518b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00
Ashod Nakashian
560732e01b wsd: http: Response supports header getter and no Finished callback
Change-Id: I7ec7a021e7fdd1801a7ef7d1f44747178a1445c5
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 13:58:06 -04:00