summaryrefslogtreecommitdiff
path: root/libreofficekit
AgeCommit message (Collapse)Author
2015-01-16gtktiledviewer: improve table attach properties.Michael Meeks
Change-Id: I344efb9ea71d5eccdfb6255526db912622d115df
2015-01-16lokdocview: add LOKDocViewCallbackDataMiklos Vajna
So that the callback code running on the main thread can be aware of the event type and payload (necessary in the future to do partial repaints). Change-Id: I790b2ce0b6f9f88ba71d94a17bf0c8fc1b567c5f
2015-01-16lokdocview: adapt comment to match realityMiklos Vajna
Change-Id: I2d7ee76e132856483cdfa8f89641725c26762e37
2015-01-16lokdocview: stop rendering a single huge tileMiklos Vajna
The primary purpose of gtktiledviewer is to see the same features / bugs than on mobile devices. On Android we already render 256x256px tiles, do the same in gtktiledviewer instead of a single huge tile. Change-Id: I377dcab59e7019dcf1d15a27ccba117eb53d0d5b
2015-01-16lokdocview: clean up renderDocument()Miklos Vajna
Change-Id: I7ee58b2c889da3ca01969617f7a382bf4135b7a1
2015-01-16gtktiledviewer: start in viewer mode, switch to edit mode by mouse clickMiklos Vajna
Change-Id: I0863ec8fb159a2e367951ba9e7d7310d250d8a1e
2015-01-16gtktiledviewer: missing initializeForRendering()Miklos Vajna
Without that, we can't be sure we'll get pages in a single column. Change-Id: I18725607251b74bb81254c149fcc7e451de9359e
2015-01-16gtktiledviewer: handle more key valuesMiklos Vajna
Change-Id: I8af971f659d483c16507c906fa65346a5e0292f1
2015-01-16LOK: add LibreOfficeKitKeyEventType enumerationMiklos Vajna
Change-Id: I3d422670323cd982251569c4226dc46803d4f6a1
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