Tamás Zolnai
6aa4cdfece
cypress: interfer: save before closing the document.
...
To avoid issues coming from the delayed autosave.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib98b35396efb4fdfdf84846dd23619c666accbdb
2021-02-10 16:51:30 +01:00
Pranam Lashkari
20a443c2be
leaflet: fixed print shortcut not working in readonly mode
...
original problem was when in read only mode document container
is not in focus and that is why keyboard shortcut events were
never triggered
This solution focuses the document for composed keys to trigger
shortcuts
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I084635c5d3e61215a4e88d84271587186605133d
2021-02-10 17:17:31 +05:30
Dennis Francis
444cc5d131
clear tile section before overlay repaint
...
This is needed in cases where the tiles have transparent pixels in them.
For example in Writer's tiles, page borders use transparent pixels. In
this case if the tile section background is not white before we paint
tiles, the page border becomes darker.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id35cfe2e4b22efab8f1b1fb77c4f35dd46f0d1d2
2021-02-10 15:26:14 +05:30
Dennis Francis
29b7fdf360
remove hardcoding of debug-mode calc-grid drawingOrder
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I1b074e73b5e8dd8110f66e3f639433a07c73ae57
2021-02-10 15:26:14 +05:30
Dennis Francis
088e48ecc5
skip redraw only if both current and prev bounds are not in view
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iaa7c8efc41b77f72f1804a4c81d2ec6c6f3d1f10
2021-02-10 15:26:14 +05:30
Dennis Francis
3a40feda4a
migrate text/cell-area selections to canvas overlay
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia9d1adb942fd0a0e1ea23805b2edbc76f9537b17
2021-02-10 15:26:14 +05:30
Dennis Francis
f242f1e654
Introduce anyRingBoundContains which is meaningful for orthogonal polygons
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0fa487ba875f4e52228df4f89705c4bb9bb435b6
2021-02-10 15:26:14 +05:30
Dennis Francis
35d18d147f
allow a pointSet/Polygon to be empty
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id415cee8c89a89d80b21e2aa3b3e0f19514dbb3c
2021-02-10 15:26:14 +05:30
Dennis Francis
31beafb2c9
export rectanglesToPointSet util function
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id20b2bf47863a2d8e9ade16fd009e6d9d330cf20
2021-02-10 15:26:14 +05:30
Ashod Nakashian
e6ece7dff6
wsd: add FileUrl tests
...
Change-Id: I7f9ba86ceb5a31f0133c0d36dee090348386ea95
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-09 10:45:37 -05:00
Ashod Nakashian
bafcc98285
wsd: support FileUrl
...
Change-Id: I433b5f79956be9d8557df1a1f433a99d6ae10f65
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-09 10:45:37 -05:00
Ashod Nakashian
ec58e833e8
wsd: refactor downloadStorageFileToLocal
...
Prepare to support FileUrl.
Change-Id: I0ac4eccb937653ba86e74c2e6cecb7ddd5dd4ffe
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-09 10:45:37 -05:00
Ashod Nakashian
f7d61ae0d3
wsd: remove single-use member
...
And a couple of const cases.
The removed const is to allow move on return.
Change-Id: I7a81b531e75c39379871f5ffeb82d49ba1110ab1
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-09 10:45:37 -05:00
Tor Lillqvist
6dcefc4f14
Add toString()
...
Please do not remove even if unused. It can be useful in temporary
console.log() etc.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I2734efa3cffb8dd5e4a9923672ec179fcae3e12f
2021-02-09 17:32:46 +02:00
Szymon Kłos
a4d834f83e
jsdialog: single click activation for treeview
...
Change-Id: I808fedeaa26739c38b329f36bd4ed88ed53a4da3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-09 15:55:35 +01:00
Andras Timar
547150a163
add 'how to build Collabora Online 6.4 docker' to README
...
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9a4e647d3cf0381afd7a7cc5cbd2aedab0214619
2021-02-09 15:48:22 +01:00
Szymon Kłos
7ac1438c2a
jsdialog: don't send sidebar refresh by accident
...
if windowId is not set it will use -1 what will
trigger sidebar refresh
Change-Id: I619d05d855a99ccf064d556463f5d8812b7b43c2
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-09 15:01:11 +01:00
Szymon Kłos
4eb115d726
jsdialog: don't share windowId value between instances
...
Change-Id: Ie19d62dcdbf0b3411e0f95d10a447263088f0a25
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-09 15:01:11 +01:00
Andras Timar
e465a53726
generated new pot files and translations for Weblate
...
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic513f3254022857bdf11e28e24f0f57bb5e2d8f0
2021-02-09 10:50:18 +01:00
Michalis
6a72a0032e
Translated using Weblate (Greek)
...
Currently translated at 100.0% (107 of 107 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (364 of 364 strings)
Co-authored-by: Michalis <michalisntovas@yahoo.gr>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icca4639e715d43b8ca3f79b59fc326f346e812b6
2021-02-09 10:47:50 +01:00
Stratos Kostidis
23c9cdce18
Translated using Weblate (Greek)
...
Currently translated at 100.0% (17 of 17 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (364 of 364 strings)
Co-authored-by: Stratos Kostidis <petros8280@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If2883ffd4ff1656d87a29fbaf0bb651b3b7abef7
2021-02-09 10:47:50 +01:00
Michalis
d6a57a8609
Translated using Weblate (Greek)
...
Currently translated at 100.0% (5 of 5 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (107 of 107 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (417 of 417 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (364 of 364 strings)
Co-authored-by: Michalis <michalisntovas@yahoo.gr>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android app
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2a91b664c9c299a1cc1e7cde09a575af95aee22b
2021-02-09 10:47:50 +01:00
Stratos Kostidis
635b1c152c
Translated using Weblate (Greek)
...
Currently translated at 100.0% (5 of 5 strings)
Co-authored-by: Stratos Kostidis <petros8280@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/el/
Translation: Collabora Online/CODE welcome text
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If4d788a6907efa1f7c0fbe10a5d9421961175f57
2021-02-09 10:47:50 +01:00
Ihor Hordiichuk
61c47fc511
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (107 of 107 strings)
Translated using Weblate (Ukrainian)
Currently translated at 76.2% (318 of 417 strings)
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id505d2fcee8df286493760ecc6d624e58d8b4320
2021-02-09 10:47:50 +01:00
Adolfo Jayme Barrientos
0de1be7083
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (417 of 417 strings)
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I949eca9c234e5a70ca7019506a53fdde0a2f6f4b
2021-02-09 10:47:50 +01:00
Stanislav Horáček
01d89c6cb6
Translated using Weblate (Czech)
...
Currently translated at 100.0% (364 of 364 strings)
Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I473f5b9c3a8c2eee977139450e091a6489a79f93
2021-02-09 10:47:49 +01:00
Hirae
72d442de2e
Translated using Weblate (Russian)
...
Currently translated at 47.4% (198 of 417 strings)
Co-authored-by: Hirae <hiraetari@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic8c69730622deacc519c7ec9c186ad2b2f6c5493
2021-02-09 10:47:49 +01:00
日陰のコスモス
8d2154e944
Translated using Weblate (Japanese)
...
Currently translated at 53.2% (57 of 107 strings)
Translated using Weblate (Japanese)
Currently translated at 53.2% (222 of 417 strings)
Translated using Weblate (Japanese)
Currently translated at 64.2% (234 of 364 strings)
Translated using Weblate (Japanese)
Currently translated at 53.2% (222 of 417 strings)
Translated using Weblate (Japanese)
Currently translated at 50.4% (54 of 107 strings)
Translated using Weblate (Japanese)
Currently translated at 64.0% (233 of 364 strings)
Co-authored-by: 日陰のコスモス <baffclan@yahoo.co.jp>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I73fdd7c96e80288936281ec19aba2acef2036972
2021-02-09 10:47:49 +01:00
Weblate
9d5acb37ea
Added translation using Weblate (Greek)
...
Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I20e20b16cca1a4332c25eec83816dd8e9131697f
2021-02-09 10:47:49 +01:00
Andras Timar
8b4911ec93
cypress: typo fix
...
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4c9468ae01620bb0e56dc63e359e00bd1951e4d5
2021-02-09 08:41:53 +01:00
Andras Timar
19206ce9c2
sometimes it's useful, when path to loolkitconfig.xcu is configurable
...
e.g. in case of CODE AppImage, that is built from packages,
/etc/loolwsd/loolkitconfig.xcu will not be good, the good
location is within the AppImage's file system.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie2bf56cd95781c193a0e7185bd96d40c4849d920
2021-02-09 08:41:53 +01:00
Szymon Kłos
135ca46a23
autofilter: close properly welded window
...
send click event for cancel button as there is no
better way to close this docking window...
Change-Id: Id5f30e3d823b154117e9da7dca6bbbdef2422591
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-08 16:41:04 +01:00
Szymon Kłos
1d7bbea873
notebookbar: add run macro in hamburger menu
...
Change-Id: I79c0f1a81cce0a5a461137e49c2f57cad63374f3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-02-08 16:09:35 +01:00
Dennis Francis
0d685c5e50
Don't spill out on rectangle painting by non-integral corepx bounds
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I7f8499eb002b59532cee91d1f381a45de9dd74ab
2021-02-08 16:48:47 +05:30
Dennis Francis
004fbc9b18
Added usage/functionality comments to new TS classes/functions
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id49a49356f89a1057000bd3a0363d8408bf86a86
2021-02-08 16:48:47 +05:30
Dennis Francis
a6f6c62572
PR#1341 follow-up: Fix indentation issues
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic163b024a8783c5f4b98ccdec427b72add4052ae
2021-02-08 16:48:47 +05:30
Dennis Francis
c1d9884f00
migrate cellcursor to canvas overlays rectangle
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I8ef11efdb335f1de0261a1beb35f97a95277d4a6
2021-02-08 14:32:57 +05:30
Dennis Francis
4a5fef6054
Add CRectangle based on L.Rectangle
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5f3ffd6ae2293677ee77fb4a18d1ef1d643774a8
2021-02-08 14:32:57 +05:30
Dennis Francis
fbe63f6a8e
overlay: paint after path removal
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id500fed81fac0b228f539b351dab35f5f6da98ad
2021-02-08 14:32:57 +05:30
Dennis Francis
77451188b7
overlay-paint: just one context save-restore pair is enough
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2142d3824888e76b1ccb34faf4171eb58206aa59
2021-02-08 14:32:57 +05:30
Dennis Francis
0b3b3fa69e
make 'build-loleaflet' depend on dist version of ts -> js
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I04c5f6770e4d58cdca2cbebf24656b280b906988
2021-02-08 14:32:57 +05:30
Dennis Francis
928d85f5e0
Define canvas clip region before painting
...
to avoid any spillage of painting off the freeze panes if any active.
As of now the CPolyUtil.clipPolygon() does not work properly so there
the updatePoly() call will paint outside the specified region. So the
canvas clip helps.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2b0b9f767bb04cf504323e087cad456fe04eb5b0
2021-02-08 14:32:57 +05:30
Dennis Francis
9cdbd051f7
skip overlay pane-paint if no intersection
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I0d29750b0e8eaaeab01b7a867292002379be5476
2021-02-08 14:32:57 +05:30
Dennis Francis
7787f6f2a5
Introduce CPolygon based on L.Polygon
...
Also add CPolyUtil based on L.PolyUtil that contains dependant
algorithms for polygon clipping.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4d43fd208e47207116bd2253733fe6205fcd6c48
2021-02-08 14:32:57 +05:30
Dennis Francis
6ee897bee3
render overlays correctly for each freeze-pane
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I06477dbd8bb6b0bb369104a03f6472af59a516ee
2021-02-08 14:32:57 +05:30
Dennis Francis
026f5fac4a
overlay painting after async tile paint calls
...
The overlay needs to be painted only for the tile area.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I725a6b656d8261a90e6debbea0478a0581822b40
2021-02-08 14:32:57 +05:30
Dennis Francis
655dbd79f5
compute rings and bounds only when point-set...
...
is updated and not do them every time updatePath() is called.
Also compute both rings and bounds in a single pass over point-set.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I718f33d3ecd97da333fab0dd1fd3312d16ea6aa9
2021-02-08 14:32:57 +05:30
Dennis Francis
dac8d84efa
CanvasOverlay.js depends on all typescript files in vector/
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I235a2dcd681476331cf4224d368eca7a8547e0e8
2021-02-08 14:32:57 +05:30
Dennis Francis
3a4f98852c
overlay-origin must be negative of documentTopLeft
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2c42627261211b975c3b3ef1aa18b33c3b4b55a1
2021-02-08 14:32:57 +05:30
Dennis Francis
b27ae65b39
redraw on construction
...
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia0c6b0c8db22ec7b53d5acc16cb53a5cd99a7780
2021-02-08 14:32:57 +05:30