[Libreoffice-commits] core.git: Changes to 'feature/lok_sofficemain2'
Andrzej Hunt
andrzej at ahunt.org
Thu Sep 25 02:16:07 PDT 2014
New branch 'feature/lok_sofficemain2' available with the following commits:
commit 35cecf52d34cbcc54eb7b3b2297635b4cc227ede
Author: Andrzej Hunt <andrzej at ahunt.org>
Date: Thu Sep 25 10:08:54 2014 +0100
TEMPORARY: We need OfficeIPCThread for LOK on Android for now.
LOK uses the OfficeIPCThread to know that soffice_main is ready --
we should have some form of separate condition instead since I don't
think we need any of the actual functionality here for Android.
Change-Id: I27030383aae4d7895725c2161c53617f896a5f83
commit 3a69e64571c55b5566467e7c30d0ab701406d5f5
Author: Andrzej Hunt <andrzej at ahunt.org>
Date: Thu Sep 25 09:25:47 2014 +0100
Don't use ImplDoTiledRendering for Android.
With svp this causes images not to be rendered for tiled rendering,
however this could potentially cause issues with SmartArt (however
SmartArt support for Tiled Rendering is possibly problematic in any case).
Change-Id: Iccbdce7b6d5353966892fbde3d3d10eb49164df9
commit 59c84d1793b71b1b8affb53cbf20ac19c4d66058
Author: Andrzej Hunt <andrzej at ahunt.org>
Date: Thu Sep 25 09:20:56 2014 +0100
LOK Android: don't initialise until TMPDIR is set.
As part of LOK initialisation we now start soffice_main, this
requires TMPDIR access, and will fail if we haven't set TMPDIR
(as by default it attemps to access /tmp which is not allowed on
Android).
Change-Id: I63bd7bce9b52c898c60fda6eea33ee919349a109
commit fa1b21a3126f9151e6e2cef8c4dbedc1adb1f312
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Thu Jul 31 10:07:39 2014 +0200
Use one test instance to run all LOK tests.
Recreating Office instances after destruction (when still
within the same process) currently fails, hence we need
to do all tests at once for now.
Change-Id: Ic7652c909e1cd970fe1ee76995e61fb6aae8f96c
commit ad391da7fa4f98d054347ce77bc4820f78e8d698
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Wed Jul 30 19:52:46 2014 +0200
Make common paths member variables.
We'll need these for other tests too.
Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
commit 1f05df9bb2f69020f7c29d50c7f8c57b2077783a
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Tue Jul 29 07:18:28 2014 +0200
Upgrade lokconf_init to LibreOfficeKitInit.h
Change-Id: I0581a107c3eefd33c25b003afe9f7be217598441
commit 6d14c422f131693533ccc63741fa807112ea59af
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Mon Jul 28 20:23:03 2014 +0200
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.)
Conflicts:
libreofficekit/Module_libreofficekit.mk
Change-Id: I0493e7a68ed5397479220bb6ba8c3db870b6dd32
commit 2acb608c195b3fcdefe10b926b2660363d3bc4e8
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Mon Jul 28 16:18:57 2014 +0200
LOK: do clean main thread shutdown cleanly.
Change-Id: If44971f67a489f6b50dee6c1683707c47e695de4
commit d0b2b26c944c89a59a3842b50f300a5c19c5c305
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Jul 25 21:03:19 2014 +0200
Make sure LOK is actually headless.
This prevents e.g. the document recovery dialog from trying to be shown.
Change-Id: I253720f7fa1abd1c053670434f8394473517b670
commit d65508ad56e44f2c7f39273a544dfe54d1d830b0
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Jul 25 20:56:18 2014 +0200
Don't fail on --protector.
If we have any "unknown" command line arguments Desktop init will fail,
however our LOK Tiled Rendering test uses Desktop (via soffice_main).
(Other unit tests don't use soffice_main hence this check never
comes into play.) It looks like it's most reliable simply to ignore
--protector here, rather than try to filter it out elsewhere (which
is difficult as it is passed to osl via SAL_IMPLEMENT_MAIN).
Change-Id: I95d047892851ba2cf9edd2e26bacc6efa0320f71
commit df64981179409732553bcae5842564be1c16be0f
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Mon Jul 21 21:16:09 2014 +0200
Don't start Impress Remote server in headless mode.
Change-Id: Ibafe57413a60745e949dc3146fbc843c52c029d6
commit 17449a8d0bf1621ced693edd294cf7201ba8ecd8
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Mon Jul 21 19:36:11 2014 +0200
Use gb_CppunitTest_use_confpreinit for LOK tiled rendering.
Now that we use the event loop for LOK we need to make sure that
it is able to run successfully first time, as unit tests start
with a completely clean config.
Change-Id: If9ddcb75fe8286381d71ecdc76ac7eb3697960d0
commit ea0c7e9f2bff0669f13d427113a04810eccdd1c1
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Mon Jul 21 19:35:13 2014 +0200
Add gb_CppunitTest_use_confpreinit:
For unit tests that use the VCL event loop we can use this to
avoid the otherwise required restart.
Change-Id: I48265d7e7188a4efaa6f87432c762320331c0c78
commit c6844b51477c92f21b9b9346065b7383388a8cb6
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Mon Jul 21 19:34:09 2014 +0200
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
commit fccf726acd7ad99b8fbbec21387ac809f454fd85
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Jul 18 13:12:25 2014 +0200
Fail LOK initialisation if restart is required.
Change-Id: Ia13a3523666147f002b5a5177fd6962d55556f56
commit 292e207cbd4a19fe333b13b954ec595e3371131f
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Jul 18 13:10:14 2014 +0200
Add OfficeIPCThread::IsEnabled.
This lets us easily check whether Desktop::Main has shut down,
i.e. which happens on the first restart-requiring initialisation.
Change-Id: I7fe5699a4bf59e2c3b891ac73abd9b147773d22e
commit 00c402ad68e4ec51027481bf32ed2f777a15383e
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Jul 18 10:02:48 2014 +0200
Use OfficeIPCThread::WaitForReady rather than sleeping.
This way we actually continue when we're ready to, rather than
dumbly hoping we wait for long enough.
This isn't entirely unproblematic though -- if we have no config
pre-prepared (i.e. first-run), then we just end up hanging on this
since soffice_main exits without doing anything to the OfficeIPCThread.
(Which is especially problematic for unit tests which specifically run
on an empty config.)
Change-Id: I064fb500a224cfe37a0d3ba24b6154ffd72a71a3
commit 2478f38a79abf6942d0909c9eb1f5424915e03dd
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Jul 18 10:00:42 2014 +0200
Bin outdated / incorrect comment.
Change-Id: I7b8f97377b9606a2228f172f772d8051a64703d2
commit bb7d7e28e74bc6493600b1a3a9fd011e29907717
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Fri Jul 18 09:48:47 2014 +0200
Add OfficeIPCThread::WaitForReady.
For LibreOfficeKit we need to start up the event loop, and can't continue
initialisation until all the related (VCL etc.) setup is complete -- the
OfficeIPCThread is also enabled as one of the last items, and can be
used to indicate whether or not we can start actually working with VCL.
Change-Id: I0450b65584ddf6e8d02ce0c6e66e06f47841d1b7
commit 7bdcaaf81ff41d661b913341e1154aaaa75dcb14
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date: Sat Jul 26 16:06:04 2014 +0200
Hack soffice_main into LOK.
Change-Id: I86e13192ddb5904afabca38d3a201f17f145de09
More information about the Libreoffice-commits
mailing list