summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-13tdf#143148 Use pragma once instead of include guardbuldi
Change-Id: I6fa77335ced02442eec69b0dbb088505eb4b1aa0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146818 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-13Rename: Extension Manager -> ExtensionsSamuel Mehrbrodt
simplify dialog title, should be clear what this is about. Change-Id: I65d8ca89e32cc225a07483703cd27b0fdc630b42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146715 Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-02-13sw: use try/finally to reset the changes in OptionsTreeDialogXisco Fauli
Otherwise it might affect other tests if it hits an assert Change-Id: I16b818edc0f4414937f28b8459d06712c7db9eac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146896 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-02-13sw: use try/finally to reset the changes in OptionsTreeDialogXisco Fauli
Otherwise it might affect other tests if it hits an assert Change-Id: Iee4ee4964640114126c2ec404df567598668ed99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146894 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-02-13sw: use try/finally to reset the changes in OptionsTreeDialogXisco Fauli
Otherwise it might affect other tests if it hits an assert Change-Id: I987d5b4493d599a7ad21c916464efca52f24f548 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146897 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-02-13sc: use try/finally to reset the changes in OptionsTreeDialogXisco Fauli
Otherwise it might affect other tests if it hits an assert Change-Id: Iee86221cc7b4bd66fc19dc63b162d72aacec5016 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146874 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-02-13Fix/simplify some vnd.sun.star.expand: handlingMike Kaganski
The vnd.sun.star.expand: payload must be URL-decoded prior to passing it to expandMacros; the protocol must be checked case-insensitively. Use startsWithIgnoreAsciiCase for that. Change-Id: I2be993a0400a27cb7dc57207cd0824b4505afd2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146855 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-13Fix typoAndrea Gelmini
Change-Id: I58611c416b2fe198dc847336a592be6683e9b3bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146899 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-13tdf#143148 Use pragma once instead of include guardsbuldi
Change-Id: I5a88b699425a37b914a71400e918965a9f6116eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146730 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-13sc: avoid divide by zero in ScEEImport::GraphicSizeXisco Fauli
See https://crashreport.libreoffice.org/stats/signature/ScEEImport::GraphicSize(short,long,ScEEParseEntry%20*) Change-Id: Ia5acccb1118aff2486d23eabd536053e67f346ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146746 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-13fix openssl build on aarch64 - _umul128 is not available on non x64Christian Lohmaier
adding upstream patch that uses __umulh as a fallback Change-Id: Ib95de30d3f7208c38421df0c63eb1ceafccd9354 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146839 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-02-13Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to a295ef1fa2462d9a828341e7b947eae05ba14154 - tdf#153417 Edit module options Help page Change-Id: Iadc6b9b9be76d0f4c57336e43872d4ab3aa3f7f6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146823 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-02-13Update git submodulesAlain Romedenne
* Update helpcontent2 from branch 'master' to 5b8658e58d02f8f3ec6a613f7c4edd32ca2e5d76 - FormatPercent New Basic function / VBA Change-Id: I0ad4022394632f0d49417bb56ecda641af3b0b42 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146519 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Jenkins
2023-02-13tdf#143148 Use pragma once instead of include guard in swbuldi
Change-Id: I9b4d2ccb608ceaafb3ee71a34831ce9cb69db6f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146729 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-02-13tdf#152722 tdf#153023 Add UITestLaurent Balland
Test increment decimal places and negative in red for NatNum12 number format Test disable thousand separator and enable leading zeroes Change-Id: Iff16be62cc7c52af91e04ed018f8cacc40e35568 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146550 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-02-13Mention that Emscripten 3.1.30 is known to work for COWASMTor Lillqvist
Change-Id: Id01004121a306dea953b908c32acc7f2c0e6841c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146857 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2023-02-13Don't overload the word 'module' unnecessarilyTor Lillqvist
Change-Id: I10fb7d16192ddfb0802c976419c00302d4688c4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146856 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2023-02-13writerfilter: prefix members of DomainMapper, GraphicZOrderHelper, ...Miklos Vajna
... RTFSprms_compare and TagLogger See tdf#94879 for motivation. Change-Id: I94c432a3aa592f2deb32175938e19047cc65fa44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146852 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2023-02-13Fix typo, improve code readability, fix commentParis Oplopoios
Change-Id: I7221222e8c84ee40e4edaec5325565dae4193aff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145825 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2023-02-13tdf#143148 Use pragma once in vcldeepanshuraj099
Change-Id: Ib27eb3612f6c072d5c1b7a3588c9524920f86e6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146831 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-02-13Update git submodulesMichael Weghorn
* Update dictionaries from branch 'master' to bcf7f049315dee2001cc2f7c7eabfbcb0b8ef21a - Add .gitreview used by git-review tool Change-Id: I9b4415acbf0ec6de90280a259a1af7e33529f2c4 Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/138340 Tested-by: Michael Weghorn <m.weghorn@posteo.de> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-02-13Use startsWithIgnoreAsciiCase with last argument to simplifyMike Kaganski
Change-Id: Ifa1261ed76ec078a60fcdbd4ce806abe23e4c056 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146850 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-13These const_casts are unneededMike Kaganski
Change-Id: I4b1d81665f9bfeb040530bac6bafa3ee2c85782f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146849 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-13Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to 12f4174031afc80e9d6ac387336e0185646f6977 - tdf#152605 update UI label changes - also adding missing control "Caption Order" in Autocaption Change-Id: I79f3a3416a465693be7bee98d6bdfa0a82f828da Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146806 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-02-12tdf#153571: properly unquote (URL-decode) vnd.sun.star.expand payloadMike Kaganski
Similar to what is done in bootstrap_expandUri, expandUnoRcUrl, UrlReference::expand, JavaLoader.expand_url, and is documented in XVndSunStarExpandUrl interface. Change-Id: I65349b52734f212e6a04e615d39fa2563f62d472 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146840 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-02-12.gitignore: /.vscode*buldi
Some VS Code extensions create directories with this prefix. Change-Id: Ie4a96a276970327d8da39bffd51eaf137e4163bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146728 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-02-12Resolves: tdf#153566 set darkmode menubar background colorCaolán McNamara
because we use it for custom menu titles backgrounds Change-Id: I1ae679bc032d29c4901befc2f1b0cbb53d0a5d1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146842 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-12Fix typosAndrea Gelmini
Change-Id: I7c755b2099c3607fece3442269ff3a806b196f1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146836 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12Fix typoAndrea Gelmini
Change-Id: I8ab5346e38b6eac508018aced86339d6342224a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146832 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12Fix typoAndrea Gelmini
Change-Id: Ia21de983bd4295f399e9753c29bc2a3cace2f250 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146835 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12Fix typoAndrea Gelmini
Change-Id: I28253e80065c690dca45658111a2cd54857b186a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146833 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12Fix typoAndrea Gelmini
Change-Id: I51b5c88e1d82c596b926e7074ee3a7e1395a21a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146834 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-02-12Avoid LOKClipboard harder on iOSTor Lillqvist
Change-Id: I2710a7537594c486878a68c630f762a24ac81c49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133017 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146739 (cherry picked from commit 069aae6be68d67b45222740de01467d11f15adfb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146800 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2023-02-12MCGR: Add/Provide GradientSteps to FillGradientAttributeArmin Le Grand (allotropia)
MCGR stands for MultiColorGRadient. This change allows/ prepares adding multiple color steps to gradient rendering. This is preparation work to allow rendering MCGRs in the future. All places are adapted in a way that currently no change of behaviour will happen. It will be the base to get MCGR rendering/decompose for Primitives and our internal/existing gradients working. Change-Id: I28bbd7d10b8670042343ada2a66b5909d3d31bbd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146748 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2023-02-12tdf#152605 "heading level"->"outline level" and other tip correctionsSeth Chaiklin
Change-Id: I3751b8586ffe47233f3cd27602bcb5cad4d9ecb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146797 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-02-11tdf#152605 change "heading level" to "outline level" in UISeth Chaiklin
This patch addresses extended tips in the UI that refer to a heading or chapter level, with the aim to remove this kind of terminology. In many cases, tooltips are added, and extended tips are corrected. Also, add "Outline" in front of "level" in the UI for Caption Options and AutoCaption. Change-Id: Idcf16892599913af31372b89d180251c86945d21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146622 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-02-11sw wrtsh1: cleanup unused pointerJustin Luth
Having a separate pCurRule was made useless by commit 3234a9deaa8db760bbd7dbb6414aa3e8f9993c34 Author: Vladimir Glazounov <vg@openoffice.org> Date: Mon Feb 21 15:07:41 2005 +0000 INTEGRATION: CWS swqcore05 (1.40.82); FILE MERGED Change-Id: I5fe0c7b09245acd9376d46b448708f29594a7266 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146824 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-02-11Update liborcus to 0.18.1Kohei Yoshida
Change-Id: I0439640789e59e4dd6e92d7f2975538de2f42f53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146826 Tested-by: Jenkins Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
2023-02-11lo-pack-sources: Add support for pbzip2.Sebastian Andrzej Siewior
Use pbzip for compression if possible. Otherwise fallback to bzip2. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Change-Id: I9091c5dfe25ee00854b6938464af23b56cdcb31c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146814 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-02-11lo-pack-sources: Use threaded compression for xz.Sebastian Andrzej Siewior
The xz utility can compress in parallel by using more CPU cores. The more CPUs are available the quicker it gets. The option -T0 automatically detects the number of available CPUs and uses all of them. Additional benefit is that xz starting with v5.4 can decompress the archive using multiple CPUs as well. The parallel compression works by splitting the input in multiple blocks of equal size which are compressed in parallel. Since the state is not preserved / reuse across blocks, the compression gets a little worse: -6 255M (current default) -T0 261M -eT0 259M -7T0 251M -7eT0 249M -7 uses larger blocks and dictionary which requires more memory on the compressing and decompressing side vs the current default -6. The -e option spends some extra cycles and improves the compression a bit. Use parallel compression and spend some extra cycles. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Change-Id: Ib69c4bc1996ddd52153b8ac27b653c21e3998a68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146793 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-02-11lo-pack-sources: Split archiver invocation away from tar.Sebastian Andrzej Siewior
Instead of passing --bzip2 or --xz invoke the compression program via a pipe. This make the replacement of compressor as well its options easier. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Change-Id: Ib69c4bc1996ddd52153b8ac27b653c21e3998a67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146105 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2023-02-11tdf#142018 Properly create Pen width if style is COSMETICBartosz Kosiorek
Change-Id: I6453058c4af352a3b0e14cbccbc1a67c73cd1426 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146551 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2023-02-11tdf#45705 Make SID_ZOOM_IN and SID_ZOOM_OUT smoother in ImpressRafael Lima
As reported in the bug ticket, the commands SID_ZOOM_IN and SID_ZOOM_OUT are not smooth and increase/decrease zoom at too big steps. This patch uses basegfx::zoomtools to zoom in and out, making it smoother. Change-Id: I801fa6123bf0696046e5d45c7a6b309e7cc3312e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146825 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2023-02-11tdf#147892 DOCX: fix corrupt export at para marker revision historyLászló Németh
OOXML export of tracked deletion of tracked paragraph insertion resulted invalid document.xml, because change tracking history of paragraph markers isn't supported by OOXML. Export the tracked deletion of the last run of paragraphs without history (tracked insertion). This way w:p/w:pPr/w:rPr contains only w:del or w:ins, not both of them (with broken tag order). Note: it's possible to optimize the fix to keep the change tracking history of the characters of the last run of the paragraph, except the paragraph marker. Regression from commit eeee19b3fcf8b0374c361c7f6c285fd5c89b5a2f "tdf#142387 DOCX track changes: export w:del in w:ins". Minimal unit test document was created by Miklós Vajna. Change-Id: I425f4d63c8c6ac29ccd807c1574748c7b9b39e80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146782 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2023-02-11Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to 7266a58cba3c89fdf9cd7100c00ef360e8d45e08 - tdf#153122: Add missing controls to Caption and Caption Options help swriter/01/04060000.xhp + add Numbering Separator control and description * move position of "Caption" to correspond to order in dialog * refactor <h1>,<h2>,<h3>,<relatedtopics> swriter/01/04060100.xhp + add Caption section title + add Caption Ordering control and description * refactor <h1>,<h2>,<h3>,<relatedtopics> Change-Id: I0d97dfcc0ca9083e5eec20f679d5634764764872 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/146208 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-02-11assert commit looking for example document to test theory.Justin Luth
related tdf#125038 FORMTEXT/REF:fix spurious text outside IF field speculated that this should always return false, since the IF statement is not processed at all. However, there are no documents that match this condition in the existing unit tests, so a wider net is needed. Change-Id: I8a5a0fd077cc141abc5438cacd0de77fcfe7c476 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145931 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-02-11sw: rename getFieldmarkFor() to getInnerFieldmarkFor()Justin Luth
The same change was made for getBookmarkFor() in https://gerrit.libreoffice.org/c/core/+/145412 Because otherwise it's quite confusing that we have a For() and an At() which could only be differentiated by a code read. Also improve getInnerFieldmarkFor() a tiny bit, so we process the first hit only once. Suggested at <https://gerrit.libreoffice.org/c/core/+/145348/1#message-286262286f234823b390e8f962e3ba11f5fa71b2>. Change-Id: I47e815eea0b8ac0df4957ac0d224acb6c5975b8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145486 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-02-11set the image in the .ui instead of the .cxxCaolán McNamara
Change-Id: Id6c30fa9cad6bbfbfb4e5c1363f637868884b345 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146792 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-11Related: tdf#153229 use 'System' instead of 'Automatic'Caolán McNamara
in the macOS desktop settings "Automatic" is used to indicate that the theme changes automatically from light to dark over time, "System" does seem a little less ambigious as to its meaning here. Change-Id: I38f6007cca1e8942d77066db200208ca463368d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146743 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-02-11ofz: Use-of-uninitialized-valueCaolán McNamara
Change-Id: I033fab3ea016d3b57891a35602920b7de811ccb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146784 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>