summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2015-10-09afl-eventtesting: provide a way to pseudo-restartCaolán McNamara2-1/+65
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 Vajna1-0/+13
Change-Id: Iaca2c1807a6e92cf7a87b0843000d65aea45fe7b
2015-10-08CppunitTest_desktop_lib: add Calc find-all testcaseMiklos Vajna3-3/+76
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 Vajna1-0/+8
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 Lillqvist1-9/+10
Change-Id: I36f88d7e1114096d1e7a7a1d29077c387c21a10a
2015-10-07afl-eventtesting: it has learned to open the file dialogCaolán McNamara3-3/+9
but the system dialogs are not under our control Change-Id: Icb4029b2447e8cddbe4e48137fdefc377ef50414
2015-10-07tdf#94829: Splash screen sets invalid XSizeHintsJulien Nabet1-0/+4
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 Robertson1-1/+0
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 Gelmini9-10/+10
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 McNamara1-0/+1
Change-Id: I1933951c52adc75ed36db2c083c232f29b6140d6
2015-10-06loplugin:unusedmethodsNoel Grandin2-104/+0
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-05LOK: add mouse button type and modifier on androidMihai Varga1-1/+2
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 Varga1-3/+5
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 Vajna1-0/+2
Change-Id: Ic0059404b7ccbc922703705e7818404d4904f324
2015-10-05Add new line after error message during startupArnaud Versini1-3/+3
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 Vajna1-1/+23
Change-Id: I65c31995c02a644aa436aecd065255fab38045e4
2015-09-30Prefer getSelectedFiles to getFilesJulien Nabet1-1/+1
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 Gelmini1-2/+2
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 Vajna2-0/+44
Change-Id: I20acd44f7a81471982ba96ad3894a9124e035c5f
2015-09-25tdf#94228 comphelper: replace BOOST_PPDaniel Robertson4-8/+3
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 Mehrbrodt1-1/+1
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 Vajna1-0/+16
Change-Id: I9fa710288729b904f2f1c5b3c575212ef21c8a79
2015-09-25desktop: make LibLibreOffice_Impl visible to testcasesMiklos Vajna2-30/+31
Change-Id: I345a6cab57cc594614e348700bb3c1c9a0673989
2015-09-25lok: add Office::getFilterTypes()Miklos Vajna1-0/+39
Change-Id: I3b1f4e11f2495e5ccb41f85802f243c0190695ee
2015-09-24convert Link<> to typedNoel Grandin1-1/+1
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 Vajna1-0/+6
Change-Id: Ibae1de013712e55930559b138aa07c15b590baea
2015-09-23CppCheck : reduce variables scopeMichaël Lefèvre2-3/+5
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 Vajna3-17/+14
Change-Id: I9517a982daa48a6eb848360dee7739d15d42a971
2015-09-22convert Link<> to typedNoel Grandin2-3/+3
Change-Id: I92df586295c11bc9e9276770656901c2e4e714b9
2015-09-21convert Link<> to typedNoel Grandin1-5/+4
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-21desktop: document a number of environment variablesMiklos Vajna1-0/+16
Change-Id: Ie33f8b2f8d2a65fbdb7f4f3caaeee8f0f046cba5
2015-09-21lok::Document: register callback in the view, if requestedMiklos Vajna1-5/+15
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 Vajna1-0/+4
Change-Id: Iad0b2ee419327daf478f3ddda2378effe0184067
2015-09-21LOK: make getViews() be a member function of DocumentMiklos Vajna2-11/+12
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 Vajna1-10/+2
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 Vajna2-0/+24
Change-Id: Ic3bce8f01d7e048e853c063c4bce1255845c60d0
2015-09-21lok::Document: add destroyView()Miklos Vajna2-1/+13
Change-Id: Id9e92593217541b4123e95279019cec3c958056c
2015-09-21CppunitTest_desktop_lib: fix reported name of failed testMiklos Vajna1-9/+3
Change-Id: Iaa9effdcf6d6c6b2292e3fc7b666afdb3678694d
2015-09-21lok::Office: add getViews()Miklos Vajna2-0/+20
Change-Id: Iabfb0f2a19106dc4a6bdae45f9e85d76c68a973e
2015-09-21lok::Document: add createView()Miklos Vajna1-0/+19
Change-Id: Ic871ec41992b611b10958799b2dc12375a91efe4
2015-09-18Some follow-up #include clean-upStephan Bergmann1-1/+0
Change-Id: I4e91748701becfc92a379a490c08e9c7950007e3
2015-09-17convert Link<> to typedNoel Grandin1-16/+12
Change-Id: I48bfd997279586adafe0773de7f4e42c7940257a
2015-09-17boost->stdCaolán McNamara14-36/+19
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-15LOK: Avoid crash when the command is not available in the given component.Jan Holesovsky1-14/+9
In that case we get a NULL pSlot. Change-Id: I38783ed198b1ab9860398f59ef872a295cbae6f8
2015-09-15LOK: Sync the list of commands we initialize with those we handle.Jan Holesovsky1-1/+6
A better solution is needed, outlined in tdf#94233. Change-Id: Ie2a58c9c5f5c46566da105ef84d736d7290f4634
2015-09-15Revert cppuhelper/implbase.hxx usage in non-LIBO_INTERNAL_ONLY code, againStephan Bergmann2-6/+6
Change-Id: I8c40f4ea79941e7ca5438ff9756f62988719cebc
2015-09-15lok: initialize UNO url command dispatchHenry Castro1-0/+58
In the tiled rendering case, the desktop is headless, so the toolbar is not created. The toolbar usually initializes all UNO url commands for each tool item attached. This causes that SfxControllerItem that monitor a state, it is not intercepted by InterceptLOKStateChangeEvent so no callback status changes. Change-Id: I5937cda66ef24d31dd92a1edd8c1440081c4b1a4
2015-09-15Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2-6/+6
with the variadic variants. Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a Reviewed-on: https://gerrit.libreoffice.org/18580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-14Extensions are not built against LIBO_INTERNAL_ONLYStephan Bergmann2-5/+5
Change-Id: I5a41b9f92678586da14fbb89f469fb11e06485a5
2015-09-14convert Link<> to typedNoel Grandin2-3/+2
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8