Commit graph

8226 commits

Author SHA1 Message Date
kaishu-sahu
1797ca4b45 android: fix ArrayIndexOutOfBounds on selecting 'Drawings' in DefaultFileFilter setting
Change-Id: I5ed924d9d79db169b11a0561b89da9b57eb078d9
Reviewed-on: https://gerrit.libreoffice.org/66971
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-16 09:23:15 +02:00
kaishu-sahu
3f896d749f android: Setting default values to setting preference, minor ux improvements
Change-Id: I356871429f2e26d9d34e0e1428334a4d2287b683
Reviewed-on: https://gerrit.libreoffice.org/67295
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-16 09:23:14 +02:00
Jan Holesovsky
264b6e941e android: Cleanup unused resources.
Change-Id: Ic1003da521d9496ee46ccbd72dd1935caa5e53c1
2019-04-16 09:11:30 +02:00
Florin Ciornei
7705d5893d android: Port Settings from the old app
Change-Id: I283040c518f9a7deb3bd302bc9ed2d11ac560775
Reviewed-on: https://gerrit.libreoffice.org/70790
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-16 08:52:48 +02:00
kaishu-sahu
97d659d480 android: Update handling of the storage permission.
If the user does these steps: install -> open a document(from app's file manager) -> close the app -> remove storage permission
-> open the document from the launcher shortcuts, he/she gets an error(from loolwsd).Expected behaviour should be to ask for
storage permission. Same behaviour can be observed if the user tries to open the document via file uri provided by 3rd party
file managers on api < 24.

Change-Id: Idfc3d55a81ccd269a2251aef57935eff2569ea94
Reviewed-on: https://gerrit.libreoffice.org/70759
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-15 11:18:11 +02:00
Samuel Mehrbrodt
184654581c Branding: Add container for custom logo in about dialog
Change-Id: Ib6b65f1cd1990de821743cf1ac9b464add4d17e7
Reviewed-on: https://gerrit.libreoffice.org/70667
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-04-15 09:11:26 +02:00
Andras Timar
5f10b44f00 Extract iOS strings with prop2po from Translate Toolkit + update pots
Change-Id: I0b7a7f2b9dd9bcbc52117fbe3e1009cc5f629ea2
2019-04-13 21:59:41 +02:00
Tor Lillqvist
4cfd2e8744 Bin three unnecessary translatable strings that don't occur anywhere
They for some reason appear when one adds a Settings Bundle to the
project using Xcode, but are not needed, as far as I see

(I already removed a fourth when I added the Finnish localisation.)
2019-04-12 23:06:29 +03:00
Tor Lillqvist
bf676c8643 Add a string for translation from the collabora-online-4 branch
... even if it doesn't occur here in master, as the on-disk tile cache is gone.

Change-Id: I1ab5d5edde0386ca4c6c452b1cf4292c30a7e3df
2019-04-12 22:46:33 +03:00
Tor Lillqvist
095c4de38b Experiment with adding localisation of the Settings.bundle
Add a sample Finnish localisation. The localised Root.strings files
are supposed to come from some Pootle-based workflow eventually.

Apparently there is some new and improved way to do localisation in
Xcode 10, "Base localisation", but our project file was created in an
earlier Xcode version and I couldn't figure out how to do it the new
way for Settings.bundle, so I manually added the fi.lproj directory.

I changed the English Root.strings file to be in UTF-8 instead of
UTF-16 (and it still works). (The Finnish one is UTF-8, too.) I added
the strings to be translated from Root.plist into it. That is the file
that should be used as a base for Pootle work, no need to extract
strings from the Root.plist, I think.

Change-Id: I80f1c3199ee14678bb1438e218eb9c2475cd66f8
2019-04-12 21:26:37 +03:00
Jan Holesovsky
6746ef981d android: Allow setting of the app name via --with-app-name too.
Change-Id: I8c8da8b4872724daf72841f2bf36fdff9ac53df6
2019-04-12 18:06:16 +02:00
Henry Castro
0be4eee313 loleaflet: fix "select text with mouse after clicking into text box moves ...
text box instead"

Change-Id: Id867af5ebf7c93cc494be7fad93aae235ffa36d1
Reviewed-on: https://gerrit.libreoffice.org/70262
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-04-12 15:57:36 +02:00
Henry Castro
6987c3509c loleaflet: fix the input method when receives 'compositionend' event
Change-Id: I296a714f41afb8a497e21661db0edf23d270b821
Reviewed-on: https://gerrit.libreoffice.org/70607
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2019-04-12 15:24:42 +02:00
Tor Lillqvist
54951870c3 tdf#124448: Don't show the 'Download as' menu entry on mobile apps
It doesn't make sense, and the functionality doesn't do anything
anyway.

Change-Id: I61dfeb8815064756af5779e761272c22339f2de5
2019-04-12 15:58:15 +03:00
Jan Holesovsky
ea659b3d99 Use the app name more generally, not only on iOS.
Preparation for using it on Android too.

Change-Id: Iee7778b2625a02a98daff5df87c39f4ab1d18144
Reviewed-on: https://gerrit.libreoffice.org/70651
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2019-04-12 13:44:40 +02:00
kaishu-sahu
1385f11f6e android: add launcher shortcuts support for api > 24
Change-Id: Iac166e2d659ac02c204fa80957a95dd80456d0a5
Reviewed-on: https://gerrit.libreoffice.org/70613
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-12 10:33:35 +02:00
kaishu-sahu
caeda968b3 android: convert the remaining explicit intents to implicit intents.
Change-Id: I0d9ff0a9726f751041d8ee6bdf3c1cd90e95baf4
Reviewed-on: https://gerrit.libreoffice.org/70604
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-12 10:31:39 +02:00
Aron Budea
18b6bb9ba7 Update Save icon when document is changed
It was not showing modified status.

Regression since 1d2b0415b9

Change-Id: I5604dc87613fc5052b5932aaabf470fc4fb8d1bf
Reviewed-on: https://gerrit.libreoffice.org/70514
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-10 18:52:01 +02:00
kaishu-sahu
c74a47bc7e android: add view document from other file-managers functionality.
Change-Id: I2325110a18c0acd93ec235e1a2e0dcc55affa6f5
Reviewed-on: https://gerrit.libreoffice.org/70025
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-10 18:00:20 +02:00
Jan Holesovsky
75949f6fd2 android: How to debug the native code with symbols.
Also no need to avoid stripping any more, the symbols are not necessary
inside the .apk.

Change-Id: I4d9f4c3db26c3d61af3cc5167589fcc82834d7f9
Reviewed-on: https://gerrit.libreoffice.org/70516
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-10 17:49:06 +02:00
kaishu-sahu
8ff2ac2142 android: add ownCloud support from old app.
Change-Id: I11f38bc7b35d2c7d9cc8a718232eac2efe13388f
Reviewed-on: https://gerrit.libreoffice.org/70084
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-08 18:45:30 +02:00
Samuel Mehrbrodt
ef862cd054 Fix copy/paste error
Change-Id: I073feea761579ac9f196c430b8a6745811ee31fd
Reviewed-on: https://gerrit.libreoffice.org/70417
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-04-08 15:54:53 +02:00
kaishu-sahu
789a1c1a7b android: add no_recent_items/no_items msg.
Change-Id: I398c65702d246772aeb46b68ba54d2800ce8200a
Reviewed-on: https://gerrit.libreoffice.org/70014
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2019-04-08 12:51:17 +02:00
Tor Lillqvist
65dd2ce622 tdf#124163: Don't display the View > Full screen menu entry in mobile apps 2019-04-05 21:25:14 +03:00
Tor Lillqvist
e8ba2ca35a tdf#124177: Don't show the Help > Keyboard shortcuts menu entry in mobile apps 2019-04-05 21:09:26 +03:00
Michael Meeks
0b6e769667 perftrace: trace more pairs and output line number details too.
Change-Id: I48c74266e4fe3233b4534c46b4864f58a9e63200
2019-04-05 17:57:52 +01:00
Jan Holesovsky
f59e7a3740 android: Use the stripped liblo-native-code.so for the .apk.
Change-Id: If0b5fd34d8a834a7297b4a92aaa782876345cfc4
2019-04-05 18:16:58 +02:00
Szymon Kłos
6cc7bad2e0 Calc scrolling with selection fix
Scrolling with selected sheet was endless.
This change allows scrolling using mouse wheel
when scrollbar is close to the end of screen
and prevents from doubled updates.

Extension of work done before in:
ec24337b11

Change-Id: Id76818158c0d9988b323ec52a408efd5ae6a9da5
Reviewed-on: https://gerrit.libreoffice.org/70266
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-04-05 10:59:21 +02:00
Michael Meeks
ca619e6fd7 perftrace: annotate start events as idle as well.
Change-Id: Iaf603101426caca1f48ebe10918170287aee006d
2019-04-04 20:01:19 +01:00
Michael Meeks
cacaefc287 perftrace: Annotate idleness and render it better as gaps.
Change-Id: If4d7853d02ca736f8cab12bd9dcc7c4b60ec7d27
2019-04-04 19:18:45 +01:00
Alexandru Vlăduţu
afcfd7a616 loleaflet: remove loading html page leftover
loading.html resource made obsolete by commit 51e849bf5d

Change-Id: I2308e4c121520f6ed293d5e86805c4daeec3fca6
Reviewed-on: https://gerrit.libreoffice.org/70257
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-04-04 14:55:23 +02:00
Alexandru Vlăduţu
51e849bf5d loleaflet: optimize slideshow spinner
This commit fixes 2 issues:

- a UX issue described by tdf#124544 (slideshow spinner is not
displayed for the correct duration - user shown a blank screen while the
browser downloads slideshow.svg)

