Commit graph

10714 commits

Author SHA1 Message Date
Tamás Zolnai
6e96d4f6df cypress: catch "Uncaught TypeError" error in the log.
During parallel build.

Change-Id: I18d78250650e5d16ff9a4ff8588a2e955a934f44
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90721
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-19 12:30:54 +01:00
Tamás Zolnai
c1b56a357c cypress: mobile: don't wait too long during long press.
In some use cases this time was too long and hammerjs
recognized a pan end by 'pointerup' event. We have
500 ms time set for long press in loleaflet code,
so use the exact value here.

Change-Id: Iab47c668ffa591ccfd7d2eeed10f2c3ec5664b89
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90723
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-19 12:20:03 +01:00
Tamás Zolnai
3418701ecc Revert "cypress: calc assert we are in text edit mode in focus test"
There is no assertInTextEditMode() in calc_helper.js.

This reverts commit bc5bf2eb2a.

Change-Id: I97526eb8ea0297a2ea28080f09c85e4284d70932
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90719
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-19 12:01:18 +01:00
Tamás Zolnai
b33e97e623 mobile: fix type error hit by cypress test.
The issue comes up when we get a drag-end event
without a drag-start event.
Not sure wether this error can happen in real life
or it's just the cypress test framework mobile emulation
which can lead to this issue, but an additional check
won't hurt.

Change-Id: I352a5b523e8400ffc5e77ebefd91166e40517019
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90724
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-19 12:00:42 +01:00
Miklos Vajna
d6fe0979b7 common: handle missing protocol in Session::getIOStats()
This sometimes causes unit-integration to fail and now is consistent
with other member functions of Session that handle missing protocol.

Change-Id: I43c7fcae964cfcb5911ff57d63bd4cb569e6b97c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90732
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-03-19 11:50:54 +01:00
Pedro Pinto Silva
08e18799f0 Mobile: Hamburger and mobileWizard: Add missing icons
Change-Id: Id479cb6f1623630b84583c6d2ddd89c9779db7dd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90737
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-19 11:09:38 +01:00
Pedro Pinto Silva
8ab2f4f01a Mobile: mobilewizard: context menu: wrap; rotate; anchor: add missing icons and
- adjust lc_wrapthrough.svg so it's visible the diference between that and the new icon option lc_wrapthroughtransparencytoggle.svg
- create and add first paragraph option

Change-Id: I224284e973340a15d60fa705117dd33ebb7b1450
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90734
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19 10:34:25 +01:00
Jan Holesovsky
583547926e android: Breaking the build on extra translation is a nonsense.
The next translation update will kill the extra string anyway.

Change-Id: Ieda2ea51837e12fe40d2c85ff2d99afc65a2989b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90731
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19 09:03:55 +01:00
Weblate
8f86c59295 update translations
LibreOffice Online/android-app (Ukrainian)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: I1e0750a6d3fecb7736cc2df4c1e4b600187fd858

update translations

LibreOffice Online/android-lib (Czech)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I35f5302c62e6950459b2fdb0b169f9445f8b8034

update translations

LibreOffice Online/android-lib (Ukrainian)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: Ide65bc2675a820111f150b13519ae2c1ec8b57c2

update translations

LibreOffice Online/android-lib (Polish)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I2917662b4663d3e13f5564e822f9f3652c1bcc7a

update translations

LibreOffice Online/android-app (Hungarian)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: I82425b31fff35f1a00767d1497dc0123af9d4321

update translations

LibreOffice Online/android-lib (Hungarian)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I4ca0eb2624bbb7c90742bd42811c8c9be301e423

update translations

LibreOffice Online/android-lib (Portuguese (Brazil))
Currently translated at 100.0% (12 of 12 strings)

Change-Id: Ia25abe8feca105d849ca35a4f8e02e7b0aa8fab1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90714
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19 09:01:45 +01:00
Henry Castro
a09a0877d1 loleaflet: ensure forward message if early websocket is connected
This should never happen, since the _onMessage is re-assigned when
loadDocument is called, but it is better to ensure to forward all
messages.

