summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
2014-11-27Missing slashStephan Bergmann
Change-Id: I56a37e08b533afb7a2aa91c82862c232c99f7112
2014-11-26version ini-file's ProductMajor/Minor are unusedStephan Bergmann
...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 Bergmann
...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 Tardon
Change-Id: Id5f22ac0f9fcfd7ab064111aec9abb00707d3e67
2014-11-25Add comment about a bug but how this stuff still works by luckTor Lillqvist
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 McNamara
Change-Id: Id9ad1df799c67110a426ee7ce41287703e8bdbfb
2014-11-24typo: unknownAndras Timar
Change-Id: If89443c1668ca01c826c8fc353b20097c7da7bf4
2014-11-23icons: Kill now irrelevant warning.Jan Holesovsky
Change-Id: I2ce348fe97cfc0fdaf1ad5e1063a28d069accdf5
2014-11-20Fix build of ObjC(xx)Objects under COMPILER_PLUGIN_TOOLStephan Bergmann
Change-Id: I7974ee3119e0959cec09eefd5d5e6dcf87e9bd51
2014-11-20doxygen: png -> gif for imagesMiklos Vajna
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 Holesovsky
Change-Id: Iea04859c6afa203bd6b527b99c680ff4176cf9e1
2014-11-17add a script to generate a dummy library to "build" all headersMichael Stahl
... 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 Stahl
Change-Id: I7b028ff3af6c5cd6c48b4cf6095a16b57745db8c
2014-11-12missing subst breaking assignment of libs to modulesDavid Tardon
Change-Id: I7a4d2dc0bd424f17eceb3f5d4c8758255bca50de
2014-11-12gbuild: move setting of gb_CPUDEFS to CPU-specific fileMichael Stahl
Change-Id: I91b05bb579b4f74fad7b479453389437d4376b2f
2014-11-12gbuild: let's read our elves through a variable for consistencyMichael Stahl
Change-Id: I264a94dc9cdecf1a21ee37b37b5464e05a8e205a
2014-11-12in general, SOLARIS should use /usr/bin/ld.Richard PALO
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 Gelmini
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 Abe
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 Sikeler
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 Bergmann
Change-Id: Ic9694aa8bd85fe0548b8f5fc5f52b4bbd6dce1cf
2014-11-10force --std=gnu89 for clang (and gcc), properlyLuboš Luňák
This implements 3a4860a751980b566b44d57cde188292df5e8726 in the proper place. Change-Id: I7b60602933819561d0bff5e72dcd5ee8986f63c0
2014-11-10avoid exceeding commandline limitsChristian Lohmaier
by using make's file function via the var2file wrapper instead of using loooooong echo statements Change-Id: Ie81007ad7de8c4e9f4d07724fba3cbe0e93f821d
2014-11-10Adapt FractionPrinterStephan Bergmann
Change-Id: Ic297f14ea1bf5f3fa69c80a34439b5d13fc84346
2014-11-10merge vcllo and vclopenglloMarkus Mohrhard
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-11-07make 'make tags' work in case of out-of-tree buildTakeshi Abe
Change-Id: I6c25988497208d9ae652feb1f9c37032f22ae376 Reviewed-on: https://gerrit.libreoffice.org/12295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-01fdo#85633 filter out empty file recordsDavid Tardon
Change-Id: I9f96cf3e059d444c52ce81b37cf5f69157c2888d
2014-10-31gbuild: enforce AutoInstall for Library, Executable, JarMichael Stahl
... by disallowing usage of gb_Helper_register_* without _for_install for layers that imply installation. Change-Id: I5734b2d6fbc57196633a562dd5df0236cc290ca6
2014-10-30Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini
Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-10-30fix bracketCaolán McNamara
Change-Id: Id4fc5dda86845d23fe35122f7ade3ae99b2d123c
2014-10-30Setting download name: To let other product name can pass to $startYiiChang Yen
Because the product name may be others. Change-Id: I2cd60fd029c7a75b8018b681303aa2883cd3dc97 Reviewed-on: https://gerrit.libreoffice.org/12074 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-29Improve framework for callgrind performance unit testsMatúš Kukan
Do not abort in tests which take longer then before. Since 4f5f6d2444a24138c3d3d378771f87cb06427195 we have nice tool to collect callgrind results, store them.. Also, make it not necessary to duplicate anything. Any test can be turned into a performance test by using callgrindStart/callgrindDump. You only need to duplicate the makefile name in gb_Module_add_perfcheck_targets. So, if the test is run as part of 'perfcheck', it runs under callgrind, otherwise it behaves like a regular unit test. Change-Id: I7acbb855b1823c9a32ba126abb57dccc767ca239
2014-10-29installer: let's make missing FileID a fatal errorMichael Stahl
... because the upcoming AutoInstall conversions introduce dependency from FolderItem to auto-installed executables, and we want to ensure that that keeps working. Change-Id: I08d4aeddd28b93f080e201716597315e9a6ec2d6
2014-10-28Remove unused gb_Jar_JAVACOMMANDStephan Bergmann
Change-Id: Iccaf452a16e1971afbca9c7af330d8ab3aa7318d
2014-10-24fix rebuild of component file for CppunitTestDavid Tardon
Change-Id: Ic0de3e77d9f5c05e41e434d7ae2215ba4460f13f
2014-10-24More useful pretty printing of invalid fractionsStephan Bergmann
Change-Id: I5e118182e146645ee8546c69edf21834117a1129
2014-10-24Beware gb_CppunitTest_use_library_files plus gb_CppunitTest_use_componentStephan Bergmann
...it causes the library's objects to be loaded twice, causing potential trouble with static data. So introduce gb_Cppunit_set_componentfile, processing the library's source component file into an additional workdir/CppuntiTest/ component file referencing the test library. (This required to drop the gb_Helper_abbreviate_dirs bric-a-brac, as it would do $W replacement into file URLs contained in the resulting .component file.) Change-Id: I57847e549817d25cca53a13effd7d408e0c99f9a
2014-10-23fdo#60689: replace SUPD variableMarcos Paulo de Souza
Change-Id: Iad63330f8762b595ba5ee94fc20bc2c64ac92f6b Reviewed-on: https://gerrit.libreoffice.org/11937 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-23Rename --enable-sal-info to --enable-sal-logTor Lillqvist
Change-Id: I896c9ac1c941b85d052fbefb902c4341664881d4
2014-10-23Add --enable-sal-infoTor Lillqvist
Change-Id: I014d70ace7ce34b804ea2a018d3de8f94f7e0cbc
2014-10-23kill OUTPATHNorbert Thiebaud
Change-Id: I91806c3a55905dfd1ae90a10bc890cc526ff3270 Reviewed-on: https://gerrit.libreoffice.org/11908 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-20Fix MSI comment when productname contains whitespaceYiiChang Yen
Change-Id: I5c6383cd383eef02cc9e8a6f4798b928763e46c6 Reviewed-on: https://gerrit.libreoffice.org/11994 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-16Strip svidl down to what is still usedStephan Bergmann
...the generated .ilb, .lst, and .sid outputs requested by SdiTarget were apparently unused. Change-Id: I1abb2abc7945070451fce4a98a11d955515e3f63
2014-10-13enhance perfcheck failing messageLaurent Godard
add the expected number Change-Id: Ib068288f7efbfebc2705c6084dc34a651def1986 Reviewed-on: https://gerrit.libreoffice.org/11948 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-10-11drop -Wno-long-double compiler flagDouglas Mencken
new GCC compilers do not accept "obsolete and totally removed in gcc 4.2 and later" -Wno-long-double flag actually, it used to be Apple-only GCC extension for gcc<=3.3 Change-Id: Ied3320cbd45915682b628c99bb0a168ea4753bb7 Reviewed-on: https://gerrit.libreoffice.org/11819 Reviewed-by: Douglas Mencken <dougmencken@gmail.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-11Fix missing quote in environment.pmChris Sherlock
Change-Id: I6f91165b5c4bfd06a23224f2ed16818c7d74852b
2014-10-10installer: populate installer::globals::[os,com,cpuname]Norbert Thiebaud
with there respective env variable OS,COM,CPUNAME this is a first step to get rid of OUTPATH Change-Id: Idab4dd7b19deba5252390cbd2cb74dfff9efe64e Reviewed-on: https://gerrit.libreoffice.org/11907 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-10-10remove unused $variables{'os'}Norbert Thiebaud
Change-Id: Idaf0b0e9fc38dc05f24c111304ef5189b4ba111c Reviewed-on: https://gerrit.libreoffice.org/11906 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-10-10MACOSX_INTEL_GCC is deadStephan Bergmann
...since f49ff3f5769e231c08781a7598e85dca5fb8dbc9 "We always build 64-bit OS X code" Change-Id: Ie2e2534bbef0014c81cc96f67572d39db21650fc