libreoffice-online:distro/collabora/co-4-2-0

Last commit made on 2020-03-11
Get this branch:
git clone -b distro/collabora/co-4-2-0 https://git.launchpad.net/libreoffice-online

Branch merges

Branch information

Name:
distro/collabora/co-4-2-0
Repository:
lp:libreoffice-online

Recent commits

4386c17... by Pranam Lashkari <email address hidden>

leaflet: slide previews in impress adjusted to fit

In mobile vertical view impress slide previews were not visible

Change-Id: I24420577769e1124f9c7004ced54786522aa4bce
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89758
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Henry Castro <email address hidden>
(cherry picked from commit 439ce089f27dbe69322d1dfc426f9c743ae08497)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90319
Reviewed-by: Tor Lillqvist <email address hidden>

11d699c... by =?utf-8?q?Toma=C5=BE_Vajngerl?= <email address hidden>

android: create mainHandler on demand to prevent NPE

A crash happens when "back" is hit with a NPE exception because
mainHandler is null (not yet initilized). This changes the code
so mainHandler is initialized on demand and if not before, then
at least when initUI is called.

Change-Id: Id20b2093315ba41dac205fc4e94f31d00a4fe1f1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89953
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Michael Meeks <email address hidden>
(cherry picked from commit 0897397834608ff8f87382cac896f8912260616c)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90212
Reviewed-by: Jan Holesovsky <email address hidden>

2e32f1b... by =?utf-8?q?Toma=C5=BE_Vajngerl?= <email address hidden>

android: reuse an already open activity when starting a new one

This sets the "launchMode" of the LOActivity to "singleTask" and
implements "onNewIntent". This is necessary so that we don't
duplicate LOActivity instances, as that isn't handled correctly
and can cause a freeze or in some cases that text input from one
instance is sent to the other. The back button stack isn't ideal
as it still can return us to LibreOfficeUIActivity even when the
activity is started from some other app, but this at least is
consistent with how some other apps work.

Change-Id: Idd11214578ec124661e2612bb49ba7e4bc4f3cea
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89811
Reviewed-by: Michael Meeks <email address hidden>
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89912
Reviewed-by: Jan Holesovsky <email address hidden>

585cf6b... by Tor Lillqvist <email address hidden>

Bump the internal iOS app version number to 4.2.2

Otherwise, when one validates (or uploads) a new build, even just for
TestFlight purposes, one gets an error in Xcode: "The value for key
CFBundleShortVersionString [4.2.1] in the Info.plist file must contain
a higher version than that of the previously approved version
[4.2.1]."

48938d4... by Andras Timar <email address hidden>

Bump package version to 4.2.0-6

Change-Id: Id127752d7d58fa33c5dd6ca34e0b4835e1f3b591

d2c1d60... by mert <email address hidden>

Fix hyperlinkclicked message is not properly parsed

$.inArray does not work because the parsed msg
is not an array
Change-Id: I68a8312da17b0832b09a88afeaf05ad75a2c6e2d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89833
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Andras Timar <email address hidden>
(cherry picked from commit 41d065af2a8e58d76f53c9b57ff55093e0210531)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89804

461e3ef... by Pedro Pinto Silva <email address hidden>

mobileWizard: context actions were not aligned in some browsers

Change-Id: Ibea92fcce449eea9651e6d84e44e47924b116f2e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89544
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Pedro Pinto da Silva <email address hidden>
(cherry picked from commit ade9bcb454499786749cc11d480465f1cc70a4d2)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89581
Tested-by: Pedro Pinto da Silva <email address hidden>

9a91d45... by Pedro Pinto Silva <email address hidden>

Mobile: Toolbar-up: make sure that there is no background being applied to any icon on checked status

Change-Id: I1f419d485cefa387c35a9c42c9ac6671df909434
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89639
Tested-by: Pedro Pinto da Silva <email address hidden>
Reviewed-by: Pedro Pinto da Silva <email address hidden>
(cherry picked from commit c8b355bf1b5549b847c95cad889638b1676f0312)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89582
Tested-by: Jenkins CollaboraOffice <email address hidden>

