Commit Graph

68 Commits

Author SHA1 Message Date
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Martin Fuchs 1ab301d7be - eliminate MSVC type conversion warning
- IShellLink::GetIconLocation(): get icons for shell links if not
  already set
2004-04-12 23:12:39 +00:00
Alexandre Julliard bb133bd596 Fixed a couple of header files ordering issues. 2004-04-07 03:59:41 +00:00
Martin Fuchs b44f8253cf - fix dirty flag on shelllink loading and saving
- update absolute path when changing relative path
2004-04-05 20:12:57 +00:00
Martin Fuchs 906be1dcb0 - Fix handling of %2, %3, ... and lower case format characters in
SHELL_ArgifyW().
- Move "%I" expansion from ShellExecuteEx() into common function
  SHELL_ArgifyW().
- Pass buffer length to SHELL_FindExecutable().
- FIXME comment for len paramater in SHELL_ArgifyW().

Ge van Geldorp <ge@gse.nl>
- Add double quotation marks unless we already have them (e.g.: "%1"
  %* for exefile).
- Remove unnecessary double quotation marks and command line arguments.
2004-03-26 02:29:12 +00:00
Martin Fuchs df23d95476 Implementation of IPersistFile::IsDirty(). 2004-03-25 23:36:45 +00:00
Martin Fuchs 075d6a1238 Fix for recent shelllink patch, which removed the important part of
returning the result pointer from IShellLink_ConstructFromFile().
2004-03-22 22:58:37 +00:00
Mike McCormack b0b467ab95 Update path from relative path on loading. 2004-03-22 21:12:39 +00:00
Martin Fuchs eae9444bc8 - fix typos in shelllink.c header comment and a struct comment
- corrected SCF_UNICODE constant and use the value of SCF_UNC instead
- implemented IShellLink_ConstructFromFile() to read shell links from
  files
- call IShellLink_ConstructFromFile() in ISF_..._fnGetUIObjectOf()
  when being queried for IShellLink interface
2004-01-20 01:37:24 +00:00
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Dimitrie O. Paun b0f4a564a1 Move useful information out of documentation/shell32. 2003-10-09 19:47:08 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard d937dc2963 Implemented shtypes.idl and shobjidl.idl and removed a few more
wine/obj_* headers.
2003-09-04 19:43:39 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Mike McCormack 88090b47a6 Remove code that starts wineshelllink, instead create a windows
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
2003-05-21 18:50:53 +00:00
Robert Lunnon 2eab8afaa9 Eliminate segfault due to NULL This->sIcoPath. 2003-05-06 18:36:54 +00:00
Alexandre Julliard c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +00:00
Alexandre Julliard 2ee8b5bb13 Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Marcus Meissner 095a5f4d40 Also silence IShellLinkA_fnSetShowCmd. 2002-11-15 00:02:36 +00:00
Marcus Meissner 6f21fe0044 Silence IShellLink::SetShowCmd for the case we support. 2002-11-12 23:25:33 +00:00
Marcus Meissner 93e366e6ba Escape \ in path and arguments.
Use UNIX style work_dir, not windows dir.
2002-10-31 23:35:20 +00:00
Dusan Lacko a9568dd08b Fix extraction of icons from ICO files. 2002-08-20 00:25:03 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Mike McCormack 03bbb46442 Don't try reading a PIDL in IPersistStream->Load if its size is 0.
Check the number of bytes read was correct.
Small reorganization of error handling.
2002-08-16 23:27:07 +00:00
Marcus Meissner 786d24903b Check for mkstemp, added a port implementation if it is not
present. Use mkstemp() in various places needing tmp files.
2002-07-29 23:55:39 +00:00
Juergen Schmied 1e5ec8893d - Cleaned up the implementation of shell folders and put them into
separate files.
- Fixed some memory leaks.
- Some more fixes.
2002-07-24 01:56:03 +00:00
Juergen Schmied 23b808791e - changed STRRET definition
- small changes for seperation of shell32 from ole32
- debughelper for printing interface names (shell internal)
- changed shell memory allocation to use IMalloc of ole32 when this
  library is already loaded
- fallback IMalloc internally in shell
- unified constructor syntax for several objects  created by DllGetClassObject
- rewrote instance creation for com objects
- made the desktop folder parsing paths like ::{CLSID}
- Implemented IPersistFolder3 partially
2002-07-02 02:05:17 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Dusan Lacko 7647c8e9df If we can't extract the icon, defer link creation to runonce. 2002-04-08 23:49:11 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Dusan Lacko 1a74b2abd6 Fix ExtractFromEXEDLL for nIndex != 0.
Prefer 8bit icons.
2001-08-10 22:29:48 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Marcus Meissner 3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
James Abbatiello 0da6d5e614 Implement IShellLink<A|W>_fnGetWorkingDirectory,
IShellLink<A|W>_fnGetArguments, IShellLink<A|W>_fnGetIconLocation.
2001-02-12 01:17:39 +00:00
Jeremy White a6166e174e Revised shell link process to treat empty (e.g. "") strings
identically to NULL strings. Makes many more installers take useful
action. Added many trace messages.
2001-01-17 01:48:52 +00:00
Alexandre Julliard 3a0f8b7953 Finished separation of shell32 and wsock32. 2000-12-01 20:48:41 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Patrik Stridvall 024d6c50d6 Fixed some issues found by winapi_check. 2000-11-25 03:09:30 +00:00
Alexandre Julliard 47f5f0006a Removed leftover debug output. 2000-11-04 02:57:51 +00:00
Alexandre Julliard e2b4efbd02 Create Gnome/KDE desktop and menu entries from IShellLink
interface. Based on the work of James Thomson and Dusan Lacko.
2000-11-02 20:22:07 +00:00
Alexandre Julliard 74af67ef42 Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h. 2000-09-26 00:00:55 +00:00
Alexandre Julliard 08aad6ac25 Fixed IShellLinkA/W definitions. 2000-08-03 04:21:23 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Francois Gouget 01c9ac401f Generalized the use of the new ICOM_VFIELD and ICOM_VTBL macros. 1999-10-31 01:59:23 +00:00
Juergen Schmied eac255cd31 More use of rc files for strings and menus, fixes. First internal
icons.
1999-08-15 14:31:36 +00:00
Patrik Stridvall 478eee17be Eliminated warnings. 1999-07-31 13:13:23 +00:00
Juergen Schmied 174092d9fe Implemented access to lnk's to a IStream interface. 1999-07-25 12:21:43 +00:00