summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-14Sukapura: tdf#132968 wrong folder icon actionsRizal Muttaqin5-3/+16
Change-Id: Iaee72a63a35a9bc4eb66958cfb02cd575fa1ca26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94110 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-05-14Update git submodulesStanislav Horacek1-0/+0
* Update helpcontent2 from branch 'master' to 56f9412fc9b447cf1035b0efcab621c41d5dcc32 - fix typos in MariaDB/MySQL connection page Change-Id: I23ffa6eb76c685bbf42a55298f91b613da5336ac Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94160 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-13Use statics initializers instead of checksMike Kaganski1-41/+36
Change-Id: I8c474a35e3c4b9a202e4003c6b895f18ac88fb09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94001 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-13tdf#49247: draw soft edgesMike Kaganski23-262/+437
This factors out the common code for blurring used both in glow and soft edges into ProcessAndBlurAlphaMask. Also this reverts commit a98bdbae459ad7341bf7f484c402e77e4062cd16, since its use was removed from VclPixelProcessor2D. Change-Id: Icd7fdb06bef3932ff3b9ce7e283b515b15d246a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94087 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-13tdf#132771 Update Progress Impress templateLaurent BP3-149/+117
* Update preview with Lorem 16:9 * remove language and country tags in styles.xml * add Asian and complex tags in content.xml and styles.xml * remove useless text page number in styles.xml * add one slide base on missing master page in content.xml * remove useless skewX tag Change-Id: Ib9326bb7968263c1eaeba9cc8fbc7b063c9599cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93936 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-05-13tdf#132771 Update Sunset Impress templateLaurent BP3-81/+184
* Update preview with Lorem 16:9 * remove language and country tags in styles.xml * add Asian and complex tags in styles.xml * remove useless text page number in styles.xml * improve compatibility with previous template * 2 horizontal lines on both side of title * sun rays * shadow of front rectangle * rotation of back rectangle Update: reindent Change-Id: I7ea513c5af056c5b1b85fbc9f2cefff345160e82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94014 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2020-05-13Fix translation domains in .ui filesGabor Kelemen25-25/+25
Found with bin/ui-checkdomain.sh Change-Id: I2a3ec2593b9ce0a19efced9020b95dff796e4702 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94153 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
2020-05-13fix oss-fuzz buildCaolán McNamara4-1/+12
Change-Id: Ia04a3e9c72c9b32f895c5925937d322f8dd963ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94135 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13Include the language code in the volume name of a langpack dmgTor Lillqvist1-1/+1
Makes it easier to see which is which in Finder if you have several mounted. Change-Id: I6e1f5cfc4db3ed6595ba14e515080b5ecc0ad688 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94120 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-05-13DOCX import: fix interaction between the crop and the wrap polygon of imagesMiklos Vajna7-8/+75
Word first applies the crop, then applies the wrap polygon on the remaining visible part of the image. Writer applies the crop on the original bitmap, and even has explicit code to make sure the uncropped bitmap is used for the wrap polygon, see how SwFlyFrame::GetContour() calls SwNoTextFrame::GetGrfArea(), which will extend the resulting size based on cropping. Fix the problem by moving and scaling the wrap polygon, so it ends up where it would in Word. Also adapt testFdo76803, which had a similar crop+wrap polygon case, but the different there is quite small. Change-Id: Iab2adaa81a33eb04e1806b17ed129ac50f5d2aa3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94149 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-05-13ENABLE_DBGUTIL=TRUE implies ENABLE_DEBUG=TRUEStephan Bergmann1-1/+1
Change-Id: I709561ba910ff2274a40e578412ecd7040886959 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94144 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-13Avoid -Werror=unused-variable with --disable-assert-always-abortStephan Bergmann1-2/+4
...as reported by e.g. <https://ci.libreoffice.org/job/lo_tb_random_config_linux/1977/> Change-Id: I57832496faf2377a4650a4b8c43bb3c62f6977ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94140 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-13Avoid -Werror=unused-variable with --disable-assert-always-abortStephan Bergmann1-2/+2
...as reported by e.g. <https://ci.libreoffice.org/job/lo_tb_random_config_linux/2228/> Change-Id: If6bc1105fd723f78dbcb36616371a823ee665611 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94132 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-13Update git submodulesOlivier Hallot1-0/+0
* Update helpcontent2 from branch 'master' to 3e0fb08cce8581d5d10fc5f0e44a26451bf5b794 - tdf#128519 Icon replacement table in build time As explained in tdf#128519, command <include> in XLST must have its href= hardcoded. Thus, copy online_transform.xsl and create links.txtx.xsl in workdir/ Change-Id: I979fd58f16a51ae6f57fc6f87349700eafdefbd7 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94082 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-05-13Removed duplicated includeAndrea Gelmini1-1/+0
Change-Id: I4919b787160dad755f13658f26cbe1fd3fd0fad8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94138 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-05-13surround switch is keyed on m_nControlClass so set directly to known true/falseCaolán McNamara1-2/+2
Change-Id: Ia1fa2439a88912a933bc90e3b16bea3b30a403f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94142 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13use gtk_widget_get_screen instead of cast + gtk_window_get_screenCaolán McNamara2-10/+7
cause the toplevel may not be a GtkWindow Change-Id: Iceb1fc9a5d0054a7a2aefa5ba2ad7a2572dbb4c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94134 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13add access to entry cut/copy/pasteCaolán McNamara4-1/+117
Change-Id: I4f84ccdc4490ae6190d02aca206f87133497bff9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94122 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13Resolves tdf#132435 - Font selection drop down too narrowHeiko Tietze1-1/+1
Showing 18 chars now Change-Id: If6482cd25c74c4fea9eefca76b4828eff0ede220 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94112 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2020-05-13fix ScriptEventContainer::isEmptyNoel Grandin2-5/+2
which was relying on the nElementCount field, which was not being updated. Just delete it and check the map. Change-Id: If543abcc7c1778a27675a1df69a54325024234b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94133 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13vcl: remove unnecessary ConnectedComponentList typedef (not a list anyway!)Chris Sherlock1-3/+1
Change-Id: If855e28ba8a6d86f069e66809f5607484e826e98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94131 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-13tdf#128245: sw: Add unittestXisco Fauli2-0/+14
Change-Id: Iff2d6d8120118c35aa6d3d44016a0a7c2e193ec4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94116 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-13Fix syntax errors in --with-webdav=serf codeStephan Bergmann6-9/+9
...introduced with de61e14d0b6ee90cb4d170af340275d811b9fbbf "compact namespace in ucb..uui" Change-Id: I58e24303e1e12db0a53d46acc2daef1faa2e4cf6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94128 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-13loplugin:unusedmethodsNoel Grandin23-295/+238
Change-Id: Id813d95a90fdbb360dfc8670c0b55b635f633965 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94125 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13vcl: move RawBitmap out of BitmapTools.hxxTomaž Vajngerl2-48/+66
Change-Id: I7bb645802718e1beac560bdcf574bf439c48765f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94126 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-13The -Wclobbered hack appears to be needed for all versions of GCCStephan Bergmann1-2/+2
What apparently triggers it here is a combination of --enable-assert-always-abort --enable-optimized --enable-werror See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95103> "Unexpected -Wclobbered in bits/vector.tcc with -O2" for a stripped-down reproducer. Change-Id: Ic2cff0e402290cd9fd67790168dc1183799e3f14 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94121 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-05-13The dmg needs more space also in the ENABLE_DEBUG caseTor Lillqvist1-1/+1
(Not something that is used when actually building for distribution, sure, but when testing.) Change-Id: I67410a8cd9627c5a2c19f58df4529a44e488c961 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94119 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-05-13CppUnittest: odfexport: assert pages in odf filesXisco Fauli3-0/+59
Also fodfexport and htmlexport Change-Id: Iba218f03cb3a0743c46d6312306819ea8e8e9693 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94115 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-13Move SalInstanceNotebook to header fileSzymon Kłos2-103/+127
Change-Id: Id14b6fca6f12f49691a621f636300f9da320834c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94097 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-13sw doc model xml dump: show wrap polygon of graphic nodesMiklos Vajna1-0/+37
It seems this is in mm100, counted from the pixel size of the underlying graphic, using the graphic's DPI. Fairly non-trivial, given the rest of sw uses twips. Change-Id: I10c1b6b5fbc231ebb9c4df9cd265424f2a2973bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94102 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2020-05-13expand out some namespace aliasesNoel Grandin17-355/+297
Change-Id: I5fdb554a1b116824843f35645bc1cea3ca91e0f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94093 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13Related tdf#132945: fix warningJulien Nabet1-5/+0
I noticed this log: warn:sw.uno:555419:555419:sw/source/core/unocore/unostyle.cxx:2303: error getting attribute from RES_BACKGROUND Git history provides: https://cgit.freedesktop.org/libreoffice/core/commit/?id=7a8ed362eb163ac15a000ba1cfc74b58315800a1 [API CHANGE] revert and deprecate *BackGraphicURL add *BackGraphic *BackGraphicURL include the following properties: - BackGraphicURL - FooterBackGraphicURL - HeaderBackGraphicURL - ParaBackGraphicURL This were removed, but for backwards compatibility this commit adds them back again and depreactes them in the UNO API. The behaviour also changes as internal vnd.sun.star.GraphicObject scheme URLs aren't supported so this properties can only be set and only if a external URL is provided. If getting such a property then a RuntimeException will be thrown. But why "MID_GRAPHIC_URL" wouldn't be dealt in SvxBrushItem::QueryValue whereas: 1) we got this code 2892 case MID_GRAPHIC: 2893 { 2894 uno::Reference<graphic::XGraphic> xGraphic; 2895 if (!maStrLink.isEmpty()) 2896 { 2897 Graphic aGraphic(vcl::graphic::loadFromURL(maStrLink)); 2898 xGraphic = aGraphic.GetXGraphic(); 2899 } 2900 else if (xGraphicObject) 2901 { 2902 xGraphic = xGraphicObject->GetGraphic().GetXGraphic(); 2903 } 2904 rVal <<= xGraphic; 2905 } => so dealt in 2895 "if" block See https://opengrok.libreoffice.org/xref/core/editeng/source/items/frmitems.cxx?r=e12fa18c#2892 2) MID_GRAPHIC_URL is dealt in SvxBrushItem::PutValue 2974 case MID_GRAPHIC_URL: 2975 case MID_GRAPHIC: 2976 { 2977 Graphic aGraphic; 2978 2979 if (rVal.getValueType() == ::cppu::UnoType<OUString>::get()) 2980 { 2981 OUString aURL = rVal.get<OUString>(); 2982 aGraphic = vcl::graphic::loadFromURL(aURL); 2983 } 2984 else if (rVal.getValueType() == cppu::UnoType<graphic::XGraphic>::get()) 2985 { 2986 auto xGraphic = rVal.get<uno::Reference<graphic::XGraphic>>(); 2987 aGraphic = Graphic(xGraphic); 2988 } ... See https://opengrok.libreoffice.org/xref/core/editeng/source/items/frmitems.cxx?r=e12fa18c#2974 Change-Id: I3ad42c4343d9875647cc8f01504da91b68fe220f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94010 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-13tdf#132807 DOCX import: fix top auto margin in listsLászló Németh3-6/+32
at paragraph style based numbering. See also commit 99b2d53346d4b01b491cd1f7fae3304ac0572e12 (tdf#132802 DOCX import: fix list bottom auto margins). Change-Id: I6bfea3ace5c94f9d45267e309a21ac8a97c20a37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94111 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2020-05-13options swapped in SwAccessibilityOptionsNoel Grandin1-4/+4
ever since commit d93f729bf463a5ad12e2c4a49e80fd7ff5622334 #100333# separate accessibility options from view options Change-Id: I54d2c6de98c5d4f0d760d18d3d219710c7d91de9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94094 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13move LongCurrencyBox to be toolkit onlyCaolán McNamara3-14/+13
Change-Id: I70ac2d521e5a6178483e4d44f2c63f826ddea168 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94106 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13weld bibliography EditBox control ItemWindowCaolán McNamara5-46/+104
Change-Id: I17859c10714afa387f47385d2abd8b8827770038 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94099 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13use std::optional for this error fieldNoel Grandin2-8/+11
otherwise when I add source/line to the uno::Exception in an upcoming change, the message becomes non-empty, and hasErrors() return true. I note that we throw SQLException in lots of places without a message, so it is possible that this change will cause us to notice errors we previously missed. Change-Id: Idf7c5b5143e20c992d8d7550043aa2ed875c78b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94108 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13Update git submodulesLibreOfficiant1-0/+0
* Update helpcontent2 from branch 'master' to 2b17a70d537af67d209187b8d280852254a4f755 - tdf#131416 syntax fragments tags cleanup - fixing malformed tags, to be used later on Change-Id: Id37f3b0055848eba9846add0efad61b7f434baa4 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93998 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-13lok: notify data change of the formatted field controlHenry Castro1-0/+5
Change-Id: I997ed1fb3900ab46e6182e529762bf5b04e82fcd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94076 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94091 Tested-by: Jenkins
2020-05-13macOS: don't hardcode LibreOffice in SDK directory, use $PRODUCTNAMEChristian Lohmaier2-2/+2
so that it will use LibreOfficeDev when not using --enable-release-build Change-Id: I60794ababce11355659d483197ce8b0193d375b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93817 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-05-13Remove some code that was commented-out ten years agoTor Lillqvist1-3/+2
Change-Id: Iead0a7e770a5533e3fe4585f76e343f0039328fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94105 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-05-13update creditsChristian Lohmaier1-1766/+1819
Change-Id: Ia17d96dc31e86e8cce822c39f1e129a610ef0646
2020-05-13tdf#132757 UI: option to set Position Axis property of chartsTünde Tóth10-25/+166
Follow-up of commit 40d83914d43f60a196dfabddea0b52e2046b333a (tdf#127792 implement UNO chart attribute MajorOrigin). Change-Id: I68c35a4552a3915c045036d1f0f38804a00b7093 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93566 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2020-05-13Update git submodulesMike Kaganski1-0/+0
* Update helpcontent2 from branch 'master' to 55d4e405d8dbdf58ba45823b3895e8a79e5a8aed - '\n' in replacement field only applies to Writer Change-Id: I2870a497dd57aa2c0141ac582591e7fdb4127b46 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94000 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-05-13weld bibliography ComboBox control ItemWindowCaolán McNamara5-53/+113
Change-Id: I6d944225188d2c4bdf36b5a9c730ab770d07a246 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94096 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13CppUnittest: ooxmlexport: assert pages in odf filesXisco Fauli15-0/+105
Change-Id: I3ea11ed9c2fa366e4f615df3c417c89758cbe4db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94038 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-13the returned awt::XControlModel is just used as a flagCaolán McNamara2-5/+5
Change-Id: I4167be9e6b14b6a3454652fed86e785c1ea0d4b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94074 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-13external: update pdfium to 4137Miklos Vajna6-32/+20
Change-Id: Ib7c12461e04fa97bf55ee967e8d6c9bcf92fdf4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94078 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-05-13NFC sw: cleanup and make RES_POOLTABSTYLE_DEFAULT consistentJustin Luth6-13/+13
It was introduced in 2016, and shortly thereafter many other styles were added using the full word TABLE. So make this one consistent since the eye just glances over the difference. In fact, in one place a comment even referred it it as _TABLESTYLE_DEFAULT. At first I was going to limit the change to just the one term, but the number of reference for everything was fairly small, so I just made everything consistent. Change-Id: I57cc0d081c4bbd5bcea872259065af483c94a334 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/82997 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13Increase max ppt levels to 10Samuel Mehrbrodt1-1/+1
ppt files created with PowerPoint 2013 have that many levels Change-Id: I51fd84c6462b7c8d77417c958469804eb10a0a8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94054 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>