1da7325... by Jan Holesovsky <email address hidden>

Just try to catch everything in the getSafeConfig().

Poco::Exception is derived from std::exception, yet there were cases
where it was not caught - no idea why:

I/DEBUG (24700): #00 pc 000371e4 /system/lib/libc.so (tgkill+12)
I/DEBUG (24700): #01 pc 00013fb9 /system/lib/libc.so (pthread_kill+52)
I/DEBUG (24700): #02 pc 00014bd7 /system/lib/libc.so (raise+10)
I/DEBUG (24700): #03 pc 00011519 /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG (24700): #04 pc 0000fca4 /system/lib/libc.so (abort+4)
I/DEBUG (24700): #05 pc 000126e9 /system/lib/libc.so (__libc_fatal+16)
I/DEBUG (24700): #06 pc 0001159d /system/lib/libc.so (__assert2+20)
I/DEBUG (24700): #07 pc 00064fed /data/app/com.collabora.libreoffice-1/lib/arm/libc++_shared.so
I/DEBUG (24700): #08 pc 00065183 /data/app/com.collabora.libreoffice-1/lib/arm/libc++_shared.so
I/DEBUG (24700): #09 pc 0006cb79 /data/app/com.collabora.libreoffice-1/lib/arm/libc++_shared.so
I/DEBUG (24700): #10 pc 0006c527 /data/app/com.collabora.libreoffice-1/lib/arm/libc++_shared.so
I/DEBUG (24700): #11 pc 0006c4ef /data/app/com.collabora.libreoffice-1/lib/arm/libc++_shared.so (__cxa_throw+74)
I/DEBUG (24700): #12 pc 001be25c /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so (_ZNK4Poco4Util21AbstractConfiguration7getBoolERKNSt6__ndk112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE+208)
I/DEBUG (24700): #13 pc 001847fd /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so (_ZN7LOOLWSD17ConfigValueGetterclERb+12)
I/DEBUG (24700): #14 pc 001847c3 /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so (_ZN7LOOLWSD13getSafeConfigIbEEbRN4Poco4Util20LayeredConfigurationERKNSt6__ndk112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERT_+22)
I/DEBUG (24700): #15 pc 00184747 /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so (_ZN7LOOLWSD14getConfigValueIbEET_RN4Poco4Util20LayeredConfigurationERKNSt6__ndk112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEES1_+38)
I/DEBUG (24700): #16 pc 0018748b /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so (_ZN7LOOLWSD10initializeERN4Poco4Util11ApplicationE+1334)
I/DEBUG (24700): #17 pc 001c7274 /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so (_ZN4Poco4Util11Application3runEv+28)
I/DEBUG (24700): #18 pc 00134fbf /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so
I/DEBUG (24700): #19 pc 00134df7 /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so
I/DEBUG (24700): #20 pc 00134dc5 /data/app/com.collabora.libreoffice-1/lib/arm/libandroidapp.so
I/DEBUG (24700): #21 pc 000137a3 /system/lib/libc.so (_ZL15__pthread_startPv+30)
I/DEBUG (24700): #22 pc 00011883 /system/lib/libc.so (__start_thread+6)

Change-Id: Ica643f88d572b239b9a124e31cb4552f86439bf6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89715
Tested-by: Jenkins CollaboraOffice <email address hidden>
Reviewed-by: Michael Meeks <email address hidden>

e227c91... by Jan Holesovsky <email address hidden>

android: Don't even try to read these values, seem to trigger an exception.

All the code that is using them is compiled out on Android anyway.

Change-Id: Ica349135202211ecdcb095bb82aa677f2dee19ba
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89714
Tested-by: Michael Meeks <email address hidden>
Reviewed-by: Michael Meeks <email address hidden>