Commit Graph

989 Commits

Author SHA1 Message Date
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
Rolf Kalbermatter
a2ebf8b356 Add test for SHCreateDirectoryEx function.
Fixed some typos.
2004-10-28 20:58:38 +00:00
Fabrice Ménard
8818ded2dc Some French translations added. 2004-10-27 21:36:17 +00:00
Rolf Kalbermatter
87fb440e71 Fix bad memory allocation for unicode buffer. 2004-10-27 21:18:35 +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
Ge van Geldorp
b3f2c53155 Use only one .res file. 2004-10-27 00:47:53 +00:00
Juan Lang
217bd082c6 Update shell32's version to WinXP level. 2004-10-26 21:17:50 +00:00
Juan Lang
535679aec7 Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
that they pass.
2004-10-26 00:17:31 +00:00
Juan Lang
4a6a898e2d Avoid copying invalid data on error. 2004-10-25 21:53:18 +00:00
Sami Aario
c2dcecc362 Check the return value of the SHGetDesktopFolder call. 2004-10-25 21:45:36 +00:00
Francois Gouget
3bb5b093e8 Assorted spelling fixes. 2004-10-22 22:27:51 +00:00
Alexandre Julliard
2d2e2e1e55 Avoid copying invalid data on error. 2004-10-22 20:26:23 +00:00
Francois Gouget
a1779c1e33 Fix the function pointer declarations so MSVC likes them.
CSIDL_PROFILES is not defined in the Windows SDK.
snprintf and strcasecmp don't exist on Windows. Replace them with
wnsprintfA and lstrcmpiA respectively.
2004-10-22 20:25:46 +00:00
Mike McCormack
43149f490c Add a test for creating empty shelllink files. 2004-10-22 19:52:33 +00:00
Rolf Kalbermatter
eb883577e4 - SHCreateDirectory should create intermediate directories if
necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
  used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
  of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
2004-10-21 22:29:42 +00:00
Ge van Geldorp
9b399da426 - Don't double-quote an already double-quoted argument.
- Properly increment the fmt pointer.
2004-10-21 20:59:25 +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
Vincent Béron
6c644d68cf Fix various function prototypes. 2004-10-19 23:55:15 +00:00
Mike McCormack
d5b0e0f01e Convert the shellmenu code to use unicode. 2004-10-19 03:56:40 +00:00
Vincent Béron
4eeae1adb3 Fix some types problems. 2004-10-18 22:39:21 +00:00
Rolf Kalbermatter
20952a5d23 Modify ANSI functions to allocate intermediate Unicode strings on the
heap instead of stack.
2004-10-18 21:45:16 +00:00
Rolf Kalbermatter
29d4ec4f85 Added SHFreeNameMappings implementation. 2004-10-18 19:33:45 +00:00
Vitaliy Margolen
64c63dd4b8 Sort files/folders before testing. 2004-10-11 19:52:23 +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
Francois Gouget
75be67c6c0 Conformance tests must not include wine/debug.h. 2004-10-07 02:59:11 +00:00
Rolf Kalbermatter
18514ca547 Fix bug found by Piotr Caban, where our function tried to delete a
directory eventhough the user canceled the operation.
2004-10-06 00:04:39 +00:00
Francois Gouget
67aa858a31 Assorted spelling fixes. 2004-10-05 18:15:29 +00:00
Alexandre Julliard
739e5b06da Avoid depending on the non-standard IUnknown_METHODS macro in Wine
internal headers.
2004-10-05 04:16:21 +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
Piotr Caban
304e0796cd Added Polish translation. 2004-10-04 19:31:50 +00:00
Ge van Geldorp
3db9386195 Can't pass NULL as default value to GetPrivateProfileString. 2004-10-04 19:05:02 +00:00
Alexandre Julliard
72c9008e73 Authors: Klemens Friedl <frik85@hotmail.com>, Martin Fuchs <martin-fuchs@gmx.net>
- drive icon artwork
- display different drive icons depending on the drive type
2004-09-29 21:13:58 +00:00
Robert Shearman
8e80468170 Simplify getting custom icons for a folder by utilising the new
SHELL32_GetCustomFolderAttribute function.
2004-09-28 19:33:57 +00:00
Robert Shearman
5ad2d3517f - Add support for custom shell folders, such as the History folder.
- Always try to initialize folder using IPersistFolder3 interface and
  then fall back on IPersistFolder if not supported.
2004-09-28 19:33:44 +00:00
Ge van Geldorp
535387aeb1 Call GetProcessHeap() instead of passing its address. 2004-09-27 20:34:49 +00:00
Martin Fuchs
7ccc2d25a2 - Use system metrics to determine icon sizes.
- Move invalid index from 1 to 0.
2004-09-24 01:10:31 +00:00
Martin Fuchs
09878e1c6a At least print message if we're not returning requested data. 2004-09-23 22:52:03 +00:00
Ge van Geldorp
e63e3781c6 Some windres versions don't like POPUP"", change to POPUP "". 2004-09-23 04:28:04 +00:00
Steven Edwards
e85b67bd9e Remove some unneeded include statements. 2004-09-23 04:27:24 +00:00
Robert Shearman
bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Martin Fuchs
1c8d9b66c3 Store absolute path in .lnk file. 2004-09-22 19:11:27 +00:00
Martin Fuchs
fa417e2869 Implement IShellLinkA::Resolve and IShellLinkW::Resolve. 2004-09-22 04:00:56 +00:00
Robert Shearman
c6516740af Share version information between DllGetVersion and resource file. 2004-09-22 04:00:43 +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
Martin Fuchs
a6f9e517fe Match class name used by Windows. 2004-09-21 20:04:59 +00:00
Martin Fuchs
06f6cc9d20 Correct setting of default menu item in shell context menus. 2004-09-20 21:46:11 +00:00
Martin Fuchs
bfb0653147 Make drive letters in PIDLs always uppercase to enable PIDL
comparison.
2004-09-20 19:12:17 +00:00
Jens Collin
9e679d3675 Added lookup of environment vars in SHELL_ArgifyW. 2004-09-14 20:14:09 +00:00