- an additional HTTP request is being made to loading.html just to
display an ordinary spinner (that can be otherwise loaded via css for
example)

tdf#124544

Change-Id: I90d1e73d1514d736dd58a53caa5921b42bc1bd75
Reviewed-on: https://gerrit.libreoffice.org/70250
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-04-04 13:46:29 +02:00
Michael Meeks
f031e95229 perftrace: extend linear events duration to the next event.
Change-Id: I4ab31a6a71b3efcc366ca15e15d513f73205ca37
2019-04-03 21:34:47 +01:00
Henry Castro
bdf3b0f90b loleaflet: avoid ID duplication in the spreadsheet toolbar
ERROR: The parameter "id=break8" is not unique within the current
toolbar items. (obj: actionbar)

Change-Id: I208a6f3a3a21397a7e96a5663dba8a32923c4724
2019-04-02 16:04:02 -04:00
Henry Castro
1d2b0415b9 loleaflet: remove "document changes" status bar item
It is no longer need it

Change-Id: Ic054c52ad14c55a0e93c84f4ff94f83ea0d33100
2019-04-02 15:49:11 -04:00
Michael Meeks
5ea3f32857 perftrace: add thread identifiers, and spoof a duration for all lines.
Change-Id: I13d929ebb2f06969cccc1b89f6e2c9b022b107e3
2019-04-02 20:43:56 +01:00
Michael Meeks
4744755ede perftrace: map pids.
Change-Id: Ibb884bf212453decd146131e52478bdfe4283879
2019-04-02 20:27:45 +01:00
Michael Meeks
545f1457a3 perftrace: output in Trace Event Format too and by default.
Change-Id: I964f869d953234a83066c5d34f43abfc22933b46
2019-04-02 20:18:28 +01:00
Michael Meeks
5fe3cb0a4d Creds.
Change-Id: Iee6f567f3046461c8d034192f282ac7e8fd2f468
2019-04-02 20:18:28 +01:00
Henry Castro
9657e4dfa3 fix build: "sockaddr_un addrunix’ has incomplete type ...
and cannot be defined"

