Commit Graph

78 Commits

Author SHA1 Message Date
Nikolay Sivov
bf0c67c322 shell32: Use proper macros when calling COM methods. 2012-07-30 17:13:33 +02:00
Nikolay Sivov
72a7c34109 shell32: Avoid casts when creating item menu. 2012-01-11 17:47:30 +01:00
Nikolay Sivov
3efda60ef6 shell32: Avoid pointer casts when background menu is created. 2012-01-11 17:47:30 +01:00
Nikolay Sivov
e9fa059976 shell32: Merge ShellView menu implementations into a single file. 2012-01-10 18:29:04 +01:00
Michael Stefaniuc
28d8819b63 shell32: Avoid an unsafe iface to object cast in AddToEnumList(). 2011-10-10 13:44:39 +02:00
Michael Stefaniuc
bd407b700e shell32: Return the IEnumIDList object on its creation. 2011-10-10 13:44:33 +02:00
Michael Stefaniuc
61c8da18ef shell32: Merge enumidlist.h into the main header file. 2011-10-10 13:43:22 +02:00
Michael Stefaniuc
a92531487b shell32: Use ifaces instead of vtbl pointers in IDesktopFolderImpl. 2010-12-05 12:26:37 +01:00
David Hedberg
fb88e06e79 shell32: Implement IPersistFolder2 for the desktop folder. 2010-07-20 14:40:32 +02:00
Andrew Eikum
a77fb7f550 shell32: UNIX paths should be parsed by unixfs.
Some tests show that trying to create a PIDL from a path starting with
'/' fails in Windows, so this change shouldn't cause a conflict with
the shell namespace.
2010-06-29 13:28:58 +02:00
Andrew Eikum
da31fc06a4 shell32: Use ParseURL to detect URLs. 2010-06-29 13:28:58 +02:00
Nikolay Sivov
e51fe8e070 shell32: Use shared code to return column details from IShellFolder2::GetDetailsOf(). 2010-04-19 15:37:52 +02:00
Nikolay Sivov
7fbc550466 shell32: Rename desktop folder data structure to reflect its meaning. 2010-03-30 17:24:01 +02:00
Nikolay Sivov
53ae4e2ba0 shell32: Add IPersist support for desktop IShellFolder. 2010-03-22 15:52:36 +01:00
Nikolay Sivov
500c785053 shell32: Implement SHParseDisplayName with basic tests. 2010-03-03 14:02:23 +01:00
Aric Stewart
9224609589 shell32: Handle shell: urls internal in ParseDisplayName instead of passing them to shdocvw. 2009-06-26 12:04:32 +02:00
Aric Stewart
c6ba4eed01 shell32: In ParseDisplayName make use of shdocvw if the display name is not a drive but has a :. 2009-01-29 12:18:42 +01:00
Rob Shearman
4131edbdbe shell32: Fix incorrect character count passed into RegEnumKeyExW in CreateDesktopEnumList. 2008-02-18 12:20:50 +01:00
Dmitry Timoshkov
013652feee shell32: Make SHGetDesktopFolder use a cached instance of IShellFolder. 2007-06-22 12:17:59 +02:00
Rob Shearman
899e2ecff8 shell32: Return Unicode strings from all of the IShellFolder::GetDisplayNameOf functions in not running in Win9x mode. 2007-04-10 14:23:09 +02:00
Dmitry Timoshkov
e4c0748c21 shell32: Make some data static and const. 2006-11-28 12:36:12 +01:00
Hans Leidekker
89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
James Hawkins
7b89ff88e8 janitorial: Remove redundant NULL checks before SHFree. 2006-10-07 17:52:59 +02:00
Robert Shearman
6c4c4e3515 shell32: Convert ISF_Desktop_fnGetDisplayNameOf to Unicode. 2006-06-19 23:04:28 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman
f8782733f3 shell: Convert the filesystem shell folder to Unicode. 2006-01-16 21:31:48 +01:00
Robert Shearman
50c1e46d18 shell: Convert SHELL32_GetDisplayNameOfChild to unicode. 2006-01-16 21:31:10 +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
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
Francois Gouget
0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Robert Shearman
055d96b721 Convert SHELL32_BindToChild to Unicode and fix up the callers. 2005-11-01 09:34:03 +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
Alexandre Julliard
640bf7c6e8 Authors: Michael Jung <mjung@iss.tu-darmstadt.de>, Ge van Geldorp <gvg@reactos.com>
- Prepend Desktop folder path for files/directories stored in the
  filesystem Desktop folder when GetDisplayNameOf is called with the
  SHGDN_FORPARSING flags.
- Add testcases.
2005-08-15 09:41:58 +00:00
Steven Edwards
c8857c0786 Correct definition of SFGAO_STORAGEANCESTOR. 2005-08-11 10:33:21 +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
bb19a58a93 Return the correct attributes for the desktop folder.
Corresponding tests.
2005-06-14 18:10:24 +00:00
Dmitry Timoshkov
eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Stefan Dösinger
ea18de5f58 *Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp.
*Remove the dwAttributes member from the IGenericSFImpl class, it's
not needed and can't be initialised in Initialize and InitializeEx.
2005-05-26 16:09:12 +00:00
Michael Jung
8016f6cc62 More robustly query the SHGDN_FORPARSING flag in the shell32's folders
GetDisplayNameOf methods.
2005-05-23 16:31:42 +00:00
Juan Lang
2439b5fdda Fixes to IShellFolder::GetAttributesOf implementations, spotted by
silverblade_:
- a count of zero is allowed to GetAttributesOf if apidl is NULL
- SFGAO_VALIDATE must be cleared upon return
2005-05-10 08:28:11 +00:00
Juan Lang
7376f57c30 Use Unicode string result from GetDisplayNameOf if it isn't
representable using ANSI.
2005-04-12 10:15:29 +00:00
Jon Griffiths
dbf222f3aa Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc). 2005-03-17 20:53:37 +00:00
Mike McCormack
b12ce9b446 Convert path to unicode, rearrange to remove forward declaration. 2005-03-17 13:57:38 +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
Juan Lang
316df99bf9 Convert more API calls to Unicode. 2005-03-02 10:16:41 +00:00
Mike McCormack
f8a4f6b59b - handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName
- more Unicode conversion
2005-02-23 12:45:12 +00:00
Mike McCormack
59ce35aba8 Remove tabs and make formatting consistent. 2005-02-21 18:36:47 +00:00
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
Francois Gouget
486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00