summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
2015-10-05Emscripten: First steps of porting to EmscriptenSamuel Mehrbrodt
See https://wiki.documentfoundation.org/Development/Emscripten for details Change-Id: I977a8b9e98b9be13c263fef48f567b92347d0492 Reviewed-on: https://gerrit.libreoffice.org/18643 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-05Fix gb_CppunitTest__use_vcl dependenciesStephan Bergmann
Regression introduced with 41c66312885393614c274897fd75a25c2ddf6ba0 "The 'svp' 'plug-in' library is empty so don't build it at all" Change-Id: I534173372ee21e16c78693f60957706bbf61c1c8
2015-10-02Remove setting Make SHELL completely from the build systemStephan Bergmann
...this is a follow-up to efad388f756014a7df5ed6f8e4ce417d24e9aba9 "Clean up Make SHELL handling," which broke out-of-tree builds. There appears to be no good reason at all to fiddle with Make's own behavior of determining its SHELL variable (which defaults to /bin/sh and can be overridden via a SHELL=... command line argument when invoking Make). The SHELL_BASH fiddling in configure.ac and Makefile.in was probably cargo cult carried along ever since 815f157c05ebc20e91a050823f048a977b8ae103 "CWS-TOOLING: integrate CWS configuretoplevel," in a time when the OOo build system still defaulted to tcsh. Change-Id: If906164abb6aae649ce8088d945a40213deed361 Reviewed-on: https://gerrit.libreoffice.org/19093 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-02Clean up Make SHELL handlingStephan Bergmann
* In configure.ac, honour a preset SHELL_BASH when determining SHELL_BASH (so it can be passed in via autogen.input). * For both toplevel "make" and per-module "cd $module && make", consistenly use the SHELL_BASH determined in configure.ac as the Make SHELL. (By moving the setting to a new, common soleng/gbuild/shell.mk. This also exports SHELL as an environment variable to sub-processes now; this exporting can probably be reverted if it is not what is actually wanted---but note that this exporting of an environment variable to sub-processes is unrelated to how nested invocations of $(MAKE) obtain their Make SHELL setting, see below.) * Remove the gb_SHELL override feature from solenv/gbuild/gbuild.mk; for one, it is unclear how it was intended to interact with setting SHELL=@SHELL_BASH@ in the toplevel Makefile; for another, overriding SHELL can be done globally via setting SHELL_BASH in autogen.input now. * Make treats SHELL specially, in that it never uses the SHELL environment variable to determine the Make SHELL variable. Instead, if this Make invocation, or any outer Make invocation it is nested in via calls of $(MAKE), was called with a SHELL=... command line argument, then that value is used (and otherwise the default is hardwired as /bin/sh). So, when calling nested invocations of $(MAKE) from the toplevel Makefile, pass down the current SHELL value via a SHELL=... command line argument via GMAKE_OPTIONS. (And further nested invocations of $(MAKE) will then automatically inherit the SHELL value given on the outer invocation's command line.) Change-Id: I67fa1b88e4e90d09456c1fcad2d082fdce3c019b
2015-10-02tdf#88801 android: add services needed to load flat ODF documentsMiklos Vajna
Change-Id: I5767fa9a240b23de098fc6012555691dfb22c400
2015-10-01loplugin:unusedmethodsNoel Grandin
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-28SDK apps actually find URE libs via DYLD_LIBRARY_PATHStephan Bergmann
Change-Id: I29c8177ee0c79f7e2b1834d4c181289cccfab17a
2015-09-25Replace GUIBASE with USING_X11Samuel Mehrbrodt
That's what it actually means. Also make it a boolean Change-Id: I249e18351253b34b5dada28e2a9c6bc0c06b730c Reviewed-on: https://gerrit.libreoffice.org/18688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-19We hardly want xsec stuff for iOS if not for Android eitherTor Lillqvist
Change-Id: Ic6485b060eceb47dc96ee102733f308d71beedb8
2015-09-18Use a C99 flexible array memberStephan Bergmann
...so the following strcpy does not cause a false abort under _FORTIFY_SOURCE=2 Change-Id: I395136f11020064766db76f87ed8f5b01c083c3a Reviewed-on: https://gerrit.libreoffice.org/18681 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-14gbuild: add a comment why C4589 is disabledMichael Stahl
Change-Id: I25f03d64b44c4bf8c913d0be77f1f4919355998a
2015-09-13Disable Warning 4589David Ostrovsky
Change-Id: I017d21153880e92d59477ed2d6bdabc2629672e0 Reviewed-on: https://gerrit.libreoffice.org/18521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-07solenv: improve unittest-failed.sh for WindowsMiklos Vajna
Instead of saying what to do, do it, so the CPPUNITTRACE="... /debugexe" part can be copy&pasted. Change-Id: I2ae54ad52ffa7dfbbf8b4e61f1fa8a0079c7b570
2015-09-07module-deps now distinguishes merged-libs in its output.Michael Meeks
Change-Id: Icc3a965e59f5b2d4e23e0e5a4d0400b6b175c9c1 Reviewed-on: https://gerrit.libreoffice.org/18346 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-09-03setup_native: Add vcruntime and libucrt on MSVC 14.0David Ostrovsky
Change-Id: If55979b55b4bc8dee785f0940461a01995060682 Reviewed-on: https://gerrit.libreoffice.org/17362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-09-03add stagingcheck target for unstable/failing testsBjoern Michaelsen
Change-Id: I4d1e54bdf579b0d6dd143b3a68de259ab7d3d562
2015-09-03remove KDE3 support, --enable-kde and --enable-kdeabMichael Stahl
With the new RHEL6-era baseline TDF can finally ship KDE4 support. Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3 Reviewed-on: https://gerrit.libreoffice.org/18267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03Fix some perl shebangs.Pedro Giffuni
Most important perl scripts already use a portable method but fix these nevertheless. (cherry picked from commit 93496a6c1e5b2ae1756dc9b8043e2267209387da) Change-Id: Id8b5e974356701e66f9dd8a6bd7a58fd4f5633ae
2015-09-02Don't redefine snprintf as VS 2015 supports ISO standardDavid Ostrovsky
Make the workaround in snprintf.h conditional on older MSVC version. Investigation reveals that the GetShortPathNameW is presumably used by legacy Duden extension that was built by Sun in a setsolar environment. The uwinapi.lib was never part of the SDK, so ordinary extensions cannot link against it. The PRIVATE export of the symbol that is only possible with DEF file therefore does not matter much. With VC2015 there is no need for LO code to use uwinapi.dll at all and gb_UWINAPI can be unset in this case. Change-Id: I23a5636db9431b0fa4350b665a6a69613d625264 Reviewed-on: https://gerrit.libreoffice.org/16677 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-02percheck: produce similar stats than off-tree callgrindNorbert Thiebaud
Change-Id: I7035ea6f2d9ffe92282533064d69b75e2c1989e1
2015-09-01core: fix build with system boost 1.59David Ostrovsky
9a6cdce37e601b1406c71fef16ad9b315045c9da was trying to fix the problem with exposing deprecated vars and functions in system's error_code.hpp include file by patching bundled boost version. This approach would only make sense, when upstream version is going to be fixed ASAP. Apply another approach, and follow the same pattern as applied in external libraries, by defining -DBOOST_ERROR_CODE_HEADER_ONLY \ -DBOOST_SYSTEM_NO_DEPRECATED instead of patching bundled boost version. This way, the code would work with unpatched system boost 1.59 final as well. Change-Id: I8684ca458ea4a5b7d7c3c3acfe7c14a6d19bc665 Reviewed-on: https://gerrit.libreoffice.org/18201 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-08-31sal: don't use --target as parameter to cppunittesterMichael Stahl
CppunitTest_libreofficekit_tiledrendering hangs because the soffice_main exits due to the unrecognized command line arg --target. Use a -env:VARIABLE argument instead, which is filtered out by rtl_getAppCommandArg() so does not reach the soffice_main code. (regression from 87514b0907dfbb479e2646b5ff951c68babf3417) Change-Id: I2c801305398dccfb447e4e5c44726f42bf2a72ef
2015-08-31log resource usage of unit tests on UNX platformsMarkus Mohrhard
Change-Id: I3788eae60f73bc42488bf2e4961922962f7e505b Reviewed-on: https://gerrit.libreoffice.org/18155 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-08-28use nonet for xsltprocCaolán McNamara
Change-Id: I47f020722b46b727ad03a937f28f0b33033d61cb
2015-08-26-Werror,-Wnonconst-parameterStephan Bergmann
Change-Id: I14c7e2245e1333a7cc3c372b29f4a3b679169209
2015-08-11gbuild/config stop using VERBOSE, use only verbose=tNorbert Thiebaud
configure.ac was setting VERBOSE=YES/NO when really we use verbose=t or verbose= Change-Id: I47aee8d177cb2d788a62ecdbbb9cc3695c2bb299 Reviewed-on: https://gerrit.libreoffice.org/17634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-07-31concat-deps: fix build with gcc -fsanitize=... -std=gnu89Michael Stahl
Apparently Clang C89 mode is sloppily implemented and allows this. Change-Id: I78ef943bc4c5f8590dae8879dad65ad9fbe9a9bb
2015-07-30Bump boost to 1.59David Ostrovsky
1.59 upcoming release is needed for MSVC 14.0 (aka VS 2015) support. There is a known breakage on MSVC with boost::none instance in optional library. Use not documented define as explained in this issue upstream [1]: BOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE. [1] https://svn.boost.org/trac/boost/ticket/11203 Change-Id: I25b1797da93f7959d15a70105d67100e0e2c4b3b Reviewed-on: https://gerrit.libreoffice.org/17056 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2015-07-30gdb pretty printers for boost can't iterate with Python 3Michael Stahl
Change-Id: Ie2d1cb7312de6f14a5c6de81eefd7a00be6f75c0
2015-07-29RepositoryExternal.mk: for some reason Mac wants a GeneratedPackageMichael Stahl
Change-Id: I5d983fee8d5cd313fbd0d6ece800fa8b80d81b35
2015-07-27gdb pretty printer for SwNodes fails on Python 3 due to "unicode"Michael Stahl
Change-Id: I8e4983a91d4f97a2a20fbeed89d4e0f186c35fad
2015-07-21create-tags: recognize C++11 features hidden behind SAL macrosMiklos Vajna
With this, not only the definition, but also the declaration of e.g. 'SwTextFrm::Format' (or any other member function that is overriding a virtual function from a base class) can be found again, just like before SAL_OVERRIDE and the similar macros were introduced. Change-Id: Ic9e429ad7cbb0a1212744115d1567bb79b7c6aa0
2015-07-10solenv: platform: Add support for GODSON64.Heiher
Change-Id: Ifbdc6932a16b55adf6d4c9092cf8045b0b035f24 Reviewed-on: https://gerrit.libreoffice.org/16910 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-08Fix typosAndrea Gelmini
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-04Fix typosAndrea Gelmini
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-01gbuild: CppunitTest: don't hang with DEBUGCPPUNIT=TRUE ...Michael Stahl
... if the process exits before the "bt" command, because then gdb will print an error that there is no stack and stop the script before "quit". Change-Id: I0f3a1381e17dda7e8a7d958e0cbc96676bbc23ce
2015-06-30No space inside brackets, againStephan Bergmann
Change-Id: I9309dc797c63e6c28831f545fd4d029a4d108dea
2015-06-30colorful interactive gbuild outputBjoern Michaelsen
Change-Id: I22e9eacfddff611d368963162024437f4a7b7fdf
2015-06-29instsetoo_native: fix building installation setsMichael Stahl
... after 39b04ad7cb2e10f32e92d3c9bec57e35f64a3304 started using PRODUCTNAME but here it was LibreOffice_Dev for mysterious reasons whereas PRODUCTNAME is LibreOfficeDev so rename for consistency. Change-Id: Ia5f5a24f405923a7ea1641de65709fbf842df79c
2015-06-29Simplify productname logic.Martin Hollmichel
Change-Id: I55fb371843071943ea7966e42444cc56faee9430 Reviewed-on: https://gerrit.libreoffice.org/16589 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-28Fix typosAndrea Gelmini
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-25restore gb_ExternalProject_use_unpacked, with diff. purposeDavid Tardon
Change-Id: I7d7cbe85219615f80069155a954f917781bc5b71
2015-06-24gbuild: PythonTest: run tests with --headlessMichael Stahl
The python tests currently use the default desktop-dependent vclplug, but should use svp like every other test. Apparently there's no way to pass command line parameters through python, so set SAL_USE_VCLPLUGIN=svp. Change-Id: Idb9afd87a1721c5188aeecd9b1f83521f6431757
2015-06-23Revert "Typo: iff->if"Julien Nabet
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-22scp2: add AutoInstall support for executables with COMPONENTCONDITIONMichael Stahl
Change-Id: I36f14d9ba08ab2473a555681b934b8b35cfa06b2
2015-06-22Fix typosAndrea Gelmini
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-19qadevOOo: fix _XDataPilotTables failure in non-english localesMichael Stahl
Set the UILocale to en but do that with a registrymodifications.xcu as setting it via configmgr requires a restart. Change-Id: I26d9f6aa07852a7f18e2b3b7baccdb2e85524ea4
2015-06-18dead codeAndras Timar
Change-Id: I0f8de2b856be65e070f9d9b121515aa15ae3ea09