summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* TDE: move stuff into the tde-integration packageJan-Marek Glogowski2015-10-123-4/+17
| | | | | | | | | | Currently the package just contains the TDE shell backend library. This moves the URL handler tde-url-open and the vcl plugin into the integration package, like the KDE3 based kde-integration. The TDE address book driver is left in the core package. Change-Id: I2687b313d7f106bb344c65c50ae0a07b0140def0
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1211-106/+106
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-123-6/+6
| | | | Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
* Library recentfile should be built when UXING_X11Samuel Mehrbrodt2015-10-021-5/+1
| | | | | | | Change-Id: I9b8d67540f646e7da59e35303bf75cc43367f2c3 Reviewed-on: https://gerrit.libreoffice.org/19092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix typosAndrea Gelmini2015-09-302-2/+2
| | | | | | | Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix typosAndrea Gelmini2015-09-302-2/+2
| | | | | | | Change-Id: Ibf70cbce0d280ab4686062a4e110c7c9bb54791c Reviewed-on: https://gerrit.libreoffice.org/18976 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* shell: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-09-0319-34/+35
| | | | | | | | | with the variadic variants. Change-Id: I0eb2efbd123198c7d8a99e9dd7c613f9b2b23c2d Reviewed-on: https://gerrit.libreoffice.org/18286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* remove KDE3 support, --enable-kde and --enable-kdeabMichael Stahl2015-09-035-101/+0
| | | | | | | | | | With the new RHEL6-era baseline TDF can finally ship KDE4 support. Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3 Reviewed-on: https://gerrit.libreoffice.org/18267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-311-1/+1
| | | | Change-Id: Idc3c74505d84a96bb5cc6713a95ef2fadc267ea8
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-311-2/+2
| | | | Change-Id: I2e97fa10baa6a9bd290fabe250cf73d5f73e4537
* tdf#39440 cppcheck: redundantAssignmentMichael Weghorn2015-08-231-2/+1
| | | | | | | | | | | This addresses some of cppcheck's "redundantAssignment" warnings ("Variable '<varName>' is reassigned a value before the old one has been used"). Change-Id: I8fd2950d5aa1a3f4bd9e1c4c336abe465d1f657e Reviewed-on: https://gerrit.libreoffice.org/17926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* cppcheck:noExplicitConstructorNoel Grandin2015-08-076-10/+10
| | | | Change-Id: I940714e303b905b756ba077eeda6c41746bd421f
* shell,sfx2,sd: inline some use-once typedefsNoel Grandin2015-08-042-10/+4
| | | | Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
* remove some unused typedefsNoel Grandin2015-08-031-1/+0
| | | | | | | Change-Id: I98c1e7eaa66b7afb05255a017a3de54714637501 Reviewed-on: https://gerrit.libreoffice.org/17491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* inline a handful of use-once #definesNoel Grandin2015-07-231-2/+0
| | | | Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
* formatting of public/private/protected section qualifiersNoel Grandin2015-07-172-2/+2
| | | | | | | | | | make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:simplifyboolStephan Bergmann2015-07-161-1/+1
| | | | Change-Id: I822967265cbe9f58641e2d9bd1260fd724df8ad1
* warning C4101: unreferenced local variableStephan Bergmann2015-07-133-5/+5
| | | | Change-Id: I3d2d46c7b722557f3dbfd95eb2b8649f8078d4df
* Code deliberately not linking against sal just can't use OSL_ENSUREStephan Bergmann2015-07-134-31/+11
| | | | Change-Id: I20820ea382ac9933bf2c6118d466625120b49d67
* Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann2015-07-134-30/+6
| | | | | | | ...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
* Fix typosAndrea Gelmini2015-07-081-1/+1
| | | | | Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
* loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin2015-07-062-14/+0
| | | | Change-Id: I8f3871fd4e82b6850718b6f2a8757f3043d00017
* Fix typosAndrea Gelmini2015-07-041-1/+1
| | | | | | | Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"Michael Stahl2015-07-032-0/+14
| | | | | | The basegfx changes appear to break Windows builds. This reverts commit 3b32c5898ff4e744d3f18b00421b433500426d74.
* loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin2015-07-032-14/+0
| | | | Change-Id: Ia5d63f7153e4b02acc5e206739316264d6d1184e
* tdf#92269 fix Windows Explorer crash caused by shellextensionChristian Lohmaier2015-07-011-1/+1
| | | | | | | wcscpy_s is buffer size, not string length, so size must also account for a terminating NULL Change-Id: Ie69692e47c142f3b733b093d0b87fa4bb03db7b4
* loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann2015-06-261-1/+1
| | | | Change-Id: I4ba0f758304977825d44dd1e3c8f348a94546a38
* Fix typosAndrea Gelmini2015-06-181-1/+1
| | | | | | | Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* remove unnecessary check for null when calling deleteNoel Grandin2015-06-151-15/+7
| | | | | | | | Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
* cppcheck:unreadVariableNoel Grandin2015-06-151-1/+0
| | | | Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
* inline COMPHELPER_SERVICEDECL_ macroNoel Grandin2015-06-151-3/+9
| | | | | | it was not adding any value Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
* loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2015-06-023-15/+15
| | | | Change-Id: Id45e303225602e401a5c3b640185bf476c94a0bb
* new clang plugin: loopvartoosmallNoel Grandin2015-05-281-1/+1
| | | | | | | | | | | | | Idea from bubli - look for loops where the index variable is of such size that it cannot cover the range revealed by examining the length part of the condition. So far, I have only run the plugin up till the VCL module. Also the plugin deliberately excludes anything more complicated than a straightforward incrementing for loop. Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015
* boost::shared_ptr -> std::shared_ptrStephan Bergmann2015-05-181-4/+3
| | | | Change-Id: Iff798bd2ae4fec97f0f1647ea33f6f6ff1f3b208
* Implement some more XModify methodsStephan Bergmann2015-05-132-41/+116
| | | | Change-Id: I1345d6a3d62f1e5c3353c5412024f6b47f824f7a
* loplugin:redundantcast: reinterpret_cast to void*Stephan Bergmann2015-05-121-2/+2
| | | | Change-Id: I947b49cfb15f0e7d6ddfaae386656c70e4bd48ba
* Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist2015-04-301-6/+0
| | | | | | | | | | | Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
* Don't throw UnknownPropertyException for givenname/sn from KDE backendsStephan Bergmann2015-04-172-0/+6
| | | | | | | Open TODO to actually obtain values for them, instead of returning an empty css::beans::Optional representing "no value available." Change-Id: Iceb286e9873216f7bc36bd88b09ac03bd3a2c895
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-1524-69/+69
| | | | | | | | | | | | | | | | ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
* tdf#82695 allow to build with system collada2gltfDavid Tardon2015-04-131-2/+1
| | | | Change-Id: I1179e20fd5fbdecd198633d5440621ed08a0465b
* loplugin:staticmethodsNoel Grandin2015-04-132-2/+2
| | | | Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
* Typo: wheter->whetherJulien Nabet2015-04-012-2/+2
| | | | Change-Id: Iab5e7de499452924b4ac0d34cc604ee38395c813
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-311-2/+2
| | | | Change-Id: I443d86e9805dd994006d8bde6dabd72e14a2cff5
* loplugin:cstylecastStephan Bergmann2015-03-292-11/+11
| | | | Change-Id: I8bb20f4ce9c8cca3b70057cd8c4fb23819fa3b23
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: Iaae87d77ea48207c3277e7107b339296f6a99772
* Small fix for BSD.Pedro Giffuni2015-03-271-0/+1
| | | | | | | | Part of Code Review: https://reviews.freebsd.org/D2055 Author: Don Lewis (truckman at FreeBSD) (cherry picked from commit ecebe457c968bfd30a99a435210b0bdbb117faef)
* const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2015-03-261-1/+1
| | | | Change-Id: I84b3843b32bbec6dfe5a9c627927b04122d50abd
* Typo: formated->formattedJulien Nabet2015-03-251-1/+1
| | | | Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
* remove exit 0 at the end of a shell scriptPhillip Sz2015-03-255-9/+0
| | | | | | | Change-Id: I6f9b6aa7abba6eadf4db93506bdd9a822afdf2fb Reviewed-on: https://gerrit.libreoffice.org/14884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix various Windows-only XServiceInfo implementationsStephan Bergmann2015-03-245-5/+5
| | | | | | ...to match what is recorded in the .component files Change-Id: Ibc5bb0575f3869317e4d14614cf1dad0af728ddc