Commit Graph

774 Commits

Author SHA1 Message Date
4fcf17f89b add pcd fuzzer
Change-Id: Id21659687952ec5e868733fbca12353dd71b8153
Reviewed-on: https://gerrit.libreoffice.org/32902
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-09 20:37:39 +00:00
e014213ae4 scp2: move firebird_sdbc library to firebirdsdbc module
Change-Id: Ie57ae3452947a8454eca5d83f2e80d168ef2fa6d
2017-01-09 16:43:29 +01:00
1f5a2f7a91 add svm fuzzer
Change-Id: I56606605e7ce7e282960432384057f2986d3a187
2017-01-09 11:21:11 +00:00
4df12fe523 add bmp fuzzer
Change-Id: I5a564402b7a0b6ae1fcbeef6d84f85f1d3e4f4ce
Reviewed-on: https://gerrit.libreoffice.org/32850
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-09 10:02:42 +00:00
1413ab328a add png fuzzer
Change-Id: I06a92aff55f4e107781b5e7b2b95eb61692a929b
Reviewed-on: https://gerrit.libreoffice.org/32849
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-09 10:01:46 +00:00
8eb7069941 add xpm fuzzer
Change-Id: Ic4869b58914079662b09c8ef406b4f65d21b5270
Reviewed-on: https://gerrit.libreoffice.org/32839
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-08 20:48:06 +00:00
7bc163e9ac add xbm fuzzer
Change-Id: I23d65c01bfd1ff083cda0f48c5db1636f1c6095b
Reviewed-on: https://gerrit.libreoffice.org/32821
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-08 14:59:57 +00:00
6bd7451ecd add gif fuzzer
Change-Id: I47dc449464cc7643d05b73e9612d01e50a8d4b8e
2017-01-05 23:23:58 +00:00
35bc966856 Remove package with dbghelp.dll
ENABLE_CRASHDUMP is always empty.
dbghelp.dll was removed from scp2 in
8ab4d2f29fdd2c058db23f6ee7b2200655d4c6f6

Change-Id: I5c47ce4b4cafb2f24185ddd9a31eb1a3176fa176
Reviewed-on: https://gerrit.libreoffice.org/32395
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2017-01-02 21:20:21 +00:00
85e8507d19 add a jpg fuzzer
reshuffle things to share common core

Change-Id: I50aa0e2ddeefaa4b2d0592b1118defd28b7347db
2017-01-02 20:36:13 +00:00
7b340f0d88 tdf#90753: AutoInstall libreofficekit_selectionhandles package
Change-Id: I9998f3dcd6725a49aa2c083eac0de1f970b167e0
2016-12-25 09:11:11 +01:00
b090356754 tdf#90753: AutoInstall shell_senddoc package
Change-Id: I6cc638c460a8baa2cd9d29c3b82418b6ecfb630d
Reviewed-on: https://gerrit.libreoffice.org/32397
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-24 08:10:30 +00:00
120a87a36e tdf#90753: AutoInstall xpdfimport_err.pdf as filelist
Change-Id: Icfebcbf3cb738cb376a5ee97cd21a27a25c0bf35
Reviewed-on: https://gerrit.libreoffice.org/32396
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-24 08:10:08 +00:00
5662817149 tdf#90753: AutoInstall postgresql-sdbc.ini as filelist
Change-Id: I908b549a14c702ce2c33de704b06d016036ccecb
Reviewed-on: https://gerrit.libreoffice.org/32394
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-12-24 07:59:11 +00:00
df4b8ae22f tdf#103332, install the new calc default styles correctly
Change-Id: I7bfa0edc3bf286d304ae2648e563216ce850e4d1
Reviewed-on: https://gerrit.libreoffice.org/32262
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-21 03:01:11 +00:00
8092d344fa use new ENABLE_NSS for code which needs nss
which isn't available on a static-only build (iOS and fuzzing) and
android

