James Hawkins
ba92d2924a
- Use Interlocked* instead of ++/-- in AddRef/Release.
...
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget
486d020c1b
Don't define COBJMACROS in objbase.h.
...
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Francois Gouget
67aa858a31
Assorted spelling fixes.
2004-10-05 18:15:29 +00:00
Martin Fuchs
09878e1c6a
At least print message if we're not returning requested data.
2004-09-23 22:52:03 +00:00
Martin Fuchs
1c8d9b66c3
Store absolute path in .lnk file.
2004-09-22 19:11:27 +00:00
Martin Fuchs
fa417e2869
Implement IShellLinkA::Resolve and IShellLinkW::Resolve.
2004-09-22 04:00:56 +00:00
Alexandre Julliard
314b99c48f
Removed some more uses of the non-standard ICOM_THIS macro.
2004-09-09 20:17:07 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Aric Stewart
383de6efbc
Make sure exePath contains the path since it is used later in the
...
function as well.
2004-08-23 17:55:29 +00:00
Aric Stewart
4133ed17d9
In IPersistFile_Save if the exe file is not found, trust the path we
...
are given and allow creation of the link.
2004-08-20 19:28:33 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Alexandre Julliard
0467ce9fd7
Get rid of the non-standard ICOM_VFIELD macro.
2004-08-12 19:52:49 +00:00
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