summaryrefslogtreecommitdiff
path: root/desktop/qa
AgeCommit message (Collapse)Author
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara
cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
2015-11-18lok::Document::initializeForRendering: support init. argumentsMiklos Vajna
Change-Id: I8aaf19a50f25f495cb87fba7ff6a4b0f56ed7d80
2015-11-16sc lok: use client zoom for ViewRowColumnHeadersAndrzej Hunt
Change-Id: I85000851f82ea7cdc4b536683adbc8570de9af7e
2015-11-14CppunitTest_desktop_lib: add Writer comments textcaseMiklos Vajna
Fails without e.g. the last hunk of commit 1ba9d7fd2a7a3e2b4f52ed0f5efdf7df867b9db3 (sw lok: forward key events to annotation window if necessary, 2015-11-12). Change-Id: I7f39530881f6141fea956b751aa57eb2bdcadcb2
2015-11-12lok: send list of commands instead of ClearStylesAndrzej Hunt
We currently send just one command, but this could be expanded server side in future. Change-Id: Id8f14196158f3a7fe9c54595d094603efd5e2ce3
2015-11-11lok: add Clear formatting to getStyles()Andrzej Hunt
This requires client-side support too. Change-Id: I5197ed3ed2b8244b50f7faf84a1cadde6a61b2cb Reviewed-on: https://gerrit.libreoffice.org/19917 Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I8204a300c98b891a842ef2e40b65f0810dd7817a
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-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-03build fix?Stephan Bergmann
Change-Id: Icb48acfdba90b95ae55d2f4b9f05871dc3a8732b
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-20sc: initial png exportMiklos Vajna
Change-Id: Iae0e89646eab794879529274f09839ad34aa4696
2015-10-20lok::Document::saveAs: add Writer/Impress/Draw png mappingMiklos Vajna
Change-Id: I7530281302b9787a9cb9f98f0dee9d98d39cfb05
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-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-09-29lok: add Document::getPartPageRectangles()Miklos Vajna
Change-Id: I20acd44f7a81471982ba96ad3894a9124e035c5f
2015-09-25Add lok::Office::getFilterTypes() testcaseMiklos Vajna
Change-Id: I9fa710288729b904f2f1c5b3c575212ef21c8a79
2015-09-21LOK: make getViews() be a member function of DocumentMiklos Vajna
Just to be consistent, as all other view-related member functions are there, too. No real impact, as only the unit test uses this so far, and it always works with a single document. Change-Id: I46f1ed8265ab95017986ab45c1b510e961192241
2015-09-21lok::Document: add get/setView()Miklos Vajna
Change-Id: Ic3bce8f01d7e048e853c063c4bce1255845c60d0
2015-09-21lok::Document: add destroyView()Miklos Vajna
Change-Id: Id9e92593217541b4123e95279019cec3c958056c
2015-09-21CppunitTest_desktop_lib: fix reported name of failed testMiklos Vajna
Change-Id: Iaa9effdcf6d6c6b2292e3fc7b666afdb3678694d
2015-09-21lok::Office: add getViews()Miklos Vajna
Change-Id: Iabfb0f2a19106dc4a6bdae45f9e85d76c68a973e
2015-09-10LOK: getFonts methodMihai Varga
Returns a json mapping of the available fonts to their possible font sizes Change-Id: I80c0bdd79e3ef2d814f64b8d38143d6c2b9ca720
2015-09-10LOK: added a general getCommandValues methodMihai Varga
This method returns a JSON mapping of the posible values for the given command (e.g. .uno:StyleApply, etc). returns: {commandName: "cmdName", commandValues: {json_of_cmd_values}} I've fixed the unit test this time Change-Id: I30b0fba8ba1db33dd79f4b46026d293b9ea72402
2015-09-09LOK: moved the decalaration of LibLODocument_Impl to make it visibleMihai Varga
We needed a better way to test LOK methods that are not app specific, but are defined in /desktop/source/lib/init.cxx. So the decalaration needs to be visible. I also moved the `getStyles` test in the new test file Change-Id: I98d97dc17a66e72732ca7bd848c131610790f48e
2014-06-25Move gtktiledviewer into libreofficekit.Andrzej Hunt
desktop is no longer the right place for it now that libreofficekit has its own directory. Change-Id: I207f1d642e7e35c460ff85bb57aa142cb98023c8
2014-06-25Implement data area size retrieval.Andrzej Hunt
The scaling is wrong, but seems to work in principle (i.e. we get roughly 1.5x the correct size). Conflicts: sc/source/ui/view/gridwin4.cxx Change-Id: I6db1986e6cb1e5f3889ec3a462d999a9eab57331
2014-06-25Remove outdated includes.Andrzej Hunt
These were needed for the X11 "context" rendering which is no longer used. Change-Id: Ib60c8fff9dad06b1f8f489eed66c3b3c3597e1ee
2014-06-25Kill gtktiledviewer's alpha channel hack.Andrzej Hunt
basebmp and vcl now set the alpha channel appropriately, so no need to do so in the viewer now. However it would perhaps make more sense to just use RGB instead of RGBA, seeing as the alpha channel is permanently set to be opaque. Change-Id: I86ad758c6a8bee21b265730727a76605e5850c0c
2014-06-25Upgrade gtktiledviewer to use its own buffer.Andrzej Hunt
Change-Id: I3f567ff19ee0d5b0d54aeef9b163b78567d72946
2014-06-25Upgrade gtktiledviewer to RGBA.Andrzej Hunt
The Alpha channel seems to be set incorrectly by LO, hence we need to manually set it here for now. Change-Id: I1f9091b8b6f88c1dba6653dfb7bf51f9fe14b3fc
2014-06-25Draw the whole image for our gtk tiled viewer.Andrzej Hunt
We just draw one huge tile, it doesn't seem to work too well for larger documents though where the latter portions can appear empty. Change-Id: Ic527aec377bf2f82a528a04392186d3d8b752762
2014-06-25Use bitmap buffers in the gtktiledviewer.Andrzej Hunt
Looks pretty decent now -- however the vertical flipping isn't ideal. Change-Id: I6ffa9d2b8fced142308781e06e8f161228f1db26
2014-06-25Return a bitmap buffer for tiled rendering from LibLO.Andrzej Hunt
We still need some way of managing the buffers properly rather than just keeping a static reference to the last buffer that was rendered. Change-Id: I17940c758948aa9418f4e0216ecd253d128cd04f
2014-06-25Add some rendering to our gtktiledviewer.Andrzej Hunt
Just a hardcoded single tile for now. Change-Id: I9bfae4243e0083aa8fca38ae98dc369fe6de36fb
2014-06-25Add tiled rendering via liblibreoffice.Andrzej Hunt
We still need to add functions for getting dimensions of documents etc. for this to be truly useful, this is also only usable for writer documents for now. Change-Id: I07812c9b72caca71dfd509705af48c1d355cb2f8
2014-06-25TiledRendering: outline of basic gtk tiled rendering app using liblibreoffice.Andrzej Hunt
Change-Id: I46760c0a1329b9823fd999c470b57fef66d28914
2014-06-04desktop: fix includesThomas Arnhold
Change-Id: Ia51cd6fcdb84c049907b0aeda20774558198b575
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>