summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)AuthorFilesLines
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann10-99/+99
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-22coverity#708176 Uninitialized scalar fieldCaolán McNamara1-2/+3
Change-Id: I1d7b005c563a17b31a3bf565dd27d43868b3129c
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin1-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
2014-03-07Blind Windows build fixTor Lillqvist1-0/+7
Change-Id: Ib8403f199057bec926fe1da1bac5738046ccb245
2014-03-07SimplifyTor Lillqvist1-4/+1
Change-Id: Id6dc46c8b24441481d950ef0423da800a0f2ed9d
2014-03-07Why would we need GNOME and KDE scripts on OS X?Tor Lillqvist1-4/+2
Also, the senddoc script seems fairly AIX/Linux/X11-specific. Change-Id: I06c417df3256204d2b8b29b3978f89b00c15f6f0
2014-03-03shell: get rid of separate Library_syssh_win.mkMichael Stahl3-37/+21
Change-Id: I12f38bab6ea7207b79994556f0ab6798d2d1d9da
2014-02-27std::exception retrofit sequelStephan Bergmann2-15/+15
Change-Id: I7461c320e98b9a3605db26f4d58200789e1477df
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann14-135/+135
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26KDE: don't throw on TemplatePathVariableMaxim Monastirsky2-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>
2014-02-26Remove visual noise from shellAlexander Wilms26-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>
2014-02-25Resolves: rhbz#1065807 use xdg ~/Templates for default Template locationCaolán McNamara3-18/+47
(if it exists) Change-Id: I98fc9fd54d1f56c8bed24ce4d2ebf53756ded2cc
2014-02-25Revert partially "Replace deprecated std::auto_ptr with boost::scoped_ptr"Takeshi Abe1-2/+2
This reverts partially commit 4a9347fa320d892b60fd03082925f63a1d69cfb9. Change-Id: Ibbc626f8d30de040fe9e809b44d5ffc9513720fb
2014-02-25Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe1-2/+2
Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
2014-02-23Remove unneccessary commentsAlexander Wilms37-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>
2014-02-16cppcheck: redundantAssignmentJulien Nabet1-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>
2014-02-10Don't call pclose(NULL)Stephan Bergmann1-1/+2
Change-Id: I6540ec2b900e82745d5e661dfa920f85db6c0ff2
2014-02-10Properly encode cmd line for popenStephan Bergmann1-25/+65
Change-Id: I1f7799920b6732a6cd128143dfa7ce282bad25c6
2014-02-10instdir/program/senddoc lacks executable mode bitsStephan Bergmann1-0/+0
(but appears OK in "true" installation sets) Change-Id: I1c044409b97bd3121509a2185dfac89298312954
2013-12-20Spelling correction: s/retrive/retrieve/Tor Lillqvist3-6/+6
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-20typo fixesAndras Timar1-1/+1
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann12-24/+24
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-16Clean-up uno/lbnames.hStephan Bergmann4-4/+0
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-12Looks like the Windows tag is still LANG_ORIYAStephan Bergmann1-1/+1
Change-Id: I16e0be513b0b7ecbc54c0e2cb8974e801c13adbe
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara1-1/+1
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin2-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
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold10-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>
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin3-4/+4
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-3/+0
Change-Id: I5c14c2c305aa6809b4a1e164b8bdc4eeb877abbd
2013-11-14-Werror,-Wunused-exception-parameterStephan Bergmann1-1/+1
Change-Id: Ia5b7f7629a07b84b4e8042aa7f8778faa4a11b50
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin1-14/+14
Convert code like: 0 == aStr.compareToAscii("XXX") to aStr.equalsAscii("XXX") which is both clearer and faster. Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-08remove unnecessary use of OUString constructor in SHELL moduleNoel Grandin6-14/+14
Change-Id: Ibdb750dc8e0f4cd0f186d5801c0a269edd939547
2013-11-07fdo#63020: Replace ::comphelper::stl_begin()...Marcos Paulo de Souza1-3/+1
And use some templates inside include/com/sun/star/uno/Sequence.hxx Change-Id: I48875fa1517751fc4cb0cf2b6c08b88975a29b47 Reviewed-on: https://gerrit.libreoffice.org/6599 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-06include <stack>Takeshi Abe2-0/+2
Change-Id: Iedaacd9981a6ca186ab5e1f9715ed4fcf4ff0cb7
2013-11-06Drop unnecessary #includesTakeshi Abe1-1/+0
Change-Id: I9659279233067a8946a9e54be2f22439854a961e
2013-11-05windows: remove _CRTIMP and _NTSDK definitionsThomas Arnhold9-12/+0
Those have no effects with current windows SDKs. Change-Id: I6fb2f8045fe1fc0ed4beef51dde487b7a7dfdc28
2013-11-05fixincludeguards.sh: shellThomas Arnhold43-89/+89
Change-Id: I987c54b15c271fc80b7efd25933e13950f974423
2013-11-04fdo 70998: Termchange: Graphics->ImageSamuel Mehrbrodt1-1/+1
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38 Reviewed-on: https://gerrit.libreoffice.org/6524 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-31shell: mapix.h is not needed at allThomas Arnhold1-5/+0
Change-Id: I1a55a4c260b781f7427bf149d32f1cae6149fe9a
2013-10-29gbuild: stop using stuff in OUTDIR/unittest/installMichael Stahl1-1/+1
Change-Id: Icdfe1282d5e636a034ee7d1b16b9a113a9b70492
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl4-8/+0
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28shell: just define _WIN32_IE and drop the undefThomas Arnhold8-16/+0
Because the compiler warns either way. cl : Command line warning D9025 : overriding ´/D_WIN32_IE=0x0500´ with ´/U_WIN32_IE´ After this change the message what's overwritten gets more clear to the reader. Change-Id: I773e7499537aff879f857b9b50ec8afc4005130b
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza7-98/+14
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b Reviewed-on: https://gerrit.libreoffice.org/6406 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-17fdo#69462 Properly escape URL in Mozilla -remote openURL(...) commandStephan Bergmann1-1/+3
Verbatim ")" or "," in the URL will apparently cause problems when Mozilla- derived browsers parse the openURL(...) command (see <http://www-archive.mozilla.org/unix/remote.html> "remote control of unix mozilla"), so percent-escape all "(", ")", and "," in the URL. Also, remove the space before "new-window" as "Commands should /not/ have spaces in them" (see link above). Change-Id: I4b0f3f6a19c94ed9346bb6c55e77d6eae82baba2
2013-10-17Quoting clean-upStephan Bergmann1-2/+2
cosmetics only; even the unquoted echo $1 would not have caused any problems Change-Id: Iabae872fe6232dc1cd627b736f0c4fc5a8611037
2013-10-17Remove unused run_browser()Stephan Bergmann1-16/+0
...unused right from the start in 3d5468a8590ff9b36ac16845782af118d07b7786 "INTEGRATION: CWS defaultbrowser: #i27120# new unix shell execute service implementation." Change-Id: I18ae3c4c372163787e9bd4f8c946e15128a9deeb
2013-10-14fdo#56007 - Read more bytes on Zip read (for thumbnails)Mathieu Parent1-26/+38
Change-Id: Ia8c6caa44ed8019a8139beb5a855f0f28805544d
2013-10-11cppcheck: reduce scopeJulien Nabet1-4/+2
Change-Id: Ie33ae5c3bd1213bc4032e66d0cd7a3faefc7dfcb
2013-10-11fdo#56007 - fast zip directory find to accelerate Windows Explorer thumbnail.Michael Meeks1-11/+40
Change-Id: Id9436def56f40d2bb54dea35bea916bd99964653
2013-10-04fdo#67534: try to avoid file locking in Explorer shell extensionsTor Lillqvist1-1/+2
Change-Id: I287395f6c25b1bfb9b9482166ae6f34d9af8f455