Commit Graph

126 Commits

Author SHA1 Message Date
Andrew Talbot c333402b7f shell32: Constify some variables. 2007-09-11 12:37:48 +02:00
Andrew Talbot 55355d2def shell32: Replace inline static with static inline. 2007-03-23 12:29:23 +01:00
Mikołaj Zalewski 33ee219ce3 shell32: Allow overwriting files in SHFileOperation(FO_COPY) (with confirmation dialogs). 2007-02-12 12:38:57 +01:00
Mike McCormack e5d9b2f189 shell32: Use kernel functions in preference to libwine ones. 2006-08-24 12:42:42 +02:00
Mikołaj Zalewski 289e469e7c shell32: Add a Trash virtual folder. 2006-08-09 12:47:39 +02:00
Mikołaj Zalewski 034c1c4f18 shell32: Call the trashing code from SHFileOperationW. 2006-07-31 12:55:41 +02:00
Mikołaj Zalewski ca7de052b2 shell32: Add trashing confirmations. 2006-07-31 12:38:54 +02:00
Mikołaj Zalewski ea0a102d55 shell32: Show a confirmation before deleting files with syscalls. 2006-07-07 17:28:10 +02:00
Mikołaj Zalewski e5b9a79cbc shell32: Pass the correct parent hwnd to confirmation dialogs. 2006-07-03 11:35:14 +02:00
Francois Gouget 9607151e38 shell32: Fix computation of default verb.
Compute the default verb as documented on MSDN instead of blindly
assuming it is 'open'. This fixes the WordViewer association in some
cases.
2006-06-26 13:05:12 +02:00
Mikołaj Zalewski 529346e8f4 shell32: Use SHELL_ConfirmDialogW when deleting multiple files. 2006-06-20 11:06:02 +02:00
Mikołaj Zalewski b84f3093d5 shell32: Avoid Unicode->ANSI conversion when deleting a file. 2006-06-02 20:43:08 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman f689e3fca4 shell32: Move systray handling to the explorer process. 2006-02-22 16:33:33 +01:00
Michael Jung db7a3a352e shell32: Support for CLSID_ShellFSFolder in unixfs. 2006-01-17 15:58:52 +01:00
Martin Fuchs 7114f8c3bd shell32: Fix folder icon index when read from registry.
Change "DWORD dwNr" into "int icon_idx" at several places.
2006-01-11 12:33:24 +01:00
Michael Jung c820a3c17f Modified KeyStateToDropEffect macro to match native shellview's
behaviour.
2005-11-28 11:17:19 +01:00
Martin Fuchs d3521da667 SHGetFileInfoW(): handle SHGFI_LINKOVERLAY and SHGFI_OVERLAYINDEX.
SHMapPIDLToSystemImageListIndex(): determine overlay flag for
PidlToSicIndex() and return -1 in error cases.
Read shell overlay icon settings from registry to allow icon
overrides.
2005-11-21 13:35:06 +00:00
Dmitry Timoshkov 84d4fc5e03 Unconditionally fall back to ANSI DDE APIs in ShellExecute if current
emulated Windows version is Win9x, Excel refuses to communicate with a
unicode client in win9x mode.
2005-11-11 10:54:07 +00:00
Dmitry Timoshkov 8cd388f398 Use appropriate DDE APIs (ANSI or unicode) for ShellExecuteA/W, Excel
2000 depends on that.
2005-10-18 14:11:17 +00:00
Kevin Koltzau 95a173a52b Fix warnings in 64bit. 2005-09-02 11:32:17 +00:00
Michael Jung b0b4777422 Implemented 'My Documents' folder. 2005-08-26 10:05:34 +00:00
Michael Jung b6d97d5654 Added stubbed implementation of IPersistPropertyBag interface.
Register unixfs as CLSID_FolderShortcut.
2005-08-19 13:58:52 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Mike McCormack e28c014a84 -Wpointer-sign fixes. 2005-07-03 12:03:35 +00:00
Michael Jung 9393580ab5 If the unixfs is rooted at the Desktop folder, forward
ParseDisplayName calls to it instead of to MyComputer.
2005-06-29 11:17:33 +00:00
Michael Jung 11cadc368a Support for shellfolder's CallForAttributes registry value. 2005-06-25 17:55:53 +00:00
Mike McCormack 64a3b82831 SHCreateStreamOnFileW is implemented in shlwapi, so we don't need
another implementation in shell32.
2005-06-16 09:46:17 +00:00
Mike McCormack b64186ad22 Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-07 20:30:30 +00:00
Michael Jung 3c3495ea51 Add a new CLSID for UnixDosFolder, which is identical to UnixFolder,
but does unix <-> dos path conversion for GetDisplayNameOf and
ParseDisplayName.
2005-05-24 11:45:47 +00:00
Ge van Geldorp 40cb98269b Overlay icons for .lnk files with a small arrow in the lower left
corner.
2005-05-13 17:48:33 +00:00
Mike McCormack b7cc006c33 Remove an unused function. 2005-03-19 17:08:52 +00:00
Martin Fuchs 824353d01b - switch to correct shell desktop context menu
- launch desk.cpl when activating the desktop context menu entry
  "properties"
- don't send WM_COMMAND if we didn't get a shell view window
2005-03-14 10:49:03 +00:00
Michael Jung 015d2a4dbe Beginning of a shell namespace extension to browse the unix
filesystem.
2005-03-09 16:41:17 +00:00
Juan Lang 9cbc42bbae - the correct registry location to override is User Shell Folders, not
Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
2004-10-21 19:59:46 +00:00
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Marcus Meissner ab7af13705 Fixed double applet = applet = assignment.
Removed sic_hdpa only used in 1 C file as static var.
Make VT_Shell_IMalloc32 and related variables static.
2004-07-12 19:50:56 +00:00
Robert Shearman 77b7f95716 Make ole32 a delay-load import of shell32. 2004-06-18 00:23:38 +00:00
Francois Gouget 1117e69c14 SHELL_ExecuteW() passes a Unicode environment to CreateProcessW() so
it must specify the CREATE_UNICODE_ENVIRONMENT flag. Also the
SHELL_ExecuteW32() functions will always be called with a Unicode
environment so adjust their prototype accordingly.
2004-06-15 18:27:50 +00:00
Maxime Bellengé b7852de12f Add the IAutoComplete and IAutoComplete2 implementation (but methods
stubbed for now).
2004-04-19 19:26:57 +00:00
Juan Lang c00fbafbbf Move control panel applet enumeration to cpanelfolder.c. 2004-04-08 04:37:43 +00:00
Martin Fuchs dd46d6df9e Implementation of the control panel folder in shell namespace. 2004-03-27 01:42:22 +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
Mike McCormack 7b597d4c20 Unicode-ify the icon cache and SHGetFileInfo. 2004-03-22 20:43:07 +00:00
Martin Fuchs a06f76d6f9 Expand environment strings in command, parameter and directory strings
of ShellExecuteExW32().
2004-03-18 04:04:29 +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 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 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 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 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