Commit Graph

18 Commits

Author SHA1 Message Date
Pranav Kant
23ca7d8a81 Superfluous block; lets merge into one
Change-Id: I2f49394c53deece8e86a7f290250c4f52918c5d8
2015-06-16 11:18:07 +02:00
Pranav Kant
9b3679301f lokdocview, gtktiledviewer: Port to gtk3
Change-Id: I57f2d7b9383790e5c34fc517a905dd537519598f
2015-06-15 12:09:58 +02:00
Stephan Bergmann
b7e1bfefee Fix CppunitTest_libreofficekit_tiledrendering dependencies
Remove the unnecessary ones, but make sure that e.g. the sofficeapp library is
built (which was not covered by depending on services.rdb).

Change-Id: I1adfa4aaaf60787c944d71cc289cdafba8351c1b
2015-03-10 18:17:48 +01:00
Miklos Vajna
3687ae6f03 CppunitTest_libreofficekit_tiledrendering: fix up and enable this again
The main problem was that UserInstallation did not point to the usual
workdir/unittest/, so initialization failed early, not finding the
soffice.cfg directory under
workdir/CppunitTest/libreofficekit_tiledrendering.test.user/.

Disable one testcase that still fails, though.

Change-Id: I3fdae5ead47dd2a805a0ed8d3cb407938f868e3b
2015-03-09 10:16:11 +01:00
Tomaž Vajngerl
e5cd9ee78b Revert "Implement lokconf_init."
This reverts commit 5acadbfb0c.

Conflicts:
	libreofficekit/qa/lokconf_init/lokconf_init.cxx

Change-Id: I88221f660bcf15cbc29e90bfc3016b367570f9af
2014-12-04 13:17:09 +01:00
Andrzej Hunt
5acadbfb0c Implement lokconf_init.
This is a simple executable which can be used to ensure there is a
pe-pared configuration for unit-tests to avoid the usually required
re-start on the first run.

Change-Id: I49b706e8daa93bc34db508a24615b63b9babddba
2014-12-04 12:23:00 +01:00
Norbert Thiebaud
c68642d535 tilebench depend on linreooficekitgtk so need ENABLE_GTK too
Change-Id: I04b787493115de0190615f42248cc82968907e38
2014-10-18 15:44:12 -05:00
Michael Meeks
87fad21582 LOK: Add a tiled rendering testbench.
Change-Id: I631c0506f427d974c3dd4c75484aa25603100895
2014-10-02 00:23:06 +01:00
Andrzej Hunt
9e7bdb422d Kill the libreofficekit static library / shim.c.
It looks like the cleanest method of getting lok_init into
a LibreOfficeKitInit.h header (in a c89 compatible way) is to
have it as a static function.

(inline is only available in C99 or later -- this is actually
 available on Linux which is the only place that we can actually
 use lok_init anyways currently, however given we have to keep
 c89 for the C code (for MSVC) compatibility, selectively enabling
 c99 would likely be more messy.)

Change-Id: I0493e7a68ed5397479220bb6ba8c3db870b6dd32
2014-07-29 07:11:20 +02:00
Andrzej Hunt
63555d0318 Disable libreofficekit_tiledrendering test for now.
LOK Document loading seems to be quite unreliable for various reasons.
2014-07-18 16:34:26 +02:00
Jan Holesovsky
98fb5f98d8 Revert "libreofficekit does not work with libmerged"
Instead, we need to make sure it works with libmerged too :-)

This reverts commit 4e9d8ca44a.
2014-07-16 19:37:36 +02:00
Matúš Kukan
4e9d8ca44a libreofficekit does not work with libmerged
Change-Id: I3ca4cf51f6d3999a0f701f108a7c5c21329eb1c7
2014-07-15 21:59:17 +02:00
Andrzej Hunt
a5fe08855b Add LOK tiled rendering divided-tile unit test.
I.e. we render the same area as one larger tile, and then
as 4 sub-tiles (which, when put together, should be identical
to the larger tile). However currently only the top-left sub-tile
actually matches the larger tile, so we have to disable the test
for the remaining sub-tiles.

Change-Id: If1130022b43898e20fefff3e9f592102da3e413a
2014-07-12 05:19:14 +02:00
Andrzej Hunt
2709ff61d3 libreofficekitgtk requires ENABLE_GTK.
Change-Id: I2ba47edc457e310548c8a62747a6a152ee5e1314
2014-06-27 09:16:38 +02:00
Andrzej Hunt
0cea87d60c Move gtktiledviewer into libreofficekit.
desktop is no longer the right place for it now that
libreofficekit has its own directory.

Change-Id: I207f1d642e7e35c460ff85bb57aa142cb98023c8
2014-06-25 13:04:32 +01:00
Andrzej Hunt
d465dfb209 Implement LibreOfficeKit gtk+ viewer widget.
Very basic, but works.

Change-Id: I0c521e833b53e13065e0be48e6fa767e44b29787
2014-06-25 13:04:31 +01:00
Matúš Kukan
9d1e6613c4 rename in Module makefile too
Change-Id: Ie3a19a5c3de0021b89eefbacb91c88e38396b8cb
2014-06-13 10:32:09 +02:00
Andrzej Hunt
9a1b2970ed Move liblibreoffice into LibreOfficeKit.
Change-Id: Ib2754a77be470faaa6f9b27644a1d8dd082ed2b8
2014-06-11 13:44:55 +01:00