New branch 'feature/droid_calcimpress2' available with the following commits:
commit b87bbfea19443f29426689b0abcb85f64eab4292
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Sep 26 09:12:56 2014 +0100

    Add more lok debug output.
    
    This should allow as at least to see if soffice_main thread
    initialisation gets stuck (which we'd otherwise have a hard time
    determining if we are trying to debug e.g. on Android).
    
    Change-Id: I0baa211c015318c4e0fcf78a4e86a0ba8b895d5f

commit 56f4baf54800fea4e9cc3fb2e6f6a500d9a96e51
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Sep 26 09:11:53 2014 +0100

    Don't use this quick hack on Android.
    
    It *seems* to cause missing areas (at least in Impress).
    
    (i.e. the bottom half or right side of headers on slides can sometimes
     go missing, not using this hack fixes the problem for me).
    
    Change-Id: I205531666e0ad12470020e5ff2568ebf16bc2f01

commit 0644f491573b0569227cb6542a1c5cd5f80a3112
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 29 11:47:55 2014 +0200

    TEMPORARY: more twips in ScOutputData.
    
    Some parts are working, some aren't.
    
    Change-Id: I69b63a585e971a4a56514a66ab318e48507ca5be

commit e66cbe8a7a3d9c7b2aa17f8aacd7287aacdd308d
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 29 10:36:26 2014 +0200

    TEMPORARY: ViewData SetPosX/Y.
    
    Is this just unnecessary data duplication?
    (Would've been necessary with the old scaling I guess, but we
     don't have these inaccuracies any more?)
    
    Change-Id: I955345668d0d85a30e37316dd9a12f64d6bcbb03

commit e1da0f10d37c08caa706705267010bcdfaaa164f
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 29 10:31:40 2014 +0200

    ViewData: further twips updates.
    
    Change-Id: I88b45057ce6feb121f14ecda65a23f2631349ef8

commit 28389198ba715f9de65c17b4028a5535e4235a7c
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 29 10:23:40 2014 +0200

    TEMPORARY: Use PaintMapMode scaling for DrawMapMode too.
    
    Otherwise we end up with invalid scalings once PPTX/Y doesn't
    exist.
    
    We can't use the DrawView yet as that gives us invalid scales
    for now (due to the PPTX/Y removal/disablement).
    
    Change-Id: I59279cb007bace1237384f58b345079d23aee92e

commit afc77483c47a8d0234b04a0323e8da11d3681a57
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 29 10:06:57 2014 +0200

    Use Twips in DrawEditStandard too.
    
    This is used e.g. for cells which have been marked by the spellchecker.
    
    Change-Id: I8e0f85c1ff6f3104520b986eb89b03c6d457bf78

commit e5929f8544633bc205fb0346bae7b1f0cc55763a
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 23:41:14 2014 +0200

    Update DrawStrings to Twips.
    
    Change-Id: I8df207056e5aab198a2d81b5a4a7cc4d85aa07e6

commit fdce89e6b7f4d5bb8c5393882060a1cad8a5dced
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 23:35:52 2014 +0200

    Upgrade GetOutputArea to Twips too.
    
    Change-Id: Ie8f4f004fb73c1042616aaa475ab1d12c33f1181

commit 9b27a4c4d420fedf4c8aa6995e2859170cd0524f
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 23:32:38 2014 +0200

    TEMPORARY: don't predraw for calc.
    
    Since we don't have ViewData (yet), the scaling in OutputData is wrong,
    making this output ugly. This only seems to affect what appeasrs on screen
    directly after startup, and there appears to be no negative effect from
    this, so maybe we can jus tkill this pre-painting?
    
    Change-Id: Ie4178ed39263e07fa11a139b20811799b7253601

commit 50c968f0a0ba465463411f5245198b538615f40b
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 23:23:09 2014 +0200

    TEMPORARY: variable renamed, but usage not yet adapted.
    
    Change-Id: Ica80137ab67f7687db03cc0f6c0f7eb10d574a69

commit 57b96ff2a52c4ec17071c5a1cb88afeccea68bab
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 23:22:15 2014 +0200

    Logic coordinates for clip marks too.
    
    Change-Id: I214064a1c060af2078dc5cd3f1fb4990ea374f0b

commit 0ac5f1701392a4baa4a43a059f0dfb04db5f5054
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 23:17:06 2014 +0200

    Use Twips for OutputData as much as possible too.
    
    Change-Id: I4eaa1db83861d325beae2f5eea4b623331a56879

commit 4b462f85d722a98cd7eba6efce5d344b186eb480
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 22:46:03 2014 +0200

    Only set outdev origin for tiled rendering.
    
    Change-Id: Iec3e438867a94ec3465474f7b830275373c72bd3

commit 91d02eb74f97718a65a9afe551e02b500bad3319
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Aug 28 22:42:56 2014 +0200

    Use proper conversion for EditGrowX/Y too.
    
    Change-Id: I344a46d2f27f663dc446562534564c34f9ceaea1

commit 632fa6fc877ca9652a1c8fba86d5a8ab44984876
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:56:07 2014 +0200

    Upgrade GetSelectionRects to logic coordinates too.
    
    Change-Id: I4fda7bb4fea5971654c0ecacbd67bc16bd3a68d9

commit ecd903157d1612eb8e1d2c66598370e11bd6f90a
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:52:36 2014 +0200

    Ensure we use the correct rectangle size for tiled rendering.
    
    Change-Id: I0a4b3bf9c8263365d04ed4319a0c551c363120cd

commit 2d654b3f74de2adf0306c76568bfae4deb43541e
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:52:09 2014 +0200

    Match TiledRendering scaling to the new ViewData PaintMapMode.
    
    This is a bit hacky, still need to figure out what's going
    wrong that we need this weird conversion.
    
    Change-Id: Id1c62401f9f85c6d436bdd73b51ccf126100cbc4

commit dcd190aedc53a793e637b4433c2c8b2125c2c77e
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:44:50 2014 +0200

    Ensure we keep our modified OutputDevice origin.
    
    This is needed for TiledRendering which treats the sheet as one
    continuous area rather than the what's-on-screen assumptions
    of the usual rendering method.
    
    Change-Id: Ibebba72f8b5fcba75a8f78ccfa6473d2de2df5fa

commit acb3423a4ae093b76149ec17b68349e561fd0570
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:42:48 2014 +0200

    Don't use UpdateVisibleRange for calc tiled rendering.
    
    Change-Id: Iaba02741acc280dfc4c500e0d08271b39560149b

commit 561fcdf3520f267a71ccd9f2150f5984436695aa
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:39:23 2014 +0200

    Use logic coordinates to determine cells in visible area.
    
    Change-Id: I91268b0d32aa85ea2a63e05837dc8c3781ede018

commit 7874b7264b5e3dc13da17330c734daa77583d0f4
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:37:45 2014 +0200

    Set visible range from origin for Calc Tiled Rendering.
    
    Change-Id: I255b8865786088751c5d71da9db2ba38defed3bd

commit cd384324b4345f541ed96eb0dad2ae2257ab5e3a
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 20:32:38 2014 +0200

    Kill use of PPT for DrawEditParam.
    
    Instead use our MapMode using code.
    
    Change-Id: I41a4fda036fa94f1ea7e5feed669df39e9ca8ebe

commit b9797c04b02437801ff983ccca05d83137db3438
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 19:31:10 2014 +0200

    Add logic/pixel conversion wrappers to ScOutputData.
    
    However we still need to think through what to do for the case where
    we don't have mpViewData.
    
    Change-Id: I5c5c1e17407f5c24035d9623e49db25754a4e292

commit 12e433d530dd7250d10c35970cdc9f3dcb2c0916
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 19:26:28 2014 +0200

    Use logic coordinates for GetMergeSizePixel.
    
    Change-Id: Ie4fae87c3307c601548f29c3b502e3ce4f7e49e0

commit a6c612f1baa87a91bf2f83a4f4e34cb13b53424e
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 19:25:09 2014 +0200

    GetScrPos: do position sums in logic coordinates.
    
    I.e. match up with the rest of our scaling rewrite, since
    summing up after converting to pixels introduces ugly errors.
    
    Change-Id: If60569ce83d2593cf40fa982d3376108b050d383

commit ac7c66aa3aa95f7d7988201edd648d715f608395
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 14:48:47 2014 +0200

    Replace AddPixelsWhile with Twips equivalent.
    
    Change-Id: I7bd2125ac839278406133c116201a0474d84d4d4

commit c57ef8fadb7c1ad4826ade8e0eefa2103895b3dc
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 14:46:06 2014 +0200

    Allow PaintMapMode retrieval.
    
    We need this for conversions elsewhere (outside of ScViewData).
    
    Change-Id: I86ce18a22095488d3d3750bd13a5fab46a352be5

commit 2e2fc8bdeac422003dfb8926386305aab733e632
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 14:32:02 2014 +0200

    Conversions should be const.
    
    Change-Id: I98c68ce809d889c5d7b479a59859e633eb4309d9

commit 9fd8f1b40c23ef6b00f4f24f70f40456da8d1ebe
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 14:29:53 2014 +0200

    Don't use PPT values for row/column size changes either.
    
    Change-Id: I70186485c20280ab26587b0b42e48f3ecb483323

commit 428a076c1e7e4f89dff97832d47ec4ec20c68ab4
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 14:29:07 2014 +0200

    Use GetScrPos so that col/row-headers match the grid.
    
    Without this we can still get single pixel errors which can sum
    up over multiple columns/row.
    
    Change-Id: Id428dafab1ca771c123c84d815261263a7d33fed

commit a0667b2f385c7c54a9e43fe284d1b901465b793b
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Aug 27 14:24:18 2014 +0200

    Use MapMode instead of PPT for ScEditUtil::GetEditArea
    
    Change-Id: I3fbc33da3f32723e37c5004f7883fa6ab4107921

commit 66ca15bee82196aacaeb0dd9668ae060c0621d92
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Mon Jul 21 21:13:15 2014 +0200

    Add Point and Size versions of convertMm100ToTwip/TwipToMm100.
    
    There seem to be quite a few cases where the individual components
    are being converted, this way we can just conver the entire
    object as one.
    
    Change-Id: I0043b6f40520d7497e6edc185187706b255f2354

commit 755f7c835bd553b9358a8c7900c75389e1daaeff
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 16:49:34 2014 +0200

    Use viewdata scaling for vertical grid lines.
    
    Horizontal lines / the rest of ScOutputData still need converting,
    but at least this shows we're on the right track.
    
    Change-Id: I4a7702d9983dd07674808319b3c613d4350ac25e

commit fe29af4e3bad00c1a2f008fdd42ebde77e891943
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 16:48:41 2014 +0200

    Implement some Logic/Pixel conversion functions for ScViewData.
    
    Change-Id: I54c99d19852be9825f3dbe80fcbfcfa13a79c835

commit 4c5bd23ac004848155b2eed63558b118b0fc062f
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 16:48:01 2014 +0200

    Use MapMode instead of nPPTX/nPPTY.
    
    This is far from complete: we need to replace all uses of
    nPPTX/nPPTY for things to work correctly.
    
    Change-Id: I7c8aca62c537d8770903f4a6ae0a164479af3fc1

commit 94e473506406b893f36f7e55f247de54aca9d943
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 16:46:11 2014 +0200

    ScOutputData needs ScViewData for scaling.
    
    Change-Id: I14cd3e835ba8233478514d5f6832737aa2c99bf9

commit 60e3d2bf7bad9c24f8a04276664542ced7c7c39d
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 16:06:06 2014 +0200

    Make nPrtToScreenFactor and GetOutputFactor fractions.
    
    These are then used for our output MapMode which required
    Fractions too.
    
    Change-Id: Icbfd9f808a6efe297096c94dc4043cef88c0ba0b

commit c1104ea9b757b86dc0f7dea1ddd767c2076801e0
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 09:54:58 2014 +0200

    ScViewData::GetActiveWin can be const.
    
    We need to reuse this in other const methods, so lets make it const
    too.
    
    Change-Id: I6d96fa2370081d515f8629998d8a1e218bec643a

commit de5f76b8b3e350a83b7205e769545569fa970a8f
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 09:53:56 2014 +0200

    Allow overriding limits for SetZoom for Tiled Rendering.
    
    Change-Id: Ic656012921408ce5c8dc691933a71a9e0ac78e5d

commit ce53568a36e582496a33835b85a4f0db74efc3ed
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 09:52:58 2014 +0200

    aScrSize should be mutable.
    
    Change-Id: I7376ea17aa4f66c9d9085757b84fb69dd0ad71cb

commit 7392248fde11853dffa19a00a140db65244dba3d
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Aug 15 09:48:52 2014 +0200

    Fillinfo: don't scale data unnecessarily.
    
    Previously we had multiple layers of scaling, with rounding
    errors propagating, leading to up to 5% differences in expected
    and rendered sheet widths -- for tiled rendering dimensions have
    to scale accurately as we may paint the same tile at multiple zoom
    levels, by eliminating multiple scaling and letting the output
    device instead deal with the scaling once we can eliminate these
    errors.
    
    Change-Id: I0a725fd5c030f3c089c2bbd25947088c321eb2d4

commit 4de4427c76a3028b00806d4922020e535ce7bd56
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Jun 26 17:06:58 2014 +0100

    Ensure we actually render all cells in the selected area.
    
    Only cells within maVisibleRange are rendered, even if we request
    a larger area (and maVisibleRange is otherwise not updated for tiled
    rendering). Hence we should explicitly set it here.
    
    Change-Id: I399be9df1f266a2b3d32a95483960b21f561c6b3

commit 9427468be897ada5ee4c8a27a8645b7ae0d21421
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Jun 26 14:30:08 2014 +0100

    Take into account drawing layer for data area size.
    
    The drawing layer could potentially have items that are outwith
    the data area, but we probably want to have them included for
    tiled rendering.
    
    Change-Id: I958c4fa29491cdb0fd80392dfcfa033306f2b76c

commit 8ebddf1e2a744124944c103e3d4225c4cebbda6e
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Jun 18 09:33:16 2014 +0100

    Implement data area size retrieval.
    
    Cell dimensions appear to be in TWIPs (but the drawing layer is in 100th 
mm).

commit 19c7a978b6cac10bd91a6da968828da3a7d3983e
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Wed Jun 18 08:28:04 2014 +0100

    Allow overriding of device for Paint, and use that for Tiles.
    
    Paint handles figuring out which cells are within the visible area
    for us etc.
    
    Gridwin being a Window which paints to itself is a bit of a pain,
    since we now need to be able to reroute painting calls to alternative
    output devices, however these changes seem to be sufficient to at least
    get the cells in the desired tile rendered.
    
    Change-Id: I7bd1434c97acc6e9ef6e1e63cbcf039b987c88e4

commit 6e5cbcd71375544e87636329f2d9570120d91398
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Mon Jun 16 16:19:56 2014 +0100

    Calc: Add tiled rendering device to the paint view.
    
    This prevents the previous warnings of
    SdrPageView::DrawLayer: Creating temporary SdrPageWindow (ObjectContact), \
    this should never be needed
    
    Change-Id: I76cb7c9ed4d45bfcbd297f697314309b4e036f80

commit c0e4dd98f9b3fc36e6c555493625dfbf3aa006cf
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Mon Jun 16 15:00:02 2014 +0100

    Render tiles from calc.
    
    Currently the document size and number of cells to be rendered
    is hardcoded, this will need some more work to select the correct
    cells for a given tile (i.e. cells from location). Also, there
    isn't really a "size" for a calc sheet, so presumably we'd need
    to instead return the area containing cells that aren't empty,
    whilst still being able to render larger tiles? (And in any case
    the client will need to be aware of this and provide an appropriate
    interface, i.e. the current LO UI simply extends the sheet ad-infinitum.)
    
    We also currently get some warnings most likely related to the way
    we push our OutputDevice into the rendering methods:
    SdrPageView::DrawLayer: Creating temporary SdrPageWindow (ObjectContact), \
    this should never be needed
    
    Change-Id: Ia9d64d7de6c22d5b401350f88497a7ec106f1973

commit 60011fe41a89910479febea5275134880303b2a5
Author: Andrzej Hunt <andr...@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 d3b77c12eabde0a8b37cc2639da8d004509db4a9
Author: Andrzej Hunt <andr...@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 0e14343c8c2dbfe45a37588fd4a3ed8089cb1927
Author: Andrzej Hunt <andr...@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 c14448c03c82b94c82e89903a580d04ed9fa0e7f
Author: Andrzej Hunt <andrzej.h...@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 c98e9cbe1d84c0b9d6e91df9edd57c49d2025334
Author: Andrzej Hunt <andrzej.h...@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 a62a860fbfbd88de1b8333e471684083b8731cdb
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Tue Jul 29 07:18:28 2014 +0200

    Upgrade lokconf_init to LibreOfficeKitInit.h
    
    Change-Id: I0581a107c3eefd33c25b003afe9f7be217598441

commit 06e5c6657c1bca0ad24da29635ed7d50e7a3764f
Author: Andrzej Hunt <andrzej.h...@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 973652e308f406a82afd910a32b76bf51c860126
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Mon Jul 28 16:18:57 2014 +0200

    LOK: do clean main thread shutdown cleanly.
    
    Change-Id: If44971f67a489f6b50dee6c1683707c47e695de4

commit 5433740fd5a2cc165f16b7b4940f05d5f8b07287
Author: Andrzej Hunt <andrzej.h...@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 1dab03f6d7f6f70e52e3368cbdb129e802fa16c1
Author: Andrzej Hunt <andrzej.h...@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 4ce67910acbc9294a9ee8022abbae15bd24f35b8
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Mon Jul 21 21:16:09 2014 +0200

    Don't start Impress Remote server in headless mode.
    
    Change-Id: Ibafe57413a60745e949dc3146fbc843c52c029d6

commit 647e971d9387632e42622afe6c8f2a613d08ca55
Author: Andrzej Hunt <andrzej.h...@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 29c415383271879f6de43faf686b2e9d1ef03472
Author: Andrzej Hunt <andrzej.h...@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 864d33f0bb12d0c6bede665a2c88abcc387ec78d
Author: Andrzej Hunt <andrzej.h...@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 57081000d3e79b6cffc378b8a5c1a90ba5c69b15
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Jul 18 13:12:25 2014 +0200

    Fail LOK initialisation if restart is required.
    
    Change-Id: Ia13a3523666147f002b5a5177fd6962d55556f56

commit 96014c16e1b96e992fd91bf6863aa830d89ff16b
Author: Andrzej Hunt <andrzej.h...@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 b58e638d23c2fbfec94c256b8c12e549d18f61b6
Author: Andrzej Hunt <andrzej.h...@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 d576f6467170852ad83ed7084b4d33906feb4f3d
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Fri Jul 18 10:00:42 2014 +0200

    Bin outdated / incorrect comment.
    
    Change-Id: I7b8f97377b9606a2228f172f772d8051a64703d2

commit 298d8d1e263ce70d30f4698ec1be17a1c43f27c6
Author: Andrzej Hunt <andrzej.h...@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 8c95b037ead86002f0f1a87dd91af0ed8cc55043
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Sat Jul 26 16:06:04 2014 +0200

    Hack soffice_main into LOK.
    
    Change-Id: I86e13192ddb5904afabca38d3a201f17f145de09

_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to