summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-12-08sc-perf: avoid calling GetRowHeight() twice or thriceEike Rathke
It needs to be called once anyway so do it beforehand, but a second call for the previous row is only necessary if no other condition to add a row was met. A third call is superfluous. Change-Id: Id104cb608893f4d09a92733cf19342e3cb280dfd
2016-12-08sc-perf: call RowHidden() only once, tdf#98106 follow-upEike Rathke
Though it was only called twice if no other condition led to the row being added, but at least once anyway, so we can call it beforehand. Change-Id: Iff8dfa926b840d58b92ffec296febe4c2da8e5a9
2016-12-08loplugin:unreffunTor Lillqvist
Change-Id: I15d868892a3ea4eadd526a0d3371f9fea39910cf
2016-12-08loplugin:staticmethodsTor Lillqvist
Change-Id: I90bb57370853c7606304c721e294999626c2af01
2016-12-08Fix thinkoTor Lillqvist
Change-Id: I086028a42bd6d35bdefeb58fb11693da4bcff59b
2016-12-08The --enable-mergelibs option is not experimentalTor Lillqvist
Change-Id: I2a0671bf1c7c43cf250f36f480768f160b079eec
2016-12-08loplugin:staticanonymousTor Lillqvist
Change-Id: I046ab88e9bd4667e496a6525abc5d5f99cf162c2
2016-12-08loplugin:overrideTor Lillqvist
Change-Id: If654061dea2c78b6d1131cf9a4339ee21205bb82
2016-12-08loplugin:nullptrTor Lillqvist
Change-Id: Idb6bb5e42c1d2952e30a063a56ef7fecbc6924de
2016-12-08Introduce configure option fuzzingTor Lillqvist
When --enable-fuzz-options is given, those --enable or --with options that are separately so marked, and have not been specified explicitly at the configure command line (i.e. typically from autogen.input), are randomly set to either yes or no. This functionality is useful to make sure configure options don't bit-rot by randomly exercising uncommon settings and combinations. To enable fuzzing for an option, use libo_FUZZ_ARG_WITH instead of AC_ARG_WITH, or libo_FUZZ_ARG_ENABLE instead of AC_ARG_ENABLE. Also handle two cases of incompatibilty of options discovered by using --enable-fuzz-options. In general using incompatible options should cause an AC_MSG_ERROR(), but when one of the options in question has been set by fuzzing, it's simplest to just reset it to the compatible value. Obviously this is highly experimental. Change-Id: I76d250c148892951a7fda25ba4164de8bc693a26
2016-12-07sw: convert OSL_ENSURE to assert in anchoreddrawobject.cxxMichael Stahl
Change-Id: I9cce5acd2baca419bb430603b9fff34d6b6b3655
2016-12-07sw: convert some OSL_ENSURE to assert in anchoredobject.cxxMichael Stahl
Change-Id: Ie55fca8526f6a7e1f9bbbc05587812466bc17d67
2016-12-07sw: simplify SwContact::MoveObjToVisibleLayer()Michael Stahl
Change-Id: I8ebaf42ce9af6a4d28fceab2a1f68b4c8ab00b96
2016-12-07sw: remove some copypasta in SwFlyDrawContact with const_castsMichael Stahl
Change-Id: I95dbb8406c022fe05e4499bf865d4be7862b782f