summaryrefslogtreecommitdiff
path: root/libreofficekit
AgeCommit message (Collapse)Author
2015-02-23Extract LibreOfficeKitEnums.h from LibreOfficeKit.hMiklos Vajna
This massively reduces the rebuild time in case only a new enumeration value is added to one of the enums. Change-Id: I4e58adf36fcd29da1672a5e5091bd3f6744f148d
2015-02-23lok::Office::postKeyEvent: allow different char and key codeMiklos Vajna
editeng is not happy with non-zero char code for css::awt::Key::ESCAPE. Change-Id: If26923df7defb8a47766e9109835a8569067e578
2015-02-23gtktiledviewer: map css::awt::Key::ESCAPEMiklos Vajna
Change-Id: Ib034244b39b185877be5791c2a86018d1b57f7e3
2015-02-16LOK: add LOK_SETTEXTSELECTION_RESETMiklos Vajna
So clients can perform a single method call to adjust the cursor position (when it's not a range), instead of sending two mouse clicks. This is mostly to be consistent, so that adjusting the cursor's middle and start/end handles all result in a setTextSelection() LOK call. Change-Id: I09eb0811887d173ea9ad7d125a2afb2c9e5c918c
2015-02-16lokdocview: reset start/end or middle handle depending on if we have selectionMiklos Vajna
Change-Id: Iee5511a8077e37999865aa83da2dfde1fdd4dbc2
2015-02-16lokdocview: allow dragging the selection start handle, tooMiklos Vajna
Change-Id: Ic5dd96c4ced7c5ea67d4417c73721535302f754b
2015-02-16lokdocview: allow dragging the selection end handleMiklos Vajna
Change-Id: I977e93657c52a66f10762293835ead28451b5406
2015-02-16lokdocview: allow dragging the middle handleMiklos Vajna
Change-Id: I83ef2797c17c8de8f8e9b5f3dcbe9adb34eb4313
2015-02-16lokdocview: avoid loading the handle bitmaps again and againMiklos Vajna
Change-Id: I767a1c0ddce4e06d421b6bb951aa6d0451943f89
2015-02-16lokdocview: draw handles at selection start/endMiklos Vajna
Change-Id: Ic9b4138619f20a8d35437912784b94f4d1f2af4f
2015-02-16lokdocview: when have a cursor but no selection, show the middle handleMiklos Vajna
Change-Id: I1497bd73303a0445f06f3302aa5b8a537243bfeb
2015-02-09lokdocview: fix Linux baseline buildMiklos Vajna
Baseline is only used for releases, while lokdocview is a tool to helpdevelopment for now, so don't bother with full compatiblity, just add enough to not break the build. Change-Id: I52e312d3c3ae80636448bf42d5f277184fb9ca7b
2015-02-09lokdocview: implement selection overlay using LOK_CALLBACK_TEXT_SELECTIONMiklos Vajna
Change-Id: I59cb870973ea4e2fda816b15ae7d9a53a4624e8d
2015-02-09lokdocview: fix memory leak in lcl_payloadToRectangle()Miklos Vajna
Change-Id: I2894c693d11b025d23ebbf0ae75f67532efe315f
2015-02-09lok::Document::postMouseEvent(): allow double-clickMiklos Vajna
Change-Id: Idaddd28d906e7508d4d2c5aab916b06fbe021beb
2015-02-09lokdocview: let the cursor blinkMiklos Vajna
Change-Id: I935fe7f09a5a6efcbfd246b0f24eba5226f61fb2
2015-02-09lokdocview: initial overlay on top of the tilesMiklos Vajna
It currently contains a non-blinking cursor caret in case at least one character is typed. Change-Id: I476bb1e8434a5df8c97054d670d68bc79721914e
2015-01-30coverity#1267697 Uninitialized scalar variableCaolán McNamara
Change-Id: I0703df58dd3d798ff0928f317b8d61e13ec2f0ce
2015-01-26lokdocview: fix for missing gtk_table_get_size()Miklos Vajna
Change-Id: Ib3f9849c2f28375a7e8bcd6575a6c3da0860d4fb
2015-01-26gtktiledviewer: fix for missing g_info()Miklos Vajna
Change-Id: I04a91065526b49bacb72c7d4865440efc3b3f7d0
2015-01-26fix for missing g_infoMiklos Vajna
Change-Id: Ibfab6d3aadb126fc357fd2d15485dcde8ceefa94
2015-01-26LOK: move postMouseEvent to DocumentMiklos Vajna
Change-Id: I5d2d2d05fc0f55d98a1e7a1591b4d66fd93ad353
2015-01-26lokdocview: send mouse events in doc model coordinatesMiklos Vajna
Change-Id: Ie4bc39330bf5f7f8ac4683486d98aec87aa82923
2015-01-26libreofficekit: cosmeticsMiklos Vajna
Change-Id: Ie759ed22cc0c598cea8926f86cc8874deb627ad2
2015-01-26gtktiledviewer: call postMouseEvent()Miklos Vajna
Again, no unit conversion yet. Change-Id: I261febd875bac5a729f449e42558b5af9d7a359b
2015-01-26gtktiledviewer: show error message when lok_docview_open_document() failsMiklos Vajna
Change-Id: Ie2e9bffbeceb1cb0d0b241f3b76d4198cf2e4d85
2015-01-26libreofficekit: update README, deploy a couple of g_info() callsMiklos Vajna
As we can't use SAL_INFO in C code (not to mention that the widget doesn't link to LO code, either). Change-Id: I71b925ab3c18c2e0afebe84cdaefd5c01fc91872
2015-01-26lokdocview: reduce scopeMiklos Vajna
Change-Id: I246ef656f1211cf760d4fcf408b83f39a1c56b56
2015-01-26lokdocview: add support for partial renderingMiklos Vajna
When typing a single letter to an empty document with an A4 paper size, this reduces the number of rendered tiles from 20 to 3. It also allows detecting when LOK_CALLBACK_INVALIDATE_TILES has a buggy parameter (e.g. empty rectangle -> no re-rendering). Change-Id: I8f509d1eb5c8f059663e544be8028503ed7a882e
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