1. 03 Şub, 2014 34 kayıt (commit)
    • Stephan Bergmann's avatar
      Unused REPORTDESIGN_DLLPRIVATE · 859e8bea
      Stephan Bergmann yazdı
      Change-Id: If06b7fdb749c7fca957c5cc4cb832a7a9cb167d6
      859e8bea
    • Stephan Bergmann's avatar
      Remove unnecessary #include · ea8aec19
      Stephan Bergmann yazdı
      Change-Id: I34e6c5514aa40fe7c5e0215e4d5885bb345242d8
      ea8aec19
    • Stephan Bergmann's avatar
      Unused FWI_DLLPRIVATE · a487d5e3
      Stephan Bergmann yazdı
      Change-Id: I68e1d463485354dda9d743d3b72907ee8a73d414
      a487d5e3
    • Stephan Bergmann's avatar
      Remove needless SAL_DLLPRIVATE annotations · 58996b19
      Stephan Bergmann yazdı
      Change-Id: Iaf2d742ae3dcc15a915a996805955d93daac9d45
      58996b19
    • Stephan Bergmann's avatar
      Remove needless SAL_DLLPRIVATE annotations · d98d2ad0
      Stephan Bergmann yazdı
      Change-Id: Ib8d1eae0dce29756da626c73db75f59666bb0ea5
      d98d2ad0
    • Stephan Bergmann's avatar
      Remove needless SAL_DLLPRIVATE annotations · a0008fd7
      Stephan Bergmann yazdı
      Change-Id: Iafaf65e5b25f5d9e00e1dc73db280f6605ad1de5
      a0008fd7
    • Stephan Bergmann's avatar
      At least warn when DBG_TESTSOLARMUTEX has not been set up · a61f3161
      Stephan Bergmann yazdı
      Change-Id: I5ae5318685ffe45bd9616d06eea21a93585715f2
      a61f3161
    • Stephan Bergmann's avatar
      Prevent SolarMutex deadlock in unit test · 775bf23f
      Stephan Bergmann yazdı
      Seen once a deadlock between
      
      d 12 (Thread 0x2af5a4c8a700 (LWP 7618)):
      > #0  0x00002af58ac97ddd in __lll_lock_wait () from /lib64/libpthread.so.0
      > #1  0x00002af58ac93bbc in _L_lock_839 () from /lib64/libpthread.so.0
      > #2  0x00002af58ac93ad9 in pthread_mutex_lock () from /lib64/libpthread.so.0
      > #3  0x00002af589e2383a in osl_acquireMutex (pMutex=0x9329b0) at sal/osl/unx/mutex.c:104
      > #4  0x00002af598d577ec in vcl::SolarMutexObject::acquire (this=0x8dd120) at vcl/source/app/solarmutex.cxx:35
      > #5  0x00002af599305c82 in SalYieldMutex::acquire (this=0x8dd120) at vcl/generic/app/geninst.cxx:49
      > #6  0x00002af59e9bfb7b in framework::LockHelper::acquireReadAccess (this=0x2af5a2406088) at framework/source/fwi/threadhelp/lockhelper.cxx:150
      > #7  0x00002af59ca29ccf in framework::ReadGuard::lock (this=0x2af5a4c894c0) at framework/inc/threadhelp/readguard.hxx:113
      > #8  0x00002af59ca29c81 in framework::ReadGuard::ReadGuard (this=0x2af5a4c894c0, rLock=...) at framework/inc/threadhelp/readguard.hxx:79
      > #9  0x00002af59cb52fce in (anonymous namespace)::Frame::getContainerWindow (this=0x2af5a2406010) at framework/source/services/frame.cxx:985
      > #10 0x00002af5a32582d2 in tdoc_ucp::OfficeDocumentsManager::isWithoutOrInTopLevelFrame (this=0x2af5a24a1f18, xModel=uno::Reference to (dbaccess::ODatabaseDocument *) 0x2af5a4edc5a8) at ucb/source/ucp/tdoc/tdoc_docmgr.cxx:626
      > #11 0x00002af5a325870f in tdoc_ucp::OfficeDocumentsManager::isOfficeDocument (this=0x2af5a24a1f18, xDoc=uno::Reference to (dbaccess::ODatabaseDocument *) 0x2af5a4edc558) at ucb/source/ucp/tdoc/tdoc_docmgr.cxx:697
      > #12 0x00002af5a325651e in tdoc_ucp::OfficeDocumentsManager::notifyEvent (this=0x2af5a24a1f18, Event=...) at ucb/source/ucp/tdoc/tdoc_docmgr.cxx:305
      > #13 0x00002af594251195 in cppu::OInterfaceContainerHelper::NotifySingleListener<com::sun::star::document::XEventListener, com::sun::star::document::EventObject>::operator() (this=0x2af5a4c89b20, listener=uno::Reference to (tdoc_ucp::OfficeDocumentsManager *) 0x2af5a24a1f40) at include/cppuhelper/interfacecontainer.h:262
      > #14 0x00002af59425023e in cppu::OInterfaceContainerHelper::forEach<com::sun::star::document::XEventListener, cppu::OInterfaceContainerHelper::NotifySingleListener<com::sun::star::document::XEventListener, com::sun::star::document::EventObject> > (this=0x2af5a24a36a0, func=...) at include/cppuhelper/interfacecontainer.h:276
      > #15 0x00002af59424f4da in cppu::OInterfaceContainerHelper::notifyEach<com::sun::star::document::XEventListener, com::sun::star::document::EventObject> (this=0x2af5a24a36a0, NotificationMethod=&virtual com::sun::star::document::XEventListener::notifyEvent(com::sun::star::document::EventObject const&), Event=...) at include/cppuhelper/interfacecontainer.h:289
      > #16 0x00002af59424d864 in (anonymous namespace)::SfxGlobalEvents_Impl::implts_notifyListener (this=0x2af5a24a3628, aEvent=...) at sfx2/source/notify/globalevents.cxx:505
      > #17 0x00002af59424c543 in (anonymous namespace)::SfxGlobalEvents_Impl::documentEventOccured (this=0x2af5a24a3628, _Event=...) at sfx2/source/notify/globalevents.cxx:315
      > #18 0x00002af59016a5a5 in cppu::OInterfaceContainerHelper::NotifySingleListener<com::sun::star::document::XDocumentEventListener, com::sun::star::document::DocumentEvent>::operator() (this=0x2af5a4c89c90, listener=uno::Reference to ((anonymous namespace)::SfxGlobalEvents_Impl *) 0x2af5a24a3678) at include/cppuhelper/interfacecontainer.h:262
      > #19 0x00002af59016a35e in cppu::OInterfaceContainerHelper::forEach<com::sun::star::document::XDocumentEventListener, cppu::OInterfaceContainerHelper::NotifySingleListener<com::sun::star::document::XDocumentEventListener, com::sun::star::document::DocumentEvent> > (this=0x11c0378, func=...) at include/cppuhelper/interfacecontainer.h:276
      > #20 0x00002af590169ed6 in cppu::OInterfaceContainerHelper::notifyEach<com::sun::star::document::XDocumentEventListener, com::sun::star::document::DocumentEvent> (this=0x11c0378, NotificationMethod=&virtual com::sun::star::document::XDocumentEventListener::documentEventOccured(com::sun::star::document::DocumentEvent const&), Event=...) at include/cppuhelper/interfacecontainer.h:289
      > #21 0x00002af5901690ed in dbaccess::DocumentEventNotifier_Impl::impl_notifyEvent_nothrow (this=0x11c0330, _rEvent=...) at dbaccess/source/core/dataaccess/documenteventnotifier.cxx:200
      > #22 0x00002af5901693fa in dbaccess::DocumentEventNotifier_Impl::processEvent (this=0x11c0330, _rEvent=...) at dbaccess/source/core/dataaccess/documenteventnotifier.cxx:231
      > #23 0x00002af58cba5de9 in comphelper::AsyncEventNotifier::execute (this=0x128c4e0) at comphelper/source/misc/asyncnotification.cxx:221
      > #24 0x00002af58bcfe9c4 in salhelper::Thread::run (this=0x128c4e0) at salhelper/source/thread.cxx:40
      > #25 0x00002af58bcfed8d in osl::threadFunc (param=0x128c4f0) at include/osl/thread.hxx:187
      > #26 0x00002af589e2e2e7 in osl_thread_start_Impl (pData=0x128db40) at sal/osl/unx/thread.c:236
      > #27 0x00002af58ac91c53 in start_thread () from /lib64/libpthread.so.0
      > #28 0x00002af58a9bedbd in clone () from /lib64/libc.so.6
      
      and
      
      > Thread 1 (Thread 0x2af589931980 (LWP 7598)):
      > #0  0x00002af58ac95565 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      > #1  0x00002af589e67146 in osl_waitCondition (Condition=0x11a22a0, pTimeout=0x0) at sal/osl/unx/conditn.cxx:275
      > #2  0x00002af59e9c0866 in osl::Condition::wait (this=0x2af5a24060d0, pTimeout=0x0) at include/osl/conditn.hxx:82
      > #3  0x00002af59e9c0bf5 in framework::Gate::wait (this=0x2af5a24060c0, pTimeOut=0x0) at framework/inc/threadhelp/gate.hxx:197
      > #4  0x00002af59e9c0041 in framework::TransactionManager::setWorkingMode (this=0x2af5a24060b0, eMode=framework::E_BEFORECLOSE) at framework/source/fwi/threadhelp/transactionmanager.cxx:119
      > #5  0x00002af59cb56c8f in (anonymous namespace)::Frame::dispose (this=0x2af5a2406010) at framework/source/services/frame.cxx:2229
      > #6  0x00002af59cb55bec in (anonymous namespace)::Frame::close (this=0x2af5a2406010, bDeliverOwnership=0 '\000') at framework/source/services/frame.cxx:2002
      > #7  0x00002af59010f9cc in dbaccess::ODatabaseDocument::impl_closeControllerFrames_nolck_throw (this=0x2af5a4edc538, _bDeliverOwnership=0 '\000') at dbaccess/source/core/dataaccess/databasedocument.cxx:1441
      > #8  0x00002af59010fe24 in dbaccess::ODatabaseDocument::close (this=0x2af5a4edc538, _bDeliverOwnership=0 '\000') at dbaccess/source/core/dataaccess/databasedocument.cxx:1498
      > #9  0x00002af58f6c59c6 in DialogSaveTest::test (this=0x922c10) at dbaccess/qa/extras/dialog-save.cxx:104
      > #10 0x00002af58f6cc8d4 in CppUnit::TestCaller<DialogSaveTest>::runTest (this=0x879cc0) at workdir/UnpackedTarball/cppunit/include/cppunit/TestCaller.h:166
      > #11 0x00002af589bb41b4 in CppUnit::TestCaseMethodFunctor::operator() (this=0x7fff58142f30) at TestCase.cpp:32
      > #12 0x00002af58c8ab9e3 in (anonymous namespace)::Prot::protect (this=0x879da0, functor=...) at unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx:88
      > #13 0x00002af589bac2ef in CppUnit::ProtectorChain::ProtectFunctor::operator() (this=0x922aa0) at ProtectorChain.cpp:20
      > #14 0x00002af58b4b5536 in (anonymous namespace)::Prot::protect (this=0x879dc0, functor=..., context=...) at unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx:64
      > #15 0x00002af589bac2ef in CppUnit::ProtectorChain::ProtectFunctor::operator() (this=0x922ca0) at ProtectorChain.cpp:20
      > #16 0x00002af589b9dc64 in CppUnit::DefaultProtector::protect (this=0x8756a0, functor=..., context=...) at DefaultProtector.cpp:15
      > #17 0x00002af589bac2ef in CppUnit::ProtectorChain::ProtectFunctor::operator() (this=0x922c70) at ProtectorChain.cpp:20
      > #18 0x00002af589bac184 in CppUnit::ProtectorChain::protect (this=0x8753c0, functor=..., context=...) at ProtectorChain.cpp:77
      > #19 0x00002af589bc339a in CppUnit::TestResult::protect (this=0x7fff58143450, functor=..., test=0x879cc0, shortDescription="") at TestResult.cpp:181
      > #20 0x00002af589bb3c84 in CppUnit::TestCase::run (this=0x879cc0, result=0x7fff58143450) at TestCase.cpp:92
      > #21 0x00002af589bb4a20 in CppUnit::TestComposite::doRunChildTests (this=0x922b50, controller=0x7fff58143450) at TestComposite.cpp:64
      > #22 0x00002af589bb48aa in CppUnit::TestComposite::run (this=0x922b50, result=0x7fff58143450) at TestComposite.cpp:23
      > #23 0x00002af589bb4a20 in CppUnit::TestComposite::doRunChildTests (this=0x922ad0, controller=0x7fff58143450) at TestComposite.cpp:64
      > #24 0x00002af589bb48aa in CppUnit::TestComposite::run (this=0x922ad0, result=0x7fff58143450) at TestComposite.cpp:23
      > #25 0x00002af589bca586 in CppUnit::TestRunner::WrappingSuite::run (this=0x879d30, result=0x7fff58143450) at TestRunner.cpp:47
      > #26 0x00002af589bc30a4 in CppUnit::TestResult::runTest (this=0x7fff58143450, test=0x879d30) at TestResult.cpp:148
      > #27 0x00002af589bca7e4 in CppUnit::TestRunner::run (this=0x7fff581432e0, controller=..., testPath="") at TestRunner.cpp:96
      > #28 0x0000000000403ecf in (anonymous namespace)::ProtectedFixtureFunctor::run (this=0x7fff581433a0) at sal/cppunittester/cppunittester.cxx:150
      > #29 0x0000000000404561 in sal_main () at sal/cppunittester/cppunittester.cxx:242
      > #30 0x00000000004041a9 in main (argc=18, argv=0x7fff581436a8) at sal/cppunittester/cppunittester.cxx:166
      
      and indeed UnoApiTest::setUp -> test::BootstrapFixture::setUp -> test_init_impl
      -> InitVCL -> CreateSalInstance -> SalGenericInstance::AcquireYieldMutex causes
      all such UnoApiTests to be run with the SolarMutex locked.
      
      This reverts acdfb259 "dbaccess: disable hanging
      close() for now."
      
      Change-Id: Ifac49da2c55b0b27b780a348074f69de86967aa1
      775bf23f
    • László Németh's avatar
      Updated core · 70ba8971
      László Németh yazdı
      Project: help  32e18e8bdd5e30942bd4c57d9aaa393e93bd564c
      
      desc. of non-standard hyphenation patterns in user-defined dict.
      
      Change-Id: Ib202c5e1318b95b85f49b444ccfd511439a9c8c9
      Reviewed-on: https://gerrit.libreoffice.org/7805Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
      Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
      70ba8971
    • Alexandre Vicenzi's avatar
      fdo#54938 Convert to cppu::supportsService · f9369d33
      Alexandre Vicenzi yazdı
      Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10
      Reviewed-on: https://gerrit.libreoffice.org/7649Tested-by: 's avatarLibreOffice gerrit bot <gerrit@libreoffice.org>
      Reviewed-by: 's avatarMarcos Souza <marcos.souza.org@gmail.com>
      Tested-by: 's avatarMarcos Souza <marcos.souza.org@gmail.com>
      f9369d33
    • Thomas Arnhold's avatar
      some more continuous corrections · 326bec33
      Thomas Arnhold yazdı
      326bec33
    • Miklos Vajna's avatar
      writerfilter: continous -> continuous · d271e5fd
      Miklos Vajna yazdı
      Change-Id: Ie36ac366af0563485b2d937903a63a9b3aca8931
      d271e5fd
    • Miklos Vajna's avatar
      sw: hardcoded NS_sprm::LN_CDttmRMarkDel · ab207cc6
      Miklos Vajna yazdı
      Change-Id: I56dc2661de5e421e979485f718b7b2a464a03866
      ab207cc6
    • Noel Power's avatar
      Revert "fix Worksheet.Cells by now allowing TableSheet..." fdo#70079 · 8eec79e5
      Noel Power yazdı
      This reverts commit 70aff4a7.
      
      Change-Id: I8f8b423353ae1a825be91bd94308e87844948525
      Signed-off-by: 's avatarNoel Power <noel.power@suse.com>
      8eec79e5
    • Michael Stahl's avatar
      fdo#74435: SdrPageView::DrawLayer(): hack to avoid spuriously visible images · 66f8b549
      Michael Stahl yazdı
      In the TestBook2.odt of fdo#73300 it happens that at some particular
      points when scrolling down, the
      ViewObjectContactOfPageHierarchy::getPrimitive2DSequenceHierarchy()
      will determine that > 200 images are visible; most likely this is due to
      an empty ObjectContactOfPageView::maViewInformation2D::getViewport().
      
      Loading this many images may need more RAM than is available on 32bit
      platforms.
      
      That appears to happen only (but not always) if somehow (not sure
      how exactly) the rectangle passed to SdrPageView::DrawLayer() and the
      existing GetRedrawRegion() do not overlap at all.
      
      (regression from commit 8af09bf3)
      
      Change-Id: Iafc595241df05204bccec1f2336014fc471b6602
      66f8b549
    • Michael Stahl's avatar
      remove GraphicObject::SetSwapStreamHdl() timeout parameter · 6ef04640
      Michael Stahl yazdı
      Every call to SetSwapStreamHdl uses the same timeout now so move the
      function that determines that to svtools.
      
      Change-Id: Ib7395d43dd132a9e14e7a7862ff2c2279f319536
      6ef04640
    • Michael Stahl's avatar
      fdo#73300: sw: GraphicObjects are never swapped out · 2d9d20ed
      Michael Stahl yazdı
      In SwNoTxtFrm::PaintPicture() the GraphicObjects are no longer painted
      via GraphicObject::Draw() any more there is the problem that they are
      not cached any more in the display cache of the GraphicManager; that
      used to immediately swap out the Graphic but now they are never swapped
      out.  Since there appears to be no use of the GraphicManager's display
      cache in the new drawinglayer based rendering path i have no idea how to
      swap out the Graphic immediately; instead use the same time-out that
      SdrGrafObj is using already.
      
      This timeout is derived from the setting:
      Tools->Options->LibreOffice->Memory->Graphics cache->"Remove from memory
      after".
      
      (regression from 2e516752)
      
      Change-Id: I0d9b535a82646d9b6635cfb3917f74dcc3ad8720
      2d9d20ed
    • Michael Stahl's avatar
      add std::ostream operators for Region and PolyPolygon · e4be770e
      Michael Stahl yazdı
      Change-Id: I8f4129b840a27f3029643ad2a4852f9e10604905
      e4be770e
    • Michael Stahl's avatar
      fdo#73300: sw: don't swap in all images when loading files · 9b9eb2e4
      Michael Stahl yazdı
      (regression from bd55f05b)
      
      Change-Id: I55532ac0fe983461e961a61149479343d2b879a1
      9b9eb2e4
    • Miklos Vajna's avatar
      DOCX import: make sure rotation is not changed when we alter size · e034fa46
      Miklos Vajna yazdı
      Change-Id: I5dd344fe06a0b700cebccfece44b622d00adfb5f
      e034fa46
    • Tor Lillqvist's avatar
      Add comment · dd6bb0ab
      Tor Lillqvist yazdı
      Change-Id: I2e5633040d40620b3d0f01c584eb1f9790acb22d
      dd6bb0ab
    • Tor Lillqvist's avatar
      Drop the deprecated QuickTime stuff when building a sandboxed LO · 5fc9a33b
      Tor Lillqvist yazdı
      A sandboxed build is presumably intended for the Mac App Store and we
      don't want to be using deprecated crap there.
      
      Change-Id: I0b0098f7002643b1ed53a5caaee9ffee3c9fc970
      5fc9a33b
    • Stephan Bergmann's avatar
      Do not disable -Werror for mysqlc · 0b3aa592
      Stephan Bergmann yazdı
      Change-Id: Ie65e31e138262475f41cd56d8da8c39cdd8836b9
      0b3aa592
    • Stephan Bergmann's avatar
      auto_ptr -> heap_ptr · 01b7bab7
      Stephan Bergmann yazdı
      Change-Id: I1b11593fc936c0a4b45c319fd73ef3b629950752
      01b7bab7
    • Stephan Bergmann's avatar
      auto_ptr -> scoped_ptr · 9072e259
      Stephan Bergmann yazdı
      Change-Id: I878aae330a3b1658c8bca83bd8a1126d2a8d26b6
      9072e259
    • Stephan Bergmann's avatar
      -Wunused-parameter (when included from mysqlc/source/) · 9a5f4019
      Stephan Bergmann yazdı
      Change-Id: I4889864a3db2090c687c32e11d4d28c3dda63eb0
      9a5f4019
    • Stephan Bergmann's avatar
      USE_CPP_CONN is unused · c2c9e396
      Stephan Bergmann yazdı
      ...ever since 4946c62f "mysqlconnector: initial
      import from CWS mysqlnative"
      
      Change-Id: I787d2ac5e48be307f47e41ecac907c36b07a92ea
      c2c9e396
    • Stephan Bergmann's avatar
      Get rid of macros · 396248a6
      Stephan Bergmann yazdı
      Change-Id: Ic43441201309c3b466ed3dc7a5e85d0d006c0e44
      396248a6
    • Andras Timar's avatar
      convert OOODEBUG to SAL_INFO · ed69dd79
      Andras Timar yazdı
      Change-Id: I63a990dca554c9defd4f168fa250ebc1685baafd
      ed69dd79
    • Andras Timar's avatar
      typo: ACSII -> ASCII · 69adcefc
      Andras Timar yazdı
      Change-Id: I5c12ad690df99718dc1e5d1f25a3b62af3c6b355
      69adcefc
    • Norbert Thiebaud's avatar
      WaE signed/unsigned · 4e9b5a68
      Norbert Thiebaud yazdı
      Change-Id: Ie667f2d4860cf6427e93b6cf925e4bc70929e3d3
      4e9b5a68
    • Stephan Bergmann's avatar
      Fix typos · 22c6d573
      Stephan Bergmann yazdı
      Change-Id: I0314d439412e9fcc0fbc6a7702e5ec3cddafc0c5
      22c6d573
    • Norbert Thiebaud's avatar
      xub_StrLen and tools/string.hxx final straw · 3cbfcee3
      Norbert Thiebaud yazdı
      Thre is still some 0xffff limit left and possibly some
      less than gracefully handled overflow/error cases
      
      Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638
      Reviewed-on: https://gerrit.libreoffice.org/7787Reviewed-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
      Tested-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
      3cbfcee3
    • Zolnai Tamás's avatar
      drawingML export: custom geometry with cubic bezier curves · 5c39b6b9
      Zolnai Tamás yazdı
      When the custom shape is not a preset shape then construct a
      PolyPolygon and use DrawingML::WritePolyPolygon() to export it.
      
      Change-Id: I6598976a475bfcb92305338af9016e09df4c9456
      5c39b6b9
  2. 02 Şub, 2014 6 kayıt (commit)