summaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2014-02-10instdir/program/senddoc lacks executable mode bitsStephan Bergmann
(but appears OK in "true" installation sets) Change-Id: I1c044409b97bd3121509a2185dfac89298312954 (cherry picked from commit 46e63b70d99eab31758afd3abf29c2237b9248de) Reviewed-on: https://gerrit.libreoffice.org/7967 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold
* 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 Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: I5c14c2c305aa6809b4a1e164b8bdc4eeb877abbd
2013-11-14-Werror,-Wunused-exception-parameterStephan Bergmann
Change-Id: Ia5b7f7629a07b84b4e8042aa7f8778faa4a11b50
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin
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 Grandin
Change-Id: Ibdb750dc8e0f4cd0f186d5801c0a269edd939547
2013-11-07fdo#63020: Replace ::comphelper::stl_begin()...Marcos Paulo de Souza
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 Abe
Change-Id: Iedaacd9981a6ca186ab5e1f9715ed4fcf4ff0cb7
2013-11-06Drop unnecessary #includesTakeshi Abe
Change-Id: I9659279233067a8946a9e54be2f22439854a961e
2013-11-05windows: remove _CRTIMP and _NTSDK definitionsThomas Arnhold
Those have no effects with current windows SDKs. Change-Id: I6fb2f8045fe1fc0ed4beef51dde487b7a7dfdc28
2013-11-05fixincludeguards.sh: shellThomas Arnhold
Change-Id: I987c54b15c271fc80b7efd25933e13950f974423
2013-11-04fdo 70998: Termchange: Graphics->ImageSamuel Mehrbrodt
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 Arnhold
Change-Id: I1a55a4c260b781f7427bf149d32f1cae6149fe9a
2013-10-29gbuild: stop using stuff in OUTDIR/unittest/installMichael Stahl
Change-Id: Icdfe1282d5e636a034ee7d1b16b9a113a9b70492
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-28shell: just define _WIN32_IE and drop the undefThomas Arnhold
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 Souza
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 Bergmann
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 Bergmann
cosmetics only; even the unquoted echo $1 would not have caused any problems Change-Id: Iabae872fe6232dc1cd627b736f0c4fc5a8611037
2013-10-17Remove unused run_browser()Stephan Bergmann
...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 Parent
Change-Id: Ia8c6caa44ed8019a8139beb5a855f0f28805544d
2013-10-11cppcheck: reduce scopeJulien Nabet
Change-Id: Ie33ae5c3bd1213bc4032e66d0cd7a3faefc7dfcb
2013-10-11fdo#56007 - fast zip directory find to accelerate Windows Explorer thumbnail.Michael Meeks
Change-Id: Id9436def56f40d2bb54dea35bea916bd99964653
2013-10-04fdo#67534: try to avoid file locking in Explorer shell extensionsTor Lillqvist
Change-Id: I287395f6c25b1bfb9b9482166ae6f34d9af8f455
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist
Had been totaly broken by the recent changes. (Which is fine, it is just an experimental hack anyway, I am not sure whether it will ever be used in anger. Just a pet peeve of mine, I dislike seeing libraries, configuration files, resources etc mixed together in one "program" folder, especially on OS X, where the convention is to have app-specific dylibs and frameworks in "Frameworks", and resource files in "Resources". But this is not any requirement as such; there are apps in the Mac App Store that blatantly "break" this convention.) Basically, replace uses of gb_PROGRAMDIRNAME and gb_Package_PROGRAMDIRNAME with more specific LIBO_FOO_FOLDER, which for normal builds all expand to the same "program" anyway. Change-Id: I16c2b3351caa00e251e229aafbccb8346042d3c1
2013-09-23Try to fix cross-compilationTor Lillqvist
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-19Sprinkle more boost_headers loveTor Lillqvist
Fix compilation errors when not using system boost. Might be more. It's sad that one has to micro-manage boost use like this. Change-Id: I3541789530fbdb0fb03e2b355144e63f8b031097
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
2013-08-30ENABLE_LOCKDOWN Harmonize ENABLE_* variable to TRUE/<nothing>Norbert Thiebaud
Change-Id: I47b2d7a59bbf1f5a96523d451c8b6f4fa12c8e90
2013-08-30eliminated yet another language-country parserEike Rathke
Change-Id: I2aebe058a6d60431b7073aca641910dc365ead09
2013-08-30and another one for fdo#68740Eike Rathke
Change-Id: If07cffd30fe5fdfbe8fcb749b7682d1b8a3dcbb8
2013-08-30attempt to roughly fix fdo#68740Eike Rathke
Actually that map wants a resolved fallback locale, not just a language to ID mapping, which light fallback was a side effect of MsLangId::convertIsoNamesToLanguage() and eliminated with the latest changes to LanguageTag conversion. Change-Id: I32f632c6b198383dd3eda8538ccb801c9275baca
2013-08-21valueOf is deprecatedLuboš Luňák
Change-Id: I89b06a077eaceee7d06c7372dd596840e979e697
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-07-18Test also the IStream partFridrich Štrba
Change-Id: If36de8daffb547b07d1417863ccc1a7904b379a5
2013-07-18Try to make the ziptest a bit more genericFridrich Štrba
Change-Id: I2a380ebcc2b32fbb8e1c0ae6b83b5f34291e5d1d
2013-07-18Trying to resurect the zip testFridrich Štrba
Change-Id: Ic022f25a4f8d69b8d60bea7974900db5223e1251
2013-07-17remove last users of gb_Executable_add_noexception_objectBjoern Michaelsen
Change-Id: Iddee238aa800ecfee8f97a7132b38b6446e0b2a4 Reviewed-on: https://gerrit.libreoffice.org/4953 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-16bnc#829017 fix issue with negative seeks in win32 shell extensionFridrich Štrba
Change-Id: Ia8072f78ad43281e406377922f50f8de53194f1b
2013-07-16gbuild: consolidate ULF copypaste in gb_CustomTarget_ulfex_ruleMichael Stahl
Change-Id: I0c5b68f6bc81c7c1c88be2cde42fc06949fff8e7
2013-07-01remove obsolete CDE integration, and make TDE launcher conditional.Pader Rezso
Change-Id: I5e830cd3f44627d789d789748e1b0f0ff5590d91
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-24fdo#43460 shell,vcl,xmlreader: use isEmpty()Jelle van der Waa
Change-Id: Ie3d16da6c246b79c4c304b21476f84b2788f0d6e Reviewed-on: https://gerrit.libreoffice.org/4444 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-07Resolves: #i93995# Allow setting Body of a simple mail messageAriel Constenla-Haile
(cherry picked from commit 093977b1171fae4eaef13a6d32929451fc64ae66) Conflicts: offapi/com/sun/star/system/makefile.mk shell/source/cmdmail/cmdmailmsg.cxx shell/source/cmdmail/cmdmailmsg.hxx shell/source/win32/simplemail/smplmailclient.cxx shell/source/win32/simplemail/smplmailclient.hxx shell/source/win32/simplemail/smplmailmsg.hxx shell/source/win32/simplemail/smplmailsuppl.hxx Change-Id: Ief1aefee32a6750dfed96476d2968ce76b038440
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-05-10More gb_PROGRAMDIRNAME clean upStephan Bergmann
Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
2013-05-08zlib: remove ExternalPackage_zlibMichael Stahl
Change-Id: I5bce88b2044279a6563fd68c35f9c1ac824c8850