libreoffice-online:libreoffice-6-2

Last commit made on 2019-08-26
Get this branch:
git clone -b libreoffice-6-2 https://git.launchpad.net/libreoffice-online

Branch merges

Branch information

Name:
libreoffice-6-2
Repository:
lp:libreoffice-online

Recent commits

37daa2f... by =?utf-8?q?Alexandru_Vl=C4=83du=C5=A3u?= <alexandru.vladutu@1and1.ro>

loleaflet: remove npm dependency leftover from shrinkpack folder

Change-Id: I70693d505ade3c465fc3bfec7a080197ef8cd37b
Reviewed-on: https://gerrit.libreoffice.org/70115
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/77797

1d58a77... by =?utf-8?q?Alexandru_Vl=C4=83du=C5=A3u?= <alexandru.vladutu@1and1.ro>

loleaflet: minor followup changes after vex upgrade

Change-Id: I9cee6ee5b0592f067718399a4ccaf1c25203c01c
Reviewed-on: https://gerrit.libreoffice.org/71851
Reviewed-by: Iván Sánchez Ortega <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/77802
Reviewed-by: Samuel Mehrbrodt <email address hidden>

8887d25... by =?utf-8?q?Alexandru_Vl=C4=83du=C5=A3u?= <alexandru.vladutu@1and1.ro>

loleaflet: update vex.js library

Change-Id: I6b32c6a60a27aa27eb32784bb73e40c979f67def
Reviewed-on: https://gerrit.libreoffice.org/71726
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/77801

9e03483... by =?utf-8?q?Alexandru_Vl=C4=83du=C5=A3u?= <alexandru.vladutu@1and1.ro>

loleaflet: remove loading html page leftover

loading.html resource made obsolete by commit 51e849bf5dcb4bcef1fd042bb45f07b4383cb461

Change-Id: I2308e4c121520f6ed293d5e86805c4daeec3fca6
Reviewed-on: https://gerrit.libreoffice.org/70257
Reviewed-by: Szymon Kłos <email address hidden>
Tested-by: Szymon Kłos <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/77800
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>

273b686... by =?utf-8?q?Alexandru_Vl=C4=83du=C5=A3u?= <alexandru.vladutu@1and1.ro>

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 <email address hidden>
Tested-by: Szymon Kłos <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/77799
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>

43c3e7a... by =?utf-8?q?Alexandru_Vl=C4=83du=C5=A3u?= <alexandru.vladutu@1and1.ro>

loleaflet: check document hyperlink before open

Change-Id: Ie2b1ba8baf49136fa805ab5b3a52f7b7fb5827df
Reviewed-on: https://gerrit.libreoffice.org/70113
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Reviewed-by: Szymon Kłos <email address hidden>
Tested-by: Szymon Kłos <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/77798
Tested-by: Samuel Mehrbrodt <email address hidden>

4631958... by =?utf-8?q?Alexandru_Vl=C4=83du=C5=A3u?= <alexandru.vladutu@1and1.ro>

loleaflet: update shrinkpack

Updated shrinkpack to work with (relatively) new versions of npm: https://github.com/JamieMason/shrinkpack/issues/83

The new version stores the tars in the 'archived-packages' folder and not the 'node_shrinkwrap' one, that's why there are so many files in the diff.

Change-Id: Iebcadaeee0e27f831b7ff16a50819a908e7f05a6
Reviewed-on: https://gerrit.libreoffice.org/69878
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/77796

43457a0... by Miklos Vajna <email address hidden>

net: avoid UB in WebSocketHandler::readPayload()

Seen when closing a Writer document.

