Commit Graph

117 Commits

Author SHA1 Message Date
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
Martin Fuchs e6ab6bdcd7 Corrected definition of PathYetAnotherMakeUniqueName(). 2004-01-16 23:04:41 +00:00
Filip Navara c4dd56bc25 - Moved actual code from SHGetSpecialFolderPathA to SHGetFolderPathW,
adjusted and unicodified it.
- Rewrote SHGetFolderPathA to call SHGetFolderPathW.
- Rewrote SHGetSpecialFolderPath[AW] to call SHGetFolderPath[AW].
2004-01-16 04:46:36 +00:00
Francois Gouget cd1a13b00e If using the default values, also set dwType to REG_SZ as our default
strings don't need to be expanded (found by Valgrind).
2003-11-20 04:21:12 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Mike McCormack 73756ce844 Change a MESSAGE about creating a directory to a TRACE. 2003-10-02 04:27:21 +00:00
Rolf Kalbermatter 82f46ab1c3 Added IsLFNDriveA/W/AW exports and two more stubs. 2003-09-30 00:19:44 +00:00
Rolf Kalbermatter 7ffcb0ea98 Change parameter in SHGetSpecialFolderPathA/W to int as documented in
MSDN.
Add some more definitions and move SHGetDesktopFolder() from
wine/obj_shellfolder.h to here.
2003-09-08 18:47:10 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Paul Rupe ae379a44fd Add CSIDL_PROFILES. Improved logging for non-existent CSIDL values. 2003-03-17 04:42:45 +00:00