Commit Graph

532 Commits

Author SHA1 Message Date
a59b6be085 odfvalidator support in export tests without external repositories
Fetching external tarball for Apache ODF Toolkit, configuration of
wrapper script for odf validator execution

Change-Id: I8b3824a91ebc6ddc196416e197b6c688964a13a9
Reviewed-on: https://gerrit.libreoffice.org/26596
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-07-21 01:47:02 +00:00
428e23f4f7 Fix some spelling errors in comments and strings
Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e
Reviewed-on: https://gerrit.libreoffice.org/26883
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-07-04 06:11:36 +00:00
76c2125ee3 Add MS binary format validator support for wine
Run bffvalidator also from Linux, reportedly works from wine 1.9
upwards. Wraps stuff in a shell for path name conversion.

Change-Id: I3093b10bbbf89aaff97f63485b8ccadb417b3561
Reviewed-on: https://gerrit.libreoffice.org/26784
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-06-29 22:46:20 +00:00
c4f3c63931 add some info how to use the symbol upload script
Change-Id: Ic1d1b57966661b6012efcda0b007b9e75b6be0ef
Reviewed-on: https://gerrit.libreoffice.org/26650
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-06-25 01:08:35 +00:00
f06c50870c Wall is a good idea for the vim ide integration
Change-Id: Ifb3c602335097ec1e837b60c236683382cfde3e1
2016-06-18 17:02:17 +02:00
10f112376b tdf#100453 – bin/unpack-sources needs to be executable
otherwise building from source-tarballs fails when it tries to extract
fetched submodule tarballs

Change-Id: I75bcd6821e244ca2a3375ec2916ee7c38ec9844e
2016-06-17 16:28:49 +02:00
38bb2c6831 improve sample message
Change-Id: If7ea670195e55d306c4b0733bfcd3c8c6040eddc
2016-06-10 13:42:44 +02:00
45913cd580 pretty up the output and add a sample string
Change-Id: I1c37b32e2127ba99b48b5ce3176e605f4e797475
2016-06-09 13:38:32 +02:00
623de75b65 script for grouping warning messages by most common
A script to search our test logs and sort the messages by how common
they are so we can start to reduce the noise a little.

Change-Id: I8a6e6167c42447f9869ac700300d1b243f055e2b
2016-06-03 11:43:02 +02:00
88c03cd07a find-german-comments: clean up
Most of these syntax changes are found by pylint. Also:

 - Use argparse instead of optparse, which is deprecated
 - Fix a bug where we tried to multiply by float, which does not work

Change-Id: I7de5a29bd431755e6c28a8bc80b804c775a0c2cb
Reviewed-on: https://gerrit.libreoffice.org/25669
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-05-31 05:38:22 +00:00
4d23189aee add gen-boost-headers script
Change-Id: I02102f6c37863963efa9a312a5a0fbbc1f42f345
2016-05-30 17:33:52 +02:00
02b666c477 find-german-comments: enable scanning subdirs
This makes it possible to scan sub directories, when you give them
as arguments to the script.

Also update the directory_whitelist.

Change-Id: I0a8468348fffe0814905d6f5602fad3f8d6b69e3
Reviewed-on: https://gerrit.libreoffice.org/25523
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-05-27 06:19:46 +00:00
019e3cb1c3 don't use the VM URL anywhere
Change-Id: I0967c8fcea972b2dde58e3481f4767e225d3b2ba
2016-05-24 21:32:07 +02:00
8441cd025a this is unnecessary and os.path.abspath seems to be confused in cygwin
Change-Id: I125eb2e3416c998ca16f9c9772a1e24183a222af
2016-05-24 09:24:48 +02:00
0cd5d93c1e make debuggin failures a bit easier
Change-Id: I0b17ab513e05ee95c378399348557cfee8341fb0
2016-05-24 04:28:16 +02:00
d586e3bf04 fix the crashreport symbol upload script
Change-Id: Id99ac569f6c9f839002798b6f5794b05ed228988
2016-05-24 04:28:15 +02:00
c64119e4f4 fix the crash report location also in another place
Change-Id: I3ab133fbdcdcc8a17ec9159d1c88b19f35b6a7b0
2016-05-23 23:00:26 +02:00
3f82596397 also handle .bin files in the windows symbol code
Change-Id: I85b0490c515987d56e04d0e5b42111c52bbabbc3
2016-05-23 23:00:25 +02:00
1dec3cb29b find-german-comments: let's use python 3
Under python 3 we must use bytes.