Change-Id: I9a792bc077b26f2f92c30c4e7851c9d2b2637bfb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90449
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19 08:56:09 +01:00
Henry Castro
1c4a66e736 lolealet: fill the font list when data is received
The changes only populate the font list when the data
is received by the client, the other approach iterates
all toolbar items to refresh each one.

Change-Id: I837b52275b49e025fa353dcf088f97c19779bc79
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90450
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-18 23:20:27 +01:00
Henry Castro
569b342c20 loleaflet: do not scroll cell cursor marker if width is very large
When the cursor has a large width due to full merged row cell
it has an undesired effect that scroll to last columns

Change-Id: Ic939b8d9c3007faa46897893cc462cf3dbbee563
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90671
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-18 23:08:07 +01:00
Corentin Noël
2edf0dcb3a Seccomp: Add AARCH64 support
Change-Id: I59e042b244711ef3780cee7946be78d31dca8d8d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90717
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-03-18 22:34:54 +01:00
Tamás Zolnai
407f830f50 cypress: mobile: add also an indicator to enableEditingMobile.
Which indicates that the application stepped into edit mode.

Change-Id: I196851c618fd3b6c670b26184e6bbca8050f2f5a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90711
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-18 20:45:36 +01:00
Tamás Zolnai
fdbca4dcf1 cypress: mobile: restore original selectAllMobile() in writer_helper.js.
Using CTRL+A is simpler, but with using the Hamburger menu we can
make sure that menu item is working. CTRL+A is not an actual
feature on mobile. Also it's good that we use hamburger menu, so
we can check interaction of hamburger menu and other wizards
using the same bottom panel.

Change-Id: I640e515070046ad18b00be69509ed895844962a0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90710
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-18 20:44:48 +01:00
Tor Lillqvist
abf7f18d5a Now I understand what that comment meant
Change-Id: I80b420c8f9f4ebf59b9354c435b893a4370bb217
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90713
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-18 20:17:36 +01:00
Andras Timar
1828858e1b Update UNO command translations
Change-Id: I69bca063b1266ac00b202808f14e6138d6ac1e64
2020-03-18 19:47:51 +01:00
Weblate
ac2e0f3fe5 update translations
LibreOffice Online/android-lib (Czech)
Currently translated at 83.3% (10 of 12 strings)

Change-Id: Ic60bbaa41dfed7745258c56fcccf59a204451364

update translations

LibreOffice Online/android-lib (Asturian)
Currently translated at 41.7% (5 of 12 strings)

Change-Id: I34f5a37804d9b93e6733603a4fa41d4b45c70482

update translations

LibreOffice Online/android-lib (Catalan)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I3e4a5ac856b2c22272a2283751512ea461203375

update translations

LibreOffice Online/android-lib (Spanish)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I8bfcea884723f6f88d920e87f0409a98d8450874

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 73.8% (307 of 416 strings)

Change-Id: I560a64c3caf626a3fc65d007fa79229ac49c8806

update translations

LibreOffice Online/android-lib (Basque)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: Ia8ea90608982a42040c661cdea546ddf760c7dc4

update translations

LibreOffice Online/android-lib (Portuguese (Brazil))
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I2408a873216d84d6cb1cf5c28fa40e0f31e99fec

update translations

LibreOffice Online/android-app (Czech)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: Id44155498d92fe1234a25489104b8662a8f198a7

update translations

LibreOffice Online/loleaflet-help (Czech)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: Ia76ffa6e07afc4e8449c3511e8f1a6e1ce546b55

update translations

LibreOffice Online/loleaflet-help (Spanish)
Currently translated at 98.6% (410 of 416 strings)

Change-Id: I7d37d58fe29d379aef5f29d5f527474e52a41bcd

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 73.6% (306 of 416 strings)

Change-Id: Ie499b21d573b15460d2e95d23819263fa7d9e2df

