summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
2016-12-20bodge linking for disable-dynamic-loading caseCaolán McNamara
Change-Id: I5c1c6cae8d2f179a68e0c6e11e89c7c947e4b479 Reviewed-on: https://gerrit.libreoffice.org/32229 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20use new ENABLE_NSS for code which needs nssCaolán McNamara
which isn't available on a static-only build (iOS and fuzzing) and android Change-Id: I99bb7c0b45d4499579ddf73f469a762ddcae99ab Reviewed-on: https://gerrit.libreoffice.org/32182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20sanitze->sanitizeCaolán McNamara
Change-Id: I1b94438e43df6f1f8f7774d9e86f415785e60284
2016-12-20gdb pretty printers: fix the SwXTextCursor::Impl one even moreMichael Stahl
Turns out that commit 30f3315d52df22716c086836c41465a6c4cb98b5 has removed the SwClient there a long time ago, and the SwUnoCrsr was also renamed... Change-Id: I92932130c5adbea530c39557932efce70c9f75e7
2016-12-20gdb pretty printers: fix BigPtrArray printer for member renameMichael Stahl
Change-Id: Ia9da0c0931a01b2c99c24420a9ba603b47a711c1
2016-12-20gdb pretty printers: fix SwXTextCursor::Impl printer for SwClient renameMichael Stahl
Change-Id: Ief136f57ce60bde1faa0603961aa775967621fbf
2016-12-20gdb pretty printers: fix SwPaM printer for Ring member renamingMichael Stahl
Change-Id: I605e4e972468165e7f5d21681b6e7eeb228dfdc9
2016-12-20bootstrap building with --disable-dynloading on standard linuxCaolán McNamara
Change-Id: I5baf70f0053612cba8b74f54aff11ce25cdeb95a Reviewed-on: https://gerrit.libreoffice.org/32202 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-19uitest: help on windows with the debug outputMarkus Mohrhard
Change-Id: Id22412389f3de2c9923887fd99a3e1c6860e1f33
2016-12-19initial support to build with --disable-dynloading on standard linuxCaolán McNamara
Change-Id: I25dd59b5a12e91ee492508a77a80a69f16912b62 Reviewed-on: https://gerrit.libreoffice.org/32193 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-19lets always have at least dbtoolsCaolán McNamara
Change-Id: I72f768ad760fd9fa1e3ec988e5217672bca9c824 Reviewed-on: https://gerrit.libreoffice.org/32175 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-19forms is disabled without HAVE_FEATURE_DBCONNECTIVITYCaolán McNamara
Change-Id: I6ee4993ec65ba60234daf3e6fcc4cab432939f5f
2016-12-17split out inability to have nss as HAVE_FEATURE_NSSCaolán McNamara
Change-Id: Ie9fa0291117ba81529cc396f96f3f02c4a7e4d79 Reviewed-on: https://gerrit.libreoffice.org/32093 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-17More blind fix attempt for MSVCStephan Bergmann
Change-Id: Ic3374bbf71cd7975ce1523a5a9ab47e57f5aad51
2016-12-17More blind fix attempt for MSVCStephan Bergmann
Change-Id: I023d79c0d8928d8b43df67996ca4eb9dc6bfb25e
2016-12-17dba_ORowSet needs HAVE_FEATURE_DBCONNECTIVITYCaolán McNamara
Change-Id: I35c2121069c2bcf72f6a4db66ea0703b17f96a50
2016-12-17also read Library check targetsBjoern Michaelsen
this should fix libscqahelper ending up with a wrong MAKEFILE, which then confuses gbuild-to-ide Change-Id: Ibf030b3d9dbf3ba92b7e119e847d7cd6104dedb2 Reviewed-on: https://gerrit.libreoffice.org/32107 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-15Try to fix Android and iOS buildTor Lillqvist
Fix what probably is fallout from a7c35729e00f18f79156b3f8f57472506f786074. Just bypass all of xmlsecurity for Android and iOS. At least the iOS demo app, TiledLibreOffice, builds then. Change-Id: Ibc9486c0d67d1aeafa08932809b23ceeb9b5c2f3
2016-12-14solenv: adapt SwPositionPrinter to BigPtrEntry renamingMichael Stahl
Change-Id: I096211333c563b501627fef0dbdec8c3c98d501a
2016-12-14update to gbuildtojson for osxjan Iversen
Added extra gb_ macros, which seems to be used only for osx Removed second jurt in BLACKLIST (assuming it is not like "not not True") Change-Id: I989eb2e6de6f0edde7902b51f829442bd598eec2
2016-12-14Don't leak .png files into tmpKatarina Behrens
Temp directory created by copy_images (which contains copies of .png files from any given icon-themes folder) was left behind. Happening at least since commit 4e3dc8c141c2efd037c1f214b5edff071812b6a8 Date: Fri Jun 3 17:09:14 2016 +0200 remove use of Archive::Zip With packimages.pl now used to package also screenshot images (in multiple languages), tmp fills up quickly. This is fatal on Windows Change-Id: Ie35c33277a80ed9085815f30b846bb97a365afb1 Reviewed-on: https://gerrit.libreoffice.org/31947 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-12-12Remove some not used SCPDEFSMatúš Kukan
Change-Id: Ib85895c21cef9baeccc468b476cbd8170ee4c9ce
2016-12-09Fix removal of the temporary dyldpathfileStephan Bergmann
Change-Id: I2a4efc9ade69ab53da81c72528e18ecb99e99757
2016-12-08Retire the --disable-export optionTor Lillqvist
It was never fully implemented, and its usefulness is unclear. Change-Id: I86dee8ee6326bdfaa178260c76188261aef2fb4c
2016-12-07tdf#97803: gbuild: Check that every package is registeredMatúš Kukan
Change-Id: Idedad62ac28804f4725d6bda2f4633ed79c01535 Reviewed-on: https://gerrit.libreoffice.org/31571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-12-06Make the CPPUNITTRACE="lldb --" thing work again (on macOS)Tor Lillqvist
It doesn't seem to work (any longer in 10.12) to pass DYLD_LIBRARY_PATH in the environment to the process to be run under lldb. We need to make lldb execute an explicit 'settings set target.env-vars' command. Use a temporary file to pass that command. I could not figure out where to call the gb_CppunitTest_POSTGDBTRACE macro I define, to remove the temporary file, sorry. Help appreciated. Change-Id: I46bd05f14623639e6ce10112b92ef497cdbb0755
2016-12-05for oss-fuzz check LDFLAGS for -fsanitize tooCaolán McNamara
Change-Id: I3de0776060c88c3f5705c67ea32ea1843876553e
2016-12-05loplugin:unnecessaryoverride (dtors)Stephan Bergmann
Change-Id: Ia38672028668959bf3d5541fe4ddb9fb72848617
2016-12-05make passstuffbyref plugin ignore std::move'd paramsNoel Grandin
request from vmiklos Change-Id: If263beb0623d725e406003bb1660df10fe4b4e35 Reviewed-on: https://gerrit.libreoffice.org/31555 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-04gbuildtoide: builddir is not necessarily same as srcdirChristian Lohmaier
Change-Id: Ied9f9abcc75f2edcd518ac247907f573aa21f35e Reviewed-on: https://gerrit.libreoffice.org/31158 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-12-02No component condition for a package file listMatúš Kukan
This is to fix a build after 67398a8d9746dbed743beb702a8cff2eac2bbf99 No idea if packages should contain conditions too, but at least gid_File_Bin_UnpackUpdate did not. Change-Id: I56e1b23f6eeca9c62cdadd8d93de6ccda89b20c4
2016-12-02Remove space at end of comment lineStephan Bergmann
Change-Id: I37ee0cc58614dbf56a67a2bf0b08d3bf85d34ea7
2016-12-02Remove unnecessary -wdXXXXStephan Bergmann
...that no longer trigger any warnings with the current code base under MSVC 2013 and beyond Change-Id: I14cad441518134f7c4321fdd132e0ff049d3b1b9 Reviewed-on: https://gerrit.libreoffice.org/31495 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-01gbuild: replace -O0 with -Og for GCC --enable-debug/dbgutil buildsMichael Stahl
With Fedora 25 GCC 6.2.1 and my usual config (except without --with-package-format since that is slowest now) on commit 086631af59636cd9a6a45b747a1bc59b4b547794 i get with CCACHE_DISABLE=1: With -O0: "make check" 44490.70user 3127.01system 1:15:23elapsed 1052%CPU (0avgtext+0avgdata 2541312maxresident)k "make check", incremental 7368.19user 153.98system 15:30.06elapsed 808%CPU (0avgtext+0avgdata 510200maxresident)k "make CppunitTest_sc_functions_test" 272.13user 0.65system 4:33.47elapsed 99%CPU (0avgtext+0avgdata 258884maxresident)k With -Og: "make check" 46076.01user 3170.91system 1:16:19elapsed 1075%CPU (0avgtext+0avgdata 2613716maxresident)k "make check", incremental 5478.33user 157.07system 11:50.42elapsed 793%CPU (0avgtext+0avgdata 454980maxresident)k "make CppunitTest_sc_functions_test" 188.48user 0.62system 3:09.59elapsed 99%CPU (0avgtext+0avgdata 259096maxresident)k So we now have so many tests that the time taken by GCC doing optimization is brought back via the tests finishing faster, particularly if we assume a non-negligible ccache hit rate for developers in practice. Add this to gb_DEBUG_CFLAGS instead of gb_COMPILERNOOPTFLAGS because presumably the bridges code that uses gb_COMPILERNOOPTFLAGS really wants -O0; the gb_DEBUG_CFLAGS is added later so -Og overrides -O0. It is an open question how well debugging in gdb actually works with -Og, some experimentation is needed; "man gcc" claims: If you are not using some other optimization option, consider using -Og with -g. With no -O option at all, some compiler passes that collect information useful for debugging do not run at all, so that -Og may result in a better debugging experience. Change-Id: I103499f398b69397cf5aa9993a242680966ce999 Reviewed-on: https://gerrit.libreoffice.org/31334 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-12-01tdf#97803: gbuild: Check that resource targets are registeredMatúš Kukan
And replace gb_AllLangResTarget_ALLTARGETS with gb_AllLangResTarget_REGISTERED which should have the same content and is already used. This actually helped to find a problem, fixed in 52d409f0d657f314a53f945c9ffb5b8025bea034 Change-Id: Iae551d7be221c5655dee1bc9ad273c8822d45178
2016-12-01fix cross-toolset: gb_Helper_optional_for_host can't contain 'newline'Matúš Kukan
Otherwise, the 'newline' is passed as a second parameter to gb_Module_add_moduledir which breaks build. :/ Change-Id: I02eba5ddef9f7a6dccbb7d135a7e8c68629da9c4
2016-11-30gbuild: Prevent wrong use of gb_Helper_optional_for_hostMatúš Kukan
It's empty, unless gb_Side=build. This fixes commit 1193443b15b0e38cbfb41573b31acf9a8d90ce2c Change-Id: I83efad36d8f40c460d09ee1bd1addd7fb26c177b Reviewed-on: https://gerrit.libreoffice.org/31419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-29loplugin:vclwidgets check for assigning from VclPt<T> to T*Noel Grandin
Inspired by a recent bug report where we were assigning the result of VclPtr<T>::Create to a raw pointer. As a consequence, we also need to change various methods that were returning newly created Window subclasses via raw pointer, to instead return those via VclPtr Change-Id: I8118e0195a5b2b4780e646cfb0e151692e54ae2b Reviewed-on: https://gerrit.libreoffice.org/31318 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-28de-blacklist writerfilter from gbuildtojsonBjoern Michaelsen
Change-Id: Ic3454a1fb7f32998ba468273ae7265ea7814debd Reviewed-on: https://gerrit.libreoffice.org/31310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-28add cppunit tests to gbuildtojsonMarkus Mohrhard
Change-Id: I655190464e2b4289f5c51b194821f9288272d301 Reviewed-on: https://gerrit.libreoffice.org/31271 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25fix around cornercases with cxxobjectsBjoern Michaelsen
Change-Id: Ibd5dad8ca69fa952e4751af961ad957017fbbe40 Reviewed-on: https://gerrit.libreoffice.org/31181 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25rename foo target to something more meaningfulBjoern Michaelsen
- also use gb_Helper_MISCDUMMY were possible (this might fix the 'circular deps' warnings Change-Id: I419f39973b5c785c1d8ccba9f8ed75a77f08ffa2 Reviewed-on: https://gerrit.libreoffice.org/31117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25store makefile for targets in json tooBjoern Michaelsen
Change-Id: Iae2f497da5d0ee4f8961a5655573e45a562dd76d Reviewed-on: https://gerrit.libreoffice.org/31116 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25use gbuild prefix for tempdirsBjoern Michaelsen
Change-Id: Icc262c51fd70ae35b44722be8d4ab767b69ae2a8 Reviewed-on: https://gerrit.libreoffice.org/31094 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25rename the core parts of this from gbuildtoide to gbuildtojsonBjoern Michaelsen
- the json stuff is universal and not limited in use to IDEs - the IDE stuff should keep its gbuildtoide name Change-Id: If4f190fc6dffba219334d57a53c826515ed57c34 Reviewed-on: https://gerrit.libreoffice.org/31093 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-25Revert "Revert "improvements to gbuildtoide""Bjoern Michaelsen
This reverts commit ab9c578ed17cfd9c9a49f22d83f33b0546faedba, except for the problematic copy-all-SRCDIR top-level test. Change-Id: Ie9c2fd725199768ec04852a9bc09b09a331ce6ad Reviewed-on: https://gerrit.libreoffice.org/31092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-22Revert "improvements to gbuildtoide"Michael Stahl
This reverts commit 294bfdfaada9ba85ddcf853650a8da9c10f25281. Unfortunately this shutil.copytree(self.srcdirnative, self.tempsrc) copies the entire SOURCEROOT into /tmp, with WORKDIR too if it's not an out-of-tree build, which is quite an excessive use of space, tmpfs or otherwise, and will no doubt make CI very happy.
2016-11-22improvements to gbuildtoideBjoern Michaelsen
- move supported module selection from the test directly into gbuild, it should not be possible now to have 'make gbuildtoide' failing, it should skip problematic parts - move from whitelisting to blacklisting bad modules - toplevel 'make gbuildtoide' should work now, so add test (limit to non-Windows for now, as Windows is stupid and slow) - remove spurious debug output in test Change-Id: I9838dd2fa091e5fb3e56f414f60164086e8f2076 Reviewed-on: https://gerrit.libreoffice.org/31072 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-11-22Exit gb_CppunitTest_localized loop on first failureStephan Bergmann
...instead of ignoring failures in every but the last iteration Change-Id: Ie80e78f75aaec5e9b1625c2e1ef740adf31fab1b
2016-11-22New loplugin:oslendianStephan Bergmann
...to catch new places where defined'ness of OSL_BIG/LITENDIAN would be checked without osl/endian.h being included; cf. e2f08f9def0869460ad38a1c2adb450778290f6e "connectivity, sc: add missing #include <osl/endian.h>" and 2b14fb3a4f92b928f0a5fc536c6a5f4a6e51a9b8 "cppcanvas, oox: add missing #include <osl/endian.h>". Change-Id: I167c8916a01391b7dacad7325153ccf35d3ba9dc