Change-Id: I86d2a875f4e06a9cb9724d86348f420bb8ea19e9
Reviewed-on: https://gerrit.libreoffice.org/25084
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-18 10:18:24 +00:00
95fecb5f6d find-german-comments: make it work on arch
Make this script work on systems, where python3 is default.
Also give it a better coding style.

Change-Id: I09bf72298c2a736266f1bdfc8572cc3e65d7d3d9
Reviewed-on: https://gerrit.libreoffice.org/25068
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-05-18 08:58:43 +00:00
fc2590cfa1 Fix typos
Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73
Reviewed-on: https://gerrit.libreoffice.org/24317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-30 15:06:45 +00:00
ec51593297 What is bin/distro-install-file-lists supposed to do?
It is called from the recipe for distro-pack-install in Makefile.in, and I'm
(re-/mis-?) using that make target for xdg-app builds (mainly to populate the
/usr/share metadata via bin/distro-install-desktop-integration), which then
fail because there is no $DESTDIR/gid_Module_Root.

Is anybody using that make target still in a way where
bin/distro-install-file-lists is doing something useful (and why is it that
$DESTDIR/gid_Module_Root is existing in that case, but not in mine), or is that
some leftover stuff than should be removed?

Change-Id: I27197c4ae3f57f028f5b181315484e25c1edbaf7
2016-04-29 17:17:34 +02:00
7480966c82 Adapt bin/distro-install-desktop-integration to BUILDDIR != SRCDIR
Change-Id: Ief204145282d9a13f9a4839aa70c642e569ef6b6
2016-04-29 17:17:16 +02:00
de4b758ff3 Improve the gen-iwyu-dummy-lib script a bit.
- Fix the check for --enable-compiler-plugins not being included in
  the resulting StaticLibrary_iwyudummy.mk file.
- Disable warnings about unused const variables to reduce noise.

Change-Id: If54dfd55f46631bbc526326bed5c272358fb9cf3
Reviewed-on: https://gerrit.libreoffice.org/24419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-27 14:34:05 +00:00
4ec7128470 convwatch: use PerTestConnection by default
It's more robust to restart soffice after every file, even if it takes
more time, overall it's better than having to prune all the files that
are invalid or cause loops before running convwatch.

Change-Id: I7f7155f71bb2522ae48182aa1b5ca61fc47ae4d5
2016-04-27 15:52:42 +02:00
66f769feb2 convwatch: logExceptionInvoke is kind of pointless now
... that runLoadPrintFileTests catches the exceptions anyway.

