1. 05 Mar, 2015 3 kayıt (commit)
  2. 04 Mar, 2015 32 kayıt (commit)
    • Caolán McNamara's avatar
      V801: Decreased performance · 986a0709
      Caolán McNamara yazdı
      Change-Id: I342cbf679e50175808f64469c7e5c208cb75d8db
      986a0709
    • Caolán McNamara's avatar
      make wheel scrolling work under gtk3 · 6727b20c
      Caolán McNamara yazdı
      Change-Id: I8a0482abcedd07006d6229c073f89ce0e22e4699
      6727b20c
    • Caolán McNamara's avatar
      need GDK_SCROLL_MASK under gtk3 to get any wheel scroll events · adf7d868
      Caolán McNamara yazdı
      Change-Id: I1170fd8dc2d355cbef37daaf5cc6640d72c4f74c
      adf7d868
    • Caolán McNamara's avatar
      rControlRegion.[Left|Top]- 1 + 1 -> rControlRegion.[Left|Top] · 5262c510
      Caolán McNamara yazdı
      and little single line pixel artifacts have gone away somewhere
      along the line
      
      Change-Id: Id4a5b34f80f1be73272798d72a70bd4a1524e0d3
      5262c510
    • Caolán McNamara's avatar
      damaged does the same gtk_widget_queue_draw_area with -1 top and +2 dimension · 1cdf1e90
      Caolán McNamara yazdı
      Change-Id: I86428b381680455dfd8dcb2ef28decfd4063fe59
      1cdf1e90
    • Caolán McNamara's avatar
      V813: Decreased performance · 429ff887
      Caolán McNamara yazdı
      Change-Id: Ib40140b97b53ed7affaf3a209a0a12a60ee7434c
      429ff887
    • Caolán McNamara's avatar
      drop temp surface and draw direct to backing basebmp surface · 2567d804
      Caolán McNamara yazdı
      Change-Id: I370a0f635bea17729539e8b6da4c3f1d195ad43b
      2567d804
    • Caolán McNamara's avatar
      rely on cairo to do the clipping for us · 563bfd69
      Caolán McNamara yazdı
      Change-Id: Ie79614027a35e09cd95ee0cb238e2e8a538a719d
      563bfd69
    • Caolán McNamara's avatar
      valgrind: padding is not set · a213af34
      Caolán McNamara yazdı
      Change-Id: Ide7423fb52110aacc1edf8ca94083e76f408e7ff
      a213af34
    • Caolán McNamara's avatar
      consistent use of [pop|push]IgnoreDamage · 5a009a43
      Caolán McNamara yazdı
      Change-Id: I9a1fccc2cb9f2cd2f336218cf336c358c1a87af1
      5a009a43
    • Caolán McNamara's avatar
      update comment · 19af4b89
      Caolán McNamara yazdı
      Change-Id: I0f1579be12de198dfbc90c7c78c14979d120302d
      19af4b89
    • Caolán McNamara's avatar
      seeing as we're using cairo-calls now we shouldn't need manual bounds checking · a1778a4b
      Caolán McNamara yazdı
      Change-Id: Id0b91600e69819bc158bda6c51d35169936299d0
      a1778a4b
    • Caolán McNamara's avatar
      silence some more spew · 8a21cb8a
      Caolán McNamara yazdı
      Change-Id: Icfab4fc0208de28783ca50328321f3c65600bd9d
      8a21cb8a
    • Caolán McNamara's avatar
      flush surface after 'draw' · 9b63256d
      Caolán McNamara yazdı
      on f21 otherwise we see nothing under gtk3, f20 doesn't need it FWIW.
      
      Change-Id: I409c828644bff793f4a82ecc7d4cad4da1eeb8da
      9b63256d
    • Caolán McNamara's avatar
      move getCairoContext to GtkSalFrame and reuse · c26e2c87
      Caolán McNamara yazdı
      Change-Id: I8c50e6dd51299214ad622b253ffc401244653225
      c26e2c87
    • Caolán McNamara's avatar
      quieten spew · f462c980
      Caolán McNamara yazdı
      Change-Id: I40107e53a36aa8af2253bb8708de23239de0546e
      f462c980
    • Caolán McNamara's avatar
      duplicate of getCairoContext logic · 3cc36adb
      Caolán McNamara yazdı
      Change-Id: I8ec75a69dc8b63cf0cbf51a409a253cda765b815
      3cc36adb
    • Caolán McNamara's avatar
      GtkSalGraphics never operate on virtual devices · 7c065a13
      Caolán McNamara yazdı
      the VirtualDevice is a SvpSalVirtualDevice and it
      uses its own SvpSalGraphics to render to itself,
      so we don't have to worry about being asked to
      render to a VirtualDevice
      
      i.e. Revert "just in case, fallback if not cairo-surface"
      
      This reverts commit 756b2c94.
      
      Conflicts:
      	vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
      
      Change-Id: I3bd3ce42e7c943f8cfca1cc1d2ea6e5eb51bb349
      7c065a13
    • Caolán McNamara's avatar
      simplify optimized scrolling route a little · 1491e980
      Caolán McNamara yazdı
      Change-Id: Ib5e4d84c1943e0286632a7d5a805c3c4e8688de9
      1491e980
    • Caolán McNamara's avatar
      V813: Decreased performance · 32f95a35
      Caolán McNamara yazdı
      Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
      32f95a35
    • Stephan Bergmann's avatar
      Avoid bad downcast of SwFrmFmt to SwSectionFmt · 0f98299f
      Stephan Bergmann yazdı
      as observed by -fsanitize=vptr e.g. during CppunitTest_writerperfect_writer:
      
      SwFmtsModifyBase<SwSectionFmt*>::Contains(SwFmt const*) const
      SwUndoFmtAttr::Init()
      SwUndoFmtAttr::SwUndoFmtAttr(SfxItemSet const&, SwFmt&, bool)
      SwDoc::ChgFmt(SwFmt&, SfxItemSet const&)
      SwDocStyleSheet::SetItemSet(SfxItemSet const&, bool)
      SwXStyle::SetPropertyValues_Impl(com::sun::star::uno::Sequence<rtl::OUString> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)
      SwXStyle::setPropertyValues(com::sun::star::uno::Sequence<rtl::OUString> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&)
      SvXMLImportPropertyMapper::_FillMultiPropertySet(std::__debug::vector<XMLPropertyState, std::allocator<XMLPropertyState> > const&, com::sun::star::uno::Reference<com::sun::star::beans::XMultiPropertySet> const&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfo> const&, rtl::Reference<XMLPropertySetMapper> const&, _ContextID_Index_Pair*)
      SvXMLImportPropertyMapper::FillPropertySet(std::__debug::vector<XMLPropertyState, std::allocator<XMLPropertyState> > const&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>, _ContextID_Index_Pair*) const
      XMLShapeStyleContext::FillPropertySet(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&)
      XMLPropStyleContext::CreateAndInsert(bool)
      XMLTextShapeStyleContext::CreateAndInsert(bool)
      SvXMLStylesContext::CopyStylesToDoc(bool, bool)
      SwXMLImport::InsertStyles(bool)
      SwXMLStylesContext_Impl::EndElement()
      SvXMLImport::endElement(rtl::OUString const&)
      ...
      
      Change-Id: Ibbf6d4def751c5a8ad1416e22b8b5255eda3dd44
      0f98299f
    • Stephan Bergmann's avatar
      Hack to work around an in-destruction SwTxtNode no longer being one · dedc93e9
      Stephan Bergmann yazdı
      as observed by -fsanitize=vptr e.g. during CppunitTest_sw_mailmerge (though the
      true fix might be to prevent all this from happening during ~SwTxtNode anyway?):
      
      SwTxtFrm::GetTxtNode() const
      SwFrm::InvalidatePage(SwPageFrm const*) const
      SwCntntFrm::Cut()
      SwCntntNode::DelFrms(bool)
      SwCntntNode::~SwCntntNode()
      SwTxtNode::~SwTxtNode()
      SwNodes::RemoveNode(unsigned long, unsigned long, bool)
      SwNodes::Delete(SwNodeIndex const&, unsigned long)
      SwDoc::AppendDoc(SwDoc const&, unsigned short, SwPageDesc*, bool, int)
      ...
      
      Change-Id: Ic3bdf067abba985a0b95d4f0a482a94098341198
      dedc93e9
    • Stephan Bergmann's avatar
      Hack to make an in-destruction SwPageFrm no longer claim to be one · db2c0dc7
      Stephan Bergmann yazdı
      as observed by -fsanitize=vptr e.g. during CppunitTest_sw_mailmerge (though the
      true fix might be to prevent all this from happening during ~SwPageFrm anyway?):
      
      SwFrm::FindPageFrm()
      SwAnchoredObject::FindPageFrmOfAnchor()
      lcl_NotifyBackgroundOfObj(SwDrawContact&, SdrObject const&, Rectangle const*)
      SwDrawContact::DisconnectFromLayout(bool)
      SwDrawContact::DisconnectObjFromLayout(SdrObject*)
      SwLayoutFrm::Destroy()
      SwLayoutFrm::~SwLayoutFrm()
      SwFtnBossFrm::~SwFtnBossFrm()
      SwPageFrm::~SwPageFrm()
      SwFrm::CheckPageDescs(SwPageFrm*, bool, SwPageFrm**)
      SwFlowFrm::MoveBwd(bool&)
      SwCntntFrm::MakeAll()
      SwFrm::PrepareMake()
      SwFrm::Calc()
      SwLayAction::IsShortCut(SwPageFrm*&)
      SwLayAction::InternalAction()
      SwLayAction::Action()
      SwViewShell::ImplEndAction(bool)
      SwViewShell::EndAction(bool)
      SwCrsrShell::EndAction(bool, bool)
      SwEditShell::EndAllAction()
      SwDoc::AppendDoc(SwDoc const&, unsigned short, SwPageDesc*, bool)
      ...
      
      Change-Id: Iac207ef4a80318609f0a00d219dcccacaee7b205
      db2c0dc7
    • Stephan Bergmann's avatar
      Hack to make an in-destruction SwFlyInCntFrm no longer claim to be one · e49ca697
      Stephan Bergmann yazdı
      as observed by -fsanitize=vptr e.g. during CppunitTest_sw_uiwriter (though the
      true fix might be to prevent all this from happening during ~SwFlyInFrm
      anyway?):
      
      SwFrm::InvalidatePage(SwPageFrm const*)
      SwFlyFrm::DeleteCnt()
      SwFlyFrm::~SwFlyFrm()
      SwFlyInCntFrm::~SwFlyInCntFrm()
      SwFrmFmt::DelFrms()
      SwUndoFlyBase::DelFly(SwDoc*)
      SwUndoDelLayFmt::SwUndoDelLayFmt(SwFrmFmt*)
      SwHistoryTxtFlyCnt::SwHistoryTxtFlyCnt(SwFrmFmt*)
      SwHistory::Add(SwTxtAttr*, unsigned long, bool)
      SwUndoSaveCntnt::DelCntntIndex(SwPosition const&, SwPosition const&, unsigned short)
      SwUndoDelete::SwUndoDelete(SwPaM&, bool, bool)
      sw::DocumentContentOperationsManager::DeleteRangeImplImpl(SwPaM&)
      sw::DocumentContentOperationsManager::DeleteRangeImpl(SwPaM&, bool)
      sw::DocumentContentOperationsManager::DeleteAndJoinImpl(SwPaM&, bool)
      (anonymous namespace)::lcl_DoWithBreaks(sw::DocumentContentOperationsManager&, SwPaM&, bool (sw::DocumentContentOperationsManager::*)(SwPaM&, bool), bool)
      sw::DocumentContentOperationsManager::DeleteAndJoin(SwPaM&, bool)
      SwEditShell::DeleteSel(SwPaM&, bool*)
      SwEditShell::Delete()
      ...
      
      Change-Id: I6e3d7f3ab9f11a46324826201bc1af9a2d3a88cb
      e49ca697
    • Stephan Bergmann's avatar
      Hack to make an in-destruction SwFlyFrm no longer claim to be one · 5a934b2c
      Stephan Bergmann yazdı
      as observed by -fsanitize=vptr e.g. during CppunitTest_writerperfect_writer
      (though the true fix might be to prevent all this from happening during
      ~SwFlyFrm anyway?):
      
      SwFrm::FindPageFrm()
      SwAnchoredObject::FindPageFrmOfAnchor()
      lcl_NotifyBackgroundOfObj(SwDrawContact&, SdrObject const&, Rectangle const*)
      SwDrawContact::DisconnectFromLayout(bool)
      SwDrawContact::DisconnectObjFromLayout(SdrObject*)
      SwLayoutFrm::Destroy()
      SwLayoutFrm::~SwLayoutFrm()
      SwFlyFrm::~SwFlyFrm()
      SwFlyFreeFrm::~SwFlyFreeFrm()
      SwFlyLayFrm::~SwFlyLayFrm()
      SwLayoutFrm::Destroy()
      SwRootFrm::~SwRootFrm()
      ...
      boost::shared_ptr<SwRootFrm>::~shared_ptr()
      SwViewShell::~SwViewShell()
      SwCrsrShell::~SwCrsrShell()
      SwEditShell::~SwEditShell()
      SwFEShell::~SwFEShell()
      SwWrtShell::~SwWrtShell()
      SwView::~SwView()
      SfxViewFrame::ReleaseObjectShell_Impl()
      SfxViewFrame::~SfxViewFrame()
      SfxViewFrame::Close()
      ...
      
      Change-Id: I56d7135044e8682eeaf6ef23c76d4d7beca1eff4
      5a934b2c
    • Stephan Bergmann's avatar
      Hack to work around an in-destruction ScStyleSheetPool no longer being one · a015f2c1
      Stephan Bergmann yazdı
      as observed by -fsanitize=vptr e.g. during CppunitTest_sc_filters_test (though
      the true fix might be to prevent all this from happening during
      ~ScStyleSheetPool anyway?):
      
      ScStyleSheet::GetItemSet()
      ScStyleSheet::Notify(SfxBroadcaster&, SfxHint const&)
      SfxBroadcaster::Broadcast(SfxHint const&)
      SfxBroadcaster::~SfxBroadcaster()
      SfxStyleSheet::~SfxStyleSheet()
      ScStyleSheet::~ScStyleSheet()
      cppu::OWeakObject::release()
      comphelper::OWeakTypeObject::release()
      rtl::Reference<SfxStyleSheetBase>::~Reference()
      ...
      std::vector<rtl::Reference<SfxStyleSheetBase>, std::allocator<rtl::Reference<SfxStyleSheetBase>>>::clear()
      svl::IndexedStyleSheets::Clear(svl::StyleSheetDisposer&)
      SfxStyleSheetBasePool::Clear()
      SfxStyleSheetBasePool::~SfxStyleSheetBasePool()
      SfxStyleSheetPool::~SfxStyleSheetPool()
      ScStyleSheetPool::~ScStyleSheetPool()
      cppu::OWeakObject::release()
      comphelper::OWeakTypeObject::release()
      rtl::Reference<ScStyleSheetPool>::clear()
      ScPoolHelper::~ScPoolHelper()
      salhelper::SimpleReferenceObject::release()
      rtl::Reference<ScPoolHelper>::clear()
      ScDocument::~ScDocument()
      ScDocShell::~ScDocShell()
      ...
      
      Change-Id: I1565f8dbd039de20f63ac20d6b86d7b0d2799637
      a015f2c1
    • Stephan Bergmann's avatar
      Hack to make an in-destruction SystemWindow no longer claim to be one · 6449e5bb
      Stephan Bergmann yazdı
      as observed by -fsanitize=vptr e.g. during CppunitTest_sc_macros_test (though
      the true fix might be to prevent all this from happening during ~SystemWindow
      anyway?):
      
      vcl::ImplGetLastSystemWindow(vcl::Window*)
      vcl::Window::SetParent(vcl::Window*)
      vcl::Window::doLazyDelete()
      UnoWrapper::WindowDestroyed(vcl::Window*)
      vcl::Window::~Window()
      SystemWindow::~SystemWindow()
      WorkWindow::~WorkWindow()
      VCLXDevice::DestroyOutputDevice()
      VCLXWindow::dispose()
      (anonymous namespace)::Frame::impl_disposeContainerWindow(com::sun::star::uno::Reference<com::sun::star::awt::XWindow>&)
      (anonymous namespace)::Frame::dispose()
      (anonymous namespace)::Frame::close(unsigned char)
      non-virtual thunk to (anonymous namespace)::Frame::close(unsigned char)
      SfxFrame::DoClose()
      ...
      
      Change-Id: I91495eaa3cb2c636fd093ae7eb8b6ae4733002bb
      6449e5bb
    • Stephan Bergmann's avatar
      Avoid unnecessary bad downcast · 1855ffeb
      Stephan Bergmann yazdı
      Change-Id: I787f423a9e241c9f30c2fcdcaa4dbc4abc72029f
      1855ffeb
    • Caolán McNamara's avatar
      silence warning from use of GetVersionExA in external multimon.h header · b18377bb
      Caolán McNamara yazdı
      Change-Id: I7979ff88c711ea018351e5235ea8bd98e2a9b56e
      b18377bb
    • Stephan Bergmann's avatar
      Remove hack of replacing 0 with 1/LONG_MAX · d8e7bc04
      Stephan Bergmann yazdı
      ...that hack was in there since the initial import, but it is unclear to me what
      it shall fix, and it rather leads to problems as reported by
      -fsanitize=signed-integer-overflow when OuptutDevice::PixelToLogic of a 1x1 Size
      calls ImplPixelToLogic with n=1, nMapDenom=LONG_MAX causing the computation of
      2*n64 to overflow on 64-bit Linux.
      
      Change-Id: I2465da46175b8a1d4af1c23fb3df993230eec78d
      d8e7bc04
    • Miklos Vajna's avatar
      DocxAttributeOutput::m_pFontsAttrList: use std::unique_ptr · a47600e1
      Miklos Vajna yazdı
      Change-Id: I53ea0be24123a5466e0659196a3990782cc66b3b
      a47600e1
    • Caolán McNamara's avatar
      V813: Decreased performance · c6223049
      Caolán McNamara yazdı
      Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
      c6223049
  3. 03 Mar, 2015 5 kayıt (commit)