Commit graph

10021 commits

Author SHA1 Message Date
Michael Meeks
b5f58fbe8c postMessage CSS checking improvements.
Ironically our attempts to double-check message origin against our
parent was blowing a security exception.

Instead send the list of origins we will accept from WSD, and
check them ourselves (as well as the browser check).

Why make it so hard to check that a postMessage comes from an
ancestor frame ?

Change-Id: I1311be3e1d68a31cfdc96b45a5eb5dd7f26e7ea9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86788
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-15 10:56:27 +01:00
Jan Holesovsky
0a35e432ff android: When the mobile-wizard is open, the Back button should go a level up.
Without this, we were closing the document, which was very annoying.

Change-Id: I1e841da28c92c0e01284c2d7e2d4dbc6762bfffd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86779
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-14 17:44:28 +01:00
Pedro Pinto Silva
4da29f6422 Mobile: Spreadsheet: Readonly mode: Adjust top positions from frame and document
- account for moz vs webkit intricacies
- account for newest spreadsheet formula implementation

Change-Id: If5ae4159bf5b5cea82771b085f8e7e90f97e0804
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86760
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-14 14:34:19 +01:00
Pedro Pinto Silva
4162d892e0 Remove changes introduced in 85362 because :
- it was causing improper behaviour when multiselecting
- there is always a cell (svg path) that is been set always with diferent stroke color even when multiple cells are selected and so CSS shouldn't be modified but instead, probably, JS bits

Change-Id: Ie8f11f14f5ffc958f646332c7fe2bc810b34d808
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86755
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-14 13:11:06 +01:00
Ashod Nakashian
f0d6b619e9 leaflet: give focus to the dialog on open
Change-Id: I715025123edf2bcf0564b5ce43c16b5595daed5b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86754
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-14 13:02:40 +01:00
Ashod Nakashian
4619ac73ff wsd: minor cleanup
Change-Id: I2c062e1f7d309c8d1c54e6d0e8ca4c40f288d09d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86723
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-14 13:01:05 +01:00
Tor Lillqvist
7254183877 Add some source files from sd for easier breakpointing
Change-Id: I2797b8fb8fbeebe73b6536a27733ad5fe2123d50
2020-01-14 13:21:04 +02:00
Muhammet Kara
7b94981b7d Show hyperlink pop-up on cell selection
Change-Id: I59f3301bd94c4d898ec2ff82fd91d3c611122d3a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86651
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-13 23:15:52 +01:00
Michael Meeks
1cf5bde981 Toolbar color buttons should track transparent state as well as colors.
Change-Id: I727ff4f942b7059da4f17216fe523dd1bbb04cd2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86710
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-13 20:01:37 +01:00
Michael Meeks
f5d159b80b mobile: restore calc background quick-toolbar button & fix typo.
Change-Id: Ieae15188113cd646bb3fe9be7747308a95857569
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86709
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-13 20:01:28 +01:00
Pedro Pinto Silva
84ef6bd6fb Mobile: toolbar-down: scroll/swipe indicator: increasing width
also related to: https://gerrit.libreoffice.org/#/c/online/+/86691/

Change-Id: I85f0500927164cfeab756c1588e3f5e97644b866
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86702
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-13 17:31:34 +01:00
Weblate
72f34a9e51 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: Iaf860441243cd2f3922863a52b8987a865aeaf14
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86698
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-13 17:27:43 +01:00
Weblate
6a68ba735a update translations
LibreOffice Online/loleaflet-ui (Italian)
Currently translated at 100.0% (282 of 282 strings)

Change-Id: Ic91e8746d85971956f26e86d41e180b0a63b27fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86657
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-13 17:27:27 +01:00
Andras Timar
e199bcc72d add 'Report an issue' item to the Help menu
if unwanted, this menu item can be hidden with branding.css

 #menu-report-an-issue {
    display: none;
 }

Change-Id: Ic3fc3a74e8bea0b68ced542423c6068b150f647b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86632
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-13 15:59:46 +01:00
Pedro Pinto Silva
839cab9b65 Increased the horizontal scroll indicator contrast,
- which increases legibility even when there is a checked element underneath
- also decreases its width so the element that is partially under is still interactive without the need to swipe it first