/home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/stl_vector.h:798:9: runtime error: reference binding to null pointer of type 'char'
    #0 0x6ff633 in std::vector<char, std::allocator<char> >::operator[](unsigned long) /home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/stl_vector.h:798:2
    #1 0x770d0c in WebSocketHandler::readPayload(unsigned char*, unsigned long, unsigned char*, std::vector<char, std::allocator<char> >&) /home/vmiklos/lode/dev/online/./net/WebSocketHandler.hpp:611:29
    #2 0x759324 in WebSocketHandler::handleTCPStream(std::shared_ptr<StreamSocket> const&) /home/vmiklos/lode/dev/online/./net/WebSocketHandler.hpp:251:13
    #3 0x6f820d in WebSocketHandler::handleIncomingMessage(SocketDisposition&) /home/vmiklos/lode/dev/online/./net/WebSocketHandler.hpp:419:20
    #4 0xb2da64 in ClientSession::handleIncomingMessage(SocketDisposition&) /home/vmiklos/lode/dev/online/wsd/ClientSession.cpp:74:14
    #5 0xa70a61 in StreamSocket::handlePoll(SocketDisposition&, std::chrono::time_point<std::chrono::_V2::steady_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > >, int) /home/vmiklos/lode/dev/online/./net/Socket.hpp:1037:29
    #6 0x6ec83d in SocketPoll::poll(int) /home/vmiklos/lode/dev/online/./net/Socket.hpp:570:34
    #7 0x830019 in DocumentBroker::pollThread() /home/vmiklos/lode/dev/online/wsd/DocumentBroker.cpp:286:16
    #8 0x8fdb38 in DocumentBroker::DocumentBrokerPoll::pollingThread() /home/vmiklos/lode/dev/online/wsd/DocumentBroker.cpp:165:20
    #9 0xe00e75 in SocketPoll::pollingThreadEntry() /home/vmiklos/lode/dev/online/net/Socket.cpp:184:9
    #10 0xe49cfd in void std::__invoke_impl<void, void (SocketPoll::*)(), SocketPoll*>(std::__invoke_memfun_deref, void (SocketPoll::*&&)(), SocketPoll*&&) /home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/invoke.h:73:14
    #11 0xe4980a in std::__invoke_result<void (SocketPoll::*)(), SocketPoll*>::type std::__invoke<void (SocketPoll::*)(), SocketPoll*>(void (SocketPoll::*&&)(), SocketPoll*&&) /home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/invoke.h:95:14
    #12 0xe496bd in decltype(std::__invoke(_S_declval<0ul>(), _S_declval<1ul>())) std::thread::_Invoker<std::tuple<void (SocketPoll::*)(), SocketPoll*> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) /home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/thread:234:13
    #13 0xe494c7 in std::thread::_Invoker<std::tuple<void (SocketPoll::*)(), SocketPoll*> >::operator()() /home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/thread:243:11
    #14 0xe4888a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (SocketPoll::*)(), SocketPoll*> > >::_M_run() /home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/thread:186:13
    #15 0x7f2c5805fe2e in execute_native_thread_routine /home/vmiklos/lode/packages/gccbuild/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11/../../../../../gcc-7.3.0/libstdc++-v3/src/c++11/thread.cc:83
    #16 0x7f2c57a3c558 in start_thread (/lib64/libpthread.so.0+0x7558)
    #17 0x7f2c5715082e in clone (/lib64/libc.so.6+0xf882e)

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/vmiklos/lode/opt_private/gcc-7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../include/c++/7.3.0/bits/stl_vector.h:798:9 in

Change-Id: Ifaf6b193e9bba480587c2e184df55aa0728bb370
Reviewed-on: https://gerrit.libreoffice.org/76331
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>

d54344b... by Eduard Ardeleanu <eduard-andrei.ardeleanu@1and1.ro>

fix: saveAs breaks when '%' character is used within the filename

Change-Id: I2df059abd67be88acae8bd44ae2c74be7778a595
Reviewed-on: https://gerrit.libreoffice.org/69424
Reviewed-by: Jan Holesovsky <email address hidden>
Tested-by: Jan Holesovsky <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/76329
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>

1a9e345... by Gabriel Masei <gabriel.masei@1and1.ro>

Added support for defragmentation of incoming websocket fragmented messages and handled some protocol error cases

Change-Id: I4d11a6527b6b131c65101fd53b71015529645f74
Reviewed-on: https://gerrit.libreoffice.org/68901
Reviewed-by: Michael Meeks <email address hidden>
Tested-by: Michael Meeks <email address hidden>
Reviewed-on: https://gerrit.libreoffice.org/76327
Reviewed-by: Samuel Mehrbrodt <email address hidden>
Tested-by: Samuel Mehrbrodt <email address hidden>