summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2015-03-09Fix Linux baseline buildMiklos Vajna
1) One more place in desktop that missed the LOK_TEST check. 2) One testcase currently fails on baseline, disabled for now, need to check later. Change-Id: I8c8bcf2cec1618e39e8453120755dffd3feb79ce
2015-03-09desktop: avoid restart when running in a LOK unit testMiklos Vajna
Cppunit tests just don't run the desktop logic to determine whether to restart normally, but for LOK, that happens. Without this, if versionrc changes, a LOK-using unit test would fail. Simple reproducer: sed -i "s|\(buildid=\).*|\1$(echo $RANDOM|sha1sum -|sed 's/ .*//')|" instdir/program/versionrc make -sr CppunitTest_libreofficekit_tiledrendering Should be an acceptable alternative approach to commit 5acadbfb0c79fe51f8025b065b46b0ccd25c804d (Implement lokconf_init., 2014-07-21). Change-Id: I4354e646d3bcc0c1199db5a175708206b4a30294
2015-03-06V801: Decreased performanceCaolán McNamara
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
2015-03-06v612: obfuscated ifBjoern Michaelsen
Change-Id: Idbcb1f7461ac5a1d5e07d7d65f6a7d86f2e3cc57
2015-03-06Timer/Idle: adapted inherited funktionsTobias Madl
Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
2015-03-06Idle: Changed to new enum nameTobias Madl
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-05gbuild: set _WIN32_WINNT globally instead of WINVERMichael Stahl
... and remove the definitions in makefiles, except in fpicker, which defines a different value for the Vista file picker. The WINVER value is derived automatically from _WIN32_WINNT by SDK header sdkddkver.h. Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
2015-03-02correct control overlapping - minor UI refactoringLaurent Godard
the gtk-cancel button overlapped the "adding extension" label if %EXTENSION_NAME is too long. Change-Id: Ia6a650d7ff82853155da67527a1cdc865b01148e Reviewed-on: https://gerrit.libreoffice.org/14717 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-03-02Remove references to unused GLUStephan Bergmann
(after removing the one remaining use of gluErrorString in a SAL_WARN call) Change-Id: Ib94e346d73e508e69c07deafdc690e3ae0e23d4e
2015-03-02if you link vclplug_svp to desktop you end up with duplicate font cachesCaolán McNamara
so how about we just move all of the svp "headless" stuff into vcl proper Change-Id: Ibf4ab0b0698ef031ffeeb05ef9bbcf3b89144010 Reviewed-on: https://gerrit.libreoffice.org/14714 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-02desktop: remove some obsolete "delzip" filesMichael Stahl
Change-Id: I47773c4854d6ddda145939179c86be7204c46db7
2015-03-02LOK: move Office::postKeyEvent to DocumentMiklos Vajna
The implementation still sends them to the currently active VCL frame, not to the given document, though. Change-Id: I6fa2decdea3f949c55287e802cb3373c85664207
2015-03-02desktop: move tiled rendering debug code from swMiklos Vajna
So that the size / position is more clear in other apps as well. Change-Id: If1fd9ac8e6ddc83b41c06e3b88ae34765a5c7c75
2015-02-24TyposJulien Nabet
Change-Id: I5f2577dd1f047331a58d33e05684b673e6dbd11e
2015-02-23related lp#1419836: provide decent error messageBjoern Michaelsen
Change-Id: I95387ae6b2ca8f49af87945954e4c418322860be
2015-02-23use initializer listBjoern Michaelsen
Change-Id: Ie15b08a3bc08760d602f6b71ff30234aa4a03dca
2015-02-23fdo#57950: skip verbose OUStringBufferBjoern Michaelsen
Change-Id: I151da82d4a7b3d2f00108bfcea444915d6b8e1da
2015-02-23Extract LibreOfficeKitEnums.h from LibreOfficeKit.hMiklos Vajna
This massively reduces the rebuild time in case only a new enumeration value is added to one of the enums. Change-Id: I4e58adf36fcd29da1672a5e5091bd3f6744f148d
2015-02-23Use SdrModel::isTiledRendering()Miklos Vajna
It turns out that in case the is-tiled-rendering flag is part of the sdr model, then that's enough for all the places where so far used a flag on the output device for this purpose, so change the two users of that method to use SdrModel::isTiledRendering(), and clean up the now unused one. Change-Id: Ife6d3d7e093c04b707497d9588942b38bcd8742d
2015-02-23Add OutputDevice::isTiledRendering()Miklos Vajna
This is similar to SwViewShell::isTiledRendering, but while SwViewShell describes a state of the application, this one describes a state of the output device. The output device may be created by LOK client code, while the view shell may not be accessible from lower layers of the stack, so we need both. Change-Id: I82f7755eb73603bd79283272fba4970dccae8784
2015-02-23lok::Office::postKeyEvent: allow different char and key codeMiklos Vajna
editeng is not happy with non-zero char code for css::awt::Key::ESCAPE. Change-Id: If26923df7defb8a47766e9109835a8569067e578
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-18TyposJulien Nabet
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-17SkipImages option for PDF importMihai
This option allows images and drawings to be skipped while importing a PDF, the main reason was performance improvement where images were not needed. Change-Id: Ibca342ff6e7005bedf7b16869473832ce2576fb2 Reviewed-on: https://gerrit.libreoffice.org/14470 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-16android: add support for text selection to JNITomaž Vajngerl
Change-Id: Ifa307eb6a8cb031bdd88b9fadae42c8a0811772b
2015-02-16LOK: add lok::Document::setTextSelection()Miklos Vajna
What's interesting about this is that it allows adjusting the position of both the point and mark of the selection, while the normal UI only allows adjusting the point. Change-Id: If61f57c68c28c67fec252f2b666a706f52dd8d26
2015-02-16LOK: Return NULL when we failed to load the document.Jan Holesovsky
Change-Id: I7740549f35cdbe21556e1e066bbc6c0355463b79
2015-02-16add GetSelectEntryData to ListBox and ComboBoxNoel Grandin
to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-14Related: tdf#63690 - remove rtl_logfileThorsten Behrens
This was unused since the earlier cleanup. Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
2015-02-12Remove dead implementation specificationStephan Bergmann
...left over from 287bc0aab7a848b991266586737b53630332b987 "Kill the migration wizard for good." Change-Id: I3f4ba5147f3bf840c47078d20152988a0e40e45d
2015-02-11We can put a few more lines inside the #ifndef IOSTor Lillqvist
Change-Id: I607b2c06cad569a0e7495c3009a0883be1f22856
2015-02-09On Mac OS X, directly name the executable "unopkg"Stephan Bergmann
Change-Id: I5f846d7f7c5ed54179504f551e19227f7283bda2
2015-02-09vcl/settings.hxx "drag full options API" uses sal_uLongStephan Bergmann
...for better or worse Change-Id: I8069da4a544cb6a69cbcd7243469bc6ea7b112a4
2015-02-09lok::Document::postMouseEvent(): allow double-clickMiklos Vajna
Change-Id: Idaddd28d906e7508d4d2c5aab916b06fbe021beb
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I1553902c1f7c30f2c64d2210dc301c5ae50c6c4b
2015-02-07Fixup --without-x buildRiccardo Magliocchetti
Accept gl linkage in hope of future offscreen mesa support. Avoid linking with GLX though. Change-Id: I4e666f60e74fe34075a8da9eeba95807cf8fe38c Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/13452 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-02-06shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-04Use LibreOfficeKit in the TiledLibreOffice iOS demo app, tooTor Lillqvist
For iOS, the pBuffer argument to LibreOfficeKitDocument::paintTile() is not a pixel buffer, but a CGContextRef. Thus we can keep the existing CGContext-oriented vcl code for iOS as is. I commented out the <touch/touch.h> -using code in sw, and it probably would be OK to just kill <touch/touch.h> and remove use and implementations of its API. I don't think they are used by our current Android or iOS code. This concludes the commits of the work I did at the post-FOSDEM hackfest and on the flight home. TiledLibreOffice now works as before, but uses LibreOfficeKit. Change-Id: Ibbde6e11d660561840eab6335f7fc0db6758173e
2015-02-04For iOS we already hardocde the inifile as rc in the .app directoryTor Lillqvist
Change-Id: I5971aa4db91adc89f8aeeb7384a1893dab329411
2015-02-03Fix Extension_test-{active,passive}Stephan Bergmann
Change-Id: Ibfa00b98bde90e1a84e19637179be83449b7743d
2015-02-03Clean up some weird loggingTor Lillqvist
Change-Id: I8da0a89b7d6e044af8188a87220c654cb7bf9d4d
2015-02-03Build the applicable LibreOfficeKit bits for iOS, tooTor Lillqvist
Change-Id: Ib6b4f7d5323ea7e94c7b535c68bb6e0af2c49ffa
2015-02-03Make the handling of the pAppPath==NULL case actually workTor Lillqvist
Change-Id: I8b185ad37e1db3262c2533c0146e4fe7fb3ef3ea
2015-02-03We (try to) handle the pAppPath==NULL case below anywayTor Lillqvist
Change-Id: I37b616b3b509c82551d9690c0313e09063a758bc
2015-02-03libreofficekit_hook must be exported on iOS for dlsym() to find itTor Lillqvist
Change-Id: I824e977e99e8889e5cb69403feb0f1d5e1d0cc31
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-26android: add postMouseEvent to LOKit JNI interfaceTomaž Vajngerl
Change-Id: I652a0c365c4a1413226cdd4dc7910e65ac2a5285