Commit Graph

743 Commits

Author SHA1 Message Date
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
e451b03e8c gtktiledviewer needs gtk3 not gtk2
Change-Id: Iede2008139cb570ff65202762e92f6694548a065
2016-03-07 13:23:49 +00:00
8ba6e0d6b1 Skip some executables in the OS X sandboxed (Mac App Store) case
I doubt end-users will miss gengal.bin, regview, or regmerge.
We need the gengal program at build time. But don't bother shipping
it on OS X, at least not in the sandboxed (App Store) case.

Change-Id: Id73bef1ba71d126c2d2962fe846e9c31963d6c24
2016-03-04 11:17:55 +01:00
7af143a69f Don't package ui-previewer in App Store case
Change-Id: I122c65d7f6dec7588ea2624e291e9dfe04dff22c
(cherry picked from commit 89dff9226690829b985371c3f2b29e57bfed06ed)
2016-03-03 15:16:11 +01:00
999c68f12f genLang project (awareness)
the genLang project aims at replacing all l10ntools with more
modern versions, based on C++ and lex.

The current extract works basically as a standalone "find" over the
source tree. genLang can use that, but also a more efficient way, by
having translation-worthy files declared in the makefile stubs.

genLang itself is a C++ framework, where each file type is defined as
a class, making it easy to add new file types.

genLang can easily be adopted to transform the help files into e.g.
mediawiki format, and later merge a url back into the code.

The project was first developed (solely by the author) in a non
published branch of OO. This branch was never merged but deleted
and therefore never published.

The files have been adapted to the LO build system and setup.

The primary commit is just to raise awareness, that this is being
developed. The following commit, will update the source code to LO 
standard. Before replacing the old modules a dedicated review will
be asked for.


Change-Id: I4504992474333c476c179903f822bfaf1441cca9
Reviewed-on: https://gerrit.libreoffice.org/22819
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-03-03 07:46:59 +00:00
f09bcddfa9 scp2: move scp2 classification package to AutoInstall
Change-Id: I59afb2302b7fe891a83ca5ce7b12eca322bb7ed7
2016-02-29 13:56:13 +01:00
98df76f26a use the new ini file based minidump uploader
Change-Id: Iaf85fb53e6eff34e268b6948d62ca84b7f8e6dd2
Reviewed-on: https://gerrit.libreoffice.org/22558
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-26 15:01:24 +00:00
bf250abe26 write an own minidump uploader
This one is platform independent and uses a key-value file.

Change-Id: I28a4483763666a5a8520874bf8e984eaaf24e9c0
Reviewed-on: https://gerrit.libreoffice.org/22557
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-26 11:29:49 +00:00
53f0eb12f0 tdf#90753 Move Pyuno wizard packages to autoinstall
Change-Id: I9dda8144e0cb3ff2ea80c65f210a9b94b88a0026
Reviewed-on: https://gerrit.libreoffice.org/22379
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-17 10:01:41 +00:00
98015cdcde We need to mention the vcl_opengl_blacklist here
Otherwise the file won't be included in the installer.

Change-Id: I928144e666377f18efa3a66f1e8c3e4204a708dc
2016-02-12 16:38:22 +02:00
532b47a650 [ABI CHANGE] In SDK, replace regcompare with unoidl-check
...as the latter was the more flexible replacement for the former for LO-
internal use already.  The only gotcha to watch out for is that unoidl-check
cannot be used to check "naked" .urd files, but only ones where the content has
been moved to /UCR via regmerge.

Leave registry/CustomTarget_regcompare_test.mk around to verify that
unoidl-check behaves the same as did regcompare on those old-format .urd/.rdb
files.

Change-Id: Ic13ede48535bf942126c810d88bac7e4081d984e
2016-02-04 15:56:57 +01:00
4ebe249104 drop basebmp entirely now
Change-Id: I534848c4be8eadf86b7f31ac742a80982405f56f
2016-01-20 09:43:28 +00:00
4c18af27bf tdf#96398 kill remaining NPAPI support for plugins _inside_ LO
- probably out of date
- links against Gtk2 and thus causes a GTk2 dependency in core packages
- the only serious usecase (Flash) is doomed anyway

Change-Id: I7264ab5eb04c2f4b6c31a815e45b9818209e5ae2
Reviewed-on: https://gerrit.libreoffice.org/20658
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Bryan Quigley <gquigs@gmail.com>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-17 15:31:17 +00:00
7f533e6cda merged graphic import/export into a single library
instead of egi, eme, epb, epg, epp, eps, ept, era, eti, exp,
icd, idx, ime, ipb, ipd, ips, ipt, ipx, ira, itg, iti,
there is now one graphic import export lib (gie)

Change-Id: I20c0dd94e5857bb6e2e8cc8ac175ff500c6bbdfc
Reviewed-on: https://gerrit.libreoffice.org/19756
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-06 11:42:36 +00:00
6948c546fd tdf#75637: Resolve help images via a vnd.libreoffice.image UCP
...which uses the logic already available in VCL's ImplImageTree to locate the
image zip files and find fallbacks for incomplete themes and for localized
images.

