- 04 Ara, 2014 40 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: I1a2ce5fe9034c67de9553fe8953e7de0fcc6b471
-
Tomaž Vajngerl yazdı
This reverts commit 5acadbfb. Conflicts: libreofficekit/qa/lokconf_init/lokconf_init.cxx Change-Id: I88221f660bcf15cbc29e90bfc3016b367570f9af
-
Takeshi Abe yazdı
Change-Id: I40aa11584b76ea2e3d4e0d13690893e340229172
-
Noel Grandin yazdı
Change-Id: Iee78bd688ddb3e02deb1a3636d6a604838e97b09
-
Tor Lillqvist yazdı
One should not use #ifdef (or #if defined) on the macros from <config_features.h>. Fix mistake introduced in 663a8c79.
-
Noel Grandin yazdı
so let's turn it into an assert, since these failures are pretty fatal anyhow Change-Id: Idfb499e3b09f1c5413fae8a0961d968a0694beed
-
Tomaž Vajngerl yazdı
It can happen that this directory doesn't exist and the copy script fails (especially on a clean install). The script has been modified to force create this directory before trying to copy stuff into it. Change-Id: Iedf3caef07e6896405750aea9e8f211b1e80dc3a
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
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
-
Tomaž Vajngerl yazdı
Change-Id: Ie4227bba37500ca755207b64a928a19f46419ff0
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
We'll need these for other tests too. Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
-
Andrzej Hunt yazdı
Change-Id: I0581a107c3eefd33c25b003afe9f7be217598441
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
Change-Id: If44971f67a489f6b50dee6c1683707c47e695de4
-
Andrzej Hunt yazdı
This prevents e.g. the document recovery dialog from trying to be shown. Change-Id: I253720f7fa1abd1c053670434f8394473517b670
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
Change-Id: Ibafe57413a60745e949dc3146fbc843c52c029d6
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
For unit tests that use the VCL event loop we can use this to avoid the otherwise required restart. Change-Id: I48265d7e7188a4efaa6f87432c762320331c0c78
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
Change-Id: Ia13a3523666147f002b5a5177fd6962d55556f56
-
Andrzej Hunt yazdı
This lets us easily check whether Desktop::Main has shut down, i.e. which happens on the first restart-requiring initialisation. Change-Id: I7fe5699a4bf59e2c3b891ac73abd9b147773d22e
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
Change-Id: I7b8f97377b9606a2228f172f772d8051a64703d2
-
Andrzej Hunt yazdı
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
-
Andrzej Hunt yazdı
Change-Id: I86e13192ddb5904afabca38d3a201f17f145de09
-
Chris Sherlock yazdı
Change-Id: Id6bea5dba1e2c4741d27b0eaf9d52722e2b0df61
-
Stephan Bergmann yazdı
Change-Id: If3b0f667b379b7973364c93be4b88347e5768223
-
Caolán McNamara yazdı
Change-Id: Ia25b857738bb7b6c3baf18c68ef0d1bc0b3e142e
-
Tor Lillqvist yazdı
Change-Id: Idf000a8faee444e65c5f2fa20edde3eb70ddb371
-
Samuel Mehrbrodt yazdı
Change-Id: I83248398a9a8f2a8abb4e10d7ef9f1c203dddbf5
-
Miklos Vajna yazdı
OOXML has an object size (extent) a size including effects like shadow (effect extent) and the margin (top/bottom/left/right distance). Our doc model doesn't have an explicit "effect extent", but to have the intended layout, we at least need the spacing of the effect around flys (even if a number of effects are not rendered). Fix this by adding the effect extent to the margin; if we still have the effect extent grab-bag around, then this can be undone during export. Change-Id: I9609ce347c54588395e09ad91a84c872b9007f85
-
Stephan Bergmann yazdı
Change-Id: I501bda18e33939c0becc13dcdf27cd96e33d7331
-
Jan Holesovsky yazdı
Change-Id: I90f10ea437fba65aced8a53f7b81d450a6ebd447
-
Jan Holesovsky yazdı
Change-Id: I211d21b09223dfacac18e879993b0f0943b94741
-
Stephan Bergmann yazdı
Change-Id: Iabe90321d97b346f8f440ab729eaaec670bf2ce8
-
Stephan Bergmann yazdı
Change-Id: I0b9f72b24b797bee244f95083b8f0ab10b1c6a02
-