summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-01check-missing-unittests: add changes in svl/source/numbers/Xisco Fauli
Change-Id: Iabbde5976380c9e39590ad25ed4359f21290485b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116494 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-06-01Better keep these $(BUILDDIR)/config.* lines sorted lexicographicallyStephan Bergmann
...after 16b48021e12641fbba4320f70e06ae0462f1995f "Fix cross-compilation 'make distclean'" Change-Id: I544f43adf5603cfd6f704429abad7055e7061058 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116510 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-06-01Adapt to hamcrest-2.2-3.fc35.noarch.rpmStephan Bergmann
Change-Id: Ibddfc30a5f0828ab77235ec1155f1c2e1eef24ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116506 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-06-01no need to allocate these on the heapNoel Grandin
Change-Id: I912b1aafcc615efb87455fa9ba02caf7bef044cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116480 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-06-01tdf#142325 RTF import: tolerate invalid hex markup like "\'3?"Miklos Vajna
The RTF spec says \'hh is the expected form, where both "h" are 0-9, a-f or A-F. But Word accepts the bugdoc, so don't reject this input, handle \'<number><junk> as \'0<number>. At least the current case ignores the actual value, as it's a single character to provide a non-unicode value after \uN for old readers that don't support Unicode. Change-Id: Ib61247ab08278ca5012cc887cee26c7571c29fc6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116499 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-06-01Fix typoAndrea Gelmini
Change-Id: Ibf234bc3dbbd448cef2d4537289eddf713dbdba9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116508 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-06-01tdf#142243 actually call toLower not tuUpper when calling toLowerTomaž Vajngerl
But it doesn't have an effect as both uppercase or lowercase work as long as it is used consistently. Change-Id: I898cdc7946732f1a504d902f38ae84565c95a0c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116430 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-05-31Update git submodulesStanislav Horacek
* Update dictionaries from branch 'master' to 19a842695c9bca652718e6ea3808a8f995164ef4 - Czech Hunspell: sort words in .dic file Change-Id: I1e3fef34b64bd358d16880795acab6d9b71ad7dc Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/116276 Tested-by: Stanislav Horáček <stanislav.horacek@gmail.com> Reviewed-by: Stanislav Horáček <stanislav.horacek@gmail.com>
2021-05-31Update git submodulesStanislav Horacek
* Update dictionaries from branch 'master' to 48a66dd55f3e76556f73779ab121feefcd07d3fe - Czech Hunspell: use UTF8 encoding Change-Id: I97e274fe4611cf1a2669e6c73950faed8f1f5bfd Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/116275 Tested-by: Stanislav Horáček <stanislav.horacek@gmail.com> Reviewed-by: Stanislav Horáček <stanislav.horacek@gmail.com>
2021-05-31Update git submodulesStanislav Horacek
* Update dictionaries from branch 'master' to e7a4c67cdc491548388b43175741ee6e933fdde3 - restore more advanced Czech Hunspell dictionary which used to be in LibreOffice till commit b31244205066114f5721beef118be7f9e518cd22 Change-Id: Idd856ff4caedb1d8e7b4f0c42231014bd956da7f Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/116274 Tested-by: Stanislav Horáček <stanislav.horacek@gmail.com> Reviewed-by: Stanislav Horáček <stanislav.horacek@gmail.com>
2021-05-31fix leak in SwFieldDlgNoel Grandin
Change-Id: Iedca9c7bab2973740bb8428b1cbf9cd852ebf69a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116482 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31flatten vectorNoel Grandin
Change-Id: I7459bcc499d6734328b5be63a4bebd2102d52e0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116481 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31no need to allocate these separatelyNoel Grandin
Change-Id: I9464fbcc1af966755cc4eb8fe0beead4638848ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116479 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31no need to allocate these on the heapNoel Grandin
Change-Id: I05c00d0a4f077594d91b05698a1c04922f06a1cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116478 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31gtk4: reenable Box reorder_childCaolán McNamara
Change-Id: I5705941e1459a7d2045223eefcfe0a9a09b3648f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116493 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31gtk4: reenable event dialog that now works againCaolán McNamara
Change-Id: Id0060447bc3931fbb77b9db2fee0f35c69f2bf30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116489 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31GtkLabel:track-visited-links was removedCaolán McNamara
but we have some uses of it, which all look accidental Change-Id: Iccb12d904e8dc7410205735e49526b73bb81083e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116488 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31gtk4: we definitely want large icons where we were using GTK_ICON_SIZE_DIALOGCaolán McNamara
e.g. in the hyperlink dialog Change-Id: Iecc6f3accde0ed56352dacdf423520565b6419c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116485 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31no need for always-show-image if there is just an image and no textCaolán McNamara
and reenable hyperlink dialog for gtk4 Change-Id: Id7e487dd64e102af80bb90279682a0636b887f85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116484 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31gtk4: gdk_clipboard_is_local can replace our hack for thatCaolán McNamara
and detach_clipboard for our purposes is equivalent to the old ClipboardClear case. Listen to "changed" for the owner change replacement instead of notify::formats Change-Id: If87f87800fd4449ce33eccb8ab819bc20e1c49be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116483 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31fix leak in redaction dialogNoel Grandin
Change-Id: I1e918259757021a7c702196be73468d91b244e61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116451 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31flatten SfxDocTplService_Impl a littleNoel Grandin
Change-Id: Id3344141e4b65855717d4d480ab1a3a498fa2a1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116476 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31fix leak in JunitTest_sc_unoapi_2Noel Grandin
Change-Id: I97d4be24c06dcb6c069380de357dcebe86dd176f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116450 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31sw XHTML / reqif export: export PNG images directly, without an OLE wrapperMiklos Vajna
Do this by default and add a ExportImagesAsOLE=true option for those who want the old behavior. Adapt existing tests to ask for the old behavior and add a new one that depends on the new default. Change-Id: If863215ce267d6accc85b5c8f7bdbd3f2b1e9187 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116486 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-05-31no need to allocate EditNodeIdx separatelyNoel Grandin
it is just two pointers Change-Id: I80a9206b9f94fb4a4401352b93fcd727f787f52d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116474 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31EditPosition does not need to be allocated separatelyNoel Grandin
it's just two pointers big Change-Id: Ie2d71f4530fa92a3d125446a6c45035e88617b97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116473 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31no need to allocate these on the heapNoel Grandin
Change-Id: I189f04c14a7ab7fbc1feba423efda88f3f811efc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116472 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31Update git submodulesKevin Suo
* Update helpcontent2 from branch 'master' to e36e33937f9cda7fde9ab56f9eb25f6f549700c7 - tdf#142531: fix help css for Simplified Chinese display on Linux The font "system-ui" may cause trouble in some system, although it may look good in several systems. See e.g. https://infinnie.github.io/blog/2017/systemui.html. This change removes the "system-ui" font from the list, still put "Segoe UI" before any others, but moves "sans-serif" forward so that it falls back to the UI font in most linux distros. Tested on Win10 and this does not impact the display for English or Chinese, but really improves a lot on Linux (Fedora 32 for me). Change-Id: I1cba731cb846d1dc8c708b12510167c48de539e5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116487 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-05-31Enable -bigobj on MSVCMike Kaganski
This fixes this error: C:\lo\src\core\sc\qa\unit\ucalc_copypaste.cxx : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj According to [1], it is enabled by default in all UWP projects, which presumably means there's no harm in enabling it (other than some compiling overhead, which impact is unclear at the moment). Enabling it unconditionally, it would not create a mismatch like in 7788e87ce25183c1d6f92a3b972b8dd8c88e58e3. [1] https://docs.microsoft.com/en-us/cpp/build/reference/bigobj-increase-number-of-sections-in-dot-obj-file Change-Id: Id176add21fec2a6084149e9ff23bdafb10b3d579 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116454 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-05-31Update git submodulesKevin Suo
* Update helpcontent2 from branch 'master' to 226a545d33667a0c9526593a5182ac0a849933e2 - tdf#142417: Improve convertfilters.py and add API Names column This commit involves two parts: 1. Improved the convertfilters.py helper script to make sure the generated convertfilters.xhp file is complete, accurate and containing no duplicated entries, and also add codes to also generate API Names column, as discussed in tdf#142417. Importantly, the code is modified to generate fixed IDs, rather than the previously random IDs or sequential IDs which may make the PO translation strings to show fuzzy when the file is re-generated. 2. This helper script is run and the convertfilters.xhp is updated. 3. The default css is modified to better display the page. There is no need to set overflow=auto for the DisplayArea, otherwise the scrollbar goes to the bottom of that area which is not visible. Also added a css class to display smaller fonts for the table. Change-Id: I8a5c73c9d6a0c0b44fc7db6cb67b140bfeb8b4be Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116405 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-05-31Update git submodulesChristian Lohmaier
* Update translations from branch 'master' to 387ea1005f554dadedc7073e947bbd93dfa38c25 - update translations for master and force-fix errors using pocheck Change-Id: I5a54db2572738c26858f69eba71239fa9474f0a4
2021-05-31crashtesting fixNoel Grandin
when doing soffice --convert-to ods tdf96952-1.xls after commit 5c79032077d387053c62829d62518695f68555c1 Date: Tue May 25 09:32:58 2021 +0200 fix leaks in loading xmlscript Change-Id: I55c1e95a09db937604f62a5b33e56349512ff8ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116435 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31no need to allocate SvxNumRule separately in SvxNumBulletItemNoel Grandin
Change-Id: I7903565a468fc0fbec603c88b92cca6560a86728 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116424 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31Simplify construction of a hardcoded IPv4 addressStephan Bergmann
Change-Id: I822313ee708935dd4ecb636c13a961fdd054d660 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116434 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-05-31Replace inet_addr with inet_ptonStephan Bergmann
...as inet_addr is deprecated (it does not allow to distinguish successful return for "255.255.255.255" from -1 error return); and update tests Change-Id: I605cb2ba18fe9bd11d2d68c8f1c94271c4503509 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116441 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-05-31sdext : use std::mutex when possibleArnaud Versini
Change-Id: Ia610c0c46e017452db71945f6f53fedbcb6d1198 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116415 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31canvas : use std::mutex in CanvasFactoryArnaud Versini
Change-Id: Ic492f6b398ace3796d4b2cd45455d9ddec6cd728 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116416 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31Drop Window::IsDisposedNoel
in favour of the isDisposed in the VclReferenceBase base class, so we have one flag for this instead of two. Change-Id: Ib3d6ba750f95f21996bab2838af4c56295a13f4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113249 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31properly fix leak in ScAcceptChgDlgNoel Grandin
Change-Id: I4b6bb075c6511ac8ab8ab6f274977fd140925c41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116442 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-31gtk4: enable cut and paste into other applicationsCaolán McNamara
Change-Id: I9924a9af10532254dc368e274e4a20c6706e4239 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116445 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31Update git submodulesSteve Fanning
* Update helpcontent2 from branch 'master' to 8ca38307bd81fbb37a664dd848fd1fda2c2b4181 - Clarify example in help description of Calc's DOLLAR function. Change-Id: Iab2333cbd98bd4bb13ba35a07d4dbcd66fc840a6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116166 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-05-31Update git submodulesMing Hua
* Update helpcontent2 from branch 'master' to d0fc1c87094067bc528cac5a66fd667dc41af125 - Use UI term "Impress" instead of "SIMPRESS" Change-Id: I0ddf013795df105c4d7a7dcddede03bc374f069d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116167 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-05-31vscode: tell gitlens how to linkifiy our buglinks in commitsChristian Lohmaier
Change-Id: I7cc8efa94f75581d30047abf5c401b68741fb2a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116342 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-05-31configure: Keep warnings file and cat build onesJan-Marek Glogowski
Re-cat's the build / cross-toolset warnings file at the end of the host configure run and keeps them. Change-Id: If46fa3660dbd04cd5a23a4d9cd79fd19067dcfbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116437 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-31gbuild: implement gb_UnoApi_get_target_for_buildJan-Marek Glogowski
Change-Id: Iaee243510023bf935097914fd6c4fcb701d35c13 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116438 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-31no-zxing: Unused GenerateQRCode functionJan-Marek Glogowski
... and while at it fix (new?) [loplugin:stringviewparam]. Change-Id: I4b991e58040df8082e141ba3c7a0d1968871d517 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116436 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2021-05-31Related tdf#68113 sc autofilter: clean-up forBalazs Varga
commit: e6431d55bff7ae09c8b0708a0876c699bacca644 (tdf#68113 sc autofilter: fix not empty button unchecks all entries) Change-Id: Id7cff40ae48dd09b44b0b553f50e379ecbb472f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116431 Tested-by: Jenkins Reviewed-by: Tünde Tóth <toth.tunde@nisz.hu>
2021-05-31tdf#142402 sc UI: store formatted values in standard filterBalazs Varga
value list and filter by formatted values later, just like we do in the autofilter. Follow-up to commit 4fd1333ba4bb4f2311e9098291154772bd310429 "tdf#140968 tdf#140978 XLSX import: fix lost rounded filters". Change-Id: If26f4c0abd54de05b497861f2c278972bd8072de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116115 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2021-05-31crashtesting: use after free on export of tdf122510-1.xlsx to odsCaolán McNamara
and also tdf95549-3.xlsm related to: commit f8c1048eb437b1e685b76198165844e2ecc97a56 Date: Wed May 19 19:04:02 2021 +0200 fix leak in oox import and: commit 3cd6402c5443c8069c07d9e420d5ef5b43af6bef Date: Thu May 6 18:47:30 2021 +0200 tdf#127301 XLSX import: hide hidden named range of autofilter clearly this is fragile so just explicitly return who owns the ScRangeData* Change-Id: Ic3210bb8788bbbc85609bb384fa4a4625c15e487 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116432 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-05-31tdf#142537 PPTX export: fix placeholder style exportAttila Bakos (NISZ)
Regression from: b6b02e0b4c9d739836e1f61a886ea45b01e6696e (tdf#111903 tdf#137152 PPTX export: fix placeholders) Placeholders lost the formatting, which has been fixed. (fill, effects, and outline) Change-Id: I2b9300b85cf3641d89d748a03377f950e668a2af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116113 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>