summaryrefslogtreecommitdiff
path: root/solenv/gbuild
AgeCommit message (Collapse)Author
2018-08-11when DISABLE_DYNLOADING gc linkingCaolán McNamara
Change-Id: Ifba1dd8e6cf095b965ed1277ce63505085f1d13c Reviewed-on: https://gerrit.libreoffice.org/58854 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-07-28Mark workaround for compiler bug as suchStephan Bergmann
Change-Id: If024b41e09765f921080b208f166dd2245bc8765 Reviewed-on: https://gerrit.libreoffice.org/58182 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-07-26Prevent unittest hangs due to cups password promptPeter Foley
If cups is configured to require a password prompt, it causes unittests to hang indefinitely. e.g. 0 0x00007fe545a41ccd in __pthread_join (threadid=140622167353088, thread_return=0x0) at pthread_join.c:90 1 0x00007fe53e3aa4bf in psp::CUPSManager::checkPrintersChanged(bool) () from /home/peter/libreoffice/instdir/program/libvcllo.so 2 0x00007fe53e3bcbe0 in SvpSalInstance::GetPrinterQueueInfo(ImplPrnQueueList*) () from /home/peter/libreoffice/instdir/program/libvcllo.so 3 0x00007fe53e27d532 in Printer::ImplGetQueueInfo(rtl::OUString const&, rtl::OUString const*) () from /home/peter/libreoffice/instdir/program/libvcllo.so 4 0x00007fe53e27d739 in Printer::Printer() () from /home/peter/libreoffice/instdir/program/libvcllo.so And in another thread: Password for peter on localhost? 0 0x00007f07f3c3834a in __GI___libc_read (fd=<optimized out>, buf=0x7f07d4a30b0f, nbytes=1) at ../sysdeps/unix/sysv/linux/read.c:26 1 0x00007f07ea7603ab in _cupsGetPassword () from /usr/lib/libcups.so.2 2 0x00007f07ea7231dd in cupsDoAuthentication () from /usr/lib/libcups.so.2 3 0x00007f07ea759266 in cupsSendRequest () from /usr/lib/libcups.so.2 4 0x00007f07ea7596d4 in cupsDoIORequest () from /usr/lib/libcups.so.2 5 0x00007f07ea72650b in _cupsGetDests () from /usr/lib/libcups.so.2 6 0x00007f07ea727403 in ?? () from /usr/lib/libcups.so.2 7 0x00007f07ea7275d1 in cupsGetDests2 () from /usr/lib/libcups.so.2 8 0x00007f07ec090b2d in psp::CUPSManager::runDests() () from /home/peter/libreoffice/instdir/program/libvcllo.so Fix this by exporting SAL_DISABLE_SYNCHRONOUS_PRINTER_DETECTION=1 for unittests. Change-Id: I0a3a2e7e9a88f5e6e1a9481cbb134538505381be Reviewed-on: https://gerrit.libreoffice.org/55255 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-07-25Silence warning STL4014Stephan Bergmann
"std::result_of and std::result_of_t are deprecated in C++17", as issued (with clang-cl) in slideshow/source/engine/eventmultiplexer.cxx Change-Id: I0f7a6ab98fbaf2a5e4d2aebf2e4af0ecc21075f8 Reviewed-on: https://gerrit.libreoffice.org/58002 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-07-20gla11y: Enable warnings for all orphan labelsSamuel Thibault
This completes enabling all gla11y warnings Change-Id: I791de2f03ec09098bd52bfff515270d15584d70d Reviewed-on: https://gerrit.libreoffice.org/57609 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-07-18gla11y: Enable warnings for all widgets missing a labelSamuel Thibault
Change-Id: I60c0eef6b7532a4631c6f56902a4691b0105e691 Reviewed-on: https://gerrit.libreoffice.org/57403 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-07-16Fix Win32 warning C4702: unreachable codeThorsten Behrens
..by disabling the warning for the moment. This happens on x86 builds with VS2017, but only with OSL_DEBUG_LEVEL=0, e.g. at: cppuhelper/source/servicemanager.cxx(1311) : error C2220: warning treated as error - no ´object´ file generated cppuhelper/source/servicemanager.cxx(1311) : warning C4702: unreachable code cppuhelper/source/servicemanager.cxx(1373) : warning C4702: unreachable code Change-Id: I91943350d7f6f5acfedb3b2bb14e5d835e4494ed Reviewed-on: https://gerrit.libreoffice.org/57472 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-07-13gla11y: Enable warnings for GtkImage missing a labelSamuel Thibault
Change-Id: I6ba9c6bcb8ce4faef6853ea25b2a9e68a67d0087 Reviewed-on: https://gerrit.libreoffice.org/56152 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-07-12improve message when running perfcheck without valgrind installedNoel Grandin
Change-Id: I50e7d3f38dc16feab450e32085e8c031904b216c Reviewed-on: https://gerrit.libreoffice.org/57347 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-10uitests - error if UITEST_TEST_NAME not set to anything usefulNoel Grandin
so the next poor sod who doesn't understand the instructions doesn't waste time with the wrong way of specifying the tests Change-Id: I9759c7f792ec80d660f70f79dc6e2589d44e360f Reviewed-on: https://gerrit.libreoffice.org/57177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-05UBSan apparently still needs --dynamic-list-cpp-typeinfoStephan Bergmann
...(presumably due to it using -fvisibility-ms-compat, cf. solenv/gbuild/platform/com_GCC_defs.mk), or else things start to fail like <https://ci.libreoffice.org/job/lo_ubsan/962/console>'s CustomTarget_testtools/uno_test: > /cpputools/source/unoexe/unoexe.cxx:502:24: runtime error: member call on address 0x60600000c288 which does not point to an object of type 'com::sun::star::lang::XMain' > 0x60600000c260: note: object is base class subobject at offset 40 within object of type 'bridge_test::TestBridgeImpl' > #0 0x50dc0b in sal_main() /cpputools/source/unoexe/unoexe.cxx:502:24 > #1 0x507762 in main /cpputools/source/unoexe/unoexe.cxx:348:1 > #2 0x2b2ede591444 in __libc_start_main (/lib64/libc.so.6+0x22444) > #3 0x429425 in _start (/instdir/program/uno.bin+0x429425) Change-Id: I7f2c38ef2f3cedae07d71246980ad1f21220db72
2018-07-04move helpfiles pattern rule above the plaing get_target oneChristian Lohmaier
as mac's make might pick the one without the dependency on the direcotry when trying to "make" that <module>.helpfiles target Change-Id: I60a55be118bc9a41352dad94326247b02aef1dd6 Reviewed-on: https://gerrit.libreoffice.org/56960 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-07-04add --enable-gdb-index for --gdb-index from gold/lldLuboš Luňák
https://lists.freedesktop.org/archives/libreoffice/2018-June/080437.html Change-Id: I66904333bf329e804025d4b229a0db573e21c3af Reviewed-on: https://gerrit.libreoffice.org/56566 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2018-07-04add configure option --enable-ld to use GNU gold or LLVM lldLuboš Luňák
https://lists.freedesktop.org/archives/libreoffice/2018-June/080437.html Change-Id: I06214459fcebe5cc58fd7979f3cbe5ac3d97db7d Reviewed-on: https://gerrit.libreoffice.org/56417 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2018-07-04add --enable-split-debug for -gsplit-dwarfLuboš Luňák
https://lists.freedesktop.org/archives/libreoffice/2018-June/080437.html Change-Id: I2a02e23e46d7a54083249408f09fba87932b1d44 Reviewed-on: https://gerrit.libreoffice.org/56416 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2018-07-04drop usage of --dynamic-list-cpp-new/typeinfoLuboš Luňák
First of all, lld doesn't have these options, but there doesn't seem to be any point in using them anyway. They are supposed to block the effect of -Bsymbolic-functions, but: - --dynamic-list-cpp-new matters only if we'd create our own global operator new/delete, which we don't - --dynamic-list-cpp-typeinfo affects only the typeinfo (_ZTI*) and typeinfo name (_ZTS*) symbols, which are not functions, and so -Bsymbolic-functions shouldn't do anything with them. According to https://sourceware.org/bugzilla/show_bug.cgi?id=3831 my understanding is that --dynamic-list-cpp-typeinfo actually predates -Bsymbolic-functions and it was an attempt to do the same from the other direction ('bind locally everything except for this' instead of 'bind locally only functions'). Change-Id: Iadad2d78f32a2adfb9c2100fb4eb5abe75725545 Reviewed-on: https://gerrit.libreoffice.org/56739 Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Luboš Luňák <l.lunak@collabora.com>
2018-07-02gbuild: avoid -Wunused-macros with clang and icecream+ccacheMichael Stahl
On Fedora, the recommended way to use icecream with ccache is to set CCACHE_PREFIX=icecc - but then $CC does not indicate that icecream is used. Change-Id: Ie757e6c00b07df7664c368c0e9f9c9bc599f3651 Reviewed-on: https://gerrit.libreoffice.org/56815 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-06-25gbuild: fix GCC_VERSION checkMichael Stahl
This was intended to check for GCC 4.8, but that would be GCC_VERSION=408, not 480, so fix the check. Not sure what GCC 4.9 actually does here, though. Change-Id: I32e9aafd36ea7fb81aac52f6788c97fc42b5c8e1 Reviewed-on: https://gerrit.libreoffice.org/56381 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-06-21simpress: Fix duplicate ID in notebookbar.uiSamuel Thibault
and enable the corresponding gla11y warning Change-Id: Iabf850f6831cb7d269aa74c9ab50461d35871a16 Reviewed-on: https://gerrit.libreoffice.org/55750 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-20gla11y: Enable warnings for more widgets missing a labelSamuel Thibault
Namely GtkTreeView GtkTreeViewColumn GtkTextView GtkDrawingArea Change-Id: I4190fc73d0c7fd3575bef0388f44aa52b51f29d2 Reviewed-on: https://gerrit.libreoffice.org/55743 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-13gla11y: Enable warnings for more widgets missing a labelSamuel Thibault
Namely GtkComboBox GtkComboBoxText GtkMenuItem Change-Id: I85a971ca9cee5f17649b93d13d6b2aeb5440f830 Reviewed-on: https://gerrit.libreoffice.org/55414 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-07Missing dependency on directoryStephan Bergmann
Change-Id: Icaf0f54d3487c8286486d265ebb9790f6b9e0910 Reviewed-on: https://gerrit.libreoffice.org/55419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-06(Partially) fix --with-help=html dependencies on .xhp filesStephan Bergmann
There are three rules in helpcontent2/CustomTarget_html.mk that process (with XSLT) all or some of the .xhp files in the helpcontent2/source/text/ tree (for en-US; or their translations in the workdir/HelpTranslatePartTarget/*/helpcontent2/source/text/ trees for other languages). Lists of all those .xhp files are defined in helpcontent2/AllLangHelp_*.mk (with gb_AllLangHelp_add_helpfiles), but the code in helpcontent2/CustomTarget_html.mk used `find` to assemble the relevant lists. That has two issues (at least for the en-US case operating on the untranslated helpcontent2/source/text/ files): For one, if the content of those .xhp files changes, the relevant XSLT processing is not re-run. For another, if .xhp files are added to or removed from the lists in helpcontent2/AllLangHelp_*.mk, the relevant XSLT processeing is not re-run, either. For the processing of translated .xhp files, there were already dependencies on those translated files in place. I assume (but have not really proved it) that those dependencies are already sufficient to cover both of the above issues. That only leaves the en-US case, operating on the untranslated files. The lists of .xhp files as defined in helpcontent2/AllLangHelp_*.mk (with "*" ranging over the various "modules": sbasic, scalc, schart, etc.) are now made available in gb_AllLangHelp_*_HELPFILES variables. The contents of those variables is used instead of `find` to pass the relevant .xhp files to the XSLT processings. (Needing some RESPONSEFILE and `xargs -n 1` boilerplate to feed individual files to the XSL processing without overflowing maximum command line lengths. Also, on Windows, var2file apparently writes CRLF line ends but the CR parts need to be filtered out again, and xargs problems must be worked around similar to df9edbcd2883cec2d0596133131cfbc220dee91f "Work around 'xargs: environment is too large for exec' errors on Windows".) However, those variables apparently cannot be used to specify dependencies for the three XSLT-processing rules. Presumably, the variables do not necessarily have their values assigned yet by the time the rules' dependencies are constructed (depending on the order in which .mk files are read?). So "dummy" gb_AllLangHelp_get_helpfiles_target targets are introduced, which depend on all the relevant .xhp files (and which get constructed during gb_AllLangHelp_add_helpfiles, just like the gb_AllLangHelp_*_HELPFILES variables), and which the XSLT-processing rules in turn depend on. That makes sure that the XSLT-processing rules are re-run when the content of .xhp files changes or when new .xhp files are added. However, the above still fails to re-run the XSLT-processing rules when .xhp files are removed. This is the core part of a commit spanning core and helpcontent2. Change-Id: I0cb5f83097db17fbd7ae8b528418b0ec24bee602 Reviewed-on: https://gerrit.libreoffice.org/55363 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-06enable incremental linking on windowsNoel Grandin
requires a handful of workarounds Change-Id: I77c25580135eeec437716eceea1412607f8d14ca Reviewed-on: https://gerrit.libreoffice.org/55244 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-05Remove unused "add individual file to AllLangHelp" commandsStephan Bergmann
Change-Id: I7c5f2dadcbbe543a774f5fbdd52babd25b8b17d1 Reviewed-on: https://gerrit.libreoffice.org/55319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-05windows link: only enable debug when we want symbolsNoel Grandin
Change-Id: I3c15c2d38c677ff6b3eba7bcc2520a99bd1b63db Reviewed-on: https://gerrit.libreoffice.org/55242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-04fix gbuild precompiled check for --enable-symbolNoel Grandin
its gb_SYMBOL not gb_SYMBOLS Change-Id: Ia719d37d280498c856747d2806ec5a8a2c598a99 Reviewed-on: https://gerrit.libreoffice.org/55206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-02gla11y: Enable warnings for more widgets missing a labelSamuel Thibault
Namely svxcorelo-SvxColorListBox svxcorelo-SvxLanguageBox sfxlo-SvxCharView foruilo-RefEdit svxcorelo-PaperSizeListBox Change-Id: I5933c750001eeee7a25ce8597d781b4a0dcfbbe3 Reviewed-on: https://gerrit.libreoffice.org/54814 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-01Improve handling of _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNINGStephan Bergmann
_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING turned into a global -D..., same as existing _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING. Change-Id: Ifefdc930a1d3ecf5366523dea509bfaca1f4e002 Reviewed-on: https://gerrit.libreoffice.org/55188 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-05-30gbuild: avoid -Wunused-macros with clang and icecreamMichael Stahl
Apparently the preprocessor leaves in the #define but expands the uses, so all macros are reported as unused. Change-Id: I064a8852ad1080c22440c2b0d05c9dfddcec45f1 Reviewed-on: https://gerrit.libreoffice.org/54992 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-05-24Properly handle language-specific parts of --with-help=html media/ sub-treeStephan Bergmann
...that previously ended up in language-independent parts of installation sets. The structure of that media/ tree doesn't allow to directly mis-use the existing AllLangPackage machinery (which expects the language to be encoded in the first pathname segment within the tree; and which is already mis-used for the helpcontent2/AllLangPackage_html_lang.mk parts). So introduce gb_AllLangPackage_add_files_for_lang that allows to specify the language explicitly, independent of where it is encoded in the pathname (if at all). The underlying gb_AllLangPackage_add_file sets a gb_AllLangPackage_ALLDIRS that is used by `make packageinfo`, which may need further fixing by anybody actually using that target; see the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2018-May/080242.html> "Broken --with-help=html `make packageinfo`". All files in $(SRCDIR)/helpcontent2/source/media/ must now explicitly be listed in either helpcontent2/Package_html_media.mk (for the language-independent files) or helpcontent2/AllLangPackage_html_media_lang.mk (for the language- specific files). Also note the two TODOs in helpcontent2/AllLangPackage_html_media_lang.mk. What is not quite right yet is that content from helpcontent2/AllLangPackage_html_lang.mk and helpcontent2/AllLangPackage_html_media_lang.mk is ending up in both per-language helpcontent installation sets (as intended, via the instructions in helpcontent2/CustomTarget_html.mk) and per-language languagepack installation sets (which is unintended). This needs to be fixed with a follow-up commit. This is the core part of a commit spanning core and helpcontent2. Change-Id: Ib29e52cf8a3ca7bcd234a8f6919c8eac6157cdbf
2018-05-21gla11y: Enable warnings for more widgets missing a labelSamuel Thibault
Namely GtkSpinButton GtkSpinner GtkProgressBar Change-Id: I00c1d03cde43d23cee5e8b502a03284ac81967a5 Reviewed-on: https://gerrit.libreoffice.org/54131 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-05-11Revert "Set SAL_USE_VCLPLUGIN=svp on all platforms to define headless mode"Mike Kaganski
This reverts commit c0965754df3309c39d316b76b2205af559bd28e3 since its reason was fixed in commits e57462cd7b08df2794b1c81e7bb15ed96afef1f1 and 752a1e27246e768984fed43153f3327379b76c99. Change-Id: I7b41888a9192c842b7df151be0ed3c6cf92d6322 Reviewed-on: https://gerrit.libreoffice.org/54123 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
2018-05-10Set SAL_USE_VCLPLUGIN=svp on all platforms to define headless modeMike Kaganski
... as used now in ODatabaseSource::buildLowLevelConnection; so not having it on Windows/macOS makes it hang waiting for dialog (e.g., in fdo84315). Change-Id: Ia63921ae398eddcd1be7d23e75c85979109a6615 Reviewed-on: https://gerrit.libreoffice.org/54068 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-05-08gbuild: Add function to only run gla11y on .ui filesSamuel Thibault
This adds gb_UIConfig_add_a11yerrors_uifiles to request running gla11y on .ui files without involving the rest of the .ui processing. Change-Id: Ic2478705037c98c6cdd493c3930b6ab8ef166b04 Reviewed-on: https://gerrit.libreoffice.org/53924 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-05-07gla11y: Enable warnings for GtkEntry widgets missing a labelSamuel Thibault
Change-Id: Ie2bd516a8125771e747c5960087f835b63737e9e Reviewed-on: https://gerrit.libreoffice.org/53837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-05-04gla11y: Enable duplicate labelling warningsSamuel Thibault
Change-Id: Id9022aad4538caa08c3de9a76ff97282cfefb828 Reviewed-on: https://gerrit.libreoffice.org/53314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-05-02tdf#116240: Include --with-help=html in installation setsStephan Bergmann
...by extending the hackery in helpcontent2/CustomTarget_html.mk (see comment there). (Ultimately, the gbuild HelpTarget machinery should probably be adapted to the needs of this new help format, once the old help format is no longer supported?) The Perl packaging code finds source files through the "include" paths specified in instsetoo_native/util/openoffice.lst.in. To avoid potential name clashes, put the new .filelist files into workdir/CustomTarget/helpcontent2/help3xsl/filelists/html-help/ sub-directories. read_filelist in solenv/bin/modules/installer/filelists.pm does not strip white space following the last item in a file list, but (with HAVE_GNUMAKE_FILE_FUNC) the gb_HelpTarget_get_translation_target .filelist files (which are then transformed with sed into the .html .filelist files read by the Perl packaging code) may contain such trailing white space. So $(strip ...) their content in solenv/gbuild/HelpTarget.mk. This is the core part of a change spanning core and helpcontent2. Change-Id: I82e0093ea2064725327330c5485f8e581573e1f2
2018-04-29improve message when uitest crashesNoel Grandin
add message about running specific sub-test Change-Id: Id680825944ecfcba18ac8d310d1ce36dbfed859a Reviewed-on: https://gerrit.libreoffice.org/53627 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-04-27generate more useful message when uitest crashesNoel Grandin
not at all perfect, because debugging these things is still painful Change-Id: I88952cac2e01d0c8b49384f0fe05775ffe3add64 Reviewed-on: https://gerrit.libreoffice.org/53449 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-04-21gbuild: add target rules for all modulesSamuel Thibault
This allows to run e.g. make UIConfig to automatically run make UIConfig_<module> for all modules. Change-Id: Idc2c3a61fd38b486435366164031b4d51f68eebc Reviewed-on: https://gerrit.libreoffice.org/51274 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-04-20gla11y: Enable button labelling warningsSamuel Thibault
Change-Id: Ie6a45060e252e75b76fb6222d02403de6d4bccfd Reviewed-on: https://gerrit.libreoffice.org/52968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-04-18gla11y: Add dependency on .ui filesSamuel Thibault
During the gla11y work, the dependency of UIA rules on the .ui files got lost, this adds it so that modifying a .ui file triggers checking accessibility with gla11y. Change-Id: I62103ca1783c2f532d7647384c1add1b557b37a1 Reviewed-on: https://gerrit.libreoffice.org/53116 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2018-04-18Do use -O1 for Apple Clang older than 9.1.0Tor Lillqvist
Don't want to risk breaking something by using -O2 with an older Clang, even if I don't remember exactly what the issue was when introducing the -O1 in 7b660e1423554928350e1de2cd4cb7eb577a27ec. Change-Id: I2adeb0e8eb85a9b5021fca3d9e1e703cb5604a81 Reviewed-on: https://gerrit.libreoffice.org/53068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-04-17No need to restrict optimization to -O1 levelTor Lillqvist
Works fine with -O2 as far as I see. At least with current Xcode. Change-Id: Id28e1bb905efffa3e3b548eb34f3455c8a021f63 Reviewed-on: https://gerrit.libreoffice.org/53041 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-04-13gla11y: Enable label-for/labelled-by pairing warningsSamuel Thibault
Change-Id: Icecc1cf3d7ec5c217e705640f1c4a049b75a6778 Reviewed-on: https://gerrit.libreoffice.org/52405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-04-03Don't use /NATVIS for static librariesMike Kaganski
This avoids linker warnings: LINK : warning LNK4044: unrecognized option '/NATVIS:path/to/solenv/vs/LibreOffice.natvis'; ignored Change-Id: I9cb0dee7a4f1b07e975371f122aa9c7dbba783e1 Reviewed-on: https://gerrit.libreoffice.org/52309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-04-03Create temp copies of test docs in Python/UITestsStephan Bergmann
...where necessary, so the tests will succeed if SRCDIR is a read-only tree. Change-Id: Iea4c52d5982d3eba079088ef1670ff557ce30c3f Reviewed-on: https://gerrit.libreoffice.org/52122 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-30tdf#115396 fix mode of files installed from externalsDavid Tardon
Change-Id: I608f46235f2e80e74f6900831d13e082b167cfce Reviewed-on: https://gerrit.libreoffice.org/52074 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-03-29Fix PythonTest_*.clean targetsStephan Bergmann
Change-Id: If8d0b89810c7c9a0cf8664e5f34be154e35e40ed Reviewed-on: https://gerrit.libreoffice.org/52071 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>