summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
2015-07-01tdf#92269 fix Windows Explorer crash caused by shellextensionChristian Lohmaier1-1/+1
wcscpy_s is buffer size, not string length, so size must also account for a terminating NULL Change-Id: Ie69692e47c142f3b733b093d0b87fa4bb03db7b4 (cherry picked from commit 2279f1f0227fc232356a7f5afc60eead77914b89) Reviewed-on: https://gerrit.libreoffice.org/16653 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-05-18boost::shared_ptr -> std::shared_ptrStephan Bergmann1-4/+3
Change-Id: Iff798bd2ae4fec97f0f1647ea33f6f6ff1f3b208
2015-05-13Implement some more XModify methodsStephan Bergmann2-41/+116
Change-Id: I1345d6a3d62f1e5c3353c5412024f6b47f824f7a
2015-05-12loplugin:redundantcast: reinterpret_cast to void*Stephan Bergmann1-2/+2
Change-Id: I947b49cfb15f0e7d6ddfaae386656c70e4bd48ba
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist1-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
2015-04-17Don't throw UnknownPropertyException for givenname/sn from KDE backendsStephan Bergmann2-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
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin24-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
2015-04-13tdf#82695 allow to build with system collada2gltfDavid Tardon1-2/+1
Change-Id: I1179e20fd5fbdecd198633d5440621ed08a0465b
2015-04-13loplugin:staticmethodsNoel Grandin2-2/+2
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
2015-04-01Typo: wheter->whetherJulien Nabet2-2/+2
Change-Id: Iab5e7de499452924b4ac0d34cc604ee38395c813
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-2/+2
Change-Id: I443d86e9805dd994006d8bde6dabd72e14a2cff5
2015-03-29loplugin:cstylecastStephan Bergmann2-11/+11
Change-Id: I8bb20f4ce9c8cca3b70057cd8c4fb23819fa3b23
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-1/+1
Change-Id: Iaae87d77ea48207c3277e7107b339296f6a99772
2015-03-27Small fix for BSD.Pedro Giffuni1-0/+1
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 Bergmann1-1/+1
Change-Id: I84b3843b32bbec6dfe5a9c627927b04122d50abd
2015-03-25Typo: formated->formattedJulien Nabet1-1/+1
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25remove exit 0 at the end of a shell scriptPhillip Sz5-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>
2015-03-24Fix various Windows-only XServiceInfo implementationsStephan Bergmann5-5/+5
...to match what is recorded in the .component files Change-Id: Ibc5bb0575f3869317e4d14614cf1dad0af728ddc
2015-03-19No need to use -I$(SRCDIR)/include/shellTor Lillqvist1-5/+0
We always use -I$(SRCDIR)/include, and the #include statements use <shell/*.h>. Change-Id: I62d32b3a1bd0840f3a4bb149c5552c2aed98cb56
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann3-16/+4
...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 McNamara1-7/+2
Change-Id: I121cdfd586562b9ce298448f51d0b2e3b2a52c39
2015-03-11leak on short readCaolán McNamara1-0/+3
Change-Id: I5da7ec2992f9f0b20aa075ee33d0b882cdf91901
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara1-2/+0
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-09V801: Decreased performanceCaolán McNamara2-2/+2
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
2015-03-05shell: warning C4996 function call with parameters that may be unsafeMichael Stahl1-1/+1
Change-Id: Id70289b0c88dd203cac6301303fe7452088f60f9
2015-03-05gbuild: set _WIN32_WINNT globally instead of WINVERMichael Stahl8-8/+0
... and remove the definitions in makefiles, except in fpicker, which defines a different value for the Vista file picker. The WINVER value is derived automatically from _WIN32_WINNT by SDK header sdkddkver.h. Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
2015-03-05shell: remove unnecessary explicit -D_WIN32_IEMichael Stahl8-8/+0
Change-Id: Ib6d9233e8c322fd7165fce8763bb2a4eee9a7850
2015-03-04V813: Decreased performanceCaolán McNamara7-15/+15
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-01unnecessary wstring -> char* -> wstring conversionMarkus Mohrhard1-1/+1
Change-Id: I21e6036a5156ed62f2c7bff6439c64d0178c96e4
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin2-15/+15
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-16Add kde4-open-url scriptJan-Marek Glogowski2-0/+28
Adds a KDE4 specific URL processing script. Change-Id: I0116fa95f076a5772e88c616e93de542fe4fe4e4
2015-02-07loplugin:deletedspecialStephan Bergmann3-8/+11
Change-Id: I2a3d9deb9c71bb4dfe3ad9076d7202636001e0bb
2015-02-07fdo#43368 Remove MapiLogon/Logoff calls so simplemail works with WLMAron Budea1-27/+22
Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: shell/source/win32/simplemail/senddoc.cxx Change-Id: I31cac063ffb4afbfde068558ebcf5f66ea34d1a8
2015-01-28remove unused typedefsNoel Grandin1-2/+0
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-23Win SDK 8.1: apparently VersionHelpers.h needs to be included explicitlyMichael Stahl3-0/+9
http://ci.libreoffice.org/job/lo_gerrit_master/495/Gerrit=Gerrit,Platform=Windows/console Change-Id: I0104d448906bd17857b3716856c544e632c1662c
2015-01-20Some more loplugin:cstylecast: shellStephan Bergmann1-2/+2
Change-Id: I8d9846dcfd8b0f686f7321a3e7b7b0d70428723d
2015-01-19try to fix GetVersionEx deprecation warnings from Windows SDK 8.1Michael Stahl3-0/+15
Apparently GetVersionEx() is deprecated now, but the replacement header "versionhelpers.h" does not exist in older SDKs (at least not in 8.0), so try to determine the used SDK version by checking if the Windows 8.1 version constant _WIN32_WINNT_WINBLUE (0x0602) exists. http://msdn.microsoft.com/en-us/library/windows/desktop/dn424972%28v=vs.85%29.aspx Change-Id: Ia9224a8c76823ada7cb294a600046c6a0fc843ad Reviewed-on: https://gerrit.libreoffice.org/14020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin2-8/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-05spelling: attachement -> attachmentNoel Grandin2-6/+6
Change-Id: I1bb1ad04adec864b594d96711f85b8fcdc1d1ef2
2014-12-23fdo#39440 reduce scope of local variablesMichael Weghorn1-2/+1
This addresses some cppcheck warnings. Change-Id: I404f121ee2e5020359a662f54ffe341f466cd1d5 Reviewed-on: https://gerrit.libreoffice.org/13608 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-18shell: Use appropriate OUString functions on string constantsStephan Bergmann3-6/+6
Change-Id: I3b2c0a4200fa953162f40eff49289052962e73d2
2014-12-15shell: Use appropriate OUString functions on string constantsStephan Bergmann1-14/+14
Change-Id: I2647295383085abf8f217693531ef82632eb4c52
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl3-2/+5
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17give all the open-url scripts the same starting permissionsCaolán McNamara2-0/+0
Change-Id: I35fcb2d73accf20baa96b62d99be6d0a3ebb3ba2
2014-11-17drop gnome-open-url binaryCaolán McNamara4-142/+2
we don't really need it anymore, fallback to our own open-url if there is nothing else to take it Change-Id: I7a4e841a53bda30e29d48b9c34d24af085f1b4b5 Related: coverity#706194 Use of untrusted string value
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl2-0/+2
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini1-1/+1
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-11O_RDWR and O_CREAT are defined in fcntl.hRichard PALO1-1/+1
Change-Id: I568ee2c3f103777720f6c39340a5915b10aeebb4 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-11Do as for Linux, borrowed from Gabriele Bulfon <gabriele.bulfon at sonicle.com>Richard PALO1-0/+8
Change-Id: Id15c4b355591678023ae97b1183f8f3a01823084 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2014-11-10that stuff seems to be totally unusedMarkus Mohrhard2-18/+0
Change-Id: Ice7bc99fc5f3d26ced1b7cd5a1dbf29b0e635471