summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-31tdf#143793 preemptive unit test for USE_FORMER_TEXT_WRAPPINGJustin Luth
Ensure that any efforts to sort out the back-and-forth issue of honouring wrapping in headers, footnotes, etc won't break old documents without even a whimper. Change-Id: Ic12595a8e25aff176e89adfaba51991d38db516c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121377 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-08-31Update git submodulesMing Hua
* Update helpcontent2 from branch 'master' to 3e595e008e1c3232dd9e3ff49a28f238413e2537 - Database queries: fix broken links Change-Id: Ibe089725e393bfd290963e2abaf31da6d3ab0b85 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121163 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to ac52503447d65fc400597c2c21ecef623df18b93 - tdf#132643 Translate German section IDs Change-Id: I892369ba6b5ac07ae41482fe13f9afe5429c344a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121196 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 7455704da23c1098baf52273e3e765a9bbf4c855 - tdf#132643 Translate German section IDs Change-Id: Ibbbfc3ab223813d7969479b4bbb93c3babe6bb30 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121195 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to dcf8240fc1b6d2e5e51b19f37bdc273f5d78eea1 - tdf#132643 Translate German section IDs Change-Id: I76cd1df3e39174473e879d1f5a8d75197378223a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121203 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 2b7042594a35baf6199beba8a8bc01b3a499352d - tdf#132643 Translate German section IDs Change-Id: I6f32f77b35033091e2a5b5a1d41a5897dd28d9b4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121202 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to f328a800e34ac8c97a0ec4988cb1c643326ca692 - tdf#132643 Translate German section IDs Change-Id: I9c70666cb5e40718b3bc900065c3d5e865788f52 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121201 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to d49eff7831f45d0009386fcc5482110178ab207e - tdf#132643 Translate German section IDs Change-Id: Ia6a561687ebb55b01b3207b1b3091056046b0af9 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121200 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 4b65390391b89f82aeeec75bb13e0717c6fd15ce - tdf#132643 Translate German section IDs Change-Id: I570647236735f9e854a9e3c44af04bd943109e6a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121199 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 1e6bae00ac5539f23f6eead9a3299fc95ec827e7 - tdf#132643 Translate German section IDs Change-Id: Ib2f36827f9081afd41259c74a4e3c5183a83cede Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121198 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to 48110c1a6d0a695283900ce38532f6a45807111d - tdf#132643 Translate German section IDs Change-Id: I803cbd94433b0002ded6c622164e4d57e3b405d7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121197 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to e010ffb9bebba9d0ba5649650318fb9b6aca3438 - tdf#132643 Translate German section IDs Change-Id: Ib7fb870050c9b7f3ac4cbb27c4c00213fb0e8ded Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121194 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-08-31clang-tidy:readability-redundant-member-initNoel Grandin
Change-Id: Icaef0cca9ca7bce76a7eb7ecd54c492f9ffcaad6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121376 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31flatten SfxObjectShellArr_ImplNoel Grandin
Change-Id: I97e3ea18ce17c63ae95d7755a32c602b88373370 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121337 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31CSV: use target doc's formatter to determine and set forced textEike Rathke
If text is to be forced check if the string is a number in the target doc's locale which then needs to be forced to text format, not in the input parsing locale. Also set the text format of the document's default locale, not the input locale's text format (which may or may not match the document locale). Question remains if this isn't duplicated work anyway because setting text at cells forces text format if necessary if ScSetStringParam is setup correctly. To be investigated if all paths taken actually do that. Change-Id: I3db3907cfe81156ccd1b0b523372dd97ee8598a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121366 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I9c7eae9b8744b946a00b6285f4f0ed83d63f4834 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121333 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31vcl: move RemoveTransparenciesFromMetaFile() to outdev/transparent.cxxChris Sherlock
Don't know why an OutputDevice function was used in print2.cxx, but definitely needs to be in the outdev source directory, and transparent.cxx is the most appropriate place to add this. To be honest, that function only operates on metafiles, so perhaps we should make this part of GDIMetafile, so added a TODO. Also, a number of local header files (all to do with PDFs) needed to become module local headers, so I have moved these to the vcl/inc/pdf directory. Change-Id: I1feb8e5e8aedc7399740a035beacd2dad3de317f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121321 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-08-31lokinteractionhandler: Use json_writer for JSon types.Gökay ŞATIR
This patch is for making more use of new json_writer class. Change-Id: Ic8dd6694887635a363a74d2cf5bd1e3e2987463d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121364 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31tdf#142645 PPTX import: convert "ctrTitle" text to slide nameTibor Nagy
(i.e. centered title) similar to <p:ph type="title"/>. See commit 7eb0e52527e729a21973e70d5be8e0a6779ec748 "tdf#142648 PPTX: import long slide names to avoid broken link export", commit 253bee65bc24d999c3629a4d503d0fa01b355cfc "tdf#142646 PPTX import: count repeating slide names" etc. Change-Id: I5f25f04f23981ce2ff64dc792fe8464682d749a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121295 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: Iaeae1efd2da2add9729bab38137c8ff1fb9818db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121362 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
no idea why its like this in the first place, but I'm not going to change it decades later, just zero out the uninit bytes Change-Id: Ie5d875523999d465dc167ac4fedcb99d3825ae99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121363 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31clang-tidy:readability-redundant-member-initNoel Grandin
Change-Id: I95918275653714577e2d6728dd3947c7fbb66d8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121360 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31flatten SfxViewShellArr_ImplNoel Grandin
Change-Id: I781f877b0c94fdd667b4fd00342e68b35b127867 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121336 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31clang-tidy:readability-redundant-member-initNoel Grandin
Change-Id: I5e8baec88d5f17ddda452bd945c87769623cb4e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121357 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31tdf#135683 speed up writer layout cache accessNoel Grandin
can be hot, so use a std::unordered_map Change-Id: I70e34e80cad67536414c71facbe0222dd88c65a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121208 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31tdf#142881 XLSX import: fix shapes rotated exactly 45°,Daniel Arato (NISZ)
135°, 225° and 315° by correcting their cell anchor points, like MSO does. Previously the XLSX export with the bad anchor points messed up the rotation of the shapes, resulting also broken text content in LO and MSO. Thanks to Regina Henschel for analyzing the problem. Co-authored-by: Szabolcs Tóth <toth.szabolcs@nisz.hu> Change-Id: Ica625545a22a74ed027ac0fa2bbf38804611c172 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121307 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I63ce4b9a49988736fd6d602a49dd54495863faec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121353 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
check for short reads Change-Id: I1fb142e08f5664ca73dc62f6c5a5ecfd2ee1e875 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121352 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: Id877653f5c120f690fc3f597979de88926ec6ab0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121354 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I7d0363f67ac6f4b9bece2fb0f942a476ea203d94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121305 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31reduce code duplicationLuboš Luňák
Change-Id: I31ee84be7ebee7f1644d7fd43bbc951abd2842d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121328 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I9867737be62871aaa80a9ce0b51318afa62e8a67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121334 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31vcl: cleanup OutputDevice::Push()Chris Sherlock
Change-Id: I705fdf35b96ab598c2ddb4e34d0a2b7d0bdd9ab4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121013 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-08-31Fix UNOIDL identifiers that started with lowercase and contained underlinesStephan Bergmann
...which are reserved in UNOIDL (though unoidl-write does not enforce that for now, see the TODO in unoidl/source/sourceprovider-scanner.l, and idlc only warned about it with an explicit -cid option) Change-Id: I529f385e9c263d2dab9baf3b99f0208457da04c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121346 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-08-31fix Skia flushing to screen on Windows (tdf#144145)Luboš Luňák
Should have been part of eb37b1e346f5651ce8e6848e51103a8986a57c36. Change-Id: I25c5524fcea90ccc30d880451034d0fa1716b6f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121327 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-08-31Skia's kDifference now seems to cause crashes also on AMD/WindowsLuboš Luňák
Change-Id: Ia60605407ba9f890db308301711f2d54bca92d56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121326 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-08-31make Skia the default now on Mac tooLuboš Luňák
As per the ESC decision from the last week. Change-Id: I8f2fc4c7f33d4c044ac9e20df6f93eb755507efc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121292 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-08-31test at least creating Metal context when initializing SkiaLuboš Luňák
Change-Id: Ic00236e7876039c3f5c0c1e719e829b844d1d2e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121271 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I3be8bae46978b8641abf82acd9620c770a076a33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121320 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I5a5fe3221301532a1eac3efe8779ac62e3be82be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121332 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I97b5552b9bfbde61ac35ad7a2a7e6dbc8bdea429 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121331 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I3244f5c83a02f41ec379188b1fedbdd9e511967c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121318 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31reversed conditionCaolán McNamara
Change-Id: I5d4440ed16fe6acc21923209f94067ce7df03564 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121323 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-08-31tdf#126126 ODT import: improve import of cross-table commented text rangeMiklos Vajna
Regression from commit d4b473dd9ba77427b28d97847067b8877c2033d9 (office:annotation-end import, 2012-07-20), the problem was that XMLAnnotationImportContext::EndElement() assumed that we can always call gotoRange() to go from the annotation start and end points, but this is not true: an annotation may start inside a table and end outside a table, which is not a valid selection, so gotoRange() fails. Fix the regression part by just creating a text range for the anchor of the comment, so the comment is attached to the end of the range, and this way the rest of the comment & the document can be at least opened. [ It seems bookmarks behave similarly: they don't block the whole import, but don't work cross table boundaries, either. ] Change-Id: I1b5a2e2e7501ce3054379fc79d2045c3439c52e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121322 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-08-31Elide class makeOIdPartStephan Bergmann
...which is no longer needed since 00f257a7ef4f1ec52887bc379c14757e057e94c8 "rtl::Static -> thread-safe static local" Change-Id: Ie78154c5d8b6ad8278405d1ce56c76997e0478d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121347 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-08-31flatten SfxViewFrameArr_ImplNoel Grandin
Change-Id: I1d9b0e117a08ddafe56546a58e536b76529966fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121335 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31flatten SfxTbxCtrlFactArr_ImplNoel Grandin
Change-Id: I422aeeb446a49fa4449eabe0c3643f125856db12 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121330 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31flatten SfxStbCtrlFactArr_ImplNoel Grandin
Change-Id: I1d92a41f0f1a2610930e48b5eeaa689ac47ab7fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121329 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31flatten SfxChildWinFactArr_ImpNoel Grandin
it's just a vector with no additional intelligence Change-Id: I91d014783e79130689b4f6eadb3ef6d8486227e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121324 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-08-31Adapt to cppu-/javamaker's idiosyncratic relative URL notationStephan Bergmann
...which considers an argument containing SEPARATOR characters only as a relative URL (which it then makes absolute relative to osl_getProcessWorkingDir) if it starts with a dot (see convertToFileUrl in codemaker/source/codemaker/global.cxx). (Which isn't an issue for now, as convertToFileUrl leaves the relative path unchanged, which is passed to the unoidl::detail::LegacyProvider ctor in unoidl/source/legacyprovider.cxx and on to store::FileHandle::initialize in store/source/lockbyte.cxx, which makes a relative pFilename absolute relative to osl_getProcessWorkingDir. But it would become an issue when the given type RDBs are changed to the new UNOIDL binary format, as the unoidl::detail::UnoidlProvider ctor in unoidl/source/unoidlprovider.hxx expects an absolute file URL.) Change-Id: If9f66f3e9c20a8416d25989099e6c921520e6a94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121312 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>