summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2015-10-02Library recentfile should be built when UXING_X11Samuel Mehrbrodt
Change-Id: I9b8d67540f646e7da59e35303bf75cc43367f2c3 Reviewed-on: https://gerrit.libreoffice.org/19092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30Fix typosAndrea Gelmini
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>
2015-09-30Fix typosAndrea Gelmini
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>
2015-09-03shell: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
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>
2015-09-03remove KDE3 support, --enable-kde and --enable-kdeabMichael Stahl
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>
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: Idc3c74505d84a96bb5cc6713a95ef2fadc267ea8
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: I2e97fa10baa6a9bd290fabe250cf73d5f73e4537
2015-08-23tdf#39440 cppcheck: redundantAssignmentMichael Weghorn
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>
2015-08-07cppcheck:noExplicitConstructorNoel Grandin
Change-Id: I940714e303b905b756ba077eeda6c41746bd421f
2015-08-04shell,sfx2,sd: inline some use-once typedefsNoel Grandin
Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
2015-08-03remove some unused typedefsNoel Grandin
Change-Id: I98c1e7eaa66b7afb05255a017a3de54714637501 Reviewed-on: https://gerrit.libreoffice.org/17491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-23inline a handful of use-once #definesNoel Grandin
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
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>
2015-07-16loplugin:simplifyboolStephan Bergmann
Change-Id: I822967265cbe9f58641e2d9bd1260fd724df8ad1
2015-07-13warning C4101: unreferenced local variableStephan Bergmann
Change-Id: I3d2d46c7b722557f3dbfd95eb2b8649f8078d4df
2015-07-13Code deliberately not linking against sal just can't use OSL_ENSUREStephan Bergmann
Change-Id: I20820ea382ac9933bf2c6118d466625120b49d67
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann
...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
2015-07-08Fix typosAndrea Gelmini
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-06loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin
Change-Id: I8f3871fd4e82b6850718b6f2a8757f3043d00017
2015-07-04Fix typosAndrea Gelmini
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"Michael Stahl
The basegfx changes appear to break Windows builds. This reverts commit 3b32c5898ff4e744d3f18b00421b433500426d74.
2015-07-03loplugin:unusedmethods sax,shell,stoc,basegfxNoel Grandin
Change-Id: Ia5d63f7153e4b02acc5e206739316264d6d1184e
2015-07-01tdf#92269 fix Windows Explorer crash caused by shellextensionChristian Lohmaier
wcscpy_s is buffer size, not string length, so size must also account for a terminating NULL Change-Id: Ie69692e47c142f3b733b093d0b87fa4bb03db7b4
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann
Change-Id: I4ba0f758304977825d44dd1e3c8f348a94546a38
2015-06-18Fix typosAndrea Gelmini
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin
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
2015-06-15cppcheck:unreadVariableNoel Grandin
Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
2015-06-15inline COMPHELPER_SERVICEDECL_ macroNoel Grandin
it was not adding any value Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
Change-Id: Id45e303225602e401a5c3b640185bf476c94a0bb
2015-05-28new clang plugin: loopvartoosmallNoel Grandin
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
2015-05-18boost::shared_ptr -> std::shared_ptrStephan Bergmann
Change-Id: Iff798bd2ae4fec97f0f1647ea33f6f6ff1f3b208
2015-05-13Implement some more XModify methodsStephan Bergmann
Change-Id: I1345d6a3d62f1e5c3353c5412024f6b47f824f7a
2015-05-12loplugin:redundantcast: reinterpret_cast to void*Stephan Bergmann
Change-Id: I947b49cfb15f0e7d6ddfaae386656c70e4bd48ba
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
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
2015-04-17Don't throw UnknownPropertyException for givenname/sn from KDE backendsStephan Bergmann
Open TODO to actually obtain values for them, instead of returning an empty css::beans::Optional representing "no value available." Change-Id: Iceb286e9873216f7bc36bd88b09ac03bd3a2c895
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
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
2015-04-13tdf#82695 allow to build with system collada2gltfDavid Tardon
Change-Id: I1179e20fd5fbdecd198633d5440621ed08a0465b
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
2015-04-01Typo: wheter->whetherJulien Nabet
Change-Id: Iab5e7de499452924b4ac0d34cc604ee38395c813
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I443d86e9805dd994006d8bde6dabd72e14a2cff5
2015-03-29loplugin:cstylecastStephan Bergmann
Change-Id: I8bb20f4ce9c8cca3b70057cd8c4fb23819fa3b23
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: Iaae87d77ea48207c3277e7107b339296f6a99772
2015-03-27Small fix for BSD.Pedro Giffuni
Part of Code Review: https://reviews.freebsd.org/D2055 Author: Don Lewis (truckman at FreeBSD) (cherry picked from commit ecebe457c968bfd30a99a435210b0bdbb117faef)
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I84b3843b32bbec6dfe5a9c627927b04122d50abd
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25remove exit 0 at the end of a shell scriptPhillip Sz
Change-Id: I6f9b6aa7abba6eadf4db93506bdd9a822afdf2fb Reviewed-on: https://gerrit.libreoffice.org/14884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-24Fix various Windows-only XServiceInfo implementationsStephan Bergmann
...to match what is recorded in the .component files Change-Id: Ibc5bb0575f3869317e4d14614cf1dad0af728ddc
2015-03-19No need to use -I$(SRCDIR)/include/shellTor Lillqvist
We always use -I$(SRCDIR)/include, and the #include statements use <shell/*.h>. Change-Id: I62d32b3a1bd0840f3a4bb149c5552c2aed98cb56
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-11V512: we want the number of wide-chars here, not the number of bytesCaolán McNamara
Change-Id: I121cdfd586562b9ce298448f51d0b2e3b2a52c39