summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2017-12-04EPUB export, fixed layout: remove old non-metafile-based page size approachMiklos Vajna
This was unused code. Change-Id: I7f728544127dc283cd74e4425e699d598caeae1a Reviewed-on: https://gerrit.libreoffice.org/45649 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-04EPUB export, fixed layout: disable DTD string in SVG headerMiklos Vajna
epubcheck complains: ERROR(HTM-003): test.epub/OEBPS/images/image0001.svg(5675,37): External entities are not allowed in EPUB v3 documents. External entity declaration found: %svg-extensibility.mod. and similar ones. Just not writing the DTD header is enough to address the error. Change-Id: I5307e932a0f07585297cce734aceae77e43cc7a6 Reviewed-on: https://gerrit.libreoffice.org/45648 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-04EPUB export, fixed layout: switch to a metafile-based approachMiklos Vajna
Trying to guess layout from flat ODF output is an approach that doesn't scale, think of complex documents with split tables, etc. Do it similar to the PDF export instead: take a metafile of each page and use the existing SVG writer to embed it into XHTML. Change-Id: I6e860834beb8025519d3e367f858077ae9e9c006 Reviewed-on: https://gerrit.libreoffice.org/45647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-04android: hackaround for rendering regression (disable charts)Christian Lohmaier
eba883c8a2ce045fc7bd3848d796ca10b7f4ba51 broke rendering in the Android Viewer - only blank pages were the result. This hack just makes the offending function a non-op, allowing the Viewer to render something to the viewer again. Change-Id: Iaa206ff92b2e7642cb921c8e2d61ffd930a59463 Reviewed-on: https://gerrit.libreoffice.org/45493 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-12-04Calculate print page ranges only when needed, cache in print stateTomaž Vajngerl
When printing or exporting PDF, we need to calculate the page print (cell) ranges for the current zoom level (document size). This is quite a expensive thing to do as you need to inspect the properties of individual cells. The calculation ideally needs to be done only once per printing request, but because of the rendering UNO API, this was done everytime ScPrintFunc was instantiated, which is for every page twice (once getRenderer is called and then when render is called). To fix this performance issue, the print page ranges need to be carried from one call to ScPrintFunc to the other. There already is a print state (ScPrintState) which is used for exactly that, but it didn't do this for print page ranges. With this, PDF export time in a test case decreased from 17 sec to around 3 sec. Change-Id: I97ade0e397960c5c98379e4bb28e57c5411ff757 Reviewed-on: https://gerrit.libreoffice.org/45689 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-12-04Convert from unique_ptr<bool[]> to vector<bool>Tomaž Vajngerl
Change-Id: Ie8b6a7bb3c3a624ece42bf57c93fe76f1f4ad3db Reviewed-on: https://gerrit.libreoffice.org/45688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-12-04Use print state when rendering a Calc documentTomaž Vajngerl
When rendering a Calc document with UNO rendering API for printing, PDF export, some data (like print X, Y sizes) can be passed from one ScPrintFunc call to the other to save us from some unnecessay recalculation and increase performance. This was used previously for preview, but not when rendering. This implements some missing functions in ScPrintFunc and implements the use of print state when rendering with UNO rendering API. Change-Id: Ic69dee99223961befb9b5dddf8ec5c268630bf79 Reviewed-on: https://gerrit.libreoffice.org/45687 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-12-04loplugin:singlevalfieldsNoel Grandin
Change-Id: I521d2efa641f3a14c48561e2e0f6d687e5807d93 Reviewed-on: https://gerrit.libreoffice.org/45662 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-04new loplugin salcall: remove unnecessary SAL_CALLNoel Grandin
In this first commit, I use the plugin to verify the consistency of our SAL_CALL annotations. The point being to make the next commit more mechanical in nature, purely using the rewriter. There are various chunks of unix-only code that have never had to be compiled by MSVC, hence the inconsistencies. In bridges, I had to inline some typedefs to make the verification code happy, since it cannot see into typedefs. Change-Id: Iec6e274bed857febf7295cfcf5e9f21fe4a34da0 Reviewed-on: https://gerrit.libreoffice.org/45502 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-04Replace list by vector for mvPostItFields (sw)Julien Nabet
Change-Id: I22009cd051a990cbc6e5f67a01958da889437840 Reviewed-on: https://gerrit.libreoffice.org/45759 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-04Remove arch-pinning for gpgme on Windows againThorsten Behrens
With e0d94237878d4949573fc9b6d97eea3146cada6d the dependency on gcc is gone, so we should be able to build on all cygwin flavours again for all Windows arch targets. Well almost - we still have windres on cygwin32 only able to produce pe-i386 targets, so let's exclude the case cyg32 and WIN64 for the moment. Change-Id: Ibe7f967585995586985177d4c36cc33d9850d9de Reviewed-on: https://gerrit.libreoffice.org/45422 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-12-04gpg4libre: pass windows arch down to windresThorsten Behrens
At least for cygwin64 windres, a wider number of cross-building targets are supported. Utilize that for getting suitable versionrc arch built, obviating the need to disable x86_64 on cyg32 and vice versa. Change-Id: I9770a3c1d6602a9747b5b3caa4961d66c471f4e4 Reviewed-on: https://gerrit.libreoffice.org/45763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-12-04gpg4libre: remove silly afxres.h / MFC dependency from gpgmeThorsten Behrens
Change-Id: Ibc74b89aca6a26952c27cd313f7c8203a507641d Reviewed-on: https://gerrit.libreoffice.org/45458 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-12-04Updated coreOlivier Hallot
Project: help d0dad7954d1432b998cb1f3eb9c74fb6a56d280f Add some entries in tree files plus a link address fix Change-Id: Ib73385d43b7c354b81265ad7aa06dec66df2763e Reviewed-on: https://gerrit.libreoffice.org/45762 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-04tdf#74693: Footnotes text appearing above footnote separator lineTamás Zolnai
When invalidate a footnoteframe, invalidate also the lower textframe, so it will be recalculated before text rendering. Change-Id: I5fd29bdad4afae4947e0701e5727482958453d03 Reviewed-on: https://gerrit.libreoffice.org/45756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-12-03Replace list by vector in fecopy (sw)Julien Nabet
+ use for-range loop Change-Id: Ib2d9d5208cbb884e000fad5e56fe4f17bfcd3a61 Reviewed-on: https://gerrit.libreoffice.org/45755 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03Replace some lists by vectors in sw/doc partJulien Nabet
Change-Id: If0ff7d8790824eae5701cca208761d3ee707eb58 Reviewed-on: https://gerrit.libreoffice.org/45747 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03Fix interface domain for notebookbar_groupedbar in scJulien Nabet
Change-Id: I72d5b9355a04d3bbcbba41122889d4e8d19b82c7 Reviewed-on: https://gerrit.libreoffice.org/45741 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03survive without config for fuzzingCaolán McNamara
Change-Id: I7fd64d984c7796c5260ec94c50b158278f55763d
2017-12-03Remove some useless include and usingJulien Nabet
Change-Id: I3a4fd9405913b0336c90f17c7b53769c87252f0f Reviewed-on: https://gerrit.libreoffice.org/45745 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03Use for-range loops in print2 (vcl/gdi)Julien Nabet
Change-Id: I13920afc28ac5bf4643aa545efe88488b8502e5d Reviewed-on: https://gerrit.libreoffice.org/45746 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03clang-tidy modernize-use-equals-default in swJochen Nitschke
also removing an odd Swap function in sw::util::Setlayer Change-Id: Ied4a4bb5a6ef3f6bdd29c40b19680600536407bc Reviewed-on: https://gerrit.libreoffice.org/45740 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-03Updated coreOlivier Hallot
Project: help 02367b1b1afa3c284fc2594c4791bd2037e927e2 New Help: improve bascode div css. highlight basic code background color Change-Id: I64df0dad9443704675dd4a26be943521bc993e97 Reviewed-on: https://gerrit.libreoffice.org/45751 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-03Updated coreOlivier Hallot
Project: help 862397faa8ea0e8b23d13fc1e929ebc8f2c15b3f tdf#84675 undocumented BASIC - tree files update Change-Id: I06ace765057fe5fa9b8add62d232c8c0cbaf23f5 Reviewed-on: https://gerrit.libreoffice.org/45750 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-03Replace lists by vectors in bootstrap (sal)Julien Nabet
Change-Id: I9e37a3794fd2880aadab53b7fad3051a4dd8d49a Reviewed-on: https://gerrit.libreoffice.org/45744 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03tdf#113980 Refresh row/column buttons state after selection changeMaxim Monastirsky
Change-Id: I21684ffe83d7b924e1d83c853ed4846e0db53c3b Reviewed-on: https://gerrit.libreoffice.org/45614 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-12-03loplugin:unnecessaryparenStephan Bergmann
Change-Id: Ie87cb60e2340a0bc21163b0b6c02ed0d2c6c3765
2017-12-03Use for-range loops in xmlexppr (xmloff)Julien Nabet
Change-Id: I65b20b98082db6cd2bda17f527f7ade7a1123a97 Reviewed-on: https://gerrit.libreoffice.org/45743 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03Updated coreOlivier Hallot
Project: help 8d6f11fb06d76847256dd9baff120a0e7ea5139c tdf#84675 Add vb* VBA constants documentation Added vb* constants as described in basic/source/comp/parser.cxx Change-Id: I7a811ab5ba9af741afc43f93a4e96e018deef826 Reviewed-on: https://gerrit.libreoffice.org/45748 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-03tdf#105268 - Auto Fill: Fix The Next Value for 001-001-001Daniel
Change-Id: If1d1a23afb6209c35092d7cd95235ea1699fe7fb Reviewed-on: https://gerrit.libreoffice.org/45262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-12-03fixed interface domain.Kiyotaka Nishibori
translatable strings in sd/uiconfig/simpress/ui/*.ui are extracted as parts of 'pot/sd/messages.pot'. the domains should not be 'sw' but 'sd'. Change-Id: I59bf51c5c329988c1c75cb82e518250ff1eccde7 Reviewed-on: https://gerrit.libreoffice.org/45588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-03Updated coreMuhammet Kara
Project: help 15aadcce29df899fab7c65f8809d8cef69c18b9e tdf#108967: Fix Help for Edit Index in Writer Change-Id: If07d9c355b249b3f07982188c9349bbdb703de5b Reviewed-on: https://gerrit.libreoffice.org/45703 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-03Updated coreOlivier Hallot
Project: help 3de74ecadfd9a7529e1b0b05352e42a829d3e279 tdf#84675 VBA functions documentation Plus some addition for Type statement Change-Id: I9a1aa6a948cd50181fba07c105a25d986b372d02 Reviewed-on: https://gerrit.libreoffice.org/45709 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-12-03require at least gtk3 3.18.0 to build and run gtk3 bitsCaolán McNamara
Change-Id: I02efb169ba1d0756d2d9c4b77c3c2b58e48c4a82 Reviewed-on: https://gerrit.libreoffice.org/45727 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-03Add mathtype to fftesterCaolán McNamara
Change-Id: If082fc85d943c5b2537800456dcebbce3cb10791 Reviewed-on: https://gerrit.libreoffice.org/45730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-03SotStorageStream->SvStreamCaolán McNamara
Change-Id: Id9b74f7c0dc2c688c1489960ba71a8c7c5675dba Reviewed-on: https://gerrit.libreoffice.org/45728 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>