summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-27tdf#140437: sw_odfexport: Add unittestXisco Fauli
Change-Id: I1d8e2f484069dffe7b635ad6fc41f40f2e626e02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111652 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-02-27loplugin:unnecessaryvirtualNoel
Change-Id: I99f5302ec5727aae3fad6767b9b477d37beb573b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111624 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-02-26Update Calc home tabandreas kainz
Change-Id: Iecdfe016878673d22d5afca3b9ef70fcbe2b35ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111257 Tested-by: Jenkins Reviewed-by: Andreas Kainz <kainz.a@gmail.com>
2021-02-26sw doc model xml dump: show SwAuthorityFieldMiklos Vajna
Towards seeing the actual contents of these bibliography references. Change-Id: I9f7b623a551adf9fd3f3a5ba4e376676c891bc04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111630 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-02-26drop unneeded includeCaolán McNamara
Change-Id: I07a359887beeee5d06e340b443cfac755d27e94e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111629 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26don't need to check if IsFloatingMode is trueCaolán McNamara
seeing as... commit a5dbc997bff8f7fe61ddc848f48c880a6e67e448 Date: Thu Feb 25 11:38:02 2021 +0000 drop archaic rollable support assumes !IsRollUp is always true Change-Id: I707a8d93e3c74b049ab9b96b27ed17fb0d896098 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111628 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26move lok FloatingWindow closing code to vclCaolán McNamara
Change-Id: I8e2c29e2c6450f79a7b80262f290b6afd13db7f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111627 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26drop intermediate vcl container for these welded floating toplevelsCaolán McNamara
Change-Id: I4a528485de62a0e0acabd41abf6872e2f0e1710e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111567 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26protect against callback destroying this objectCaolán McNamara
Change-Id: I4527f9bf5f2983083be8055dfb6277ed2dcd8c39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111626 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26tdf#64401: sc_subsequent_filters: Add unittestXisco Fauli
Change-Id: I624d4f94899634fa7b65768b7d5bbf82d786cc57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111623 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-02-26Update git submodulesSeth Chaiklin
* Update helpcontent2 from branch 'master' to 6a651976ff18339c05f8652d565a0da2fc23ceb5 - add appl-switch for command sequence for insert Floating Frame ( shared/00/00000404.xhp ) + add appl-switch and correct command sequence for Writer * rename German ID * change icon size to 1cm ( shared/01/04160500.xhp ) * update to renamed ID Change-Id: Ie244f924065a1cb892ada0f037e34401d9784ace Reviewed-on: https://gerrit.libreoffice.org/c/help/+/111586 Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk> Tested-by: Jenkins
2021-02-26Resolves tdf#139243 - UI glitch in start centerHeiko Tietze
Initial focus on Recent Files Change-Id: I8f1b49f5fdb3fdf8a84b779c1e8c4df22c3a91f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111478 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-02-26tdf#138097 - Update templates / Growing LibertyHeiko Tietze
Taken from https://lumbung.libreoffice.id/ * Some content removed from templates * Special fonts replaced by Noto Sans * *language* and *country* removed from styles.xml * <dc:title> added to meta.xml * README added to directories Change-Id: Ib3ac2806e96d711cf9ed98f074b63f071cebff0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111106 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-02-26lok: mark calc document as modified when adjusting split-panes.Michael Meeks
Change-Id: I592ee4dc4317f27fae24141b2052475ef26e9fc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111582 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2021-02-26tdf#138097 - Update templates / Yellow IdeaHeiko Tietze
Taken from https://lumbung.libreoffice.id/ * Some content removed from templates * Special fonts replaced by Noto Sans * *language* and *country* removed from styles.xml * <dc:title> added to meta.xml * README added to directories Change-Id: Ibfec0bfefe83fab3ce26f692b923a530c525a848 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111107 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-02-26loplugin:refcounting in svlNoel
Change-Id: I0009464121faf6dd36793b031d892f492b56187c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111544 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-02-26tdf#118711 doc import: don't hardcode default page descriptionJustin Luth
well, at least not at the beginning of the document. This is a .DOC followup to the 7.1 .DOCX patch in commit 8787a45f9cbb5dce61b20817ef0e549b5a227a95. The problem with specifying is that it becomes a property of the paragraph - and so if the paragraph is copied or moved, the page break comes along with it and the user has to remove the unnecessary page break wherever it lands. Since the default will be applied anyway, there is no value in specifying it. In DOC, it appears that the first page is ALWAYS set to the default page. I tried to create a title page/first page page style, but it always round-tripped as default page. That makes it easier, with only specified page number exception. Change-Id: Ie2e5ec42331d66f1883fc7b96fcefceb6d32c73d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111240 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-02-26pdfium: don't build PDFiumLibrary when PDFium is disabledMiklos Vajna
Rather provide a stub implementation of PDFiumLibrary::get(), so other code can call it unconditionally. This is meant to allow removing the 10 stub functions in VectorGraphicSearch later. Also fix up CppunitTest_xmlsecurity_signing to pass in the disable-pdfium case by avoiding the known-problematic checks. Change-Id: I748fcc5c623c5ce937bd2980bfdfaadbdf6cedf7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111564 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-02-26tdf#119931 Fix accessibility warningsmsrijita18
Change-Id: I4d9a7b2f67b21fe6ae5bc918257f86c9e6911193 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111520 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26take GetWindow by VclPtr to hold reference in face of potential disposeCaolán McNamara
Change-Id: I141d64695ea01a175eb794fbf9b923d3c7c21934 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111597 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26rename one ImplHitTest so using window::ImplHitTest can be droppedCaolán McNamara
Change-Id: I8a77654d4c6629ee76d57fc26bb022c69dab0b9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111559 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26ofz#31370 Divide-by-zeroCaolán McNamara
Change-Id: If581d61b678616f8a80f8ad2d2dea5ecbf10d8fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111557 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26Missing string for Candy templateHeiko Tietze
Change-Id: Ia74b74a198caa7a06ba8006bdbe9ec3907ace036 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111598 Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-02-26tdf#138097 - Update templates / Grey ElegantHeiko Tietze
Taken from https://lumbung.libreoffice.id/ * Some content removed from templates * Special fonts replaced by Noto Sans * *language* and *country* removed from styles.xml * <dc:title> added to meta.xml * README added to directories * all styles reworked Change-Id: Ib3461bd22885d69e6abbb9747ded0f18f5bf23dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111058 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-02-26tdf#138097 - Update templates / CandyHeiko Tietze
Taken from https://lumbung.libreoffice.id/ * Some content removed from templates * Special fonts replaced by Noto Sans * *language* and *country* removed from styles.xml * <dc:title> added to meta.xml * README added to directories * all styles reworked Change-Id: I4e1d2935aba55550b4fbc91da6a785edf20ad190 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110992 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-02-26tdf#138097 - Update templates / SunsetHeiko Tietze
This patch partially reverts 849c1e9c74c388df549098a8a4f60131c9b8c6a0 and brings back one of the deleted templates Change-Id: If2a4a1294a887c55fcc490263f84880edfaa2ab0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110996 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-02-26cid#1473323 Identical code for different branchesCaolán McNamara
Change-Id: I8997b1b0d43fca8dbf3081736ebc3d7a1e2fbb2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111568 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-02-26dummy clipboard for unit testsNoel Grandin
Change-Id: I285b36536dd38e41a199e8b6fd654666d125d906 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111498 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
2021-02-26loplugin:refcounting in formsNoel
Change-Id: Idba46c8b30a3c44f12c0aaa8a00477865ecfb848 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111542 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-02-26loplugin:refcounting in basicNoel
Change-Id: Idbee5b35215f794e6785925dafb6f160caa24a22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111541 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-02-26tdf#134940 sw: fix AutoCorrect of arrow "-->"László Németh
Fix bad replacement of "-->" with "–>" instead of "→" (i.e. premature replacement of "--" to n-dash) since '>' was added to IsAutoCorrectChar(). Regression from commit 57f07b1d7378d218648667c5b1315cc8ad905875 "tdf#133524 AutoCorrect: support double angle quotes". Change-Id: I06f0cddb48d13c8e230dab964f79f588799ed4ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111527 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2021-02-26Simplify VistaFilePickerImplMike Kaganski
Change-Id: I13ac92f8f28a1d912681239fee1780093f8be444 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111561 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-02-26tdf#131000: sc: Add UItestXisco Fauli
Change-Id: Icb2737de1e9e14c55cf4a2f999d1d0585c98b895 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111570 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-02-26tdf#131522: sw: Add unittestXisco Fauli
Change-Id: I8920f12c655b7106a3eb2a5a3916793453c3694a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111569 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-02-26qtcreator: Create *.pro and *.pro.shared files in builddir, not srcdirMichael Weghorn
With the previous modifications to Qt Creator IDE integration, this makes 'make qtcreator-ide-integration' work when run from a separate build dir, and allows to use multiple build dirs for the same source dir in parallel, each with its own set of Qt Creator files referring to the specific build in their build and run settings. Change-Id: I5d85d0d280be5e5edca15760bcccfc793e1e4b2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111553 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-02-26qtcreator: Use absolute paths in *.pro filesMichael Weghorn
... as a preparation to make this work for the srcdir != builddir case as well. Change-Id: I87507b9866f97cdbdf848c6b187b3b8f17262b6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111552 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-02-26qtcreator: Simplify adding of file extensionMichael Weghorn
Create a new method 'get_file_path' which basically does what 'get_header_extension' and 'get_source_extension' did, but already concatenates the extension to the input; call that one and rename other methods accordingly. While at it, let 'get_source_extension' search for files in srcdir instead of builddir, as another step in making generation of qtcreator-ide-integration work properly for the case where srcdir != builddir. Change-Id: I1e34bfdb726192b4af21e9003205fa551545ae31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111551 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-02-26qtcreator: Don't explicitly delete old *.pro{,.shared} filesMichael Weghorn
They are overwritten when written with the new content anyway, since opened with file mode 'w+', i.e. they're truncated first. This also simplifies handling the case where srcdir != builddir, for which support will be added in a subsequent step. Change-Id: I1dd3386cdf0b97a6299357d6c12ed2d7b6365eae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111550 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-02-26qtcreator: Translate comment: "et" -> "and"Michael Weghorn
Change-Id: I2fe51ab0cdfca5c94bd520ed7f9096bc7c8f6fec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111549 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-02-26qtcreator: Move assignment to 'mode' out of try blockMichael Weghorn
The variable is used outside of the try block further down. While that works with how Python handles variable scopes (and there is no exception before the assignment happens), moving the variable outside makes the context/scope clearer. Change-Id: Iecfd0477ffb4515cf58736ee138fc8ca7273967f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111548 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-02-26devtools: support showing type's name as valueTomaž Vajngerl
Change-Id: Ifd99e884efe229dee2d0b42c6c66d3d9c3c90e7e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111531 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-02-26devtools: add popup menu for properties to inspect objectsTomaž Vajngerl
With this change it is possible to inspect an object that is listed in the properties (instead of expanding the tree view node). Change-Id: I8b2229af650b46064c82bdd3fe93192d352d32e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111530 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-02-26tdf#124176 Use pragma once in sw/source/core/textSuhaas Joshi
Change-Id: I6fa5895ae050e9f8cbb4cfd13572ddad0e2cb1f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108832 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-02-26tdf#124176 Use pragma once in sw/source/core/textSuhaas Joshi
Change-Id: I2104cad267e6f704f9389b03ff3f116fca875517 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108796 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-02-26Slightly simplify COMReferenceMike Kaganski
Change-Id: I6447dbdc3e2549d0e55feeee80249bdf75924ca8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111466 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-02-26loplugin:refcounting in connectivityNoel
Change-Id: Iee324d84334f60a13615a4d422d480c9c597fdbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111539 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-02-26loplugin:refcounting in avmediaNoel
Change-Id: I0cd6d6a4a45d77b25f04c3b49327f1cf9279c6a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111540 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-02-26devtools: support XIndexAccess and XNameAccess in object inspectorTomaž Vajngerl
If the current object in the object inspector is an container that supports XNameAccess or XIndexAccess, we now show the named or index values in the property view. This way the user can navigate to sub-objects, which is sometimes needed because we get an object supporting this intefaces, but can't navigate further. Best example would be XShapeCollection, which is what you get when selecting a shape (because with a selection we can select multiple shapes), but it is not possible to navigate to the shape without this change. Change-Id: I6a18723eccbc41519e3eacf68bc5b6488e02fe22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111529 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-02-26Implemented MoveShapeHandle methodmert
This method will be shared among 3 modules via uno:MoveShapeHandle uno command Change-Id: I921a1f7f004e2004e142954b40b4b93282eb8fed Signed-off-by: mert <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111373 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111507 Tested-by: Jenkins
2021-02-26Send handle information of selected shapes to LOKmert
Include the handle information to the callback for the new uno command for interactive dragging/resizing operations. Change-Id: I57c03abc22d3831606da2b698f1de080e9b4da78 Signed-off-by: mert <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108686 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111506 Tested-by: Jenkins