summaryrefslogtreecommitdiffstats
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:simplifyboolStephan Bergmann2015-07-161-1/+1
| | | | Change-Id: I3ad64faba0e162d404668789ae4aa410004eaee2
* tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl2015-07-163-19/+19
| | | | Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
* Revert "tools: replace boost::ptr_vector with std::unordered_map"Norbert Thiebaud2015-07-153-19/+19
| | | | | This reverts commit 218be53fe00aebed43df0b041de609b30f99ce95. MacOSX breaker
* tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl2015-07-163-19/+19
| | | | Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
* do not include boost/utility.hppMichael Stahl2015-07-102-2/+2
| | | | | | | | | | It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
* desktop: misc: Add support for mips64.Heiher2015-07-101-0/+6
| | | | | | | | Change-Id: If00f4438804777a977cd058bbb09603c4ff0d31c Reviewed-on: https://gerrit.libreoffice.org/16908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* desktop: update: Add support for mips64.Heiher2015-07-103-0/+2
| | | | | | | Change-Id: I48c6d717e30491171936e34210e8c60b1c7f9487 Reviewed-on: https://gerrit.libreoffice.org/16909 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:unusedmethods vclNoel Grandin2015-07-081-1/+0
| | | | Change-Id: I98b88ca3369a2c888fd63796e39d42376d513002
* Fix typosAndrea Gelmini2015-07-081-3/+3
| | | | | | | Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* LOK: Corner case with working dir as '/'.Jan Holesovsky2015-07-071-1/+3
| | | | Change-Id: I3965966f0d3fe65389e8834d67452ac56f9df2d6
* LOK: Cleanup absolutizing of URLs.Jan Holesovsky2015-07-061-10/+25
| | | | | | Thanks to Stephan Bergmann. Change-Id: I22aa3bb827db28bce3eabebb9b8c514663fad860
* LOK: Don't try to absolutize URL's.Jan Holesovsky2015-07-031-5/+10
| | | | | | Based on a patch by Henry Castro. Change-Id: Ia7aca20feb8f6095adf7dfe510ed78b1e9882740
* Fix typosAndrea Gelmini2015-07-037-7/+7
| | | | | | | Change-Id: Ideb5688a8c9e7cf10038f2e9d00991e8653b1875 Reviewed-on: https://gerrit.libreoffice.org/16706 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* typo: therfore -> thereforeAndras Timar2015-07-031-1/+1
| | | | Change-Id: I9dcc0ce882dfd533d98a4f71625bb85e44084283
* Fix typosAndrea Gelmini2015-06-301-1/+1
| | | | | | | Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* Partially revert "svx, canvas, desktop: gb_OBJCXXFLAGS are not needed at all"Andras Timar2015-06-291-0/+10
| | | | | | | | This reverts commit 601d7d38628bf93218fba15249c4654ae24e7396. desktop and svx need these flags in case of OS X sandboxing Change-Id: Ib811aa53bc2d71839961cdcea0dd4836ebdbc38c
* Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin2015-06-291-3/+3
| | | | This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
* return and use std::vector from OInterfaceContainerHelperNoel Grandin2015-06-291-3/+3
| | | | | | | | | | since most of the time we don’t need a heavyweight uno::Sequence. Adds a new method getElementsAsVector(). Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a Reviewed-on: https://gerrit.libreoffice.org/15747 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann2015-06-261-2/+2
| | | | Change-Id: Ifd3537f5478079f4a82ddd7c5e32170c2080df2d
* cppcheck: noExplicitConstructorCaolán McNamara2015-06-2424-32/+32
| | | | Change-Id: I80cd2975f17bb7fa57fa669873ef1dd8f3595a11
* Revert "Typo: iff->if"Julien Nabet2015-06-231-1/+1
| | | | | | This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
* Typo: iff->ifJulien Nabet2015-06-231-1/+1
| | | | Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
* rendercontext: Mass fix of using the wrong size.Jan Holesovsky2015-06-232-2/+2
| | | | | | | | | | In the paints, we must use the size of the Window for the computations, not of the RenderContext - the RenderContext can be much bigger than the Window in the double-buffering case. Fixes for example the list boxes, and many others. Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6
* Fix typosAndrea Gelmini2015-06-221-1/+1
| | | | | | | Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* LOK: return used format in Document::getTextSelection()Miklos Vajna2015-06-191-3/+14
| | | | | | | | | | This allows requesting text/html, with falling back to plain text if necessary. Change-Id: Ie6d4e0e173311ba018553043b6a869abf193bf6f Reviewed-on: https://gerrit.libreoffice.org/16377 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* C++ solution of 'unopkg can't be used by root'Katarina Behrens2015-06-192-18/+20
| | | | | | | | | | This way should cover all un*x-like OSes (unopkg.sh excludes e.g. OS X) This effectively reverts commits 723e099972c1645 and 9444ffc93a3335 Change-Id: I0b4425d1c9eff8e51e5d9a4dab35775084106a23 (cherry picked from commit faa2c06226146e3ab4b7fa8096cf213ea9d52a23)
* LOK: add lok::Document::getTextSelection()Miklos Vajna2015-06-171-0/+19
| | | | | | I.e. the copy part of copy&paste. Only the Writer bits for now. Change-Id: Ia003e76e3b234735f472cdef125514f9771d8640
* Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe2015-06-177-9/+7
| | | | | | | | | | | | | | | | | | | | | | This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix typosAndrea Gelmini2015-06-161-1/+1
| | | | | | | Change-Id: I528752dfabeb31d14c350f79819b521537ab9b56 Reviewed-on: https://gerrit.libreoffice.org/16300 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-06-162-2/+2
| | | | | | | Change-Id: I549635318f46718042e50c8f89ce3c620cade990 Reviewed-on: https://gerrit.libreoffice.org/16281 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-06-161-1/+1
| | | | | | | Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-06-161-1/+1
| | | | | | | Change-Id: Ieaf67cf597e05dbae5affa153af907fda4462a41 Reviewed-on: https://gerrit.libreoffice.org/16295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Missing newline at end of error messageStephan Bergmann2015-06-151-1/+1
| | | | Change-Id: I1c74042697f00c6ca6b43ea85e7aab47ad326f1c
* Dead codeStephan Bergmann2015-06-154-242/+0
| | | | | | | | | | | ...originally introduced with 5fff0372bee0794a9b220f419d4b4e6975dd3941 and 2b34e17de3ce984402dcaf8e356a0d3118ddda35 "INTEGRATION: CWS cfgruggedised: #i28654#,#i29838# Add InteractionHandler support to configuration," but unused ever since 47692bfc1275bfa24a7fb2627cc263142549d29d "sb111: #i101955# moved configmgr2/ to configmgr/" re-wrote configmgr from scratch. Change-Id: Ibe18748f7d637e09194ca7b8e7ff5955c4b212c7
* Remove bash-ism, allow also --bundled option for rootKatarina Behrens2015-06-151-12/+15
| | | | Change-Id: I34511c7947ff78654a34a3d2bd21754b6d004420
* Don't let root run unopkg without --shared optionKatarina Behrens2015-06-141-1/+16
| | | | | | | | | | | | | | | | with the exception of -h|--help. It only makes sense to run unopkg with root priviledges if adding, deleting etc. extensions system-wide for all users (i.e with --shared switch ). In all other cases it only messes up access rights to extensions, so prevent that. Furtheron, running LibO from the root account (and installing root-user-local extensions) is not a supported scenario. Change-Id: I2817f62ae0bb400cefed240e792873f563fbe76e Reviewed-on: https://gerrit.libreoffice.org/16250 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* surely we only care if *our* window is shown hereCaolán McNamara2015-06-141-1/+1
| | | | Change-Id: Ia5bca11c0c24ed7ca301dbe15eca3dc684153ea8
* Remove comment filenameAndrea Gelmini2015-06-131-1/+0
| | | | | | | | | This file was rm/mv on commit 47692bfc1275bfa24a7fb2627cc263142549d29d Change-Id: I141794aee5c57e345334af42fcea4eaa71709f1b Reviewed-on: https://gerrit.libreoffice.org/16259 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* TyposJulien Nabet2015-06-131-1/+1
| | | | Change-Id: I21c352a63d668c174eef212dbfbe6346c678ce4d
* java:regulatize the order of 'final' and public/privateNoel Grandin2015-06-113-3/+3
| | | | | | | | | | Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-083-4/+4
| | | | Change-Id: I897ebb00ce427a00f1d9b0c199d465bb0ac80309
* Apply new VclPtr clang plugin to catch potential problems.Noel Grandin2015-06-061-1/+1
| | | | | | | | | | Omit the plugin, and sw's FrameControlsManager for now. Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f Reviewed-on: https://gerrit.libreoffice.org/16117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* tdf#91529 hopefully fixes the issue by painting immediatelyTomaž Vajngerl2015-06-041-5/+14
| | | | Change-Id: I0c97e489150cd65d1ab1dbff4ee9f1699f89ac2e
* Build time option --disable-extension-updateKatarina Behrens2015-06-032-2/+11
| | | | | | to disable the possibility to update installed extensions Change-Id: Ifdee0f3b13ee3e2bcb288c8ded98cb9805a6e55a
* loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2015-06-021-4/+4
| | | | Change-Id: Id57c9599a454e1156a6a248ebb143a88f6d78425
* loplugin:loopvartoosmallNoel Grandin2015-05-293-5/+5
| | | | Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
* SvxSearchItem: add m_nStartPoint{X,Y}Miklos Vajna2015-05-281-0/+2
| | | | | | | | | | | | | | The idea is that if you have your cursor at the begining of a Writer document, and you scroll down a lot, then search, then it's annoying that search jumps back to the start of the document for the first hit. Add an optional way to provide what is the starting point of such a search, so we can have "when nothing is selected, then search from the top left corner of the visible area". No UI yet to enable this, but available via the UNO API. Change-Id: Ibcf3a5f2eeba1372b1dfe8474081e6591a6e0134
* Rewrite all calls like Dialog(params).Execute()Philippe Jung2015-05-281-2/+2
| | | | | | | | | | | | | Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* desktop: simplify code by std::none_ofTakeshi Abe2015-05-263-8/+9
| | | | Change-Id: Ie69927f3a1e0a8049ea7e15f949e17d5b9f15fce
* Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks2015-05-252-5/+5
| | | | | | Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd