summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2015-08-10cppcheck: badBitmaskCheckCaolán McNamara1-2/+2
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
2015-08-06LOKit: set thread name lo_startmainHenry Castro1-0/+2
It is necessary the thread name for debugging LOKit threads. Change-Id: I713595eb1319234ff90a6eddebcac5ebad912b04
2015-08-04filter,desktop,dbaccess: inline some use-once typedefsNoel Grandin1-3/+1
Change-Id: I35f256a11b211c3cb977ae76b5b561efbfd13b9d
2015-07-27comphelper, desktop: fix MSVC mergedlib link failureMichael Stahl1-37/+4
Duplicate symbols are easily avoided by removing duplicate code. Change-Id: I9b598a44156d6ff71b0691e69ab8163b15e2e26f
2015-07-24-Werror,-Wunused-private-fieldStephan Bergmann7-12/+0
Change-Id: Ia1eb84b72cc9aa61639c3efbd55685d781196401
2015-07-23separate variables by scoping instead of reusingLionel Elie Mamane1-4/+6
Change-Id: I2cc889628f9ab25e382a9e891b99a795cd7d4c59
2015-07-23fix regression introduced by 21834f14c97071c5bcf13ef02bf940dc1922663fLionel Elie Mamane1-3/+3
Change-Id: I75b6329e2d308bd0d24201169dcef72301358d81 Reviewed-on: https://gerrit.libreoffice.org/17305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-07-23tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe37-85/+82
with the variadic variants in desktop. Change-Id: I84d4c4b36fff95b5e1646f4df731d0b83ee1fe3e Reviewed-on: https://gerrit.libreoffice.org/17301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-23inline a handful of use-once #definesNoel Grandin2-3/+1
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-20tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe1-2/+2
with the variadic variants, for comphelper. This also includes extra changes in other modules required accordingly. Change-Id: Id1537f46f1c90f760a0d8987a6dafa0e1da03b8f Reviewed-on: https://gerrit.libreoffice.org/16929 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-19Fix typosAndrea Gelmini1-1/+1
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-17loplugin:unusedmethods desktopNoel Grandin11-45/+0
Change-Id: I78d4cd362bebde05e5bec55eff5e38603cb3f813
2015-07-16loplugin:simplifyboolStephan Bergmann1-1/+1
Change-Id: I3ad64faba0e162d404668789ae4aa410004eaee2
2015-07-16tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl3-19/+19
Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
2015-07-15Revert "tools: replace boost::ptr_vector with std::unordered_map"Norbert Thiebaud3-19/+19
This reverts commit 218be53fe00aebed43df0b041de609b30f99ce95. MacOSX breaker
2015-07-16tools: replace boost::ptr_vector with std::unordered_mapMichael Stahl3-19/+19
Change-Id: I530c5f95dda9aa80654e3a2a20a2e236221e7305
2015-07-10do not include boost/utility.hppMichael Stahl2-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
2015-07-10desktop: misc: Add support for mips64.Heiher1-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>
2015-07-10desktop: update: Add support for mips64.Heiher3-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>
2015-07-08loplugin:unusedmethods vclNoel Grandin1-1/+0
Change-Id: I98b88ca3369a2c888fd63796e39d42376d513002
2015-07-08Fix typosAndrea Gelmini1-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>
2015-07-07LOK: Corner case with working dir as '/'.Jan Holesovsky1-1/+3
Change-Id: I3965966f0d3fe65389e8834d67452ac56f9df2d6
2015-07-06LOK: Cleanup absolutizing of URLs.Jan Holesovsky1-10/+25
Thanks to Stephan Bergmann. Change-Id: I22aa3bb827db28bce3eabebb9b8c514663fad860
2015-07-03LOK: Don't try to absolutize URL's.Jan Holesovsky1-5/+10
Based on a patch by Henry Castro. Change-Id: Ia7aca20feb8f6095adf7dfe510ed78b1e9882740
2015-07-03Fix typosAndrea Gelmini7-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>
2015-07-03typo: therfore -> thereforeAndras Timar1-1/+1
Change-Id: I9dcc0ce882dfd533d98a4f71625bb85e44084283
2015-06-30Fix typosAndrea Gelmini1-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>
2015-06-29Partially revert "svx, canvas, desktop: gb_OBJCXXFLAGS are not needed at all"Andras Timar1-0/+10
This reverts commit 601d7d38628bf93218fba15249c4654ae24e7396. desktop and svx need these flags in case of OS X sandboxing Change-Id: Ib811aa53bc2d71839961cdcea0dd4836ebdbc38c
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin1-3/+3
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin1-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>
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann1-2/+2
Change-Id: Ifd3537f5478079f4a82ddd7c5e32170c2080df2d
2015-06-24cppcheck: noExplicitConstructorCaolán McNamara24-32/+32
Change-Id: I80cd2975f17bb7fa57fa669873ef1dd8f3595a11
2015-06-23Revert "Typo: iff->if"Julien Nabet1-1/+1
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet1-1/+1
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-23rendercontext: Mass fix of using the wrong size.Jan Holesovsky2-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
2015-06-22Fix typosAndrea Gelmini1-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>
2015-06-19LOK: return used format in Document::getTextSelection()Miklos Vajna1-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>
2015-06-19C++ solution of 'unopkg can't be used by root'Katarina Behrens2-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)
2015-06-17LOK: add lok::Document::getTextSelection()Miklos Vajna1-0/+19
I.e. the copy part of copy&paste. Only the Writer bits for now. Change-Id: Ia003e76e3b234735f472cdef125514f9771d8640
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe7-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>
2015-06-16Fix typosAndrea Gelmini1-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>
2015-06-16Fix typosAndrea Gelmini2-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>
2015-06-16Fix typosAndrea Gelmini1-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>
2015-06-16Fix typosAndrea Gelmini1-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>
2015-06-15Missing newline at end of error messageStephan Bergmann1-1/+1
Change-Id: I1c74042697f00c6ca6b43ea85e7aab47ad326f1c
2015-06-15Dead codeStephan Bergmann4-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
2015-06-15Remove bash-ism, allow also --bundled option for rootKatarina Behrens1-12/+15
Change-Id: I34511c7947ff78654a34a3d2bd21754b6d004420
2015-06-14Don't let root run unopkg without --shared optionKatarina Behrens1-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>
2015-06-14surely we only care if *our* window is shown hereCaolán McNamara1-1/+1
Change-Id: Ia5bca11c0c24ed7ca301dbe15eca3dc684153ea8
2015-06-13Remove comment filenameAndrea Gelmini1-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>