Commit Graph

815 Commits

Author SHA1 Message Date
Martin Fuchs 7b48ddcbba Enumerate all "shell\<verb>\command" entries in the registry instead
of searching only for "shell\open\command" entries.
2004-03-04 20:34:38 +00:00
Martin Fuchs 4a2731a781 Fix buffer length usage for RegQueryValueW() calls at various places. 2004-03-03 05:26:30 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Hans Leidekker 82f08b8a37 Export LC_ALL before calling sed. 2004-03-01 23:32:35 +00:00
Huw Davies bc811a2489 Add a missing '\\'. 2004-03-01 23:11:53 +00:00
Martin Fuchs 46fceb19f3 Set error code ERROR_DDE_FAIL if the DDE connection failed in
ShellExecute().
2004-03-01 21:22:25 +00:00
Ove Kaaven 4f6a1d3475 Fixed icon leak. 2004-02-27 21:30:16 +00:00
Alexandre Julliard 0d203bd7ee Sync some of the dll registrations with the contents of
winedefault.reg.
2004-02-27 06:08:32 +00:00
Kevin Koltzau 6eb4b2f694 Fill unused gap to fix lookups past CSIDL_CONNECTIONS. 2004-02-24 00:58:20 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Alexandre Julliard 492ac292b9 Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Dmitry Timoshkov 9fd0183c27 Do not leave not initialized fields in the structure passed to
ShellExecuteExW32.
2004-02-12 20:04:23 +00:00
Dmitry Timoshkov ccc57b323d Translate the returned hInstApp from the unicode worker function. 2004-02-12 20:04:09 +00:00
Alexandre Julliard 487b9f5f00 Moved some more definitions out of undocshell.h into the exported
headers.
2004-02-11 06:21:45 +00:00
Martin Fuchs fa828cd057 - move some PIDL function declarations from undocshell.h into public
header, as they are no longer undocumented
- implement context menu support for Winefile
2004-02-11 04:18:12 +00:00
Jon Griffiths df24e106c5 Tests for StrRetToStrAW. 2004-02-10 02:19:03 +00:00
Jon Griffiths 52cde9b386 StrRetToStrN returns BOOL and shouldn't crash on NULL dest. 2004-02-10 02:18:50 +00:00
Huw Davies 89ef25e218 Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Mike McCormack cb9a22b787 Fix the bounds checking in SHGetPathFromIDListA/W. 2004-02-09 20:56:41 +00:00
Ulrich Czekalla c31d413c3c Set the item mask before calling GetItem. 2004-02-03 00:09:57 +00:00
Ulrich Czekalla d3b9ff2f8a Make SHChangeNotifyRegister be recursive so that will get all
notifications.
2004-02-02 23:09:09 +00:00
Ulrich Czekalla a91b2efc74 Fix SHChangeNotify to send correct lParam and wParam values. 2004-02-02 23:08:54 +00:00
Martin Fuchs 8091a89011 - remove unneccesary ISF_MyComputer_Constructor() declaration
- improve returned error code of ISF_MyComputer_fnParseDisplayName()
- remove wrong comment from ISF_MyComputer_fnGetDisplayNameOf()
2004-01-30 22:54:12 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Francois Gouget e18aa3f614 Add trailing '\n's to ok() calls. 2004-01-26 20:23:25 +00:00
Martin Fuchs 516b50f34c - don't link directly to NTDLL; use MultiByteToWideChar() instead of
RtlCreateUnicodeStringFromAsciiz()
- directly call InitCommonControlsEx()
2004-01-26 20:13:03 +00:00
Martin Fuchs 703676f533 - define additional shell paths for CSIDL_... constants
- remove some superfluous commas
2004-01-26 20:09:10 +00:00
Ge van Geldorp 100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +00:00
Martin Fuchs 70d4604ac9 - ISF_Desktop_fnGetUIObjectOf(): allow context menu on the desktop
without any selected item; preserve return error codes.
- ISF_Desktop_fnGetDisplayNameOf(): don't initialize whole character
  array with zero.
