summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)AuthorFilesLines
2017-03-09Remove stray CR from inputStephan Bergmann1-0/+1
...that remained there with recent Cygwin/Bash version, which apparently had changes to their Unix-vs.-DOS line end handling Change-Id: Ib4c7c924362f9e93066e544ed5214fe589aa5336 Reviewed-on: https://gerrit.libreoffice.org/34990 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 77779166569da389de44075b3d03413b353046a4) Reviewed-on: https://gerrit.libreoffice.org/35019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-12-08add Venetian (vec) ui languageChristian Lohmaier1-0/+1
Change-Id: I643eb91691dddf2c4ece2edb27383cb7dd0e3fdc (cherry picked from commit cc89cb56d51b4f43d999701ff97a89ff9fb5a31a) Reviewed-on: https://gerrit.libreoffice.org/31726 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-07-12opencl: OpenCLZone, detect CL device change and disable CL on crashTomaž Vajngerl1-0/+1
Guard OpenCL calls with OpenCLZone, so if a OpenCL call crashes we detect this and disable OpenCL so next time the user doesn't encounter the crash at the same calculation because he has a broken OpenCL drivers. Similar has been implemented for OpenGL with good results. Additionaly we persistently remember a known good OpenCL device ID and driver version so we can match this and perform calculation tests when they change. This is to ensure that the selected OpenCL device performs as we expect. In this commit the calculation tests aren't included yet. Remove complex static initializer in opencl wrapper library. Change-Id: I1a8b81ee31298731efcf63dc6a476955afc035e9 Reviewed-on: https://gerrit.libreoffice.org/27064 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit f41eb66302208f384a475fb20c98b6d1b0676cb6) Reviewed-on: https://gerrit.libreoffice.org/27099 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-06-29gbuild: recognize newfangled screen TERM=screen.xterm-256colorMichael Stahl1-0/+1
Seems to have changed from Fedora 23, where it was just "screen", to 24. Change-Id: I9078c337093d12d62e9afe10b1f02aaf346d4b43 (cherry picked from commit 4dcba01d97b72db35885c505e647425059740a4c) Reviewed-on: https://gerrit.libreoffice.org/26761 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-21tdf#89657 sign Mac languagepack installer and force-start-close LOChristian Lohmaier1-5/+13
starting LO once satisfies Gatekeeper's verification, even when the langaugepack's content are added afterwards Change-Id: Ie548df39a7ec07cc485c40148e4ca75101346798 (cherry picked from commit 78c7929ac4f03d90e956cc1052208c646feaabf3) Reviewed-on: https://gerrit.libreoffice.org/26528 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-06-17tdf#98955 hardware_concurrency not ideal for thread poolsAshod Nakashian1-0/+3
A new static member getPreferredConcurrency added to comphelper::ThreadPool to return a configurable max number of threads. By default the new function returns the hardware_concurrency value provided by std::thread. When MAX_CONCURRENCY envar is defined, the return value is limited to whatever is set there. Three call-sites that used std::thread::hardware_concurrency have been replaced with getPreferredConcurrency. Unittests added to cover the functionality of the new member. Unittests are capped to 4 threads. Reviewed-on: https://gerrit.libreoffice.org/26254 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 60e75fb276778459f6055360646d879b8c615d83) Change-Id: I3332e393a88a5ed436316fa712ed920a4b37f4af Reviewed-on: https://gerrit.libreoffice.org/26395 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-06-07shortcut the signal handler during batch testNorbert Thiebaud2-0/+6
Reviewed-on: https://gerrit.libreoffice.org/25178 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit 9d2f7be4e65595241db3cf5135b69bd9e4ce6a30) try to avoid 'by-design' solar-mutex deadlock during ci Reviewed-on: https://gerrit.libreoffice.org/25839 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit 6b3b352b06d92ef20194b9a992a521af2ef07b48) Change-Id: I7848555743e8d54e755dc82cbf0148eeed54110f Reviewed-on: https://gerrit.libreoffice.org/25978 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-05-25crash report lib should be part of mergelibMarkus Mohrhard1-0/+1
Change-Id: I23c338f9fcf7eeea4a440013ea6c1b9206e040f3 Reviewed-on: https://gerrit.libreoffice.org/25430 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-05-20remove more linking noise from VisualStudio buildNoel Grandin1-1/+2
Change-Id: Id6254b9b261e61e567ce3a557fa8e6cb30cfc3ae Reviewed-on: https://gerrit.libreoffice.org/25155 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-16rhbz#1327847 emit .desktop trans. in predictable orderDavid Tardon1-1/+1
Change-Id: Ib07e27a9df6a08868ea505e141e2526435d2a0ef
2016-05-11Enable Clang -Wimplicit-fallthroughStephan Bergmann2-0/+5
...now that all intended ones are marked as SAL_FALLTHROUGH. Change-Id: Ibc76299cdac0d33285a47b106e7a548a5efffcbd
2016-05-05Fix linking of 64 bit artifacts in 32 bit Windows build with VS2015Tomofumi Yagi1-1/+1
In some 64bit Windows environments we get the link error while building libraries for 64-bit Explorer extensions. This patch will fix this error. This error occours only when we build 32bit LibreOffice on 64bit Windows with Visual Studio 2015. In some environments UCRT SDK directory does not match Windows SDK directory. In that case UCRT library's directory path is incorrect at the linking phase. Change-Id: I245b1a70f5e1137a8840aa2e7a70f521eab18cb3 Reviewed-on: https://gerrit.libreoffice.org/23982 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-05-03Handle wchar_t as native C++11 type on windowsDavid Ostrovsky2-3/+0
The option /Zc:wchar_t- prevented to use wchar_t as a built-in type according to the C++ standard. In Visual C++ 6.0 and earlier, wchar_t was not implemented as a built-in type, but was declared in wchar.h as a typedef for unsigned short. Now, years later after the end of life this outdated toolchain, there is no reason not to use native type. The only issue could be the ABI compatibility. But on a quick look at least, it looks like none of the mangled C++ symbols in the stable URE interface actually depend on wchar_t. We forgot to get rid of /Zc:wchar_t- in 5.1. Do that for LibreOffice 5.2, though. Change-Id: I8d6b380660859efa44c83c830734978d31d756a0 Reviewed-on: https://gerrit.libreoffice.org/22589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-05-01tdf#99605 - add missing constructor methods.Mert Tumer1-0/+2
Change-Id: I338f129c14902e2fb98e4b961ce64c61f8633b29 Reviewed-on: https://gerrit.libreoffice.org/24561 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-28Revert "add additional modules to merged lib"Oliver Specht1-3/+0
Breaks tinderbox build in cppumaker This reverts commit 3393e04edd0f4f6baf5faeda2ed761332f45d9e5.
2016-04-29add additional modules to merged libOliver Specht1-0/+3
acc, expwrap and store are loaded at startup anyway Change-Id: I28020962238be3fe73a1b1dbba59a45c7d3c1e1d Reviewed-on: https://gerrit.libreoffice.org/23459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-04-26Enable Clang plugin warnings in Bison source codeStephan Bergmann3-5/+10
-Werror is generally suppressed in Bison-generated C/C++ code (as in all other generated code) to silence warnings from the Bison skeleton code. And the Clang plugins suppress warnings in generated WORKDIR code based on the presumed source location (i.e., taking #line directives into account). So introduce a new PLUGIN_WARNINGS_AS_ERRORS mode where warnings from Clang plugins are reported as errors even if -Werror is suppressed. That way, any warnings in the Bison skeleton code still do not lead to compilation errors, while (at least plugin- emitted) warnings in the genuine source code do. Unfortunately this cannot also be enabled for Flex source code, as at least Flex 2.5.39 generates poor code that does not properly prefix all skeleton code with appropriate #line directives, so that some skeleton code would be mistaken for genunie source code, and compilation would fail due to errors. Also, %glr-parser Bison input appears to generate no #line directives at all (at least with Bison 3.0.4), so all of connectivity/source/parse/sqlbison.y is considered generated code and plugin warnings are still suppressed throughout. Change-Id: Id746e81cbfa5f77628b0a34c7b82780948e7db08
2016-04-22gengal is not s script anymore so it is already signed on macNorbert Thiebaud1-1/+1
69858a99c9b566303551a1bff91172917c5d624f removed the script layer around a gengal.bin so there is no gengal 'script' anymore and gengal is a binary that was signed at link already. remove the exception that force a sign of gengal as a 'script' which caused an error due to re-signing. Change-Id: Ie22efceb8e5ab20018be784968487917c6f0a95e Reviewed-on: https://gerrit.libreoffice.org/24306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-04-18Enable further GCC 6 warningsStephan Bergmann1-0/+14
...not already automatically enabled through the existing -W switches. The set is assembled from information in <https://gnu.wildebeest.org/blog/mjw/2016/02/15/looking-forward-to-gcc6-many-new-warnings/>. All issues found have already been fixed with earlier commits. Change-Id: I1abb6ba3a12c0ffb2756d06476e395b24e596f8e Reviewed-on: https://gerrit.libreoffice.org/24219 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-16add VALGRIND_GDB also for normal unit testsMarkus Mohrhard1-0/+3
Change-Id: I1920ece6ca683403d72a68b6705da2dea7c9ad9b
2016-04-16fix crash in perfcheckMarkus Mohrhard1-0/+3
Change-Id: I8e053f5f0c6994c44485f61f5b3dc489271b8c5f
2016-04-15disable MSVC warning C4091Michael Stahl1-0/+4
With MSVC 2015 it is triggered by odd code in Windows 8.1 SDK DbgHelp.h and imagehlp.h. Change-Id: I8694e4598fa8e3a6d6c6e8a0f94429af16f40c6b
2016-04-13Also dump registersStephan Bergmann1-1/+1
Change-Id: Ibff54fcbcf1bbd96a32ec48923b57eaa71a3ca1a
2016-04-11Get rid of _XPMPRIVATEStephan Bergmann3-3/+0
Change-Id: I37396cfe303bdc17520a69ee7cbdbdbc219eea1c
2016-04-11Get rid of _XBMPRIVATEStephan Bergmann3-3/+0
Change-Id: I4e2cd2d98299ee0b25e05b8a96fb8c3b8390b66d
2016-04-11Get rid of _GIFPRIVATEStephan Bergmann3-3/+0
Change-Id: I3e6b8d424c460987f7a6269ad035ecaeafe48366
2016-03-27mkdoc_portal: fix issue with main doc page generationNorbert Thiebaud1-5/+13
Change-Id: I64fd0e7c9a574b0ed8164ca6faaf589a2ed83ed5
2016-03-27typo in doc generation makefileNorbert Thiebaud1-1/+1
Change-Id: I1eca853d05beb4968795cc272ef57f5791a1dc20
2016-03-22android: add constructor functions that fell victim to tdf#74608Christian Lohmaier1-0/+5
various changes to add constructor functions for UNO component implementations (see tdf#74608) caused those to be "invisible" to the android viewer, as solenv/bin/native-code.py determines what's available in the android lib. This change adds back the nimimal required ones to allow opening (basic) documents again. Change-Id: I8e6ef6d42dd566f94c5133bab1d6e5d6f465e118
2016-03-16coverity#1356338 inline markup didn't workCaolán McNamara1-1/+1
Change-Id: I8b1bb924afe13a034125c892205aae8167a10bd1
2016-03-14script/makefile to build doxygen docs in parallelNorbert Thiebaud5-0/+5030
Change-Id: I6b56ac08db71eb354e0b2d57913e6e78d2652877
2016-03-10Avoid reserved identifiersStephan Bergmann1-7/+7
Change-Id: I6275327a1b079f8cc0939e608dbbaff544ab05b0
2016-03-09Fix unrecognized -Wv:18 option for clang-cl on MSVC 14.0David Ostrovsky1-2/+10
Change-Id: I4ac94475b663c1ec1f5148b766a81a31adb1d49e Reviewed-on: https://gerrit.libreoffice.org/23038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-07drop handling of templates in SrsTargetDavid Tardon3-148/+0
Change-Id: I5445837ec4f647e91fe2aeab1251e48628f5e7f1
2016-03-05vs2015 spam C4267 even in 32 bits mode, silence it for now.Norbert Thiebaud1-2/+2
Change-Id: I55ba6e9c51a5bbfc366a36e8e0baef9cf05d5bbc Reviewed-on: https://gerrit.libreoffice.org/22933 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-03-04clang-cl: Enable more warnings etc. (like in the Clang/GCC case)Stephan Bergmann2-2/+20
Change-Id: Ia1fb09b89d3ccc3c7f4a11799f0d8eac99c6c7a9
2016-03-04harden OS X code signing script (handle spaces in bundle name)Andras Timar1-9/+10
Change-Id: Icf9bdcd0bcd988d32477cf9ab7f8d917ff6a2275
2016-02-27MSVC 14.0: Fix building 64bit libraries in 32bit modeDavid Ostrovsky1-1/+2
Change-Id: I006d21b6240898cbaed2b382276654d3ad8076a2 Reviewed-on: https://gerrit.libreoffice.org/22732 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-02-25Avoid hard-coded perl path, check with envcoypu1-1/+1
Change-Id: If39a4991b487b14d21572d6e3d785df4c287f190 Reviewed-on: https://gerrit.libreoffice.org/22238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-23quiet down mkdocs.sh on consoleNorbert Thiebaud1-1/+1
Change-Id: Ibf1cc6dcec3909f8aa639e52a13c2b8641c28628
2016-02-21windows: silence new warning for nowNorbert Thiebaud1-1/+2
Change-Id: I10b3269e3ac81f0c7e3fa60229e2b1e3fcab512b Reviewed-on: https://gerrit.libreoffice.org/22590 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: Jenkins <ci@libreoffice.org>
2016-02-21Force pdb write synchronization on all MS compilersDavid Ostrovsky1-8/+3
Change-Id: Id367ad150fa50cb3ed4d32cb5c7c8408f91e371a Reviewed-on: https://gerrit.libreoffice.org/22544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-02-18gbuild: AutoInstall: rewrite scp2 file generation in PythonMichael Stahl2-70/+105
Much more readable. Change-Id: I87c696e3f2f17a98c83eab9ed8149b79902be0fe Reviewed-on: https://gerrit.libreoffice.org/22431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-18solenv: use html files for doxygen, not xhtml filesChris Sherlock2-2/+2
Change-Id: I2dd6e80698818f2a02e63cf91a72fe8c08b2265c Reviewed-on: https://gerrit.libreoffice.org/22453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-17use consistent #define checks for the Windows platformNoel Grandin1-1/+1
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-17gbuild: AutoInstall: Packages in ooo module run into 8k Win32...Michael Stahl1-0/+16
... command line limit, so use try to use $(file) on that platfrom while preserving the existing echo code for Macs. Change-Id: I65e3f6b082df201830fa16375a9fad407cff8085 Reviewed-on: https://gerrit.libreoffice.org/22409 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-16gbuild: add missing commas to fix build with make < 4.0Michael Stahl1-2/+2
(regression from c33fb4828e2fda2648f11614a20ce0172d4af3db) Change-Id: I8d20343401cab13a3b6721d0d3016edaeb7dd898
2016-02-16gbuild: yet more substitution for AutoInstallMichael Stahl1-9/+13
Pyuno creates packages with a "/" in the name, so need to escape that too. Since it's getting a bit repetitive facotr out a function to do the escaping. Change-Id: I4481d6a291b384390723a04e3e82615e73edc7eb Reviewed-on: https://gerrit.libreoffice.org/22392 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: Jenkins <ci@libreoffice.org>
2016-02-08Fix typosAndrea Gelmini1-1/+1
Change-Id: I4586168d3af81f047a4ded59fc6d257f17554885 Reviewed-on: https://gerrit.libreoffice.org/22194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-02-05solenv: fix mkdocs.sh to take into account projects with no inc dirChris Sherlock1-4/+3
Change-Id: I959279c11f0ae5f372936ee3db605716cab37c21