summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
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
2015-01-26LOK: move postMouseEvent to DocumentMiklos Vajna
Change-Id: I5d2d2d05fc0f55d98a1e7a1591b4d66fd93ad353
2015-01-26android: release local ref to string after callback exec. in JNITomaž Vajngerl
Change-Id: I2a92a2beff214894ba63b3881a686337639a0b07
2015-01-26Add initial lok::Office::postMouseEvent()Miklos Vajna
There is no unit conversion yet, most probably we want to work with doc model coordinates at an API level, while VCL works with pixel coordinates. Change-Id: I98848851fbec5253e76c997844f6339402dfac46
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-23'Ownership' is one word, as is 'relationship'Tor Lillqvist
Change-Id: I45c441f68ed5f20cfc87e34e7bfb529a30952f81
2015-01-22Re-indent to make precedence clearStephan Bergmann
Change-Id: Ibbc35d1a9264817f3fa8e3229ec1de5f51800e97
2015-01-22areBothOpenFrom can be a free functionStephan Bergmann
Change-Id: I20697955457b1dadc334cb0f29c600687ae2d181
2015-01-22fdo#88158 Display two "Open..." entries in the file-menuJuergen Funk
Migration from Version 3 to 4 make this fail Entry .uno:Open and .uno:OpenFromWriter are the same, skip the entry .uno:OpenFrom Change the operator, and a lot of comments change the match in startWith for better reading change test when old-cmd ".uno:Open" change to the stephan solution Change-Id: I0861c1e7d30b861acc753e3258707f3b6a338768 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-01-20Remove unused codeJuergen Funk
- a inline function not use - a variable will be set but not use Change-Id: I67674a6cd05ddb058d11d46188d5c9d039ed40fb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-01-20Drop unused comphelper::service_decl::component_getFactoryHelper paramsStephan Bergmann
Change-Id: Ia47c0bc3539ddf8f925cd053a2431c742c46d337
2015-01-20Some more loplugin:cstylecast: desktopStephan Bergmann
Change-Id: I1aeba8e1a8452d0329244d85c7c8cbd55353582f
2015-01-19operator ?: has lower precedence than <<; << will be evaluated firstTor Lillqvist
Change-Id: I84037cf90c8de534c215200fe19793126ae07b11
2015-01-19executeDispatchRequests : cleaning outputsLaurent Godard
- replace RTL_TEXTENCODING_UTF8 with osl_getThreadTextEncoding() - replace printf statements with std::cerr and std::cout Change-Id: Id374efac90f86bbfdc817f2266a5c995d72902e4
2015-01-19convert-to : display error messages in console fdo#88326Laurent Godard
- source file does not exist - requested export filter does not exist and we use default filter (still process though) Change-Id: I92031ea305e81927357acfc352dbe5a5da205b0d
2015-01-16jni: if documentLoad returns NULL don't call NewDirectByteBufferTomaž Vajngerl
Change-Id: I847a7b90c0f85bb59869ecaca037145221e16e7f