Change-Id: I6441551558e057427a9732451415f4c449a3609a
2016-04-27 15:52:42 +02:00
61e8275de6 convwatch: don't generate images for documents that failed to print
Change-Id: I2dba6ccbb7cbfb3719c2169dc74204014caf2e84
2016-04-27 15:52:41 +02:00
844ca4dcc6 convwatch: add a watchdog for the layout loops :(
Change-Id: I33996f0d84e1a4b303b6f2cf7afa6cee32665a77
2016-04-27 15:52:41 +02:00
32b6b0e934 convwatch: if a document fails to load, log that instead of failing
Bugzillas have lots of zip-files with wrong mime-types
and non-well-formed files.

Change-Id: I1238a35da0f222759439316a33b8927a3544a965
2016-04-27 15:52:41 +02:00
97d9733b24 convwatch: don't buffer stdout logging
Change-Id: I0d32b150b65bf6bd30a988c2e028c5d7e05f195e
2016-04-27 15:52:41 +02:00
a1f3f7da8d convwatch: let's print some timestamps
Change-Id: I455017ad3458362b78d6306886344ccec3c9247b
2016-04-27 15:52:41 +02:00
aa458c31a5 don't export the same lib multiple times
Change-Id: I4201246b2a1692c6edffa962de49d032fd825b70
2016-04-14 12:26:05 +02:00
363444aa6e vim-ide-integration: clang does not always like gnu++1y that much
And gives the error:

include/c++/4.8/cstdio:120:11: error: no member named 'gets' in the global namespace

when it's build against libstdc++.

Commit 9e6221f114ba4422caa79f38ee0a20fb8a8931cd (clang does not like gnu++11
that much, use c++11 instead, 2014-09-06) added support for invoking clang for
IDE purposes even in a tree configured for gcc. Extend this in case configure
sets -std=gnu++1y for gcc as well.

Change-Id: Ib767ef8f30bd6eb9ac825a1521184041f1269d93
Reviewed-on: https://gerrit.libreoffice.org/23983
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-04-11 08:50:49 +00:00
c1b90fa342 fix OO_SDK_NAME; s/openoffice.org/libreoffice/
Change-Id: I21635701a95f1dfd1d5df1bbabdb5b81bf280639
2016-04-04 22:52:15 +02:00
df15d17fa5 gbuild-to-ide: fix missing include in clang json database
This wasn't noticeable in modules that use '#include "..."' for files in
the same directory, but does make a difference e.g. in sw.

With this, the include list in the database matches what gbuild in fact
uses.

Change-Id: I564c70d069fae41ea67ae7e57a188e99fa2ef861
2016-03-29 09:09:50 +02:00
2a5b8f34eb Exclude xmlsec headers from precompiled headers
Internal headers should not be exposed, rather
xmlsec-wrapper.h should be used. Unfortunately,
the latter causes undefined symbols on Linux
when pch is enabled.

Change-Id: Id68f1cde5090f1a8ba9530894e08edbeb3ad4165
Reviewed-on: https://gerrit.libreoffice.org/22811
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-01 15:03:57 +00:00
48aae2225f Avoid hard-coded perl path, check with env
Change-Id: If39a4991b487b14d21572d6e3d785df4c287f190
Reviewed-on: https://gerrit.libreoffice.org/22238
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-25 13:51:25 +00:00
fd9cfdd823 add script to upload symbols to crash reporting site
Change-Id: I85f6c0757550192443909f08331d65c21c7f4350
2016-02-22 21:10:00 +01:00
c11c253a26 add script to generate symbols
Change-Id: Icae707709307bc86360676692e55780b9ec89639
2016-02-22 21:09:59 +01:00
2087484c65 use consistent #define checks for the Windows platform
stage 2 of replacing usage of various checks for the windows platform
with the compiler-defined '_WIN32' macro

In this stage we focus on replacing usage of the WIN macro

Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84
Reviewed-on: https://gerrit.libreoffice.org/22393
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-17 11:33:57 +00:00
29cec238a1 scan for all the source files I can think of
Change-Id: I7d0c171ceaaf5f38fabe1ff8b53d78f72ea765e2
2016-02-12 09:47:55 +02:00
25ff833c14 find-german-comments: misc. cleanups and fixes for altered tree.
Change-Id: I6d6f3488afd71cb782bd83fea9fa11a2e52d0efe
2016-02-10 15:49:16 +00:00
0ce412f309 modules-deps.pl cleanup
Change-Id: Ic450869c18991b9ed715bb31052dfb911fe3c789
Reviewed-on: https://gerrit.libreoffice.org/21508
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-01-28 08:01:48 +00:00
cea94bd3cf GCC PCH says -Werror=unused-macros BOOST_SPIRIT_DEBUG
... so try to blacklist that boost::spirit header, it is fortunately
included only in one cxx file per library anyway.

Change-Id: I95752540d33b2b20d7a185c05c4d4d15e660d956
2016-01-22 10:13:15 +01:00
4ebe249104 drop basebmp entirely now
Change-Id: I534848c4be8eadf86b7f31ac742a80982405f56f
2016-01-20 09:43:28 +00:00
bee5797feb iwyu fixes
Change-Id: I2dc9218ae8c4ea51fea5f710664520a598e7c4a3
Reviewed-on: https://gerrit.libreoffice.org/21536
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-18 18:50:56 +00:00
a7f3a0ee29 also link liblangtag to the liblo-native bundle (fix Android build)
Change-Id: I9f8e647068b3f0403858e5ef52f65e5e6a16e165
2016-01-15 18:52:50 +01:00
24ef3924d8 PCH support on Linux
Fixes and improvements to support Precompiled Headers
on Linux.

Change-Id: I8145c146b0dba56c7a4d0fdf9c330164b67ada53
Reviewed-on: https://gerrit.libreoffice.org/21307
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-11 03:55:46 +00:00
91f97fddff Fix distro-filelists after removal of kde3
Change-Id: Ie11281285de012dfd61f4b3b04b4144cd90d382a
Reviewed-on: https://gerrit.libreoffice.org/20989
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-01-06 22:07:08 +00:00
2ec813b4bb don't use bash completion compatibility dir
Change-Id: I575f6fc9c1605bb7ec07842928f85c2eeadc72f8
Reviewed-on: https://gerrit.libreoffice.org/20954
Reviewed-by: rezso <rezso@rezso.net>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-01-05 15:40:28 +00:00