update translations

LibreOffice Online/android-app (Welsh)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: Idca78e8ccf93abade03044faddede8c0efeab9fa

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 100.0% (100 of 100 strings)

Change-Id: Ie6c789269c017630c69e917b5104add9c2109537

update translations

LibreOffice Online/loleaflet-help (Hungarian)
Currently translated at 54.1% (225 of 416 strings)

Change-Id: I099c961ec400e7db4cf12bd1283b7ed2ffc4b831

update translations

LibreOffice Online/loleaflet-help (English (United Kingdom))
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I7e7fea7868da92d7e95710df242cbd487834c130

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (290 of 290 strings)

Change-Id: I2ebe6b29b0fa3cca1bcdae9cbfdedf18be594d7c

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 100.0% (290 of 290 strings)

Change-Id: I461eb5212d8d9a48f5e08aea6c60dbe7898cc144

update translations

LibreOffice Online/android-app (Aragonese)
Currently translated at 11.0% (11 of 100 strings)

Change-Id: Icf4e473d87f3c60b28237372c0b96e3e3903584c

update translations

LibreOffice Online/android-app (Asturian)
Currently translated at 73.0% (73 of 100 strings)

Change-Id: I8d8b0c71443ba51185fcde3f40dfc53d3a111129

update translations

LibreOffice Online/android-app (Catalan)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: Ia949ff290a3312483d58f2d0576d8c589bf77ca8

update translations

LibreOffice Online/android-app (Spanish)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: I5cf0c693702f58fda8a0e9b0e07ef57f4da450ab

update translations

LibreOffice Online/loleaflet-ui (Spanish)
Currently translated at 100.0% (290 of 290 strings)

Change-Id: Id5a7e23ccf588447908c0dfef3959ca8487361ea

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 100.0% (290 of 290 strings)

Change-Id: Ie9f9fae06d30d7ad6a36211c9ac281d778e29e7e

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 36.6% (106 of 290 strings)

Change-Id: Ieaaf4959fb5bb3ac880e2b60e3beeb3dd6a00d65

update translations

LibreOffice Online/loleaflet-ui (Aragonese)
Currently translated at 1.7% (5 of 290 strings)

Change-Id: I81610b70f75a319aa9c5c0b8e9b942666b005334

update translations

LibreOffice Online/android-app (Lower Sorbian)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: I736c5d84b73c81dfb712d46ed2fb925f1dc2a9ce

update translations

LibreOffice Online/android-app (Basque)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: I16ed395cf18dc8d1e76369008c7a4434689050ed

update translations

LibreOffice Online/android-app (Upper Sorbian)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: I5a760f615447fdb8bf62221c82ee8d583b2b9cb6

update translations

LibreOffice Online/loleaflet-help (Basque)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I29819ccaa0eed3acab0738f6b869b50d732389fe

update translations

LibreOffice Online/loleaflet-ui (Upper Sorbian)
Currently translated at 100.0% (290 of 290 strings)

Change-Id: I799dc449bdf811ce1c473776ff3d9aea74c0ee5b

update translations

LibreOffice Online/loleaflet-ui (Basque)
Currently translated at 100.0% (290 of 290 strings)

Change-Id: I2ab18139798609fa1207395e566e593c451da085

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (290 of 290 strings)

Change-Id: Ife086ed82f86492b147356cfe231d481ec722d2a

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 100.0% (290 of 290 strings)

Change-Id: I9c9e68173079faa1dc2765c0672483b88f09f8b4

update translations

LibreOffice Online/android-app (Portuguese (Brazil))
Currently translated at 100.0% (100 of 100 strings)

Change-Id: Ie84d9a8d0fb5c3e089ad7e63b6b86c9808577fea

update translations

LibreOffice Online/loleaflet-help (Portuguese (Brazil))
Currently translated at 100.0% (416 of 416 strings)

Change-Id: Iba5053cd74c6ac749aac94b17c36977abe2969ed

update translations

LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 100.0% (290 of 290 strings)

