summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-30Reduce code duplicationMike Kaganski1-199/+64
Change-Id: Ia5526e61c8dd632fbc5eae2d5c02b46b928f4fa0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97430 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-06-29Avoid crash with multiple documents open in the iOS appTor Lillqvist1-0/+6
Also add a FIXME. Just 'hoping' is not good enough. But yeah, much of this code indeeed works mostly by accident. Change-Id: Ic6bcbc10229a0b7cdd8d696794efe152fca4faea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97117 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97407 Tested-by: Jenkins
2020-06-29Small refactorMike Kaganski1-16/+8
Change-Id: I14021d3e0b83dcd4fb5544239e982c8ada32d029 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97429 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-06-29Fix check whether "msi" is among --with-package-format=... tokensStephan Bergmann1-5/+6
Change-Id: I8979a88743926141af3b3c6f9b579b4ee34f494b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97426 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-06-29tdf#74424 vcl: Flush() is implemented in OutputDevice so no need for type checkChris Sherlock1-3/+1
Change-Id: I12f177dadf9a637ab3ef2fa7d85fe96d1d141808 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96811 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' to 971425d46a52037cc1bead7c0a1054d84c10e56b - refactor some database Help files Change-Id: Ia3ad2896015c335450d0970d8cf51044473e249e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97456 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29sd: support changing position with .uno:EditAnnotationTomaž Vajngerl4-5/+83
Change-Id: Ie5c683c06079e4d77d42b242c60cf67257db5c16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97421 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29cui: fix context of aboutdialog's btnReleaseNotesMiklos Vajna1-1/+1
Change-Id: Ifab5c7b0dd007e8a318c8d89b9501f9e30cf60f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97422 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-06-29OOXML/ODF Support for Shadow blur radiusA_GAN10-4/+66
Adding export support for OOXML. Adding import/export support for ODF Changing some values in test cases as convertEMUtoHmm round the fraction. Add two test functions for OOXML and ODF export. Change-Id: Ie5d862b46b5264ead4954f407fee2837b5151cd7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96907 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29curl: upgrade to release 7.71.0Michael Stahl5-9/+10
Fixes CVE-2020-8169, and about 3 other ones that don't affect LO/libcmis. Disable new optional dependencies "ngtcp2" and "quiche". Change-Id: I595ed909c4e792ac3244643511a338b117e7f102 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97406 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-06-29Call framework::Desktop::shutdown directlyStephan Bergmann28-71/+77
...instead of via the XJob hack introduced in a6862a26d6cd17f6b4e4f6577bcd778bf952e65b "tdf#134106: Get rid of XDesktopInternal again" Change-Id: Ic533e8faba1a3da65ead74d78f0ab9c4aab1ca6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97397 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-06-29tdf#134386 set m_pTemplateProvider before creating any other pagesCaolán McNamara1-4/+5
Change-Id: Icc501b127f92cdbfbf0987af9b0b560f1efbc056 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97404 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-29make browser rows slightly tallerCaolán McNamara1-9/+1
Change-Id: I6a466bfd43bb38cafa4cea0c1e68ed788922b53f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97405 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-29tdf#39593 reduce copy/paste in BitmapScaleSuperFilterMesut Çifci1-378/+345
Change-Id: I1f6387d3ff931b0c885e0cb8ee5b99c880a1484e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94137 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29tdf#134054 toolbox: respect drop-down arrow rectJan-Marek Glogowski1-10/+8
When centering the text and icon on the button, the code didn't take the drop-down arrow rect width into account, resulting in an overlapped arrow. This is especially visible, if the drop-down is shown and the button is wrongly highlighted. There is supposed to be some vertical mode, which I couldn't find in the GUI, so this just adapts the width in horizontal mode. Change-Id: I194780dc32db610041ad0ee45a425e1026c7c4e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97358 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-29Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' to a03c8e79a278e9e17967b4978ac6667abc6d6dbc - Fix Help on borders after translator review Many thanks to Mihkel Tonnov Change-Id: Id2c97cabe779f87b6ab8ddded32e20ef276537d6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97412 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' to 59200481f126b3cd56ccd1eb231b8c1ee3a61a61 - Add empty colspan/rowspan cleaning Change-Id: Ibb73313768ad2252e27d6b85757338fabf0ea1d7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97414 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29jsdialog: weld drawing areaSzymon Kłos4-5/+83
Change-Id: I7bc75e3de99de84c59b798e4c4dad18550157e43 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96851 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97396 Tested-by: Jenkins
2020-06-29jsdialog: click action for drawing areaSzymon Kłos6-10/+39
Change-Id: I2434bec675559a97e5d251c6d6a958464b6db034 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96853 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97395 Tested-by: Jenkins
2020-06-29pdf: add text page object attribs, refactor ImpSdrPdfImport, testsTomaž Vajngerl6-56/+113
This refactors ImpSdrPdfImport to push more functions into the PDFium wrapper. The focus is on text page object attributes. Change-Id: Ie1faf5e3743eec7c77050835651533f9e227c2a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97366 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29pdf: support PDF Form object and getMatrixTomaž Vajngerl4-17/+51
Change-Id: I61f2004df7f9c9ac37959e0b50ea1ff83387c77a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97365 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29pdf: add PDFiumTextPage and PDFiumPageObject + testTomaž Vajngerl4-8/+142
Also use it in ImpSdrPdfImport. Change-Id: I6d353ef60d036c3516448e64a50b25a9befd5db8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97364 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29use PDFium wrapper in ImpSdrPdfImport (partially)Tomaž Vajngerl3-39/+20
Change-Id: If13bcaa6a256354aceb2e1998521644041c03b7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97363 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-29We don't need merge modules if we aren't building an MSITor Lillqvist1-0/+4
Change-Id: Ifc14280049bdf850f43fc20554bc703961d50f86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97392 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29tdf#134235 Chart OOXML import: fix long chart titleTünde Tóth7-8/+40
Workaround to handle long (sub)titles which resulted broken charts. See commit 96a29c12a9d8734c9d2a812f38fc6654b5df9c48 (tdf#101322 Chart OOXML Export: fix missing subtitle). Change-Id: I22bb4699bdda8dea5f31c715cc1f439085a0718f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97092 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2020-06-29tools: fix 32bit Android buildMiklos Vajna1-1/+1
tools/source/misc/json_writer.cxx:289:34: error: format specifies type 'long' but the argument has type 'sal_Int64' (aka 'long long') [-Werror,-Wformat] mPos += sprintf(mPos, "%ld", nPropVal); ~~~ ^~~~~~~~ %lld 1 error generated. Change-Id: Ieacf2f521f77292d61fa714bf584c9e2045c2e1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97367 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-06-29loplugin:unusedfieldsNoel Grandin8-54/+86
Change-Id: Ia0f517fba3a0660b64c97f426cc2cdfbbcd0ebad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97391 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-29tdf#134247 Chart OOXML import: fix order of legend entriesTünde Tóth6-16/+28
The order of legend entries was reversed in stacked column, line and area charts. Change-Id: Ia4a439aa6cee0619ad323c3fb728ff358cf28537 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96941 Tested-by: Jenkins Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2020-06-29loplugin:unusedmethodsNoel Grandin7-142/+71
Change-Id: I4cccac5b6bba55d87361b07b05220ce890e75412 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97390 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-29loplugin:constantparamNoel Grandin16-439/+450
Change-Id: I54f0e2864cb4ef00fea8f9e4369a1f76721e7503 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97369 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-06-29Update git submodulesAlain Romedenne1-0/+0
* Update helpcontent2 from branch 'master' to 5ea3a748d1a9d9126da15332df1899e6d17e4f8b - typo Change-Id: I1bcca86f97f87ae5a5240adbea7055bf669afbf6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97145 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29Update git submodulesAlain Romedenne1-0/+0
* Update helpcontent2 from branch 'master' to 75ae27d3ecbfec73b3c2c6f41a1dbaee247caf4d - Basic script improvement Change-Id: I3aa3468971d1a2c6c1e93c94254ba44b69b6238c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/97371 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-29Sort solenv/clang-format/blacklistStephan Bergmann1-8/+8
(lexicographically, by Unicode code point values; to make it easier to make further modifications) Change-Id: I867889b37d7395c510dc8cd1310454a4f4ac9982 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97362 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-06-29tdf#122225 Chart OOXML import: fix missing legend textTünde Tóth3-1/+18
resulted by inaccurate calculation of nMaxTextWidth. Change-Id: Ie41bbc30074c6bbccacbc58adda5d9f2cfdfeba8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96926 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2020-06-29sw: prefix members of CompareNodeContent, SwDDEFieldType, ...Miklos Vajna7-105/+105
... SwDropDownField and SwRangeRedline See tdf#94879 for motivation. Change-Id: Ic38825413d5725a143a2a7f81f0d464984e231e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97360 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-06-29tdf#134320: fix XInfobarProvider appendInfoBar for showCloseButtonJulien Nabet2-3/+3
There was a mix of arguments which caused misinterpretation. Like this since initial commit: 9e3ba7c3036c4d21e01d6f75ed29a1e8c4208141 author Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2019-11-18 09:08:03 +0100 committer Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> 2019-11-19 08:51:43 +0100 commit 9e3ba7c3036c4d21e01d6f75ed29a1e8c4208141 (patch) tree c648a26f2445955be14aa6e96815c14ec193dddc parent b234743dd26e0be4be272d2d2c82f90c67e192b7 (diff) tdf#97926 Add UNO API for Infobar This allows creating, updating and removing infobars from macros/extensions. It also extends the infobar with a primary and a secondary text, so there can be a bold summary at the beginning at the infobar with a longer text following in normal letters. ... Change-Id: Ic3e0b6a9da4da574eb7ca440a881fdcee1dd1132 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97349 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-06-29More WIP work for macOS on Apple SiliconTor Lillqvist2-35/+5
If cross-compiling to a DESKTOP platform, just use RepositoryModule_host.mk on the build platform, too. Change-Id: Icd3f3081e5af0c7cda95e9bce7572d37567d4f6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97356 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29Initial WIP steps for building for macOS on Apple SiliconTor Lillqvist4-41/+111
Don't use $host_os="darwin" for both macOS and iOS depending on $host_cpu. Soon macOS will run on either x86_64 or arm64. Instead, use "darwin" (or "macos") for macOS and "ios" for iOS. Some other early changes for arm64-apple-macos, too. Change-Id: Id89987d854ceba2cd87c6222db2081ccdec0c73e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96976 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-29LOKit: do not show 'Add to Dictionary' button for OnlineAndras Timar1-4/+5
Because user profiles (user dictionaries) are not persistent. Change-Id: I78261cccc068cfc1cc9fb2ddecd085ac58ff31c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97308 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-29Colibre: tdf#128689, add more Korean UIRizal Muttaqin75-13/+63
- Update Color related icons Change-Id: Ie0a8e3a9723a1aa129bde4ea7f686a528d7e5b3d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97357 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-06-28decouple IEditImplementation from Edit moreCaolán McNamara4-11/+30
Change-Id: Ie01373ca40d519c179485bd1a4b6616d5929fa5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97328 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-06-28tdf#44076: sc: Add unittestXisco Fauli1-0/+16
Change-Id: I9469b90e10fa51006a5dfb267c4129cf2b5e40dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97348 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-06-28tdf#98844: sc: Add unittestXisco Fauli2-0/+21
Change-Id: I31fc5ca3778048010e34dafd289e0cadf7ee4169 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97347 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-06-28No need for the AdditionsDialog if --disable-extensionsTor Lillqvist2-1/+9
Change-Id: If1ed6c860256e656846a1516e8170fb0dbd20499 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97346 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-06-28bin/lo-xlate-lang: norwegian -> norwegian_bokmal for nbRene Engelhard1-1/+1
Change-Id: Id01ae546e3ff00c2236aaf1102b21ba361d7a766
2020-06-28Qt5 refactor mouse event fill codeJan-Marek Glogowski2-25/+26
Adds Qt5Widget::fillSalAbstractMouseEvent to set the common Sal*MouseEvent members. While the member functions of QMouseEvent and QWheelEvent have the same name, they aren't shared via QInputEvent, so this uses a small FILL_SAME macro for less code, Change-Id: I3e5aa52b1bf2774251d97534ce0106a27ef5899b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97343 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28VCL refactor Sal*MouseEvent structuresJan-Marek Glogowski2-12/+17
Moves the common members of SalWheelMouseEvent and SalMouseEvent into a new SalAbstractMouseEvent. Change-Id: I68019a33be47b983976a38a1a5b8d15d12b4c504 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97342 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-06-28pdf: fix text annotation (note) modification dateTomaž Vajngerl1-1/+2
The modification date wasn't encolsed in brackets, which is required for the modification date. Change-Id: Icf91516436b095a8577d3ab10b2a708d10d58cb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97330 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28sd: send annotation position for LOKit, fix multiple annotationsTomaž Vajngerl2-2/+17
This adds support to send annotation position in the document when sending the available annotations using LOKit. It also fixes an issue with the json structure for the annotations, which sends multiple annotation objects with the same (empty) key, that after parsing reduces to only one (so only one of the many annotations is present). This fix changes that so annotation objects have each its own unique key. Change-Id: I9d994383d6ee322f27f1426be5bd96ac81e8e609 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97329 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-28tdf#128964 fix shifting of icons when the pause/resume button changesSrijan Bhatia1-4/+21
Added a property that specifies width of the button in the presenter toolbar. Change-Id: I556ec0363064b36ef9fe80f2d947849cee356a1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97151 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>