summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-26tdf#150696 Consequent term usage for Snap GuideBogdan Buzea
Change-Id: Id3ae5af203db09019b2ab1e63cc0b8f7bed7a98f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165242 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-26Hide "Add and resize" button from numbering and bullets dialog for ONLINEDarshan11
- Image tab had "Add and resize" option for numbering and bullets dialog - which is not need in online - so we will just hide that browseBtn for online Change-Id: Ib87f1e7ae7e6df5256ab77122b477695a45cf441 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164587 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> (cherry picked from commit 08a5c1352f4d65c180995cdfca5c981f88035901) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164818 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165215 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-26tdf#126573 Add Excel2021 array function SORTBY to CalcBalazs Varga
TODO/WIP: oasis proposal More information about how this new function works: https://support.microsoft.com/en-au/office/sortby-function-cd2d7a62-1b93-435c-b561-d6a35134f28f https://exceljet.net/functions/sortby-function Change-Id: I4538a32f7f75056d3055369fc5f4483d24fd1089 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165069 Tested-by: Jenkins Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2024-03-26tdf#160184 ask user if they want to trust an untrusted certificatePatrick Luby
gpgme contexts uses the "auto" trust model by default which only allows encrypting with keys that have their trust level set to "Ultimate". The gpg command, however, gives the user the option to encrypt with a certificate that has a lower trust level so emulate that bahavior by asking the user if they want to trust the certificate for just this operation only. Also, abort saving if no certificates are selected which is an indication that the user cancelled the Select Certificate dialog. Change-Id: I20951b1e31b2dcf8adb82243742f8c00fbaca8c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165260 Tested-by: Jenkins Reviewed-by: Patrick Luby <guibomacdev@gmail.com> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2024-03-26poppler: upgrade to release 24.03.0Xisco Fauli
Change-Id: Icd063dcc9a034e88283ddf16be64091a32f3453f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165292 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-03-26tdf#158237 Use contains instead of find-endRMZeroFour
As part of the efforts in #158237 to replace older parts of the codebase using find() and end() methods, with contains(), this commit does the needed changes for a few files in the sc and sw modulues. Change-Id: Ibf0a432c537879f5bec8e8912d11150733366689 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165223 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-03-25Avoid -Werror,-Wcast-function-type-mismatch, remove unused int returnStephan Bergmann
> vcl/unx/generic/app/i18n_ic.cxx:225:51: error: cast from 'int (*)(XIC, XPointer, XPointer)' (aka 'int (*)(_XIC *, char *, char *)') to 'XIMProc' (aka 'void (*)(_XIM *, char *, char *)') converts to incompatible function type [-Werror,-Wcast-function-type-mismatch] > 225 | maPreeditStartCallback.callback = reinterpret_cast<XIMProc>(PreeditStartCallback); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: I94d1d0042516a01f8597bc65895042ddae76c98b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165291 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-25Related tdf#160351: the field name can be shorter than two symbolsJulien Nabet
Change-Id: Ieb6b78b3f9802e66de642a9e708b11c55c0d9a11 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165285 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-03-25cid#1594675 Logically dead codeCaolán McNamara
Change-Id: Icaf621e7a2e163f969ac7b6a1d6d04bf9251ea56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165277 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-25mariadb connector: upgrade to release 3.3.8Xisco Fauli
Change-Id: I21cf511a2b6c040d4a64ca720606af9312130045 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165284 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-03-25nss: upgrade to release 3.99Xisco Fauli
Change-Id: I77ccc45854b2d0aecc288f471d94c81ad9089f85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165273 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-03-25cid#1594674 Using invalid iteratorCaolán McNamara
Change-Id: I710a6a2f045de095f5f3f09a971162b669eedd4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165275 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-25cid#1454847 Uninitialized pointer fieldCaolán McNamara
Change-Id: I81aea5f73b9b28e28366beb74e853518287a9ef7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165274 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-25add missing mode linesCaolán McNamara
Change-Id: Iafcda5fb4d639d35ea35bab2b8b015208a8397fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165276 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-25xmloff : no need to use OUString literal for comparisonArnaud VERSINI
Change-Id: I2b8f75ec56d93003d8c9c14b3cad1e3978cc6a39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165227 Tested-by: Jenkins Reviewed-by: Arnaud Versini <arnaud.versini@pm.me>
2024-03-25Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to 772dac9c72752c82c015bcd222655b50a6eeb9eb - tdf#160035 Remove extra Help page Page 19040000.xhp was not target of nay other link Change-Id: I2b3311aaa8f6bd2616096e922b3118856c749bfe Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165289 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-03-25tdf#160264 Fixed crash in galleryOliver Specht
Local gallery themes need an additional listener to prevent deleting the global theme. Change-Id: If6cfcb5a3eeffdc087b089f2151c45b2cff87bbd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165029 Tested-by: Jenkins Tested-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de> Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2024-03-25tdf#160351: the field name can be shorter than two symbolsMike Kaganski
Change-Id: Id834ae2919661752b921510f766c9e9ff7fc16fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165282 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-03-25openldap: upgrade to release 2.6.7Xisco Fauli
Change-Id: I7716a41114442ba7a57d81192b01cbeaaeca08b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165280 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-03-25tdf#126573 Add Excel2021 array function SORT to CalcBalazs Varga
TODO/WIP: oasis proposal More information about how this new function works: https://support.microsoft.com/en-au/office/sort-function-22f63bd0-ccc8-492f-953d-c20e8e44b86c https://exceljet.net/functions/sort-function Note: Move ScSortInfoArray class to sortparam.hxx, which is a more logical place. Change-Id: I70e720e93ba0414d54cb3437de0bfa066508fe30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164778 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
2024-03-25postgresql: upgrade to release 13.14Xisco Fauli
Change-Id: Ia9607fd9c8dad9d5936e867ad76b18a476f1057f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165278 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-03-25tdf#157665 Use <=> operator for errcode and strong_intRMZeroFour
As part of the efforts in #157665 concerning the spaceship operator for the C++20 codebase upgrade, this commit implements the spaceship operator, replacing redundant operator overloads, in strong_int.hxx and errcode.hxx Change-Id: I23985207c27d6a5147c3f7b4a0d2416f86dec5b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165219 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-03-25tdf#147021 replace SAL_N_ELEMENTS() with std::size()Mohit Marathe
Change-Id: I8d704123aaa968352033d1b6680d5da6153eba21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165268 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-03-25Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to c8ef32e905f028ee451b3664f72c0b508c74c6c5 - tdf#159725 ExportAsFixedFormat Help page (WIP) Initial Help page for ExportAsFixedFormat VBA method. Missing: - Error codes related - Arguments not implemented Change-Id: I43ca670047542b29858e4384243d7e9a36a5efc0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165256 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-03-25Best effort to create directories of SAL_LOG_FILEStephan Bergmann
Change-Id: Ia86ac0e022579d155e92de3b853d57860b5b97e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165272 Tested-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-25tdf#158556 speedup docx loadNoel Grandin
move the vector outside the loop, avoid repeated allocations Change-Id: Ic6ef95a966ffd5c4115ea56e63af1494e7937928 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165270 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-25tdf#158556 speedup docx loadNoel Grandin
If we want to know if an XText is a header/footer object, no need to loop over the draw objects, we can just query its service name. Reduces load time from 167s to 97s Change-Id: I10158c11dd24c4945b3ea6cfed4916717bd4f2f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165269 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-25svx: prefix members of XHatchEntryMiklos Vajna
See tdf#94879 for motivation. Change-Id: I1edd4bf9c3b7369898f500f9eb5c483be133ed67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165267 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2024-03-25editeng: fix unintended duplication of the lineTomaž Vajngerl
Change-Id: I90f787cc504d46d32581caa1f0b1c7b9e86968a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165265 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-03-25drop unused methodCaolán McNamara
Change-Id: I39cd0016226deb2f19079a11e63c41a58176e032 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165258 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-25tdf#154331 Improve tip of the dayBogdan Buzea
Change-Id: Ibebbc9b254d1bc8c45e20efc634d77ec0b708569 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165235 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-03-25Avoid -Werror,-Wcast-function-type-mismatchStephan Bergmann
Change-Id: I93a69c57856169aeff613e34d5c0bf7fa08a0de7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165251 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-25Relax SolarMutexReleaser precondition to not require SolarMutex lockMike Kaganski
As discussed on https://gerrit.libreoffice.org/c/core/+/164843/2#message-8873d3d119de7206b33bc824f5809b8b1d3d97da, it is impossible at times to know in advance, if a specific code, that must not be guarded by SolarMutex (e.g., calling to other threads, which might need to grab the mutex), will itself be guarded by SolarMutex. Before this change, a required pre-requisite for SolarMutexReleaser use was existing lock of SolarMutex; otherwise, an attempt to release it would call abort(). Thus, in some places we had to grab the mutex prior to releasing it, and that itself introduced more potential for deadlock. Now the SolarMutexReleaser is safe to use without the lock, in which case, it will do nothing. Change-Id: I8759c2f6ed448598b3be4d6c5109804b5e7523ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165262 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-03-24Avoid -Werror,-Wcast-function-type-mismatchStephan Bergmann
Change-Id: I0bd094b2f08f60df33b32cad7ae389141b41a209 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165229 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-24Avoid -Werror,-Wcast-function-type-mismatchStephan Bergmann
Change-Id: I12014c46bf4a22232c8739166effc42756e97dce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165252 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-24Silence Clang 19 trunk -Werror,-Wcast-function-type-mismatchStephan Bergmann
Change-Id: Icd0af828e47c770ca8964656188d0d722a7f1ddc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165250 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-03-24fix CppunitTest_sc_subsequent_filters_test4 intermittent failureCaolán McNamara
Change-Id: Ieb532183fd07915f8e0f2ec0cc3983a390024522 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165257 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-24ofz#67577 Integer-overflowCaolán McNamara
Change-Id: I3828bb76ab7808ac0717b33c231927730216b42b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165216 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-24for compilaton with OSL_DEBUG_LEVEL > 1, adapt to the commit f9395a12, which ↵Tomoyuki Kubota
replaced std::vector with KernArray Change-Id: I12e918814a29fff114c5eae320498a8fc0229dea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165233 Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-24ofz#67563 infinite loopCaolán McNamara
Change-Id: I1654d23fd8768a77d32fc3150a9d8554afa2e91f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165220 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-24ofz#67540 negative offsetCaolán McNamara
Change-Id: I498985962feb7d77c1a71af7002a85aa02aa3e65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165217 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-03-24ScriptForge (session).RunApplication() redesignJean-Pierre Ledure
The RunApplication() method uses - either the Shell() Basic built-in function (only in asynchronous mode) - or the com.sun.star.system.SystemShellExecute() service in this order. The second is tried in case of failure of the first one. Benefits: - the method can start batch files or scripts - broader than Shell(): giving a user file as argument opens its application first based on the file suffix - more robust error handling Read discussion in tdf#160222. This change could require a light revisit of the sf_session help page. Change-Id: I1fb4717db4b971bd62885ad0e38b7c08a8e6f434 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165218 Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins
2024-03-24for OSL_DEBUG_LEVEL >= 2, adapt to b55bf0cbdfdc6820Tomoyuki Kubota
Change-Id: Ie3b9746ca150fba8f9849649b6e6bbd0439e1a1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165234 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-24reduce symbol visibility in svxNoel Grandin
Change-Id: I19b7518f0ec1207ba95158f70d286ab115456466 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165224 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-03-24Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to 7786ebca61858926ce0cd3894922dac725c1997b - Housekeeping files on SUM/SUMIF/SUMIFS Change-Id: I07ac3a115a9b3f86ee05f75f0f3bcdd4cdf1ef69 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165205 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-03-24Fix extended tip in mmselectpage.uiTaichi Haradaguchi
Fix wrong dialog name in extended tip. Change-Id: I639982cb36ed7b7f6fed4c89302b11003a75af6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165097 Tested-by: Jenkins Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
2024-03-23tdf#158067 Replace OUStringLiteral with _ustrRMZeroFour
As part of the efforts in #158067 to replace static constexpr OUStringLiteral variables with string literals of the form u""_ustr, this commit performs the replacements in some files of the xmloff module. Change-Id: Icce2ed7f9a69ef023aaff498975d6afabf161d4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165200 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-03-23tdf#158237 use c++20 contains() instead of find() and end()Beeram_12
Change-Id: I9bfea186f8bac4619f8b0e3e8a8158cefcbc482e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164792 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-03-23Update git submodulesGabor Kelemen
* Update helpcontent2 from branch 'master' to 1e3c2cb1ffa55b44e2b77d14ac5f5ce217630b8a - Use default HIDs in Gallery sidebar help page Change-Id: I7ab1d18d25c290320f3c0ebfdf3da1837cdf007a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165023 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-03-23Update git submodulesStéphane Guillou
* Update helpcontent2 from branch 'master' to b010f7c91670f60ab8c637b321507b67d1bc4a63 - tdf#159985: need to reload file for macro security change Change-Id: If708fa18648c23a811951675167581b1013343ee Reviewed-on: https://gerrit.libreoffice.org/c/help/+/165042 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>