784 Commits

Author SHA1 Message Date
Stephan Bergmann
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
Tomaž Vajngerl
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
Tor Lillqvist
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
Michael Meeks
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
Markus Mohrhard
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
Markus Mohrhard
d5c3f1bf26 uitest: add groundwork for ui testing framework
Change-Id: I51b81da870fd220d56b32c20b9e6c4604912a014
2016-06-18 16:59:48 +02:00
Christian Lohmaier
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
David Tardon
397ad4d4b8 pass image lists using a response file
Change-Id: Ic00715edd1173ebb01ce5853e2835d71235fa4df
2016-06-07 07:22:07 +02:00
Rene Engelhard
691105cb71 don't build/install minidump_upload with ENABLE_BREAKPAD=
Change-Id: I0f7d9811d669c2884b0c1704878678b01529e52f
2016-03-28 22:40:32 +02:00
Oliver Specht
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
Caolán McNamara
e451b03e8c gtktiledviewer needs gtk3 not gtk2
Change-Id: Iede2008139cb570ff65202762e92f6694548a065
2016-03-07 13:23:49 +00:00
Tor Lillqvist
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
Andras Timar
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
Jan Iversen
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
Miklos Vajna
f09bcddfa9 scp2: move scp2 classification package to AutoInstall
Change-Id: I59afb2302b7fe891a83ca5ce7b12eca322bb7ed7
2016-02-29 13:56:13 +01:00
Markus Mohrhard
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
Markus Mohrhard
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
David Ostrovsky
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
Tor Lillqvist
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
Stephan Bergmann
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
Caolán McNamara
4ebe249104 drop basebmp entirely now
Change-Id: I534848c4be8eadf86b7f31ac742a80982405f56f
2016-01-20 09:43:28 +00:00
Rene Engelhard
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
Oliver Specht
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
Stephan Bergmann
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
David Ostrovsky
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
Richard PALO
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
Bjoern Michaelsen
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
Jan-Marek Glogowski
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
Caolán McNamara
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
Caolán McNamara
4afbd0292e vcl event filter
Change-Id: Ib10dccec244f3168f1ac4a892a09012adf38a839
2015-10-02 09:09:39 +01:00
Samuel Mehrbrodt
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
Michael Stahl
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
Caolán McNamara
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
Caolán McNamara
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
Jan Holesovsky
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
Nathan Yee
8c07510faa online update: Add updater executable build support
Change-Id: I033f114d29cd020b6dba5a74257d3f577dd73ea7
2015-06-29 17:43:31 +02:00
Nathan Yee
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
Nathan Yee
07b10078ef online update: Add MAR library creation capability
Change-Id: Icf2a97b4b6f7bc75aaaec86bf5bc56192396d4e4
2015-06-29 17:43:30 +02:00
Miklos Vajna
7ffd7c4fd7 Repository.mk: libreofficekitgtk is conditional on ENABLE_GTK3
Change-Id: I97f859e33a510f626787cce335f652dc03546ab6
2015-06-16 09:10:30 +02:00
Tor Lillqvist
baee89d5a0 Check ENABLE_PDFIMPORT
Change-Id: I1c0e7e5ecfcd62315e367d537cd3e0466b66e48f
2015-04-28 19:25:27 +03:00
Matúš Kukan
4daf6600a3 Move these together
Change-Id: I0352e3180d553c46c6ca905628d5b46d1af0b8a7
2015-04-15 23:42:08 +02:00
Matúš Kukan
f5c74abc9f Remove library urelibs. It was more just a temporary hack and is not used.
Change-Id: I7566dcf21aae6b800adb58d8c94e350bb0da720c
2015-03-20 20:55:04 +01:00
Tor Lillqvist
41c6631288 The 'svp' "plug-in" library is empty so don't build it at all
Its code is in the vcl library nowadays.

Change-Id: Idb659e541226724004660102f6641c38a2312c27
2015-03-20 17:55:08 +02:00
Michael Stahl
9978e4c10f scp2: move some ooo packages to AutoInstall
Change-Id: I1c99cd2c8a392bf2a775eeb2c3acd4474aa2b0fb
2015-02-28 22:28:57 +01:00
Michael Stahl
4de54e51c4 scp2: move reportbuilder packages to AutoInstall
Change-Id: I81778d452b548a0205db2e8bd30bcfed37becfcd
2015-02-28 22:28:57 +01:00
Michael Stahl
e0aaa830fc scp2: move xsltfilter packages to AutoInstall
Change-Id: I2ae844d43a875ea0b4eb9dd445e483a36a90f73d
2015-02-28 22:28:57 +01:00
Michael Stahl
dedaf74392 scp2: move python librelogo packages to AutoInstall
Change-Id: Ib70d1510bac2eb6bd5491f3177191ad5a8aebe2d
2015-02-28 22:28:56 +01:00
Michael Stahl
62eb3bf472 scp2: move python packages to AutoInstall
Change-Id: I1444e114e5cdbe794d79f40edebc32cb0229a4b5
2015-02-28 22:28:56 +01:00
Michael Stahl
8c53af6fb8 scp2: move python scriptprovider package to AutoInstall
Change-Id: I7e7f74ffbfd9edc4d8d4b3ca13d9a2f0d97dcbf4
2015-02-28 22:28:56 +01:00
Michael Stahl
855d4c5c12 scp2: move gallery packages to AutoInstall
Change-Id: I56a89b8785d7ac9f959ed43be26302540332e7ee
2015-02-28 22:28:56 +01:00