2004-01-23 20:46:09 +00:00
Martin Fuchs 0e35be6074 - IShellFolder_fnParseDisplayName(): return E_INVALIDARG instead of
E_OUTOFMEMORY.
- IShellFolder_fnGetUIObjectOf(): preserve return error codes.
- IShellFolder_fnGetDisplayNameOf(): don't initialize whole character
  array with zero.
2004-01-23 20:45:41 +00:00
Martin Fuchs fc69e4cf1b Improved error handling.
SHELL32_GetItemAttributes(): support for SFGAO_LINK attribute.
2004-01-23 20:43:18 +00:00
Martin Fuchs 0c7f449343 ISF_MyComputer_fnGetDisplayNameOf(): return CLSID paths of virtual
folders rooted under "My Computer" folder, better error handling.
2004-01-23 04:25:26 +00:00
Martin Fuchs 2745769035 Return 'My Compuer' PIDL when calling Desktop->ParseDisplayName() with
empty path string.
2004-01-23 04:15:32 +00:00
Francois Gouget 7494b5b980 Add trailing '\n's to ok() calls.
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Rolf Kalbermatter 7af8b13f11 Implement PathGetShortPathA/W and change its prototype to match the
documentation on MSDN.
2004-01-21 23:51:57 +00:00
Martin Fuchs 9d78f6783f Only return valid file system names from RenderFILENAMEA/W() by using
SHELL_GetPathFromIDListA/W().
2004-01-21 23:50:46 +00:00
Alexandre Julliard aa43d01627 Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <ge@gse.nl>
Reimplementation of SHGetPathFromIDListA/W() using the new helper
functions SHELL_GetPathFromIDListA/W(). The new implementation avoids
using IShellFolder::GetDisplayNameOf(), so that it
- returns the absolute file system path, not relative to the dekstop
- returns FALSE as error code if the path can not converted in a valid
  file system path
- doesn't return virtual CLSID paths
2004-01-21 23:50:26 +00:00
Martin Fuchs 0f3d8bf500 Use full paths instead of only filenames in icon cache to distinguish
between different files with the same name.
2004-01-21 22:15:09 +00:00
Martin Fuchs 74bcd4e43f Implemented SHGetRealIDL(). 2004-01-21 22:12:55 +00:00
Martin Fuchs 423cb99ac5 - SHGetDataFromIDListA/W(): handle drives when retrieving file
attributes
- fixed error handling to avoid GPFs
2004-01-20 23:38:04 +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
Martin Fuchs c378ade958 - fix typo
- return string length from SHELL32_GUIDToStringA()
2004-01-20 01:26:39 +00:00
Martin Fuchs 236c8a2452 - move IShellFolder_fnGetDisplayNameOf() contents into a new function
SHELL_FS_ProcessDisplayFilename() to call it also in
  ISF_Desktop_fnGetDisplayNameOf() and do the same file system
  processing for the desktop level
- handle hidden file extensions in SHELL_FS_ProcessDisplayFilename(),
  that are configured by "NeverShowExt" in the registry
2004-01-19 23:54:55 +00:00
Martin Fuchs 9d1c9604b1 ShellView_CreateList(), SIC_Initialize(): enable transparent icons on
the desktop.
2004-01-18 23:17:32 +00:00
Martin Fuchs 87326ba7c3 IStream_fnWrite: only return write count if the given pointer
parameter is not NULL.
2004-01-18 23:17:13 +00:00
Martin Fuchs 6e775f898a - declare PT_RAS_FOLDER for the "RAS Connections" folder
- handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and
  _ILGetTextPointer() / _ILGetSTextPointer()
2004-01-18 22:08:46 +00:00
Martin Fuchs b35c27626f CreateStreamOnFile(): use flag FILE_SHARE_READ for opening OLE stream
files to enable file sharing.
2004-01-18 22:06:35 +00:00
Alexandre Julliard e025c59051 Fixed HCR_GetExecuteCommandW() behavior with a class name (based on a
patch by Martin Fuchs).
Removed a couple of no longer used functions.
2004-01-16 23:06:25 +00:00