summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
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
2015-10-07Make this compile for iOS againTor Lillqvist
Change-Id: I36f88d7e1114096d1e7a7a1d29077c387c21a10a
2015-10-07afl-eventtesting: it has learned to open the file dialogCaolán McNamara
but the system dialogs are not under our control Change-Id: Icb4029b2447e8cddbe4e48137fdefc377ef50414
2015-10-07tdf#94829: Splash screen sets invalid XSizeHintsJulien Nabet
Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335 Reviewed-on: https://gerrit.libreoffice.org/19219 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-06tdf#94228 comphelper: replace BOOST_PPDaniel Robertson
Replace BOOST_PP macros in comphelper with variadic templates. The client interface should not change. However, there are a few side effects due to this change. The most important being 1) There is no longer a maximum number of service declarations limmited by default at 12 for unwrapArgs and component_getFactoryHelper. 2) component_getFactoryHelper now terminates early as soon as pRet is not a null pointer. Change-Id: I016fd208d0e80f91d8669fff29d58b6189e946d3 Reviewed-on: https://gerrit.libreoffice.org/18891 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-06Fix typosAndrea Gelmini
Change-Id: Ia6246bb6d37a0ec1ac53a4cb095bfd6fd15f873d Reviewed-on: https://gerrit.libreoffice.org/18945 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-06experimental afl driven ui testingCaolán McNamara
Change-Id: I1933951c52adc75ed36db2c083c232f29b6140d6
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-05LOK: add mouse button type and modifier on androidMihai Varga
Change-Id: Iab1dca8736eb208e652b5d5dfc0c87c8029679da Reviewed-on: https://gerrit.libreoffice.org/19159 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-10-05LOK: added the button type and key modifier to postMouseEvent()Mihai Varga
To get a better functionality we need to know the button type (left, right, middle). We also need the key modifier (ctrl, alt, shift) for actions such as ctrl+click (to open a link) or shift+click to select Change-Id: Iaccb93b276f8a6870dd41cc5132dbb85d2bbf71b
2015-10-05desktop: handle sal_uInt16 in jsonToPropertyValues()Miklos Vajna
Change-Id: Ic0059404b7ccbc922703705e7818404d4904f324
2015-10-05Add new line after error message during startupArnaud Versini
Change-Id: Ieaf81a3b9491141805722ea60c6a8ddfe94ecda3 Reviewed-on: https://gerrit.libreoffice.org/19120 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-10-01desktop, vcl: support transparency in VirtualDevices with user-provided memoryMiklos Vajna
Change-Id: I65c31995c02a644aa436aecd065255fab38045e4
2015-09-30Prefer getSelectedFiles to getFilesJulien Nabet
Anyway, add extension dialog allows to select only 1 file. So getFiles and getSelectedFiles both return a 1 cell array which contain the full path of the file. See http://nabble.documentfoundation.org/Multiselection-needs-work-tt4153207.html Change-Id: I475ea519648d075b482a07d23b15af2ddb8f4637 Reviewed-on: https://gerrit.libreoffice.org/18711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Ia37c28bbb7a1b47ed4a6beffb3f03eb26742b653 Reviewed-on: https://gerrit.libreoffice.org/18944 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-09-29lok: add Document::getPartPageRectangles()Miklos Vajna
Change-Id: I20acd44f7a81471982ba96ad3894a9124e035c5f
2015-09-25tdf#94228 comphelper: replace BOOST_PPDaniel Robertson
Remove makeSequence. Change-Id: If07dc8702d811111fc634c9c7eb4c9a331517ca5 Reviewed-on: https://gerrit.libreoffice.org/18647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-25Replace GUIBASE with USING_X11Samuel Mehrbrodt
That's what it actually means. Also make it a boolean Change-Id: I249e18351253b34b5dada28e2a9c6bc0c06b730c Reviewed-on: https://gerrit.libreoffice.org/18688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-25Add lok::Office::getFilterTypes() testcaseMiklos Vajna
Change-Id: I9fa710288729b904f2f1c5b3c575212ef21c8a79
2015-09-25desktop: make LibLibreOffice_Impl visible to testcasesMiklos Vajna
Change-Id: I345a6cab57cc594614e348700bb3c1c9a0673989
2015-09-25lok: add Office::getFilterTypes()Miklos Vajna
Change-Id: I3b1f4e11f2495e5ccb41f85802f243c0190695ee
2015-09-24convert Link<> to typedNoel Grandin
Change-Id: I280473a7a9069a86388f608bddc8e48879771bc9 Reviewed-on: https://gerrit.libreoffice.org/18815 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-24desktop: missing header guardMiklos Vajna
Change-Id: Ibae1de013712e55930559b138aa07c15b590baea
2015-09-23CppCheck : reduce variables scopeMichaël Lefèvre
Change-Id: Ief402017b693a4337f330fb07bb7a6dc6e749f72 Reviewed-on: https://gerrit.libreoffice.org/18753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-23desktop: avoid 'using' in headersMiklos Vajna
Change-Id: I9517a982daa48a6eb848360dee7739d15d42a971
2015-09-22convert Link<> to typedNoel Grandin
Change-Id: I92df586295c11bc9e9276770656901c2e4e714b9
2015-09-21convert Link<> to typedNoel Grandin
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-21desktop: document a number of environment variablesMiklos Vajna
Change-Id: Ie33f8b2f8d2a65fbdb7f4f3caaeee8f0f046cba5
2015-09-21lok::Document: register callback in the view, if requestedMiklos Vajna
With this, a postKeyEvent() in one view properly results in one LOK_CALLBACK_INVALIDATE_TILES per view, at least in Writer. Change-Id: Ia0a9a00ea5a98c38f3d399208b9ef028f3036f79
2015-09-21comphelper: add LibreOfficeKit::set/isViewCallback()Miklos Vajna
Change-Id: Iad0b2ee419327daf478f3ddda2378effe0184067
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-21Use SfxViewFrame::Current()Miklos Vajna
Allows getting rid of vcl::ITiledRenderable::getCurrentViewShell(), which would do the same, just not implemented outside Writer. Change-Id: Id26ceca560fb9002dc2d5c740c411b9c4a149523
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-21lok::Document: add createView()Miklos Vajna
Change-Id: Ic871ec41992b611b10958799b2dc12375a91efe4
2015-09-18Some follow-up #include clean-upStephan Bergmann
Change-Id: I4e91748701becfc92a379a490c08e9c7950007e3