summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)AuthorFilesLines
2015-08-05gdb pretty printers for boost can't iterate with Python 3Michael Stahl2-6/+6
Change-Id: Ie2d1cb7312de6f14a5c6de81eefd7a00be6f75c0 (cherry picked from commit 396643d46a778539f2bde30569d35ec05d7d867b) Reviewed-on: https://gerrit.libreoffice.org/17422 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-03RepositoryExternal.mk: missing dependency on python3 packageMichael Stahl1-0/+8
This was causing all these "libpython3.3m.so: file not recognized: File truncated" failures. (cherry picked from commit 57dd4d01c1ba036e5da4abf986b8d594d0ccdb95) RepositoryExternal.mk: for some reason Mac wants a GeneratedPackage (cherry picked from commit d9162d24ce242f27f9cc0430f0650daac8e5db24) Change-Id: Ib814ab4fa43d9c8f20cf9b16ad04e1a71057e595 Reviewed-on: https://gerrit.libreoffice.org/17396 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-07-28gdb pretty printer for SwNodes fails on Python 3 due to "unicode"Michael Stahl1-1/+1
Change-Id: I8e4983a91d4f97a2a20fbeed89d4e0f186c35fad (cherry picked from commit f29ac1d91b12ab2f55d7ab7afce62238a59b8cba) Reviewed-on: https://gerrit.libreoffice.org/17372 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-08tdf#78834 enable localized system dialogs on OS XAndras Timar1-3/+9
Change-Id: I37f5b183b36f2a3077f591162402ddd83e4a46d4 Reviewed-on: https://gerrit.libreoffice.org/15673 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 2df138b483f60ffdcd3b62c8c2884d2f5cc076af) Reviewed-on: https://gerrit.libreoffice.org/15674 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-19tdf#82430: gcc-wrappers: command line *must* start with a spaceMichael Stahl1-0/+5
Yes, you read that right, if there's no space in front of the first argument, cl.exe will *ignore* it. Change-Id: I73d9bf026705538e53b5d91091a4c96eb15739b2 (cherry picked from commit c4a267215c10647ff281e9e629faa0a8a201f4b4) Reviewed-on: https://gerrit.libreoffice.org/15381 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-09solenv: add GDB pretty printer for SfxItemSetMichael Stahl1-0/+66
(cherry picked from commit b34199bc156527b6aa16858587b8e3cadb647b8c) Change-Id: Ibd74c58efa7f1a24de409820655fb98b4fc13df3 Reviewed-on: https://gerrit.libreoffice.org/15208 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-04gbuild: CppunitTest: always use unittest configurationMichael Stahl1-2/+9
The sc_subsequent_filters_test was failing because of a lock file because it did not use the unittest configuration. Refactor gb_CppunitTest_use_configuration so it uses both the instdir and unittest configuration to prevent such errors. In case there ever is a test that does not work with the unittest configuration it should call gb_CppunitTest_use_instdir_configuration. (cherry picked from commit f0a60415597bae7ca54767b397a217882578ce97) Conflicts: dbaccess/CppunitTest_dbaccess_RowSetClones.mk sc/CppunitTest_sc_condformats.mk sc/CppunitTest_sc_recordchanges.mk Change-Id: Ibc00d42f8b6102d50d922f51173120798fa45c6e Reviewed-on: https://gerrit.libreoffice.org/14738 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-19Sun ld doesn't support -O1 optimize flagRichard PALO1-4/+1
reported by Gabriele Bulfon (gbulfon@sonicle) Change-Id: Ie0ff8fe296054a7a266b4c73c30938bb2b7353ea Reviewed-on: https://gerrit.libreoffice.org/14484 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 34a167e1bf9b478069c290dbf977c68639149852) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-02-10Attempt at fixing Mac OS X code signingStephan Bergmann3-18/+28
...so that LibreOffice.app dmgs built with --enable-macosx-code-signing with an appstore-enabled identity will hopefully no longer be rejected on Mac OS X >= 10.9.5 as "'soffice' can't be opened because the identity of the developer cannot be confirmed." (Which I cannot verify for lack of an appstore-enabled certificate, though.) First of all, do not ignore errors from calls to codesign utitlity. Really. That reveals that soffice cannot be signed as soon as it is linked, as it requires all the other stuff in the app to be already signed. So just don't sign it after linking, it will be signed last step in macosx-codesign-app-bundle anyway. Second, --resource-rules exemptions are no longer allowed per <https://developer.apple.com/library/mac/technotes/tn2206/_index.html> "OS X Code Signing In Depth." Third, the handful of remaining shell scripts in MacOS/ need to be signed too. (Signing them adds extended attributes to the files.) Unfortunately, as discussed at <http://porkrind.org/missives/mac-os-x-codesigning-woes/> "Mac OS X codesigning woes," "hdiutil makehybrid" drops extended attributes from the generated dmg (so the dmg's LibreOffice.app would no longer be considered properly signed, as the shell scripts would no longer be signed). So switch from "hdiutil makehybrid" to "hdiutil create." Change-Id: I4b587f87d504666f7a1d0e3a24a8be76f22014c5 (cherry picked from commit 615fae2f67028f3c5c51c70c77dbaa9b9f3856d6) Reviewed-on: https://gerrit.libreoffice.org/14398 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-01-30tdf#87803 bin useless $buildidstringAndras Timar1-7/+0
Change-Id: Ie5f3651ec8386cdb59ebbd63c12670fd8668499a (cherry picked from commit 94716a4d071418ac4cef42ce85da1c42a0df6347) Reviewed-on: https://gerrit.libreoffice.org/14220 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-30gdb pretty printers: fix the sw::mark::IMark and SwModify printersMichael Stahl1-29/+8
If these are called on a value that is of a different type than what is checked in the children() method, nothing is printed except exceptions about non-existent _iterator. GDB can figure out the dynamic type itself and call the pretty printer only if it's actually a UnoMark so don't register it for IMark. Same thing for SwUnoCrsr, there is already a class for it. Change-Id: I00238f1e3f01741d607eec9d47671302b858b965 (cherry picked from commit 218bd97b83238496a4d2b36d0a1edaca519cdde5) Reviewed-on: https://gerrit.libreoffice.org/14241 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-20avoid 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 (cherry picked from commit d1cf36265d25ddee11e787c4c83692163b66b06b) Reviewed-on: https://gerrit.libreoffice.org/13526 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-12-16gbuild: 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 (cherry picked from commit 8cc1e7a7c3ec897129cc6318b254e8dafc682435) Change-Id: I2682456f53cb2e8d7ea63eae15f8979a3c828401
2014-12-16gbuild: 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 (cherry picked from commit b6be3d3db3ffbc4c1a4528a8dc17aa95084e12ca)
2014-12-02msi: 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 (cherry picked from commit af7a972fbc29631b7844440a9fc6863a2b9ae9da)
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
2014-11-10merge vcllo and vclopenglloMarkus Mohrhard1-1/+0
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-11-07make 'make tags' work in case of out-of-tree buildTakeshi Abe1-1/+1
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 Tardon1-0/+5
Change-Id: I9f96cf3e059d444c52ce81b37cf5f69157c2888d
2014-10-31gbuild: enforce AutoInstall for Library, Executable, JarMichael Stahl1-16/+51
... 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 Gelmini3-3/+3
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 McNamara1-1/+1
Change-Id: Id4fc5dda86845d23fe35122f7ade3ae99b2d123c
2014-10-30Setting download name: To let other product name can pass to $startYiiChang Yen1-3/+7
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úš Kukan2-19/+8
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 Stahl1-2/+3
... 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 Bergmann1-1/+0
Change-Id: Iccaf452a16e1971afbca9c7af330d8ab3aa7318d
2014-10-24fix rebuild of component file for CppunitTestDavid Tardon1-5/+7
Change-Id: Ic0de3e77d9f5c05e41e434d7ae2215ba4460f13f
2014-10-24More useful pretty printing of invalid fractionsStephan Bergmann1-1/+1
Change-Id: I5e118182e146645ee8546c69edf21834117a1129
2014-10-24Beware gb_CppunitTest_use_library_files plus gb_CppunitTest_use_componentStephan Bergmann2-3/+14
...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 Souza2-2/+0
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 Lillqvist1-1/+1
Change-Id: I896c9ac1c941b85d052fbefb902c4341664881d4
2014-10-23Add --enable-sal-infoTor Lillqvist1-0/+6
Change-Id: I014d70ace7ce34b804ea2a018d3de8f94f7e0cbc
2014-10-23kill OUTPATHNorbert Thiebaud12-81/+86
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 Lillqvist2-2/+1
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 Yen1-1/+1
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 Bergmann1-5/+2
...the generated .ilb, .lst, and .sid outputs requested by SdiTarget were apparently unused. Change-Id: I1abb2abc7945070451fce4a98a11d955515e3f63