Commit Graph

54 Commits

Author SHA1 Message Date
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
Michael Jung 8765e4a522 Propagate the root folder's attributes to the registry. 2005-06-21 09:42:38 +00:00
Michael Jung 74afc7f12e Use stat's dev/inode to compare paths instead of comparing the
strings. Defer building a folder's children SHITEMIDS until explicitly
asked for.
2005-06-20 11:42:23 +00:00
Francois Gouget f9280a3a95 Protect the unistd.h and sys/stat.h includes.
Include config.h.
Fixes warnings reported by winapi_check.
2005-06-17 20:56:02 +00:00
Michael Jung ff75b415d2 Remove trailing backslash from DOS paths in GetDisplayNameOf. 2005-06-17 12:12:35 +00:00
Michael Jung 71404a7372 Set the FILESYSANCESTOR and FILESYSTEM flags correctly in
GetAttributesOf.
2005-06-10 19:31:59 +00:00
Michael Jung d1f59dba67 Use shell icon cache instead of an own IExtractIcon implementation. 2005-06-09 09:43:18 +00:00
Michael Jung d20fde8a80 Allow for unixfs folders to be rooted at desktop level.
Moved dos->unix path conversion into canonicalize_path.
Fail in BindToObject, if called with empty pidl.
2005-06-06 19:37:47 +00:00
Michael Jung 3c3495ea51 Add a new CLSID for UnixDosFolder, which is identical to UnixFolder,
but does unix <-> dos path conversion for GetDisplayNameOf and
ParseDisplayName.
2005-05-24 11:45:47 +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
Michael Jung a858a5a76c Replace '\\' by '/' in strings passed to ParseDisplayName to be able
to handle DOS-style relative paths.
2005-05-13 13:55:03 +00:00
Michael Lin 9bd101d012 - Implement IPersistFolder2.
- Retrieve the correct attributes in ParseDisplayName().
2005-05-12 09:56:04 +00:00
Michael Jung ea3793b79d Support folder relative paths in UnixFolders' ParseDisplayName
method.
2005-05-09 19:33:01 +00:00
Michael Jung 3a117bccd8 Always pass fully qualified paths to stat system call. 2005-05-09 09:26:02 +00:00
Robert Lunnon f4949b8d80 Make references to NAME_MAX refer to PATH_MAX instead. 2005-05-07 14:50:00 +00:00
Michael Jung fc40dcf985 Make the root of the shell extension map to the root of the unix
filesystem.
2005-05-07 12:17:02 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Gerald Pfeifer 039869eed1 Include <limits.h> to get a definition of NAME_MAX. 2005-04-27 08:12:08 +00:00
Michael Jung 3abb5bd6bb Support for regular files (as opposed to directories). 2005-04-25 10:56:29 +00:00
Michael Jung 025bc2d8a2 Use the shell32 typical binary format for ITEMIDLISTs. 2005-04-22 21:29:17 +00:00