Change-Id: I54fe3e3d0bd699246f76c77e929b3c4a250e0b82
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86691
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-13 15:11:00 +01:00
Henry Castro
069c95e9e5 loleaflet: mobile: trigger the mobile wizard on ..
long press event in thumbnail previews in Impress

Change-Id: Ib0661b906882b87d68833c96ce3f535bd3fccbec
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86568
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-13 13:13:33 +01:00
Henry Castro
f192a5e7ba loleaflet: simplifiy click listener on thumbnail previews
It is complicated to debug 5 event listener attached to an element,
let's use one event listener.

Change-Id: I9de1f1707f95f07a49358c8e7580ad232edd4389
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86567
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-13 13:13:15 +01:00
Weblate
77e0f99c07 update translations
LibreOffice Online/android-app (Chinese (Traditional))
Currently translated at 7.1% (7 of 99 strings)

Change-Id: I1ceaa86db8879763ae029bc4942996dfa79d0973

update translations

LibreOffice Online/loleaflet-help (Chinese (Traditional))
Currently translated at 47.6% (198 of 416 strings)

Change-Id: I1c1848e73e53d0be044505ae7a687bf28d8578ca

update translations

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

Change-Id: Ibf3561376a333bc2b7766e50c90fb32ff7eb746d

update translations

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

Change-Id: Ic1bfb58a6c9ea4bbd5910314b5505336a6e91783

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 100.0% (282 of 282 strings)

Change-Id: Ib292d64b5a1acb65c3ea5edd37cafffcf34b1f2a

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 97.5% (275 of 282 strings)

Change-Id: I1e1bad69cb9b1916d259a1ec65a512c56dd4fa3a

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 100.0% (282 of 282 strings)

Change-Id: Iecdbfd73892365de7c650659537e99cffc431e1e

update translations

LibreOffice Online/android-app (Chinese (Traditional))
Currently translated at 7.1% (7 of 99 strings)

Change-Id: Ia75fd49836fa4ada900f9bf9961a97fb6a8def09

update translations

LibreOffice Online/loleaflet-help (Dutch)
Currently translated at 47.4% (197 of 416 strings)

Change-Id: I812cd246853d26ed7ce0ebef58fc8e839f5300c5

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 97.2% (274 of 282 strings)

Change-Id: Iedcd80e45a7062004c4395ae35bd90917c51ae6b

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 81.6% (230 of 282 strings)

Change-Id: Ib4c3221aa9a7b0c1ff7c64c323d36239cf00fd63

update translations

LibreOffice Online/android-app (French)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I20b1d3949a277712a97ceaf907db75972ea216cf

update translations

LibreOffice Online/android-lib (French)
Currently translated at 100.0% (6 of 6 strings)

Change-Id: I3794a471ab784220ed74b2500371834eb7d2dad8

update translations

LibreOffice Online/loleaflet-help (French)
Currently translated at 56.2% (234 of 416 strings)

Change-Id: I884525d716b28df7bea6b711327cd943c4619caf

update translations

LibreOffice Online/loleaflet-help (Bulgarian)
Currently translated at 59.1% (246 of 416 strings)

Change-Id: I6b5aeccf51de84d9241c8f16b592c1cd4da07961

update translations

LibreOffice Online/loleaflet-help (Bulgarian)
Currently translated at 55.0% (229 of 416 strings)

Change-Id: I62bd52a62ebc192d8c0b50f4ee703de0ac6194c5

update translations

LibreOffice Online/android-app (Bulgarian)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: Ib31a12432797e9a667f355a757976ebc5f5c4292

update translations

LibreOffice Online/android-lib (Bulgarian)
Currently translated at 100.0% (6 of 6 strings)

Change-Id: If554f47042f9661ea44fe6a28e731d0a23c4a516

update translations

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

Change-Id: I2e8728a45cbf15b15b5adfa78162673676c9ba4c

update translations

LibreOffice Online/loleaflet-help (Bulgarian)
Currently translated at 52.9% (220 of 416 strings)

Change-Id: I4c4a2ca190d1b1ba3eec52dc882f6afaaf572ebb

update translations

LibreOffice Online/android-app (Bulgarian)
Currently translated at 20.2% (20 of 99 strings)

Change-Id: Idc24be13fd341fd0703290d475359cfab7d4ce9f

update translations

LibreOffice Online/android-app (Bulgarian)
Currently translated at 2.0% (2 of 99 strings)

