summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2018-03-08Fix external/gpgmepp Linux RPATHStephan Bergmann
In other external projects using libtool, we fix that by patching configure, resetting hardcode_libdir_flag_spec[_CXX] at the end of the linux*) case block that sets the Linux-specific value. But here we run autoreconf in ExternalProject_libassuan, so that patch in configure would be overwritten. The relevant code in configure comes from autoconf boilerplate, so we cannot just do the same patch in configure.ac. But we can reset hardcode_libdir_flag_spec sufficiently late in configure.ac so that things still work as intended. Disable tests that would build executabes linking against libgpgme.so, which in turn links against the libassuan and libgpg-error libs, which would no longer be found by the linker because of the dropped -rpath flags. (Alternatives might be to pass in LD_LIBRARY_PATH or to link with --allow-shlib-undefined.) Change-Id: I7e37abf802d213347bd80383b7980d85cf0762d4 Reviewed-on: https://gerrit.libreoffice.org/50960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-08Fix external/libassuan Linux RPATHStephan Bergmann
In other external projects using libtool, we fix that by patching configure, resetting hardcode_libdir_flag_spec[_CXX] at the end of the linux*) case block that sets the Linux-specific value. But here we run autoreconf in ExternalProject_libassuan, so that patch in configure would be overwritten. The relevant code in configure comes from autoconf boilerplate, so we cannot just do the same patch in configure.ac. But we can reset hardcode_libdir_flag_spec sufficiently late in configure.ac so that things still work as intended. Change-Id: Ic6c6123bcfe8bc2dac87812f919842519374abaa Reviewed-on: https://gerrit.libreoffice.org/50959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-04gla11y: allow python 2.6 when lxml is availableSamuel Thibault
python2.6's internal xml parser is not enough for gla11y, but it can run python-lxml fine. Change-Id: I725471729c8e2f25ce60f1d92e08d87a96e171a5 Reviewed-on: https://gerrit.libreoffice.org/50686 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-03-02build fix: disable gla11y for python 2.6Thorsten Behrens
Things got massively worse with f927fc06b8160c6db134b29dab510e2cd567e3f3 so disable for the moment Change-Id: Ie8a03aa42d5c29bc6931c9c621d1b0427eeddab8
2018-03-01gla11y: fix build outside sourceSamuel Thibault
We need to pass the absolute path to gla11y for build outside source to work. We however do not want to expose absolute paths in suppression files, so we have to introduce a parameter that provides the common prefix to be stripped. Change-Id: Iaf652cb8d6c3646438f828a0949dfd811f964e77 Reviewed-on: https://gerrit.libreoffice.org/50568 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>
2018-02-28gla11y: add warning/error suppression machinerySamuel Thibault
Also add an accessibility test which does have a few existing issues, and the corresponding suppression lines. Change-Id: I7095cdc13e40501bbdf6e635c1e4f93f70bc1316 Reviewed-on: https://gerrit.libreoffice.org/50251 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-28Build external lxml if not provided by systemSamuel Thibault
except on windows, where gla11y will resort to python's internal xml parser, which does not provide line numbers. This allows gla11y to be runnable on all systems. Change-Id: Ica4eb90f59bddfcefd783fc2ed9c8c27357e7572 Reviewed-on: https://gerrit.libreoffice.org/50115 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-26Fix typosAndrea Gelmini
Change-Id: Ifcfb8ed6783f7d022e7c7f139e3f3bafa7b4b71a Reviewed-on: https://gerrit.libreoffice.org/50088 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-02-25oss-fuzz: issue 1188, per-fuzzer configCaolán McNamara
instead of copying the whole bunch around, now the scheme is to copy each individual fuzzer and matching config around, so duplicate the previously shared config for each one an Change-Id: I479ea13abfab382b6aee23bc04d5f7e535b489c9
2018-02-23oss-fuzz: explicitly mention the rc files we wantCaolán McNamara
Change-Id: Iabefbc3873b45f58fb8e493d043b0e08a3f425f9
2018-02-22The vim mode line supposedly needs to go at the end of the fileStephan Bergmann
Change-Id: I413b01e93000f9f81ba6190811cea51c04f1d58b
2018-02-21gla11y: do not fail when not passed any .ui fileSamuel Thibault
This avoids build failures when a directory uses UIConfig but does not add any ui file. Change-Id: I63413f87fc5515ffb9e3dd9baf25c6a4ba70c2be Reviewed-on: https://gerrit.libreoffice.org/50071 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-02-20Integrate initial version of gla11y tool in the build systemSamuel Thibault
This is part of integrating an accessibility non-regression tool. This adds checks in configure.ac for the presence of python lxml which we will need, and adds support for calling the tool at build time, to check for definite UI errors. For now, that only emits errors for missing or duplicate accessibility relation targets, and senseless relations: a label being mnemonic for several widgets. Change-Id: Idda91b15b9a9e0322d16db33dfac8e03f2aa518c Reviewed-on: https://gerrit.libreoffice.org/49856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-02-19Buildsystem changes to recognize Haiku.Kacper Kasper
Change-Id: I219d556f8e124cfe426cc1ac3c54da34eb7ef790 Reviewed-on: https://gerrit.libreoffice.org/49925 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-08xmlsecurity: fold Library_xsec_fw into Library_xmlsecurityMiklos Vajna
That little amount of code hardly justifies a separate library. Change-Id: Idbb039f38258bc12759fcf6d29328e1afe7443ab Reviewed-on: https://gerrit.libreoffice.org/49391 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-07Fix typoAndrea Gelmini
Change-Id: Iaa48657cdffc12b0e7bf1e39476e84445ea6fc3b Reviewed-on: https://gerrit.libreoffice.org/49353 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-gtk3-kde5Stephan Bergmann
Change-Id: Ie8c2389e8e0801b092abcfef751325cdf369b98d
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-qt5Stephan Bergmann
The dependency of Library_vcl on qt5 libraries (via vcl/qt5/Qt5Font.cxx) is there ever since b66a7cbd8491fe436126e11975c360f47ae346ed "QT5 first stab on implementing CommonSalLayout", but no idea whether that is by design or is a hack that should eventually be cleaned up. Change-Id: I4cec702709b37069987ec68c035628b5172b3543
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-dconfStephan Bergmann
Change-Id: I345055bf56828fc597d14c654d4819e87630da2c
2018-02-06check-elf-objects: add mergedlib libs for Linux-rpm_deb-x86_64@70-TDFMichael Stahl
Change-Id: I7b0febee10a98809073f0bfd023d39d32684a566
2018-02-06check-elf-objects: add 32-bit libs for Linux-rpm_deb-x86@71-TDF-dbgMichael Stahl
Change-Id: Ibd308d94c7cd92ab5e2590554b54517d2ef898fe
2018-02-06basename -a is non-standardStephan Bergmann
...and apparently not supported on some tinderboxes like tb70 and tb71 Change-Id: I37dae3e7bbb0b9324adf04819fa87fb6a5b9f1d0
2018-02-05postprocess: enable the check-elf-dynamic-objects for realMichael Stahl
Change-Id: Ie08d3dfc6306c18da7b1a5c000a75a18917c1f70 Reviewed-on: https://gerrit.libreoffice.org/45529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-02-05uitest - add folder uitest/manual_tests to scriptZdeněk Crhonek
script for page https://wiki.documentfoundation.org/ListUiTests Change-Id: I0081a4e1229105ef7387e70d76a5670a4f5de691 Reviewed-on: https://gerrit.libreoffice.org/47340 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-01-25put a ceiling on various fuzzer input sizesCaolán McNamara
Change-Id: I7a53859377e6228542be50fd26af6b0d6701384c
2018-01-24Add wiki header and footer to the outputXisco Fauli
Change-Id: Iec0be65f57cac06756f2e8101d3edb89b126e92f Reviewed-on: https://gerrit.libreoffice.org/48430 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2018-01-24Silence upcoming GCC 8 -Werror=parentheses in external/boostStephan Bergmann
...reporting such delights as > [CXX] sal/cppunittester/cppunittester.cxx > In file included from workdir/UnpackedTarball/boost/boost/mpl/aux_/na_assert.hpp:23, [...] > from external/boost/include/boost/algorithm/string.hpp:25, > from sal/cppunittester/cppunittester.cxx:60: > workdir/UnpackedTarball/boost/boost/mpl/assert.hpp:188:21: error: unnecessary parentheses in declaration of ‘assert_arg’ [-Werror=parentheses] > failed ************ (Pred::************ > ^ where boost/mpl/assert.hpp contains > template< typename Pred > > failed ************ (Pred::************ > assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type ) > ); Change-Id: I6976b2cc23f1d309d27d3fde9098b10c9d877599 Reviewed-on: https://gerrit.libreoffice.org/48386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-01-18Fix typosAndrea Gelmini
Change-Id: Iaad78e5f1100df1ca69d34bf7693e4a9feac17eb Reviewed-on: https://gerrit.libreoffice.org/48084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-17VS generator: set output to soffice.bin to allow starting from debuggerMike Kaganski
It is more likely that soffice.bit should be debugged, not soffice.exe stub. This allows to start debug session from VisualStudio, and debug startup code. Change-Id: Iab4615c67aeb25b811ecc71f6ae48aa9b40c45dc Reviewed-on: https://gerrit.libreoffice.org/48025 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-01-16Fix typosAndrea Gelmini
Change-Id: I078626eaa3155cc429320cc8c1532003b382b22a Reviewed-on: https://gerrit.libreoffice.org/47855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-09Silence clang-cl -Werror,-Wmicrosoft-unqualified-friend in external/boostStephan Bergmann
...messages like: > workdir/UnpackedTarball/boost\boost/bimap/detail/map_view_iterator.hpp(138,18): error: unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension; add a nested name specifier [-Werror,-Wmicrosoft-unqualified-friend] > friend class iterator_core_access; > ^ > ::boost::iterators:: Change-Id: I393b7c95943a55d5f755cfed41e0b7bc3306c568 Reviewed-on: https://gerrit.libreoffice.org/47673 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-01-06remove unused definesNoel Grandin
In particular, the STR_SVT_MIMETYPE defines are dead since commit 1b694dad643334ec1bab3f823dcd68f44a05ebe3 Date: Thu Aug 24 22:14:27 2017 +0200 loplugin:unusedmethods Change-Id: I641ec0a14efedc55c9d6a4de4a28784c273602e9 Reviewed-on: https://gerrit.libreoffice.org/47464 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-05remove dead eeitemid.hxxNoel Grandin
and inline the couple of constants still in use from it Change-Id: Icb9f5690b5649140bc0503a8917e6a0f764e3d9c Reviewed-on: https://gerrit.libreoffice.org/47404 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-22Revert "unused SID command in starmath"Noel Grandin
This reverts commit b9c6f2de8bdcdcb95fb4f0457ee2fd0e1c42eb5b. Change-Id: Ice33baa738c025de72ceb11cf6746e017fb27484 Reviewed-on: https://gerrit.libreoffice.org/46964 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-21unused SID command in starmathNoel Grandin
Change-Id: I08c09814a6a29286342fd7dc6a30ca0b6395463e Reviewed-on: https://gerrit.libreoffice.org/46909 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-21unused SID commands in scNoel Grandin
Change-Id: Ifb732e0a52ac7222e0dfb7054981708fa5722b35 Reviewed-on: https://gerrit.libreoffice.org/46886 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-12-20Remove Clang -Wunknown-pragmas workaroundStephan Bergmann
...that appears to only be necessary for Clang <= 3.4, so no longer needed since fa7b7f73938e837af2765f8a03f07e404046877b "Document that Clang 3.4.2 is known to be too old" Change-Id: I09361f6ffc23b8d20d65d3c84d9003719e2159f8 Reviewed-on: https://gerrit.libreoffice.org/46787 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-12-19uitest - writer "delete all comments"; move writer tests to sw/qa/uitestZdeněk Crhonek
Change-Id: Id7d6a2a413234b07df3f0f07184e7e33fec73633 Reviewed-on: https://gerrit.libreoffice.org/45985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-15improve the find-unused-typedefs scriptNoel Grandin
Change-Id: If4ab3bf8759c194e6005091d6df6a3a11cd633b7
2017-12-12use afl html_tags as htmlfuzzer dictionaryCaolán McNamara
Change-Id: Ic179f835d4d67a9856381b87f7fbc8b144bf595d
2017-12-09oss-fuzz hasn't merged this yetCaolán McNamara
Change-Id: I0b36af5d18d1b02b7d5193e610606c5d15f95ad0
2017-12-08use afl html_tags as htmlfuzzer dictionaryCaolán McNamara
Change-Id: I5374c497f9d8f1a0616e123b503d2f9b642edc33 Reviewed-on: https://gerrit.libreoffice.org/46104 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-05bodge ofz#4480 silence Bad-cast harder for nowCaolán McNamara
Change-Id: I391448361b5cda729904661a7c5c3b33288b7417
2017-12-05remove some unused definesNoel Grandin
and move the script to python Change-Id: I97bca04053d9d38b59c74fcf61caafbc2c137cc9 Reviewed-on: https://gerrit.libreoffice.org/45776 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-02mml is an xml format tooCaolán McNamara
Change-Id: I692aa11f32855e13795454bfebee45675e3f433a
2017-12-01ofz#4480 silence Bad-castCaolán McNamara
Change-Id: I7417d36e532fbe315dab1d3cbd070472bc16ed6a Reviewed-on: https://gerrit.libreoffice.org/45683 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-01Related: tdf#100226 unused hrc defines are the same as hxx defines nowCaolán McNamara
since the gettextization, so they can be treated the same as normal ones with something like find-unused-defines.sh Change-Id: I2915b76fc79ff5c0eb0dc2b35b1c0421e86462da Reviewed-on: https://gerrit.libreoffice.org/45653 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-11-30Create script to list the uitestsXisco Fauli
Change-Id: Ie5a1b7151a32cc72da6a1c68bde2518897eea0f4 Reviewed-on: https://gerrit.libreoffice.org/45496 Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-11-29check-elf-dynamic-objects: wait only onceMichael Stahl
Norbert points out that wait without arguments will wait for all outstanding processes. Change-Id: If850fd4a2e46a2c05d2917d38478ee2d3112bd78
2017-11-29fix check-elf-dynamic-objects -pMichael Stahl
It needs to wait for all background tasks to exit. Change-Id: I8770f3d79d66ab2fae727ae7cbbc00e3b22e5e54