summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-02-27desktop: soffice --print-to-file generates PDF but names it ".ps"Michael Stahl1-1/+1
Both on Linux and Windows a PDF is generated. Change-Id: I076b57c34a87c17d34eb34f2ea87c6fd5fe590f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89645 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
2020-02-27tdf#92484 UI: lock toolbar by defaultA_GAN1-1/+1
Change-Id: I29f283fcc3a55e535c01efe36e19db74244cef02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89603 Tested-by: Jenkins Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-02-27tdf#130768 Make tiled writer paint reuse decomposesArmin Le Grand5-21/+55
See more info in comment 23 of task. Roughly it's about correcting a helper that led to destroying the View and thus the OC and thus the whole primitive buffering - what was expensive, for the case where decompositions were expensive Change-Id: Ic661ae810083a35812eaa923b439b3856b34b9ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89640 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2020-02-27tdf#126626: move UItest to CppunitTestXisco Fauli3-43/+16
Change-Id: I51a95a03e04682967bdab01062bec17039b609a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89641 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-02-27tdf#130679 Draw: Convert to polygon doesn't workNoel Grandin1-1/+1
regression from commit 1cd32bcf1b92bd53320717626601135623dadd55 Date: Mon Dec 10 11:28:59 2018 +0200 loplugin:useuniqueptr in vcl Change-Id: I7753f54822d0249d1fcda97581051d023969fc2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89636 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27tdf#108110 ODF chart: import/export of custom position of data point labelsBalazs Varga10-12/+108
using new attributes loext:custom-label-pos-x and loext:custom-label-pos-y of chart:data-point. This fixes also *import* of DOCX documents with embedded charts, related to the ODF usage in the background. Follow-up of commit 4223ff2be69f03e571464b0b09ad0d278918631b (tdf#48436 Chart: add CustomLabelPosition UNO API property) Change-Id: I985ce27cb6ce988948258d9eab0de13d01c72b97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89446 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2020-02-27sw: DOCX export: fix first-line indent of list itemsMichael Stahl3-2/+442
The problem is that since CVS import, if a SwTextNode has a first-line indent and is in a list or outline that has LABEL_WIDTH_AND_POSITION mode, then MSWordExportBase::OutputTextNode() will throw away the node's first-line indent and overwrite it with the numbering's. Experiments indicate that adding the numbering's value to the node's value fixes most cases, but RTL still doesn't work in many cases. Change-Id: I9707f475dac4e501642ebaf51c0117107fd34a3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89634 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-27Add boilerplate external/dtoa/MakefileStephan Bergmann1-0/+14
(to make toplevel `make dtoa` work) Change-Id: I5ce6566ae637d71912cbd93f79f0649a6f690047 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89631 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-27avoid memory leak in win32 sal::backtrace_get()Luboš Luňák2-63/+14
Running a presentation with OpenGL transitions with Skia+Vulkan as the VCL drawing very quickly runs out of memory in dbgutil builds. The trigger is svl/source/notify/lstner.cxx calling sal::backtrace_get() quite often. And that function calls SymInitialize() repeatedly even though its docs say not to do it, and that is also actually not necessary for CaptureStackBackTrace(), only for the symbol resolving Sym* functions. It actually still eventually aborts if called often enough, but this way it is triggered only by printing the backtrace and not just getting it. I have no idea why the problem is triggered only in these rather specific circumstances, e.g. Skia+raster seems to be fine. Also avoid the needless copy&paste while I'm at it. Change-Id: I50f9e0689b9b9b10bf54308db654aed6433085db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89626 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-27tdf#114441: Convert use of sal_uLong to better integer typesPelin Kuran4-16/+16
Change-Id: I29b3b76dcc7960938155be768ed110c090607fbd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87619 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-27tdf#130908 Chapter Numbering can't load custom styleNoel Grandin3-6/+29
regression from commit 83e97fef3fa4de900eda35d02168fcae01c85eed convert ImportStoredChapterNumberingRules to XFastParser and add some more debugging trace Change-Id: I224b9c442369a4c6a7746d7ff419f069d3430513 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89633 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27tdf#130621 OOXML chart export: fix lost label placementBalazs Varga3-12/+6
of a newly created chart with default label placement settings. For example, default top label placement of a line chart changed to the right during the first OOXML export/import. Note: "Insert data labels" of the local menu and Insert->Data labels... of the main menu have been improved. Change-Id: I27bb57a0ebb3a2b3132cf47c0ea3a92ac2806380 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88542 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2020-02-27Fix typoAndrea Gelmini1-1/+1
Change-Id: I9b74ac9e8c0fa679624bed2e184a161a8f48b641 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89630 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-27tdf#129382: Add unittestXisco Fauli3-0/+37
Change-Id: If22d82d506c365ae956de3d15e64c7065ad6b585 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89625 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27tdf#128357 Forcing default style to stay at top in page stylesShivam Kumar Singh2-12/+61
Change-Id: I1f3d17f0d735a95c40e2fb9f1f6a7f12b5b30b82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87808 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2020-02-27tdf#130959: Add unittestXisco Fauli2-0/+10
Change-Id: Ib66a2a48b6e0d746fc54d2b1987a574c26ea1c1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89619 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-02-27tdf#130960 compare documents does not workNoel Grandin1-6/+6
regression from commit 0528012fd0dc4b93645ef7790b0db9d1cecbae66 loplugin:constantparam Change-Id: I7e6d366c60da95f7839755e4ce228cfeff7354af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89618 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27tdf#42982 added description on RuntimeException for unotoolsAlanTang1-4/+4
Change-Id: I528d0bd7408ab9761de2d6fe8e60a5a521dda4dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89414 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
2020-02-27Related: tdf#130725: use strtod also in rtl::math::stringToDoubleMike Kaganski11-255/+228
Size of buffer on stack is 256 characters. Logging function usage in make check, of >1 100 000 invocations, the longest string was 80 characters, average being 4.6 characters. So heap allocation is unlikely in scenarios with intensive function usage. Several existing unit tests had to be fixed. Usually, the change is either minimal or getting closer to what Excel returns (for Calc tests). But in case of AMORDEGRC, I had to change rate value passed to the function from 0.3 to 0.31. It's because the closest double value for 0.3 is 0.29999999999999999, which is a bit less than 0.3; multiplied by 1.5, this gives 0.44999999999999996, and then rounding the result of multiplication of the latter by cost gave the result 1 less than before, when 0.3 was imported as 0.30000000000000004. Now the function returns a value 1 less than Excel for that set of arguments. I don't see how to fix that. Having rate slightly different gives consistent result between Calc and Excel. Change-Id: Icae5ce374fe0c31a1aa10cee815e65ef0014f382 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89422 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-02-27tdf#130725: use strtod by David M. Gay to make sure we get the nearestMike Kaganski13-25/+200
... representation of given decimal. Use dtoa.c from https://www.netlib.org/fp/dtoa.c to build a custom static library that doesn't use current locale (unlike strtod from stdlib.h). This is the implementation used by e.g. python and nss (search for "dtoa.c" under UnpackedTarball). To avoid name clash with the standard strtod, rename the function to strtod_nolocale. Size of buffer on stack in ImpSvNumberInputScan::StringToDouble is 256 characters. Logging function usage in make check, of ~124 600 invocations, the longest string was 14 characters, average being 2.1 characters. So heap allocation is unlikely in scenarios with intensive function usage. After std::from_chars is available in baseline compilers, external library can be dropped, and call to strtod_nolocale replaced with the standard function. The artifact at https://dev-www.libreoffice.org/src/dtoa-20180411.tgz is created with mkdir dtoa && mkdir dtoa/src && wget https://www.netlib.org/fp/dtoa.c -O dtoa/src/dtoa.c && \ printf 'd8bab255476f39ea495c8c8ed164f9077da926e6ca7afb9ad3c56d337c4484fe dtoa/src/dtoa.c' | sha256sum -c && \ tar -c --owner=0 --group=0 --mode=go=r,u=rw --mtime='Wed, 11 Apr 2018 15:59:39 GMT' dtoa/src/dtoa.c | gzip -n > dtoa-20180411.tgz && \ printf '0082d0684f7db6f62361b76c4b7faba19e0c7ce5cb8e36c4b65fea8281e711b4 dtoa-20180411.tgz' | sha256sum -c (where the date "Wed, 11 Apr 2018 15:59:39 GMT" is from `wget -S https://www.netlib.org/fp/dtoa.c` "Last-Modified: Wed, 11 Apr 2018 15:59:39 GMT" header). Change-Id: Ia61b7678e257c4bc1ff193f3f856d611aa5c1a21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88854 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-02-27loplugin:constantparamNoel Grandin13-601/+589
Change-Id: I62a0b760e49e38a4565eebf272492159047dda5b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89613 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27sw: DOCX export: for SwDropDownField, don't write FORMDROPDOWNMichael Stahl3-31/+93
... because Word's funny limitation to 25 listEntry children causes data loss, as seen in commit d9634e3c9bfaf826b3d4d39e9a57d6c2d8d9a3dc "sw: DOCX export: limit FORMDROPDOWN listEntry to Word's abilities". Instead write SDT dropDownList, which appears to be able to store at least 26 listItem children without complaint from Word, so it's an improvement. Funnily domainmapper converts it to a form control on DOCX import. Change-Id: Ic0f24144cb2b5233f82c7b3bc67946a6e56448a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89541 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-02-27sw SVG export: try to reuse original bitmap data for JPG and PNG bitmapsMiklos Vajna6-32/+185
Writer shapes are implemented using SwXShape, Impress shapes use SdrGrafObj. So switch to working with the XShape interface, which is supported by both. Also, don't work with the transformed graphic if it has the same checksum as the original graphic: the transformed graphic is not linked to the original JPG/PNG data. Now selecting an image in Writer Online has the same speedup that Impress Online already had. Change-Id: Iab2791c5f5c7a2754e3de0ebb2d6ea664f6c77e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89540 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-02-27tdf#130959 crash when opening file with non-existing hyperlinksNoel Grandin1-1/+1
regression from commit 0ef5c47547bec6319b853326603f3b807407fe78 sc: rowcol: tdf#50916 convert core/tool Change-Id: I8cb8fa4c6abf7450386a284a26be0a6d3ab9a623 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89617 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27Drop checking for user extensions w/ the same ID on every synchronizationKatarina Behrens1-27/+0
the question in 2012 was, is this still necessary? It slows down every warm start so let's assume it is not, remove it and see what happens Change-Id: Ia185fd18433d4145c0f33df8d7f60ba734f8504a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85609 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-02-27loplugin:unusedfieldsNoel Grandin9-125/+76
Change-Id: I0d3941ed2a6f0caadbe080ac8a6273c5ec21462c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89616 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27CheckDataArea is dead codeCaolán McNamara2-21/+0
nDataId is not a togglebutton so IsItemChecked is always false Change-Id: I6b75e36ee34f7234f1ffa11f38495e4dc1ad1eb6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89558 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-27tdf#130933 wraptools are berserkCaolán McNamara3-29/+8
probably a regression from... commit a22de0aacc9fb4197e9051f572b1a9298b2472e2 Date: Thu Jan 23 23:34:59 2020 +0100 tdf#130096 Wrap Sidebar update use common .uno commands and layout because there were two toolbars with radiobuttons each toolbar has to have one active radiobutton so they fight it out toggling on and off when attempting to make one toolbar with all inactive radiobuttons Change-Id: Iafe70dc1328ad80744cb4569365e25bf5eba6b53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89596 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-27Fix compilation on Windows with --disable-skiaKelemen Gábor1-0/+6
Trying to compile with option --disable-skia failed with: error C2027: use of undefined type 'SkiaControlsCache' Change-Id: I44b40cf7c2a8f356f8a49312a413c924c141c7df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89458 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-27Remove some unused includesMiklos Vajna6-13/+1
Change-Id: Icca5eeb6c8974e0422bebd93bc017a2d3f270e94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89592 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-27remove postgresql-sdbc.iniRene Engelhard2-4/+0
reading of it was removed in b11293297e581b87fba7e995d350ba59ecb820f2 Change-Id: I1900082f8e94737111180a21b25de96afa034fdd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89615 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2020-02-27tdf#42949 Fix IWYU warnings in dbaccess/source/*/*hxxGabor Kelemen93-208/+87
Except for source/ui/ Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If3e2a4cea3c44bd26f1c44309c52eae522904ae3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89299 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-27tdf#45904 Move XIndexAccess Java tests to C++Jens Carl2-2/+7
Move XIndexAccess Java tests to C++ for ScTableSheetsObj. Change-Id: Idb130a51dc024cebbbc739d15c767f99558a69b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89609 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2020-02-27fix regression in chart keyboard handlingNoel Grandin3-5/+8
from commit 0528012fd0dc4b93645ef7790b0db9d1cecbae66 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Mon Feb 3 10:05:12 2020 +0200 loplugin:constantparam Change-Id: I563f053a33898f971b382efd513979e459156c0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89612 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27loplugin:singlevalfieldsNoel Grandin6-125/+129
Change-Id: I3aa19805fab937cd9516ce8127753a0f599c73c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89611 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27tdf#81226: Cursor jumping fixedCanberk TURAN1-2/+8
Cursor to jump to end of line when pressing the down key Change-Id: Ib9548d02039a17257ac7ed63221952abb7792590 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89533 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
2020-02-27Postgresql: replace specific log mechanism by generic SAL_INFO/SAL_WARNJulien Nabet12-277/+64
Change-Id: I601ff29cede5ef5f594fd00c8bea810080cb8388 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89383 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-02-27Related: tdf#128191 tdf#130862 Use whole words in lieu of clippings in UI ↵Adolfo Jayme Barrientos3-3/+3
strings Change-Id: I5db72d13291073fc5cb42d12dc3fadf6fd9adaf1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89587 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-02-27Sukapura: Update Draw/Impress non cmd iconsrizmut56-28/+54
Change-Id: Ie3efe6ff7de51bf80b2d80012ebd39ad60c01899 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89604 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-02-27Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' to 3c28b5afd108e5d2704a79aa5426bd19456cb866 - Fix links in xapian results page Contents, Bookmarks and Modules links of xapian results pages were broken after I486cbfbd680d52d00ef99ade9af5ecac2967c115 Change-Id: I7b912d9ff842810a66846b6a6da7857db69cac01 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89598 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-26elementary: Fix for tdf#130947rizmut10-2/+5
- Add missing Merge Dialog icons - Update collate for Print dialog Change-Id: I48a67800b2ffa3457465a06c74d93c8dfaa3c8c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89561 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-02-26Sukapura: Fix envelope position, make darker chart iconsrizmut125-63/+73
Change-Id: I341eed4d2eaf152380cc97ec24b4caeb3e46d108 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89553 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-02-26Quote * at start of continuation line in Doxygen /** .. */ commentStephan Bergmann1-1/+1
Change-Id: Ibc86d1e380b91c4fe063f0b033e36bf6957aaa4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89588 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-26Fixed update of the reference rdbs to libreoffice-6.4.0.3-buildfix1Stephan Bergmann1-1/+55
19746d24aa976cc409e58fe452b6ab5b039d0525 "Update the reference rdbs to libreoffice-6.4.0.3-buildfix1" had erroneously labeled LD_LIBRARY_PATH=.../master/instdir/program \ .../master/workdir/LinkTarget/Executable/unoidl-read --published \ .../libreoffice-6.4.0.3-buildfix1/instdir/program/types.rdb \ .../libreoffice-6.4.0.3-buildfix1/instdir/program/types/offapi.rdb \ >.../master/offapi/type_reference/offapi.idl as "no changes", so I redid that part correctly now: * plus manual fixup by re-applying offapi/type_reference/offapi.idl part of 214e6caf2c503d817c47ebcc419e4f7e33b336ac "[API CHANGE] remove BasicImport UNO interfaces" Change-Id: If58251331c1b379a04bf0c60dfffc2ffb0f6bc6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89565 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-26Fix @since tagStephan Bergmann1-1/+1
This UNOIDL entity had been included in libreoffice-6-4 prior to the first LO 6.4 release at libreoffice-6.4.0.3-buildfix1 with ad86ebb1f86f6347ccb9bbe40b0ca080562cbae8 "tdf#121658 Add option to not hyphenate words in CAPS". Change-Id: I34df2ebeb56fdfe72bc9e19cc77eddd8a97a5c59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89564 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-26use GatherFieldsBjoern Michaelsen1-72/+71
Change-Id: I921956e5640cc16941109969d059809be66f0228 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89489 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2020-02-26use GatherFieldsBjoern Michaelsen1-50/+39
Change-Id: Ia60061ae35c1822ebd52f109f128510eb2454140 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89488 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2020-02-26use GatherFieldsBjoern Michaelsen1-21/+6
Change-Id: Ie15add04d66458493476bcbdc9a4f4a1034575e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89487 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2020-02-26use GatherFieldsBjoern Michaelsen1-11/+4
Change-Id: I5a43d233b55edb13b479c1d1d246a4a6682b79a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89484 Tested-by: Jenkins Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2020-02-26lru_scale_cache - cache the same bitmap at multiple scales.Michael Meeks4-10/+50
Helps accelerate different views at different scales, as well as document / image thumbnailing on save, as well as stray views that can get rendered behind the scenes at odd scales on mobile. Each scale + bitmap combination is another key in the LRU table. Change-Id: Id82ce2e4180608082c9ca16fad35bba9e8c2e81a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89497 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89503 Tested-by: Jenkins