Change-Id: Ie2eceed0448b0f8fef5a25b5299f5dfc0d72e604

update translations

LibreOffice Online/android-app (Polish)
Currently translated at 100.0% (100 of 100 strings)

Change-Id: I2765c54a9d99cf6ec08f9e233ae7f4f2c5b74944
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90563
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-18 19:35:25 +01:00
Jan Holesovsky
1b4e40198c android: Tabs to spaces.
Change-Id: I5ab52ef34126f2c3e90ff9199d2e42dd24bc6ebe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90693
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-18 18:29:31 +01:00
Jan Holesovsky
bd3d5faef8 android: Always use the horizontal progress bar.
It is hard have a determinate circular progress bar, so let's use
horizontal progress bar for both determinate & indeterminate.

They both look a bit different (the indeterminate is vertically
narrower), but there was no simple trick to make them look the same, so
I gave up for the moment.

Change-Id: Ife3690204a8abd8bf17afe5c7d749a3ac2730c20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90691
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-18 18:29:13 +01:00
Jan Holesovsky
9f44d03471 android: When quitting the app, use a neutral "Exiting" instead of "Saving".
Change-Id: I2fce16b74843a4ea8a3dea4471f6c9fff834f439
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90690
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-18 18:28:57 +01:00
Tor Lillqvist
9f0c6cb54b Add dummy (for now) style sheet programmatically specifically for mobile phones
Ideally, perhaps, we should avoid relying on CSS media queries to
detect mobile phones. Here I just add a placeholder to remember where
is a good (?) place to add such in JS instead.

Sadly cannot use the more elegant template literal syntax for
multi-line string literals, as some of the Jenkins builders don't seem
to like it.

Change-Id: I718f86f41cae461abbca3d7cd2751de3236bff18
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90705
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-18 17:30:07 +01:00
Michael Meeks
927ab64d5f android: mend copy/paste from the hamburger menu again.
Remove grim duplicate dialog, consolidate clipboard warnings
in the clipboard code, and only show them after attempting the
copy/cut/paste and failing - rather than unconditionally.

Switch back items to use UNO commands, since we filterExecCopyPaste
in the existing _sendCommand anyway and warn suitably.

Add existing l10n hacks to the clipboard code itself.

Change-Id: Ia8befcdea3cce1934cbb9352174ba95b04eced07
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90651
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-18 17:17:39 +01:00
Andras Timar
c959dc2bd2 context menu contains WrapThroughTransparencyToggle, not WrapThroughTransparent
With this change we can have "In Background" option in Wrap context menu,
that puts the image behind the text.

Change-Id: Ibd652bb593dd5a737bed3b4447be5b4bee7d4b70
2020-03-18 16:56:29 +01:00
Pedro Pinto Silva
8f551b3253 Mobilewizard: Table properties: fix layout and icons; replace delete table icon; remove labels
Change-Id: I7652a5382b4a828ae21e8ce1cf6da21b7ce78b91
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90652
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-18 16:46:04 +01:00
Tor Lillqvist
f0db3d0d51 Add some comments
Change-Id: Ia7153440121acb078f299f79f46fb84d36c67647
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90704
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-18 16:31:33 +01:00
Tor Lillqvist
40777e2384 Add comment to remind what "any-hover: none" means
Change-Id: I78bcdaba5b29923f552b44548524b023ecb77b9f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90706
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-18 16:22:42 +01:00
Pedro Pinto Silva
8fa38448e9 Mobile: Writer: context menu: Add missing icons for set shape to background and foreground
Change-Id: I63408cdd8b693445a358050abee03044617c7287
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90702
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-18 15:55:34 +01:00
Pedro Pinto Silva
82ac7f527f Mobile: Writer: Fix Insert Custom Table
Change-Id: I5208a74d4806b7b661e213db0a314b944be797de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90684
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-18 15:39:37 +01:00
Pedro Pinto Silva
a28a759212 Mobile: Writer: Insert: Add missing icons to Formatting marks submenu
Change-Id: Ieadca0bdb5668d0bdc8ee9356879b652b540ab3c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90659
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-18 15:35:48 +01:00
Miklos Vajna
f32c1f2feb wsd: improve lifecycle in ClientSession::onDisconnect()
Once unit-bad-doc-load completes (with success in exitTest()), sometimes
we have an error during shutdown.

