summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-12-05Replace list by vector for MailDispatcherListenerContainer_t (sw)Julien Nabet
Change-Id: Iac66ae6cb9f95133ef705850c246309db41872dc Reviewed-on: https://gerrit.libreoffice.org/45826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-05Add ServiceProvider "com.sun.star.sheet.RecentFunctions"Jens Carl
Add the type and functionality to make instance of ServiceProvider "com.sun.star.sheet.RecentFunctions". The ServiceProvider is needed to test XRecentFunctions UNOAPI and a fix for #i84761. Change-Id: Icbaf0c57f8bbada5adb11381ea50b34b8b263c2f Reviewed-on: https://gerrit.libreoffice.org/45636 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
2017-12-05gpg4libre: add gpgme config header where gpgme.h is includedThorsten Behrens
Also pull in config_lgpl.h in that case. Change-Id: Iae4e56ee8023066581c562c66305875a0fe15f37 Reviewed-on: https://gerrit.libreoffice.org/45809 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-12-05Dump page valid flags in dumpAsXmlTamás Zolnai
Change-Id: I6976a5128f9242627062394d7d24e854348d002b Reviewed-on: https://gerrit.libreoffice.org/45821 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-12-05assert(mnRangeOpPosInSymbol < MAXSTRLEN)Eike Rathke
We should survive that now.. Change-Id: I4cadfa788bda470ee08958347671d843522669e8 Reviewed-on: https://gerrit.libreoffice.org/45820 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-12-04Condition for definition of LastIdent must match condition for its useStephan Bergmann
Change-Id: Iccc58d396d8c80a717e9d33ed8d872aadea08afa Reviewed-on: https://gerrit.libreoffice.org/45829 Reviewed-by: Rene Engelhard <rene@debian.org> Tested-by: Rene Engelhard <rene@debian.org>
2017-12-04tdf#113876: fix hardcoded compare stringsAhmed GHANMI
Checks of listbox values are hardcoded in english so we replaced the hardcoded compare with "SwResId" function which give us the string in correspondant language and in addition with "startsWith" function we check if the string is in the listbox's item of user choice. Change-Id: I3cc23b43750c82672454aa6812dfad1437ede7fc Reviewed-on: https://gerrit.libreoffice.org/45812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-12-04silence coverity#1421122 Uncaught exceptionCaolán McNamara
Change-Id: I371951b0e5a0f8c6fe796ff94dc60e07944c3f0f Reviewed-on: https://gerrit.libreoffice.org/45758 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04add html to fftesterCaolán McNamara
Change-Id: I85c2ce10ff6142d04310f834b16b2ded474e7a34 Reviewed-on: https://gerrit.libreoffice.org/45814 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04tdf#113037 Watermark centered in DOCSzymon Kłos
Change-Id: I3b0383ef85f82c3076331026a49c0005f920ea61 Reviewed-on: https://gerrit.libreoffice.org/45804 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2017-12-04tdf#107601 Rename t-test to paired t-testHeiko Tietze
Change-Id: Ic67089eb591411d9aa8a57369d739bf096a799db Reviewed-on: https://gerrit.libreoffice.org/45393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-12-04tdf#39593 deduplicate code in ScOutputDatatagezi
Change-Id: I98fedf943e2e832d3171a3f2c88acb49acccaa2a Reviewed-on: https://gerrit.libreoffice.org/45255 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-12-04postprocess: only check-dynamic-objects if instset is createdMichael Stahl
People who use --with-system-libs will derive no benefit from check-elf-dynamic-objects. Since checking all SYSTEM_* variables seems unmaintainable, check if an instset is to be created as a heuristic that the build should be portable and libraries checked. This should run with no config changes at least on the tinderboxes; Jenkins builders don't create instsets. Change-Id: I2407429891210ea79917fc4d01a933ec661325b1
2017-12-04Add Plautdietsch [pdt-CA] to language listboxEike Rathke
Change-Id: Icf2307649858721a7cde38e8fa892fc3cb1ff08c
2017-12-04Updated coreShinnok
Project: help a624e855010b2e572f526d2b4b149c2baa6890a3 Remove confusing white space. Change-Id: I0f6e35f720c5744757f0ac804a9d780df23d1804 Reviewed-on: https://gerrit.libreoffice.org/45819 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-04Fail when building Win64 from cygwin32Thorsten Behrens
The gpgme libs need cross-arch windres support, which cygwin32 lacks. Change-Id: Icbe013cf7983754e8b485dd7368cfc10f8fd0bcb Reviewed-on: https://gerrit.libreoffice.org/45769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-12-04-Werror=unused-functionStephan Bergmann
Change-Id: I411a134daef6ad061ab54b300e379b882395905b
2017-12-04use LANGUAGE_ENGLISH_US for fuzzingCaolán McNamara
Change-Id: Ieca4b4d06e6e81fc8d2187ae5b92bd95b359f74b Reviewed-on: https://gerrit.libreoffice.org/45813 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04ofz#4526 Null-reference READ with openssl crypto backendCaolán McNamara
which is not the default backend Change-Id: I982e1b61c10efbe3312d68d90d48292a9b6cca0d Reviewed-on: https://gerrit.libreoffice.org/45794 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04tdf#83877 ODF extension to write signature linesSamuel Mehrbrodt
This adds a <loext:signatureline> element to draw:image if the image is a signatureline. Example: <draw:image xlink:href="..."> <loext:signatureline loext:id="..." loext:suggested-signer-name="..." loext:suggested-signer-title="..." loext:suggested-signer-email="..." loext:signing-instructions="..." loext:show-sign-date="true" loext:can-add-comment="false"/> </draw:image> Change-Id: I4d77acec528175fba66556661ab74462f5bd875f Reviewed-on: https://gerrit.libreoffice.org/45153 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-12-04ofz: allow std::out_of_rangeCaolán McNamara
Change-Id: I4d63214e3691e56816d66162660c243a7454e114
2017-12-04sfx2 android: fix -Werror,-Wunused-parameter warningsMiklos Vajna
Change-Id: Ib48144f5463248e8ceb6c979d1e2148893efa2ba
2017-12-04Fix typosAndrea Gelmini
Change-Id: Ief7ebd951212b9b4e1f8a7cde61ef50f1278542c Reviewed-on: https://gerrit.libreoffice.org/45796 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-04Related tdf#113696 Write fallback graphic for fodf files alsoSamuel Mehrbrodt
Change-Id: I2db10b6a3bf14837160a56813681ba40fa253447 Reviewed-on: https://gerrit.libreoffice.org/45777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-12-04tdf#97648 ooxmlimport: calculate percentage-based widthsJustin Luth
MSO seems to write 100% width horizontal lines with a "suggested" width of 0, so we need to calculate what the proper width is. A better fix would be to add "percentage-width" support to the shape class itself, but that complex enhancement is way beyond my abilities. Limiting the patch ONLY to shapes with an undefined width because it otherwise slightly increases the size of various other unit tests, and I'm not sure if those are desirable changes or not. The list of the unit tests is documented in the bug report. Change-Id: Ied80beca42a7513b8ea3b94b9c4ea9898e787200 Reviewed-on: https://gerrit.libreoffice.org/42128 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-04EPUB export dialog: fix wrong string contextMiklos Vajna
I forgot to update this after copy&paste. Change-Id: I5f060a602a35ee83bc3f2ff4898039bf347fe1cd Reviewed-on: https://gerrit.libreoffice.org/45784 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-12-04sw: prefix members of AuthorCharAttrMiklos Vajna
Change-Id: I9439c900ef2ec567cde105a3e7b8fe222ac1ccb6 Reviewed-on: https://gerrit.libreoffice.org/45780 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-12-04Honor GTK theming in LO flatpakStephan Bergmann
...according to alexlarson, for now (until "eventually we'll have a sane dconf in the sandbox") apps need to specify --filesystem=xdg-run/dconf, --filesystem=~/.config/dconf:ro, --talk-name=ca.desrt.dconf, --env=DCONF_USER_CONFIG_DIR=.config/dconf (where the first two are irrelevant for LO due to its --filesystem=host). This fixes <https://github.com/flathub/org.libreoffice.LibreOffice/issues/4> "Libreoffice flatpak is not respecting user theme". Change-Id: If5ed33e1b524bfa877b89f052c6067398b5600a3
2017-12-04Related tdf#113696 Unit test for Writer images fallback graphicSamuel Mehrbrodt
Change-Id: I2f14d6ab9a107f5b50ab0ec83019f86751dd79f6 Reviewed-on: https://gerrit.libreoffice.org/45778 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-12-04xhtml export: Prefer svg if it's availableSamuel Mehrbrodt
And not use the replacement graphic in this case. Change-Id: I5e1bb7a694f210e2681ff5acf241a131d38a4c5d Reviewed-on: https://gerrit.libreoffice.org/45782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-12-04Related tdf#72966 Provide replacement graphic also for metafilesSamuel Mehrbrodt
In 6b3cc69fd2b2de5ace68f2739eb383267d66f76f this was done for draw images, this patch also implements this for Writer images. Change-Id: I54f8142c3d22e1a356aedbcf2daf9d7a9b049423 Reviewed-on: https://gerrit.libreoffice.org/45673 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-12-04lokdialog: sc: Guard autofilter popup's LOK notificationPranav Kant
Change-Id: I8d39a701618926e35c84f200ac7e2ce66e62b8b7
2017-12-04lokdialog: multiview: Do not mix one view with otherPranav Kant
In GTV, use correct application window object to fetch the dialog object. Use correct view shell to notify window (dialogs, etc.) callbacks. Change-Id: I7d82b39d4522a4b4904e156757a032c342c71efb
2017-12-04lokdialog: Merge dialog & dialog child mouse event APIs into onePranav Kant
Change-Id: I91aaa6a58f33dd2d817e02533de96e0c8191f2ca
2017-12-04lokdialog: Rename postDialogKeyEvent -> postWindowKeyEventPranav Kant
Change-Id: I78b434106fbef153adde255d4fcc8f74a7169175
2017-12-04lokdialog: Simplify; make the LOK dialog API more genericPranav Kant
Merge the dialog floating window callbacks and function calls into one. Unique window ids across vcl::Window is enough to distinguish between them. Floating windows don't have a LOK notifier as they are created in the vcl itself (so we can't access them from sfx2). Use the parent LOK notifier in that case (which would be a dialog). This API should also help in autopopup filter tunneling later. Change-Id: I63a2c97ffdd84695dc967e14c793089a7c50b41b
2017-12-04lokdialog: Do not underestimate the dialog sizePranav Kant
Some of them like, EditStyle, can be much bigger. Change-Id: Iaad02fadba18846976b959369f06e2020feffc6f
2017-12-04lokdialog: Kill some code; use already existing method to paintPranav Kant
This is not require now in the new approach where the dialog is already created by the time paint request call for dialog happens. Layouting is already complete by that time. Change-Id: I610b050a268e61e8d4036aa7eb5766cf0c8b37e0
2017-12-04lokdialog: Allow closing a dialog from LOK clientPranav Kant
... and rename paintDialog -> paintWindow before it's too late. We not only render dialogs now but also popups. Change-Id: I6b1253c4d9be0c79199b683df4413658a461f850
2017-12-04gtv: Width, height properties should not be construct onlyPranav Kant
Change-Id: I2d1b29f52c1fe0449cf9afe47c509ef6250804a8
2017-12-04Adapt solenv/flatpak-manifest.in to recent download.lst changesStephan Bergmann
Change-Id: I74845d4cdab0f4769cb4970db12f3dfa09037c41
2017-12-04lokdialog: Execute all UNO commands asynchronously for LOKPranav Kant
Especially in case of dialogs, Online cannot afford to wait till the call to UNO command returns as the same thread is responsible for doing many more tasks as well. And just adding this check doesn't seem to have any repurcussions, so I guess we are fine. Change-Id: Iac7c1413d90e8a264502dcf2bc280e09fd52683b Reviewed-on: https://gerrit.libreoffice.org/45527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2017-12-04Updated coreMiklos Vajna
Project: help 19c8267824c96ce837140c7edf94b8ab0231a485 EPUB export: add documentation for new UI elements Change-Id: I716b035bfd15e770e6acb3016912c88d510e54dc
2017-12-04add mml fuzzerCaolán McNamara
Change-Id: If508e804da7ec945deb1034a797d3a11a7a2ca00 Reviewed-on: https://gerrit.libreoffice.org/45684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04gtv: Remember recently executed UNO commandsPranav Kant
Saves the recently executed UNO commands in a temp file and make it accessible to user in a combo box. Useful when debugging. Change-Id: Ic66961a388cc59dee3f65cb8d4de3c29a8a75eaa Reviewed-on: https://gerrit.libreoffice.org/45540 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk>
2017-12-04silence coverity#1405937 Uncaught exceptionCaolán McNamara
Change-Id: I40e9827f1ff2fb7f5121da95c4f502de11f3f612 Reviewed-on: https://gerrit.libreoffice.org/45760 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04tdf#113380: if the player doesn't exist,...Xisco Fauli
... use the same size as VLC does. See: https://opengrok.libreoffice.org/xref/core/avmedia/source/vlc/vlcplayer.cxx#167 Change-Id: Ib878ded6c8aacf3a04227ab9efaa59b388f8ff51 Reviewed-on: https://gerrit.libreoffice.org/43827 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-04tdf#112207: Allow assigning macros to ui elementsMuhammet Kara
* Adds "Macros" category to the categories list * Search/filter feature now works also on the macros category * Since macros category has multiple trees and subtrees, and many leaf elements (macros). I chose to implement the behavior like this: If there is no filter/search term, the trees will be presented as in the old macro selector dialog (collapsed), but if user types a search term, then filtering happens: non-matching elements and empty containers/(sub)trees are removed and everything is expanded so that user easily sees what (s)he is looking for. Change-Id: I1a93f156a7293c7e61baac882a10ff631961e2af Reviewed-on: https://gerrit.libreoffice.org/44938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-12-04EPUB export, fixed layout always means "split at the end of the page"Miklos Vajna
So disable split type on the UI, as it has no effect. Change-Id: Ia16e8050a732fce2f7881eee1b64e4487e843574 Reviewed-on: https://gerrit.libreoffice.org/45691 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-04EPUB export, fixed layout: fix spine namesMiklos Vajna
They are pages, not sections. Change-Id: Ifd72d5ebec1d372a9bd99653d849479a6ffb6bfa Reviewed-on: https://gerrit.libreoffice.org/45690 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>