Change-Id: Ic1c15fcacb6596a27a2b051093232902202bf472
2015-10-26 17:55:14 +01:00
4e3086da3e Remove Seamonkey based address book driver
Seamonkey based address book driver is based on pre-compiled libraries
and is only used on Windows 32 bit. Remove it in favor of mork driver.

Given that Seamonkey based mozab driver also provides Outlook and
Outlook Express address book integration, that Windows-32-bit--only
feature is lost for now.  If necessary, support for that feature could
be rewritten from scratch, in a way that would also work for Windows 64
bit.

Change-Id: Ie1c125e692598bda999767c328c9e2262a2b82af
Reviewed-on: https://gerrit.libreoffice.org/19560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-25 15:02:44 +00:00
fd612a144c Add DLOPEN_LIBS to configure for some cases where -ldl is needed
use std::sqrt in vcldemo.cxx

Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee
Reviewed-on: https://gerrit.libreoffice.org/18591
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-20 15:17:58 +00:00
3cf557c12d drop gconf integration as per ESC decision
Conflicts:
	shell/source/backends/gconfbe/gconfbackend.cxx

Change-Id: I609ec83ec59f5ae8d3a8c9c09649695bfcb03b87
Reviewed-on: https://gerrit.libreoffice.org/19408
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-16 13:50:28 +00:00
a9e7645cb9 TDE: move stuff into the tde-integration package
Currently the package just contains the TDE shell backend library.
This moves the URL handler tde-url-open and the vcl plugin into
the integration package, like the KDE3 based kde-integration.

The TDE address book driver is left in the core package.

Change-Id: I2687b313d7f106bb344c65c50ae0a07b0140def0
2015-10-12 18:20:58 +02:00
de47a96d3e Revert "vcl event filter"
that's just a local toy for now, didn't intended to push that

This reverts commit 4afbd0292e09d9850a3cd0d1f169c73c5a3296db.

Change-Id: I20b758d4582022ffda35c4aed7251948e721f821
2015-10-02 09:12:22 +01:00
4afbd0292e vcl event filter
Change-Id: Ib10dccec244f3168f1ac4a892a09012adf38a839
2015-10-02 09:09:39 +01:00
c29ea22b89 Replace GUIBASE with USING_X11
That's what it actually means. Also make it a boolean

Change-Id: I249e18351253b34b5dada28e2a9c6bc0c06b730c
Reviewed-on: https://gerrit.libreoffice.org/18688
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-25 07:25:46 +00:00
72699595aa remove KDE3 support, --enable-kde and --enable-kdeab
With the new RHEL6-era baseline TDF can finally ship KDE4 support.

Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3
Reviewed-on: https://gerrit.libreoffice.org/18267
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03 08:18:03 +00:00
b40b601007 ditch gnome-vfs2 support
Change-Id: I882c04fd3a255f55511b1884157de26e7574e6db
Reviewed-on: https://gerrit.libreoffice.org/18262
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-02 11:46:18 +00:00
af6daec72b more config skipping stuff and a tester tool
Change-Id: I5e93a4c84b3a0940239213766eb24d21fb5fd649
Reviewed-on: https://gerrit.libreoffice.org/17863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-20 07:40:21 +00:00
e03a5f5e83 online update: Configure switch --enable-online-update=mar
This will enable the mar-based online update instead of the 'traditional' one.
At the moment, this does not build, as libbz2 was not packaged as an external
library yet.

Change-Id: I1ad7d9adf7a12a427786682ad932597eb2319256
2015-06-29 17:43:31 +02:00
8c07510faa online update: Add updater executable build support
Change-Id: I033f114d29cd020b6dba5a74257d3f577dd73ea7
2015-06-29 17:43:31 +02:00
7316144b8f online update: Add mar executable build support
Remove unneeded mar library build support

Add macro workarounds in mar.c; will deal with them in the future

Change PL_strdup to strdup (is this safe?)

Change-Id: Ib3108abdf360f6fc1ccc1bf5030df8529d724b82
2015-06-29 17:43:30 +02:00
07b10078ef online update: Add MAR library creation capability
Change-Id: Icf2a97b4b6f7bc75aaaec86bf5bc56192396d4e4
2015-06-29 17:43:30 +02:00
7ffd7c4fd7 Repository.mk: libreofficekitgtk is conditional on ENABLE_GTK3
Change-Id: I97f859e33a510f626787cce335f652dc03546ab6
2015-06-16 09:10:30 +02:00
baee89d5a0 Check ENABLE_PDFIMPORT
Change-Id: I1c0e7e5ecfcd62315e367d537cd3e0466b66e48f
2015-04-28 19:25:27 +03:00
4daf6600a3 Move these together
Change-Id: I0352e3180d553c46c6ca905628d5b46d1af0b8a7
2015-04-15 23:42:08 +02:00