Michael Jung
5136f57f12
shell32: Helper function for unicode support in folder and file pidls.
2006-01-03 13:23:44 +01:00
Francois Gouget
6526c3772d
Add trailing '\n's to ok() calls.
...
Remove spaces before '\n' in traces.
2006-01-03 12:10:37 +01:00
James Hawkins
22ddd114a8
shell32: Clean up the SHFileOperation tests.
...
- Make sure to create all the files used by the new tests.
- Add a couple more SHFileOperation tests.
- Fix some of the old tests.
2005-12-26 12:56:06 +01:00
Michael Jung
259fd03407
shell32: Added some test to document native ITEMIDLIST format.
2005-12-22 17:16:11 +01:00
James Hawkins
036d5eff7b
shell32: Add tests for SHFileOperation's FO_MOVE command.
2005-12-22 11:19:13 +01:00
James Hawkins
d49181f99a
shell32: Add tests for SHFileOperation's FO_COPY command.
2005-12-22 11:17:19 +01:00
James Hawkins
edf423ab86
shell32: Add tests for SHFileOperation's FO_RENAME command.
2005-12-22 11:16:57 +01:00
James Hawkins
d3c3bc1d3a
shell32: Add tests for SHFileOperation's FO_DELETE command.
2005-12-22 11:15:42 +01:00
James Hawkins
bad4a1dc5f
shell32: Remove the '.\\' prefix from filenames, because it hides a
...
bug in SHFileOperation.
2005-12-21 21:18:19 +01:00
Michael Jung
9a0369449e
shell32/tests: Fixed a test failing on WinXP.
2005-12-20 11:57:44 +01:00
Stefan Leichter
a4af4b95b5
shell32: Fix return value of PathProcessCommand.
2005-12-16 12:41:11 +01:00
Paul Vriens
ac7fd9d6e5
shell32/tests/shlfolder.c: ILFindLastID has to be called by ordinal.
2005-12-12 18:13:14 +01:00
Michael Jung
edf6cf94ca
shell32: Fix drag-scrolling in the shellview object.
2005-12-12 12:43:03 +01:00
Michael Jung
08a2a60993
Implemented scrolling during drag&drop for the shellview class.
2005-12-02 13:00:01 +01:00
Michael Jung
4db7733369
Added a test for native PIDL format.
2005-12-02 11:25:18 +01:00
Markus Gömmel
ab86f8cde3
Added CSIDL_MYVIDEO|MYPICTURES|MYMUSIC to _SHRegisterUserShellFolders.
2005-11-30 18:27:06 +01:00
Martin Fuchs
041039390a
Fix context menu handling for more than one entry in order to repair
...
.lnk-file execution: Don't break at the first non-matching entry.
2005-11-30 18:26:32 +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
12dd1bc12e
Use GetUIObjectOf instead of BindToObject to get a IDropTarget object.
2005-11-28 17:30:11 +01:00
Ge van Geldorp
72ed6eae4c
Other code in shlexec.c (e.g. the extension handling code in
...
ShellExecute_GetClassKey) expects sei->lpFile to not be enclosed in
quotes.
2005-11-28 17:29:58 +01:00
Michael Jung
c820a3c17f
Modified KeyStateToDropEffect macro to match native shellview's
...
behaviour.
2005-11-28 11:17:19 +01:00
Michael Jung
a83d55e929
Register the shell view itself as the drop target, not it's parent folder.
...
Forward drag&drop method calls to the folder currently under the cursor.
2005-11-28 11:00:33 +01:00
Ge van Geldorp
0991687d3c
Load shortcut icon by resource id instead of by icon index.
2005-11-28 10:59:06 +01:00
Martin Fuchs
0b17529332
Correctly call HCR_GetFolderAttributes() in SHELL32_GetItemAttributes().
...
Directly return the correct "My Computer" attributes in
ISF_Desktop_fnGetAttributesOf().
Remove "todo_wine" from the "My Computer" attributes test case.
Add test case for retrieving the file system path from the
CSIDL_PROGRAM_FILES PIDL using SHGetPathFromIDListW().
2005-11-28 10:38:06 +01:00
Michael Jung
2919cec009
Initial stubbed implementation of UnixFolder's IDropTarget interface.
2005-11-28 10:36:04 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Michael Jung
3531178b8b
Use the ANSI codepage in IShellFolder::GetDisplayNameOf.
2005-11-23 15:20:33 +01:00
Michael Jung
46018bbc59
Also scan HKEY_CURRENT_USER for shell namespace extensions in Desktop
...
folder.
Fixed a handle leak in case of failing AddToEnumList call.
2005-11-23 15:17:54 +01:00
Michael Jung
b2647030c4
Also scan HKEY_CURRENT_USER for shell namespace extensions in
...
MyComputer.
2005-11-23 15:17:22 +01:00
Michael Jung
ae8a912605
Initialize OLE instead of just COM, in order to enable Drag & Drop.
2005-11-23 15:15:16 +01:00
Martin Fuchs
d3521da667
SHGetFileInfoW(): handle SHGFI_LINKOVERLAY and SHGFI_OVERLAYINDEX.
...
SHMapPIDLToSystemImageListIndex(): determine overlay flag for
PidlToSicIndex() and return -1 in error cases.
Read shell overlay icon settings from registry to allow icon
overrides.
2005-11-21 13:35:06 +00:00
Dmitry Timoshkov
84d4fc5e03
Unconditionally fall back to ANSI DDE APIs in ShellExecute if current
...
emulated Windows version is Win9x, Excel refuses to communicate with a
unicode client in win9x mode.
2005-11-11 10:54:07 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00: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
Michael Jung
0acf88651d
Initialize COM prior to displaying the SHBrowseForFolder dialog.
2005-11-09 10:30:28 +00:00
Saulius Krasuckas
57707fa0ea
Disable code that segfaults on Win98 SE.
2005-11-09 10:30:15 +00:00
Vincent Béron
695e392875
Unicodify systray.c.
2005-11-08 19:57:27 +00:00
Vincent Béron
c5789f8cfc
Move functions a bit to get rid of a static declaration.
2005-11-08 16:08:17 +00:00
Mike McCormack
c189912cbd
Fix a problem spotted by Dmitry and another one stopping correctly
...
formatted lnk files from being generated.
2005-11-08 10:55:15 +00:00
Michael Jung
14d9eec51a
More robust code for querying ShellFolder attributes (some
...
ShellFolders ignore the flag mask in GetAttributesOf).
2005-11-07 20:11:27 +00: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
Mike McCormack
991e7054cf
Partially implement and test the shelllink object's
...
IShellLinkDataList::CopyDataBlock and GetFlags methods.
2005-11-04 11:40:58 +00:00
Mike McCormack
85b3f37d31
Use advapi32.CommandLineFromMsiDescriptor to get msi component paths.
2005-11-04 11:15:33 +00:00
Michael Jung
f5acfaad22
Replaced tabs with spaces.
2005-11-03 13:17:32 +00:00
Michael Jung
92032e6e35
Added some more unit tests for FolderShortcut objects.
2005-11-03 12:04:24 +00:00
Mike McCormack
32d5240178
Invoke shortcuts through IContextMenu, rather than trying to access
...
them directly.
2005-11-03 11:33:57 +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
Mike McCormack
0de1f3e629
Pass the correct verb.
...
Add a space between extra parameters.
Wait for ShellExecute to complete.
2005-11-03 09:55:21 +00:00
Martin Fuchs
9f9fd4080b
Correct WINAPI position for MSVC portability.
2005-11-02 20:51:41 +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
Robert Shearman
055d96b721
Convert SHELL32_BindToChild to Unicode and fix up the callers.
2005-11-01 09:34:03 +00:00
Mike McCormack
9997f84eac
Add void to empty declaration list.
2005-10-31 15:43:27 +00:00
Mike McCormack
0857fc2919
Handle MSI advertised shortcuts in the shelllink object.
2005-10-28 16:40:51 +00:00
Mike McCormack
f86c4e8c90
Implement IContextMenu::QueryContextMenu and
...
IContextMenu::InvokeCommand.
2005-10-28 09:39:50 +00:00
Michael Jung
8fca00e030
Implemented UnixFolder's IPersistPropertyBag::Load method.
2005-10-27 12:09:59 +00:00
Michael Jung
d699222eae
Remove iconcache pre-initialization hack, it's not necessary any
...
more.
2005-10-27 12:08:44 +00:00
Dmitry Timoshkov
520bec000f
Correctly handle flags parameter in SHAddToRecentDocs.
2005-10-27 10:22:38 +00:00
Mike McCormack
56aa241b97
Add the IObjectWithSite interface.
2005-10-27 10:19:16 +00:00
Dmitry Timoshkov
8cd388f398
Use appropriate DDE APIs (ANSI or unicode) for ShellExecuteA/W, Excel
...
2000 depends on that.
2005-10-18 14:11:17 +00:00
Mike McCormack
4a28e7cdc9
Use ShellLink_QueryInterface to return the right interface in
...
IShellLink_Constructor.
2005-10-18 10:36:03 +00:00
Aric Stewart
5a8d76749a
MSDN states that the pszDisplayName member of BROWSEINFO is assumed to
...
be MAX_PATH in length. So when doing the A->W conversion in
BrowseForFolderA do not set that member to be the size of the
incoming string, instead make it MAX_PATH.
2005-10-17 08:54:53 +00:00
James Hawkins
8c523fe36c
Test that the FO_COPY action creates output directories if they don't
...
exist.
2005-10-11 19:26:47 +00:00
Lionel Ulmer
c734d93383
- fix first two arguments to 'FindExecutableA' (input strings instead
...
of pointers)
- fix last argument to 'FindExecutableW' (it's an output string)
2005-10-11 19:26:20 +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
Francois Gouget
a1f9a13997
Use "static const" rather than "const static" as gcc -W complains
...
about the former.
2005-10-06 11:38:45 +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
Martin Fuchs
803146d220
Simplify 'sei' structure initialization in ShellExecuteA/W.
2005-10-03 11:02:47 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Kimmo Myllyvirta
c70ea04706
Update Finnish resources.
2005-09-26 09:54:02 +00:00
Alexandre Julliard
0ec0f048e6
Removed unused debug channels.
2005-09-22 10:44:40 +00:00
Alexandre Julliard
9f1c6de1ef
We are no longer generating .spec.c files.
2005-09-21 14:42:52 +00:00
Alexandre Julliard
5cb97d833a
Generate 16-bit spec files as assembly code too.
2005-09-21 14:23:54 +00:00
Alexander N. Sørnes
51ff901f97
Added Norwegian translation of comctl32 and shell32.
2005-09-21 11:43:31 +00:00
Milko Krachounov
980f817737
Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
...
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Ge van Geldorp
348449a486
Save a few megabytes of memory by loading the default icon only once
...
into the image lists.
2005-09-13 11:24:52 +00:00
Ge van Geldorp
5b7da80911
Fix execution of Control Panel items.
2005-09-12 12:10:57 +00:00
Juan Lang
4a9d838ca4
Remove an annoying dialog when trying to clean up a directory.
2005-09-12 10:09:50 +00:00
Alexandre Julliard
4c34d9386c
Specify 64-bit integers as double instead of long long in spec files
...
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
Dmitry Timoshkov
4cc1c14005
Pass a locally modified version of SHELLEXECUTEINFO to
...
IShellExecuteHookW_Execute, this should pass through at least
sei_tmp.nShow retrieved from an .lnk file (fStartup).
2005-09-08 18:54:52 +00:00
Dmitry Timoshkov
8feb70aa01
- Stop using a not initialized variable szTemp in
...
_dbg_ILSimpleGetText, make _dbg_ILSimpleGetText return no value since
nobody is using it.
- Stop dereferencing a possible NULL in pdump since
_dbg_ILGetDataPointer can potentially return NULL (for instance for
root or desktop pidl).
- Make shdebugstr_guid use standard wine_dbg_sprintf instead of the
handmade solution.
2005-09-08 18:54:03 +00:00
Michael Jung
c72d13291a
Removed two todo_wine's around tests that meanwhile succeed on wine.
2005-09-07 13:28:49 +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
Michael Jung
937441b3ac
Don't clone pidlLast in SHBindToParent.
2005-09-07 09:22:49 +00:00
Saulius Krasuckas
28f0c36036
SHELL32.ILFindLastID is exported by ordinal.
2005-09-06 14:05:07 +00:00
Juan Lang
9cbe48f80c
Fix a test failing on Windows. Reported by Katerina Nizhnik.
2005-09-03 09:37:15 +00:00
Kevin Koltzau
95a173a52b
Fix warnings in 64bit.
2005-09-02 11:32:17 +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
da953161fd
Clone pidlLast before free'ing pidl after call to SHBindToParent.
2005-08-29 21:46:02 +00:00
Michael Jung
3676640e64
Added test to show that Windows does not allocate a new pidl in
...
SHBindToParent.
2005-08-29 21:45:49 +00:00
Michael Jung
060bfac706
Use StringFromGUID2 instead of StringFromCLSID in
...
UNIXFS_is_rooted_at_desktop.
2005-08-29 21:45:31 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Michael Jung
b0b4777422
Implemented 'My Documents' folder.
2005-08-26 10:05:34 +00:00
Michael Jung
868921648f
Added some tests for CLSID_FolderShortcut objects.
2005-08-23 09:37:59 +00:00
Mike McCormack
f49f36f9eb
Fix gcc 4.0 warnings.
2005-08-23 09:37:30 +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
Mike McCormack
eafa666bee
Fix some gcc 4.0 warnings.
2005-08-22 09:26:53 +00:00
Saulius Krasuckas
94feee327b
Make file operations succeed on Win9x too.
2005-08-22 09:14:35 +00:00
Michael Jung
b6d97d5654
Added stubbed implementation of IPersistPropertyBag interface.
...
Register unixfs as CLSID_FolderShortcut.
2005-08-19 13:58:52 +00:00
Jason Edmeades
602f0c10c7
Handle context menu->refresh, and F5 to initiate a refresh of the file
...
dialog.
2005-08-19 10:02:51 +00:00
Jason Edmeades
c1cd0d22e0
Add the time to the file display dialog modified column.
2005-08-19 10:01:25 +00:00
Michael Jung
f9fd061e95
Implemented IPersist::GetClassID.
2005-08-19 10:01:07 +00:00
Alexandre Julliard
702c959c7b
Added missing ntdll imports.
2005-08-18 10:59:47 +00:00
Francois Gouget
5b5e5086d7
Test "%l" and "%L". At the same time this tests alternate verbs.
...
Test %1, %l and %L with no quotes.
test->todo is a bitmask so fix the checks accordingly.
2005-08-18 10:47:53 +00:00
Francois Gouget
0b5cc286e3
Fix ShellExecute("\"foo.doc\"") for Internet Explorer 6.
...
Update the conformance tests accordingly.
Tweak a trace because it's very confusing to see the path with no
escaped quotes in ShellExecuteA() and then with escaped quotes in
ShellExecuteExW32() (due to debugstr_w()).
2005-08-17 09:53:30 +00:00
Francois Gouget
7f65f6a4e2
Dynamically load StrRetToBufW(). This lets shell32_test.exe run on
...
systems that have version 4.72 of shlwapi.dll.
2005-08-16 19:29:40 +00:00
Francois Gouget
1fddb3ff20
Verify the parameters received by the child process using code lifted
...
from kernel32/tests/process.c.
Test passing parameters to .lnk files that point to an executable.
2005-08-16 19:29:27 +00:00
Michael Jung
2fac564cc5
Remove "initguid.h" include from shellpath test.
2005-08-16 16:00:07 +00:00
Ge van Geldorp
75139a3e01
Fix resource leak on error paths.
2005-08-15 14:50:18 +00:00
Mike McCormack
61aabd66f5
Warning fixes for gcc 4.0.
2005-08-15 10:49:39 +00:00
Saulius Krasuckas
6400c8e3dd
Fix some SHGetSpecialFolderPathA exceptions on WinME:
...
- pass pointer to valid buffer as lpszPath.
- disable check passing NULL as lpszPath.
2005-08-15 10:22:56 +00:00
Alexandre Julliard
640bf7c6e8
Authors: Michael Jung <mjung@iss.tu-darmstadt.de>, Ge van Geldorp <gvg@reactos.com>
...
- Prepend Desktop folder path for files/directories stored in the
filesystem Desktop folder when GetDisplayNameOf is called with the
SHGDN_FORPARSING flags.
- Add testcases.
2005-08-15 09:41:58 +00:00
Saulius Krasuckas
7be2cd973c
XP returns E_INVALIDARG on failure.
2005-08-15 09:40:45 +00:00
Saulius Krasuckas
68d4ca1f6a
Win98 returns HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)) on failure.
2005-08-12 10:33:37 +00:00
Michael Jung
e4d2ef4559
Use wine_get_dos_file_name instead of GetFullPathName.
2005-08-12 10:32:47 +00:00
Francois Gouget
df6ed2f4e8
Fix the return value of SHELL_Argify() so it once again returns true
...
if a '%1' or equivalent placeholder was found. This fixes
ShellExecuteEx(lpFile="foo.txt", lpClass="txtfile").
2005-08-11 17:04:31 +00:00
Steven Edwards
c8857c0786
Correct definition of SFGAO_STORAGEANCESTOR.
2005-08-11 10:33:21 +00:00
Francois Gouget
efe2bbd0ec
Fix handling of SEE_MASK_CLASSNAME and SEE_MASK_CLASSKEY. They are not
...
disjoint flags.
2005-08-11 10:29:44 +00:00
Alexandre Julliard
78340756f3
Use ERR instead of DPRINTF in dump_pidl_hex.
2005-08-09 20:48:17 +00:00
Saulius Krasuckas
c3760e7de1
Remove trailing backslash.
2005-08-08 18:03:47 +00:00
Alexandre Julliard
d37f0abf07
Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
...
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Saulius Krasuckas
843314ed9a
Wine and NT4 returns E_FAIL on failure.
2005-08-08 11:04:30 +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
Mike McCormack
bc4a576a06
gcc 4.0 RegSetValueEx warning fixes.
2005-08-03 11:03:44 +00:00
Saulius Krasuckas
60f2d44e1f
Added test for IShellFolder_ParseDisplayName.
2005-08-02 14:41:51 +00:00
Jozef Stefanka
3a29a309a4
Fixed browsing to other directories in Word 2003 file open
...
dialog. Double clicking on a folder in the File->Open dialog works
now.
2005-07-30 19:03:32 +00:00
Alexandre Julliard
b1a9701bb5
Replace the _ICOM_THIS_From macros by inline functions the way it's
...
already done in shelllink.c.
2005-07-27 11:10:52 +00:00
Alexandre Julliard
89cbfd8fac
Get rid of the _ICOM_THIS macros and call the inline function
...
directly instead.
2005-07-26 20:02:25 +00:00
Alexandre Julliard
b8d3075d83
Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
...
duplicate typedefs.
2005-07-26 18:32:53 +00:00
Paul Vriens
5b325a6d15
Skip test that crashes on W2K/WinXP/W2K.
2005-07-24 17:12:06 +00:00
Francois Gouget
5179aa1bae
Get started testing ShellExecute().
2005-07-24 16:26:53 +00:00
Vincent Béron
05b2c1cc81
Remove multiple declarations of the same function, keeping the public
...
one as reference.
2005-07-24 16:17:28 +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
Michael Jung
47c0906369
Only initialize shell folders via the IPersistFolder3 interface in
...
SHELL32_CoCreateInitSF if the pidl which specifies the child is of
type 'Folder'. Otherwise fall back to IPersistFolder.
2005-07-20 10:29:05 +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
ff23dd29be
Release shell folders only if they were successfully acquired.
2005-07-18 13:13:05 +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
Detlef Riekenberg
a7a6927d9b
Printers_RegisterWindowW / Printers_UnregisterWindow implemented as
...
stub.
Show the FIXME in Printer_LoadIconsW only when needed.
2005-07-11 18:02:20 +00:00
Francois Gouget
28dc5a8afc
Assorted spelling fixes.
2005-07-11 10:59:41 +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
5dd3e48154
Release parent shell folder in GetAttributesOf.
2005-07-11 10:23:56 +00:00
Michael Jung
433197172d
Fail in SHGetDataFromIDList when called on special folder.
2005-07-08 14:18:32 +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
Mike McCormack
d7b9a23afd
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-06 19:08:05 +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
Detlef Riekenberg
b6b4787e95
Printer_LoadIconsW: implemented minimal version.
2005-07-05 20:59:35 +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
Marcelo Duarte
af80bbe701
Update shell32 resources for Portuguese.
2005-07-05 10:59:11 +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
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Robert Shearman
d5714dfc50
Implement ShellDDEInit.
2005-06-30 20:45:57 +00:00
Michael Jung
7110f82795
Register unixfs at desktop level in DllRegisterServer.
2005-06-30 11:00:03 +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
Saulius Krasuckas
5678f65c07
Prepare for adding new tests.
...
- Put OleInitialize and OleUninitialize in the main block.
- Move test_BindToObject before test_EnumObjects_and_CompareIDs.
2005-06-30 10:23:14 +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
Vitaliy Margolen
eed690f973
ILFree is not available on all versions.
2005-06-29 11:00:59 +00:00
Aric Stewart
b152076d3b
Fix the BrowseForFolder dialog so that when it does the callbacks it
...
uses the correct message instead of always sending BEFM_INITIALIZED.
2005-06-27 18:46:47 +00:00
Michael Jung
ad6bac918c
Precisely compute the necessary pidl length in UNIXFS_path_to_pidl.
2005-06-27 18:46:36 +00:00
Saulius Krasuckas
c48c3abd92
Additional test cases for IShellFolder_BindToObject.
2005-06-27 09:41:48 +00:00
Michael Jung
114975d937
Fix a lurking infinite loop in SHGetPathFromIDList.
2005-06-25 18:32:17 +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
11cadc368a
Support for shellfolder's CallForAttributes registry value.
2005-06-25 17:55:53 +00:00
Michael Jung
bb562118c0
Added tests for ShellFolder's CallForAttributes value.
2005-06-24 11:33:35 +00:00
Alexandre Julliard
f84401aa17
Sort entry points in the same order as Windows.
2005-06-23 09:57:11 +00:00
Saulius Krasuckas
77577822e3
- Move test init code back to START_TEST(shlfolder).
...
- Move creation and cleanup of a test-folders nearer to
test_EnumObjects.
2005-06-22 18:04:04 +00:00
Saulius Krasuckas
b98a26853c
Cleanup the shlfolder test a bit more.
2005-06-21 20:04:17 +00:00
Michael Jung
8765e4a522
Propagate the root folder's attributes to the registry.
2005-06-21 09:42:38 +00:00
Vitaly Lipatov
b39c3981c2
- Realize DoEnvironmentSubstA via ExpandEnvironmentStringsA.
...
- Fix types and return values.
- Add prototype into shellapi.h.
2005-06-20 15:33:48 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +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
Stefan Leichter
fcd6764928
Make shell32 tests loadable on NT4.
2005-06-20 10:31:14 +00:00
Mike McCormack
383302c11e
Make functions static.
2005-06-20 10:30:15 +00:00
Francois Gouget
6394a15314
Assorted spelling fixes.
2005-06-17 20:59:49 +00:00
Francois Gouget
9769816b6e
Fix winapi_check documentation warnings.
2005-06-17 20:58:33 +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
Marcus Meissner
96ebd31066
ExtractAssociatedIconA needs to allocate enough space to have EAIW
...
fill in lpIconPathW.
2005-06-17 09:52:33 +00:00
Mike McCormack
4d2d627c3f
- forward AddRef, Release, QueryInterface and GetClassID to internal
...
implementations
- implement GetClassID properly
2005-06-16 10:43:50 +00:00
Mike McCormack
64a3b82831
SHCreateStreamOnFileW is implemented in shlwapi, so we don't need
...
another implementation in shell32.
2005-06-16 09:46:17 +00:00
Mike McCormack
0a44661d6f
Switch IShellLink to use shlwapi.SHCreateStreamOnFileW.
2005-06-16 09:46:05 +00:00
Michael Jung
e5ef9dd8dc
Test GetAttributesOf on the MyComputer shellfolder.
2005-06-16 09:44:50 +00:00
Michael Jung
e2dbc8044a
Added tests for SHGetPathFromIDList.
2005-06-15 18:07:55 +00:00
Huw Davies
47db6bc567
Unquote the icon file path if it's quoted.
2005-06-15 18:07:43 +00:00
Mike McCormack
c62940a1ac
Remove some uses of wine/unicode.h functions.
2005-06-15 10:21:46 +00:00
Michael Jung
ebb1aaee86
Implement SHGetPathFromIDList based on GetDisplayNameOf.
2005-06-15 10:20:00 +00:00
Michael Jung
8b4b4b3af2
Replace magic error constant.
2005-06-14 19:18:26 +00:00
Michael Jung
81b7509f3b
Use SHGetPathFromIDList instead of SHELL32_GetPathFromIDList.
2005-06-14 19:17:41 +00:00
Michael Jung
bb19a58a93
Return the correct attributes for the desktop folder.
...
Corresponding tests.
2005-06-14 18:10:24 +00:00
Michael Jung
5664a68033
Added tests to compare SHGetPathFromIDList and GetDisplayNameOf.
2005-06-14 17:21:25 +00:00
Mike McCormack
215bd9a70b
Add the IContextMenu interface to the ShellLink object.
2005-06-14 11:38:55 +00:00
Mike McCormack
0569609e3d
Implement ShellLink's IShellExtInit::Initialize() method.
2005-06-13 19:04:17 +00:00
Mike McCormack
d4eb4f54ed
- add the IShellExtInit interface to the ShellLink object
...
- use inline functions rather than macros to resolve the
implementation pointer from an interface pointer
2005-06-13 11:50:09 +00:00
Michael Jung
71404a7372
Set the FILESYSANCESTOR and FILESYSTEM flags correctly in
...
GetAttributesOf.
2005-06-10 19:31:59 +00:00
Saulius Krasuckas
83ac47e53c
Get current directory during tests on win9x too.
2005-06-09 12:05:50 +00:00
Mike McCormack
fa1b7822a5
Add the IShellLinkDataList interface to the ShellLink object.
2005-06-09 12:05:38 +00:00
Mike McCormack
8e2cb0835c
Add a cast to get rid of a warning.
2005-06-09 09:46:23 +00:00
Michael Jung
d1f59dba67
Use shell icon cache instead of an own IExtractIcon implementation.
2005-06-09 09:43:18 +00:00
Mike McCormack
b64186ad22
Warning fixes for -Wmissing-declarations and -Wwrite-strings.
2005-06-07 20:30:30 +00:00
Juan Lang
ab88fd34dc
Const-ify a mask.
2005-06-07 20:03:39 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +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
38f2ee9d04
Let BindToObject fail, if called with empty relative pidl.
...
Tests to show that it should do so.
Fix SHBrowseForFolder to not pass an empty pidl to BindToObject.
2005-06-06 10:04:15 +00:00
Juan Lang
4571d0187f
Set default for "My Documents" to $HOME, and "Desktop" to ~/Desktop.
2005-06-02 19:39:24 +00:00
Mike McCormack
4c6149ee0c
Eliminate some -Wwrite-strings warnings.
2005-06-01 11:04:26 +00:00
Stefan Dösinger
ea18de5f58
*Handle cidl==0 in shfldr_desktop, shfldr_fs and shfldr_mycomp.
...
*Remove the dwAttributes member from the IGenericSFImpl class, it's
not needed and can't be initialised in Initialize and InitializeEx.
2005-05-26 16:09:12 +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
Alexandre Julliard
aebb745488
Comment out stub WEP entry points so that we can call WEP for builtin
...
dlls too.
2005-05-23 10:12:26 +00:00
Alexandre Julliard
0ddd30b0b6
Removed unnecessary code in the 16-bit DllEntryPoint function of some
...
dlls, and also fixed its ordinal in a few places.
2005-05-23 10:00:26 +00:00
Michael Jung
82ed0ce999
Consider only the GIL_FORSHORTCUT flag in SIC_CompareEntries.
2005-05-20 18:58:35 +00:00
Kouji Sasaki
c1f2824429
Added the processing for determination of SFGAO_HASSUBFOLDER flag in
...
SHELL32_GetItemAttribute function.
2005-05-18 09:43:39 +00:00
Juan Lang
f12eadf7bf
- only log unsupported flags in ShellExecute
...
- environment variables are expanded, so SEE_MASK_DOENVSUBST is
supported
2005-05-14 11:06:54 +00:00
Ge van Geldorp
40cb98269b
Overlay icons for .lnk files with a small arrow in the lower left
...
corner.
2005-05-13 17:48:33 +00:00
Mike McCormack
3e2cb75349
Remove some unused include files.
2005-05-13 13:59:15 +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
Mike McCormack
1ae212a105
Split SHGetFileInfoW into two functions.
2005-05-12 09:56:48 +00:00
Michael Lin
9bd101d012
- Implement IPersistFolder2.
...
- Retrieve the correct attributes in ParseDisplayName().
2005-05-12 09:56:04 +00:00
Juan Lang
2439b5fdda
Fixes to IShellFolder::GetAttributesOf implementations, spotted by
...
silverblade_:
- a count of zero is allowed to GetAttributesOf if apidl is NULL
- SFGAO_VALIDATE must be cleared upon return
2005-05-10 08:28:11 +00:00
Mike Hearn
25abe7c537
Fix SHELL_GetPathFromIDList[AW] to return the desktop path given an
...
empty PIDL.
2005-05-10 08:27:23 +00:00
Michael Jung
ea3793b79d
Support folder relative paths in UnixFolders' ParseDisplayName
...
method.
2005-05-09 19:33:01 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Michael Jung
3a117bccd8
Always pass fully qualified paths to stat system call.
2005-05-09 09:26:02 +00:00
Huw Davies
da13552c55
It makes no sense to have a left pointing arrow as the desktop icon.
...
Replace it with something more appropiate.
2005-05-09 09:25:28 +00:00
Robert Lunnon
f4949b8d80
Make references to NAME_MAX refer to PATH_MAX instead.
2005-05-07 14:50:00 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +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
Michael Jung
15934680f7
Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption.
2005-05-06 19:33:06 +00:00
Michael Jung
94e5f01275
Display a drive icon for the unix root directory.
2005-05-06 19:32:54 +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
Francois Gouget
f5c9da6860
Assorted spelling fixes.
2005-05-06 15:44:31 +00:00
Michael Jung
45bcdd2be1
Fixed GetDisplayNameOf method to not depend on incorrect behaviour
...
regarding the SHGDN_INFOLDER flag.
2005-05-05 10:30:51 +00:00
Michael Jung
ddc26aa94e
Fixed MyComputer's GetDisplayNameOf method.
2005-05-05 10:30:39 +00:00
Mike McCormack
2b2c6f2fba
Remove static variables in SHBrowseForFolder implementation.
2005-05-04 09:48:15 +00:00
Mike McCormack
95a58eba7d
Split up the window procedure.
2005-04-28 18:26:58 +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