Alexandre Julliard
d37a119ee6
shell32: Fixed a couple of FindFirstFile handle leaks.
2006-01-27 15:48:29 +01:00
Mike McCormack
4b17a9faae
shell32: Export DllGetClassObject by ordinal as grpconv.exe requires it.
2006-01-23 11:23:33 +01:00
James Hawkins
1be970d485
shell32: Reimplement a factored SHFileOperation.
2006-01-23 11:22:59 +01:00
Huw Davies
51fd750707
shell: Fix incorrect usage of the return value of StrRetToStrNW.
2006-01-20 20:17:07 +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
Michael Jung
db7a3a352e
shell32: Support for CLSID_ShellFSFolder in unixfs.
2006-01-17 15:58:52 +01:00
Robert Shearman
d9d9d7e897
shell: GetDetailsOf fix.
...
Initialise hr and psd->str.uType before the call to
IShellFolder_GetDisplayNameOf so that whatever it returns is
preserved.
2006-01-16 21:32:06 +01:00
Robert Shearman
f8782733f3
shell: Convert the filesystem shell folder to Unicode.
2006-01-16 21:31:48 +01:00
Robert Shearman
50c1e46d18
shell: Convert SHELL32_GetDisplayNameOfChild to unicode.
2006-01-16 21:31:10 +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
Vitaliy Margolen
a5074584a8
shell32: Fix cut & paste error.
2006-01-14 17:06:03 +01:00
Ge van Geldorp
a8d1e6e068
shell32: Fix directory execution.
...
Only use the Folder class handler if we're actually executing a
folder.
2006-01-12 13:31:45 +01:00
Martin Fuchs
73096db501
shell32: MSVC compatibility fix in dump_pidl_hex().
2006-01-12 13:29:21 +01:00
Robert Shearman
d11069f8bb
shell: Fix view window Z order.
...
After creating the Shell View window we should call SetWindowPos to
move the window on top of other child windows in the parent window.
Also delay the showing of the window so that we can do more
initialisation after window creation without it causing visual
artifacts.
2006-01-12 11:54:03 +01:00
Martin Fuchs
7114f8c3bd
shell32: Fix folder icon index when read from registry.
...
Change "DWORD dwNr" into "int icon_idx" at several places.
2006-01-11 12:33:24 +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
YunSong Hwang
dc8c6bb90b
shell32: Update the Korean translation.
2006-01-09 17:17:20 +01:00
Alexander N. Sørnes
22ce9a6653
shell32: Updated Norwegian Bokmål resources.
2006-01-09 17:17:09 +01:00
Anssi Hannula
17f0fcc776
shell32: Spelling fixes for the Finnish resource.
2006-01-06 12:16:22 +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
Vitaliy Margolen
5e3df98294
shell32: Update Russian resources.
2006-01-04 14:48: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
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
Michael Jung
2a788026a3
Fixed incorrect IShellFolder::EnumOjects API usage.
2005-04-22 19:07:00 +00:00
Mike McCormack
5960e7c93c
MSI advertised shortcuts don't require a product ID.
2005-04-22 19:06:12 +00:00
Peter Berg Larsen
56c34e1b2c
Rewritten DoEnvironmentSubst16.
2005-04-21 17:14:39 +00:00
Francois Gouget
4527aae24f
Assorted spelling fixes.
2005-04-19 09:49:38 +00:00
Troy Rollo
98d336c363
Fix SEGV for non-fully-qualified destination paths.
...
Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed.
2005-04-19 09:49:05 +00:00
Francois Gouget
3b36eee083
Add trailing '\n's to ok() calls.
2005-04-19 09:48:44 +00:00
Peter Berg Larsen
6e3bcb5a54
Replace strncpy with memcpy or lstrcpyn.
2005-04-18 10:30:55 +00:00
Huw Davies
7ac969d560
When we're hiding file extensions then SetNameOf should append the
...
original extension if SHGDN_FORPARSING isn't set.
The flags passed to SetNameOf refer to the dst string not the src
pidl.
2005-04-15 16:11:45 +00:00
Martin Fuchs
d3b5018275
Correct comments of some export ordinals.
2005-04-13 15:17:16 +00:00
Huw Davies
0e5b772cdc
Add a unicode pidl type.
...
Improve support for PT_YAGUID.
Improve IShellLink debugging.
2005-04-13 14:39:27 +00:00
Steven Edwards
ad7f4daf35
Register Shell Drag and Drop Helper.
2005-04-13 11:07:49 +00:00
Michael Jung
9a4f552f2f
Implemented the UnixFolder's IShellFolder2::CompareIDs method.
2005-04-13 11:01:10 +00:00
Huw Davies
be428abd3e
Better icon handling for some special folders.
...
Identify and add defines for a bunch of shell icons.
2005-04-12 12:00:40 +00:00
Michael Jung
d1f1d34c2b
Implemented enough of IShellFolder2 to make UnixFolder work within the
...
open/save-dialogs.
2005-04-12 11:58:05 +00:00
Huw Davies
52cf1992ea
If ICommDlgBrowser_OnDefaultCommand returns anything other than S_OK
...
then we should call the default handler.
2005-04-12 10:16:35 +00:00
Juan Lang
7376f57c30
Use Unicode string result from GetDisplayNameOf if it isn't
...
representable using ANSI.
2005-04-12 10:15:29 +00:00
Huw Davies
8dabf51d39
Directory items should have the SFGOA_FILESYSANCESTOR attribute.
...
Add a test for this and cleanup the shlfolder test a bit.
2005-04-11 18:50:01 +00:00
Huw Davies
861282bf28
Fix the icon resource ids (most were off by one).
...
Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource
ids and fix bugs relating to confusion between resource ids and the
system imagelist indicies.
Extend the system imagelist initialization hack to load both +ve and
-ve resource ids.
Add a printer icon (that'll be used by an upcoming printer folder
patch).
2005-04-11 13:04:41 +00:00
Mike McCormack
7340a357ba
Fix up PIDL dumping code.
2005-03-31 10:05:59 +00:00
Francois Gouget
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Mike McCormack
a5cb5a2ab3
Use api definitions, remove duplicate code.
2005-03-27 17:54:48 +00:00
Paul Vriens
0b3b35116a
Print retval in decimal to avoid confusion.
...
NT4 fails with ERROR_INVALID_TARGET_HANDLE instead of
ERROR_REDIR_PAUSED.
Use some correct messages on error.
Extra tracing.
2005-03-25 20:47:50 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Jakob Eriksson
4fead33f30
If the device gets interrupted, we just give up.
2005-03-22 21:16:24 +00:00
Jakob Eriksson
b718b0b019
StrRetToStrNAW returns ok on NT4, though it should return FALSE.
2005-03-22 18:19:13 +00:00
Mike McCormack
17c3106896
Eliminate casts of the return value of HeapAlloc.
2005-03-21 11:25:13 +00:00
Mike McCormack
fd40ace3d3
Fix usage of STGM_ enumerations, remove forward declaration.
2005-03-19 17:09:14 +00:00
Mike McCormack
2597b1beca
Remove forward declarations of interface methods.
2005-03-19 17:09:03 +00:00
Mike McCormack
b7cc006c33
Remove an unused function.
2005-03-19 17:08:52 +00:00
Jon Griffiths
dbf222f3aa
Use LMEM_ flags for LocalAlloc(), not GMEM_ (GlobalAlloc).
2005-03-17 20:53:37 +00:00
Aric Stewart
984931bd09
For ShellExecuteExA we need to copy out the hProcess value from the W
...
structure.
2005-03-17 20:50:53 +00:00
Mike McCormack
4098dc64ca
Remove some dead code and some ifdefs.
2005-03-17 18:55:49 +00:00
Mike McCormack
c9bd224f0f
Fix a regression in the file open dialog.
2005-03-17 18:55:16 +00:00
Mike McCormack
b12ce9b446
Convert path to unicode, rearrange to remove forward declaration.
2005-03-17 13:57:38 +00:00
Filip Navara
9f2bbd6566
_dbg_ILGetNext returns NULL if pidl->mkid.cb is zero, fix the loops
...
accordingly.
2005-03-16 19:51:13 +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
Martin Fuchs
824353d01b
- switch to correct shell desktop context menu
...
- launch desk.cpl when activating the desktop context menu entry
"properties"
- don't send WM_COMMAND if we didn't get a shell view window
2005-03-14 10:49:03 +00:00
Michael Jung
015d2a4dbe
Beginning of a shell namespace extension to browse the unix
...
filesystem.
2005-03-09 16:41:17 +00:00
Dimitrie O. Paun
c02dd0a902
Add support for .exe's with exported functions.
2005-03-08 16:55:26 +00:00
Mike McCormack
2c8367a3de
Use lstrcmpiA in preference to strcasecmp.
2005-03-07 11:05:03 +00:00
Huw Davies
5be005b0d5
Don't prepend '\\' to the subkey name.
2005-03-03 13:52:06 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Juan Lang
316df99bf9
Convert more API calls to Unicode.
2005-03-02 10:16:41 +00:00
Michael Jung
6bc9999e08
Fixed parsing of ITEMIDLIST in InitializeTreeView.
...
Added some documentation.
Fixed a crash occuring when the user double-clicks a leaf item.
2005-03-01 11:45:32 +00:00
Juan Lang
88cf8ce5ac
Convert tabs to space, wrap long lines, make indenting consistent.
2005-03-01 10:41:14 +00:00
Juan Lang
b7dac96974
Convert a few calls to Unicode.
2005-02-26 17:41:26 +00:00
Mike McCormack
64c3208e10
- implement loading and saving of MSI advertised shortcut info
...
- make more test cases pass
- read and write the location block
- improve the binary compatibility of lnk files
2005-02-25 16:19:57 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +00:00
Mike McCormack
d68294f06f
Remove tabs and reformat.
2005-02-23 15:41:39 +00:00
Francois Gouget
d95630ebf3
Add the -noname flag to match the Platform SDK.
2005-02-23 15:41:14 +00:00
Mike McCormack
f8a4f6b59b
- handle IFileSystemBindData in ISF_Desktop_fnParseDisplayName
...
- more Unicode conversion
2005-02-23 12:45:12 +00:00
Francois Gouget
14de57089e
Don't hardcode ordinals if which are not hardcoded on Windows.
2005-02-23 12:44:43 +00:00
Mike McCormack
3b2019badb
Make lstr* functions inline inside Wine.
2005-02-22 15:50:13 +00:00
Mike McCormack
0d735ac9be
- handle IFileSystemBindData in IShellFolder::ParseDisplayName
...
- convert IShellFolder::ParseDisplayName to use Unicode
2005-02-22 15:47:21 +00:00
Mike McCormack
3d9ba61478
Cleanup, create unicode versions of _ILCreateFromPath,
...
_ILCreateGuidFromStr, and _ILCreateFromFindData.
2005-02-22 14:50:35 +00:00
Hans Leidekker
2294e30dd4
- Revert wrong -noname markup for Drag*, DoEnvironmentSubst and
...
SHGetNewLinkInfo{A,W}.
- Also mark stub exports -noname when they are exported by ordinal
only on win98/2k.
- Implementation level stubs for SheChangeDirA, SheGetDirA,
SHHelpShortcuts_RunDLL{A,W}.
- New spec file stubs for Control_RunDLLAsUserW,
FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume,
SHCreateProcessAsUserW, SHExtractIconsW,
SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline,
SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W},
ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}.
2005-02-21 18:37:33 +00:00
Mike McCormack
59ce35aba8
Remove tabs and make formatting consistent.
2005-02-21 18:36:47 +00:00
Hans Leidekker
c6806cd204
Mark exports -noname when they are exported by ordinal only on
...
win98/2k.
2005-02-18 20:13:01 +00:00
Dmitry Timoshkov
9074f257e0
Convert winemenubuilder to unicode.
2005-02-17 11:51:44 +00:00
Joris Huizer
e889f71269
- renamed file_operation_delete and to shfileops_delete
...
- renamed file_operation_checkFlags to shfileops_check_flags
- added helper function shfileops_do_operation()
- added helper function shfileops_get_parent_attr()
- added helper function shfileops_get_parent_attr2()
- various cleanups in SHFileOperationW using these functions
2005-02-17 11:50:25 +00:00
Alex Villacís Lasso
18bfe6a095
Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
...
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Huw Davies
084e596a95
SetPath("") should return S_OK.
...
SetPath("nonexistent_path") should return S_FALSE.
2005-02-16 16:27:42 +00:00
Dmitry Timoshkov
39f960bdfa
- Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
...
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Mike McCormack
af882e0e41
Reindent some code to improve readability.
2005-02-15 20:45:53 +00:00
Mike McCormack
a830bf55ca
Define some extra SHFGI values.
2005-02-15 15:43:54 +00:00
Francois Gouget
208df0eb52
Test the interaction between IShellLink::SetIDList() and
...
IShellLink::SetPath().
Check what default values one gets on a fresh IShellLink object.
Add some more tests verifying nothing is lost in an IShellLink
save/load cycle. Merged the empty shelllink test with these.
2005-02-14 11:52:29 +00:00
Marcelo Duarte
574c0edabb
Update the resources for Portuguese.
2005-02-14 11:12:30 +00:00
Marcus Meissner
30ed10004b
Output some more informations.
...
Mark one global variable static.
2005-02-14 11:07:55 +00:00
Filip Navara
4d20d165ff
Don't crash if ShellFolder doesn't implement the IID_ISFHelper
...
interface.
2005-02-14 11:06:48 +00:00
Ge van Geldorp
a912c2a885
Error numbers >= 32 are to be expected.
2005-02-14 11:03:21 +00:00
Francois Gouget
4d801b66e6
Assorted spelling fixes.
2005-02-10 19:19:35 +00:00
Ge van Geldorp
9cc5e6cd03
- Fix quoting of .cpl filename.
...
- Use "cplopen" verb to execute .cpl files.
2005-02-09 13:25:13 +00:00
Francois Gouget
da8b3dd7f2
Assorted spelling fixes.
2005-01-26 21:09:04 +00:00
Mike McCormack
18fb9ace14
Implement GetAdvise and SetAdvise.
2005-01-21 10:16:11 +00:00
Henning Gerhardt
e34aac5038
A small spelling fix and a small update (thank to Andreas Mohr).
2005-01-17 19:32:58 +00:00
Henning Gerhardt
038c5cbcbf
Update German resources.
2005-01-17 13:43:16 +00:00
Joris Huizer
2d58a624dd
- add file_operation_delete
...
- add file_operation_checkFlags
- use these in SHFileOperationW replacing inline code
2005-01-14 16:51:14 +00:00
James Hawkins
ba92d2924a
- Use Interlocked* instead of ++/-- in AddRef/Release.
...
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Klemens Friedl
a4d4652dd1
Update German language file.
2005-01-14 15:13:56 +00:00
Robert Shearman
3dad1f9043
Don't sort the children of My Computer in shell browse for folder
...
dialog.
2005-01-11 10:40:14 +00:00
Eric Pouech
cf1d00bb08
Removed excessive statement (break after return or goto, not useful
...
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Hans Leidekker
c1236fd120
Stub implementations for SHUpdateImageA, SHHandleUpdateImage,
...
SHObjectProperties, SHGetNewLinkInfo{A,W}, SHStartNetConnectionDialog,
SHEmptyRecycleBin{A,W}, SHFormatDrive, SHQueryRecycleBin{A,W}.
'HeapAlloc can fail' fix for ExtractIconExA.
Implement ExtractAssociatedIconA -> W.
Correct prototype for SHObjectProperties.
Forward SHGetNewLinkInfo to SHGetNewLinkInfoA.
2005-01-03 20:26:06 +00:00
Jacek Caban
76d4edf1f0
Get rid of W->A call.
2005-01-03 14:39:08 +00:00
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Alexandre Julliard
758b2887e9
Remove some no longer needed AW functions.
2004-12-17 19:20:07 +00:00
Rein Klazes
71e322b29f
ShellExecuteEx, ExtractIconEx, SHFileOperation, SHGetFileInfo,
...
SHGetPathFromIDList spec entries always refer to the Ansi
version. Problem found by Paul Vriens.
2004-12-17 19:05:46 +00:00
Jon Griffiths
f82272c92f
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-16 14:35:55 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
José Manuel Ferrer Ortiz
7a03fd6763
Added some Spanish translations.
2004-12-09 13:44:20 +00:00
Klemens Friedl
586930973d
More Windows-like About dialog.
2004-12-09 11:39:31 +00:00
Robert Shearman
cba8763c33
Remove unnecessary WNDPROC casts.
2004-12-06 11:51:29 +00:00
Stefan Leichter
9cc5c15795
Fix missing imports of the test program on NT4.
2004-12-06 11:45:13 +00:00
Juan Lang
d179f8be8c
Revert shell32 version to Win2K SP4 level.
2004-12-06 11:34:07 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Tom Wickline
5c38e1b561
Version resources cleanup.
2004-11-23 13:59:34 +00:00
Alexandre Julliard
405568801e
Removed a couple of no longer needed entries.
2004-11-19 18:28:05 +00:00
Robert Shearman
18988663c2
- Use more specific error codes than E_FAIL, where possible.
...
- Move vtable to end, give it the const modifier, and remove unneeded
function declarations.
2004-11-19 18:14:47 +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
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
Juan Lang
a78b4981ca
Added support for DLLVERSIONINFO2 in DllGetVersion.
2004-09-14 17:44:40 +00:00
Vitaliy Margolen
f609b68ea5
IShellFolder::CompareIDs - return only -1/0/1 in lower 16 bit.
2004-09-13 23:25:09 +00:00
Alexandre Julliard
314b99c48f
Removed some more uses of the non-standard ICOM_THIS macro.
2004-09-09 20:17:07 +00:00
Francois Gouget
c13638ee85
Fix c_parser.pm so it handles 'const' preceeding a '*'.
...
Add missing #pragma pack directives for the new shlobj.h types.
Fix some field names in CSFV and QCMINFO.
Update the generated tests to also check shtypes.h and test some more
types.
2004-09-07 22:46:26 +00:00
Alexandre Julliard
39a696a166
Removed some uses of the non-standard ICOM_THIS macro.
2004-09-06 20:34:29 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Robert Shearman
4188874ad5
- Add exports for missing ordinals 191-194.
...
- Stub for SHUpdateImageW.
2004-09-06 20:24:10 +00:00
Alexandre Julliard
b0394dea42
Get rid of the WINE_UNUSED macro.
2004-09-01 17:36:04 +00:00
Francois Gouget
3e2868b457
Don't export the shell32 SHAllocShared functions by name.
...
Implement them by calling out their shlwapi equivalent (which had a
much more complete implementation anyway).
Fix the prototype of shlwapi's SHAllocShared().
Don't crash if lpvData is NULL in SHAllocShared().
Add a conformance test to shlwapi.
2004-08-31 17:38:59 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Huw Davies
174e6a5d28
Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif.
2004-08-24 18:33:01 +00:00
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Aric Stewart
383de6efbc
Make sure exePath contains the path since it is used later in the
...
function as well.
2004-08-23 17:55:29 +00:00
Francois Gouget
310f093ac5
Moved declarations from undocshell.h to shlobj.h to match the latest
...
platform SDK.
2004-08-22 22:27:31 +00:00
Alexandre Julliard
25e2a320a7
Don't define BEGIN_INTERFACE in unknwn.h.
2004-08-22 21:38:46 +00:00
Huw Davies
0af47c8080
Unicodify a load of strings.
2004-08-20 19:57:50 +00:00
Francois Gouget
09747e50e7
Fix packing bug in shlobj.h.
...
Fix the declaration of bitfields so their layout matches what MSVC
generates.
Modify winapi_test to compute the bitfields size/alignment like MSVC
does.
Update the impacted generated.c files.
2004-08-20 19:33:17 +00:00
Aric Stewart
4133ed17d9
In IPersistFile_Save if the exe file is not found, trust the path we
...
are given and allow creation of the link.
2004-08-20 19:28:33 +00:00
Francois Gouget
68232c6c2f
Remove types that don't exist from tests.dat.
...
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Francois Gouget
466f5e79a8
Add new fields to the NOTIFYICONDATA structure so it matches the
...
latest platform SDK.
Update shell32/tests/generated.c. It now works when compiled with the
Windows headers.
2004-08-19 19:16:31 +00:00
Vincent Béron
6fae1ce6fd
Don't hardcode c:\windows paths in msi.dll.
2004-08-18 23:41:10 +00:00
Ge van Geldorp
225c8e6c57
Handle shell link files contained in double quotes.
2004-08-16 23:18:36 +00:00
Mike McCormack
22442cd880
Clean up messy comment in SHFileOperation.
...
Reduce the number of goto labels in SHFileOperation by one.
2004-08-16 19:57:05 +00:00
Francois Gouget
e69f38551e
Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros.
...
Add a couple base types that winapi_test does not know how to parse.
Fix a bug so that 'signed' and 'unsigned' are recognised as valid
types.
2004-08-16 19:46:09 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Alexandre Julliard
0467ce9fd7
Get rid of the non-standard ICOM_VFIELD macro.
2004-08-12 19:52:49 +00:00
Alexandre Julliard
616940eb9a
Get rid of the non-standard ICOM_DEFINE macro.
2004-08-12 03:33:30 +00:00
Alexandre Julliard
b459952144
Avoid some non-portable makefile constructs, and get rid of the
...
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Francois Gouget
522217c0e2
Remove LPFILESYSTEMBINDDATA as it's not defined in the standard
...
Windows headers.
2004-08-11 20:52:37 +00:00
Francois Gouget
bf72af30d0
Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
...
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Jon Griffiths
5f2e8b7f46
Delete the about dialog font when the dialog is closed.
2004-08-09 22:56:58 +00:00
Mike McCormack
9cd9cfd2ed
Use Heap function in preference to malloc/free.
2004-08-09 19:46:47 +00:00
Marcus Meissner
2e6e18bfbb
Marked some functions in debughlp as static.
...
Do not use REFIID as return, but IID*.
2004-08-09 18:49:42 +00:00
Jon Griffiths
42c8b413da
Don't leak cache imagelists on exit.
2004-08-06 18:58:18 +00:00
Filip Navara
3a6c9dc907
Destroy associated listview when IShellView is destroyed.
2004-08-04 18:16:27 +00:00
Jens Collin
ff3d644072
Use ShellExecute instead of CreateProcess in run dialog.
2004-08-02 18:48:21 +00:00
Filip Navara
06e9945f70
Add REST_NONLEGACYSHELLMODE policy.
2004-07-29 23:58:31 +00:00
Francois Gouget
f8e01efb3d
Assorted spelling fixes.
2004-07-23 23:02:09 +00:00
Marcelo Duarte
62d4adfffe
French translation and other adjustments.
2004-07-23 22:59:49 +00:00
Henning Gerhardt
68ade3b7ac
Minor fixes and updates to the German resource files.
2004-07-22 20:35:07 +00:00
Ivan Leo Puoti
0eb21bb4dd
Added Italian resources.
2004-07-22 19:45:00 +00:00
Marcelo Duarte
95f067d3cd
Update localization for Portuguese language.
2004-07-19 20:09:00 +00:00
Martin Fuchs
f045c9df81
Distinguish between Open and Explore commands.
...
Execute items by default.
2004-07-16 19:13:21 +00:00
José Manuel Ferrer Ortiz
e3cea2785b
Updated the Spanish shell32 translation and made some corrections to
...
other language files.
2004-07-12 20:44:33 +00:00
Marcus Meissner
ab7af13705
Fixed double applet = applet = assignment.
...
Removed sic_hdpa only used in 1 C file as static var.
Make VT_Shell_IMalloc32 and related variables static.
2004-07-12 19:50:56 +00:00
Alexandre Julliard
b74089091b
Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <gvg@reactos.com>
...
Implement MessageBox-based RestartDialog() and RestartDialogEx(), use
string resources for ExitWindowsDialog() to allow
internationalization.
2004-07-09 22:51:19 +00:00
Mike McCormack
75d8be030a
Fix a buffer overrun in autocomplete.
2004-07-04 00:11:07 +00:00
Ge van Geldorp
1b2a819075
Fix IFileSystemBindData method order.
2004-06-30 18:13:09 +00:00
Ge van Geldorp
c390bb2aea
Match prototypes to Platform SDK.
2004-06-28 20:32:53 +00:00
Royce Mitchell III
0d592611bd
Shell32 run dialog combobox should also have WS_TABSTOP style.
2004-06-21 23:54:19 +00:00
Robert Shearman
77b7f95716
Make ole32 a delay-load import of shell32.
2004-06-18 00:23:38 +00:00
Francois Gouget
1117e69c14
SHELL_ExecuteW() passes a Unicode environment to CreateProcessW() so
...
it must specify the CREATE_UNICODE_ENVIRONMENT flag. Also the
SHELL_ExecuteW32() functions will always be called with a Unicode
environment so adjust their prototype accordingly.
2004-06-15 18:27:50 +00:00
Dmitry Timoshkov
a98f0dffa6
Fix warnings introduced by my last patch.
2004-06-15 17:02:46 +00:00
Dmitry Timoshkov
d321561ba4
Restore default "open" functionality of ShellExecute.
2004-06-15 00:44:14 +00:00
Dmitry Timoshkov
7c1ae16431
Ignore DdeClientTransaction error in ShellExecute.
2004-06-14 19:32:32 +00:00
Dmitry Timoshkov
5567887fd3
Add support for quoting "file://%1" like format strings.
2004-06-14 17:54:24 +00:00
Ulrich Czekalla
d886064101
Implemented RealDriveType.
2004-06-14 16:56:39 +00:00
Ulrich Czekalla
ed3d86f9be
When we send out a notification to a registered window with
...
SHCNRF_NewDelivery, we should send a LPNOTIFICATIONLIST and the
process id of the caller.
2004-06-02 21:33:47 +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
Uwe Bonnes
63a4b203d7
Assume MAX_PATH length for pszDisplayName.
2004-05-27 20:01:56 +00:00
Ivan Leo Puoti
3e42f6953e
Changed my name, so update copyright info.
2004-05-27 02:25:13 +00:00
Stefan Leichter
c51c46bada
Moved stub of Control_FillCache_RunDLL from ascii to unicode.
2004-05-27 01:54:30 +00:00
Eric Pouech
df93f2eeee
GetModuleFileName[AW] doesn't terminate the string if the buffer is
...
too small.
2004-05-19 03:22:55 +00:00
Patrik Stridvall
070db4e5de
Fixed some issues found by winapi_check.
2004-05-17 21:08:31 +00:00
Ilya Korniyko
4943881d28
Encoding fixes in Ukrainian translation.
2004-05-10 19:54:10 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Maxime Bellengé
54d7cb60e1
Fix a string allocation.
2004-05-02 04:20:23 +00:00
Maxime Bellengé
77c7c61edd
- Fix the return key handling and clean up the code.
...
- Add support for quickComplete with Ctrl+Return.
2004-04-30 04:14:33 +00:00
Mike McCormack
0f6af2cee0
Stub implementation for SHFindFiles.
2004-04-29 20:01:38 +00:00
Ilya Korniyko
1c279bfd89
Added Ukrainian translations.
2004-04-26 23:35:17 +00:00
Dmitry Timoshkov
85ef456512
Fix the DDE PFNCALLBACK prototype.
2004-04-26 23:29:44 +00:00
Maxime Bellengé
e2a90d9d52
Implemented the ACO_AUTOSUGGEST, ACO_AUTOAPPEND, ACO_UPDOWNKEYDROPSLIST
...
styles.
2004-04-26 20:06:24 +00:00
Dmitry Timoshkov
61daaf8bd3
Fix a bug in ShellExecute which called DdeCreateStringHandleW with a
...
wrong parameter. Revert previous erroneous fix.
2004-04-23 21:32:17 +00:00
Huw Davies
180045676b
DdeClientTransaction returns zero on error.
2004-04-22 23:46:35 +00:00
Francois Gouget
8fc374d8b4
Make Unicode strings 'static const'.
2004-04-20 02:14:00 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Maxime Bellengé
b7852de12f
Add the IAutoComplete and IAutoComplete2 implementation (but methods
...
stubbed for now).
2004-04-19 19:26:57 +00:00
Wolfgang Schwotzer
0471483851
SHBrowseForFolder: support lpBrowseInfo->pszDisplayName being NULL.
2004-04-19 19:25:56 +00:00
Juan Lang
6d169747d6
Correct return value in a couple of error cases.
2004-04-15 05:04:10 +00:00
Martin Fuchs
a9a04e8d4f
- make drive letters in PIDLs always uppercase to enable PIDL
...
comparison
- Unicodify _ILCreateDrive()
2004-04-15 04:57:46 +00:00
Martin Fuchs
849337b9b6
Correct error handling in SHELL32_ParseNextElement().
2004-04-15 04:55:54 +00:00
Martin Fuchs
618cf6fc0f
Return "file not found" error values instead of E_INVALIDARG if
...
_ILCreateFromPathA() failed to find files.
2004-04-14 23:57:46 +00:00
Juan Lang
bbdd20d536
Correct some PIDL types and eliminate some magic numbers in PIDL
...
allocation; correct a copy-pasto from a previous patch.
2004-04-14 19:33:07 +00:00
Juan Lang
77beaca78f
If a folder contains a desktop.ini, check it for the icon location
...
before using the default folder icon.
2004-04-14 19:32:34 +00:00
Juan Lang
38deeb4fd2
Add stub for ShellDDEInit to let Windows explorer.exe get past the
...
beginning.
2004-04-13 21:15:33 +00:00
Juan Lang
ae78d17f9d
IShellView seems reasonably complete, change a FIXME to a TRACE to
...
speed up open/save dialogs.
2004-04-13 21:15:01 +00:00
Martin Fuchs
b8dc8abbc0
Correct IShellFolder::GetAttributesOf() for the case *rgfInOut=0.
2004-04-13 00:19:11 +00:00
Martin Fuchs
c01e515815
Check for folders in ShellExecute().
2004-04-13 00:18:45 +00:00
Martin Fuchs
6223fdc9f2
- rename 'wszCommandline' to 'wszParameters'
...
- separate out command line arguments from executable file name
2004-04-12 23:12:51 +00:00
Martin Fuchs
1ab301d7be
- eliminate MSVC type conversion warning
...
- IShellLink::GetIconLocation(): get icons for shell links if not
already set
2004-04-12 23:12:39 +00:00
Francois Gouget
0217bfdfed
Assorted spelling fixes.
2004-04-12 22:08:23 +00:00
Francois Gouget
e7427e13af
Cleanup the handling of the extension in SHELL_FindExecutable():
...
- Eliminate the corresponding fixed-size buffer which removes the
limitation to 3 character extensions.
- Fix handling of the trailing '.' case.
- Do a case-insensitive check for the extension in win.ini.
Increase the size of the command buffer to 1024.
2004-04-09 19:04:03 +00:00
Juan Lang
19b1a95ec1
- move CreateMyCompEnumList and CreateDesktopEnumList to their
...
respective files
- rewrite CreateFolderEnumList to only FindFirstFile/FindNextFile once
2004-04-08 19:50:17 +00:00
Juan Lang
c00fbafbbf
Move control panel applet enumeration to cpanelfolder.c.
2004-04-08 04:37:43 +00:00
Martin Fuchs
31cd6b8cf3
- SHBindToParent(): request correct COM interface from desktop.
...
- _ILCreateFromFindDataA(): type cast to eliminate MSVC compiler
warning.
2004-04-07 21:58:50 +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
Alexandre Julliard
bb133bd596
Fixed a couple of header files ordering issues.
2004-04-07 03:59:41 +00:00
Martin Fuchs
df0a00edd8
Resolve shell shortcuts and process ID lists in ShellExecute()
...
functions.
2004-04-07 03:49:51 +00:00
Juan Lang
42f28a72e9
- rename PT_SPECIAL to PT_SHELLEXT
...
- remove unnecessarily complex _ILCreate
- combine _ILCreateValue and _ILCreateFolder, since their outputs
differed by only one byte.
2004-04-06 23:12:11 +00:00
Juan Lang
fe7c9e5f95
Rename PT_MYCOMP to PT_GUID, and the corresponding union member from
...
mycomp to guid.
2004-04-06 03:22:29 +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
Juan Lang
2843de3f25
Get rid of a few pointless A/W conversions.
2004-04-05 22:22:00 +00:00
Martin Fuchs
7e301d8a77
Add resource strings for control panel folder.
2004-04-05 21:06:58 +00:00
Martin Fuchs
3abf44f10a
Optimization: null terminate string buffers instead of filling them
...
completely with 0.
2004-04-05 21:06:16 +00:00
Martin Fuchs
d98c36c106
Get icons for shell link files.
2004-04-05 21:05:51 +00:00
Martin Fuchs
b44f8253cf
- fix dirty flag on shelllink loading and saving
...
- update absolute path when changing relative path
2004-04-05 20:12:57 +00:00
Rolf Kalbermatter
dfe99d49c5
Use named constant instead of a simple number (gets rid of signed
...
warning too).
2004-04-01 21:00:23 +00:00
Kevin Koltzau
33a6215dc3
Added support for CSIDL_RESOURCES path.
2004-04-01 02:01:33 +00:00
Alexandre Julliard
85c2ccec76
Do not strip stdcall decoration in spec files.
...
Fixed mapi32 ordinals.
2004-03-31 00:59:36 +00:00
Martin Fuchs
02dd8c3601
Call IShellExecuteHook interface for ShellExecute() calls with ID
...
lists.
2004-03-27 20:41:20 +00:00
Martin Fuchs
dd46d6df9e
Implementation of the control panel folder in shell namespace.
2004-03-27 01:42:22 +00:00
Martin Fuchs
906be1dcb0
- Fix handling of %2, %3, ... and lower case format characters in
...
SHELL_ArgifyW().
- Move "%I" expansion from ShellExecuteEx() into common function
SHELL_ArgifyW().
- Pass buffer length to SHELL_FindExecutable().
- FIXME comment for len paramater in SHELL_ArgifyW().
Ge van Geldorp <ge@gse.nl>
- Add double quotation marks unless we already have them (e.g.: "%1"
%* for exefile).
- Remove unnecessary double quotation marks and command line arguments.
2004-03-26 02:29:12 +00:00
Martin Fuchs
df23d95476
Implementation of IPersistFile::IsDirty().
2004-03-25 23:36:45 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Francois Gouget
b948778660
Assorted spelling fixes.
2004-03-23 23:20:16 +00:00
Martin Fuchs
075d6a1238
Fix for recent shelllink patch, which removed the important part of
...
returning the result pointer from IShellLink_ConstructFromFile().
2004-03-22 22:58:37 +00:00
Robert Shearman
f6e1be6afe
Allow passing NULL to ILFindLastID.
2004-03-22 22:58:19 +00:00
Martin Fuchs
b9e542fd8e
Fix recent Unicode-ification patch.
2004-03-22 22:57:13 +00:00
Mike McCormack
b0b467ab95
Update path from relative path on loading.
2004-03-22 21:12:39 +00:00
Mike McCormack
7b597d4c20
Unicode-ify the icon cache and SHGetFileInfo.
2004-03-22 20:43:07 +00:00
Rein Klazes
d09edf800b
In SHELL_ExecuteW, if a new current directory is specified, change to
...
it before calling CreateProcess so that it will find the correct
executable.
2004-03-19 01:52:30 +00:00
Martin Fuchs
a06f76d6f9
Expand environment strings in command, parameter and directory strings
...
of ShellExecuteExW32().
2004-03-18 04:04:29 +00:00
Alexandre Julliard
22508e576f
FindFirstFile can return an empty short name if the long name is a
...
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Martin Fuchs
7b48ddcbba
Enumerate all "shell\<verb>\command" entries in the registry instead
...
of searching only for "shell\open\command" entries.
2004-03-04 20:34:38 +00:00
Martin Fuchs
4a2731a781
Fix buffer length usage for RegQueryValueW() calls at various places.
2004-03-03 05:26:30 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Hans Leidekker
82f08b8a37
Export LC_ALL before calling sed.
2004-03-01 23:32:35 +00:00
Huw Davies
bc811a2489
Add a missing '\\'.
2004-03-01 23:11:53 +00:00
Martin Fuchs
46fceb19f3
Set error code ERROR_DDE_FAIL if the DDE connection failed in
...
ShellExecute().
2004-03-01 21:22:25 +00:00
Ove Kaaven
4f6a1d3475
Fixed icon leak.
2004-02-27 21:30:16 +00:00
Alexandre Julliard
0d203bd7ee
Sync some of the dll registrations with the contents of
...
winedefault.reg.
2004-02-27 06:08:32 +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
Alexandre Julliard
492ac292b9
Added support for building a dll from a .def file for cases where we
...
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Dmitry Timoshkov
9fd0183c27
Do not leave not initialized fields in the structure passed to
...
ShellExecuteExW32.
2004-02-12 20:04:23 +00:00
Dmitry Timoshkov
ccc57b323d
Translate the returned hInstApp from the unicode worker function.
2004-02-12 20:04:09 +00:00
Alexandre Julliard
487b9f5f00
Moved some more definitions out of undocshell.h into the exported
...
headers.
2004-02-11 06:21:45 +00:00
Martin Fuchs
fa828cd057
- move some PIDL function declarations from undocshell.h into public
...
header, as they are no longer undocumented
- implement context menu support for Winefile
2004-02-11 04:18:12 +00:00
Jon Griffiths
df24e106c5
Tests for StrRetToStrAW.
2004-02-10 02:19:03 +00:00
Jon Griffiths
52cde9b386
StrRetToStrN returns BOOL and shouldn't crash on NULL dest.
2004-02-10 02:18:50 +00:00
Huw Davies
89ef25e218
Use the BTNS_* toolbar button style defines rather than the outdated
...
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Mike McCormack
cb9a22b787
Fix the bounds checking in SHGetPathFromIDListA/W.
2004-02-09 20:56:41 +00:00
Ulrich Czekalla
c31d413c3c
Set the item mask before calling GetItem.
2004-02-03 00:09:57 +00:00
Ulrich Czekalla
d3b9ff2f8a
Make SHChangeNotifyRegister be recursive so that will get all
...
notifications.
2004-02-02 23:09:09 +00:00
Ulrich Czekalla
a91b2efc74
Fix SHChangeNotify to send correct lParam and wParam values.
2004-02-02 23:08:54 +00:00
Martin Fuchs
8091a89011
- remove unneccesary ISF_MyComputer_Constructor() declaration
...
- improve returned error code of ISF_MyComputer_fnParseDisplayName()
- remove wrong comment from ISF_MyComputer_fnGetDisplayNameOf()
2004-01-30 22:54:12 +00:00
Alexandre Julliard
20b4585e3c
Only link against libdxguid where necessary.
2004-01-27 00:11:16 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Francois Gouget
e18aa3f614
Add trailing '\n's to ok() calls.
2004-01-26 20:23:25 +00:00
Martin Fuchs
516b50f34c
- don't link directly to NTDLL; use MultiByteToWideChar() instead of
...
RtlCreateUnicodeStringFromAsciiz()
- directly call InitCommonControlsEx()
2004-01-26 20:13:03 +00:00
Martin Fuchs
703676f533
- define additional shell paths for CSIDL_... constants
...
- remove some superfluous commas
2004-01-26 20:09:10 +00:00
Ge van Geldorp
100e11309b
Fix various function prototypes to conform to PSDK.
2004-01-23 20:57:26 +00:00
Martin Fuchs
70d4604ac9
- ISF_Desktop_fnGetUIObjectOf(): allow context menu on the desktop
...
without any selected item; preserve return error codes.
- ISF_Desktop_fnGetDisplayNameOf(): don't initialize whole character
array with zero.
2004-01-23 20:46:09 +00:00
Martin Fuchs
0e35be6074
- IShellFolder_fnParseDisplayName(): return E_INVALIDARG instead of
...
E_OUTOFMEMORY.
- IShellFolder_fnGetUIObjectOf(): preserve return error codes.
- IShellFolder_fnGetDisplayNameOf(): don't initialize whole character
array with zero.
2004-01-23 20:45:41 +00:00
Martin Fuchs
fc69e4cf1b
Improved error handling.
...
SHELL32_GetItemAttributes(): support for SFGAO_LINK attribute.
2004-01-23 20:43:18 +00:00
Martin Fuchs
0c7f449343
ISF_MyComputer_fnGetDisplayNameOf(): return CLSID paths of virtual
...
folders rooted under "My Computer" folder, better error handling.
2004-01-23 04:25:26 +00:00
Martin Fuchs
2745769035
Return 'My Compuer' PIDL when calling Desktop->ParseDisplayName() with
...
empty path string.
2004-01-23 04:15:32 +00:00
Francois Gouget
7494b5b980
Add trailing '\n's to ok() calls.
...
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +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
9d78f6783f
Only return valid file system names from RenderFILENAMEA/W() by using
...
SHELL_GetPathFromIDListA/W().
2004-01-21 23:50:46 +00:00
Alexandre Julliard
aa43d01627
Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <ge@gse.nl>
...
Reimplementation of SHGetPathFromIDListA/W() using the new helper
functions SHELL_GetPathFromIDListA/W(). The new implementation avoids
using IShellFolder::GetDisplayNameOf(), so that it
- returns the absolute file system path, not relative to the dekstop
- returns FALSE as error code if the path can not converted in a valid
file system path
- doesn't return virtual CLSID paths
2004-01-21 23:50:26 +00:00
Martin Fuchs
0f3d8bf500
Use full paths instead of only filenames in icon cache to distinguish
...
between different files with the same name.
2004-01-21 22:15:09 +00:00
Martin Fuchs
74bcd4e43f
Implemented SHGetRealIDL().
2004-01-21 22:12:55 +00:00
Martin Fuchs
423cb99ac5
- SHGetDataFromIDListA/W(): handle drives when retrieving file
...
attributes
- fixed error handling to avoid GPFs
2004-01-20 23:38:04 +00:00
Martin Fuchs
eae9444bc8
- fix typos in shelllink.c header comment and a struct comment
...
- corrected SCF_UNICODE constant and use the value of SCF_UNC instead
- implemented IShellLink_ConstructFromFile() to read shell links from
files
- call IShellLink_ConstructFromFile() in ISF_..._fnGetUIObjectOf()
when being queried for IShellLink interface
2004-01-20 01:37:24 +00:00
Martin Fuchs
c378ade958
- fix typo
...
- return string length from SHELL32_GUIDToStringA()
2004-01-20 01:26:39 +00:00
Martin Fuchs
236c8a2452
- move IShellFolder_fnGetDisplayNameOf() contents into a new function
...
SHELL_FS_ProcessDisplayFilename() to call it also in
ISF_Desktop_fnGetDisplayNameOf() and do the same file system
processing for the desktop level
- handle hidden file extensions in SHELL_FS_ProcessDisplayFilename(),
that are configured by "NeverShowExt" in the registry
2004-01-19 23:54:55 +00:00
Martin Fuchs
9d1c9604b1
ShellView_CreateList(), SIC_Initialize(): enable transparent icons on
...
the desktop.
2004-01-18 23:17:32 +00:00
Martin Fuchs
87326ba7c3
IStream_fnWrite: only return write count if the given pointer
...
parameter is not NULL.
2004-01-18 23:17:13 +00:00
Martin Fuchs
6e775f898a
- declare PT_RAS_FOLDER for the "RAS Connections" folder
...
- handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and
_ILGetTextPointer() / _ILGetSTextPointer()
2004-01-18 22:08:46 +00:00
Martin Fuchs
b35c27626f
CreateStreamOnFile(): use flag FILE_SHARE_READ for opening OLE stream
...
files to enable file sharing.
2004-01-18 22:06:35 +00:00
Alexandre Julliard
e025c59051
Fixed HCR_GetExecuteCommandW() behavior with a class name (based on a
...
patch by Martin Fuchs).
Removed a couple of no longer used functions.
2004-01-16 23:06:25 +00:00
Martin Fuchs
e6ab6bdcd7
Corrected definition of PathYetAnotherMakeUniqueName().
2004-01-16 23:04:41 +00:00
Francois Gouget
17112eaa4d
Assorted spelling fixes.
2004-01-16 21:26:08 +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
Filip Navara
23f26c8a1d
Complete Czech translation of shell32 resources.
2004-01-16 04:46:05 +00:00
Marcelo Duarte
003465415f
- Get rid of W->A calls for shlexec.
...
- Implementation of FindExecutableW.
2004-01-15 06:13:57 +00:00
Dmitry Timoshkov
2a2cd4db76
Fix an IE crash and make the "Create Folder" functionality in
...
Favorites work.
2004-01-09 00:35:21 +00:00
Alexandre Julliard
502f6c5634
Removed incorrect uses of DUMMYUNIONNAME.
2004-01-07 00:47:35 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Alexandre Julliard
72ecbb0675
SHCoCreateInstance is now documented (spotted by Francois Gouget).
...
Its first argument should be a Unicode string.
2004-01-06 20:42:47 +00:00
Hans Leidekker
195ec47f97
Make sure sed uses the right locale.
2004-01-06 20:40:10 +00:00
Martin Fuchs
c0a5a27c15
Correct return type of SHFileOperationA/W.
2004-01-05 21:13:37 +00:00
Steven Edwards
903d1f25ce
Update the notes on how WINE uses the Systray under KDE.
2004-01-02 20:12:51 +00:00
Martin Fuchs
963dd34ec0
- correct return value of SHGetPathFromIDList[AW]() for virtual
...
folders like "My Computer"
- correct path parsing in ISF_Desktop_fnParseDisplayName()
- handle CLSID paths in ISF_MyComputer_fnParseDisplayName()
- return CLSID path in ISF_MyComputer_fnGetDisplayNameOf()
2003-12-30 19:24:22 +00:00
Ge van Geldorp
fc5134d52e
Enclose application name in double quotation marks, as it may contain
...
spaces.
2003-12-30 19:20:11 +00:00
Martin Fuchs
499519d5d3
Added include of "wine/port.h" for MSVC.
2003-12-15 19:48:52 +00:00
Richard Cohen
e45d29cdc1
- Check FindFirstFile against INVALID_HANDLE_VALUE not 0.
...
- Display window & messagebox even if there are no applets.
2003-12-11 04:24:16 +00:00
Marcelo Duarte
36002739c7
- Implementation of HCR_GetExecuteCommandExW for internal use.
...
- New inline function __SHCloneStrAtoW.
2003-12-10 00:39:31 +00:00
Alexandre Julliard
910896b71f
Implemented RunDLL_CallEntry16.
2003-12-03 04:44:52 +00:00
Dmitry Timoshkov
2964888d05
A general cleanup of the version resources in Wine DLLs.
2003-11-30 05:59:29 +00:00
Rolf Kalbermatter
81ce443f5e
Fix two memory leaks. Found by Dietrich Teickner.
2003-11-28 23:10:19 +00:00
Dimitrie O. Paun
3e54350dc2
{Global,Local}ReAlloc() does not allocate memory.
2003-11-26 05:04:15 +00:00
Alexandre Julliard
29cff12d06
Moved the ShellExecuteEx definitions to shellapi.h where they belong.
2003-11-26 03:59:16 +00:00
Ivan Leo Murray-Smith
5a2f3c1f1f
Added/updated Italian resources.
2003-11-20 22:07:35 +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
Alexandre Julliard
12d3d81cbd
Use a more portable way to generate authors.c.
2003-11-19 02:35:31 +00:00
Alexandre Julliard
129f1e6910
Generate the authors list for the shell about dialog from AUTHORS at
...
compile time. Converted the about dialog to Unicode.
2003-11-18 19:50:24 +00:00
Alexandre Julliard
f9be2f3d21
Removed some unnecessary includes.
2003-11-17 20:31:29 +00:00
Marcelo Duarte
8defcd386c
Localization to the Portuguese of Brazil.
2003-11-05 23:27:01 +00:00
Dmitry Timoshkov
3baa9b99fd
Protect ILIsParent from NULL pidls.
2003-11-04 04:21:01 +00:00
Uwe Bonnes
4f20d16596
Control_DoLaunch: memmove needs bytes as length argument.
2003-10-27 22:06:56 +00:00
Filip Navara
d8bd18e639
- Removed initialization of sh32_policy_table in SHInitRestricted,
...
because it's already statically initialized.
- Removed calling of SHInitRestricted(NULL, NULL) from DllMain because
it does nothing in this case now.
- Added support for flags FWF_DESKTOP, FWF_NOCLIENTEDGE,
FWF_TRANSPARENT in ShellView.
- Fixed small bug in setting SysTray window class hbrBackground.
2003-10-24 04:23:37 +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
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Dimitrie O. Paun
b0f4a564a1
Move useful information out of documentation/shell32.
2003-10-09 19:47:08 +00:00
Dimitrie O. Paun
54e6b0d938
Extract binary resources to files, to fit the standard.
2003-10-03 05:01:33 +00:00
Rolf Kalbermatter
4202112e2d
Moved definition of newly documented API SHRestricted() and the
...
according policy definitions to shlobj.h.
Replace the policy numeric values with the new official defines and
change SHRestricted() to match the new documented prototype.
2003-10-02 04:30:46 +00:00
Mike McCormack
73756ce844
Change a MESSAGE about creating a directory to a TRACE.
2003-10-02 04:27:21 +00:00
Pavel Roskin
b079de35ce
Make it possible to close the "About Wine" dialog by pressing Escape.
2003-10-01 03:04:51 +00:00
Vincent Béron
d9e2db6f1a
Extract localisable resources from shres.rc to proper language file.
2003-09-30 00:25:28 +00:00
Rolf Kalbermatter
82f46ab1c3
Added IsLFNDriveA/W/AW exports and two more stubs.
2003-09-30 00:19:44 +00:00
Francois Gouget
224063f033
Some spelling fixes.
...
Fix the case of WineHQ.
2003-09-29 20:20:53 +00:00
Vincent Béron
d1654b6128
Change some resources from LANG_NEUTRAL to LANG_ENGLISH.
2003-09-29 20:15:54 +00:00
Rolf Kalbermatter
c4bba67a9a
Fix a return value in SHFileOperation and add some extra tests to
...
internal helper functions necessary to deal with shortcomings of
kernel32 functions for the time being.
2003-09-27 03:47:35 +00:00
Eric Pouech
368a54c846
Fix both a warning and some nasty crashes...
2003-09-27 02:24:51 +00:00
Alexandre Julliard
2d13956285
The "Path" value of the "App Paths" entry should be handled in
...
ShellExecute by changing PATH in the new process, instead of being
done in SearchPath.
2003-09-26 04:35:01 +00:00
Dimitrie O. Paun
8b255842ec
Remove the obsolete pascal16 (replaced by pascal -ret16).
2003-09-26 04:32:19 +00:00
Rolf Kalbermatter
5e46d9f9d7
Add some comments to functions and minor fixes.
...
Export already existing (but still undocumented) functions
ILCreateFromPathA/W.
2003-09-25 20:26:28 +00:00
Alexandre Julliard
16cd86197a
Moved DLLFLAGS to a separate variable instead of including it in
...
DEFS.
2003-09-24 19:01:44 +00:00
Vincent Béron
bf5f07a5b4
Yet another batch of French resources updates.
2003-09-22 21:16:56 +00:00
Mike McCormack
fd16003316
Fix errors in IExtractIcon detected by valgrind.
2003-09-22 19:30:25 +00:00
Rolf Kalbermatter
58c0561bad
Added declarations for newly documented SHChangeNotify API and fixed
...
some prototypes.
2003-09-22 19:24:13 +00:00
Alexandre Julliard
f5cb3dde17
Moved undocumented functions out of the exported commctrl.h.
2003-09-17 20:15:21 +00:00
Rolf Kalbermatter
d1ffc6f11c
Implemented SHSimpleIDListFromPath correctly.
2003-09-17 04:17:33 +00:00