Change-Id: If65f55811780d6d719821d3c80b413fc8d4f882f

update translations

LibreOffice Online/android-app (Catalan)
Currently translated at 96.9% (95 of 98 strings)

Change-Id: Id9b5d5adbcab82c063848c15a7e7e03bfce83469

update translations

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

Change-Id: I070bb0269799db370013d7e0f47989e5f3cc6286

update translations

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

Change-Id: I5a0c0d0292ac535ff8ca9acdce96c0bbdf315315

update translations

LibreOffice Online/android-app (Esperanto)
Currently translated at 5.1% (5 of 99 strings)

Change-Id: I93bcf7aedea2346ed28333efca725462893623ea

update translations

LibreOffice Online/android-lib (Esperanto)
Currently translated at 16.7% (1 of 6 strings)

Change-Id: Ieb91af97e1ce5196b72381e4eda18af22c90c7da

update translations

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

Change-Id: Id7835b528da091087f1cf6a39f500f76e4d7ecd3

update translations

LibreOffice Online/ios (Esperanto)
Currently translated at 100.0% (4 of 4 strings)

Change-Id: Ia9b6b943aa8bf181a5dd727ec753fbcfde8a46ff

update translations

LibreOffice Online/android-app (Aragonese)
Currently translated at 2.0% (2 of 99 strings)

Change-Id: I992fdc29899162edcdd4be507e421b42631d308c

update translations

LibreOffice Online/android-app (Esperanto)
Currently translated at 2.0% (2 of 99 strings)

Change-Id: Id496454fae02b0a3c8e61be3c94f7689b5ce7e66

update translations

LibreOffice Online/android-app (Asturian)
Currently translated at 28.3% (28 of 99 strings)

Change-Id: Icba09f2260053f19beed8c27eb1b547ac9da759a

update translations

LibreOffice Online/android-app (Catalan)
Currently translated at 95.9% (94 of 98 strings)

Change-Id: I7dceb1a049043aecfcb8d732668084769b0cb70d

update translations

LibreOffice Online/ios (Esperanto)
Currently translated at 75.0% (3 of 4 strings)

Change-Id: I230c1d2db666e1c2107ae672ab50029016178ca8

update translations

LibreOffice Online/loleaflet-help (Chinese (Traditional))
Currently translated at 47.6% (198 of 416 strings)

Change-Id: Ieb12b08057d23ed8c9f531a4295f7cbd23911090

update translations

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

Change-Id: Ia5bc22db5542c423fac97a398188d2c770654592

update translations

LibreOffice Online/loleaflet-help (Upper Sorbian)
Currently translated at 63.7% (265 of 416 strings)

Change-Id: Ia01c28783205564fdd4cad9fbcbc183822a42d9d

update translations

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

Change-Id: I2cc84176d1fcd17a9b3b3eccff9457f1fcb0cbdb

update translations

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

Change-Id: Ic26b556f21a3464d2d14e52328ae01692a0c22e4

update translations

LibreOffice Online/loleaflet-help (Welsh)
Currently translated at 55.0% (229 of 416 strings)

Change-Id: I65b34d7ed3ca2be8206a68f7e9e6d1fd4e27c7cc

update translations

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

Change-Id: Ie7edda255519cea71926e63f6866f6bbb1d16708

update translations

LibreOffice Online/loleaflet-ui (Norwegian Bokmål)
Currently translated at 83.7% (236 of 282 strings)

Change-Id: I83006dff09e174d7c8d91da3d2f7fe8e8934ceef

update translations

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

Change-Id: I7d28007076fe980585b63afbb27a55b935dbc4a7

update translations

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

Change-Id: Iefc68981bd0561a75da825d05b65e0ca204fd90d

update translations

LibreOffice Online/loleaflet-ui (Esperanto)
Currently translated at 63.1% (178 of 282 strings)

Change-Id: I8d010a8d18588f7c86030083b718a8d14b91e98c

update translations

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

Change-Id: I3edae99d444fce26b0404943c99ba225f9c37754

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 29.4% (83 of 282 strings)

Change-Id: I07883b4dd2ea00028bcc4eaf7e9198a9eb45af57

update translations

LibreOffice Online/loleaflet-ui (Aragonese)
Currently translated at 0.4% (1 of 282 strings)

Change-Id: I3945f187037db22e0badbff0b1c87eea0bd840ff

