1. 16 Kas, 2016 28 kayıt (commit)
    • Stephan Bergmann's avatar
      loplugin:vclwidgets · 884e9296
      Stephan Bergmann yazdı
      Change-Id: Ia828755baa2c244cb23dc92202c1f9ed2448fe31
      884e9296
    • Eike Rathke's avatar
      tdf#96475 restore the EmptyDisplayedAsString condition during load · 83cbbc6d
      Eike Rathke yazdı
      So also "empty" result cells with a number format applied are displayed empty,
      instead of 1899-12-30 for example.
      
      Change-Id: I5280d0213b8a809a04c5cb152ded58028706493a
      83cbbc6d
    • Stephan Bergmann's avatar
      Demonstrate that (extension) .xcu can contain <item> with nested <node>s · ed5a8df7
      Stephan Bergmann yazdı
      This sprang from an IRC conversation with uniscript about allowing .xcd in
      extensions, so that an extension with (localization) data for many packages
      would not need one .xcu file per package, but rather only a single file.  That
      is possible with a single .xcu file using the <item> syntax, as shown here.  (I
      had thought that originally only registrymodifications.xcu supported the <item>
      syntax, but can't find any traces of that; so looks like an extension with an
      .xcu file using <item> syntax should be supported by OOo and derivates "since
      ages".)
      
      Change-Id: I1101793e6b14ba9c1e7647edab76927d4d31a81c
      ed5a8df7
    • Miklos Vajna's avatar
      vcl PDF sign: write ESSCertIDv2.hashAlgorithm/certHash · 2a5e7c6e
      Miklos Vajna yazdı
      With this, the value of signing-certificate conforms to the RFC.
      
      Change-Id: I27595068be46651efcbf0bd63fc51f79c6e18b4f
      Reviewed-on: https://gerrit.libreoffice.org/30907Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      Tested-by: 's avatarJenkins <ci@libreoffice.org>
      2a5e7c6e
    • Miklos Vajna's avatar
      xmlsecurity: fix alignment for XAdES checkbox · ece5862b
      Miklos Vajna yazdı
      And rename it to AdES, as the PDF PAdES generation will be affected by
      this checkbox in the near future.
      
      Change-Id: I06121e4eb9debac7a55a737a71780c2fa5c4d084
      Reviewed-on: https://gerrit.libreoffice.org/30908Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      Tested-by: 's avatarTor Lillqvist <tml@collabora.com>
      ece5862b
    • Tor Lillqvist's avatar
      Nothing from <tools/debug.hxx> used here · f3c42669
      Tor Lillqvist yazdı
      Change-Id: Ic7aa466c62eb8850d3c6b50c0e10b0575bd9b82e
      f3c42669
    • Miklos Vajna's avatar
      vcl PDF sign: initial ESSCertIDv2 · 96acbb93
      Miklos Vajna yazdı
      Towards writing the complete signing-certificate value.
      
      Change-Id: I0c7f3ddf863f944cc9e763beaf7d92e631dbcd4b
      96acbb93
    • Christian Lohmaier's avatar
      bump gradle plugin, build-tools and support lib versions · 5cbaf050
      Christian Lohmaier yazdı
      Change-Id: I94036432e23b2d73b6e2006ed49f9890ae11aa05
      5cbaf050
    • Caolán McNamara's avatar
      Related: lp#1580537 tdf#103915 don't set toolbars as primary · 739c9780
      Caolán McNamara yazdı
      because under Ambiance there are dark primary toolbars and light panels and
      currently we can only render the same icons in the same colors on each.
      
      Breeze was explicitly selected as the default icon set to use under unity
      in
      
      commit c0da1080
      Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
      Date:   Sat Feb 27 14:30:01 2016 +0100
      
          lp#1506544 tdf#92458: default to breeze theme on unity desktops
      
          Change-Id: I1e0e10d1561e32c5904e0e7352e914bb62b85363
      
      and the downstream workaround of lp#1580537 for this problem is to turn
      libreoffice toolbars light.
      
      glade has toolbar and a panel, both of them are light, so best solution
      I can see is to remove the primary class from our toolbars.
      
      Change-Id: I2f94ff52d56af1806e2b80b97e4ae2c4c82ae57e
      739c9780
    • Stephan Bergmann's avatar
      Avoid use after free from within StatusBar::dispose · f7dea2d2
      Stephan Bergmann yazdı
      Valgrind reveals that in Writer doing "Table - Insert Table... - Insert" (so the
      table-related toolbar appears at the bottom of the document window), then "File
      - Exit LibreOffice - Don't Save" causes
      
      > Invalid read of size 8
      >    at 0xE87CA6C: std::__cxx1998::vector<ImplStatusItem*, std::allocator<ImplStatusItem*> >::size() const (/usr/lib/gcc/x86_64-redhat-linux/6.2.1/../../../../include/c++/6.2.1/bits/stl_vector.h:656)
      >    by 0xE87B09F: StatusBar::GetItemCount() const (/vcl/source/window/status.cxx:1019)
      >    by 0x75248D91: VCLXAccessibleStatusBar::VCLXAccessibleStatusBar(VCLXWindow*) (/accessibility/source/standard/vclxaccessiblestatusbar.cxx:43)
      >    by 0x75201C37: (anonymous namespace)::AccessibleFactory::createAccessibleContext(VCLXWindow*) (/accessibility/source/helper/acc_factory.cxx:312)
      >    by 0xD27B191: VCLXWindow::CreateAccessibleContext() (/toolkit/source/awt/vclxwindow.cxx:862)
      >    by 0xD2862AC: VCLXWindow::getAccessibleContext() (/toolkit/source/awt/vclxwindow.cxx:2375)
      >    by 0xD2864AF: non-virtual thunk to VCLXWindow::getAccessibleContext() (/toolkit/source/awt/vclxwindow.cxx:0)
      >    by 0x2A5CF0CD: AtkListener::handleChildRemoved(com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessibleContext> const&, com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> const&) (/vcl/unx/gtk3/a11y/../../gtk/a11y/atklistener.cxx:200)
      >    by 0x2A5CF646: AtkListener::notifyEvent(com::sun::star::accessibility::AccessibleEventObject const&) (/vcl/unx/gtk3/a11y/../../gtk/a11y/atklistener.cxx:301)
      >    by 0x77D6DB7: comphelper::AccessibleEventNotifier::addEvent(unsigned int, com::sun::star::accessibility::AccessibleEventObject const&) (/comphelper/source/misc/accessibleeventnotifier.cxx:277)
      >    by 0x77D4219: comphelper::OAccessibleContextHelper::NotifyAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&) (/comphelper/source/misc/accessiblecontexthelper.cxx:186)
      >    by 0xD1FB887: VCLXAccessibleComponent::ProcessWindowEvent(VclWindowEvent const&) (/toolkit/source/awt/vclxaccessiblecomponent.cxx:210)
      >    by 0xD1FAEC0: VCLXAccessibleComponent::WindowEventListener(VclWindowEvent&) (/toolkit/source/awt/vclxaccessiblecomponent.cxx:125)
      >    by 0xD1F9C87: VCLXAccessibleComponent::LinkStubWindowEventListener(void*, VclWindowEvent&) (/toolkit/source/awt/vclxaccessiblecomponent.cxx:114)
      >    by 0xE797CD7: Link<VclWindowEvent&, void>::Call(VclWindowEvent&) const (/include/tools/link.hxx:84)
      >    by 0xE794189: vcl::Window::CallEventListeners(unsigned long, void*) (/vcl/source/window/event.cxx:240)
      >    by 0xE8EDC9F: vcl::Window::dispose() (/vcl/source/window/window.cxx:172)
      >    by 0xE875B9B: StatusBar::dispose() (/vcl/source/window/status.cxx:170)
      >    by 0xEAD71EE: VclReferenceBase::disposeOnce() (/vcl/source/outdev/vclreferencebase.cxx:42)
      >    by 0x3AA25A76: VclPtr<StatusBar>::disposeAndClear() (/include/vcl/vclptr.hxx:231)
      >    by 0x3AC1CF0D: framework::StatusBarManager::dispose() (/framework/source/uielement/statusbarmanager.cxx:202)
      >    by 0x3AC2936D: framework::StatusBarWrapper::dispose() (/framework/source/uielement/statusbarwrapper.cxx:75)
      >    by 0x3AA4F246: framework::LayoutManager::implts_destroyStatusBar() (/framework/source/layoutmanager/layoutmanager.cxx:840)
      >    by 0x3AA4EF68: framework::LayoutManager::implts_destroyElements() (/framework/source/layoutmanager/layoutmanager.cxx:443)
      >    by 0x3AA4ED7E: framework::LayoutManager::implts_reset(bool) (/framework/source/layoutmanager/layoutmanager.cxx:412)
      >    by 0x3AA5E683: framework::LayoutManager::frameAction(com::sun::star::frame::FrameActionEvent const&) (/framework/source/layoutmanager/layoutmanager.cxx:2814)
      >    by 0x3AB0A30C: (anonymous namespace)::Frame::implts_sendFrameActionEvent(com::sun::star::frame::FrameAction const&) (/framework/source/services/frame.cxx:3110)
      >    by 0x3AB0299D: (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:1557)
      >    by 0x3AB055AB: (anonymous namespace)::Frame::close(unsigned char) (/framework/source/services/frame.cxx:1801)
      >    by 0x3AAF1DC4: framework::Desktop::impl_closeFrames(bool) (/framework/source/services/desktop.cxx:1698)
      >    by 0x3AAF132A: framework::Desktop::terminate() (/framework/source/services/desktop.cxx:230)
      >    by 0x3A9D71CA: framework::CloseDispatcher::implts_terminateApplication() (/framework/source/dispatch/closedispatcher.cxx:562)
      >    by 0x3A9D632C: framework::CloseDispatcher::impl_asyncCallback(LinkParamNone*) (/framework/source/dispatch/closedispatcher.cxx:410)
      >    by 0x3A9D49D7: framework::CloseDispatcher::LinkStubimpl_asyncCallback(void*, LinkParamNone*) (/framework/source/dispatch/closedispatcher.cxx:254)
      >    by 0xE9B4BE7: Link<LinkParamNone*, void>::Call(LinkParamNone*) const (/include/tools/link.hxx:84)
      >    by 0xEE027A7: vcl::EventPoster::DoEvent_Impl(void*) (/vcl/source/helper/evntpost.cxx:52)
      >    by 0xEE02767: vcl::EventPoster::LinkStubDoEvent_Impl(void*, void*) (/vcl/source/helper/evntpost.cxx:48)
      >    by 0xE91FC17: Link<void*, void>::Call(void*) const (/include/tools/link.hxx:84)
      >    by 0xE91CE8B: ImplHandleUserEvent(ImplSVEvent*) (/vcl/source/window/winproc.cxx:1957)
      >    by 0xE91A33F: ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (/vcl/source/window/winproc.cxx:2507)
      >    by 0xEFEA88D: SalFrame::CallCallback(SalEvent, void const*) const (/vcl/inc/salframe.hxx:276)
      >    by 0xEFFF457: SalGenericDisplay::DispatchInternalEvent() (/vcl/unx/generic/app/gendisp.cxx:86)
      >  Address 0x6ccc64b0 is 32 bytes inside a block of size 56 free'd
      >    at 0x4C2D22A: operator delete(void*) (/builddir/build/BUILD/valgrind-3.11.0/coregrind/m_replacemalloc/vg_replace_malloc.c:576)
      >    by 0xE875B47: StatusBar::dispose() (/vcl/source/window/status.cxx:165)
      
      It looks rather pointless that StatusBar::dispose causes instantiation of a
      VCLXAccessibleStatusBar, but not sure what would be the right level to fix this.
      So work around it by making the pointlessly pointer mpItemList non-pointer, and
      clearing it in StatusBar::dispose, so that a latter call to
      StatusBar::GetItemCount returns 0 (which appears to be OK for the needs of that
      zombie VCLXAccessibleStatusBar).
      
      Change-Id: I1e982a335cb78e87a6c16633174bca76b59c6049
      f7dea2d2
    • Takeshi Abe's avatar
      tdf#101472 Prompt repaint of Elements window when mouse leaves · 5c49c13b
      Takeshi Abe yazdı
      This also reduces some cycles in SmElementsControl::MouseMove().
      
      Change-Id: I1dd5f9cd37e4a78010ebb719b4726f9b061d8ff2
      Reviewed-on: https://gerrit.libreoffice.org/30897Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
      Tested-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
      5c49c13b
    • Samuel Mehrbrodt's avatar
      Fix crash when opening ProfileExportedDialog · 6e3ff896
      Samuel Mehrbrodt yazdı
      Change-Id: I9137cc2b925f67af6b6dc7106327de76c28c74ac
      Reviewed-on: https://gerrit.libreoffice.org/30904Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
      Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
      6e3ff896
    • Katarina Behrens's avatar
      screenshotannotation: Trim the textfield, add scrollbar · 7ac70669
      Katarina Behrens yazdı
      to prevent it from growing too large and thus distorting the dialog
      
      Change-Id: Iaa27d3085ec314246565cae79ab7d627a94a3bff
      Reviewed-on: https://gerrit.libreoffice.org/30898Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
      7ac70669
    • Noel Grandin's avatar
      update couple of loplugins for move constructors · 92da39d5
      Noel Grandin yazdı
      Change-Id: I82140569a3e09225065d721e4aeac5c5fe93bc45
      92da39d5
    • Caolán McNamara's avatar
      gtk: under wayland tracking the window position is worthless · ac4f8463
      Caolán McNamara yazdı
      which isn't news, but...
      
      with focus follows mouse enabled, activate filter menu of a calc autofilter.
      Move the mouse around and enter the menu, menu pops down because there are
      configure and mouse events which indicate that the position of the main
      application window has "moved"
      
      when LibreOffice detects the window has moved, it closes the windows
      popups, so the menu disappears.
      
      Change-Id: I2d1aa4a51153002c925e2dde4402da2d84e52de5
      ac4f8463
    • Eike Rathke's avatar
      tdf#96475 PasteSpecial EmptyDisplayedAsString as empty · 87d2c012
      Eike Rathke yazdı
      Deactivating the assert in fillSortedColumnArray() was necessary for the bug's
      Paste Special and Sort scenario, but actually the assert could had been hit
      also earlier if some cell values were not pasted / skipped and Sort was invoked
      after that.
      
      Change-Id: I7b08bfb4104f4c7eb30815944bc87eec79a87334
      87d2c012
    • Stephan Bergmann's avatar
      loplugin:staticanonymous · 8c976b45
      Stephan Bergmann yazdı
      Change-Id: I074e464996070ac3f20d27a66a5f0246ede45c79
      8c976b45
    • Mike Kaganski's avatar
      Small housekeeping: merged two if's with same result into one · 722ea624
      Mike Kaganski yazdı
      Change-Id: I63e038173338055b5b4003e1a6040b8680b8bbd6
      Reviewed-on: https://gerrit.libreoffice.org/30901Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
      Tested-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
      722ea624
    • Miklos Vajna's avatar
      sw: remove redundant initializer for members in rtfexport · e06bacfc
      Miklos Vajna yazdı
      Change-Id: I004ebe3bd214a7c35a286f10bb13aef6900f0f87
      Reviewed-on: https://gerrit.libreoffice.org/30896Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      Tested-by: 's avatarJenkins <ci@libreoffice.org>
      e06bacfc
    • Caolán McNamara's avatar
      gtk3: problems with gdk_drag_status under wayland · 09972f97
      Caolán McNamara yazdı
      under wayland, the value selected by gdk_drag_status is not immediately
      available via gdk_drag_context_get_selected_action, so use the value
      we set on it, not the value it claims to have
      
      pull common code together as getPreferredDragAction
      
      Change-Id: I4d95c4b8183505f2203ad1a8f6947df983ce8d21
      09972f97
    • Stephan Bergmann's avatar
      Reduce noise for irrelevant warnings somewhat · 1034ee0c
      Stephan Bergmann yazdı
      ...other options to avoid such irrelevant warnings can be to move code to an
      include file and/or to define a dummy main() accessing otherwise unreferenced
      entities.
      
      Change-Id: Ifd44e376b35ef68496f3aba6a3c046d684824000
      1034ee0c
    • Katarina Behrens's avatar
      screenshotannotation: Fix bookmark snippets · 2a83720f
      Katarina Behrens yazdı
      Change-Id: I245000b48775955dcf72f362829df7594e8b637b
      Reviewed-on: https://gerrit.libreoffice.org/30880Reviewed-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
      Tested-by: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
      2a83720f
    • Noel Grandin's avatar
      make the element names in dumpAsXml match the class names · 72ffa98e
      Noel Grandin yazdı
      Change-Id: I955facfe3e901fcb76798dab342f96a67d5ac63f
      Reviewed-on: https://gerrit.libreoffice.org/30894Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      72ffa98e
    • Noel Grandin's avatar
      new loplugin finalprotected · 7cca2c7f
      Noel Grandin yazdı
      look for final classes, and make sure they don't have protected members
      
      Change-Id: I1fa810659bba02b61a5160dbfd8e24185ec9abf4
      Reviewed-on: https://gerrit.libreoffice.org/30895Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      7cca2c7f
    • Noel Grandin's avatar
      loplugin:countusersofdefaultparams in include/svx..unotools · 3c73942c
      Noel Grandin yazdı
      Change-Id: I02e933da66241e99e3b81d90d679f1502bab3fef
      Reviewed-on: https://gerrit.libreoffice.org/30866Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      3c73942c
    • Chamal's avatar
      tdf#92346 - Copy functionality in the viewer · 121a2020
      Chamal yazdı
      Reference class added to
      desktop/source/lib/lokandroid.cxx
      for Java_org_libreoffice_kit_Document_getTextSelection()
      
      Change-Id: I211d5709df39fd9fafdab9232af760613f6b86c0
      Reviewed-on: https://gerrit.libreoffice.org/29804Reviewed-by: 's avatarjan iversen <jani@documentfoundation.org>
      Tested-by: 's avatarjan iversen <jani@documentfoundation.org>
      121a2020
    • Kohei Yoshida's avatar
      Let's keep these guys private. · c3f99532
      Kohei Yoshida yazdı
      Change-Id: I196c9c2b24f94ac66bb200fea561bdc5ccc679e5
      c3f99532
    • Kohei Yoshida's avatar
      tdf#71409: properly remove itself from the context it listens. · e4e208fa
      Kohei Yoshida yazdı
      When the context itself is being disposed.  While this solves the
      issue of addAccessibleEventListener() being called twice despite
      removeAccessibleEventListener() being called only once, it won't
      solve the problem of leaky atk focus events.
      
      Change-Id: I984107ed2d30e6dba8067d11f400ff64d665d157
      e4e208fa
  2. 15 Kas, 2016 12 kayıt (commit)