summaryrefslogtreecommitdiff
path: root/libreofficekit
AgeCommit message (Collapse)Author
2015-01-13libreofficekit: typoMiklos Vajna
Change-Id: Idab19cc812e40280367e6fbc70351e6e02685811
2015-01-12libreofficekit: we don't need our own gdk_threads_add_idle() version after allMiklos Vajna
Change-Id: I9d05a3971bd0dd14654d0b0e2a80a263d360505b
2015-01-12libreofficekit: fix for missing gdk_threads_add_idleMiklos Vajna
Change-Id: I52590f60882682943dda354599ab4ed762383b51
2015-01-12fix for missing G_SOURCE_REMOVECaolán McNamara
Change-Id: I55b69f153c0656d34a230c4328bc7af4bab40447
2015-01-12gtktiledviewer: invoke paintTile() on the main thread from the callbackMiklos Vajna
Change-Id: Id910c1905d23f16cae5b6b551c74193d46cff256
2015-01-12gtktiledviewer: invoke lok::Office::postKeyEvent() on key press / releaseMiklos Vajna
Change-Id: I82587fb48f5b7d037d66c0eb0e4aa1c7cee8702a
2015-01-12gtktiledviewer: react to key releasesMiklos Vajna
Change-Id: I5cbbd482fcf2e36851e1f82efc1cd511d856d10b
2015-01-12gtktiledviewer: react to key pressesMiklos Vajna
Change-Id: Ic9226bc0118482b381eff8d5d777e01c293c4deb
2015-01-12LibreOfficeKitGtk: lok_docview is never readMiklos Vajna
Change-Id: Ibb7a6dd46541afe8908b108450e64b91c8830026
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-06LOK: add LibreOfficeKitCallbackType enumerationMiklos Vajna
Change-Id: I0147b1985f87f25e70f4d8672beba18fdd9ba6c2
2015-01-06gtktiledviewer: register a LOK callback and re-render the document ...Miklos Vajna
... when the callback is invoked Change-Id: I979a75bc7c7ad1e0d0b9c5413c238ed7260d2093
2014-12-12lok_init can fail (in which case it printed sth to stderr already)Stephan Bergmann
Change-Id: I1c59a4fabf2f48f5f3637077496be5e252794b60
2014-12-10The document argument to gtktiledviewer is apparently non-optionalStephan Bergmann
Change-Id: I81ac033ebe887256279232d192f5ab93dccc0434
2014-12-04Revert "Implement lokconf_init."Tomaž Vajngerl
This reverts commit 5acadbfb0c79fe51f8025b065b46b0ccd25c804d. Conflicts: libreofficekit/qa/lokconf_init/lokconf_init.cxx Change-Id: I88221f660bcf15cbc29e90bfc3016b367570f9af
2014-12-04Make common paths member variables.Andrzej Hunt
We'll need these for other tests too. Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
2014-12-04Upgrade lokconf_init to LibreOfficeKitInit.hAndrzej Hunt
Change-Id: I0581a107c3eefd33c25b003afe9f7be217598441
2014-12-04Use gb_CppunitTest_use_confpreinit for LOK tiled rendering.Andrzej Hunt
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
2014-12-04Implement lokconf_init.Andrzej Hunt
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-11-06coverity#1000834 Use of untrusted string valueCaolán McNamara
and coverity#706196 Use of untrusted string value coverity#1244947 Use of untrusted string value Change-Id: I5083aba2eff9e852a24513db431585922302b279
2014-10-18tilebench depend on linreooficekitgtk so need ENABLE_GTK tooNorbert Thiebaud
Change-Id: I04b787493115de0190615f42248cc82968907e38
2014-10-02loplugin:unreffunStephan Bergmann
Change-Id: I99da68d2003e01bbc4e8dd9ff6ab943d8ea156ca
2014-10-02LOK: Excercise tiled-rendering harder in the test-bench.Michael Meeks
Change-Id: I13a93991050cc25d06f2836d85ec1d0a0bc574f1
2014-10-02LOK: Add a tiled rendering testbench.Michael Meeks
Change-Id: I631c0506f427d974c3dd4c75484aa25603100895
2014-09-29LOK: avoid crash when zooming using quadviewMichael Meeks
Change-Id: I89a8c9e44906326976c3dc8057e1637affaf2521
2014-08-14LOK: remove code from assert that must be compiled when not in debug mode.Michael Meeks
Change-Id: Ibc02247ad4f1099fa31acdcef38dd5b1e95523f2
2014-07-31LOK: add document loading failure test.Andrzej Hunt
We don't really have any way of telling the client that the file didn't exist yet though, so not very useful so far. Change-Id: I1db386781b88b345f3e9cb4f37838ca1d95f92f9
2014-07-31LOK: add test for getDocumentType.Andrzej Hunt
Change-Id: I264567f73dae9ecd061e09c4413857f793fcac48
2014-07-31LOK: add slide name retrieval test.Andrzej Hunt
Change-Id: I6d2bc4dfa634223da662af6f7c9a91f06cfe7534
2014-07-31Use one test instance to run all LOK tests.Andrzej Hunt
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
2014-07-31Make common paths member variables.Andrzej Hunt
We'll need these for other tests too. Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
2014-07-31GtkComboBoxText requires gtk >= 2.24 (again).Andrzej Hunt
Broken in 77d083130948fa35f9f404656b8c170060e78043.
2014-07-30LokDocView: Update part selector when mode changes.Andrzej Hunt
Change-Id: Ice754a46d07ce2714257c30e1aef27193b614cd3
2014-07-30LokDocView: set current item for part selector.Andrzej Hunt
Change-Id: Idbb3d63803bd60a182a9b8e26620d11b2d643cb6
2014-07-30gtktiledviewer: add part mode selector.Andrzej Hunt
Change-Id: Ia1e78df1d833f9b0fbda0b78136590c9c960fa27
2014-07-30LOKDocView: add set_part_mode.Andrzej Hunt
Change-Id: I0e14a535124e93979ef05431255911245a11aa29
2014-07-30gtktiledviewer: show part names in selector.Andrzej Hunt
Change-Id: I02ae5b729f96e36b3f226218b32495907cb63cf3
2014-07-30LOKDocView: add part name retrieval.Andrzej Hunt
Change-Id: Iac31de0410d7f6187e5884152c329375047a23f4
2014-07-29One final removal of libreofficekit static library.Andrzej Hunt
(Seems you need a clean build to notice this...)
2014-07-29Update LOK Readme to use LibreOfficeKitInit.hAndrzej Hunt
2014-07-29Kill the libreofficekit static library / shim.c.Andrzej Hunt
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-28-Werror=declaration-after-statementMiklos Vajna
Change-Id: I97b1d03410e98c5ff2ad3cc15cef692e9b994a6c
2014-07-28Use CPPUNIT_ASSERT instead of assert.Andrzej Hunt
Change-Id: I24e7934002ebdde208db74ae3308b26875a3155b
2014-07-28Prevent LOK DocView crash if document too large.Andrzej Hunt
There seems to be a maximum size that gdk's pixbuf can handle, however I have been unable to find any documentatation. Seeing as the current implementation isn't realistically useable anyway, we might as well set a hard limit here (in practice we'd have much smaller tiles + compositing). Specifically extras/source/shellnew/soffice.ods will fail without this patch. Change-Id: I6ac495adca8e15878989375ef8b2de472788279a
2014-07-26gtktiledviewer: make sure we clean up the office instance.Andrzej Hunt
Change-Id: I12c3e9df8b8fcf8dcd6fb5fa781c2f7c10ab0a0c
2014-07-26libreofficekit_tilederendering: test all 4 tiles.Andrzej Hunt
The use of VisPortChgd ensures that the tiles all render as expected, i.e. that the pixels match 1:1 irrespective of actual tile size (for identical zoom factors and document areas). Change-Id: Ib1e1df4f8257546c2f7993a8160c309a52037d8b
2014-07-18Disable libreofficekit_tiledrendering test for now.Andrzej Hunt
LOK Document loading seems to be quite unreliable for various reasons.
2014-07-18cid#1226493 Uninitialized scalar variableNoel Grandin
Change-Id: I80cd8adccad492c7e4b71e6204c0059bfc003b83
2014-07-18Try to make some sense out of that sentenceKhaled Hosny
Change-Id: Ibe9fedb3602d6c8ddbc007b214969c9960ba10b1
2014-07-18TyposKhaled Hosny
Change-Id: If91ed85a56c597f9aecbd5e469af4af83d256cfb