summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-13tdf#49247: draw soft edgesMike Kaganski
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 BP
* 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 BP
* 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 Kelemen
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 McNamara
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 Lillqvist
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 Vajna
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 Bergmann
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 Bergmann
...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 Bergmann
...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 Hallot
* 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 Gelmini
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 McNamara
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 McNamara
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 McNamara
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 Tietze
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 Grandin
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 Sherlock
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 Fauli
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 Bergmann
...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 Grandin
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ž Vajngerl
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 Bergmann
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 Lillqvist
(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 Fauli
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łos
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 Vajna
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 Grandin
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 Nabet
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émeth
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 Grandin
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 McNamara
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 McNamara
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 Grandin
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 submodulesLibreOfficiant
* 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 Castro
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 Lohmaier
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 Lillqvist
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 Lohmaier
Change-Id: Ia17d96dc31e86e8cce822c39f1e129a610ef0646
2020-05-13tdf#132757 UI: option to set Position Axis property of chartsTünde Tóth
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 Kaganski
* 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 McNamara
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 Fauli
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 McNamara
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 Vajna
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 Luth
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 Mehrbrodt
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>
2020-05-13aInfo should be usedTomoyuki Kubota
Change-Id: I6a62a65462fde741b3425f9095195c29924ce85c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94092 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13loplugin:unusedvariableplusNoel Grandin
Change-Id: I58a466ac18debafa3bc2ff31c648ff51e126ab8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94083 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-13gcc 10 also generates this clobber warningNoel Grandin
(specifically 10.1.1 is the version I have) Change-Id: I40fd720a9a75b809f24ca135c4ddb0ce61ecbe41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94056 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>