summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2015-11-11Implement LOK_CALLBACK_MOUSE_POINTERAndrzej Hunt
Change-Id: I8d1f63208baf277b0a9d15908f3ea7ff3b56bf10 Reviewed-on: https://gerrit.libreoffice.org/19883 Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org>
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
Change-Id: Ifbd1840464debfcdd0d390becc3fd72596c56669
2015-11-10desktop: Make the --writer/--calc/--impress command line options work again.Jan Holesovsky
Change-Id: I977d1fbedb1b784cb95273184ec5e5a7fa156eef
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I8204a300c98b891a842ef2e40b65f0810dd7817a
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-08sc lok: Add initial test for .uno:CellCursorAndrzej Hunt
This should be extended with checking that we receive "EMPTY" when there is no cursor shown - that would require e.g. simulating keyboard input to hide the cell cursor. Change-Id: Ia7be5ec3e158f21967b4c307ac10abb2b5e2a56a Reviewed-on: https://gerrit.libreoffice.org/19828 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org>
2015-11-06afl-event-testing: afl-1.93b has a new persistent patternCaolán McNamara
some testing shows that I can reliably hit at least 1000 pseudo-restarts without failures, so bump from 100 to 1000 Change-Id: Ib72c74068793ea1090a7b99a566372dc943641e6
2015-11-06loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann
Change-Id: Ie1e0f60a9fc78ab42d6208f28008e625d9077815
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I776476909e66ce561b8a539a9939e5ed0e3c85fe
2015-11-05sc lok: update parameter syntax for .uno:CellCursorAndrzej Hunt
This follows the syntax for .uno:ViewRowColumnHeaders (which was implemented somewhat concurrentl with CellCursor) Change-Id: I8ef03a969abc1716a0e95d95fb7043d75910c828
2015-11-05sc lok: tdf#94605 introduce uno:CellCursorAndrzej Hunt
This allows the client to rerequest the current cursor position, which is necessary e.g. on zoom-level changes. Conflicts: desktop/source/lib/init.cxx sc/inc/docuno.hxx Change-Id: I10d81e220a56a36e2ec0c59005cd1d4f134857d5
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