update translations

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

Change-Id: I23d2e499d519a85a465bf4a196a9060caaee72f3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86337
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-13 09:35:44 +01:00
Michael Meeks
ca39976735 input: map auto-correct keystrokes to key input for non-mobile.
Avoid mobile's extraordinary IM work for now; encouraging the core
to tolerate a number of backspace characters is a tad tough for now.

Change-Id: Id3cad6ad12384440ee613e88741c395c2d742683
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86589
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-11 11:38:23 +01:00
Michael Meeks
8dbbb2cd33 panel/wizard: cleanup two-panel tabbed view.
Hopefully it can be re-used for a single-tab view now.

adapt to new panel naming re-using the UNO methods - cf.
related core commit.

Change-Id: I1312d3571ccb7cf3561f1661f73f860c56f002a4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86572
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-10 20:01:09 +01:00
Andras Timar
684aafd0e1 Revert "Bump package version to 4.2.0-3 and update deb/rpm package files"
This reverts commit b0b2e8f5e8.
2020-01-10 12:17:43 +01:00
Andras Timar
be73173139 Revert "[cp] Update the .gitreview for this branch."
This reverts commit d2a0779079.
2020-01-10 12:17:31 +01:00
Andras Timar
b31086f665 Revert "[cp] Use the collabora_svg theme and large icons for the sidebar"
This reverts commit 312075b951.
2020-01-10 12:17:23 +01:00
Andras Timar
4800c6c72f Revert "[cp] Collabora help URL"
This reverts commit 3a04dfa4ba.
2020-01-10 12:17:15 +01:00
Andras Timar
b0b2e8f5e8 Bump package version to 4.2.0-3 and update deb/rpm package files
Change-Id: I935425f644f373acdd4bf8d073ec8be3f29313b8
2020-01-10 12:08:08 +01:00
Andras Timar
d2a0779079 [cp] Update the .gitreview for this branch.
Change-Id: Ie9da7059fd45bee92fe1ced35dbff0b966b35912
2020-01-10 12:08:08 +01:00
Andras Timar
312075b951 [cp] Use the collabora_svg theme and large icons for the sidebar
Change-Id: I8b58c5e3ebe737abfac1f2c124e00bc717c862df
2020-01-10 12:08:08 +01:00
Andras Timar
3a04dfa4ba [cp] Collabora help URL
Change-Id: I7ba76cab5030d5d637e79ee6414c9963c67211f4
2020-01-10 12:08:08 +01:00
Michael Meeks
7c29eb06ea panel/wizard: adapt to new simpler 'deck' and 'panel' hierarchy.
Avoid lots of indirection and complexity based on the new,
simplified sidebar JSON hierarchy from the core.

Change-Id: I73d5c6af30d40e9a430e0f3df3b78b620f425e39
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86510
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-09 23:31:18 +01:00
Michael Meeks
f9aa0d61bc mobile: stop disabled menu items from breaking hamburger menu.
Change-Id: I0e98dbd853c0120e325f9558b7285392de615a84
2020-01-09 16:23:32 +00:00
Tor Lillqvist
8c4bff2b22 tdf#129327: Ignore all keydown events at the outermost level for iOS
Possibly a good idea for Android, too? See bug report for description
of what this fixes.

Change-Id: I6b70f431ced09044756c2edc3fcc2542428b62e1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86484
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-01-09 13:56:19 +01:00
Miklos Vajna
d10bbef749 Convert the WS error tests to a new-style one
So that they are in-process, which means it's easier to debug when they fail.

Change-Id: Icb3d7a7d0ffa7371eb3056b5de7144137c0acb8a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86463
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-09 08:59:09 +01:00
Jan Holesovsky
0cfd90d829 android: Fix creating new file from a template.
rm -rf of the assets was newly introduced, done after copying the
templates to their place.  So missing templates => crash; fixed.

Change-Id: I53d243b4f44c2c38843336e38e603ae0bd4b3c89
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86449
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-08 18:29:15 +01:00
Henry Castro
368f6ff70e loleaflet: prevent auto focus when the page is loaded
It has been added an attribute 'disabled' when permission is
'readonly', otherwise it is removed