Change-Id: I99bb7c0b45d4499579ddf73f469a762ddcae99ab
Reviewed-on: https://gerrit.libreoffice.org/32182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 14:20:47 +00:00
07cb7687f4 a blind attempt to fix android build
Change-Id: I025847785cef1cad9190861410a284c848744dce
2016-12-19 14:33:18 +01:00
4ec87ca784 add dbtools for !HAVE_FEATURE_DBCONNECTIVITY anyway
Change-Id: I7a769ab3c7881eae80849efc5e75eca5846d254f
2016-12-17 15:47:15 +00:00
cfd2691e5b [API CHANGE] Remove salcpprt static library
...containing replacements for global operator new/delete (that can be linked
into executables), but which is no longer used.  The mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2012-March/028690.html>
"operator new no longer routes through rtl_AllocMemory in libsalcpprt under
gbuild link rules" has the details of how this was used on some platforms (but
not on others) before the switch to gbuild, and has been "lost" ever since---but
apparently a loss not mourned much over the years.

For the SDK, c5f974287fd04bb529de145113133b9e35687702 "INTEGRATION: CWS jsc3:
#i62434# copy libsalcpprt.a" added the library (under Linux) and
6db9c5af960f9787e33e4addc56bddbb1695a402 "INTEGRATION: CWS jsc3: #i62434# extend
link options for executbales to link libsalcpprt.a, LINUX only" added its use to
odk/settings/settings.mk, but fc0ca57f2cd649c6330171445a06b80e2143a0e9
"INTEGRATION: CWS jsc21" removed that use again (for no documented reason).  So
this is an incompatible change, but unlikely to actually affect any users of the
SDK.

Change-Id: Ia38b4c439f21fca3f5d9af7d1a34054e992054e9
Reviewed-on: https://gerrit.libreoffice.org/31810
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-12 09:16:34 +00:00
4d5e5908b4 tdf#97803: gbuild: Check that every package is registered
Change-Id: Idedad62ac28804f4725d6bda2f4633ed79c01535
Reviewed-on: https://gerrit.libreoffice.org/31571
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-12-07 15:42:23 +00:00
46346a2f4e rename wmftester to wmffuzzer
to make it easy to distinguish these things if there ends up being a gadzillion of them

Change-Id: Ifb75cfa5e3039b8730ce08644c6a76cd040f6ed8
2016-12-05 13:01:04 +00:00
5ca4a50c17 optionally enable oss-fuzz targets via --enable-fuzzers
Change-Id: I16f52515a149a1e6e47cd0301a45db84ddd95885
2016-12-05 12:56:27 +00:00
01c75db710 convert test helper library to dynamic
Change-Id: I5992cc7ac9ffb3974fa49bb7feec4b0212032386
2016-12-05 10:41:54 +01:00
6de5cf050c tdf#90753: AutoInstall readlicense_oo packages
Change-Id: I5bd3a5f6168b20c925f5713085fcb0918bcccc8e
2016-12-02 20:14:39 +01:00
67398a8d97 tdf#90753: AutoInstall setup_native packages
Change-Id: Iecf059b974b996fceb57b04197c7dac9b7c8dd47
2016-12-02 20:14:39 +01:00
0b66adec8f tdf#90753: AutoInstall gengal with filelist feature
Change-Id: Ic72fb18eccb54b24f4205d997585cee753965b10
2016-12-01 17:07:54 +01:00
52d409f0d6 gbuild: Prevent wrong use of gb_Helper_optional_for_host
It's empty, unless gb_Side=build.
This fixes commit 1193443b15b0e38cbfb41573b31acf9a8d90ce2c

Change-Id: I83efad36d8f40c460d09ee1bd1addd7fb26c177b
Reviewed-on: https://gerrit.libreoffice.org/31419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-30 21:56:09 +00:00
4430ace32a tdf#90753: AutoInstall more packages
Change-Id: If8a52f652f7ab890826372b6d081ee19c69fb5ec
Reviewed-on: https://gerrit.libreoffice.org/31371
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-30 21:44:09 +00:00
fd7c94f0b2 tdf#90753: Autoinstall sdk packages
Change-Id: I54de722335d443813cb4526716c0101a049db03f
Reviewed-on: https://gerrit.libreoffice.org/31370
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-30 21:36:56 +00:00
42b959ff72 tdf#90753: Move extras packages to AutoInstall
Change-Id: I3e1504bb8a68a6142ab4035b2cb81c03d9af9227
2016-11-26 16:11:23 +01:00
aabc5aab5a tdf#90753: Move brand packages to AutoInstall
gid_Brand_File_Bin_Soffice_Bin_Manifest was removed
in 26bddf3e80865d847f52e649ab60f97269177a3e