The reason seems to be that ClientSession::onDisconnect() calls
DocumentBroker::removeSession(), which may delete the ClientSession, so
by time time isCloseFrame() is called, we have trouble.

Fix the problem by keeping a reference to self before calling
removeSession().

Change-Id: If5b409822563ba5a45d453329516671065d8f054
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90681
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-03-18 15:17:02 +01:00
Michael Meeks
10c293d014 android: use Java object serialization instead of JSON.
This is incredibly quicker, JSON serialization was the bulk of the
performance issue, and took handful of seconds for a chart.

Change-Id: I51bebae6324c3d466f843ee737b051b911cd5fff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90673
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-03-18 11:27:42 +01:00
Tor Lillqvist
a47a09f471 Clarify what this file is for
Change-Id: I7cd08cda289859fc272007b10df8b030411a9aa6
2020-03-18 12:01:57 +02:00
Ashod Nakashian
6e70407ba1 cypress: reuse select-all helper
Change-Id: I96a695dd96c07ab977ea0814117c642923e2f4db
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90648
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-18 10:14:53 +01:00
Ashod Nakashian
4ff5406701 cypress: reuse helper to enable editing in tests
Change-Id: I9565376bf3e34c2d95a14a5411cee732a77f9f0a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90647
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-18 10:14:31 +01:00
Tor Lillqvist
d817fe9949 Make contents of portrait and landscape media query blocks be in same order
This makes it easier to compare them.

Change-Id: If25f4c4dd3ee8a2a9d88d21521df6308857703a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90674
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-03-18 09:39:19 +01:00
Ashod Nakashian
3bafa7d4ab leaflet: maintain the keyboard state after toolbar actions
Previously we supressed the keyboard after toolbar
actions, but that is problematic because then the
user is unable to delete/replace selected text,
because the keyboard is hidden and there is no way
of showing keyboard without changing the selection.

Now we maintain the keyboard state, which is likely
visible, since a selection shows the keyboard.

This might not be ideal, because the user might
hide the keyboard on the device and we will restore
it after invoking a toolbar action, but at least
it's more usable now. Unfortunately, there is no
API to track the keyboard visibility.

New Cypress tests added to validate the above.

The tests depend on checking the last keyboard
visibility state in Map, because there is no
reliable (or any?) way to know whether the keyboard
is visible or not. There are many cases where we
actually hide the keyboard, while having the input
focus on the textarea element, so that is no indication
that the keyboard is visible. We do this for usability
purposes. For example, during zooming, when selecting
cells and graphics/shapes, etc.

The purpose of the cell is to validate that we restored
the keyboard visibility or we changed it, depending
on which is expected after each operation.

Change-Id: If0f2e96909ff20753043734789397d190cedb502
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90663
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-03-18 07:30:08 +01:00
Ashod Nakashian
b0f8897b47 leaflet: show/hide the keyboard with the cursor
We should only show the cursor without the keyboard
when the focus is not in the document, and even
that is highly suspecious.

Change-Id: Ibbddf24464b0b41bb0206a8d28f31aa26779fbb8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90525
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-03-18 07:29:49 +01:00
Ashod Nakashian
bc5bf2eb2a cypress: calc assert we are in text edit mode in focus test
Change-Id: I21471d14d4bc44b20d252757c3bbb770e069bc81
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90649
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-03-18 04:56:01 +01:00
Jan Holesovsky
b5e599f3c9 android: Beautify the rating dialog.
Change-Id: I2114b42cf0f21526ab4035c1ad69ba25dee4aa7b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90678
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-18 00:37:03 +01:00
Jan Holesovsky
eab62f8ab7 android: Move the code to RateAppController & simplify a bit.
Change-Id: I03eb0dbce22b83bac2c3cfc06db1bff2faaac076
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90677
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-18 00:36:38 +01:00
mert
76f4c6de3b android: added a rating dialog
Change-Id: If1fed5bff1f7b607027d01a69d09de997fae8473
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90479
Tested-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-18 00:36:05 +01:00
Jan Holesovsky
876854d3eb android: Add support for EPUB, but disable it for the moment.
It needs support in the core that is currently missing...

