1. 06 Nis, 2016 40 kayıt (commit)
    • Caolán McNamara's avatar
      bump hunspell to 1.3.4 · ce9e8630
      Caolán McNamara yazdı
      Change-Id: If7c4868c4296d1ca0e485dc06fdf3472e2e8653f
      Reviewed-on: https://gerrit.libreoffice.org/23863Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
      Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
      ce9e8630
    • Stephan Bergmann's avatar
      Elide const var · 2105f5b4
      Stephan Bergmann yazdı
      Change-Id: Idbbfd0f3e8fc96550c99a0750ff466629d6007bf
      2105f5b4
    • Stephan Bergmann's avatar
      loplugin:stringconstant · 6720da5d
      Stephan Bergmann yazdı
      Change-Id: I0285ba64213bfd5180e09a40ea6fdf4b210f431b
      6720da5d
    • Eike Rathke's avatar
      (re)broadcast, same as in ScDocument::SetString(), tdf#97897 related · b6ba851c
      Eike Rathke yazdı
      As with ce28d839
      
      Change-Id: I7cd30509138368d73b43c82d71d520d55417d416
      b6ba851c
    • Stephan Bergmann's avatar
      Avoid reserved identifiers · 6a37ea92
      Stephan Bergmann yazdı
      Change-Id: I57d2efee3e89a2793d0b9620c894a14f8970f284
      6a37ea92
    • Stephan Bergmann's avatar
      Avoid reserved identifiers · f5b325a7
      Stephan Bergmann yazdı
      Change-Id: I3f077d9937a86b362942173e787dd7cc65a0bbce
      f5b325a7
    • Douglas Mencken's avatar
      convert blob's hex bytes to ascii symbols · 871f49e7
      Douglas Mencken yazdı
      plus drop some auxiliary variables & assignments
      
      Change-Id: I2e9243fb70b46ada46cee09197ba4cecbc62e7fd
      Reviewed-on: https://gerrit.libreoffice.org/23701Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
      Tested-by: 's avatarjan iversen <jani@documentfoundation.org>
      871f49e7
    • Caolán McNamara's avatar
      revert to fix tdf#98783 missing menubar · 95b720f6
      Caolán McNamara yazdı
      Change-Id: Ia322149a7ed461f528af856d9907fe4620f9e97f
      95b720f6
    • Stephan Bergmann's avatar
      Avoid reserved identifiers · d02a0155
      Stephan Bergmann yazdı
      Change-Id: I5a4415c1f722cfd57d07f656e235a824b5ef521c
      d02a0155
    • Michael Stahl's avatar
      Revert "Avoid deadlock when two threads call into Frame::close" · 22fbbfe9
      Michael Stahl yazdı
      This reverts commit d2a59bb5.
      
      Ironically causes a different deadlock, with a non-main thread holding
      SolarMutex and blocked in SendMessage, and main thread dropping
      SolarMutex now and blocking with SalYieldMutex::acquire() instead of
      ImplSalYieldMutexAcquireWithWait().
      
      vcllo.dll!SalYieldMutex::acquire() Line 139
      vcllo.dll!SolarMutexGuard::SolarMutexGuard() Line 1477
      tklo.dll!VCLXWindow::removeFocusListener(const com::sun::star::uno::Reference<com::sun::star::awt::XFocusListener> & rxListener) Line 1066
      fwklo.dll!`anonymous namespace'::Frame::implts_stopWindowListening() Line 3042
      fwklo.dll!`anonymous namespace'::Frame::setComponent(const com::sun::star::uno::Reference<com::sun::star::awt::XWindow> & xComponentWindow, const com::sun::star::uno::Reference<com::sun::star::frame::XController> & xController) Line 1508
      fwklo.dll!`anonymous namespace'::Frame::close(unsigned char bDeliverOwnership) Line 1770
      sfxlo.dll!SfxViewFrame::Exec_Impl(SfxRequest & rReq) Line 261
      sfxlo.dll!SfxStubSfxViewFrameExec_Impl(SfxShell * pShell, SfxRequest & rReq) Line 706
      sfxlo.dll!SfxShell::CallExec(void (SfxShell *, SfxRequest &) * pFunc, SfxRequest & rReq) Line 204
      sfxlo.dll!SfxDispatcher::Call_Impl(SfxShell & rShell, const SfxSlot & rSlot, SfxRequest & rReq, bool bRecord) Line 265
      sfxlo.dll!SfxDispatcher::PostMsgHandler(SfxRequest * pReq) Line 1088
      sfxlo.dll!SfxDispatcher::LinkStubPostMsgHandler(void * instance, SfxRequest * data) Line 1065
      sfxlo.dll!Link<SfxRequest *,void>::Call(SfxRequest * data) Line 84
      sfxlo.dll!SfxHintPoster::DoEvent_Impl(void * pPostedHint) Line 45
      sfxlo.dll!SfxHintPoster::LinkStubDoEvent_Impl(void * instance, void * data) Line 42
      vcllo.dll!Link<void *,void>::Call(void * data) Line 84
      vcllo.dll!ImplHandleUserEvent(ImplSVEvent * pSVEvent) Line 1959
      vcllo.dll!ImplWindowFrameProc(vcl::Window * _pWindow, unsigned short nEvent, const void * pEvent) Line 2524
      vcllo.dll!SalFrame::CallCallback(unsigned short nEvent, const void * pEvent) Line 273
      vcllo.dll!ImplHandleUserEvent(HWND__ * hWnd, long lParam) Line 4111
      vcllo.dll!SalFrameWndProc(HWND__ * hWnd, unsigned int nMsg, unsigned int wParam, long lParam, int & rDef) Line 5767
      
      Change-Id: Iba97daf9cc90028c3b0ef693f928affa32bf5a0e
      22fbbfe9
    • Laurent Balland-Poirier's avatar
      tdf#96871 Do not force auto log Y scale to B^0 · 45f683a4
      Laurent Balland-Poirier yazdı
      Remove tests to fix automatic Y minimum log scale to 0.
      
      Change-Id: Ic33fbbc3d5ee86db964f74976d85e5a2e1068cca
      Reviewed-on: https://gerrit.libreoffice.org/23559Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
      Tested-by: 's avatarjan iversen <jani@documentfoundation.org>
      45f683a4
    • Stephan Bergmann's avatar
      Avoid reserved identifiers · 5aadbc15
      Stephan Bergmann yazdı
      Change-Id: I2217920ced336189a94c0a5d1e3ac0ccd3912881
      5aadbc15
    • Olivier Hallot's avatar
      Updated core · 4de70892
      Olivier Hallot yazdı
      Project: help  e22230a873bf0cd2e10746557f6d0003ee7a9859
      
      tdf#97824 improve description of SUMIFS conditions
      
      Change-Id: I5f81ef8381536aeca8eac8d409c75f20d47212dc
      Reviewed-on: https://gerrit.libreoffice.org/23846Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
      Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
      4de70892
    • Olivier Hallot's avatar
      Updated core · 10d0c4e9
      Olivier Hallot yazdı
      Project: help  a3913200aa6a0cbfc9cb762999b83a3cce5f5ef8
      
      tdf#98870 Update Options-LO-General help page
      
      Remove help tips
      Add Send usage data to TDF
      
      Change-Id: I4193ea81dba8dce31b7a5caf310cc9f3aa4d4372
      Reviewed-on: https://gerrit.libreoffice.org/23526Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
      Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
      10d0c4e9
    • Takeshi Abe's avatar
      starmath: Drop unnecessary forward declaration · b3986614
      Takeshi Abe yazdı
      Change-Id: I0f8893f6aa34a9738aad1e1a96f779bc77672f68
      Reviewed-on: https://gerrit.libreoffice.org/23848Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
      b3986614
    • Stephan Bergmann's avatar
      Avoid reserved identifier · 15421d71
      Stephan Bergmann yazdı
      Change-Id: I3ded47656c4e0f1c3134337bddab5713f29be27e
      15421d71
    • Stephan Bergmann's avatar
      Avoid reserved identifier · 165b087b
      Stephan Bergmann yazdı
      Change-Id: Ica4dc147a49525f0ec65241c2a9f1d3eb75b7285
      165b087b
    • Miklos Vajna's avatar
      Indentation fixes · b1ee1925
      Miklos Vajna yazdı
      Change-Id: Ieba9dfed344e04067278300365172162d6d44aae
      b1ee1925
    • Michael Stahl's avatar
      sal: GetSystemTimePreciseAsFileTime requires Windows 8 · 279c3146
      Michael Stahl yazdı
      3979afce broke the build on Windows 7.
      
      Change-Id: I142208c062d56d6a3daa8213a877411edde45e55
      279c3146
    • Noel Grandin's avatar
      remove some dead bits of DDE · 88e3b846
      Noel Grandin yazdı
      Change-Id: Ieb1d4e23f1a62b56d14a655a676d9c7d5f33c51c
      Reviewed-on: https://gerrit.libreoffice.org/23849Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
      Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
      88e3b846
    • Eike Rathke's avatar
      (re)broadcast if value replaces cell of grouped formulas, tdf#97897 related · ce28d839
      Eike Rathke yazdı
      Replacing a grouped formula cell with a different content may lead to
      the remaining cells of the group not being recalculated if they listen
      to a range that contains the current position. For example
      
      A1: 1
      A2: =SUM($A$1:$A1)  => 1
      A3: =SUM($A$1:$A2)  => 2
      
      Enter 2 in A2 => A3 should be 3 but is not recalculated.
      Loading http://bugs.documentfoundation.org/attachment.cgi?id=122714 of
      tdf#97897 exhibits that behavior.
      
      Change-Id: I10b91e77549a7534143be3d6e3cc03026cdaa764
      ce28d839
    • Stephan Bergmann's avatar
      Avoid reserved identifier · fb411e93
      Stephan Bergmann yazdı
      Change-Id: Ia2af17bbf08cebc9e3c8f772583a61bde194328f
      fb411e93
    • Stephan Bergmann's avatar
      Avoid reserved identifiers · 308eee79
      Stephan Bergmann yazdı
      Change-Id: I0505cf418688d568c0c110bc70b2552e2fb8265c
      308eee79
    • Stephan Bergmann's avatar
      ...and ignore DisposedException from multiple Frame::close · 2a0d0e7e
      Stephan Bergmann yazdı
      ...follow-up to d2a59bb5 "Avoid deadlock when
      two threads call into Frame::close"
      
      Change-Id: I26fae3fffce683888805efcc450065c3737ec3c5
      2a0d0e7e
    • Stephan Bergmann's avatar
      Avoid deadlock when two threads call into Frame::close · d2a59bb5
      Stephan Bergmann yazdı
      ...as happened at least once in JunitTest_framework_copmlex with
      
      > Thread 27 (Thread 0x2ac7e60d1700 (LWP 30831)):
      > #0  0x00002ac7b781c89d in __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
      > #1  0x00002ac7b7816a36 in __GI___pthread_mutex_lock (mutex=0x1ce1720) at ../nptl/pthread_mutex_lock.c:116
      > #2  0x00002ac7b6e6b257 in osl_acquireMutex(oslMutexImpl*) (pMutex=0x1ce1720) at sal/osl/unx/mutex.cxx:99
      > #3  0x00002ac7bf928098 in osl::Mutex::acquire() (this=0x1ce16f8) at include/osl/mutex.hxx:56
      > #4  0x00002ac7c022d123 in SalYieldMutex::acquire() (this=0x1ce16f0) at vcl/unx/generic/app/geninst.cxx:54
      > #5  0x00002ac7e48442ab in SolarMutexGuard::SolarMutexGuard() (this=0x2ac7e60cedb0) at include/vcl/svapp.hxx:1476
      > #6  0x00002ac7e4aa7747 in framework::AddonsToolBarWrapper::dispose() (this=0x2ac7e7fbcd50) at framework/source/uielement/addonstoolbarwrapper.cxx:73
      > #7  0x00002ac7e4947503 in framework::ToolbarLayoutManager::destroyToolbars() (this=0x2ac7dbf88018) at framework/source/layoutmanager/toolbarlayoutmanager.cxx:654
      > #8  0x00002ac7e494364c in framework::ToolbarLayoutManager::reset() (this=0x2ac7dbf88018) at framework/source/layoutmanager/toolbarlayoutmanager.cxx:363
      > #9  0x00002ac7e492a1d6 in framework::LayoutManager::implts_reset(bool) (this=0x2ac7dbfbcc40, bAttached=false) at framework/source/layoutmanager/layoutmanager.cxx:414
      > #10 0x00002ac7e493a404 in framework::LayoutManager::frameAction(com::sun::star::frame::FrameActionEvent const&) (this=0x2ac7dbfbcc40, aEvent=...) at framework/source/layoutmanager/layoutmanager.cxx:2807
      > #11 0x00002ac7e49e57dc in (anonymous namespace)::Frame::implts_sendFrameActionEvent(com::sun::star::frame::FrameAction const&) (this=0x2ac7e7fb2050, aAction=@0x2ac7e60cf73c: com::sun::star::frame::FrameAction_COMPONENT_DETACHING) at framework/source/services/frame.cxx:2845
      > #12 0x00002ac7e49ded07 in (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&) (this=0x2ac7e7fb2050, xComponentWindow=empty uno::Reference, xController=empty uno::Reference) at framework/source/services/frame.cxx:1509
      > #13 0x00002ac7e49e293b in (anonymous namespace)::Frame::close(unsigned char) (this=0x2ac7e7fb2050, bDeliverOwnership=0 '\000') at framework/source/services/frame.cxx:1770
      > #14 0x00002ac7e49ce635 in framework::Desktop::impl_closeFrames(bool) (this=0x2ac7daf2f430, bAllowUI=true) at framework/source/services/desktop.cxx:1674
      > #15 0x00002ac7e49cd6ee in framework::Desktop::terminate() (this=0x2ac7daf2f430) at framework/source/services/desktop.cxx:238
      > #16 0x00002ac7da45deb4 in gcc3::callVirtualMethod(void*, unsigned int, void*, _typelib_TypeDescriptionReference*, bool, unsigned long*, unsigned int, unsigned long*, double*) (pThis=0x2ac7daf2f4a0, nVtableIndex=3, pRegisterReturn=0x2ac7f41b36d0, pReturnTypeRef=0x1ce84c0, bSimpleReturn=true, pStack=0x2ac7e60cfd00, nStack=0, pGPR=0x2ac7e60cffc0, pFPR=0x2ac7e60cff80) at bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx:77
      > #17 0x00002ac7da45cccf in cpp_call(bridges::cpp_uno::shared::UnoInterfaceProxy*, bridges::cpp_uno::shared::VtableSlot, _typelib_TypeDescriptionReference*, int, _typelib_MethodParameter*, void*, void**, _uno_Any**) (pThis=0x2ac7f40f0ea0, aVtableSlot=..., pReturnTypeRef=0x1ce84c0, nParams=0, pParams=0x0, pUnoReturn=0x2ac7f41b36d0, pUnoArgs=0x0, ppUnoExc=0x2ac7e60d0560) at bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:241
      > #18 0x00002ac7da45c459 in bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) (pUnoI=0x2ac7f40f0ea0, pMemberDescr=0x2ac7f00027c0, pReturn=0x2ac7f41b36d0, pArgs=0x0, ppException=0x2ac7e60d0560) at bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:430
      > #19 0x00002ac7e40401ea in binaryurp::IncomingRequest::execute_throw(binaryurp::BinaryAny*, std::__debug::vector<binaryurp::BinaryAny, std::allocator<binaryurp::BinaryAny> >*) const (this=0x2ac7f0002870, returnValue=0x2ac7e60d09d0, outArguments=0x2ac7e60d0998) at binaryurp/source/incomingrequest.cxx:239
      > #20 0x00002ac7e403e88b in binaryurp::IncomingRequest::execute() const (this=0x2ac7f0002870) at binaryurp/source/incomingrequest.cxx:73
      > #21 0x00002ac7e406927d in request(void*) (pThreadSpecificData=0x2ac7f0002870) at binaryurp/source/reader.cxx:83
      > #22 0x00002ac7b998953b in cppu_threadpool::JobQueue::enter(long, bool) (this=0x2ac7f0002d30, nDisposeId=47038213394384, bReturnWhenNoJob=true) at cppu/source/threadpool/jobqueue.cxx:107
      > #23 0x00002ac7b998dc25 in cppu_threadpool::ORequestThread::run() (this=0x2ac7f0000fd0) at cppu/source/threadpool/thread.cxx:165
      > #24 0x00002ac7b998fb0e in threadFunc(void*) (param=0x2ac7f0000fe0) at include/osl/thread.hxx:185
      > #25 0x00002ac7b6e8190b in osl_thread_start_Impl(void*) (pData=0x2ac7f0001020) at sal/osl/unx/thread.cxx:240
      > #26 0x00002ac7b781460a in start_thread (arg=0x2ac7e60d1700) at pthread_create.c:334
      > #27 0x00002ac7b754ea4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
      
      > Thread 1 (Thread 0x2ac7b6cf7340 (LWP 30697)):
      > #0  0x00002ac7b7819b10 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      > #1  0x00002ac7b6e5b316 in osl_waitCondition(oslCondition, TimeValue const*) (Condition=0x2ac7f41e10b0, pTimeout=0x0) at sal/osl/unx/conditn.cxx:228
      > #2  0x00002ac7cca51370 in osl::Condition::wait(TimeValue const*) (this=0x2ac7e7fb20d8, pTimeout=0x0) at include/osl/conditn.hxx:84
      > #3  0x00002ac7cca50f90 in framework::Gate::wait() (this=0x2ac7e7fb20d0) at framework/inc/threadhelp/gate.hxx:123
      > #4  0x00002ac7cca50708 in framework::TransactionManager::setWorkingMode(framework::EWorkingMode) (this=0x2ac7e7fb20c8, eMode=framework::E_BEFORECLOSE) at framework/source/fwi/threadhelp/transactionmanager.cxx:98
      > #5  0x00002ac7e49dfc3c in (anonymous namespace)::Frame::dispose() (this=0x2ac7e7fb2050) at framework/source/services/frame.cxx:2008
      > #6  0x00002ac7e49e2cd3 in (anonymous namespace)::Frame::close(unsigned char) (this=0x2ac7e7fb2050, bDeliverOwnership=1 '\001') at framework/source/services/frame.cxx:1801
      > #7  0x00002ac7bbbe25fe in SfxViewFrame::Exec_Impl(SfxRequest&) (this=0x2ac7f4691cd0, rReq=...) at sfx2/source/view/viewfrm2.cxx:260
      > #8  0x00002ac7bbbcd658 in SfxStubSfxViewFrameExec_Impl(SfxShell*, SfxRequest&) (pShell=0x2ac7f4691cd0, rReq=...) at workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:706
      > #9  0x00002ac7bb71f792 in SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) (this=0x2ac7f4691cd0, pFunc=0x2ac7bbbcd630 <SfxStubSfxViewFrameExec_Impl(SfxShell*, SfxRequest&)>, rReq=...) at include/sfx2/shell.hxx:204
      > #10 0x00002ac7bb715e41 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) (this=0x2ac7f40fe8e0, rShell=..., rSlot=..., rReq=..., bRecord=true) at sfx2/source/control/dispatch.cxx:262
      > #11 0x00002ac7bb71b6fd in SfxDispatcher::PostMsgHandler(SfxRequest*) (this=0x2ac7f40fe8e0, pReq=0x2ac88c000cf0) at sfx2/source/control/dispatch.cxx:1085
      > #12 0x00002ac7bb716698 in SfxDispatcher::LinkStubPostMsgHandler(void*, SfxRequest*) (instance=0x2ac7f40fe8e0, data=0x2ac88c000cf0) at sfx2/source/control/dispatch.cxx:1065
      > #13 0x00002ac7bbabb3f8 in Link<SfxRequest*, void>::Call(SfxRequest*) const (this=0x2ac7f48361f0, data=0x2ac88c000cf0) at include/tools/link.hxx:84
      > #14 0x00002ac7bbabb37b in SfxHintPoster::DoEvent_Impl(void*) (this=0x2ac7f48361e0, pPostedHint=0x2ac88c000cf0) at sfx2/source/notify/hintpost.cxx:44
      > #15 0x00002ac7bbabb348 in SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) (instance=0x2ac7f48361e0, data=0x2ac88c000cf0) at sfx2/source/notify/hintpost.cxx:42
      > #16 0x00002ac7bfaba968 in Link<void*, void>::Call(void*) const (this=0x2ac88c00b008, data=0x2ac88c000cf0) at include/tools/link.hxx:84
      > #17 0x00002ac7bfab7adc in ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x2ac88c00b000) at vcl/source/window/winproc.cxx:1956
      > #18 0x00002ac7bfab4db7 in ImplWindowFrameProc(vcl::Window*, unsigned short, void const*) (_pWindow=0x2a43020, nEvent=22, pEvent=0x2ac88c00b000) at vcl/source/window/winproc.cxx:2524
      > #19 0x00002ac7c01278c9 in SalFrame::CallCallback(unsigned short, void const*) const (this=0x2a43890, nEvent=22, pEvent=0x2ac88c00b000) at vcl/inc/salframe.hxx:273
      > #20 0x00002ac7c0133999 in SvpSalInstance::DoYield(bool, bool, unsigned long) (this=0x1ce1640, bWait=false, bHandleAllCurrentEvents=false, nReleased=0) at vcl/headless/svpinst.cxx:293
      > #21 0x00002ac7bffa63b5 in ImplYield(bool, bool, unsigned long) (i_bWait=false, i_bAllEvents=false, nReleased=0) at vcl/source/app/svapp.cxx:509
      > #22 0x00002ac7bffa1148 in Application::Yield() () at vcl/source/app/svapp.cxx:553
      > #23 0x00002ac7bffa10d3 in Application::Execute() () at vcl/source/app/svapp.cxx:473
      > #24 0x00002ac7b70ee229 in desktop::Desktop::DoExecute() () at desktop/source/app/app.cxx:1322
      > #25 0x00002ac7b70f0304 in desktop::Desktop::Main() (this=0x7ffefac27e38) at desktop/source/app/app.cxx:1647
      > #26 0x00002ac7bffb3639 in ImplSVMain() () at vcl/source/app/svmain.cxx:172
      > #27 0x00002ac7bffb4e18 in SVMain() () at vcl/source/app/svmain.cxx:210
      > #28 0x00002ac7b714f3b5 in soffice_main() () at desktop/source/app/sofficemain.cxx:135
      > #29 0x000000000040097d in sal_main () at desktop/source/app/main.c:48
      > #30 0x0000000000400957 in main (argc=8, argv=0x7ffefac27fe8) at desktop/source/app/main.c:47
      
      Change-Id: Id06a8fcfe449f566785c51174b1ad3e81459032f
      d2a59bb5
    • Stephan Bergmann's avatar
      Avoid reserved identifier · 81284624
      Stephan Bergmann yazdı
      Change-Id: I87a6afeffaf7c87c6037a416783f1f22015b2fbf
      81284624
    • Stephan Bergmann's avatar
      Avoid division by zero · 3131621b
      Stephan Bergmann yazdı
      At least JunitTest_framework_copmlex triggered the UBSan failure
      
      > vcl/headless/svpgdi.cxx:924:46: runtime error: division by zero
      >     #0 0x2b7114500e3b in renderSource(_cairo*, SalTwoRect const&, _cairo_surface*) vcl/headless/svpgdi.cxx:924:46
      >     #1 0x2b711450074c in SvpSalGraphics::copySource(SalTwoRect const&, _cairo_surface*) vcl/headless/svpgdi.cxx:937:33
      >     #2 0x2b7114501f37 in SvpSalGraphics::copyBits(SalTwoRect const&, SalGraphics*) vcl/headless/svpgdi.cxx:980:5
      >     #3 0x2b7113461871 in SalGraphics::CopyBits(SalTwoRect const&, SalGraphics*, OutputDevice const*, OutputDevice const*) vcl/source/gdi/salgdilayout.cxx:529:9
      >     #4 0x2b711359a1fc in VirtualDevice::InnerImplSetOutputSizePixel(Size const&, bool, unsigned char*) vcl/source/gdi/virdev.cxx:352:17
      >     #5 0x2b711359bef6 in VirtualDevice::ImplSetOutputSizePixel(Size const&, bool, unsigned char*) vcl/source/gdi/virdev.cxx:391:9
      >     #6 0x2b711359edc0 in VirtualDevice::SetOutputSizePixel(Size const&, bool) vcl/source/gdi/virdev.cxx:437:12
      >     #7 0x2b70fa4b6f3f in sdr::overlay::OverlayManagerBuffered::ImpPrepareBufferDevice() svx/source/sdr/overlay/overlaymanagerbuffered.cxx:45:17
      >     #8 0x2b70fa4c0c2c in sdr::overlay::OverlayManagerBuffered::ImpSaveBackground(vcl::Region const&, OutputDevice*) svx/source/sdr/overlay/overlaymanagerbuffered.cxx:159:13
      >     #9 0x2b70fa4cecab in sdr::overlay::OverlayManagerBuffered::completeRedraw(vcl::Region const&, OutputDevice*) const svx/source/sdr/overlay/overlaymanagerbuffered.cxx:414:17
      >     #10 0x2b70fa787fc4 in SdrPaintWindow::DrawOverlay(vcl::Region const&) svx/source/svdraw/sdrpaintwindow.cxx:334:13
      >     #11 0x2b70fb9d388f in SdrPaintView::EndCompleteRedraw(SdrPaintWindow&, bool) svx/source/svdraw/svdpntv.cxx:753:9
      >     #12 0x2b70fd77da81 in FmFormView::EndCompleteRedraw(SdrPaintWindow&, bool) svx/source/form/fmview.cxx:474:5
      >     #13 0x2b70fb9d64a0 in SdrPaintView::EndDrawLayers(SdrPaintWindow&, bool) svx/source/svdraw/svdpntv.cxx:789:5
      >     #14 0x2b7182085fe9 in SwViewShell::DLPostPaint2(bool) sw/source/core/view/viewsh.cxx:240:9
      >     #15 0x2b71820d94c5 in SwViewShell::Paint(OutputDevice&, Rectangle const&) sw/source/core/view/viewsh.cxx:1797:21
      >     #16 0x2b717c26e635 in SwCursorShell::Paint(OutputDevice&, Rectangle const&) sw/source/core/crsr/crsrsh.cxx:1273:5
      >     #17 0x2b71839ae182 in SwEditWin::Paint(OutputDevice&, Rectangle const&) sw/source/uibase/docvw/edtwin2.cxx:475:9
      >     #18 0x2b71100ee7e0 in PaintHelper::DoPaint(vcl::Region const*) vcl/source/window/paint.cxx:309:13
      >     #19 0x2b71100ff14a in vcl::Window::ImplCallPaint(vcl::Region const*, unsigned short) vcl/source/window/paint.cxx:611:9
      >     #20 0x2b71100fb252 in PaintHelper::~PaintHelper() vcl/source/window/paint.cxx:549:17
      >     #21 0x2b71100ff463 in vcl::Window::ImplCallPaint(vcl::Region const*, unsigned short) vcl/source/window/paint.cxx:614:1
      >     #22 0x2b71100fb252 in PaintHelper::~PaintHelper() vcl/source/window/paint.cxx:549:17
      >     #23 0x2b71100ff463 in vcl::Window::ImplCallPaint(vcl::Region const*, unsigned short) vcl/source/window/paint.cxx:614:1
      >     #24 0x2b71100fb252 in PaintHelper::~PaintHelper() vcl/source/window/paint.cxx:549:17
      >     #25 0x2b71100ff463 in vcl::Window::ImplCallPaint(vcl::Region const*, unsigned short) vcl/source/window/paint.cxx:614:1
      >     #26 0x2b71100fb252 in PaintHelper::~PaintHelper() vcl/source/window/paint.cxx:549:17
      >     #27 0x2b71100ff463 in vcl::Window::ImplCallPaint(vcl::Region const*, unsigned short) vcl/source/window/paint.cxx:614:1
      >     #28 0x2b71100fb252 in PaintHelper::~PaintHelper() vcl/source/window/paint.cxx:549:17
      >     #29 0x2b71100ff463 in vcl::Window::ImplCallPaint(vcl::Region const*, unsigned short) vcl/source/window/paint.cxx:614:1
      >     #30 0x2b7110100536 in vcl::Window::ImplCallOverlapPaint() vcl/source/window/paint.cxx:635:9
      >     #31 0x2b7110102811 in vcl::Window::ImplHandlePaintHdl(Idle*) vcl/source/window/paint.cxx:667:9
      >     #32 0x2b7110100ee7 in vcl::Window::LinkStubImplHandlePaintHdl(void*, Idle*) vcl/source/window/paint.cxx:645:1
      >     #33 0x2b71101446d7 in Link<Idle*, void>::Call(Idle*) const include/tools/link.hxx:84:45
      >     #34 0x2b711380dff9 in Idle::Invoke() vcl/source/app/idle.cxx:25:5
      >     #35 0x2b711385011b in ImplSchedulerData::Invoke() vcl/source/app/scheduler.cxx:45:5
      >     #36 0x2b71138535e5 in Scheduler::ProcessTaskScheduling(bool) vcl/source/app/scheduler.cxx:177:9
      >     #37 0x2b71139a90d4 in ImplYield(bool, bool, unsigned long) vcl/source/app/svapp.cxx:521:5
      >     #38 0x2b7113982d83 in Application::Yield() vcl/source/app/svapp.cxx:553:5
      >     #39 0x2b7113982b1a in Application::Execute() vcl/source/app/svapp.cxx:473:9
      >     #40 0x2b70df7a4294 in desktop::Desktop::DoExecute() desktop/source/app/app.cxx:1322:5
      >     #41 0x2b70df7aeda3 in desktop::Desktop::Main() desktop/source/app/app.cxx:1647:17
      >     #42 0x2b7113a0208e in ImplSVMain() vcl/source/app/svmain.cxx:172:19
      >     #43 0x2b7113a0f776 in SVMain() vcl/source/app/svmain.cxx:210:16
      >     #44 0x2b70df9e9d01 in soffice_main desktop/source/app/sofficemain.cxx:135:12
      >     #45 0x4f0f0c in sal_main desktop/source/app/main.c:48:15
      >     #46 0x4f0ee6 in main desktop/source/app/main.c:47:1
      >     #47 0x2b70e137057f in __libc_start_main (/lib64/libc.so.6+0x2057f)
      >     #48 0x418f48 in _start (instdir/program/soffice.bin+0x418f48)
      
      Change-Id: I2bc4abe48c129e006582b9870229f44d2d2bb1ed
      3131621b
    • Stephan Bergmann's avatar
      Avoid bad downcast from SwViewShell to SwEditShell · 30e24a0a
      Stephan Bergmann yazdı
      At least the checkTitleNumbers(complex.XTitle.CheckXTitle) in
      JunitTest_framework_complex triggered the UBSan failure
      
      > sw/source/uibase/uiview/pview.cxx:1139:25: runtime error: downcast of address 0x61300047e500 which does not point to an object of type 'SwEditShell'
      > 0x61300047e500: note: object is of type 'SwViewShell'
      >  d3 03 80 0d  10 f6 8e e0 fa 2a 00 00  80 b2 1b 00 90 61 00 00  80 b2 1b 00 90 61 00 00  00 00 00 00
      >               ^~~~~~~~~~~~~~~~~~~~~~~
      >               vptr for 'SwViewShell'
      >     #0 0x2afadd5b9594 in SwPagePreview::Init() sw/source/uibase/uiview/pview.cxx:1139:25
      >     #1 0x2afadd5c0e29 in SwPagePreview::SwPagePreview(SfxViewFrame*, SfxViewShell*) sw/source/uibase/uiview/pview.cxx:1251:5
      >     #2 0x2afadd58c7a5 in SwPagePreview::CreateInstance(SfxViewFrame*, SfxViewShell*) sw/source/uibase/uiview/pview.cxx:85:1
      >     #3 0x2afa4a476c8c in SfxViewFactory::CreateInstance(SfxViewFrame*, SfxViewShell*) sfx2/source/view/viewfac.cxx:28:12
      >     #4 0x2afa49b677a5 in SfxBaseModel::createViewController(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) sfx2/source/doc/sfxbasemodel.cxx:4255:32
      >     #5 0x2afa49b6ac45 in non-virtual thunk to SfxBaseModel::createViewController(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) sfx2/source/doc/sfxbasemodel.cxx:4217:57
      >     #6 0x2afa4a38bd08 in (anonymous namespace)::SfxFrameLoader_Impl::impl_createDocumentView(com::sun::star::uno::Reference<com::sun::star::frame::XModel2> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, comphelper::NamedValueCollection const&, rtl::OUString const&) sfx2/source/view/frmload.cxx:600:50
      >     #7 0x2afa4a37f627 in (anonymous namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&) sfx2/source/view/frmload.cxx:728:13
      >     #8 0x2afac3723d1a in framework::LoadEnv::impl_loadContent() framework/source/loadenv/loadenv.cxx:1117:24
      >     #9 0x2afac3707b02 in framework::LoadEnv::startLoading() framework/source/loadenv/loadenv.cxx:379:20
      >     #10 0x2afac37007d5 in framework::LoadEnv::loadComponentFromURL(com::sun::star::uno::Reference<com::sun::star::frame::XComponentLoader> const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) framework/source/loadenv/loadenv.cxx:165:9
      >     #11 0x2afac396848d in (anonymous namespace)::Frame::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) framework/source/services/frame.cxx:608:12
      >     #12 0x2afac39a369a in non-virtual thunk to (anonymous namespace)::Frame::loadComponentFromURL(rtl::OUString const&, rtl::OUString const&, int, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) framework/source/services/frame.cxx:587:62
      >     #13 0x2afa4a4cdd1a in SfxViewFrame::LoadViewIntoFrame_Impl(SfxObjectShell const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, unsigned short, bool) sfx2/source/view/viewfrm.cxx:1897:5
      >     #14 0x2afa4a501df3 in SfxViewFrame::SwitchToViewShell_Impl(unsigned short, bool) sfx2/source/view/viewfrm.cxx:2096:32
      >     #15 0x2afa4a4a7491 in SfxViewFrame::ExecView_Impl(SfxRequest&) sfx2/source/view/viewfrm.cxx:2181:29
      >     #16 0x2afa4a4a5d16 in SfxStubSfxViewFrameExecView_Impl(SfxShell*, SfxRequest&) workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:709:1
      >     #17 0x2afa483dfe06 in SfxShell::CallExec(void (*)(SfxShell*, SfxRequest&), SfxRequest&) include/sfx2/shell.hxx:204:35
      >     #18 0x2afa48392c56 in SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, bool) sfx2/source/control/dispatch.cxx:262:13
      >     #19 0x2afa483bf830 in SfxDispatcher::PostMsgHandler(SfxRequest*) sfx2/source/control/dispatch.cxx:1085:17
      >     #20 0x2afa48398545 in SfxDispatcher::LinkStubPostMsgHandler(void*, SfxRequest*) sfx2/source/control/dispatch.cxx:1065:1
      >     #21 0x2afa49d320a7 in Link<SfxRequest*, void>::Call(SfxRequest*) const include/tools/link.hxx:84:45
      >     #22 0x2afa49d31b50 in SfxHintPoster::DoEvent_Impl(void*) sfx2/source/notify/hintpost.cxx:44:5
      >     #23 0x2afa49d319e5 in SfxHintPoster::LinkStubDoEvent_Impl(void*, void*) sfx2/source/notify/hintpost.cxx:42:1
      >     #24 0x2afa69f03327 in Link<void*, void>::Call(void*) const include/tools/link.hxx:84:45
      >     #25 0x2afa69eec39f in ImplHandleUserEvent(ImplSVEvent*) vcl/source/window/winproc.cxx:1959:13
      >     #26 0x2afa69ed7183 in ImplWindowFrameProc(vcl::Window*, unsigned short, void const*) vcl/source/window/winproc.cxx:2527:13
      >     #27 0x2afa6cf9a0f9 in SalFrame::CallCallback(unsigned short, void const*) const vcl/inc/salframe.hxx:273:33
      >     #28 0x2afa6cff0a85 in SvpSalInstance::DoYield(bool, bool, unsigned long) vcl/headless/svpinst.cxx:293:17
      >     #29 0x2afa6c484a64 in ImplYield(bool, bool, unsigned long) vcl/source/app/svapp.cxx:509:9
      >     #30 0x2afa6c45ed83 in Application::Yield() vcl/source/app/svapp.cxx:553:5
      >     #31 0x2afa6c45eb1a in Application::Execute() vcl/source/app/svapp.cxx:473:9
      >     #32 0x2afa38280294 in desktop::Desktop::DoExecute() desktop/source/app/app.cxx:1322:5
      >     #33 0x2afa3828ada3 in desktop::Desktop::Main() desktop/source/app/app.cxx:1647:17
      >     #34 0x2afa6c4de08e in ImplSVMain() vcl/source/app/svmain.cxx:172:19
      >     #35 0x2afa6c4eb776 in SVMain() vcl/source/app/svmain.cxx:210:16
      >     #36 0x2afa384c5d01 in soffice_main desktop/source/app/sofficemain.cxx:135:12
      >     #37 0x4f0f0c in sal_main desktop/source/app/main.c:48:15
      >     #38 0x4f0ee6 in main desktop/source/app/main.c:47:1
      >     #39 0x2afa39e4c57f in __libc_start_main (/lib64/libc.so.6+0x2057f)
      >     #40 0x418f48 in _start (instdir/program/soffice.bin+0x418f48)
      
      Change-Id: I4a32bcf4dea4616d4726c28ba01adba9083ad1c6
      30e24a0a
    • Stephan Bergmann's avatar
      See if waitForEventIdle helps here · 70ad4333
      Stephan Bergmann yazdı
      ...the test often fails with the assertNotNull in prepareQueryAndDispatch
      firing, suggesting there's a race in getting the dispatch processed before
      proceeding
      
      Change-Id: Ib338d761df638a0c5d53777352cfe7519742112b
      70ad4333
    • Stephan Bergmann's avatar
      Avoid reserved identifiers · ffd919b2
      Stephan Bergmann yazdı
      Change-Id: I4c76a7d3f5a209578b5a7c230fbbcdea2ec47ae0
      ffd919b2
    • Stephan Bergmann's avatar
      Avoid reserved identifiers · 31116719
      Stephan Bergmann yazdı
      Change-Id: I2c83911433a8f89e7366d9f7711ca4879e44bae9
      31116719
    • Michael Stahl's avatar
      vcl: lstrcpynW actually takes length *including* null terminator · 5a7b0d2c
      Michael Stahl yazdı
      ... which is surprising, but means that these arguments are too small.
      
      Change-Id: I9c58e7fefa30d19c701df4f04043ddb474b28986
      5a7b0d2c
    • Michael Stahl's avatar
      tdf#98989: vcl: fix handling of non-scalable fonts like "Courier" · 2f89245f
      Michael Stahl yazdı
      For a VirtualDevice only scalable fonts are cloned, but for non-scalable
      bitmap fonts still an empty PhysicalFontFamily with no PhysicalFontFace
      is created, which causes text to disappear (height 0).
      
      Suppress creation of such families like it was done in LO 4.3, so that
      the fall-back can handle it and map "Courier" to "Courier New".
      
      (regression from 8d669758)
      
      Change-Id: I6542a3f7a01bdf46ae2bcf328fa04064f7f86332
      2f89245f
    • Michael Stahl's avatar
      sw: fix typo · e6371f31
      Michael Stahl yazdı
      Change-Id: I1f439382dd11a4082cce20e410ecdbcdab31adb9
      e6371f31
    • pasqualm's avatar
      tdf#90319: make image flipping work when aLinearContext(...) code path chosen · 1e3d634e
      pasqualm yazdı
      Image flipping can be processed following different code paths in bitmap.cxx.
      Has been verified that it was broken in Linux Mint (with cinnamon) because
      there a buggy code path was chosen which was not fixed
      in commit 3119440a in master.
      This commit solves the problem for this code path
      
      Change-Id: I22257e70761ca5469c0424b5f9925681cfd4e2e3
      Reviewed-on: https://gerrit.libreoffice.org/22753Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarJacobo Aragunde Pérez <jaragunde@igalia.com>
      1e3d634e
    • David Tardon's avatar
      tdf#99110 translate currency for uk · 97a0893f
      David Tardon yazdı
      Change-Id: I1420d92d7e5ea229b7c1a8d11fa30111ffb62557
      97a0893f
    • David Tardon's avatar
      tdf#99110 translate reserved words for uk · 81121941
      David Tardon yazdı
      Change-Id: I66c866815501f185de4c3ac7296ef42f1a1ab025
      81121941
    • David Tardon's avatar
      tdf#99110 add genitive cases for months for uk · f8b6a503
      David Tardon yazdı
      Change-Id: I77f7b555d17de761d65c4ef3ccc8a502800998f5
      f8b6a503
    • Jan Holesovsky's avatar
      SidebarToolBox: Remove unused param. · 3f4c85b8
      Jan Holesovsky yazdı
      Change-Id: I47d4ffe68f09156987e545511be469991dd6105d
      3f4c85b8
    • Jan Holesovsky's avatar
      SidebarToolBox: This function was needed only for InsertPropertyPanel. · cd383549
      Jan Holesovsky yazdı
      Change-Id: I7101ca70418d4d33b0dfbbd2ba6753b6891d7c3c
      cd383549