summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-04CppunitTest_desktop_lib: test absolute positions for row/column headersMiklos Vajna
Change-Id: If2526647221fef2c6b18b21b589192239d8a89ad
2015-11-03lok: Fix crash due to non-initialized callback.Jan Holesovsky
Yay for unit tests! :-) Change-Id: I06b3f929b53d5c03f5722acfdaf0eaf841325e34
2015-11-03lok: Unit test for LOK_CALLBACK_UNO_COMMAND_RESULT.Jan Holesovsky
Change-Id: I917d47478504dc6fafd3fc675fe8458690c7cc2a
2015-11-03sc lok: avoid placeholder row when providing all headersMiklos Vajna
In case the logic visible area is known, info is provided only about the visible headers. Given that only relative sizes (no absolute positions) are provided, a placeholder row/col is added to the result that contains the total size of the skipped items. These placeholder items are not needed when providing all headers, so don't emit them. Change-Id: I48ccb73554313f4d2bb420e4402995719b0f9f7d
2015-11-03sc lok: allow requesting row headers only for a logic areaMiklos Vajna
So that for large documents it's not needed to query all of them on load, but (similar to tiled rendering itself) it's possible to query the data that affects the visible area. One catch is that the row sizes are relative, so there is a placeholder row in case the visible area is not the top left corner, and constructing its size needs special care. Normally the handed out twip values have to be floored after twip->px conversion, but this one is already rounded (as the total is a sum of px values, again becase of the previous floor rule), so need to play the +0.5 trick to allow clients always just flooring the logic conversion result they get. Change-Id: I64a155582acdee7b2acc741d77a2c462409b91a8
2015-11-03build fix?Stephan Bergmann
Change-Id: Icb48acfdba90b95ae55d2f4b9f05871dc3a8732b
2015-11-03desktop: minimal Android build fixMiklos Vajna
Change-Id: Icb9a40c5ded676ff3f8f7db198a90bb94540bdf4
2015-11-03lok: Introduce LOK_CALLBACK_UNO_COMMAND_RESULT callback.Jan Holesovsky
Posting of the .uno:Something commands is asynchronous. To be able to find out when eg. .uno:Save finished, this commit introduces a callback that fires when that happens. To be able to receive such a notification, the appropriate postUnoCommand() must be called with 'true' as the parameter for bNotifyWhenFinished (defaults to 'false'). Change-Id: I254939ebc8ea5f309ae39686dcaaeddd5148b0c9
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-11-02afl-eventtesting: can simplify this now we use QueryExitCaolán McNamara
Change-Id: Iddb96f51ed2fd2d7861e9448a7aa221d998ad2a5
2015-11-02afl-eventtesting: fix persistent modeCaolán McNamara
Change-Id: I96f75b51000811044b4407f8411d4e8cdba797c6
2015-11-01android: update JNI facade, rename mouse/keyboard event flagsTomaž Vajngerl
Change-Id: Ia2b9a812717d05c7d98d47bf0fe5fd293029d045
2015-11-01android: don't use alpha VDev when painting tiles on AndroidTomaž Vajngerl
Improves tile rendering speed. Change-Id: I6a4b87fbc1d9ed284f5c4a781d769eeacd9bc2ca
2015-11-01no need to use OUString constructor in call to createInstanceNoel Grandin
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I3d45914e349a4268204af84b95b53ccce7b9d544
2015-10-30LOK: initial Document::getCommandValues() for RowColumnHeadersMiklos Vajna
Only the row info and for the entire tiled rendering area as a start. Change-Id: Idbccd805b355e8d151ab7025ac1cf0c686cb237b
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29LOK: font/back color feedbackMihai Varga
This is used to know the current font/back color Change-Id: Ic524fcb5c26e1c15ec9c50b2879465152ac8ee34
2015-10-29Initialize Sequence<beans::NamedValue> from initializer_listsNoel Grandin
Change-Id: I216dcbd983dcf3df79df9fda371b93114540a9d8
2015-10-28vcl: getWindow() -> setClipboard() in ITiledRenderableMiklos Vajna
It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
2015-10-27loplugin:unusedmethodsNoel Grandin
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26gtktiledviwer: try to paste as html, then as plain textMiklos Vajna
Change-Id: I8e1c93fd36fb903c0625b29f9f73825438c9e113
2015-10-26lok clipboard: support rich text pasteMiklos Vajna
Change-Id: Ida5028969782be792b32b952d3adba0c30dd8bae
2015-10-26lok::Document::paste: check if the given mime type is supportedMiklos Vajna
Change-Id: Ib59ea43700815c53cdd4be819e2e9cf35c6f89e9
2015-10-22loplugin:defaultparamsStephan Bergmann
Change-Id: I12e314ef09ac4b3517135933169de50e8a525dfc
2015-10-22desktop: add lok::Document::paste() testcaseMiklos Vajna
Also, closeDoc() is called by tearDown(), so no need to call it manually at the end of tests. Change-Id: Ib8f61a09fa3fc0885d7ea90ce96210bff4cc9f98
2015-10-22LOK: add Document::paste()Miklos Vajna
Change-Id: I34998229e7f5cac4c62c859861783be3c161f9bf
2015-10-21android: remove the native DirectBufferAllocatorTomaž Vajngerl
Change-Id: I41d25d288253f1b35c268ba70b8384812fa567e5
2015-10-20afl-eventtesting: shutdown cleaner to allow things to deregisterCaolán McNamara
Change-Id: I2dc7c90f1f5a776bb0e6772d2b381116d28dd46f
2015-10-20sc: initial png exportMiklos Vajna
Change-Id: Iae0e89646eab794879529274f09839ad34aa4696
2015-10-20Add DLOPEN_LIBS to configure for some cases where -ldl is neededRichard PALO
use std::sqrt in vcldemo.cxx Change-Id: I24d8ba15ee267d0cad3b063df9b7cfd8d284f4ee Reviewed-on: https://gerrit.libreoffice.org/18591 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-20lok::Document::saveAs: add Writer/Impress/Draw png mappingMiklos Vajna
Change-Id: I7530281302b9787a9cb9f98f0dee9d98d39cfb05
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: Id6ceb78985e9578ea952a37988a7f7655e2f1a12
2015-10-16drop gconf integration as per ESC decisionBjoern Michaelsen
Conflicts: shell/source/backends/gconfbe/gconfbackend.cxx Change-Id: I609ec83ec59f5ae8d3a8c9c09649695bfcb03b87 Reviewed-on: https://gerrit.libreoffice.org/19408 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-16convert Link<> to typedNoel Grandin
Change-Id: I48893ac7130ad671864faa5eb55409b21cdda77e
2015-10-15vcl: aAlphaBitmap.ImplGetImpBitmap() seen as 0Miklos Vajna
Change-Id: I3f34f0315045d33ff6e498e24c0dacb0aabb0ff9
2015-10-15lok::Document::paintTile: fix non-rectangular tiles wrt. transparencyMiklos Vajna
When copying the alpha channel, the offset was incorrect when canvas width/height did not equal. Change-Id: If0ab3ec7a4ad4dd958419b566fd473732965cfda
2015-10-14LOK: include part numbers in CALLBACK_SEARCH_RESULT_SELECTION payloadMiklos Vajna
Without that, the result in Calc/Impress is ambiguous. Change-Id: I8dfd8dafc996102ed583688fddd721c7600dc48c
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12cppcheck:variableScopeNoel Grandin
Change-Id: I037feb335499629300309851dcda3bb661f03d4f Reviewed-on: https://gerrit.libreoffice.org/19316 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-10afl-eventtesting: there is no focused/active window in headless modeCaolán McNamara
so close all open frames, not just the active one and send events to the first discovered visible window and not the focus window Change-Id: I7339bc6743cd3106ceddea049136796121819eb3
2015-10-09afl-eventtesting: we want to allow dialogs in ui-testing modeCaolán McNamara
Change-Id: Ibd7f88734492c4336e8a92ebbf9c70afdb7b3b5c
2015-10-09afl-eventtesting: don't imply invisible when headless for event testingCaolán McNamara
Change-Id: I5ecf90a927b2ec4aeb2c0586a5da2f814c9062dd Reviewed-on: https://gerrit.libreoffice.org/19275 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-09loplugin:staticmethodsStephan Bergmann
Change-Id: Ice121a65e38d47b4a26f7ed81fc3037e031ae7c4
2015-10-09afl-eventtesting: provide a way to pseudo-restartCaolán McNamara
i.e. to reset to the initial post-startup state performance still isn't great unfortunately, 0.7 cycles per second before this, 2.6 after this Change-Id: Ib9d83b70f0cf052af36a49ed5bacef295fe9ed11 Reviewed-on: https://gerrit.libreoffice.org/19269 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-08sc tiled rendering: implement LOK_CALLBACK_SEARCH_RESULT_SELECTIONMiklos Vajna
Change-Id: Iaca2c1807a6e92cf7a87b0843000d65aea45fe7b
2015-10-08CppunitTest_desktop_lib: add Calc find-all testcaseMiklos Vajna
Fails without commit a31f95b180728c1c671930913b4b4ad96ebcda5f (sc tiled rendering: fix showing all search results, 2015-10-07). Change-Id: Ibc01d468168367f789b3f5046808104fa3f5ef18
2015-10-08lok::Document::initializeForRendering(): handle lack of lok_init()Miklos Vajna
Normally lok_init() sets the component context, but not e.g. during unit testing. Change-Id: If3760f31af2e4b870f65e5aa7557607e8b6a1114