summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-09tdf#104445: PPTX import: Extra bullets are added to placeholder textTamás Zolnai
Change-Id: I25ce98ed391f70292bed6238645b121b9cf50d5e Reviewed-on: https://gerrit.libreoffice.org/31771 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-08loplugin:nullptrTor Lillqvist
Change-Id: I5441a03edfb6f9b04705254f566e3fcc08046741
2016-12-08loplugin:staticmethodsTor Lillqvist
Change-Id: I9717f715762f6213836e2841e8521bec4509b096
2016-12-08OSL_TRACE -> SAL in sw..ucbNoel Grandin
Change-Id: I18f5511f70232d91095ac8527a6c5883c36294f5 Reviewed-on: https://gerrit.libreoffice.org/31762 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-08convert OSL_ENSURE to assert in AccessibleEventNotifierNoel Grandin
and fix the places that trigger it Change-Id: I97a04cff25ab5aa1d42c79a971d15ba742bf384e Reviewed-on: https://gerrit.libreoffice.org/31760 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-08verify that we hold the SolarMutex when ref-counting VclPtrNoel Grandin
Change-Id: If0c5a8c99f0f853c9ecad0f1a4a7299d69805b34 Reviewed-on: https://gerrit.libreoffice.org/31755 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-08tdf#104034 skip polygons with less than 2 pointsTomaž Vajngerl
We can get polypolgons with polygons that have 0 or 1 point only, so we need to guard agains division-by-zero errors by skipping if we detect such polygons (as we can't draw them anyway). Change-Id: Ia27fcde9467864b10572a78a848ea642a3559185 Reviewed-on: https://gerrit.libreoffice.org/31770 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-12-08sw: remove some inline version control in uibaseMiklos Vajna
Change-Id: I7125b6f8593cac2c33916341f5649f57044ad045 Reviewed-on: https://gerrit.libreoffice.org/31761 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-12-08-Werror=return-local-addrStephan Bergmann
(the first case with OUString would technically be OK, but better change all three of them) regression introduced with 0e4ca9b0cfe015f7ab3b964d1b90de7c2cba42de "Clean up uses of Any::getValue() in ucb"; thanks to tml for finding it via --enable-fuzz-options Change-Id: I79e70cff8d8b96e1eb6b0bacda52be06eb0f108b
2016-12-08Display a summary of fuzzing in command-line form at the end of configureTor Lillqvist
Makes it easier to reproduce a fuzzed configuration manually. Change-Id: Ief4df847f1f17c64607e6e5eaf402737bd50704b
2016-12-08model the WinOpenGLContext::isCurrent like the X11OpenGLContext::isCurrentCaolán McNamara
i.e. if !m_aGLWin.hRC then we're definitely not a current context Change-Id: Id35f75c19629a17b714edf6aa6628d8f5b2f8ced
2016-12-08Updated coreGabor Kelemen
Project: help 973fc93ec46a30b6aa57e6f328022ee79958a121 tdf#104146 Switch order of list items So that it actually makes sense. Change-Id: I2849bb34d769601c2d4167073e74e7236675f9f7 Reviewed-on: https://gerrit.libreoffice.org/31743 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-12-08tdf#104446: there can only be 1 condition for SUMIFJulien Nabet
Change-Id: I10b1e3880e79794b7f748882606d5c4101811d75 Reviewed-on: https://gerrit.libreoffice.org/31739 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Winfried Donkers <winfrieddonkers@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2016-12-08If dbus and avahi enablings are fuzzed differently, make them the sameTor Lillqvist
Change-Id: I4acd0e3fac55a0969bfa99e5a2621f3f77aba74d
2016-12-08the return from ImplInit *is* checkedCaolán McNamara
bool WinOpenGLContext::init(HDC hDC, HWND hWnd) { ... return ImplInit(); } rtl::Reference<OpenGLContext> WinOpenGLSalGraphicsImpl::CreateWinContext() { ... if (!xContext->init(mrWinParent.mhLocalDC, mrWinParent.mhWnd)) } etc. Another problem here is ... "If we notice that OpenGL is broken the first time being called, it is not too late to call disableOpenGLAndTerminateForRestart(). The first time this will be called is from displaying the splash screen" isn't true when the first start causes opengl to be disabled, then on subsequent starts you can enter this function from launching an opengl slide transition. (note opengl is disabled if opengl is < 30, so all the versioning checks the slide transitions do is probably pointless now. The only actually useful use of opengl we have seems to be somewhat unloved) Change-Id: I1e159f826447520f39ea063fd4c0c83220b1385f
2016-12-08oss-fuzz: disable-gui now worksCaolán McNamara
Change-Id: I8c9349299e67532c60fcd1e887fc0e33e45a29b8
2016-12-08RTF filter: handle user-defined document properties of type numberMiklos Vajna
Previously only strings were handled. Change-Id: I2452cbabf48bfaa9f1a3044be4b8cbe4aa9dd0d9
2016-12-08convert SFX_HINT to scoped enumNoel Grandin
Notes (*) In SC, BULK_DATACHANGED was or'ed into the hint id. Replaced with a dynamic_cast check. (*) In SC, removed the hint id field from ScIndexHint, no point in storing the hint id twice (*) Fold the SfxStyleSheetHintId enum into the new SfxHintId enum, no point in storing two different hint ids (*) In some cases, multiple #define's used to map to the same SFX_HINT value (notably the SFX_HINT_USER* values). I made all of those separate values. Change-Id: I990e2fb587335ebc51c9005588c6a44f768d9de5 Reviewed-on: https://gerrit.libreoffice.org/31751 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-08Retire the --disable-export optionTor Lillqvist
It was never fully implemented, and its usefulness is unclear. Change-Id: I86dee8ee6326bdfaa178260c76188261aef2fb4c
2016-12-08Try to fix a --disable-gui problemTor Lillqvist
Change-Id: I7fa187b0dea7f058f7486fe2c2e16693f21c063c
2016-12-08If we fuzzed --enable-compiler-plugins as yes but aren't using Clang, reset itTor Lillqvist
Change-Id: I4a910649ec6b4ec5f999e009802038457cf94363
2016-12-08Sigh, MSVC randomly doesn't like '= default' hereStephan Bergmann
Change-Id: I069838ac529335c7abc02d3a9f0deb6ff545f92a
2016-12-08non-closed ifeqCaolán McNamara
Change-Id: Ib6f29459644643f2471fcb912f45cd8632f61a31
2016-12-08build internal cairo without X support in --disable-gui modeCaolán McNamara
Change-Id: Id27fb0b0b25adebccc8ca2fa6182a483a0d0c1de
2016-12-08Replace manual acquire/release calls with rtl::ReferenceStephan Bergmann
...which also removes the need for a user-declared ScHeaderFooterTextCursor copy ctor Change-Id: Ida4ad4b3aef0865b40535f1fbf220ce5c44f2d47
2016-12-08these link libs are present twiceCaolán McNamara
presumably should just be in non-disable-gui case Change-Id: I1f02437293bcfc958b0b755763fccd81af114859
2016-12-08Avoid using uninitialized nCol, nRowStephan Bergmann
...when aIter.GetNext returned null; found by Valgrind'ing JunitTest_sc_unoapi_4 Change-Id: Ia94928f78d0512755ee6d788b0470dea34b2a9a7
2016-12-08tdf#88206 replace cppu::WeakImplHelper* in unotoolsJochen Nitschke
[needs 288386f6986622461f28276ff7ff3e7172143159 "Another 'Do not export whole class to avoid MS C++ implicitly exporting...'" to build with MSVC] Change-Id: I8de7c4a1947ce91f9a629536e481c012e7c5c7ec Reviewed-on: https://gerrit.libreoffice.org/31679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-08lokit: support password protected binary MS and OOXML documentsTomaž Vajngerl
Change-Id: Id7fa1f428d07271e71f3df962bd6718a35372389 Reviewed-on: https://gerrit.libreoffice.org/31730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-12-08tdf#102784 - Enhance git pre-commit hookMarina Latini
This pre-commit hook prevents the commit of ui files with tooltip_markup property Change-Id: I70d6f90fc36e782c290f35f0cc9415b9fa96495b Signed-off-by: Marina Latini <marina@studiostorti.com> Reviewed-on: https://gerrit.libreoffice.org/31735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr> Tested-by: Muhammet Kara <muhammet.kara@pardus.org.tr> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-12-08tdf#102784 Patch 1 - Enhance removetooltip_markups.sh script with checksMarina Latini
This is the first part of this heasy hack. The script parses all the .ui files checking the existence of tooltip_markup and tooltip_text properties. If the ui file contains a tooltip_markup property and the related tooltip_text one, it removes the tooltip_markup line and add the deletion in a log file. If the ui file contains only a tooltip_markup propery the script rename it via sed in tooltip_text adding the renaming in a log file. Change-Id: I1f027e11c7a2a91596511e2def5f4b850e14fad4 Signed-off-by: Marina Latini <marina@studiostorti.com> Reviewed-on: https://gerrit.libreoffice.org/31596 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: jan iversen <jani@documentfoundation.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-12-08SwRectFnSet: hide pointer-to-(member)function syntaxMike Kaganski
Change-Id: I700e51dbfe0768642d482556299407f8f198e998 Reviewed-on: https://gerrit.libreoffice.org/31709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-12-08xmlsecurity: clean up not needed C2U macro in xmldocumentwrapperMiklos Vajna
Also remove some auto-generated documentation that adds no useful information. Change-Id: I5e5c5dd6aaa3fb6953c38d6e82fa13737217c25c Reviewed-on: https://gerrit.libreoffice.org/31748 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-12-08tdf#54169 Don't show acclerators by default on WindowsAbhilash Singh
Change-Id: I2bdecae83ed23e4f6fff0be99b46005a6db43837 Reviewed-on: https://gerrit.libreoffice.org/31711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-08No OpenGLWrapper code in vcl if LIBO_HEADLESSTor Lillqvist
Change-Id: I2330661212dac11093d80e4ceb400f1efee0359f
2016-12-08No glxtest library unless USING_X11Tor Lillqvist
Change-Id: Ibcc0eeba9beaaeea86bdda5e0ea80e54c25621a9
2016-12-08Try to fix --disable-gui buildTor Lillqvist
Change-Id: I4f56b98f9475dd915fed10b67bb72dd12d859597
2016-12-08Fix -Werror,-Wunused-private-field in the DISABLE_EXPORT caseTor Lillqvist
Change-Id: I237a691ac6b7b3edcc7b2fbdfc36ed72ae46fe0c
2016-12-08loplugin:overrideparamTor Lillqvist
Change-Id: I9b70fbc344a02a058fbb7af694edad560244c930
2016-12-08loplugin:overrideTor Lillqvist
Change-Id: I57b5572d81e6da53d82fbbb6dbcb35c9802ec3f1
2016-12-08loplugin:nullptrTor Lillqvist
Change-Id: Id8fd27ed20bc67a49d6863b63b07cf1573733744
2016-12-08loplugin:staticmethodsTor Lillqvist
Change-Id: Ic65f024fd88915544539dedf3aa1c68a945cddd3
2016-12-08Indentation fixesMiklos Vajna
Change-Id: I35de0c30a3f4f82bc923e467d5f0acf0ed90684f
2016-12-08Non-inline virtual dtors of exported classesStephan Bergmann
Change-Id: I7b3597d48bf7b0196b98c869329d2fb1a46fa8f2
2016-12-08There is nothing called FmUnoIOStream or FmUnoOutStream hereTor Lillqvist
Change-Id: Icc85cbd952b82eae0c24b3c406e124575bf37b19
2016-12-08Another "Do not export whole class to avoid MS C++ implicitly exporting...Stephan Bergmann
...base template" (like a90d4d5f036ab7785ba72038936c6c8427b74ba8 did for OSLOutputStreamWrapper), in preparation for <https://gerrit.libreoffice.org/#/c/31679> "tdf#88206 replace cppu::WeakImplHelper* in unotools". Beats me why a solution like 4f918cd5daed963287805da761e6983a392ae050 "comphelper: give up on the XPropertySetInfos for now" apparently doesn't work there---almost feels like MSVC recursively treats as dllexport'ed all the (non- llim-/export'ed) base classes all the way down until reaching a template. Change-Id: Id42610e7fd5c5762dffdeb15623bfe3a37ec0aa6 Reviewed-on: https://gerrit.libreoffice.org/31732 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-08ImplWallpaper to use std::unique_ptrMark Page
Also remove ImplWallpaper::operator==, that does not make sense since members are unique Change-Id: I69d32d91ba33691eb1f86e70ce3c53fa2761e34b Reviewed-on: https://gerrit.libreoffice.org/31666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-08nit: s/plan/plain/Edmund Wong
Change-Id: I5797c46f9fc614d12166b7e1c27b94ed6e86010a Reviewed-on: https://gerrit.libreoffice.org/31744 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-12-08Updated coreGabor Kelemen
Project: help 88cdb657a8a2043f23e083f1a10bfc0f95d2d0ae tdf#93499 Better examples for similarity search No one shoud feel offended while reading our help. Change-Id: I14763604af35724e0d94d4de34da1c3a36fd727d Reviewed-on: https://gerrit.libreoffice.org/31740 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-12-07add a linux_random jenkins's distro config to be able to have a tb on thatNorbert Thiebaud
Change-Id: I203f5e7c4f78fe57a09373b944f0d58d8c3a5d05