summaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* the BSD family also uses gioBaptiste Daroussin2014-06-111-1/+1
| | | | | | | Change-Id: I75fb934e52beb2ab752df4c969aa2e10d4f5966e Reviewed-on: https://gerrit.libreoffice.org/9733 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-092-5/+1
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* fixincludeguards: fix include guardsThomas Arnhold2014-06-062-6/+10
| | | | | | | Change-Id: Ie6e8d4272b0b1d0d2ce93bcbc2e818a9eac1a56b Reviewed-on: https://gerrit.libreoffice.org/9629 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* fdo#68849: Add header guards to all include filesJens Carl2014-06-021-0/+5
| | | | | | | | | | added header guards for directories basebmp/, chart2/, cppuhelper/, include/test/, io/test/, sax/test, shell/, writerfilter/, and xmlhelp/ Change-Id: I0e29a9b75c26d71f58aa98986b52f6d3b46015a6 Reviewed-on: https://gerrit.libreoffice.org/9615 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove more unnecesary OUString constructor useNoel Grandin2014-05-293-20/+18
| | | | | | when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
* remove unnecessary NULL parameter passed to UNO ExceptionNoel Grandin2014-05-292-4/+4
| | | | | | .. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
* cppcheck: Variable 'i' is assigned a value that is never usedThomas Arnhold2014-05-221-2/+0
| | | | Change-Id: I02e0f878e743576ebb3c80e3120fa1dc54e379ed
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-152-6/+6
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Related fdo#60338: Do not use umask(3) in a MT programStephan Bergmann2014-05-131-7/+6
| | | | Change-Id: Ie515201e44ad58faf623a04981e891c0b3f4a19d
* This code is not linked against salStephan Bergmann2014-05-122-14/+0
| | | | Change-Id: I7f44cd54732a60e9655f0bbb90615f3d3988ce58
* fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IFMichaël Lefèvre2014-05-122-4/+8
| | | | | Change-Id: Ia89a2dce799c7ba90bcd19919195bfd2c7a4a180 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* remove globally disabled warnings from source filesThomas Arnhold2014-05-101-3/+0
| | | | Change-Id: Ic7b092a24b4d1e48ca11e53b507da5c2bfdeabe8
* remove presys.h and postsys.hThomas Arnhold2014-05-091-9/+2
| | | | | | | | | Both files are nearly identical to prewin.h and postwin.h Change-Id: I1f45e46dfcc00043a9e2df82e0070cd1b976c4af Reviewed-on: https://gerrit.libreoffice.org/9294 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* shell: sal_Bool->boolNoel Grandin2014-04-302-58/+58
| | | | Change-Id: I4313819fa40885a3cfa4a137888ae457d8d839a8
* remove unnecessary scope qualifier from sal_Bool usesNoel Grandin2014-04-032-3/+3
| | | | | | i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
* Use boost::noncopyableStephan Bergmann2014-04-032-4/+5
| | | | Change-Id: I1cd2ad1284f2fb9f6847cdb9175a5872a66726cd
* Explicitly mark overriding destructors as "virtual," Mac OS X reduxStephan Bergmann2014-04-011-1/+1
| | | | Change-Id: Ib7ab02bc3cdadbdfe0e0787560d1dd562eb85be9
* Explicitly mark overriding destructors as "virtual"Stephan Bergmann2014-04-011-1/+1
| | | | | | | | It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
* loplugin:saloverrideStephan Bergmann2014-03-301-10/+10
| | | | Change-Id: I028d6da250bad64cca2d85c8bbf4a3b5a1300f1b
* coverity#982766 Dereference null return valueCaolán McNamara2014-03-281-4/+8
| | | | Change-Id: Ic9efce80ea2c2489e3ef070ac4c6106c811e9889
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-2610-99/+99
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* coverity#708176 Uninitialized scalar fieldCaolán McNamara2014-03-221-2/+3
| | | | Change-Id: I1d7b005c563a17b31a3bf565dd27d43868b3129c
* Find places where OUString and OString are passed by value.Noel Grandin2014-03-181-1/+1
| | | | | | | | | | It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
* Blind Windows build fixTor Lillqvist2014-03-071-0/+7
| | | | Change-Id: Ib8403f199057bec926fe1da1bac5738046ccb245
* SimplifyTor Lillqvist2014-03-071-4/+1
| | | | Change-Id: Id6dc46c8b24441481d950ef0423da800a0f2ed9d
* Why would we need GNOME and KDE scripts on OS X?Tor Lillqvist2014-03-071-4/+2
| | | | | | Also, the senddoc script seems fairly AIX/Linux/X11-specific. Change-Id: I06c417df3256204d2b8b29b3978f89b00c15f6f0
* shell: get rid of separate Library_syssh_win.mkMichael Stahl2014-03-033-37/+21
| | | | Change-Id: I12f38bab6ea7207b79994556f0ab6798d2d1d9da
* std::exception retrofit sequelStephan Bergmann2014-02-272-15/+15
| | | | Change-Id: I7461c320e98b9a3605db26f4d58200789e1477df
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2614-135/+135
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* KDE: don't throw on TemplatePathVariableMaxim Monastirsky2014-02-262-2/+2
| | | | | | | | | | | | This is required after commit 838b77f5f3d6d8fd98891e99a23ff78a6a357cb2. Actual functionality is still missing. Change-Id: Ib94d8a982609de730d9c61bf7bf9886093c51f5b Reviewed-on: https://gerrit.libreoffice.org/8367 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove visual noise from shellAlexander Wilms2014-02-2626-140/+140
| | | | | | | Change-Id: I1857fd7a9aeda38cb8ef2a0eda7783203b7658ed Reviewed-on: https://gerrit.libreoffice.org/8311 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Resolves: rhbz#1065807 use xdg ~/Templates for default Template locationCaolán McNamara2014-02-253-18/+47
| | | | | | (if it exists) Change-Id: I98fc9fd54d1f56c8bed24ce4d2ebf53756ded2cc
* Revert partially "Replace deprecated std::auto_ptr with boost::scoped_ptr"Takeshi Abe2014-02-251-2/+2
| | | | | | This reverts partially commit 4a9347fa320d892b60fd03082925f63a1d69cfb9. Change-Id: Ibbc626f8d30de040fe9e809b44d5ffc9513720fb
* Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe2014-02-251-2/+2
| | | | Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
* Remove unneccessary commentsAlexander Wilms2014-02-2337-358/+358
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* cppcheck: redundantAssignmentJulien Nabet2014-02-161-1/+1
| | | | | | | | | Let's not forget the result of RegDeleteValueA call Change-Id: I9458040bc3a8960ab740ee3c5211eaa9ba24b1aa Reviewed-on: https://gerrit.libreoffice.org/7772 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
* Don't call pclose(NULL)Stephan Bergmann2014-02-101-1/+2
| | | | Change-Id: I6540ec2b900e82745d5e661dfa920f85db6c0ff2
* Properly encode cmd line for popenStephan Bergmann2014-02-101-25/+65
| | | | Change-Id: I1f7799920b6732a6cd128143dfa7ce282bad25c6
* instdir/program/senddoc lacks executable mode bitsStephan Bergmann2014-02-101-0/+0
| | | | | | (but appears OK in "true" installation sets) Change-Id: I1c044409b97bd3121509a2185dfac89298312954
* Spelling correction: s/retrive/retrieve/Tor Lillqvist2013-12-203-6/+6
| | | | Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
* typo fixesAndras Timar2013-12-201-1/+1
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-1712-24/+24
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* Clean-up uno/lbnames.hStephan Bergmann2013-12-164-4/+0
| | | | Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
* Looks like the Windows tag is still LANG_ORIYAStephan Bergmann2013-12-121-1/+1
| | | | Change-Id: I16e0be513b0b7ecbc54c0e2cb8974e801c13adbe
* Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara2013-12-111-1/+1
| | | | | | | Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
* remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin2013-11-222-40/+20
| | | | | | | A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
* Windows: Require at least Windows XP SP2Thomas Arnhold2013-11-2010-39/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-193-4/+4
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* -Werror,-Wunused-member-functionStephan Bergmann2013-11-141-3/+0
| | | | Change-Id: I5c14c2c305aa6809b4a1e164b8bdc4eeb877abbd
* -Werror,-Wunused-exception-parameterStephan Bergmann2013-11-141-1/+1
| | | | Change-Id: Ia5b7f7629a07b84b4e8042aa7f8778faa4a11b50