Change-Id: I64a4cf9a7a754d66862e55805202358b9f83caf8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86442
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:23:12 +01:00
Henry Castro
ccd6c73a60 loleaflet: encapsulate the function related to map blur
Change-Id: I2d2dab867769e7f9b5497d4bc4834fc097c8d30f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86441
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:22:44 +01:00
Henry Castro
0064cfff56 loleaflet: simplify the function related to map focus
Change-Id: I0849ad3a5abe50aaba3b993f6851c113b1bb27cb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86440
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:22:11 +01:00
Henry Castro
e9d11f4a66 loleaflet: simplify "prevent default 'contextmenu' action"
The mobile and desktop prevents default 'contextmenu' action

Change-Id: I89171c955c153b2fceaad92970e2eaf039cb8527
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86373
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:21:14 +01:00
mert
026500b3a5 Fix insertshapes display problem
Insert Shapes dialog opens on the right
side of the screen and can be too
narrow on desktop

Change-Id: I8f9fe8f00989b504d05282fcd5332bf1a1b94ad0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85747
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-01-08 17:49:19 +01:00
Tor Lillqvist
152a20df3a Revert "tdf#129374: Make the overlay wider on iOS if it seems necessary"
There is a better fix coming.

This reverts commit ce7ad16087.
2020-01-08 16:29:45 +02:00
Michael Meeks
971ed41c0d admin: Kill menu uses href="#" so disable vex auto-close on popstate
Change-Id: Icc94fc0dae70718700b709b81785162254af2ed4
2020-01-08 11:51:10 +00:00
Pedro Pinto Silva
b752bb6d4a Mobile: Insert: Fields: Add icons for the respective uno commands:
- added in: 86371: mobile: add insert fields for calc & impress.

Change-Id: I5ec7424b3149eca431cf5f081397ae4e5979664f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86408
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-08 11:12:53 +01:00
Michael Meeks
28acde16e6 Mention the nodev mount flag on failed mknod.
Change-Id: Iafd034149c0c2859a6705f33557d61b0b24a927a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86372
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 21:25:56 +01:00
Michael Meeks
3cbaf15b70 android: disable FullScreen button for mobile apps.
By implementing mobileapp: false in the panel builder.

Change-Id: Id518fb4b02598511403eac4cef53e94317042fd4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86370
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 19:34:17 +01:00
Michael Meeks
8dd7bcffd6 mobile: add insert fields for calc & impress.
Also add option to enable/disable on-line spell-checking to the menus too.

Change-Id: I1ba2a68c7d410041b6710f598a7c7fc60511ffee
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86371
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 19:33:41 +01:00
Michael Meeks
873110de88 android: don't use std::vector allocation for large pixel buffers.
Amazingly more time was spent allocating, wiping and freeing these
vectors on Android than the actual rendering of pixels in a profile.

Change-Id: I49ea093816eba0f4187613ab6c8dc24d8dcba75b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86335
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 19:22:01 +01:00
Pedro Pinto Silva
a4b146ec51 Mobile: w2ui scroll elements:
- Enable and adjust elements when on mobile so they are visible but discreet (without covering icons)
- Make them not clickable when on mobile (thus avoiding unwanted scrolled due to users mistaps
- Make their parent aware of the ongoing scrolling and call w2ui resize on it (thus making the left and right indicator showing and hiding as we please)
- Test and adjust so this changes do affect affect the click listening on desktop etc

Change-Id: Ic35dadb71e7fd6ae3ff2fad3e52d5219e7520c55
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86364
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-07 17:36:21 +01:00
Michael Meeks
8522cbdb9f android: pick a good value for threads.
Change-Id: I2a550257a6a9cb176c67a888b7838855db06fe4b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86334
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 12:43:47 +01:00
Ashod Nakashian
af58a9e761 wsd: whitespace
Change-Id: Id8185dab66f95676be2db8908d0f12c5284174fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86321
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-07 11:47:04 +01:00
Tor Lillqvist
ce7ad16087 tdf#129374: Make the overlay wider on iOS if it seems necessary
Horrible hack, but works for the specific case described in the bug at
least.

Change-Id: I55150d84dc892ece69540fdc0d06bc277891c1fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86328
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-01-07 11:28:52 +01:00
Ashod Nakashian
ad0256259b wsd: handle rectangle=undefined gracefully
Change-Id: Ib9058956143aae8151c5e76fddff5dea313ff5e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86323
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 10:23:22 +01:00