summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)AuthorFilesLines
2014-12-19solenv: fix bashism in unittest-failed.shRiccardo Magliocchetti1-2/+2
Change-Id: If030cd711cbb04fd622a4fd5723b6c66aac28a98 Reviewed-on: https://gerrit.libreoffice.org/13546 Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Tested-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2014-12-19No need for RTL_USING in addition to LIBO_INTERNAL_ONLYStephan Bergmann1-5/+1
Change-Id: Iaa65658aed6bb4abb20a4d95dc9c6caf7c1c764b
2014-12-19Blind attempt to fix PCHStephan Bergmann2-0/+2
...after 86ba184394094c7c043a505a20a0b1b8977f73d7 "Introduce gb_*_set_external_code" Change-Id: I6ed9652c6157b7cb2196f044f62c606968ef1807
2014-12-18Introduce gb_*_set_external_codeStephan Bergmann8-7/+24
...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the config_host/config_*.h files will not be included, so the HAVE_* macros will be undefined.) This obsoletes the need for RTL_DISABLE_FAST_STRING. Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
2014-12-18avoid exceeding commandline limitsChristian Lohmaier1-1/+2
don't use "zip -@" to read from stdin, as that expects one file per line also zip doesn't like the dos-lineend, so strip that using tr Change-Id: Ib5c9040a66390119aa7a46225f2d0c8f635bf39a
2014-12-15gbuild: More automagic for libmergedMatúš Kukan5-0/+13
Only gb_Library_use_libraries stays because I think it's a good idea to see dependent libraries (potential candidates for merging) and hopefully the list does not change often anyway. This commit extends b6be3d3db3ffbc4c1a4528a8dc17aa95084e12ca Change-Id: I2682456f53cb2e8d7ea63eae15f8979a3c828401
2014-12-15gbuild: Do not require gb_Library_use_externals for libmergedMatúš Kukan1-3/+11
Instead, automatically get the externals when parsing other makefiles. This commit fixes the build and hopefully avoids problems in future because people didn't know they had to add externals for libmerged too. Similar should be done for other functions like add_libs... Change-Id: I5aea4c43f4b6838092ada81c310ef1100f241108
2014-12-10_USING_V110_SDK71_ is not related to DirectX, restoreChristian Lohmaier1-0/+1
partially reverts ff17c5a2b06367e9fdeff2d5763ccaeb9725511f Change-Id: I413fe859f7691d36334b68ad0862f3c100c72264
2014-12-10canvas: remove Windows SDK #ifdefs - all supported MSVC/SDK have DirectXMichael Stahl1-1/+0
Change-Id: I5106593ad5472992e3607665849fb35802b6e266
2014-12-10define _USING_V110_SDK71_ when building with VS2013 against 7.1A SDKChristian Lohmaier1-1/+1
and drop old VS2012 part from configure.ac Change-Id: If0bedff0972a40f92aaf86140a0405d2af1dbc8d
2014-12-10fdo#85286 android: add missing library for PPT loadingMiklos Vajna1-0/+1
Change-Id: I5f7bfffd1b9751c30c737c886afcd572fa44d234
2014-12-09A bit better error message.Jan Holesovsky1-1/+1
Change-Id: Ia3ea8ae38aab0080d01932d586b921599adbaf21
2014-12-09fdo#85286 android: add missing libraries for embedded object loadingMiklos Vajna1-0/+3
Change-Id: Ic711964970b1e8cd463dbb693cf8867f51bf535d
2014-12-09solenv: generate the ifdefs in native-code.py in a more elegant fashionMiklos Vajna1-18/+22
Commit 369b84e847802d77e7469f4ed71400c20e23039f (We don't build libxsec_xmlsec for Android currently, 2014-08-13) added platform-dependent guards to have components only on Android or only not on Android. Generalize that a bit more, so adding new Android-only components is a single line of code change. Change-Id: I54711ffcdf64c4ddd986e2f59129797462dcfe58
2014-12-09climaker calls cppu::defaultBootstrap_InitialComponentContext()Stephan Bergmann1-1/+2
...so depends on uno.ini Change-Id: I913d21605ac15792b24bccd460ab886e535e76da
2014-12-09solenv: handle workdir_for_build in create-tagsMiklos Vajna1-4/+10
Change-Id: I669ea2813daeb2be8164e1d7c224368c2fe9819a
2014-12-07solenv: no need to advertise lldb/devenv on Linux in unittest-failed.shMiklos Vajna2-2/+14
Change-Id: I1dd1b7804defdf363599c17dee3ab1333cf46ee7
2014-12-06add instructions how to use CPPUNITTRACE on OSXMarkus Mohrhard1-0/+1
Change-Id: I97579c03c72be0c09c937fcbc8726960528a7a6e
2014-12-04android: use different function to prevent stripping JNI symbolsTomaž Vajngerl1-2/+2
Change-Id: Ib003da5c7fec7fc3783f01a33a63deb384c7e770
2014-12-04Add gb_CppunitTest_use_confpreinit:Andrzej Hunt1-0/+8
For unit tests that use the VCL event loop we can use this to avoid the otherwise required restart. Change-Id: I48265d7e7188a4efaa6f87432c762320331c0c78
2014-12-02attempt to default enable stack-protector-strongCaolán McNamara1-0/+5
Change-Id: Iee42b3f6ab66636961e9ba1da33ab0e83d607eaa Reviewed-on: https://gerrit.libreoffice.org/13241 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-01msi: LibreOffice does not use SystemFolder, don't define itAndras Timar2-4/+0
LibreOffice does not install anything into SystemFolder (i.e. into C:\WINDOWS\SYSTEM32 or similar). However, merge module of MS VC++ Runtime does. And if SystemFolder defined in MSM is different than SystemFolder defined in base MSI, then a conflict will occur, and merge will fail. Change-Id: I33649babcd33575aa17cd0e3c0ab612a81ceec98
2014-12-01Fold URE: Linux ure/share/misc/* -> program/Stephan Bergmann1-1/+1
...and remove now unused ure-link symlink Change-Id: Ic958432c1dad4fae213982d0af072187f151620b
2014-11-28Fold URE: Linux ure/lib/* -> program/Stephan Bergmann5-39/+23
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge (and juh.jar had lacked adaption for Mac OS X). Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-28Fold URE: Linux ure/bin/* -> program/Stephan Bergmann2-2/+2
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-11-27Fix iOS build, need gb_Library_get_sdk_link_dirTor Lillqvist1-0/+1
Change-Id: I1c22b33c15417cb23ed726b048cde1e452d23b9b
2014-11-27Missing slashStephan Bergmann1-1/+1
Change-Id: I56a37e08b533afb7a2aa91c82862c232c99f7112
2014-11-26version ini-file's ProductMajor/Minor are unusedStephan Bergmann1-2/+0
...and had started to have different values in instdir (ProductMajor=450, ProductMinor=0) vs. installation sets (ProductMajor=50, ProductMinor=) Change-Id: I4db2c07b5f7b011218833fc355a3097eb13d0cd4
2014-11-26On Mac, the lib/libuno_*.dylib symlinks are not in the SDKStephan Bergmann8-3/+13
...but rather dynamically created (via the SDK's setsdkenv_unix.sh.in) in the SDK's per-user output tree. So better reflect that in instdir by putting the symlinks into workdir/LinkTarget/Library/ instead on Mac. (Which has the additional benefit that the location of the symlinks doesn't change with the versioned SDKDIRNAME.) Change-Id: I77237f6a5d64771c3cb0866e125925ed7b0ecdaf
2014-11-25always use 1 as default for strip-componentsDavid Tardon1-23/+1
Change-Id: Id5f22ac0f9fcfd7ab064111aec9abb00707d3e67
2014-11-25Add comment about a bug but how this stuff still works by luckTor Lillqvist1-0/+8
The 'suffix' GNU Make function returns the file name suffix including the period. The test comparing to the string 'zip' will thus never match, and gb_UnpackedTarget_STRIP_COMPONENTS_ZIP_DEFAULT will not be used, but gb_UnpackedTarget_STRIP_COMPONENTS_TAR_DEFAULT. But as most of the Zip archives we unpack do have a top-level with a single directory anyway, that we want to "strip", that works out fine. Apparently those that don't have a such directory level pass a 0 as second argument to gb_UnpackedTarget_STRIP_COMPONENTS_ZIP_DEFAULT which has the effect of avoiding the "stripping". Not sure what to actually do here, so I just commented the situation... Should the code be fixed to do what it thinks it is doing, but then to keep things working as before, should gb_UnpackedTarget_STRIP_COMPONENTS_ZIP_DEFAULT be changed to 1? Change-Id: I6436865dafe47e21e1365a602889cedab3c09784
2014-11-24coverity#736477 document deliberate Resource leak at detection pointCaolán McNamara1-5/+6
Change-Id: Id9ad1df799c67110a426ee7ce41287703e8bdbfb
2014-11-24typo: unknownAndras Timar1-1/+1
Change-Id: If89443c1668ca01c826c8fc353b20097c7da7bf4
2014-11-23icons: Kill now irrelevant warning.Jan Holesovsky1-2/+0
Change-Id: I2ce348fe97cfc0fdaf1ad5e1063a28d069accdf5
2014-11-20Fix build of ObjC(xx)Objects under COMPILER_PLUGIN_TOOLStephan Bergmann1-4/+2
Change-Id: I7974ee3119e0959cec09eefd5d5e6dcf87e9bd51
2014-11-20doxygen: png -> gif for imagesMiklos Vajna1-1/+1
This reduces the amount of output in docs/ from 17G to 10G for me. No big surprise, inheritance diagrams use only a few colors, so gif's indexed colors work here nicely. Thanks Christian Lohmaier for the idea. Change-Id: I23db0c1a4dc7410cb3eb1ae99044962959fac28a
2014-11-18windows: msbuild gets completely confused when the 'Platform' envvar is set.Jan Holesovsky1-0/+1
Change-Id: Iea04859c6afa203bd6b527b99c680ff4176cf9e1
2014-11-17add a script to generate a dummy library to "build" all headersMichael Stahl1-0/+12
... to be used together --with-iwyu to track down bloat in headers, which are not always named in the convention that include-what-you-use expects for reporting issues. Change-Id: Idffda7d49cca43170717004d52779b4663de19ae
2014-11-17gbuild: print better file name for generated C++ sourceMichael Stahl1-1/+1
Change-Id: I7b028ff3af6c5cd6c48b4cf6095a16b57745db8c
2014-11-12missing subst breaking assignment of libs to modulesDavid Tardon1-1/+1
Change-Id: I7a4d2dc0bd424f17eceb3f5d4c8758255bca50de
2014-11-12gbuild: move setting of gb_CPUDEFS to CPU-specific fileMichael Stahl2-4/+2
Change-Id: I91b05bb579b4f74fad7b479453389437d4376b2f
2014-11-12gbuild: let's read our elves through a variable for consistencyMichael Stahl1-1/+1
Change-Id: I264a94dc9cdecf1a21ee37b37b5464e05a8e205a
2014-11-12in general, SOLARIS should use /usr/bin/ld.Richard PALO1-21/+23
Make equivalent to unxgcc.mk (with gld). NB: use $(READELF) updated in configure.ac and config_host.mk.in Signed-off-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit d6afd367167ed406cd97192da358b776dbf5158e) Conflicts: solenv/gbuild/platform/solaris.mk note: while cherry-picking to master, removed all mention of toolchains that are unsupported on master due to lack of C++11 support (GCC < 4.6). Change-Id: Iaf175fb7db095c567e9837eac8456c0c3809e334 Reviewed-on: https://gerrit.libreoffice.org/12384 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini9-9/+9
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-11add 'make etags' to generate etagsTakeshi Abe1-2/+7
Change-Id: Id87f71b6d31720173f0c5ec2a4fc395065223b79 Reviewed-on: https://gerrit.libreoffice.org/12300 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-11fdo#80403: TokenHandler impl. FastTokenHandlerBaseDaniel Sikeler1-0/+65
getTokenFromUTF8: calls getTokenDirect getTokenDirect: uses perfect hash New makefile creates perfect hash table with perl-script gentoken.pl. I found the script on https://wiki.openoffice.org/wiki/XFastTokenHandler and made some changes. XMLTokens are defined in tokens.txt Change-Id: Id04134a896ee082e2d0ba55a715fede19ff04928 Reviewed-on: https://gerrit.libreoffice.org/12335 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-11-10Do not deref (potentially dangling) weak_ptrStephan Bergmann1-1/+11
Change-Id: Ic9694aa8bd85fe0548b8f5fc5f52b4bbd6dce1cf
2014-11-10force --std=gnu89 for clang (and gcc), properlyLuboš Luňák1-0/+4
This implements 3a4860a751980b566b44d57cde188292df5e8726 in the proper place. Change-Id: I7b60602933819561d0bff5e72dcd5ee8986f63c0
2014-11-10avoid exceeding commandline limitsChristian Lohmaier5-10/+5
by using make's file function via the var2file wrapper instead of using loooooong echo statements Change-Id: Ie81007ad7de8c4e9f4d07724fba3cbe0e93f821d
2014-11-10Adapt FractionPrinterStephan Bergmann1-3/+3
Change-Id: Ic297f14ea1bf5f3fa69c80a34439b5d13fc84346