1. 21 Kas, 2017 15 kayıt (commit)
    • Miklos Vajna's avatar
      clang-format fixes · b3f76615
      Miklos Vajna yazdı
      Hopefully the last such commit, now that the in-gerrit verification is
      in place and also a warning is printed locally for those who push
      directly.
      
      Change-Id: Ib80cbca0b29dc7f71cbb182a38ad6839a659ff41
      Reviewed-on: https://gerrit.libreoffice.org/45002Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      Tested-by: 's avatarJenkins <ci@libreoffice.org>
      b3f76615
    • Miklos Vajna's avatar
      git-hooks: fix pre-commit in submodules · 46ab76a7
      Miklos Vajna yazdı
      translations.git failed with "Can't locate ClangFormat.pm in @INC (you
      may need to install the ClangFormat module)".
      
      Change-Id: Ibbe051c1cb4c1200da58821589b8271434b1f9a6
      Reviewed-on: https://gerrit.libreoffice.org/45020Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      Tested-by: 's avatarJenkins <ci@libreoffice.org>
      46ab76a7
    • David Tardon's avatar
      fix fallout from orcus upgrage · 95e3e5b8
      David Tardon yazdı
      Change-Id: I79a9988c24d04b9c6a9369653a60b2324465b1d8
      95e3e5b8
    • Caolán McNamara's avatar
      coverity#1422233 Unchecked return value · db710380
      Caolán McNamara yazdı
      Change-Id: I85699e57b5e59231d9568db8a56244f41f5359aa
      db710380
    • Andras Timar's avatar
      Updated core · 3fa3962f
      Andras Timar yazdı
      Project: translations  e113c687b97d0f1b3b5a0afdddc04d2de33edb20
      
      Updated Slovenian translation
      3fa3962f
    • jan Iversen's avatar
      iOS, removed visibility=hidden · d015a6e4
      jan Iversen yazdı
      Seems visibility=hidden gives debug problem, with
      templated constructors (at least the debugger did not accept
      breakpoint correctly).
      
      Change-Id: I094dc68ffd06516b31ebc649649fad923b903d75
      d015a6e4
    • Szymon Kłos's avatar
      tdf#86087 don't decode links · 30af6599
      Szymon Kłos yazdı
      Example of link causing problems: "file:///foo#bar"
      
      Change-Id: Ifb781c27c3b9726ba262f10cf07c13cfd889dcd3
      Reviewed-on: https://gerrit.libreoffice.org/45010Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      Tested-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      30af6599
    • Stephan Bergmann's avatar
      ASan heap-buffer-overflow · bb11e128
      Stephan Bergmann yazdı
      e.g. during CppunitTest_sd_misc_tests (see
      <https://ci.libreoffice.org/job/lo_ubsan/735/console>) after
      66dbd4da "tdf#113918: Workaround: Load 1bpp
      indexed PNG as 8bpp indexed Bitmap".  Looks like PNGReaderImpl::ImplDrawScanline
      also needs to special-case mnPngDepth == 1 in the mbTransparent case (and, TODO,
      also in the mbAlphaChannel case)?
      
      Change-Id: Ie6a0230ec606f7cc5aaf174b9c0075a3b4cb5b1d
      bb11e128
    • Andrea Gelmini's avatar
      Fix typos · 11ca1f86
      Andrea Gelmini yazdı
      Change-Id: I40b3a46d46f0586d086bdbe41876c088f8c1cb58
      Reviewed-on: https://gerrit.libreoffice.org/45007Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
      11ca1f86
    • Stephan Bergmann's avatar
      Avoid static_cast on dead SwVirtFlyDrawObj object for now · 1b84f797
      Stephan Bergmann yazdı
      ...in SwFlyFrame::GetVirtDrawObj (sw/source/core/layout/fly.cxx) after
      487ac20e "RotateFlyFrame3: add support for
      AutoContour" added this code, which causes at least UBSan (e.g., during
      CppunitTest_sw_rtfimport) to produce errors (starting with
      <https://ci.libreoffice.org/job/lo_ubsan/733/console>).
      
      There appear to be no negative consequences across 'make check' with this code
      disabled, so do that for now to unblock UBSan builds, until a real fix is
      provided.
      
      The backtrace of the bad static_cast on dead SwVirtFlyDrawObj is
      
      > SwFlyFrame::GetVirtDrawObj() (/sw/source/core/layout/fly.cxx:2599)
      > SwFlyFreeFrame::~SwFlyFreeFrame() (/sw/source/core/layout/flylay.cxx:93)
      > SwFlyAtContentFrame::~SwFlyAtContentFrame() (/sw/source/core/inc/flyfrms.hxx:161)
      > SwFlyAtContentFrame::~SwFlyAtContentFrame() (/sw/source/core/inc/flyfrms.hxx:161)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:431)
      > SwLayoutFrame::DestroyImpl() (/sw/source/core/layout/ssfrm.cxx:517)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:429)
      > SwLayoutFrame::DestroyImpl() (/sw/source/core/layout/ssfrm.cxx:540)
      > SwPageFrame::DestroyImpl() (/sw/source/core/layout/pagechg.cxx:295)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:429)
      > SwLayoutFrame::DestroyImpl() (/sw/source/core/layout/ssfrm.cxx:540)
      > SwRootFrame::DestroyImpl() (/sw/source/core/layout/newfrm.cxx:621)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:429)
      > std::_Sp_counted_deleter<SwRootFrame*, void (*)(SwFrame*), std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:470)
      > std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:154)
      > std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:684)
      > std::__shared_ptr<SwRootFrame, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:1123)
      > std::shared_ptr<SwRootFrame>::~shared_ptr() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr.h:93)
      > SwViewShell::~SwViewShell() (/sw/source/core/view/vnew.cxx:364)
      > SwCursorShell::~SwCursorShell() (/sw/source/core/crsr/crsrsh.cxx:2743)
      > SwEditShell::~SwEditShell() (/sw/source/core/edit/edws.cxx:64)
      > SwFEShell::~SwFEShell() (/sw/source/core/frmedt/fews.cxx:700)
      > SwWrtShell::~SwWrtShell() (/sw/source/uibase/wrtsh/wrtsh1.cxx:1662)
      > SwWrtShell::~SwWrtShell() (/sw/source/uibase/wrtsh/wrtsh1.cxx:1655)
      > SwView::~SwView() (/sw/source/uibase/uiview/view.cxx:1045)
      > SwView::~SwView() (/sw/source/uibase/uiview/view.cxx:1011)
      > SfxViewFrame::ReleaseObjectShell_Impl() (/sfx2/source/view/viewfrm.cxx:992)
      > SfxViewFrame::~SfxViewFrame() (/sfx2/source/view/viewfrm.cxx:1363)
      > SfxViewFrame::~SfxViewFrame() (/sfx2/source/view/viewfrm.cxx:1357)
      > SfxViewFrame::Close() (/sfx2/source/view/viewfrm.cxx:1044)
      > SfxFrame::DoClose_Impl() (/sfx2/source/view/frame.cxx:155)
      > SfxBaseController::dispose() (/sfx2/source/view/sfxbasecontroller.cxx:1003)
      > (anonymous namespace)::Frame::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow> const&, com::sun::star::uno::Reference<com::sun::star::frame::XController> const&) (/framework/source/services/frame.cxx:1474)
      > (anonymous namespace)::Frame::close(unsigned char) (/framework/source/services/frame.cxx:1681)
      > SfxFrame::DoClose() (/sfx2/source/view/frame.cxx:121)
      > SfxViewFrame::Notify(SfxBroadcaster&, SfxHint const&) (/sfx2/source/view/viewfrm.cxx:1251)
      > SfxBroadcaster::Broadcast(SfxHint const&) (/svl/source/notify/SfxBroadcaster.cxx:49)
      > SfxModelListener_Impl::notifyClosing(com::sun::star::lang::EventObject const&) (/sfx2/source/doc/objxtor.cxx:167)
      > SfxBaseModel::close(unsigned char) (/sfx2/source/doc/sfxbasemodel.cxx:1348)
      > SwXTextDocument::close(unsigned char) (/sw/source/uibase/uno/unotxdoc.cxx:623)
      > SfxBaseModel::dispose() (/sfx2/source/doc/sfxbasemodel.cxx:722)
      > SwXTextDocument::dispose() (/sw/source/uibase/uno/unotxdoc.cxx:615)
      > SwModelTestBase::tearDown() (/sw/qa/extras/inc/swmodeltestbase.hxx:206)
      > CppUnit::TestCaller<testN695479>::tearDown() (/workdir/UnpackedTarball/cppunit/include/cppunit/TestCaller.h:185)
      > CppUnit::TestCaseMethodFunctor::operator()() const (/workdir/UnpackedTarball/cppunit/src/cppunit/TestCase.cpp:32)
      > (anonymous namespace)::Protector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (/test/source/vclbootstrapprotector.cxx:39)
      > CppUnit::ProtectorChain::ProtectFunctor::operator()() const (/workdir/UnpackedTarball/cppunit/src/cppunit/ProtectorChain.cpp:20)
      > (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx:89)
      > CppUnit::ProtectorChain::ProtectFunctor::operator()() const (/workdir/UnpackedTarball/cppunit/src/cppunit/ProtectorChain.cpp:20)
      > (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx:63)
      
      and the backtrace of the destruction of that SwVirtFlyDrawObj object is
      
      > operator delete(void*) (/builddir/build/BUILD/valgrind-3.13.0/coregrind/m_replacemalloc/vg_replace_malloc.c:576)
      > SwVirtFlyDrawObj::~SwVirtFlyDrawObj() (/sw/source/core/draw/dflyobj.cxx:433)
      > SwFlyFrame::FinitDrawObj() (/sw/source/core/layout/fly.cxx:379)
      > SwFlyFrame::DestroyImpl() (/sw/source/core/layout/fly.cxx:277)
      > SwFlyFreeFrame::DestroyImpl() (/sw/source/core/layout/flylay.cxx:87)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:429)
      > SwLayoutFrame::DestroyImpl() (/sw/source/core/layout/ssfrm.cxx:517)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:429)
      > SwLayoutFrame::DestroyImpl() (/sw/source/core/layout/ssfrm.cxx:540)
      > SwPageFrame::DestroyImpl() (/sw/source/core/layout/pagechg.cxx:295)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:429)
      > SwLayoutFrame::DestroyImpl() (/sw/source/core/layout/ssfrm.cxx:540)
      > SwRootFrame::DestroyImpl() (/sw/source/core/layout/newfrm.cxx:621)
      > SwFrame::DestroyFrame(SwFrame*) (/sw/source/core/layout/ssfrm.cxx:429)
      > std::_Sp_counted_deleter<SwRootFrame*, void (*)(SwFrame*), std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:470)
      > std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:154)
      > std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:684)
      > std::__shared_ptr<SwRootFrame, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr_base.h:1123)
      > std::shared_ptr<SwRootFrame>::~shared_ptr() (/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/shared_ptr.h:93)
      > SwViewShell::~SwViewShell() (/sw/source/core/view/vnew.cxx:364)
      > SwCursorShell::~SwCursorShell() (/sw/source/core/crsr/crsrsh.cxx:2743)
      > SwEditShell::~SwEditShell() (/sw/source/core/edit/edws.cxx:64)
      > SwFEShell::~SwFEShell() (/sw/source/core/frmedt/fews.cxx:700)
      > SwWrtShell::~SwWrtShell() (/sw/source/uibase/wrtsh/wrtsh1.cxx:1662)
      > SwWrtShell::~SwWrtShell() (/sw/source/uibase/wrtsh/wrtsh1.cxx:1655)
      > SwView::~SwView() (/sw/source/uibase/uiview/view.cxx:1045)
      > SwView::~SwView() (/sw/source/uibase/uiview/view.cxx:1011)
      > SfxViewFrame::ReleaseObjectShell_Impl() (/sfx2/source/view/viewfrm.cxx:992)
      > SfxViewFrame::~SfxViewFrame() (/sfx2/source/view/viewfrm.cxx:1363)
      > SfxViewFrame::~SfxViewFrame() (/sfx2/source/view/viewfrm.cxx:1357)
      > SfxViewFrame::Close() (/sfx2/source/view/viewfrm.cxx:1044)
      > SfxFrame::DoClose_Impl() (/sfx2/source/view/frame.cxx:155)
      > SfxBaseController::dispose() (/sfx2/source/view/sfxbasecontroller.cxx:1003)
      > (anonymous namespace)::Frame::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow> const&, com::sun::star::uno::Reference<com::sun::star::frame::XController> const&) (/framework/source/services/frame.cxx:1474)
      > (anonymous namespace)::Frame::close(unsigned char) (/framework/source/services/frame.cxx:1681)
      > SfxFrame::DoClose() (/sfx2/source/view/frame.cxx:121)
      > SfxViewFrame::Notify(SfxBroadcaster&, SfxHint const&) (/sfx2/source/view/viewfrm.cxx:1251)
      > SfxBroadcaster::Broadcast(SfxHint const&) (/svl/source/notify/SfxBroadcaster.cxx:49)
      > SfxModelListener_Impl::notifyClosing(com::sun::star::lang::EventObject const&) (/sfx2/source/doc/objxtor.cxx:167)
      > SfxBaseModel::close(unsigned char) (/sfx2/source/doc/sfxbasemodel.cxx:1348)
      > SwXTextDocument::close(unsigned char) (/sw/source/uibase/uno/unotxdoc.cxx:623)
      > SfxBaseModel::dispose() (/sfx2/source/doc/sfxbasemodel.cxx:722)
      > SwXTextDocument::dispose() (/sw/source/uibase/uno/unotxdoc.cxx:615)
      > SwModelTestBase::tearDown() (/sw/qa/extras/inc/swmodeltestbase.hxx:206)
      > CppUnit::TestCaller<testN695479>::tearDown() (/workdir/UnpackedTarball/cppunit/include/cppunit/TestCaller.h:185)
      > CppUnit::TestCaseMethodFunctor::operator()() const (/workdir/UnpackedTarball/cppunit/src/cppunit/TestCase.cpp:32)
      > (anonymous namespace)::Protector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (/test/source/vclbootstrapprotector.cxx:39)
      > CppUnit::ProtectorChain::ProtectFunctor::operator()() const (/workdir/UnpackedTarball/cppunit/src/cppunit/ProtectorChain.cpp:20)
      > (anonymous namespace)::Prot::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) (/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx:89)
      > CppUnit::ProtectorChain::ProtectFunctor::operator()() const (/workdir/UnpackedTarball/cppunit/src/cppunit/ProtectorChain.cpp:20)
      
      Change-Id: Ida6e66c3bc8f85c9cbe60a33aaf40f5e83f16212
      Reviewed-on: https://gerrit.libreoffice.org/44976Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      1b84f797
    • Noel Grandin's avatar
      TypedWhichId for SDRATTR* constants (2) · 1bbd5a1f
      Noel Grandin yazdı
      Change-Id: I9926d55568f8b5bbc67f448bbf7fb660e74505fd
      Reviewed-on: https://gerrit.libreoffice.org/44964Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      1bbd5a1f
    • Johnny_M's avatar
      Translate German variable name · 02205206
      Johnny_M yazdı
      Change-Id: I70f9355bc7f219e8d6aaf9fb8ecc356e1a86d9da
      Reviewed-on: https://gerrit.libreoffice.org/44921Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
      02205206
    • Andrea Gelmini's avatar
      Fix typos · 0d4cc84c
      Andrea Gelmini yazdı
      Change-Id: Ifd95ada4477d7d21ffbadd355226f91f2a2371e1
      Reviewed-on: https://gerrit.libreoffice.org/45004Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
      0d4cc84c
    • Tomaž Vajngerl's avatar
      TSCP: disable bullets in impress for classification text object · 30465a05
      Tomaž Vajngerl yazdı
      Change-Id: I1f941e3711c2835cbb50af000fcd7ffa9b953edf
      Reviewed-on: https://gerrit.libreoffice.org/44946Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
      30465a05
    • Stephan Bergmann's avatar
      CppunitTest_swarm_solver_test also consistently fails for UBSan build · 495d25bf
      Stephan Bergmann yazdı
      ...at least for my local one, with
      
      > /data/sbergman/lo-san/core/sccomp/qa/unit/SwarmSolverTest.cxx:387:(anonymous namespace)::SwarmSolverTest::testMultipleVariables
      > double equality assertion failed
      > - Expected: 0
      > - Actual  : 1
      > - Delta   : 1e-05
      
      so disable that part unconditionally for now.
      
      Change-Id: Id8c091781baf4381696e2a8f0501df1f3f83724f
      Reviewed-on: https://gerrit.libreoffice.org/44977Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
      495d25bf
  2. 20 Kas, 2017 25 kayıt (commit)