Commit Graph

227 Commits

Author SHA1 Message Date
Michael Stefaniuc 9e460675d6 shell32: COM cleanup in shellpath.c. 2011-09-26 12:19:55 +02:00
Mariusz Pluciński 4505b4b07c shell32: Replace call of RegDeleteKeyW by SHDeleteKeyW. 2011-08-23 11:39:41 +02:00
Mariusz Pluciński f3bd5210b8 shell32: Check if known folder's relative path was passed to function.
All non-virtual known folders must have set relative path field.
2011-08-04 18:27:38 +02:00
Huw Davies fccd4e29c9 shell32: Initialise the error string pointer. 2011-07-28 18:37:39 +02:00
Mariusz Pluciński ea990a3f43 shell32: Fix FOLDERID_Document definition. 2011-07-19 18:26:22 +02:00
Mariusz Pluciński dfa35a529f shell32: Add IKnownFolder::GetFolderDefinition() implementation. 2011-07-19 18:26:22 +02:00
Michael Stefaniuc 5ab5042183 shell32: Use FAILED instead of !SUCCEEDED. 2011-07-19 18:26:20 +02:00
Marcus Meissner a05ba2b9de shell32: Check error return in get_known_folder_path (Coverity). 2011-07-14 14:13:50 +02:00
Mariusz Pluciński 9435f3ce15 shell32: Add support of KF_REDIRECT_DEL_SOURCE_CONTENTS flag to redirection. 2011-07-05 13:51:48 +02:00
Mariusz Pluciński 104bf57c11 shell32: Add support of KF_REDIRECT_COPY_CONTENTS flag to redirection. 2011-07-05 13:51:44 +02:00
Francois Gouget db36599aff shell32: Remove WINAPI on static functions where not needed. 2011-07-01 14:39:37 +02:00
Mariusz Pluciński 08186a9c26 shell32: Check for known folder existance. 2011-07-01 14:39:36 +02:00
Mariusz Pluciński e1dc5447e8 shell32: IKnownFolder::SetPath modified to use redirection instead of overwriting original path. 2011-07-01 14:39:36 +02:00
Michael Stefaniuc c2c0bec0e3 shell32: Don't pass an unitialized size to RegGetValue(). 2011-07-01 14:39:35 +02:00
Mariusz Pluciński 7340dcdb6d shell32: Add support of known folders redirection to GetPath. 2011-06-29 14:24:53 -05:00
Mariusz Pluciński e554ee7fb4 shell32: Add support of known folders redirection to Redirect. 2011-06-29 14:24:43 -05:00
Mariusz Pluciński 4c0959b9d6 shell32: Add support of parent folder to GetPath. 2011-06-29 14:23:41 -05:00
Mariusz Pluciński 06f706a068 shell32: Add support of parent folder to RegisterFolder. 2011-06-29 14:23:36 -05:00
Francois Gouget 95d769a047 Assorted spelling fixes. 2011-06-27 13:09:47 -05:00
Mariusz Pluciński 1c7240ba4e shell32: Add IKnownFolder::SetPath() implementation. 2011-06-24 12:11:57 -05:00
Mariusz Pluciński 5e90301bc2 shell32: Add implementation of IKnownFolder::GetCategory. 2011-06-24 12:11:53 -05:00
Mariusz Pluciński c9b70e6650 shell32: Add IKnownFolder::GetPath support. 2011-06-22 16:21:11 +02:00
Mariusz Pluciński 4fd24bc20e shell32: Fix typo. 2011-06-22 16:20:57 +02:00
Mariusz Pluciński ed29ff8c3b shell32: Add support of registry-registered folders to IKnownFolderManager::GetFolder. 2011-06-22 16:20:47 +02:00
Mariusz Pluciński c5bf1977f2 shell32: Add IKnownFolderManager::UnregisterFolder implementation. 2011-06-22 16:20:26 +02:00
Mariusz Pluciński 7a3b53ab68 shell32: Add IKnownFolderManager::RegisterFolder implementation. 2011-06-22 16:20:19 +02:00
Alexandre Julliard 2afe205ebd shell32: Convert dll registration to the IRegistrar mechanism. 2011-01-19 20:36:57 +01:00
Hans Leidekker e7e1ec62c7 shell32: Add stub implementations of IKnownFolder and IKnownFolderManager. 2010-09-23 12:06:18 +02:00
Alexandre Julliard c15b376a15 shell32: Map the x86 version of the folder to the appropriate path depending on Wow64 mode. 2010-09-21 14:11:27 +02:00
Hans Leidekker 9f4d6c6edc shell32: Support FOLDERID_LocalAppDataLow. 2010-09-18 13:06:10 +02:00
Hans Leidekker 859a1d0d44 shell32: Implement SHGetFolderPathEx. 2010-09-14 12:51:42 -05:00
Hans Leidekker 678c677690 shell32: Implement SHGetKnownFolderPath. 2010-09-14 12:51:27 -05:00
Hans Leidekker 02e38f3066 shell32: Add support for CSIDL_PROGRAM_FILESX86 and CSIDL_PROGRAM_FILES_COMMONX86. 2010-09-13 10:59:27 -05:00
Louis Lenders dd1a47093e shell32: Add stubbed SHGetKnownFolderPath. 2010-09-02 18:05:23 +02:00
Huw Davies a0126ec1ca shell32: Mask out the CSIDL_ flags. 2010-03-05 15:21:27 +01:00
Alexandre Julliard 49be8db6b1 shell32: Put the temp directory inside the user profile directory. 2010-01-28 15:30:13 +01:00
Akihiro Sagawa c6a947d2ec shell32: Use IDS_DESKTOPDIRECTORY for CSIDL_COMMON_DESKTOPDIRECTORY. 2009-08-10 13:10:30 +02:00
Austin English c68a20fb80 shell32: Adjust shell folders to more closely match Windows. 2009-07-20 12:21:16 +02:00
Alexandre Julliard 43e90c8ff7 shell32: Add support for the CSIDL_SYSTEMX86 folder. 2009-07-07 11:47:58 +02:00
Alexandre Julliard 853d993830 shell32: Default to the more modern location for the user profile directory. 2009-02-17 13:50:07 +01:00
Alexandre Julliard 1abff5afef shell32: Make some functions static. 2008-12-03 12:09:38 +01:00
Dmitry Timoshkov 6b4762086a shell32: Make some data static const. 2008-11-12 11:49:12 +01:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Kirill K. Smirnov de3afabf08 shell32: Avoid usage of undefined xdg_results variable, since XDG_UserDirLookup() always corrupts it. 2008-07-21 14:35:56 +02:00
Alexandre Julliard 7c25ab8a07 shell32: Set the correct default for shell folders relative to the windows directory. 2008-05-06 15:50:10 +02:00
Alexandre Julliard 93e775a8b7 shell32: Avoid traces that use size_t. 2008-04-25 17:01:50 +02:00
Stefan Leichter a629a4199e shell32: Implement SHGetFolderPathAndSubDirA/W. 2008-04-21 14:21:37 +02:00
Ge van Geldorp 35d7f70612 shell32: Support getting the shell folder path for users other than the current user and the default user. 2008-03-27 11:29:42 +01:00
Lei Zhang b8cbd8bd87 shell32: Use xdg well known directories for desktop folder symbolic link. 2008-03-12 12:20:01 +01:00
Lei Zhang 78f5db2b51 shell32: Use xdg well known directories for my_xxx folder symbolic links. 2008-03-12 12:19:21 +01:00
Lei Zhang 5637c779d2 shell32: Remove unused variable. 2008-03-05 11:21:24 +01:00
James Hawkins 26ad93947b janitorial: Remove links to any microsoft site. 2008-03-01 12:04:09 +01:00
Lei Zhang 4dda7c6371 shell32: Don't crash if $HOME is not set. 2007-11-13 13:33:26 +01:00
Lei Zhang 70c75dcd0d shell32: rename My Video to My Videos. 2007-11-13 13:33:21 +01:00
Alexandre Julliard 0faf3f8a1a Avoid non-portable Unix mode bits macros. 2007-07-31 13:18:03 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Andrew Talbot fdd9a4e2a7 shell32: Cast-qual warnings fix. 2006-11-15 11:32:38 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
Andrew Talbot 30806fc00c shell32: Cast-qual warnings fix. 2006-10-02 11:55:26 +02:00
Stefan Huehner 998e256c82 Fix some -Wstrict-prototype warnings () -> (void). 2006-08-21 12:06:26 +02:00
Vitaliy Margolen a3aa7cf033 shell32: Add Fonts to user's shell folders list. 2006-06-02 10:52:33 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Jung d7326ca7e5 shell32: Return a GUID pidl for CSIDL_PERSONAL in SHGetFolderLocation.
The tests (shellpath.c/testPersonal) already show that it can be either 
PT_FOLDER or PT_GUID. It's PT_GUID on WinXP.
2006-02-14 11:35:12 +01:00
Michael Jung 77474f8a14 shell32: Create $HOME targeted symbolic links during SHELL_RegisterFolders. 2006-02-02 13:28:29 +01:00
Michael Jung 7a893cbe7a shell32: Get rid of the magic MyDocuments->$HOME mapping code. 2006-02-02 13:27:42 +01:00
Aric Stewart 265c8a5d73 shell32: Update shellpaths My Pictures, My Video, My Music to be under
$HOME, with a number of fallbacks.
2006-01-19 12:43:14 +01:00
Vitaliy Margolen c99880d955 shell32: Create Local AppData for user profile.
Move history and internet tmp files to Local Settings.
2006-01-04 14:48:59 +01:00
Stefan Leichter a4af4b95b5 shell32: Fix return value of PathProcessCommand. 2005-12-16 12:41:11 +01:00
Markus Gömmel ab86f8cde3 Added CSIDL_MYVIDEO|MYPICTURES|MYMUSIC to _SHRegisterUserShellFolders. 2005-11-30 18:27:06 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01: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
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
Juan Lang 8630b8ab6e Use wine_get_dos_file_name rather than relying on GetFullPathNameW
hack.
2005-10-04 15:50:35 +00:00
Kevin Koltzau 95a173a52b Fix warnings in 64bit. 2005-09-02 11:32:17 +00:00
Juan Lang 4571d0187f Set default for "My Documents" to $HOME, and "Desktop" to ~/Desktop. 2005-06-02 19:39:24 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Juan Lang 2786964da2 Correct registering shell folders (values in Shell Folders key weren't
getting written).
2005-03-16 11:37:46 +00:00
Mike McCormack 2c8367a3de Use lstrcmpiA in preference to strcasecmp. 2005-03-07 11:05:03 +00:00
Marcus Meissner 30ed10004b Output some more informations.
Mark one global variable static.
2005-02-14 11:07:55 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Aric Stewart 990ea44e98 Implementation of PathCleanupSpec. 2004-11-04 04:54:08 +00:00
Fabrice Ménard 7ce764669e Check the type of error returned by SHCreateDirectoryExW. 2004-11-02 05:22:39 +00:00
Rolf Kalbermatter e50a27de04 Use SHCreateDirectoryEx function instead of doing explicit recursive
directory creation.
2004-10-28 20:58:51 +00:00
Juan Lang c639af64be _SHExpandEnvironmentStrings should return input string if no % found
to expand, and should call ExpandEnvironmentStringsW if it doesn't
handle an environment variable directly.  Based on a patch from Dan
Kegel.
2004-10-27 21:17:30 +00:00
Juan Lang 4a6a898e2d Avoid copying invalid data on error. 2004-10-25 21:53:18 +00:00
Alexandre Julliard 2d2e2e1e55 Avoid copying invalid data on error. 2004-10-22 20:26:23 +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 ed19983d65 Fixed typo in ProgramsW.
Changed the case of windows and system directories to match the
directories we create by default.
2004-10-04 20:49:51 +00:00
Francois Gouget bc371a83ec Fix CSIDL_COMMON_{STARTMENU,PROGRAMS,DESKTOPDIRECTORY} so they all use
paths in 'All Users' like CSIDL_COMMON_STARTUP.
The CSIDL_COMMON_PROGRAMS fix solves many menu creation problems.
2004-09-21 20:05:54 +00:00
Huw Davies 0af47c8080 Unicodify a load of strings. 2004-08-20 19:57:50 +00:00
Vincent Béron 6fae1ce6fd Don't hardcode c:\windows paths in msi.dll. 2004-08-18 23:41:10 +00:00
Aric Stewart 3d9fb73909 Make sure that the size of the buffer passed to RegSetValueExW is in
bytes not WCHARs.
2004-05-28 19:28:41 +00:00
Juan Lang f3301c6ba9 - comment fixes
- improved error checking and conformance with Windows
- remove some spurious error messages
2004-04-07 19:45:48 +00:00
Juan Lang 452ddeb3e2 Use symbolic constants for magic numbers in SHGetFolderPathW, avoid
doing MultiByteToWideChar on values that don't need it,
2004-04-05 23:13:20 +00:00
Kevin Koltzau 33a6215dc3 Added support for CSIDL_RESOURCES path. 2004-04-01 02:01:33 +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
Martin Fuchs 703676f533 - define additional shell paths for CSIDL_... constants
- remove some superfluous commas
2004-01-26 20:09:10 +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