summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2014-07-31LOK documentLoad needs SolarMutex protection too.Andrzej Hunt1-0/+2
We probably need to do this for most of LOK now that we use soffice_main. Change-Id: I77be7865511c083679cf2f68b0e5df106506fd70
2014-07-31Use SolarMutexGuard instead of pairs of Acquire/ReleaseSolarMutexAndrzej Hunt1-53/+46
Change-Id: I7ff41dd932fd9860dff944b3bf8ff5bdc230ae5d
2014-07-30Protect setPartMode and ensure we actually show the new mode.Andrzej Hunt1-1/+25
Change-Id: I3642702c5bf268f3c9ab04162166078052804270
2014-07-30LOK: add setPartMode.Andrzej Hunt1-0/+17
This API seems to be simplest in the long run where we'll want to be able to select between rendering slides/notes/both/embedded objects, and maybe even adding the option of switching between continuous and single page mode in writer (although I have no idea how hard getting a single page mode out of writer would be). Change-Id: I5bdfdb61854c37281c6992c8f3ed1c50c8aa0919
2014-07-30LOK: Add getPartName.Andrzej Hunt1-0/+21
By default (i.e. for writer) we can just return an empty string, and we only actually need to implement ITiledRenderable's getPartName for components that actually support it (i.e. calc/impress). Change-Id: I8b381e5d7a8000638b02f763b4bea8ef0226f8e0
2014-07-26fdo#75757: remove inheritance to std::mapTakeshi Abe2-4/+3
Typedef'ing AcceptorMap in appinit.cxx is enough. Change-Id: Ia26e119562c87b11d8dd81f49b72d825739162b2 Reviewed-on: https://gerrit.libreoffice.org/10555 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-25Typo: Destop->DesktopJulien Nabet1-2/+2
Change-Id: If09f622753c3efa449722368301f61651ad28bd5
2014-07-25Better labels for extension managerSamuel Mehrbrodt1-5/+5
Also align the heading on the left ("Display Extensions") Change-Id: Ied410032d9212ea2540be01447b175e0122e5707 Reviewed-on: https://gerrit.libreoffice.org/10524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-23TyposJulien Nabet1-2/+2
Change-Id: I0c17f40b3e593ae3771fa751a817f84bf2f2323d
2014-07-19coverity#706501 Uncaught exceptionCaolán McNamara1-11/+25
Change-Id: I435d189e6194d8d255ec88c4edad73d19a9bb5be
2014-07-17fix spelling structur -> structureNoel Grandin1-1/+1
Change-Id: I7aa4a9bf72732db95a67cee368f3a83a0d71bb9c
2014-07-13Add getPart(s) to lokandroid too.Andrzej Hunt1-2/+9
I.e. make lokandroid match 4d15212ef8de89a71387c00bdeb7d9a41409e467
2014-07-12LOK: use solar mutex for setPart.Andrzej Hunt1-1/+5
Needed e.g. for changing slides in impress. Change-Id: I2f5de40d4efbacde910e27225768979a98ff1c0a
2014-07-12LOK: some logging for tiled rendering.Andrzej Hunt1-0/+3
Change-Id: I5779eec97507b1996cda89174a6e6c55cdd57baf
2014-07-12Add get/setPart to ITiledRenderable, and implement for sw/sc.Andrzej Hunt1-8/+39
Change-Id: Iec3d6374f029149cadf8fb9c9b16fec90146c31e
2014-07-11new loplugin: externalandnotdefinedNoel Grandin3-4/+3
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-11Check whether Command Args are already set up before doing so.Andrzej Hunt1-1/+8
Could already be set up e.g. if a client application is using UNO separately, in addition to LOK. Change-Id: I50c3230b6f2456360273902a308c303576baac10
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara1-2/+2
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-03Fix dependencies for libmerged wrt. libsofficeappMatúš Kukan1-1/+0
Change-Id: If1575e0bcacbc5c3c40d485063b1025017eef73a
2014-07-03lok JNI: no "handle" in funcs & don't wrap some native funcsTomaž Vajngerl1-7/+4
Change-Id: If783fecd80a0de05e94c76e23572b567d151bb06
2014-07-02WaE: couple of android / LibreOfficeKit bits.Michael Meeks1-2/+2
Change-Id: I2ee864977d8bb266861af95fb64eb5c0852acee8
2014-07-02android lok: fix paintTile JNI methodTomaž Vajngerl1-3/+7
Change-Id: Ife12b8bc49d722ae614b7de253bb2061bea5bb7f
2014-07-01New loplugin:stringconcatStephan Bergmann4-14/+12
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01lok: It is expected that we point directly to the program/ directory.Jan Holesovsky1-3/+3
Change-Id: I54329e8dc914ac2698c441c02dfc9da03b56614f
2014-07-01libreofficekit JNI for AndroidTomaž Vajngerl2-0/+130
Change-Id: Ia905c20fb4ee9b126d65fd3c8e3c1f54649abe1a
2014-06-30lok: Correct sofficerc path for bootstrap.Jan Holesovsky1-1/+1
Change-Id: I229958c0f2c6f8905926c95cabd45fa58aed3da1
2014-06-30'pMap' may be used uninitialized in this function.Jan Holesovsky1-0/+1
Change-Id: I4085801a773626824ddc5bc4fbca62240fcc171c
2014-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud2-3/+3
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-25LOK: can't use basebmp as a library on android.Andrzej Hunt1-1/+1
Change-Id: I84198ac00865991ba845a19c1810dc3f180251ce
2014-06-25LOK: tiled rendering / svp includes are Linux only too for now.Andrzej Hunt1-1/+4
Change-Id: Iacd8554698f309f79208fd8390800ae2c5fd8085
2014-06-25LOK: Tiled Rendering only useable on Linux.Andrzej Hunt1-0/+11
Change-Id: I90daddddb08c26c594109ecf926cb4ea64308770
2014-06-25Add all the required conditions for vclplug_svp.Andrzej Hunt1-1/+3
As per Repository.mk, we only have this on linux AND headless. Change-Id: I708c89e38a661afb839ab1ac3e48ff9b2ecc040c
2014-06-25vclplug_svp only exists with ENABLE_HEADLESS.Andrzej Hunt1-1/+1
Change-Id: I72fc636b1187bc99370b43927b25ed6fb89fe8f3
2014-06-25Use full sofficerc for LOK.Andrzej Hunt1-10/+1
Otherwise we get segfaults in cppu::idefaultConstructElements when exiting, in addition to complaints of: ignoring GError "Operation not supported" for <***RECURSION DETECTED***/log.txt> Change-Id: If2f56873f50ba957288d1e5591db967d248ee7a4
2014-06-25Use ITiledRenderable for LIBLOK.Andrzej Hunt2-41/+24
Means that no changes should be required here once calc/impress/draw support tiled rendering. Change-Id: I0987d94303f39ba37e29b9ae7b2276e82dc0ccbf
2014-06-25LIBLOK: implement getDocumentType, make doctypes unique.Andrzej Hunt1-39/+85
Change-Id: I6cf810af55284cb6ddd9e0bfd879fd19508d127a
2014-06-25Move gtktiledviewer into libreofficekit.Andrzej Hunt3-121/+0
desktop is no longer the right place for it now that libreofficekit has its own directory. Change-Id: I207f1d642e7e35c460ff85bb57aa142cb98023c8
2014-06-25Implement data area size retrieval.Andrzej Hunt2-70/+10
The scaling is wrong, but seems to work in principle (i.e. we get roughly 1.5x the correct size). Conflicts: sc/source/ui/view/gridwin4.cxx Change-Id: I6db1986e6cb1e5f3889ec3a462d999a9eab57331
2014-06-25Remove outdated includes.Andrzej Hunt1-7/+0
These were needed for the X11 "context" rendering which is no longer used. Change-Id: Ib60c8fff9dad06b1f8f489eed66c3b3c3597e1ee
2014-06-25Kill gtktiledviewer's alpha channel hack.Andrzej Hunt1-5/+0
basebmp and vcl now set the alpha channel appropriately, so no need to do so in the viewer now. However it would perhaps make more sense to just use RGB instead of RGBA, seeing as the alpha channel is permanently set to be opaque. Change-Id: I86ad758c6a8bee21b265730727a76605e5850c0c
2014-06-25Get rid of outdated comments.Andrzej Hunt1-21/+4
We can now set the colourspace as desired, and we return the rowstride too. Change-Id: Idf1e55a67b9e9ab58e82d7ed0be2813b682ec2ff
2014-06-25Upgrade gtktiledviewer to use its own buffer.Andrzej Hunt1-13/+29
Change-Id: I3f567ff19ee0d5b0d54aeef9b163b78567d72946
2014-06-25Use external buffer for LibLO tiled rendering.Andrzej Hunt1-19/+21
Means we can get rid of hackily storing a reference to the last buffer we created. Change-Id: I8092a7d87bc391301f75651a59b37fbd73ac64fd
2014-06-25Upgrade gtktiledviewer to RGBA.Andrzej Hunt1-1/+5
The Alpha channel seems to be set incorrectly by LO, hence we need to manually set it here for now. Change-Id: I1f9091b8b6f88c1dba6653dfb7bf51f9fe14b3fc
2014-06-25Upgrade LibLO tiled rendering to RGBA.Andrzej Hunt2-2/+10
This is the expected format for gtk+ pixbufs which is currently the primary target. We could potentially allow the user to choose the format via LibLO -- but we want to eventually allow passing in a buffer (rather than passing out an LO owned buffer) anyway, so should add that then. Change-Id: I8427925a94366917fa82fb8ea28e7dbb3fa1840d
2014-06-25Draw the whole image for our gtk tiled viewer.Andrzej Hunt1-3/+15
We just draw one huge tile, it doesn't seem to work too well for larger documents though where the latter portions can appear empty. Change-Id: Ic527aec377bf2f82a528a04392186d3d8b752762
2014-06-25Implement document size retrieval for LibLO.Andrzej Hunt1-0/+22
Change-Id: Ibd69f8e766fd421b05d2305f967179a969bc5b56
2014-06-25Add rowstride to tiled rendering via LibLO.Andrzej Hunt1-0/+3
The buffer width could be larger than the desired rendering width, hence we need to give the client access to the rowstride. Change-Id: Ic63c1f455c89960164e076ed2528d43e64e81a40
2014-06-25Use bitmap buffers in the gtktiledviewer.Andrzej Hunt1-21/+21
Looks pretty decent now -- however the vertical flipping isn't ideal. Change-Id: I6ffa9d2b8fced142308781e06e8f161228f1db26
2014-06-25Return a bitmap buffer for tiled rendering from LibLO.Andrzej Hunt3-18/+47
We still need some way of managing the buffers properly rather than just keeping a static reference to the last buffer that was rendered. Change-Id: I17940c758948aa9418f4e0216ecd253d128cd04f