summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-01-13Update git submodulesRafael Lima1-0/+0
* Update helpcontent2 from branch 'master' to 28d35d3226eeca83ec15a1fc648a7cdd19ff9a0f - Enable translation for strings Change-Id: I9092595635af48a92c1c3df35effb58a41924aac Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128336 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-12Fix typosAndrea Gelmini1-2/+2
Change-Id: I38ca4904f28a67236b546ff267ab17ba4bfe42fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128352 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-12ofz: Direct-leakCaolán McNamara4-147/+143
Change-Id: Iedef8c99f0650750f5cfd808ac36421cc0d5c281 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128316 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-12tdf#145538 - Use range based for loopsdtm3-10/+7
Change-Id: Ib16c742b39af62694ef591dcdaa975b9a720b4a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127203 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-01-12Update git submodulesChristian Lohmaier1-0/+0
* Update translations from branch 'master' to 87e0eb58bfcb1cdfe04f26833376827a09c1e241 - update translations for 7.3.0 rc2 and force-fix errors using pocheck Change-Id: I372f976206656723929dfd06c958afd839805a2c
2022-01-12ofz#43551 Use-of-uninitialized-valueCaolán McNamara1-0/+2
Change-Id: I2eb139f3bff296cff7d8f0e9a05f19df56b27ecd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128313 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-12Fix typosAndrea Gelmini2-2/+2
Change-Id: I47fc636e0b69b72fb6ca247f9e0cbabbddb3985e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128321 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-12Update git submodulesAndrea Gelmini1-0/+0
* Update helpcontent2 from branch 'master' to 38eda1bc74077cba48617976f48765d10da43c34 - Fix typo in a color name Change-Id: I66c777c3b9a6ae88422d71aab781ab20879d72fe Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128320 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-01-12tdf#146454 - Check for multiline string in setDataArrayAndreas Heinisch1-2/+14
Check for a multiline string in the setDataArray function. If that is the case, set a string or edit cell. Otherwise, just set a plain string in order to prevent performance issues due to the adjustments of the row height. Regression from b9e2c5d2a36fbd189c20448cadf4212edf02914d Change-Id: I9216b198b878fda5da29596d25504db853acd756 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127660 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-01-12use std::optional::operator* rather than value()Luboš Luňák1-2/+2
Apparently the latter doesn't work on some MacOS versions despite it being C++17 too (see comments at https://gerrit.libreoffice.org/c/core/+/128308) Change-Id: I5adb95720cabecd1837d17ed1543ff656734410d
2022-01-12block amd drivers that crash with Skia's kDifference (tdf#146402)Luboš Luňák1-1/+1
This is a follow-up to 4a11c85baeb4998e12bc2ab45b0c23, after all it was a driver problem. But the time 7.4 is out the newer one working will be hopefully in sufficient use. Change-Id: I682a56ec6e5b6dfe4c85930346177fc5c13569c9
2022-01-12keep positions as DeviceCoordinate within SalLayoutCaolán McNamara17-83/+88
Change-Id: I20bbb0e252ffd09901f587599430e715dbe977b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128300 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-12used cache value in ViewObjectContact::getPrimitive2DSequence (2nd attempt)Noel Grandin6-6/+40
Rely on the cached primitives in VOC. But only enable it for calc and draw right now, by adding a flag at the SdrModel level. This way we can leave it disabled for writer, where it definitely doesn't work. Change-Id: I11ca4836eb773c0f078cdb82056c6e0309d15a8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128319 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-12tdf#144270 sw: manage tracked table (row) deletion/insertionLászló Németh4-15/+242
in Manage Changes dialog window, where deleted/inserted tables and table rows were shown as multiple cell changes, as a regression. Now a single table deletion/insertion or deleted/inserted consecutive table rows are shown with a single tree item in the dialog window instead of showing multiple cell changes. Add new Action icons to the tracked table row insertion/deletion tree items (re-using table row deletion/insertion icons). Show cell changes as children of the single parent item tracked table row change. Accept/Reject and Accept/Reject All support 1-click acceptance or rejection of table (row) changes, instead of clicking on all cell changes of a single table (row) deletion/insertion. Regression from commit c4cf85766453982f1aa94a7f2cb22af19ed100be "sw: fix crash due to redlines on tables on ooo121112-2.docx". Change-Id: Id03a8075cc6849b70a8d32e1a955b79e7d3a3246 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128314 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2022-01-12We do want scripting on iOS, tooTor Lillqvist1-1/+0
The native-code.py script unconditionally generates references to that now. Change-Id: Ib0ca1e994af15597f8a191ccdd32d95efca063da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115796 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118897 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128317 Tested-by: Tor Lillqvist <tml@collabora.com>
2022-01-12don't bother trying to draw stuff which is effectively invisibleNoel Grandin1-0/+6
speeds up rendering of complex drawings with fine lines Change-Id: I62924c5ddb6293f993eef9ca200a43cba753d53e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128312 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-12remove unused codeNoel Grandin8-662/+0
Change-Id: Ieb5100dab1ed8af23e765926a8a1f33d75132406 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128311 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-12Bump Glade version to 3.38Heiko Tietze1-86/+62
Change-Id: Icddb8f9ee67d929a4fcacde72263439976ff2f4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128315 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-01-12reduce explicit Skia flushingLuboš Luňák3-24/+8
The docs say that Skia handles this itself, and with Vulkan excessive flushing may show up in profiling in some cases, as it's apparently a non-trivial operation in GPU mode. Remove even the two workarounds, I cannot reproduce the problems anymore, so let's assume it's been fixed in Skia. But still keep the flushing after a certain number of operations, as too many pending operations still may overload Skia (or Vulkan?), besides tdf#136369 I can also reproduce it while loading bsc#1183308 which does a large number of tiny VirtualDevice's and does GetBitmap() on them. Also change the counter to be global, as we use just one Skia drawing context. Change-Id: I48b96c2a59f8e1eeef3da154dbe373a37857c4be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128293 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-01-12do not force pixel reading in VclCanvasBitmap ctorLuboš Luňák2-47/+81
BitmapReadAccess is not need by most calls in the class, and creating it already in ctor forces reading of all pixels, which is expensive e.g. when fetching them from the GPU. Change-Id: Ie5da67d1c41ad798928646077b5b4c33147d0ea9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128308 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-01-12cid#1497092 Result is not floating-pointCaolán McNamara1-1/+1
Change-Id: I3ee4a3fa13db8958970206059dbd99d841d3c706 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128294 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-12gbuild: build static LO / link static executablesJan-Marek Glogowski26-63/+517
This allows to build a complete static LibreOffice on Linux, except for linked externals. Since LO's static build implies disabled dynamic loading, one must select one VCL backend to be compiled in. See the (large) comment in solenv/gbuild/static.mk trying to explain, why this implementation was chosen (spoiler: seems there is no other way) and what is actually implemented. This will collect all libraries, statics and externals of executables. If the executable uses components, it will get linked to all static components. While it works with any Executable, it just makes sense for soffice.bin, because the static component map sucks every dependency in, bloating most other binaries. In theory on could generate the dependencies based on the list of used components (see gb_CppunitTest_use_components), then generate a specific static constructor map, directly include it in the exe's cxx code and then link the minimal dependencies. The static LO should build on Linux with: --enable-customtarget-components --disable-dynamic-loading Tested VCL plugin config is: --disable-gtk3 --disable-gen --enable-qt5 The partial build support is split into a 2nd patch. Change-Id: Iafc95752fae9e88095f54a21f1e30a4f080815e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126790 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-01-12CppunitTest_svx_unit: simplify code (part 2)Xisco Fauli1-73/+40
Change-Id: Ic98a25f495630517827c1e9f9827e1c45e1401ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128304 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-01-12make it easier to adjust the value of a basegfx Tuple2DCaolán McNamara1-0/+6
Change-Id: I849e945db651c5064b4ca0c1d15e9fa0066eeea8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128299 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-12-Werror,-Wunused-parameterStephan Bergmann2-4/+3
...since fcf4a26275d7503835f9aa23cb94938809840300 "tdf#146306 wina11y: Retrieve accessible desc on demand" Change-Id: I8acdca5fac481ca7b970fb9c3660470c5febdf99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128307 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-01-12Bump minimum macOS to 10.13Ilmari Lauhakangas2-11/+5
Change-Id: If495606bb1b0c82abba8fa93277cf3d445e0136a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128291 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-01-12Remove break; after returnAndrea Gelmini1-1/+0
Change-Id: Ieafdbe14a3e51bc5d804e3cfe3c6f5757bef3ff0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128216 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-12CppunitTest_sw_odfexport: rework to avoid preTest()Miklos Vajna1-40/+31
See commit a226cec52e536c46e03f57a5f1f7931abbeb0cdd (CppunitTest_sw_rtfimport: convert one testcase to use CPPUNIT_TEST_FIXTURE(), 2019-11-05) for motivation. Change-Id: Ie7187c7a843a191475688a4a6390514199c6a1c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128298 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-01-12Fix typosAndrea Gelmini4-4/+4
Change-Id: Ib132f2582fce1fb62755926d3f55987ea474ec74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128297 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-12Removed duplicated includesAndrea Gelmini1-2/+0
Change-Id: I3329e75577b92348f830524a4ea116d073efabc6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128296 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-12Update git submodulesAndrea Gelmini1-0/+0
* Update helpcontent2 from branch 'master' to abe9969968c47e5ff4b85468fa8ef32377b4e086 - Fix typo Thanks a lot to Valter Mura: https://listarchives.libreoffice.org/global/l10n/2022/msg00005.html Change-Id: I3416cd3e0da0426aa4ea074e8b9c8268dfd2b627 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128302 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-12sc: fix cond. format icon size, when we work with pixelsTomaž Vajngerl1-7/+18
This is the case when the device is bWorksInPixels is true, which is the case when running LOKit. Change-Id: Ibfced11bf614604521240908f4821fb9abfbf362 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128200 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-01-12tdf#142564 Localize extension category namesGabor Kelemen2-2/+28
Change-Id: I57ca7cb194bd325f621841edc24e3af9ef7c3b3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128305 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-01-12tdf#146703 Fix URL encoding when querying extensionsGabor Kelemen1-1/+3
so that extension information files are properly downloaded such as: https://extensions.libreoffice.org/api/v0/Color Palette.json Change-Id: Ifb2688b1f09d91277b7d5fe065b0d0f8533310b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128306 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-01-12Update git submodulesRafael Lima1-0/+0
* Update helpcontent2 from branch 'master' to d29732c1b544fa75cb12a30c8feff3109dddc1f8 - tdf#138418 Document color command in Math Change-Id: I0220cfbb50af4167155578f778c7845476db9120 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128240 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-11Mysql/MariaDB: add column(s) + table(s) (almost) skeleton partJulien Nabet8-0/+666
Change-Id: I9447d7220faeb7a8147e649f0cca57ae15d3e9aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128301 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-11cid#1497094 silence Uninitialized scalar fieldCaolán McNamara1-1/+1
and cid#1497093 Uninitialized scalar field Change-Id: Ie6a7f5032a6a3eda8480c1f3a3a0d0f2e831a53a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128295 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-11Mysql/MariaDB: add catalog+indexes+keys+user(s) skeleton partJulien Nabet11-6/+475
+ sort objects in Library_mysqlc.mk Change-Id: Ide8ea46424b034c109670ee5514b0afebfa376aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128176 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-11make VCL_FLOAT_DEVICE_PIXEL compileCaolán McNamara2-10/+10
Change-Id: I0673b77a24085a8f06471d67c4cfdec43047c226 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128290 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-11replace XTransformation with more efficient classNoel Grandin8-82/+152
this UNO interface is not being used an a real UNO API, so replace it with something that doesn't pass around 3 doubles in a Sequence Change-Id: I39d8ae03a3e861daba87f46686c0f93815bb1805 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128292 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-11Update git submodulesStanislav Horacek1-0/+0
* Update helpcontent2 from branch 'master' to 8e0e8633018698b124deb530169ddc73f00cc1b6 - corrections to ScriptForge Dictionary page * Item returns Empty if key does not exist, no error is raised * replaced LibreOffice by %PRODUCTNAME * use the same capitalization of PropertyValue as in other places Change-Id: I45f9cfa873e0931a9bdf35d54a63b7591721e221 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128190 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-01-11sw: fix swapped inner vs outer border for Word-style left table bordersMiklos Vajna3-0/+55
The minimal DOCX bugdoc has a single cell, the left border style is thinThickMediumGap, the right border style is thickThinMediumGap, which means the doc model already has the left/right mirroring, don't have to do it at layout time. The normal Writer way is to have a single border style and mirror the right/bottom border line. But then looking at the Writer vs Word output, inner vs outer is swapped, so at the end we have to mirror the left border line for Word-style table borders to get compatible output. Change-Id: I10fb95dfac67e466188cfc9ecf35efde806c14b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128289 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-01-11build a IDWriteFontCollection1 of our FR_PRIVATE fontsCaolán McNamara2-6/+68
so we don't need to fallback to gdi in skia for those we build it incrementally as GetFontFromFontFace fails in the system font set Change-Id: I2ac6d151657b9b720eed46dd7bcee0e9682e462a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127877 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-11use vectors to build up point data, instead of SequenceNoel Grandin22-202/+1052
which shaves 1% off the load time of a large chart Change-Id: Ieb8f029f760f41c3bef63bbc4cd221c1473f0f49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128283 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-11do not call broadcast SetStyleSheet from a non-broadcast oneLuboš Luňák35-52/+93
In the document from bsc#1183308, which contains a large number of custom shapes, I get a noticeable time spent in the callchain EnhancedCustomShapeEngine::render() -> SdrObject::NbcSetStyleSheet() -> sdr::properties::GroupProperties::SetStyleSheet() -> SdrObject::SetStyleSheet(), which means that a non-broadcast call ends up in a broadcast one, and the time is spent in SvxShape::Notify(). And it even seems that nobody actually cares about the broadcasts, possibly because the SfxStyleSheet* value is actually the same. I originally tried to make SdrObject::SetStyleSheet() return if the SfxStyleSheet* is the same, but that fails the test from 717dc8e3575a18e1e. I don't quite understand the reasoning for that, but solve it then by changing the code to call the Nbc variant if that's enough. Change-Id: I096a6799a0dc51c31ec3b0ba070c7f99ec96ac5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128048 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-01-11skip unnecessary in DateScaling::doScalingNoel Grandin1-28/+27
when the timeunit is DAY, we don't need to do the AddDays thing Change-Id: Ie06c50dbb8b315e604f19e341bcdd88c75481a90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128282 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-11OReadStatusBarDocumentHandler doesnt need SolarMutexNoel Grandin1-12/+0
it is only ever used from a single thread. This was there since the beginning. Change-Id: Ib001db94c7a5b2520d9a6435e21c27dca60d1dd0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128271 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-11Update git submodulesStanislav Horacek1-0/+0
* Update helpcontent2 from branch 'master' to 2a6cfde785b43b77c2accfa133e6aeac3fc22cf1 - mark source code line as not localizable Change-Id: Ia8481b52854f72a2af0b68eb7f644d77038b8d05 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128145 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-01-11OWriteToolBoxDocumentHandler doesnt need SolarMutexNoel Grandin1-12/+0
it is only ever used from a single thread. This was there since the beginning. Change-Id: I580cf86457b2983cd7729bce32cbc0ccca601005 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128270 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-11OWriteImagesDocumentHandler doesnt need SolarMutexNoel Grandin1-2/+0
it is only ever used from a single thread. This was there since the beginning. Change-Id: If6c2929677ea1231cbf3326974451c3c6d51486f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128269 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>