summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-05do not block out PaintImmediately() in LOK modeLuboš Luňák
I'm not sure why I did this when disabling LOK idle painting, even if a window is not to be painted to, it still needs at least invalidating. Change-Id: Iaed6b1071d05d05d6bf5195f3803afb1fc018508 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123097 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-05drop 'using namespace std' in winaccessibilityJulien Nabet
Change-Id: Ibb6c4b747a706e126f5469d8348cd78a70561075 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123116 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-05Optimize the whole range of getN10Exp over IEEE 754 doublesMike Kaganski
Needs 5056 bytes of pre-calculated data. Change-Id: I138d9dc80c176f675a6854fe906e235c98efcbc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122947 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-05Update git submodulesAndrea Gelmini
* Update helpcontent2 from branch 'master' to a82f9c51bdb39d0a784069e2927683273c9f8ebc - Fix typo Change-Id: I4fa3a07e7094b4bf2a6428aa8a910c5b8d672191 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123113 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-05drop 'using namespace std' in vcl (Windows part)Julien Nabet
Change-Id: I8516e48f5e4a7266aef35ba2e31ebd107bf8169b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123112 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-05drop 'using namespace std' in swJulien Nabet
Change-Id: Idb2350c32d9fba55e9ad8db7aa4c1a280f03ca6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123068 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-05tdf#143148 - Use pragma once instead of include guardsChris Sherlock
Done in preparation for movement of PhysicalFontCollection to vcl::font namespace. Change-Id: I17f27afd3ff0763866f3b2c169f7ee100d7f26d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122406 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-05vcl: refactor PhysicalFontFace::IsBetterMatch()Chris Sherlock
Refactored PhysicalFontFace::IsBetterMatch(), which works on a match weighting system to figure out if the font face is, as the functions implies, a better "match" than the one already in the collection. To refactor this I created a number of static functions that return a match value for specific attributes to be matched upon Change-Id: If95b4ad7c5dcfabf34469cbce1260886e4674415 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122812 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-05tdf#124176 vcl: Use pragma once instead of include guardsChris Sherlock
Change-Id: I0bd1384df1f022bcd03e586bd9e380e432a46313 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122909 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-05vcl: test PhysicalFontFace and move to vcl::font namespaceChris Sherlock
- moved PhysicalFontFace.hxx to vcl/inc/font - added PhysicalFontFace to vcl::font namespace - had to regenerate precompiled_vcl.hxx - tested PhysicalFontFace, with some extensive tests for IsBetterMatch() Change-Id: I860022ac244f8a827f6f9cb7ed9018c5d9c328cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121970 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-05Check mpWindowImpl before use in Window::EndTrackingSzymon Kłos
Change-Id: I0a4ddd1b61f5919f346bb2f3a1e2ca9fbad958bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120860 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122108 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123098 Tested-by: Jenkins
2021-10-05remove useless '&& true'Luboš Luňák
Change-Id: I7ba14695171a832bf7e858cb17160861487fb3a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123096 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-05fix ubsan alloc-dealloc-mismatchNoel Grandin
after commit 503ab1ca9ae11978d9717557546c01ff598aaf88 Author: Noel Grandin <noelgrandin@gmail.com> Date: Sat Oct 2 16:28:56 2021 +0200 Use placement new to avoid one of the allocation calls... Change-Id: I2eb85c5c1be5d2eaf757d717f03873415e49c9a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123083 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-05tdf#144748 sw: fix crash at Undo of deletion with empty table rowsLászló Németh
When a table with empty rows is part of a bigger deletion, Undo of the deletion resulted a crash, because the deletion created extra redlines for the empty rows within the bigger redline. Regression from commit 9994120c8d0fe8c5a029390ad7411b99c18ff5c9 "tdf#144347 sw: fix tracked deletion of table with tracked content". See also commit 99059a1ececa3621c2fe46fabdd79eed9d626c42 "tdf#143359 sw: track deletion of empty table rows". Change-Id: I0e33e169c1ffe60022a6b66a6d70fdd9c0a9332a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123091 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2021-10-05ofz: detect infinite loopCaolán McNamara
Change-Id: Ifc3134401c4ed7c4b17faf282d191ad2bb778746 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123067 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-05configure: Fix libc version checkIsmael Luceno
Testing for gnu_get_libc_version isn't quite right (available before 2.1), and the feature macros were already present. The new test at least will fail for glibc < 2.1, but will pass on non-glibc systems. The buildsystem should be actually checking for some sort of compliance barrier instead, but this is a start. Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> Change-Id: I879278c2946c1fa5416da0407a949c8c4b2a8bf3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123006 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-10-05configure: Allow building on musl-based systemsIsmael Luceno
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> Change-Id: I64e9dea846f3753a91d87bb664af30d0790b5159 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123005 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-10-05sw layout xml dump: show width/height/length even for multi-portionsMiklos Vajna
The old SwPortionHandler-based approach doesn't handle multi-portions. Change-Id: I6702e7af3b9fe7e4c25692c22e8f35d9ab98f67a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123061 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-10-05try to merge rectangles already in AddPaintRect()Luboš Luňák
It turns out that e.g. adding a new line in Writer results in a number of paint rectangles that actually often line up and form a large rectangle. So try to detect these and merge them directly, resulting in less work for SwRegionsRects::Compress(). Change-Id: If89ae9463d9c80a1492431afd37bcedfd24bea2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123077 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-05fix broken SwRect corner gettersLuboš Luňák
BottomRight() wasn't equal to Point( Right(), Bottom()). Smart *sigh*. Change-Id: I0af1c018cdf10a4ff23d95752004e565b4102b13 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123076 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-10-05Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to 80e65e1d4c346cde0c056a2288dfc02c5aae8f92 - tdf#119891 Help page for scanner dialog Change-Id: Ic379a8c79504d74ea02126b96504214ee968aa1b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123081 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-05tdf#119891 Scanner dialog has no Help buttonOlivier Hallot
Added extended tips for the SANE dialog Help page will follow Change-Id: Ibf60eacb561fd65caa682bfa710e52b93b6148d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123080 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-05Related: tdf#144817 tdf#144335 Persist SwNavigator tracking settingsJim Raykowski
Add persistence to Writer Navigator Outline, Table, and Section tracking settings. Change-Id: If2d406d0540083d982c2e7ffb78b1a6e156817c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122874 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-10-04drop 'using namespace std' in l*Julien Nabet
Change-Id: I88909cf813f39a52c70d3cbcb19ff326d9bb42d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123069 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-04drop 'using namespace std' in sax/sc/scaddins/sfx2/shellJulien Nabet
Change-Id: I422a6d5b0151115203fd2d7c0fc5597903d3ec8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123064 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-04Related: tdf#143391 avoid creatinging a negative height for the scroll areaCaolán McNamara
this is similar to the case of IconViewImpl::CursorUp so presumably needs the same safety check Change-Id: Id1a79c27daabbf4e2077d46c3d14324695922ca1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123066 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-04Resolves: tdf#143391 scrolling by an entry height taller than visible areaCaolán McNamara
leads to use of a rectangle with a negative height. Drop the attempted optimization, of reducing the area to copy to the min required, if the area is already shorter than the height of the area to scroll. Change-Id: Ic17d3d017f5280d1f6b655a2fc61627f512849cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123065 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-04Update git submodulesChristian Lohmaier
* Update translations from branch 'master' to e8881fe8aa87f07547d433e9fbb82e0e768eb719 - update translations for master and force-fix errors using pocheck Change-Id: I1658b92ce4e7a15ad5539e5dcba48bfd1951744f
2021-10-04Bump Glade version for sanedialog.uiOlivier Hallot
Change-Id: I9d787d392d5582fdfbe1928c5e3918863f178260 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123058 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-04Fix typosAndrea Gelmini
Change-Id: Id88532da843e659d337f3529333a17a0c00c8328 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123050 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-10-04cid#1492313 Logically dead codeNoel Grandin
Change-Id: I2e3802881e5fde178dfc2f999b2ddb35923c221b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123055 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-04Add sal/config.h in preparation for patchChris Sherlock
The convention is that we need to add sal/config.h to the start of files. Made in preparation of movement of PhysicalFontCollection to vcl::font namespace and test class. Change-Id: I7768d9b4c7335f0d9feeba96f0dc67aaaaf8441e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122259 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-04loplugin:constmethodNoel Grandin
Change-Id: I56af10be5f1155db4c7f2190495fe036a9b4236a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-10-04We need com_sun_star_animations_AnimatePhysics_get_implementationTor Lillqvist
Fix crash in iOS app reported at https://github.com/CollaboraOnline/online/issues/3321 . Change-Id: I1b5fedb0d5db84cc3f6a75b52c29a39ebe7a6ed9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123046 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123047 Tested-by: Jenkins
2021-10-04Update git submodulesAndrea Gelmini
* Update helpcontent2 from branch 'master' to 54e30f4bb12626aad1d101d2de20a9b5df10770e - Fix typos Change-Id: I23fad13f1010360c5129358b929c4cabeab89f40 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/123049 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-10-04Update git submodulesRafael Lima
* Update helpcontent2 from branch 'master' to 60ed9a0af0790ab7c7ed13149d6f1da200b2470a - tdf#105601 Update Calc's Data menu documentation This patch updates the names of items in the Data menu. It also removes the link for Data Provider, which was previously removed in 24939a5b43b9fe889c3aace027c668666ff61987 The "Streams" page was also updated to inform that the feature is still experimental. Change-Id: Iccd6059e1c4f2203a3c64cc2b32c90eb281194dc Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122934 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-04Use isRepresentableInteger hereMike Kaganski
Change-Id: I8ba202232fa42765a8b04113639fdac4b5724aa2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122941 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-10-04tdf#144439: generate list format string on level changeVasily Melenchuk
Changed values for included upper levels should cause generation of new list format string. Same applies to outlines editing. Change-Id: I90e19d6b5169f68c83ae3e55ec41b9016623d8ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122590 Tested-by: Jenkins Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
2021-10-04tdf#144578: numbering: generate include upper levels for UIVasily Melenchuk
In spite of used list format in ODF for UI we still need to show prefix/suffix (already was there) and included upper levels (done in this patch) for correct visualization of level properties. Moved initialization of ListLevel to later steps to avoid overriding of generated values for prefix, suffix and IncludeUpperLevel by some invalid values. Change-Id: I5d132426c06021ed526d16fb09276523105aa7b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122686 Tested-by: Jenkins Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
2021-10-04tdf#144609: numbering "None" should still show prefix/suffixVasily Melenchuk
Unlike it was implemented in tdf#143605, prefix and suffix should be displayed anyway, we do not display only numbers. Moreover tdf#143605 did accidentally fix tdf#135164 in a invalid way. So this patch is also providing a better fix for it: untittest is already created and failing without it. Problem in tdf#135164 is inability to distingush missing level text (bullet char in given case) and empty ("") one. In first case we should use abstract level definition. In second - not. Change-Id: Ica3a714d22de4d2f14ebbcb12f0e1311dbc9b801 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122609 Tested-by: Jenkins Reviewed-by: Vasily Melenchuk <vasily.melenchuk@cib.de>
2021-10-04Update git submodulesAndras Timar
* Update dictionaries from branch 'master' to 6c9f1f6c2546d192d1a3b25d5f48d8081170e8be - Avoid duplicated pt_BR_pt_BR.properties in packaging's filelist Change-Id: I5ebb15f0a9f391fdf686ea7ebc7fba98c373b2a6 Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/123048 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2021-10-04Update git submodulesJohnny_M
* Update helpcontent2 from branch 'master' to f49393db3d21f7de379b589c253eb4eb6252cba9 - tdf#132643 Translate German section IDs Change-Id: I5abbe33292ea3ce25d78a7ca3bf161bd8feced38 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122986 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-10-04Related: tdf#141633 similiarly support match combo/listbox font sizesCaolán McNamara
to the desired zoomed font size in the table control Change-Id: Iaf3b004544fdb0311b6c67baad612ba648e8c546 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123043 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-04ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: If6ebf0fb1fa0e3db830ff9d22b1a90446bd3c2d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123039 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-04Pass shell's layout to getLayoutFrame hereJim Raykowski
Change-Id: Ic11d3c6105226059d79f6dd9ff4a2c117131a135 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122665 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-10-04[tdf#42982]Improve runtimeException's MessageVerne-Lai
Change-Id: Ieb1bc302c2c1093561082704e26e3ff3b648db91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122902 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2021-10-04Breeze: tdf#144637 update & fix table cell borderRizal Muttaqin
Change-Id: I84c5ff88298794b3ccbb883af1664fa93fcc9532 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123034 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2021-10-04tdf#144674 no context menu in SQL QueryCaolán McNamara
Change-Id: I3c6e9e7896da171d089579165f466b4b6e59a1a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123030 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-10-04sw: prefix members of SwFieldDataOnlyDlgWrapper, SwPtrItem, ...Miklos Vajna
... SwUINumRuleItem and SwWrtShellItem See tdf#94879 for motivation. Change-Id: I2b360aae78200fcc0a479ec76e895331c6a0e124 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123035 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2021-10-04tdf#144817 SwNavigator: Section tracking optionJim Raykowski
Add a check button to the section context menu in the content tree to turn section tracking on or off. Change-Id: Ib8c49626f31f41cf85818630d126dee98e1db809 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122844 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>