Change-Id: Iff5314e8c3c6191556c082bc30938dd177b254fc
2016-11-25 22:43:34 +01:00
dd8c8d81de add test for running gbuildtoide on non-build modules
- do concat for json in C++, everything else seems fragile on Windows
- have APPEND vars separately
- check that gbuildtoide work on modules without a full build (modulo
  some blacklisted "creative" ones)

Change-Id: I6fe267fee7d1b77d758072303729387dfeb8e6c8
Reviewed-on: https://gerrit.libreoffice.org/30293
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-26 22:41:32 +00:00
475e4b477c Move i18nlangtag lib to URELIB
...as stoc/Library_javavm.mk depends on it since
9b09a217c79e8a35fc4de54c89ef49fbf8f72752 "Resolves: #i86470# Wrong Java locale
when using 'nl' and 'fr'".  The i18nlangtag lib in turn depends on libs from
external/liblangtag and external/icu, so those needed to be moved to URELIB,
too.

On Windows, the external icu package was already split into icu and icu_ure
(because "libxml2 is in URE and depends on icuuc*.dll on Windows"), so use that
splitting on all platforms.  (However, the corresponding changes that were
necessary in RepositoryExternal.mk suggest that they had been missing for the
split Windows case until now, and things had happened to work by accident?)

On macOS, a library's install name reflects its (URELIB, OOO, ...) layer, and in
external/icu/icu4c-build.patch there is only a single place to set that for all
libs from external/icu.  This patch changes that from OOO to URELIB, but for the
icui18n lib that should stay at OOO.  The hack to make it URELIB nonetheless
works for now.  To clean this up again, either the whole of icu could go into
URE (dropping the icu vs. icu_ure package split completely), or the macOS layers
URELIB and OOO could be combined into one (as the libs end up in the same
directory anyway).

Change-Id: Idc262fa41481d06ba2cae86ad7629cdccb392c07
Reviewed-on: https://gerrit.libreoffice.org/30272
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-25 17:55:45 +00:00
78310ffb41 The logic is “ no QuickTime™ in the 10.12 SDK & beyond ”
instead of “ QuickTime only in 10.8 10.9 10.10 & 10.11 ”

related commits are
  a4e81b7c313e5cb0e0f23a8605502b4b0b7f599e
  bfbbbd87d33c0d51a9ff844f2175400b753ba5b9

Change-Id: Ie65abb736aa11ad063edeaed798d2e03db1684fe
Reviewed-on: https://gerrit.libreoffice.org/29268
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-14 06:42:49 +00:00
5cfcd6809f add gbuildtoide support for exes
Change-Id: I320ee341651dd0c92de5176c10aa5290afea1d38
2016-10-14 01:07:48 +02:00
7f77e6840d add a testbed for gbuild
Change-Id: Ie6e54c291f92dfede113a1d0fa20771482d93605
Reviewed-on: https://gerrit.libreoffice.org/29743
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-10-13 09:01:45 +00:00
53bba96ac0 xmlsecurity: add initial Executable_pdfverify
We have code to verify ODF and OOXML signatures, this adds initial
support for verifying a PDF signature.

Initially this is a standalone executable, need to turn this into a unit
test + hook it into sfx2 in follow-up commits.

Change-Id: Ideb5ec63f761c74fd4527cf1766b0aa739e275ee
2016-10-12 16:50:31 +02:00
bfbbbd87d3 sync build cond. for avmediaQuickTime with Module_avmedia
Change-Id: I7188f6b94ca8782fc9c5fb106cb08801fc5ef5c0
2016-09-28 10:02:11 +02:00
16bbeb5713 Change the shared bridgetest code from static to dynamic library
...so ASan builds do not complain about ODR violations due to multiple instances
of vtable for testtools::bridgetest::CurrentContextChecker after
a53808c0ed577468393aced90963af6496706959 "loplugin:dllprivate" removed the
SAL_DLLPRIVATE from class CurrentContextChecker (which apparently /did/ have an
impact with -fvisibility-ms-compat, as used by Linux Clang ASan/UBSan builds).

Change-Id: Ifb1ba1819f7ea989300f4696d44f9599a1436563
2016-09-14 15:52:04 +02:00
8dc38d9ded Remove obsolete OxygenOffice bits
Since 77104ccd7658cb8f3ac142ea9f7fabc15fc08580 the OxygenOffice
distro configs are removed and no other official distro uses these.

