Commit Graph

1319 Commits

Author SHA1 Message Date
Michael Jung c820a3c17f Modified KeyStateToDropEffect macro to match native shellview's
behaviour.
2005-11-28 11:17:19 +01:00
Michael Jung a83d55e929 Register the shell view itself as the drop target, not it's parent folder.
Forward drag&drop method calls to the folder currently under the cursor.
2005-11-28 11:00:33 +01:00
Ge van Geldorp 0991687d3c Load shortcut icon by resource id instead of by icon index. 2005-11-28 10:59:06 +01:00
Martin Fuchs 0b17529332 Correctly call HCR_GetFolderAttributes() in SHELL32_GetItemAttributes().
Directly return the correct "My Computer" attributes in
ISF_Desktop_fnGetAttributesOf().
Remove "todo_wine" from the "My Computer" attributes test case.
Add test case for retrieving the file system path from the
CSIDL_PROGRAM_FILES PIDL using SHGetPathFromIDListW().
2005-11-28 10:38:06 +01:00
Michael Jung 2919cec009 Initial stubbed implementation of UnixFolder's IDropTarget interface. 2005-11-28 10:36:04 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Michael Jung 3531178b8b Use the ANSI codepage in IShellFolder::GetDisplayNameOf. 2005-11-23 15:20:33 +01:00
Michael Jung 46018bbc59 Also scan HKEY_CURRENT_USER for shell namespace extensions in Desktop
folder.
Fixed a handle leak in case of failing AddToEnumList call.
2005-11-23 15:17:54 +01:00
Michael Jung b2647030c4 Also scan HKEY_CURRENT_USER for shell namespace extensions in
MyComputer.
2005-11-23 15:17:22 +01:00
Michael Jung ae8a912605 Initialize OLE instead of just COM, in order to enable Drag & Drop. 2005-11-23 15:15:16 +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
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Markus Amsler 671738d5c1 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-10 11:15:22 +00:00
Michael Jung 0acf88651d Initialize COM prior to displaying the SHBrowseForFolder dialog. 2005-11-09 10:30:28 +00:00
Saulius Krasuckas 57707fa0ea Disable code that segfaults on Win98 SE. 2005-11-09 10:30:15 +00:00
Vincent Béron 695e392875 Unicodify systray.c. 2005-11-08 19:57:27 +00:00
Vincent Béron c5789f8cfc Move functions a bit to get rid of a static declaration. 2005-11-08 16:08:17 +00:00
Mike McCormack c189912cbd Fix a problem spotted by Dmitry and another one stopping correctly
formatted lnk files from being generated.
2005-11-08 10:55:15 +00:00
Michael Jung 14d9eec51a More robust code for querying ShellFolder attributes (some
ShellFolders ignore the flag mask in GetAttributesOf).
2005-11-07 20:11:27 +00:00
Michael Jung 329f4edefc - Move target folder initialization to a dedicated function.
- Use this function in BindToObject (should be faster).
- Special handling for FolderShortcut objects in Initialize method.
- Removed a todo_wine from a no longer failing unit test.
2005-11-05 10:44:28 +00:00
Mike McCormack 991e7054cf Partially implement and test the shelllink object's
IShellLinkDataList::CopyDataBlock and GetFlags methods.
2005-11-04 11:40:58 +00:00
Mike McCormack 85b3f37d31 Use advapi32.CommandLineFromMsiDescriptor to get msi component paths. 2005-11-04 11:15:33 +00:00
Michael Jung f5acfaad22 Replaced tabs with spaces. 2005-11-03 13:17:32 +00:00
Michael Jung 92032e6e35 Added some more unit tests for FolderShortcut objects. 2005-11-03 12:04:24 +00:00
Mike McCormack 32d5240178 Invoke shortcuts through IContextMenu, rather than trying to access
them directly.
2005-11-03 11:33:57 +00:00
Alexandre Julliard 73f7847297 Authors: Vitaliy Margolen <wine-patch@kievinfo.com>, Michael Jung <mjung@iss.tu-darmstadt.de>
Set all capability flags supported by the shellfolder, disregarding
the flag mask given to GetAttributesOf.
Unit tests to demonstrate this behaviour.
2005-11-03 09:56:07 +00:00
Mike McCormack 0de1f3e629 Pass the correct verb.
Add a space between extra parameters.
Wait for ShellExecute to complete.
2005-11-03 09:55:21 +00:00
Martin Fuchs 9f9fd4080b Correct WINAPI position for MSVC portability. 2005-11-02 20:51:41 +00:00
Michael Jung b2ff467e42 Added some comments to document unixfs. 2005-11-02 11:43:20 +00:00
Michael Jung 96f7e66cd5 Fixed crash in unixfs shellfolder handling with winamp. 2005-11-01 18:06:18 +00:00
Robert Shearman 055d96b721 Convert SHELL32_BindToChild to Unicode and fix up the callers. 2005-11-01 09:34:03 +00:00
Mike McCormack 9997f84eac Add void to empty declaration list. 2005-10-31 15:43:27 +00:00
Mike McCormack 0857fc2919 Handle MSI advertised shortcuts in the shelllink object. 2005-10-28 16:40:51 +00:00
Mike McCormack f86c4e8c90 Implement IContextMenu::QueryContextMenu and
IContextMenu::InvokeCommand.
2005-10-28 09:39:50 +00:00
Michael Jung 8fca00e030 Implemented UnixFolder's IPersistPropertyBag::Load method. 2005-10-27 12:09:59 +00:00
Michael Jung d699222eae Remove iconcache pre-initialization hack, it's not necessary any
more.
2005-10-27 12:08:44 +00:00
Dmitry Timoshkov 520bec000f Correctly handle flags parameter in SHAddToRecentDocs. 2005-10-27 10:22:38 +00:00
Mike McCormack 56aa241b97 Add the IObjectWithSite interface. 2005-10-27 10:19:16 +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
Mike McCormack 4a28e7cdc9 Use ShellLink_QueryInterface to return the right interface in
IShellLink_Constructor.
2005-10-18 10:36:03 +00:00
Aric Stewart 5a8d76749a MSDN states that the pszDisplayName member of BROWSEINFO is assumed to
be MAX_PATH in length. So when doing the A->W conversion in
BrowseForFolderA do not set that member to be the size of the
incoming string, instead make it MAX_PATH.
2005-10-17 08:54:53 +00:00
James Hawkins 8c523fe36c Test that the FO_COPY action creates output directories if they don't
exist.
2005-10-11 19:26:47 +00:00
Lionel Ulmer c734d93383 - fix first two arguments to 'FindExecutableA' (input strings instead
of pointers)
- fix last argument to 'FindExecutableW' (it's an output string)
2005-10-11 19:26:20 +00:00
Richard Cohen e1f752f704 Don't hardcode "windows" directory.
Make "My Pictures" etc. point to $HOME.
2005-10-10 10:29:53 +00:00
Jonathan Ernst 3eaad00da9 First creation of registry entries missed AppData. 2005-10-07 15:01:32 +00:00
Francois Gouget a1f9a13997 Use "static const" rather than "const static" as gcc -W complains
about the former.
2005-10-06 11:38:45 +00:00
Juan Lang 8630b8ab6e Use wine_get_dos_file_name rather than relying on GetFullPathNameW
hack.
2005-10-04 15:50:35 +00:00
Martin Fuchs 803146d220 Simplify 'sei' structure initialization in ShellExecuteA/W. 2005-10-03 11:02:47 +00:00