Change-Id: I417172bca0c7d32dfda0a11bd8a9894ec33d72fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90653
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-03-18 00:35:00 +01:00
Dennis Francis
01f152ad98 Let Hammer for scroll-container listen for 'swipe' too
and delegate it to L.Map.TouchGesture's swipe handlers
which does 'ergonomic' scrolling (added in
7338e3d818). With this we get
better/smoother swipe response when the swipe starts at the
right edge of the sheet (where the scroll widgets are).

This is a follow-up improvement of :

commit 0ca8e3b639
Author: Dennis Francis <dennis.francis@collabora.com>
Date:   Fri Feb 14 18:11:37 2020 +0530

    Lets have Hammer pan listeners on scroll-container...

Change-Id: Ib5260f540434ae6af649102a1f6d6eae57e4659e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89728
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-03-17 23:30:39 +01:00
Pranam Lashkari
dd6256d93c leaflet: use "To Background" and "To Foreground" only in Writer's context menus
These options had to be removed from Calc, because sending shape to background
created multiple copies of the shape (a bug in tiled rendering?) and it was
not possible to select the shape in the backround and to bring it again to
foreground.

Change-Id: I8293ca857978e2b0b2574a9f3b420407e35c82f2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90675
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-17 23:03:29 +01:00
Ashod Nakashian
b2ec95dcfd cypress: new impress editing tests
Single- and double-click starts editing
text-boxes in Impress. Single-clicking works
only on text, not in the white-space.

Merges an existing test with a new one to
minimize redundancy where there is overlap.

Improved helpers to minimize duplication
and update a single place when there are changes
to the common operations/checks.

ESLint version set to 6 to support the inline
closure syntax that 5 doesn't support. This is
only used for tests, so perhaps we should have
a different ESLint config for leaflet to avoid
breaking IE11, which is pre-6.

Change-Id: I14ee65b18e310f4ff6b93ce81580b3d6aba0fa03
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90360
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-03-17 22:53:11 +01:00
Pranam Lashkari
b470fdbd3f leaflet: "to Foreground" option enabled
In context menu of shape -> arrange -> to foreground

This option allows user to put shape infront of the text

Change-Id: Ifb8690d8f9aae92dc15b6bb643222113b1755a3c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90672
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-17 22:01:59 +01:00
Pranam Lashkari
2d619ab10b leaflet: "to Background" option enabled
In context menu of shape -> arrange -> to background

This option allows user to put shape behind the text

Change-Id: I2af69dc9198de8aee087f5893b84dca92aecc03b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90670
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-17 22:01:40 +01:00
Tor Lillqvist
603f964361 Add more entries to mobileBlackList
Specifically, for the context menu you get when you have selected one
bar of data in a chart, those items that would open a tunneled dialog.

Change-Id: I5406018b63233e7e936494a956ace3dfcdce310d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90660
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-17 19:56:52 +01:00
Tor Lillqvist
2d703c9460 Add some UNO commands that bring up tunneled dialogs to the mobileBlackList
Will do this in batches. These are the menu items that showed up in
the context menu for the "internal" chart in a chart object (when you
have selected the chart and "opened" it, so that the rest of the sheet
is darkened). (Unclear about terminology here, the terms in quotes are
ad-hoc.)

Change-Id: I138f992e1b9cc0b4e31a2c0b64bea2e9c160ce4f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90609
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-17 19:53:27 +01:00