1. 04 Haz, 2019 29 kayıt (commit)
    • Zdeněk Crhonek's avatar
      uitest for bug tdf#44837 · 5c964216
      Zdeněk Crhonek yazdı
      Change-Id: I194553a6afbcfc17e40ef28627a2806806b69289
      Reviewed-on: https://gerrit.libreoffice.org/73409
      Tested-by: Jenkins
      Reviewed-by: 's avatarZdenek Crhonek <zcrhonek@gmail.com>
      5c964216
    • Miklos Vajna's avatar
      tdf#101086 sc autofilter popup: avoid flicker · 4dadbff7
      Miklos Vajna yazdı
      Regression from commit a4cb27f6
      (refactor ScMenuFloatingWindow to use RenderContext, 2015-05-14), the
      problem was that the change had two effects:
      
      1) It removed incremental rendering that now causes flicker.
      
      2) It added support for painting into a rendercontext, not on the window
      itself.
      
      Given that here a hierarchy of widgets have to be painted at once (to
      avoid flicker), use vcl::Window::RequestDoubleBuffering() instead of the
      much simpler vcl::BufferDevice.
      
      This improves the situation on Windows, but explicitly blacklist the
      focus rectangle case (gtk3) which is currently not compatible with this
      higher level double-buffering (and there we already have lower-level
      double-buffering anyway, similar to OpenGL).
      
      Change-Id: I77aa951e14db668166dc8757e36c037ee98243bf
      Reviewed-on: https://gerrit.libreoffice.org/73441Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
      Tested-by: Jenkins
      4dadbff7
    • Stephan Bergmann's avatar
      Avoid truncation of ±1E20 to long · ee6dd4d3
      Stephan Bergmann yazdı
      With -fsanitize=float-cast-overflow, opening doc/abi5309-1.doc as obtained by
      bin/get-bugzilla-attachments-by-mimetype (i.e., the attachment at
      <https://bugzilla.abisource.com/show_bug.cgi?id=5309#c3>) fails with
      
      > include/tools/helpers.hxx:76:79: runtime error: 1e+20 is outside the range of representable values of type 'long'
      >  #0 in FRound(double) at include/tools/helpers.hxx:76:79 (instdir/program/libtllo.so +0x3c13dd)
      >  #1 in ImplPolygon::ImplPolygon(basegfx::B2DPolygon const&) at tools/source/generic/poly.cxx:474:30 (instdir/program/libtllo.so +0x40f35f)
      >  #2 in tools::Polygon::Polygon(basegfx::B2DPolygon const&) at tools/source/generic/poly.cxx:1849:72 (instdir/program/libtllo.so +0x42c9ff)
      >  #3 in ImplPolyPolygon::ImplPolyPolygon(basegfx::B2DPolyPolygon const&) at tools/source/generic/poly2.cxx:482:28 (instdir/program/libtllo.so +0x45561e)
      >  #4 in tools::PolyPolygon::PolyPolygon(basegfx::B2DPolyPolygon const&) at tools/source/generic/poly2.cxx:463:25 (instdir/program/libtllo.so +0x45512d)
      >  #5 in emfio::MtfTools::DrawPolygon(tools::Polygon, bool) at emfio/source/reader/mtftools.cxx:1287:17 (instdir/program/../program/libemfiolo.so +0x1828d3)
      >  #6 in emfio::WmfReader::ReadRecordParams(unsigned short) at emfio/source/reader/wmfreader.cxx:367:21 (instdir/program/../program/libemfiolo.so +0x1cffde)
      >  #7 in emfio::WmfReader::ReadWMF() at emfio/source/reader/wmfreader.cxx:1425:29 (instdir/program/../program/libemfiolo.so +0x1f7567)
      >  #8 in emfio::emfreader::XEmfParser::getDecomposition(com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at emfio/source/emfuno/xemfparser.cxx:152:108 (instdir/program/../program/libemfiolo.so +0x13795a)
      >  #9 in non-virtual thunk to emfio::emfreader::XEmfParser::getDecomposition(com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at emfio/source/emfuno/xemfparser.cxx (instdir/program/../program/libemfiolo.so +0x138735)
      >  #10 in VectorGraphicData::ensureSequenceAndRange() at vcl/source/gdi/vectorgraphicdata.cxx:172:137 (instdir/program/libvcllo.so +0x86bdadf)
      >  #11 in VectorGraphicData::ensureReplacement() at vcl/source/gdi/vectorgraphicdata.cxx:138:5 (instdir/program/libvcllo.so +0x86bcb94)
      >  #12 in VectorGraphicData::getReplacement() const at vcl/source/gdi/vectorgraphicdata.cxx:286:45 (instdir/program/libvcllo.so +0x86c0a04)
      >  #13 in ImpGraphic::ImplSetPrefSize(Size const&) at vcl/source/gdi/impgraph.cxx:956:45 (instdir/program/libvcllo.so +0x7d05433)
      >  #14 in Graphic::SetPrefSize(Size const&) at vcl/source/gdi/graph.cxx:388:19 (instdir/program/libvcllo.so +0x7ca7e26)
      >  #15 in SvxMSDffManager::GetBLIPDirect(SvStream&, Graphic&, tools::Rectangle*) at filter/source/msfilter/msdffimp.cxx:6616:26 (instdir/program/../program/libmsfilterlo.so +0x9617bc)
      >  #16 in SvxMSDffManager::GetBLIP(unsigned long, Graphic&, tools::Rectangle*) at filter/source/msfilter/msdffimp.cxx:6453:23 (instdir/program/../program/libmsfilterlo.so +0x95f368)
      >  #17 in SvxMSDffManager::ImportGraphic(SvStream&, SfxItemSet&, DffObjData const&) at filter/source/msfilter/msdffimp.cxx:3821:24 (instdir/program/../program/libmsfilterlo.so +0x990678)
      >  #18 in SvxMSDffManager::ImportShape(DffRecordHeader const&, SvStream&, SvxMSDffClientData&, tools::Rectangle&, tools::Rectangle const&, int, int*) at filter/source/msfilter/msdffimp.cxx:4368:28 (instdir/program/../program/libmsfilterlo.so +0x9a221a)
      >  #19 in SvxMSDffManager::ImportObj(SvStream&, SvxMSDffClientData&, tools::Rectangle&, tools::Rectangle const&, int, int*) at filter/source/msfilter/msdffimp.cxx:4073:16 (instdir/program/../program/libmsfilterlo.so +0x9972d8)
      >  #20 in SvxMSDffManager::GetShape(unsigned long, SdrObject*&, SvxMSDffImportData&) at filter/source/msfilter/msdffimp.cxx:6377:23 (instdir/program/../program/libmsfilterlo.so +0x9dde0c)
      >  #21 in SwWW8ImplReader::Read_GrafLayer(long) at sw/source/filter/ww8/ww8graf.cxx:2567:34 (instdir/program/../program/libmswordlo.so +0x2c51a1f)
      >  #22 in SwWW8ImplReader::ReadChar(long, long) at sw/source/filter/ww8/ww8par.cxx:3697:17 (instdir/program/../program/libmswordlo.so +0x2db3a07)
      >  #23 in SwWW8ImplReader::ReadChars(int&, int, long, long) at sw/source/filter/ww8/ww8par.cxx:3484:27 (instdir/program/../program/libmswordlo.so +0x2dafba2)
      >  #24 in SwWW8ImplReader::ReadText(int, int, ManTypes) at sw/source/filter/ww8/ww8par.cxx:4045:22 (instdir/program/../program/libmswordlo.so +0x2d85c3e)
      >  #25 in SwWW8ImplReader::CoreLoad(WW8Glossary const*) at sw/source/filter/ww8/ww8par.cxx:5227:9 (instdir/program/../program/libmswordlo.so +0x2de3314)
      >  #26 in SwWW8ImplReader::LoadThroughDecryption(WW8Glossary*) at sw/source/filter/ww8/ww8par.cxx:5892:19 (instdir/program/../program/libmswordlo.so +0x2df31ad)
      >  #27 in SwWW8ImplReader::LoadDoc(WW8Glossary*) at sw/source/filter/ww8/ww8par.cxx:6196:19 (instdir/program/../program/libmswordlo.so +0x2dfe1ed)
      >  #28 in WW8Reader::Read(SwDoc&, rtl::OUString const&, SwPaM&, rtl::OUString const&) at sw/source/filter/ww8/ww8par.cxx:6347:26 (instdir/program/../program/libmswordlo.so +0x2e0301a)
      >  #29 in SwReader::Read(Reader const&) at sw/source/filter/basflt/shellio.cxx:188:22 (instdir/program/../program/libswlo.so +0x1041d2be)
      >  #30 in SwDocShell::ConvertFrom(SfxMedium&) at sw/source/uibase/app/docsh.cxx:261:26 (instdir/program/../program/libswlo.so +0x10fc4d98)
      >  #31 in SfxObjectShell::DoLoad(SfxMedium*) at sfx2/source/doc/objstor.cxx:768:23 (instdir/program/libsfxlo.so +0x49d934a)
      [...]
      
      To represent "negative" clip regions, basegfx/source/tools/b2dclipstate.cxx uses
      an ugly hack of subtracting the region from a ±1E20 bounding box.  This document
      uses such a negative clip region with a 4504x633@(11301,38) rectangular hole.
      (Though I don't know whether that's the real intention, or caused by LO
      misparsing the input file format.)
      
      So to avoid converting the ±1E20 bounding box from double to long, do the
      intersection here with basegfx double values, and only convert the result to
      tools long values.  (There appears to be no implemenation of intersection with
      a polypolygon for B2DPolyPolyon, just B2DClipState::intersectPolyPolygon.)  (In
      principle there could be loss of precision when aPolyPoly is converted to a
      B2DPolyPolygon now, but that's unlikely with a typical IEEE 754 double with
      52 bit mantissa.)
      
      Change-Id: I82a9941b43d90153d63612147b2ca33fbca5f179
      Reviewed-on: https://gerrit.libreoffice.org/73386
      Tested-by: Jenkins
      Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
      ee6dd4d3
    • Tor Lillqvist's avatar
      Add css_comp_Impress_oox_PowerPointExport · 80457313
      Tor Lillqvist yazdı
      Change-Id: I17d95cce0dd69e2ba8b4ebc7045544fc5659a249
      80457313
    • Tor Lillqvist's avatar
      Fix "external" graphic filter code for the DISABLE_DYNLOADING case · a4807544
      Tor Lillqvist yazdı
      The DISABLE_DYNLOADING case in ImpFilterLibCacheEntry::GetImportFunction()
      had apparently been broken from the start, but nobody never noticed as
      the common formats (PNG, JPEG, GIF etc) use a more "internal"code
      path. The problem was noticed now with a TIFF image in a presentation.
      
      The fix for the import case seems to work, but I could not test the
      fix for the export case.
      
      Change-Id: Icbd33c7cb654136a562f18b06d5b0896e701bf3d
      a4807544
    • Olivier Hallot's avatar
      TOTD Specify that tip is for Calc · 27cd31a7
      Olivier Hallot yazdı
      Change-Id: Ia77b5a407693802f408cd7d28d50962ae1c746e7
      Reviewed-on: https://gerrit.libreoffice.org/73308
      Tested-by: Jenkins
      Reviewed-by: 's avatarHeiko Tietze <tietze.heiko@gmail.com>
      27cd31a7
    • Khaled Hosny's avatar
      Use ICU UCHAR_VERTICAL_ORIENTATION when available · 8736cc0f
      Khaled Hosny yazdı
      Starting from ICU 63, the vertical orientation property is provided by ICU so
      we use it instead of our inyternal, and potentially outdated data file. Old
      code is kept until support for ICU < 63 is dropped.
      
      Change-Id: I0df1f3f5e853ca90945a36a8123bec9ae7f691cc
      Reviewed-on: https://gerrit.libreoffice.org/73425
      Tested-by: Jenkins
      Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
      8736cc0f
    • wishawa's avatar
      Update git submodules · fce79b23
      wishawa yazdı
      * Update dictionaries from branch 'master'
        - Remove abbreviations from Thai hunspell dictionary.
          
          Reasons:
          1. They are not present in other spellcheck dictionaries (such as en).
          2. To add all abreviations would not be much different from adding all
          possible combinations of 2-3 Thai consonants. This would make misspelled
          abbreviations come as correct to the spellcheck anyway.
          3. Adding only the most common ones can cause confusion to those using
          less common ones, as the spellchecker will suggest the more common
          abbreviation. It is also nearly impossible to determine if an abbreviation
          is common that it should be added or not.
          Change-Id: I8b7bce70f552ab3b356e1ab2c101e9e31a8ec271
          Reviewed-on: https://gerrit.libreoffice.org/73216Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
      Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
          
      fce79b23
    • László Németh's avatar
      tdf#70234 DOCX: export tracked deletion of fields · caf2f5ff
      László Németh yazdı
      Multiple runs of a field weren't exported as
      tracked deletion, resulting bad DOCX export
      with reappearing deleted fields in LO and
      invalid document in MSO.
      
      Change-Id: I2a1957371b78e0af60d8bf3944a1c28abe8ba0cc
      Reviewed-on: https://gerrit.libreoffice.org/73438
      Tested-by: Jenkins
      Reviewed-by: 's avatarLászló Németh <nemeth@numbertext.org>
      caf2f5ff
    • Mike Kaganski's avatar
      tdf#125657: restore conversion of a:srcRect attributes to integers · 166aafde
      Mike Kaganski yazdı
      Regression from commit 1fe24bb1
      
      Change-Id: I5597fe6a7f7c54ad9bf2634eba5245e2e4a1efbf
      Reviewed-on: https://gerrit.libreoffice.org/73430
      Tested-by: Jenkins
      Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
      166aafde
    • Eike Rathke's avatar
      Resolves: tdf#123752 allow group separator in formula values if possible · 4e3e0c67
      Eike Rathke yazdı
      If possible here means if it can't be an operator (is not an ASCII
      value) and is not any other separator. This restores the "working
      by chance" behaviour for some locales that use NO-BREAK SPACE as
      group separator. It never worked for locales that use one of the
      "ordinary" comma or dot or apostrophe group separator and will
      not.
      
      Change-Id: I8b7ba1b502b6b7367ffb2199d2f3922ab605a659
      Reviewed-on: https://gerrit.libreoffice.org/73422Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
      Tested-by: Jenkins
      4e3e0c67
    • Balazs Varga's avatar
      Related: tdf#48041 Chart: vertical value axis labels · a2554ac1
      Balazs Varga yazdı
      Do not duplicate vertical axis labels and gridlines
      if same value labels follow each other, because of
      the number format and rounding.
      Supplement of commit: 7f373a4c
      
      Change-Id: I7a5d8196d4f16024c279fa4417a0c8809fb8aec7
      Reviewed-on: https://gerrit.libreoffice.org/73432
      Tested-by: Jenkins
      Reviewed-by: 's avatarLászló Németh <nemeth@numbertext.org>
      a2554ac1
    • László Németh's avatar
      tdf#70234 DOCX: import tracked deletion of fields · d160bca0
      László Németh yazdı
      Deleted fields in tracked changes, for example page
      number fields, imported as not deleted text fields.
      
      Change-Id: Id35c3ad7d293039fc8a2d0b564572dc459a25d0f
      Reviewed-on: https://gerrit.libreoffice.org/73397
      Tested-by: Jenkins
      Reviewed-by: 's avatarLászló Németh <nemeth@numbertext.org>
      d160bca0
    • Stephan Bergmann's avatar
      Remove unused, broken operator<< for PolyPolygon · 9dd38cac
      Stephan Bergmann yazdı
      ...which apparently wants to internally call some operator<< for Polygon
      (rPolyPoly.GetObject(i)), but which doesn't exist (and appears to not have
      existed when this operator<< for PolyPolygon was added with
      e4be770e "add std::ostream operators for Region
      and PolyPolygon"), so uses the non-explicit PolyPolygon ctor that takes a
      Polygon, and causes infinite recursion for any non-empty PolyPolygon
      
      Change-Id: I308527dcfed18763c8c3ebbce823eea9a0340e70
      Reviewed-on: https://gerrit.libreoffice.org/73388
      Tested-by: Jenkins
      Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
      9dd38cac
    • heiko tietze's avatar
      Resolves tdf#125333 - Crash with FindReplaceRememberedSearches=0 · def76a08
      heiko tietze yazdı
      Zero remembered searches crash the app when no result is found
      minimum set to 1
      
      Change-Id: Ib2b4b195d018f0f11238699458066f4d128f8997
      Reviewed-on: https://gerrit.libreoffice.org/72459
      Tested-by: Jenkins
      Reviewed-by: 's avatarHeiko Tietze <tietze.heiko@gmail.com>
      def76a08
    • Sumit Chauhan's avatar
      Rendering notebookbar*.ui file from user/share directory · 889a4fed
      Sumit Chauhan yazdı
      This patch will get the modified customized notebookbar*.ui
      files from user directory(if present) otherwise the files will be rendered
      from default shared directory.
      
      Change-Id: I9393083bc0429659039c8dd5c10541ffa6661bf7
      Reviewed-on: https://gerrit.libreoffice.org/72313
      Tested-by: Jenkins
      Reviewed-by: 's avatarSzymon Kłos <szymon.klos@collabora.com>
      889a4fed
    • Noel Grandin's avatar
      tdf#121094 Opening xlxs with many rows takes several minutes · 79927a93
      Noel Grandin yazdı
      Use a more useful expansion strategy when re-sizing the array, we use
      this 150% in a lot of other places.
      
      This takes the opening time from more than 4m (I lost patience) to under
      5s.
      
      Change-Id: I8511662947d737c26ec49503a75af8d4cf447f67
      Reviewed-on: https://gerrit.libreoffice.org/73394
      Tested-by: Jenkins
      Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      79927a93
    • Stephan Bergmann's avatar
      AppendInfoBar can return null · 22005041
      Stephan Bergmann yazdı
      e.g., when opening the old help window ("Help - LibreOffice Help" in a build
      configured with --with-help to "build the old local help" (configure.ac))
      
      Change-Id: Icecd224774b98811ddf9545c5fa83a85fab259fc
      Reviewed-on: https://gerrit.libreoffice.org/73390
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      22005041
    • Miklos Vajna's avatar
      tdf#122789 sw HTML import: fix handling of images with relative sizes · a628c01e
      Miklos Vajna yazdı
      Relative size should have priority over image size from image headers.
      
      Change-Id: I80cce79ff87c7eb359cb292526859435cb85f929
      Reviewed-on: https://gerrit.libreoffice.org/73413
      Tested-by: Jenkins
      Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
      a628c01e
    • Arkadiy Illarionov's avatar
      tdf#39593 remove IMPL_XUNOTUNNEL* macros · 32eeb405
      Arkadiy Illarionov yazdı
      Replace with UNO3_GETIMPLEMENTATION* macros.
      Replace single usage of IMPL_XUNOTUNNEL_MINIMAL with it's body.
      
      Change-Id: I7d4ad76399b999ebb2178ecf57edcf6bd2aa6c3e
      Reviewed-on: https://gerrit.libreoffice.org/73424
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      32eeb405
    • Stephan Bergmann's avatar
      Missing include · bb847b44
      Stephan Bergmann yazdı
      Change-Id: I4c733df9c5a01f911c6a99fca21a2dd70aeecf18
      Reviewed-on: https://gerrit.libreoffice.org/73407
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      bb847b44
    • Stephan Bergmann's avatar
      XSecController must be a complete type here (Windows --disable-pch) · 1ae6523a
      Stephan Bergmann yazdı
      ...when instantiating implicitly defined special member functions of
      XMLSECURITY_DLLPUBLIC XMLSignatureHelper, due to mpXSecController member
      
      Change-Id: Ifd504c1b215a8a1a86d7a9d660aa569b75e07d50
      Reviewed-on: https://gerrit.libreoffice.org/73406
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      1ae6523a
    • Stephan Bergmann's avatar
      css::beans::PropertyValue must be a complete type here (Windows --disable-pch) · c7fd5ec6
      Stephan Bergmann yazdı
      ...when instantiating implicitly defined special member functions of
      SVX_DLLPUBLIC SdrCustomShapeGeometryItem, due to aPropSeq member
      
      Change-Id: I7fc0ba1db3aa67bdd5c4d8878504a31f32b42ffd
      Reviewed-on: https://gerrit.libreoffice.org/73405
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      c7fd5ec6
    • Stephan Bergmann's avatar
      css::awt::Size must be a complete type here (Windows --disable-pch) · 3dfaee0d
      Stephan Bergmann yazdı
      ...when instantiating implicitly defined special member functions of
      SVX_DLLPUBLIC EnhancedCustomShape2d, due to seqSubViewSize member
      
      Change-Id: I7dd22ba0602461c1bbe2e1e5351e161f2e098c37
      Reviewed-on: https://gerrit.libreoffice.org/73404
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      3dfaee0d
    • Andrea Gelmini's avatar
      Fix typo · 466a98b5
      Andrea Gelmini yazdı
      Change-Id: I1a657bd08ff7a6108a20d57d5ebe9f104fcbe3fd
      Reviewed-on: https://gerrit.libreoffice.org/73420
      Tested-by: Jenkins
      Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
      466a98b5
    • Andrea Gelmini's avatar
      Fix typo · 44c21ca9
      Andrea Gelmini yazdı
      Change-Id: Ia6977b47c3011e18827e173a2f95e5caa04ba774
      Reviewed-on: https://gerrit.libreoffice.org/73418
      Tested-by: Jenkins
      Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
      44c21ca9
    • Andrea Gelmini's avatar
      Fix typo · 1dfcec6a
      Andrea Gelmini yazdı
      Change-Id: Ib72667f1360e190b15eac187b46fc563b9f65524
      Reviewed-on: https://gerrit.libreoffice.org/73419
      Tested-by: Jenkins
      Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
      1dfcec6a
    • Mark Hung's avatar
      tdf#104922 recover text grid setting properly. · c1c3a3c6
      Mark Hung yazdı
      Lines per page and chars per line can not be set before the
      max values determined, otherwise we may get incorrect result
      because of truncating to incorrect max values.
      
      Change-Id: I9829af0dcfd744f4383a5f9034270b00fdfb15b8
      Reviewed-on: https://gerrit.libreoffice.org/73280
      Tested-by: Jenkins
      Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
      c1c3a3c6
    • Jan-Marek Glogowski's avatar
      Qt5 introduce Qt5Frame::asChild() helper · d8d8cdec
      Jan-Marek Glogowski yazdı
      Just a little refactoring.
      
      Gets rid of the common used idom in the code:
        m_pTopLevel ? m_pTopLevel : m_pQWidget
      
      Change-Id: I3e96687d9d02c0b1a5537c6b6cea53e1ca3a2067
      Reviewed-on: https://gerrit.libreoffice.org/73414
      Tested-by: Jenkins
      Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
      d8d8cdec
  2. 03 Haz, 2019 11 kayıt (commit)
    • Olivier Hallot's avatar
      Update git submodules · 84771b5c
      Olivier Hallot yazdı
      * Update helpcontent2 from branch 'master'
        - fix icon size
          
          Change-Id: I9550ef8ccf4d10ad393ed615573ab9893632f371
          Reviewed-on: https://gerrit.libreoffice.org/73305
          Tested-by: Jenkins
      Reviewed-by: 's avatarOlivier Hallot <olivier.hallot@libreoffice.org>
          
      84771b5c
    • Caolán McNamara's avatar
      Resolves: tdf#125589 we are initially unsorted · e620291e
      Caolán McNamara yazdı
      so turn on sorting on first sort request
      
      Change-Id: I897f64c0695be8cca6d93e234a7d7c4718c94f78
      Reviewed-on: https://gerrit.libreoffice.org/73344
      Tested-by: Jenkins
      Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
      Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
      e620291e
    • Luboš Luňák's avatar
      LD_BIND_NOW=1 if running under callgrind · a5fa2d2d
      Luboš Luňák yazdı
      It avoids all those calls to _dl_runtime_resolve_xsave that
      in KCachegrind's call graph lead to nowhere and make navigating harder.
      
      Change-Id: Ie3843676298d92b8ed6d598ead16f4d410ba8b2b
      Reviewed-on: https://gerrit.libreoffice.org/73382
      Tested-by: Jenkins
      Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
      a5fa2d2d
    • Jan-Marek Glogowski's avatar
      KDE5 header cleanup and Q_OBJECT drop · 81307dd7
      Jan-Marek Glogowski yazdı
      Uneeded since the merge of most of the KDE5FilePicker code into
      Qt5FilePicker. KDE5SalInstance also uses no signals or slots, so
      Q_OBJECT + moc can go for them.
      
      Change-Id: If48c677106b78c759ca165563ad3c081ca5442a5
      Reviewed-on: https://gerrit.libreoffice.org/73393
      Tested-by: Jenkins
      Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
      81307dd7
    • Jan-Marek Glogowski's avatar
      Qt5 use precise timer to prevent unneeded restarts · 677db601
      Jan-Marek Glogowski yazdı
      We just have one driving timer. Not much to sync with. Gets rid
      of these annoying scheduler restart messages. The idea of coarse,
      synced timer events sounds nice to have, but LO currently can't
      handle it in a sensible sense..
      
      Change-Id: I169c2bb582aca0e03b00e24dc364ac9b19162c3b
      Reviewed-on: https://gerrit.libreoffice.org/73392
      Tested-by: Jenkins
      Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
      677db601
    • Eike Rathke's avatar
      Resolves: tdf#96711 RUB currency symbol is ₽ U+20BD RUBLE SIGN · d83e8317
      Eike Rathke yazdı
      Change-Id: Ie9781713f04076174cdbbc34bf802df45c169727
      Reviewed-on: https://gerrit.libreoffice.org/73389Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
      Tested-by: Jenkins
      d83e8317
    • Noel Grandin's avatar
      fix crash in lru_map/SalBitmap on shutdown · c27e92b2
      Noel Grandin yazdı
      When we shut down, we destroy the various caches, in the process of
      which SalBitmap calls back into it's owning cache, causing a SIGSEGV.
      
      Found while loading files from tdf#83426
      
      Change-Id: I53db1621a0fdb75a8e66582662b0e2666499192b
      Reviewed-on: https://gerrit.libreoffice.org/73387
      Tested-by: Jenkins
      Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      c27e92b2
    • Stephan Bergmann's avatar
      Avoid overflow with large row heights · d4dd0732
      Stephan Bergmann yazdı
      With -fsanitize=float-cast-overflow, opening csv/fdo54919-3.csv as obtained by
      bin/get-bugzilla-attachments-by-mimetype (i.e., the attachment at
      <https://bugs.documentfoundation.org/show_bug.cgi?id=54919#c2>) fails first with
      
      > sc/source/core/data/column2.cxx:942:75: runtime error: 73940.3 is outside the range of representable values of type 'unsigned short'
      >  #0 in ScColumn::GetOptimalHeight(sc::RowHeightContext&, int, int, unsigned short, int) at sc/source/core/data/column2.cxx:942:75 (instdir/program/../program/libsclo.so +0xc93bfaf)
      >  #1 in (anonymous namespace)::GetOptimalHeightsInColumn(sc::RowHeightContext&, ScColContainer&, int, int, ScProgress*, unsigned long) at sc/source/core/data/table1.cxx:114:20 (instdir/program/../program/libsclo.so +0xe02fd57)
      >  #2 in ScTable::SetOptimalHeight(sc::RowHeightContext&, int, int, ScProgress*, unsigned long) at sc/source/core/data/table1.cxx:466:5 (instdir/program/../program/libsclo.so +0xe02ec69)
      >  #3 in ScDocument::SetOptimalHeight(sc::RowHeightContext&, int, int, short) at sc/source/core/data/document.cxx:4267:18 (instdir/program/../program/libsclo.so +0xd18bc12)
      >  #4 in ScDocShell::AdjustRowHeight(int, int, short) at sc/source/ui/docshell/docsh5.cxx:411:32 (instdir/program/../program/libsclo.so +0x111eb5c6)
      >  #5 in ScImportExport::ExtText2Doc(SvStream&) at sc/source/ui/docshell/impex.cxx:1469:29 (instdir/program/../program/libsclo.so +0x11498773)
      >  #6 in ScImportExport::ImportStream(SvStream&, rtl::OUString const&, SotClipboardFormatId) at sc/source/ui/docshell/impex.cxx:379:13 (instdir/program/../program/libsclo.so +0x11492715)
      >  #7 in ScDocShell::ConvertFrom(SfxMedium&) at sc/source/ui/docshell/docsh.cxx:1299:35 (instdir/program/../program/libsclo.so +0x110b0cee)
      >  #8 in SfxObjectShell::DoLoad(SfxMedium*) at sfx2/source/doc/objstor.cxx:768:23 (instdir/program/libsfxlo.so +0x49d934a)
      [...]
      
      and then with
      
      > sc/source/core/data/fillinfo.cxx:216:59: runtime error: 113431 is outside the range of representable values of type 'unsigned short'
      >  #0 in (anonymous namespace)::initRowInfo(ScDocument const*, RowInfo*, unsigned long, double, int, short, int&, unsigned long&, int&) at sc/source/core/data/fillinfo.cxx:216:59 (instdir/program/../program/libsclo.so +0xdb8ebcf)
      >  #1 in ScDocument::FillInfo(ScTableInfo&, short, int, short, int, short, double, double, bool, bool, ScMarkData const*) at sc/source/core/data/fillinfo.cxx:401:5 (instdir/program/../program/libsclo.so +0xdb7896e)
      >  #2 in ScPrintFunc::DrawToDev(ScDocument*, OutputDevice*, double, tools::Rectangle const&, ScViewData*, bool) at sc/source/ui/view/printfun.cxx:544:11 (instdir/program/../program/libsclo.so +0x1309d461)
      >  #3 in ScDocShell::Draw(OutputDevice*, JobSetup const&, unsigned short) at sc/source/ui/docshell/docsh4.cxx:2036:9 (instdir/program/../program/libsclo.so +0x111aabd7)
      >  #4 in SfxObjectShell::DoDraw_Impl(OutputDevice*, Point const&, Fraction const&, Fraction const&, JobSetup const&, unsigned short) at sfx2/source/doc/objembed.cxx:229:5 (instdir/program/libsfxlo.so +0x491e953)
      >  #5 in SfxObjectShell::DoDraw(OutputDevice*, Point const&, Size const&, JobSetup const&, unsigned short) at sfx2/source/doc/objembed.cxx:176:9 (instdir/program/libsfxlo.so +0x491cbb3)
      >  #6 in SfxObjectShell::CreatePreviewMetaFile_Impl(bool) const at sfx2/source/doc/objcont.cxx:171:40 (instdir/program/libsfxlo.so +0x48ffc5a)
      >  #7 in SfxObjectShell::GetPreviewMetaFile(bool) const at sfx2/source/doc/objcont.cxx:118:12 (instdir/program/libsfxlo.so +0x48fdc15)
      >  #8 in SfxPickListImpl::AddDocumentToPickList(SfxObjectShell*) at sfx2/source/appl/sfxpicklist.cxx:135:62 (instdir/program/libsfxlo.so +0x361c3e5)
      [...]
      
      These are similar to <https://gerrit.libreoffice.org/#/c/73267/> "Avoid overflow
      when scaling column width" and <https://gerrit.libreoffice.org/#/c/73273/>
      "Avoid overflow in ScColumn::GetOptimalColWidth", respectively, for column width
      calculations, and given csv/fdo54919-3.csv has a rather tall fifth row, these
      values do not look completely implausible---which of course begs the question
      whether sal_uInt16 is an appropriate data type here.
      
      But assuming sal_uInt16 is a useful choice, just clamp the calculated heights
      accordingly.  (Using std::clamp, we can get rid of the following lines in
      initRowInfo that ensure nHeight >= 1.)
      
      Change-Id: I99f97c1dedcd8c6d2daa63f2e10011a3ce837fe4
      Reviewed-on: https://gerrit.libreoffice.org/73278
      Tested-by: Jenkins
      Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
      d4dd0732
    • Tamas Bunth's avatar
      mysqlc: Add support for mysql type INT24 · 3a4c4482
      Tamas Bunth yazdı
      Which is mapped to sal_Int32.
      
      Change-Id: Ibf12e92a20034440fa990ed0c6f1196f4ca3f40f
      Reviewed-on: https://gerrit.libreoffice.org/73217
      Tested-by: Jenkins
      Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
      3a4c4482
    • Regina Henschel's avatar
      tdf#125640 correct Beziercurve control points in doublewave shapes · d2702aea
      Regina Henschel yazdı
      To follow the way doublewave shapes are drawn in MS Office binary
      format and specified for DrawingML, it is necessary, that the paths
      for the two wave parts are equal. That was not the case.
      
      Change-Id: Ieeb3f7cf9feca7dd3263f813a074821ea84ef902
      Reviewed-on: https://gerrit.libreoffice.org/73358
      Tested-by: Jenkins
      Reviewed-by: 's avatarRegina Henschel <rb.henschel@t-online.de>
      d2702aea
    • Jan-Marek Glogowski's avatar
      Qt5 refactor and move XTransferable implementations · 2f0114b6
      Jan-Marek Glogowski yazdı
      There is already duplicate code getTransferDataFlavorsAsVector.
      Maybe getTransferData can be also merged later.
      
      Change-Id: Iaa1c16990c1f19757f04944bcd21f395f6b8f69b
      Reviewed-on: https://gerrit.libreoffice.org/73301
      Tested-by: Jenkins
      Reviewed-by: 's avatarJan-Marek Glogowski <glogow@fbihome.de>
      2f0114b6