Change-Id: I2c136fc47c800ec3efd6268b4601100033e22724
2019-04-02 10:31:08 -04:00
Alexandru Vlăduţu
0821940ae7 loleaflet: check document hyperlink before open
Change-Id: Ie2b1ba8baf49136fa805ab5b3a52f7b7fb5827df
Reviewed-on: https://gerrit.libreoffice.org/70113
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-04-02 14:45:13 +02:00
Alexandru Vlăduţu
a9f1c91e84 loleaflet: remove npm dependency leftover from shrinkpack folder
Change-Id: I70693d505ade3c465fc3bfec7a080197ef8cd37b
Reviewed-on: https://gerrit.libreoffice.org/70115
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-04-02 08:45:18 +02:00
Alexandru Vlăduţu
765fac1d0d loleaflet: remove unnecessary dependency from package.json
Change-Id: If0ee24f31bcf47b2f5570ade95165cad9f8e5eae
Reviewed-on: https://gerrit.libreoffice.org/70109
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-04-02 07:59:42 +02:00
Samuel Mehrbrodt
71b9faca7c Fix -Werror=maybe-uninitialized
Change-Id: I076fb4b9ef80e4fbf13cdd22cff51ab1e99a2c6c
2019-04-01 14:18:23 +02:00
Samuel Mehrbrodt
f46d5e9845 NPM: require at least v5.0.0
This is necessary after 338563ab45

Change-Id: I026dba613349931a95fd71b126e72605d1546140
Reviewed-on: https://gerrit.libreoffice.org/70054
Reviewed-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2019-04-01 13:37:35 +02:00
Jan Holesovsky
46bdafb15f Cosmetics - add some spaces.
Change-Id: I18124265439a364ccdf6715b10fc8f2f2701ac5c
2019-04-01 12:28:17 +02:00
Florin Ciornei
b02cb37c72 android: Remove LOKitShell.java and refactor code
LOKitShell class is not needed anymore in the new app.

Change-Id: If9974f99e33d62102ae2290a2ed8847ee784a4c7
2019-04-01 12:22:39 +02:00
Florin Ciornei
84df937731 android: Display license and notice as html in a separate activity
In order to prevent starting LOOLWSD instance only for displaying license
or notice, these will be displayed as html in a separate activity inside a
webview.

Change-Id: I1d5817fa959abc69276ed717e962bea6291a85a8
2019-04-01 12:22:39 +02:00
Florin Ciornei
a21808f407 android: Add open document functionality to the document browser
To investigate: sometimes the MainActivity that displays the document
crashes.

Change-Id: I0f49e4449bfd8d5123153f04c4316d20d6e7ef22
2019-04-01 12:22:39 +02:00
Miklos Vajna
150ae4e8db net: fix -Werror,-Winconsistent-missing-override
Change-Id: I5e7bce35cd9892a3f74d6d57e094c006bd13b991
2019-04-01 12:00:27 +02:00