Change-Id: I2b4d5fea7e4b9098ac88733821af219db23c48fe
Reviewed-on: https://gerrit.libreoffice.org/28738
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-09-08 21:20:58 +00:00
965f379b6e Break test::setUpVcl into a test-setupvcl library of its own
...so it can be gb_CppunitTest_use_library_objects-included in upcoming
<https://gerrit.libreoffice.org/#/c/28322/> "tdf#99402: fix Metafile Font
handling".

Executable_pdf2xml.mk linked against test since
b0da8f00a0d41f2b17639fcee4ed4956421e55c5 "Make pdf2xml usable at least from
within buildenv again", but that seems unnecessary and would now cause problems
when linking the pdf2xml executable on Linux, as the linker for whatever reason
wouldn't find the libtest-setupvcl.so referenced from libtest.so, even though
the latter has a proper DT_RPATH.

Change-Id: Iba5d80266520ce1f5dafedffa520d18e853f7ec5
Reviewed-on: https://gerrit.libreoffice.org/28473
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-30 05:40:36 +00:00
3e6052ce1b vcl: Adds backend tests to check for correct rendering
Collection of test that check rendering of VCL backend. This works
by rendering primitives to the VirtualDevice, outputing the result
to a Bitmap and checking the rendering by comparing pixels. This
should warn when the primitive is drawn to a wrong position or if
it is the wrong size or color. It also test some rendering tricks
like XOR drawing.

Currently this is not implemented as a CPPUnit test but separately,
as its own executable file so we can check the results visually.
The idea is also to add the tests into LO for the user to test or
automatically to test the backend on first start (especially
useful to test the OpenGL backend as some drivers could have
unexpected behaviour).

Change-Id: I2a565b9986ca68850e2752466e3cd5fc71991ba6
2016-08-23 09:52:43 +09:00
e782dc3044 ENABLE_OPENGL does not mean whether to enable OpenGL use in general
It refers to only the OpenGL slideshow transitions. So no reason for
avmediaogl to depend on it.

Change-Id: If85ad6bcd077d9e753c259aa8dc6ad5629105136
2016-08-03 21:33:52 +03:00
c44726c482 desktop: validate OpenCL drivers before use.
OpenCL validation needs to happen before drivers are used in
anger. This should isolate any crashes, and/or mis-behavior to
We use app version, CL driver version and file time-stamp to
trigger re-testing the device. If anything fails: hard disable
OpenCL.

We use an opencl validation sheet (cl-test.ods) and install it.
It is a minimal CL set - it requires a very short formula group
length, and combines several CL functions into few formulae to
test more.

The sheet structure, in particular the manual squaring / SQRT is
necessary to stick within the default CL subset, and ensure that
formulae are CL enabled from the root of the dependency tree up.

Change-Id: I18682dbdf9a8ba9c16d52bad4447e9acce97f0a3
Reviewed-on: https://gerrit.libreoffice.org/27131
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-07-12 08:39:01 +00:00
40f9be70ef uitest: move the uitest files to vcl
This allows us to use them in vcl as well without introducing dependency
problems.

Change-Id: Ib97af2d559902f1a6b47f9255bb0426411670647
2016-06-18 17:01:20 +02:00
d5c3f1bf26 uitest: add groundwork for ui testing framework
Change-Id: I51b81da870fd220d56b32c20b9e6c4604912a014
2016-06-18 16:59:48 +02:00
1193443b15 fix packimages that broke android build
Change-Id: Iecab49bfdf16790b777ff9069074479ec3d4188e
Reviewed-on: https://gerrit.libreoffice.org/26130
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-06-09 19:52:08 +00:00
397ad4d4b8 pass image lists using a response file
Change-Id: Ic00715edd1173ebb01ce5853e2835d71235fa4df
2016-06-07 07:22:07 +02:00
691105cb71 don't build/install minidump_upload with ENABLE_BREAKPAD=
Change-Id: I0f7d9811d669c2884b0c1704878678b01529e52f
2016-03-28 22:40:32 +02:00
96c1ae1d8e fix headless build
disables OpenGL and glew usage, lets --without-gui do what
--without-x did before and disables X related test

Change-Id: I680b47c9962a0d43c8ece593db0b82e347ceebdb
Reviewed-on: https://gerrit.libreoffice.org/23474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-03-25 11:05:47 +00:00