Commit Graph

73 Commits

Author SHA1 Message Date
Michael Jung cc15fcc4b0 shell32: Unicode'ify ISFHelper interface. 2006-03-06 11:43:16 +01:00
Eric Pouech 1be2e1edef shell32: Fixes for bugs found by valgrind on shell32 tests harness.
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
2006-02-22 12:04:02 +01:00
Michael Jung dc9789fbdd unixfs: Use realpath instead of canonicalize_file_name for portability
reasons.
2006-02-02 13:20:49 +01:00
Michael Jung e2d1c1038a unixfs: Only append '/' to base path if not already present in
UNIXFS_get_unix_path.
2006-01-31 18:03:45 +01:00
Michael Jung 48ca838873 unixfs: Only resolve the 'dosdevices' based symbol links in
UNIXFS_get_unix_path, but leave all others alone.
2006-01-31 12:20:58 +01:00
Michael Jung db7a3a352e shell32: Support for CLSID_ShellFSFolder in unixfs. 2006-01-17 15:58:52 +01:00
Michael Jung f87efbd14e unixfs: Fix SetNameOf.
Ensure that pidls passed to SHNotify are absolute SetNameOf should
fail on absolute path names.
Some tests to show this.
2006-01-16 20:37:51 +01:00
Michael Jung b52146d95f unixfs: Fix ParseDisplayName.
Build an absolute pidl to query attributes in
UnixFolder::ParseDisplayName.
2006-01-14 17:10:53 +01:00
Troy Rollo e80a85a33b shell32: Fix bug in renaming files in the file dialogs when UNIX paths
are being used.
2006-01-10 12:08:28 +01:00
Michael Jung 9281c948bf shell32/unixfs: Added unicode support in folder and file pidls. 2006-01-03 13:23:59 +01:00
Michael Jung ea62530466 Enhanced UnixFolder's IDropTarget implementation.
Use STATIC_CAST macro more consistently.
2005-11-28 20:40:50 +01:00
Michael Jung 2919cec009 Initial stubbed implementation of UnixFolder's IDropTarget interface. 2005-11-28 10:36:04 +01:00
Michael Jung 3531178b8b Use the ANSI codepage in IShellFolder::GetDisplayNameOf. 2005-11-23 15:20:33 +01: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
Michael Jung f5acfaad22 Replaced tabs with spaces. 2005-11-03 13:17:32 +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
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
Michael Jung 8fca00e030 Implemented UnixFolder's IPersistPropertyBag::Load method. 2005-10-27 12:09:59 +00:00
Michael Jung d101921b54 Pass correct pointer to SHFree in case of failure in
UNIXFS_path_to_pidl.
Return E_FAIL if we can't get the unix path in
IPersistFolder3::InitializeEx.
Return E_NOAGGREGATION if non-NULL pUnkOuter is given to the
constructor.
2005-09-07 13:28:38 +00:00
Dmitry Timoshkov 5e9e487b20 Translate file name from unix to ANSI encoding in
UnixFolder_IShellFolder2_GetDisplayNameOf.
2005-09-02 11:18:00 +00:00
Michael Jung 5c87552f6a Use FIXME's in stubs instead of TRACE's.
Infer pathmode from CLSID in UnixFolderConstructor.
Fail in IShellFolder::BindToObject, if folder does not initialize.
2005-08-30 09:58:21 +00:00
Michael Jung 060bfac706 Use StringFromGUID2 instead of StringFromCLSID in
UNIXFS_is_rooted_at_desktop.
2005-08-29 21:45:31 +00:00
Michael Jung b0b4777422 Implemented 'My Documents' folder. 2005-08-26 10:05:34 +00:00
Michael Jung 6235c076a4 Initialize all members in UnixFolder constructor.
Support NULL value pidls in GetDisplayNameOf method.
2005-08-22 18:56:36 +00:00
Michael Jung b6d97d5654 Added stubbed implementation of IPersistPropertyBag interface.
Register unixfs as CLSID_FolderShortcut.
2005-08-19 13:58:52 +00:00
Michael Jung f9fd061e95 Implemented IPersist::GetClassID. 2005-08-19 10:01:07 +00:00
Michael Jung e4d2ef4559 Use wine_get_dos_file_name instead of GetFullPathName. 2005-08-12 10:32:47 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Troy Rollo d1b575e940 Return attributes for the correct file in the unixfs ParseDisplayName. 2005-07-21 11:00:57 +00:00
Michael Jung 39a6c8b456 Initial support for the IPersistFolder3 interface. 2005-07-20 10:44:54 +00:00
Troy Rollo 2a52813024 When using PATHMODE_UNIX, all files are in the file system. 2005-07-19 11:40:36 +00:00
Michael Jung 1032fdc595 Use CP_UNIXCP instead of CP_ACP when converting paths (Pointed out by
Troy Rollo).
2005-07-18 13:13:42 +00:00
Michael Jung 4ec5aa68b2 Append filename extension if necessary in IShellFolder::SetNameOf. 2005-07-18 09:12:20 +00:00
Michael Jung 9568893940 Add file type column in detailed shell view.
Make the order of shell view columns 'prefix-compatible' with
shfldr_fs.
Don't remove filename extensions for path pidls in GetDisplayNameOf.
2005-07-15 11:43:25 +00:00
Michael Jung 6b7778f36b Do filename postprocessing in GetDisplayNameOf (Hide filename
extensions if appropriate).
2005-07-15 09:58:03 +00:00
Michael Jung 1e6fe17958 Don't cache child pidls in UnixFolder, but create them on the fly. 2005-07-12 17:00:36 +00:00
Michael Jung 9ccea1149b Don't use unix filesystem specific attributes in UnixFolder's pidls. 2005-07-11 10:24:09 +00:00
Michael Jung 8b87bdd76b Partially implemented UnixFolder's ISFHelper::CopyItems method. 2005-07-08 14:18:14 +00:00
Michael Jung 9f4c67d50d Return correct HRESULT code in UnixFolder's IEnumIDList::Next.
Corresponding test.
2005-07-08 11:30:18 +00:00
Michael Jung 6d6ec608d8 Implemented UnixFolder's ISFHelper::DeleteItems interface. 2005-07-06 15:43:51 +00:00
Alexandre Julliard 6b6d937c89 Authors: Michael Lin <mlin@corvu.com.au>, Michael Jung <mjung@iss.tu-darmstadt.de>
Implemented UnixFolder's ISFHelper::AddFolder.
2005-07-06 11:11:00 +00:00
Alexandre Julliard d201828370 Authors: Michael Lin <mlin@corvu.com.au>, Michael Jung <mjung@iss.tu-darmstadt.de>
ISFHelper interface support for UnixFolder (currently only stubs).
2005-07-05 20:55:43 +00:00
Alexandre Julliard 9fef38488a Authors: Michael Lin <mlin@corvu.com.au>, Michael Jung <mjung@iss.tu-darmstadt.de>
Implemented UnixFolder's IShellFolder::SetNameOf.
2005-07-05 16:18:00 +00:00
Michael Jung 8130a6eb44 Return correct attributes in ParseDisplayName. 2005-07-05 10:58:11 +00:00
Mike McCormack e28c014a84 -Wpointer-sign fixes. 2005-07-03 12:03:35 +00:00
Michael Jung c0995c2c93 Fix two more corner cases in UNIXFS_get_unix_path and UNIXFS_path_to_pidl. 2005-06-30 10:59:51 +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 ad6bac918c Precisely compute the necessary pidl length in UNIXFS_path_to_pidl. 2005-06-27 18:46:36 +00:00
Michael Jung 526377c511 Use the CallForAttributes registry value, instead of promoting the
root folder's SFGAO_FILESYSTEM flag to the registry.
2005-06-25 17:56:13 +00:00