Mikołaj Zalewski
474bf4fc4b
shell32: Make sure BrowseForFolder doesn't return NULL for the Desktop folder as this means a cancel.
2007-02-12 12:38:33 +01:00
Francois Gouget
abedd3df59
shell32/tests: wnsprintfA() is missing on Win9x, so use sprintf() instead.
2007-02-09 14:32:57 +01:00
Francois Gouget
f97a2f9def
shell32/tests: Fix test_GetDisplayName() to cope with a left-over test directory.
2007-02-09 14:32:57 +01:00
Francois Gouget
14712ece18
shell32/tests: ILFree() and ILIsEqual() are exported by ordinal only on Win9x. So use GetProcAddress().
2007-02-09 14:32:57 +01:00
Vitaly Lipatov
c8bcbdb90d
Some fixes in russian resources.
2007-02-09 11:48:28 +01:00
Mikołaj Zalewski
dbef32e4ed
shell32: shlfileop tests: Avoid buffer overflows for paths.
2007-02-07 11:34:22 +01:00
Andrew Talbot
0b1fb44aaf
shell32: Declare some functions static.
2007-02-07 11:03:33 +01:00
Andrew Talbot
388fe7e371
shell32: Declare some functions static.
2007-02-07 11:03:28 +01:00
Andrew Talbot
dfe3d5b88c
shell32: Declare some functions static.
2007-02-07 11:03:22 +01:00
Andrew Talbot
434c24d83b
shell32: Declare some functions static.
2007-02-07 11:03:15 +01:00
Andrew Talbot
8246b6cd30
shell32: Remove unused function.
2007-02-06 13:19:22 +01:00
Francois Gouget
fbfe9a72de
shell32: Remove an unneeded local variable initialization.
2007-02-05 12:23:57 +01:00
Francois Gouget
ab8d1e788a
shell32: SHLoadNonloadedIconOverlayIdentifiers() is a WINAPI function.
...
This fixes a winapi_check warning.
2007-01-25 11:05:28 +01:00
Thomas Weidenmueller
fb5c516dfd
shell32: Implement the property sheet extension array functions.
...
Implement the SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray,
SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray functions
that are used to extend/replace property sheets by shell extensions.
2007-01-23 13:06:09 +01:00
Francois Gouget
aa3165fca6
shell32: Add proper support for SHGetFileInfo(SHGFI_ICONLOCATION | SHGFI_USEFILEATTRIBUTES).
2007-01-19 12:28:57 +01:00
Francois Gouget
5c5933f699
shell32/tests: Add some more SHGetFileInfo() tests.
2007-01-19 12:28:57 +01:00
Thomas Weidenmueller
e06345db52
shell32: Fix prototypes.
...
Fix the SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray,
SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray function
prototypes because they're now documented. Also add them to shlobj.h.
2007-01-19 12:28:57 +01:00
Francois Gouget
aab5e5856e
Don't put single quotes around '%s' when using the debugstr_*() functions.
2007-01-18 12:55:50 +01:00
Francois Gouget
4abebb8eb5
shell32: There is no need to check strings for NULL when using debugstr_w().
...
Also don't put single quotes around '%s' in that case.
2007-01-18 12:55:40 +01:00
Andrew Talbot
670cf778aa
shell32: Remove unused variable.
2007-01-16 11:19:18 +01:00
Francois Gouget
d2daa384e9
shell32/tests: Hack SHGetFileInfo() so it does not crash and add a test for it.
2007-01-08 12:06:21 +01:00
Francois Gouget
947b71aeb0
shell32/tests: Print GetLastError() in decimal with '%u'.
2007-01-06 11:40:43 +01:00
Alexandre Julliard
d56b3c10c4
shell32: Don't hardcode the system32 directory in registered classes.
2006-12-20 17:05:02 +01:00
Francois Gouget
df299b7305
shell32: Replace numeric literals with the proper constant.
2006-12-14 20:24:31 +01:00
Francois Gouget
df9715b1b0
shell32: Fix FindExecutableW() to not check if lpResult after using it. It's supposed to cause a segfault anyway.
...
Use SE_ERR_FNF rather than a numeric literal.
2006-12-14 12:45:27 +01:00
Francois Gouget
2538fa319a
shell32: Add some documentation for FindExecutableW().
2006-12-14 12:45:21 +01:00
Francois Gouget
71e5f3c116
shell32: Fix FindExecutable() to return the executable path, not the whole command.
2006-12-14 12:45:15 +01:00
Francois Gouget
65b81bebaa
shell32/tests: Add FindExecutable() tests.
2006-12-14 12:45:04 +01:00
Francois Gouget
2fa16067f6
shell32/tests: MSDN says ShellExecute() == 32 indicates an error. So fix the tests.
2006-12-14 12:44:56 +01:00
Hans Leidekker
3558cdb8d5
shell32: Add a stub implementation for SHLoadNonloadedIconOverlayIdentifiers.
2006-12-11 17:05:38 +01:00
Alexandre Julliard
a051487d3b
shell32: Avoid using garbage data in wildcard expansion.
2006-12-11 15:37:35 +01:00
Marcus Meissner
f0280cbd1e
made functions and variables static in some testcases.
2006-12-11 12:18:29 +01:00
Louis Lenders
c231fd6872
shell32: Define AVI resource 152.
2006-12-08 11:39:45 +01:00
Francois Gouget
c66628b73f
Consistently use SUBLANG_NEUTRAL for Italian resources.
2006-12-05 11:28:38 +01:00
Francois Gouget
bb8e625b5b
Assorted spelling fixes.
2006-12-05 10:31:47 +01:00
James Hawkins
44b0b462cb
shell32: Move a NULL pointer check before the place where we dereference the pointer.
2006-12-04 12:22:46 +01:00
Dmitry Timoshkov
e4c0748c21
shell32: Make some data static and const.
2006-11-28 12:36:12 +01:00
Francois Gouget
1da359b498
shell32: Add a Portuguese translation (contributed by Americo Jose Melo).
2006-11-28 12:13:32 +01:00
Francois Gouget
b5f104d05b
Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages.
2006-11-24 11:49:32 +01:00
Francois Gouget
144995b5a5
shell32/tests: Don't use the NONAMELESS* macros in the tests.
2006-11-24 11:48:56 +01:00
Francois Gouget
9fefaa87a9
shell32: Remove unused parameters from SHELL_FindExecutableByOperation().
2006-11-24 11:48:35 +01:00
Marcus Meissner
267e660bd6
shell32: Pass number of wide chars, not bytes as last argument to MBtoWC().
2006-11-22 11:38:46 +01:00
Detlef Riekenberg
7c70f7f9b2
shell32: Fix a function name in a comment.
2006-11-16 22:09:19 +01:00
Louis Lenders
d14d772f80
shell32: Define a few more icon resources.
2006-11-16 12:45:25 +01:00
Andrew Talbot
fdd9a4e2a7
shell32: Cast-qual warnings fix.
2006-11-15 11:32:38 +01:00
Andrew Talbot
2f4bb7b78d
shell32: Cast-qual warnings fix.
2006-11-15 11:32:32 +01:00
Alexandre Julliard
dc0c3677cd
shell32: Don't use the short path name to delete files in SHFileOperation.
2006-11-14 12:00:23 +01:00
Francois Gouget
c35b6b9223
shell32: Fix inclusion of conditional headers (spotted by winapi_check).
2006-11-13 12:59:18 +01:00
Francois Gouget
138e12b3d2
shell32: Add missing '\n' to Wine trace.
2006-11-08 12:10:39 +01:00
Francois Gouget
30e44c85c8
Assorted spelling fixes.
2006-11-07 15:25:24 +01:00
Aric Stewart
3f9a168f47
shell32: Have SHELL_ArgifyW respect the length of the buffer passed in and report a needed buffer size.
2006-11-06 14:11:57 +01:00
Aric Stewart
3490cb81ed
shell32: Create dynamic buffers for expanded enviroment strings to allow for parameters and such longer than MAX_PATH.
...
With help from Michael Moss.
2006-11-06 14:10:55 +01:00
Aric Stewart
418d093325
shell32: ABM_NEW was using parameters that are not set.
2006-10-30 20:09:24 +01:00
Paul Vriens
1af1ead894
shell32: Cast-qual warnings fix.
2006-10-30 11:26:30 +01:00
Alexandre Julliard
ff068c088b
shell32: Properly handle negative coordinates for mouse events.
2006-10-25 17:42:11 +02:00
Mikołaj Zalewski
58bd35c8c5
resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL.
2006-10-24 17:45:51 +02:00
Mikołaj Zalewski
e32aa55703
resources: Change German sublanguage code to SUBLANG_NEUTRAL.
2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon
e1fd734c97
Korean: Use SUBLANG_NEUTRAL in Korean resources.
2006-10-20 13:49:39 +02:00
Francois Gouget
22288de732
Fix compilation with gcc 2.95.
2006-10-19 13:35:19 +02:00
Francois Gouget
ef998ea6cb
Assorted spelling fixes.
2006-10-16 11:33:38 +02:00
Michael Stefaniuc
15765dd953
The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility.
2006-10-16 10:53:04 +02:00
Detlef Riekenberg
1f2219d521
shell32: Fix typo in Run dialog.
2006-10-13 11:04:08 +02:00
Detlef Riekenberg
449dfadf51
shell32: Implement SHRegQueryValueA with RegQueryValueA.
2006-10-12 20:41:04 +02:00
Ge van Geldorp
d642e11438
winapi_test: Regenerate tests.
...
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Hans Leidekker
e5c1a014df
shell32/tests: Win64 printf format warning fixes.
2006-10-09 12:53:26 +02:00
Hans Leidekker
89e1d29482
shell32: Win64 printf format warning fixes.
2006-10-09 12:45:02 +02:00
James Hawkins
7b89ff88e8
janitorial: Remove redundant NULL checks before SHFree.
2006-10-07 17:52:59 +02:00
Francois Gouget
4e00d7940d
shell32: Don't forget to set stateMask when calling LVM_GETITEM/LVIF_STATE.
...
Remove ZeroMemory() calls and instead set iSubItem = 0 manually.
2006-10-05 17:44:37 +02:00
Francois Gouget
c22eb7e3a3
shell32: Microsoft's EXP_DARWIN_LINK structure does not have a dbh
...
field so cast it to DATABLOCK_HEADER to access the dwSignature
field. Fixes the compilation with Visual C++ on Windows.
2006-10-03 15:56:32 +02:00
Andrew Talbot
19e85ca5a9
shell32: Another cast-qual warning fix.
2006-10-02 11:55:32 +02:00
Andrew Talbot
30806fc00c
shell32: Cast-qual warnings fix.
2006-10-02 11:55:26 +02:00
Francois Gouget
87045eb0c5
Fix rpcndr.h so it takes CONST_VTABLE into account.
...
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Andrew Talbot
29ce6b37b5
shell32: Cast-qual warnings fix.
2006-09-29 15:00:03 +02:00
Andrew Talbot
27a06a5d75
shell32: Cast-qual warnings fix.
2006-09-29 14:59:55 +02:00
Andrew Talbot
dcd5e173f8
shell32: Cast-qual warnings fix.
2006-09-29 14:59:45 +02:00
Andrew Talbot
699f4cc703
shell32: Cast-qual warnings fix.
2006-09-29 14:59:36 +02:00
Fatih Aşıcı
8d3a4759d7
shell32: Update Turkish resources.
2006-09-26 11:39:50 +02:00
Jonathan Ernst
8fc83b1f46
dlls: Assorted French translation improvements.
2006-09-25 18:32:33 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Alexandre Julliard
fc4cd637d9
tests: Moved some compatibility defines to wine/test.h.
2006-09-13 11:01:39 +02:00
Alexandre Julliard
0a0f4cd835
shell32: Don't build authors.c for make depend, it has no dependencies anyway.
2006-09-11 14:47:39 +02:00
Mikołaj Zalewski
455991a7a8
shell32: Remove the unused shell allocator.
2006-09-10 10:19:21 +02:00
Mikołaj Zalewski
8fcc0bdf78
shell32: Document the shell32 "mini-COM" functions.
2006-09-10 10:19:14 +02:00
Francois Gouget
3c336ab0cf
shell32: Fix spelling of a local variable.
2006-09-08 11:03:04 +02:00
Alexandre Julliard
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Mikołaj Zalewski
c1ca35d051
shell32: Fix a bug in SHELL_ConfirmW.
...
Fix a bug introduced while changing the OK/Cancel to Yes/No.
2006-08-26 18:54:47 +02:00
Mike McCormack
e5d9b2f189
shell32: Use kernel functions in preference to libwine ones.
2006-08-24 12:42:42 +02:00
Mike McCormack
9949a3a463
shell32: Fix compilation of test on MSVC6.
2006-08-24 12:42:35 +02:00
Mikołaj Zalewski
0721dd254d
shell32: Pl.rc: Fix a backslash.
2006-08-23 11:59:34 +02:00
Mikołaj Zalewski
6cc378cc67
shell32: Show file size in the details view in kilobytes.
2006-08-22 12:00:22 +02:00
Mike McCormack
000eddbc8c
shell32: Don't add the directory name twice when recursing into subdirectories.
2006-08-22 12:00:14 +02:00
Stefan Huehner
998e256c82
Fix some -Wstrict-prototype warnings () -> (void).
2006-08-21 12:06:26 +02:00
Mikołaj Zalewski
47b40c5879
shell32: Show the original file name and deletion date in the Trash folder.
2006-08-18 11:42:00 +02:00
Mikołaj Zalewski
589aeba979
shell32: Add desktop entries parsing code.
2006-08-18 11:41:44 +02:00
Mikołaj Zalewski
961881836e
shell32: Use Yes/No instead of OK/Cancel in confirm dialogs.
2006-08-18 11:36:52 +02:00
Hwang YunSong(황윤성)
a17d253c5d
shell32: Updated Korean resource.
2006-08-11 11:56:42 +02:00
Alexander Nicolaysen Sørnes
5d72acf70b
shell32: Updated Norwegian Bokmål resources.
2006-08-10 10:55:47 +02:00
Francois Gouget
ebd9c84ea0
shell32: Register CLSID_NetworkPlaces, CLSID_ShellFSFolder and CLSID_ShellFolderViewOC.
2006-08-09 20:36:55 +02:00
Frank Richter
7216363e86
shell32: Tweak and update German translation.
2006-08-09 20:35:37 +02:00
Mike McCormack
4fa9f63761
shell32: IShellLink::SetPath removes quotes from the path.
2006-08-09 17:10:32 +02:00
Mike McCormack
1cc186ba81
shell32: Fix test compilation with MSVC6.
2006-08-09 17:10:27 +02:00
Mikołaj Zalewski
64c5142ae9
shell32: Add recyclebin.c file missing in previous commit.
2006-08-09 13:05:58 +02:00
Mikołaj Zalewski
a0f696bbfc
shell32: Update Polish translation.
2006-08-09 12:49:15 +02:00
Mikołaj Zalewski
4bb595e4c6
shell32: Add a custom icon for the trash folder.
2006-08-09 12:49:07 +02:00
Mikołaj Zalewski
76a20d38f3
shell32: Add trash items enumeration.
2006-08-09 12:47:57 +02:00
Mikołaj Zalewski
289e469e7c
shell32: Add a Trash virtual folder.
2006-08-09 12:47:39 +02:00
Mike McCormack
5678ec4db6
shell32: Use case insensitive comparisons when comparing paths.
2006-08-08 19:34:40 +02:00
Hwang YunSong(황윤성)
8f6de4af74
shell32: Updated Korean resource.
2006-08-08 11:22:11 +02:00
Andrew Talbot
5d0e4ba0eb
shell32: Write-strings warnings fix.
2006-08-08 11:14:36 +02:00
Francois Gouget
ce9b4baad8
Assorted spelling fixes.
2006-08-07 13:52:55 +02:00
Stefan Leichter
999b48d8b5
shell32: Fix the file version string of the version resource.
2006-08-02 11:41:19 +02:00
Mikołaj Zalewski
718a9d6df5
shell32: Send directories and non-regular files to the trash.
2006-08-01 18:35:03 +02:00
Mikołaj Zalewski
28c010cecb
shell32: Update the Polish translation.
2006-07-31 12:55:50 +02:00
Mikołaj Zalewski
034c1c4f18
shell32: Call the trashing code from SHFileOperationW.
2006-07-31 12:55:41 +02:00
Mikołaj Zalewski
f2686c7ce9
shell32: Add trashing support functions.
2006-07-31 12:55:12 +02:00
Mikołaj Zalewski
ca7de052b2
shell32: Add trashing confirmations.
2006-07-31 12:38:54 +02:00
Louis. Lenders
e41cd2ff14
shell32: Define one more avi resource.
2006-07-24 12:57:32 +02:00
Andrew Talbot
bbd8008b55
shell32/tests: Write-strings warnings fix.
2006-07-24 12:57:32 +02:00
Milko Krachounov
604f60183c
shell32: Update Bulgarian translation.
2006-07-17 13:45:51 +02:00
András Kovács
38c8950e17
shell32: Stub for SHSetLocalizedName.
2006-07-14 13:32:39 +02:00
Alexandre Julliard
669780c24f
shell32: Avoid using macros that cause gcc warnings.
2006-07-13 15:50:20 +02:00
Alexandre Julliard
eb8a40c368
libs: Merged libwine_unicode into libwine.
...
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Juan Lang
961193bc5d
shell32: Always NULL-terminate path in SHGetPathFromIDList.
2006-07-11 17:37:13 +02:00
Andrew Talbot
414c333652
shell32: Write-strings warning fix.
2006-07-11 12:37:40 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Hwang YunSong(황윤성)
1ba6f15153
shell32: Updated Korean resource.
2006-07-10 11:49:51 +02:00
Mikołaj Zalewski
ea0a102d55
shell32: Show a confirmation before deleting files with syscalls.
2006-07-07 17:28:10 +02:00
Mikołaj Zalewski
4485bf0b61
shell32: If possible use SHFileOperationW to delete in unixfs.
...
This gives confirmation dialogs, recursive directory removal etc.
2006-07-07 17:27:42 +02:00
Pierre d'Herbemont
0eb07db3b6
shell: Move SHIsFileAvailableOffline from shell.c to shlfileop.c to
...
ensure the 16/32 bits separation.
2006-07-07 16:57:28 +02:00
Michael Stefaniuc
32b1a24501
janitorial: Move the storage specifier to the beginning of the declaration.
2006-07-07 14:30:35 +02:00
Mikołaj Zalewski
89b458dac7
shell32: Add an icon for delete confirmation.
2006-07-03 11:36:52 +02:00
Mikołaj Zalewski
cb0c81ae8c
shell32: Allow for custom icons in confirmation messages.
2006-07-03 11:35:29 +02:00
Mikołaj Zalewski
e5b9a79cbc
shell32: Pass the correct parent hwnd to confirmation dialogs.
2006-07-03 11:35:14 +02:00
Mikołaj Zalewski
9078c6af45
shell32: Remove the now unused SHELL_DeleteFileW.
2006-07-03 11:33:51 +02:00
Paul Vriens
8f143f190c
Use the return value of register_key_guid.
2006-06-30 21:08:07 +02:00
Mikołaj Zalewski
86fe1a0d5f
shell32: Use SHFileOperationW to delete files.
2006-06-30 20:42:58 +02:00
Ivan Leo
48374cf630
shell32/tests: Comment out a test that crashes on windows nt 4.0.
2006-06-30 20:42:43 +02:00
Juan Lang
bf680011d7
shell32: Add a stub for InvalidateDriveType.
2006-06-28 16:53:20 +02:00
Mikołaj Zalewski
ce9471f18e
shell32: If needed show a confirmation dialog when deleting with SHFileOperation.
...
Show a confirmation dialog in SHFileOperationW for the FO_DELETE
operation when called without FOF_NOCONFIRMATION or with
FOF_WANTNUKEWARNING. That way the user's files won't be deleted
without a warning.
2006-06-28 15:39:45 +02:00
Hans Leidekker
ca9f266ac0
shell32: Add a stub implementation for SHIsFileAvailableOffline.
2006-06-27 11:50:01 +02:00
Francois Gouget
9bfbfcbeb4
Assorted spelling, case and grammar fixes.
2006-06-26 13:06:11 +02:00
Francois Gouget
9607151e38
shell32: Fix computation of default verb.
...
Compute the default verb as documented on MSDN instead of blindly
assuming it is 'open'. This fixes the WordViewer association in some
cases.
2006-06-26 13:05:12 +02:00
James Hawkins
f921fa544a
shell32: Add missing multiply by sizeof(WCHAR)l
2006-06-26 12:36:26 +02:00
Alexandre Julliard
13574d919d
Updated the AUTHORS list and converted it to utf-8.
2006-06-21 14:59:02 +02:00
Mikołaj Zalewski
5de24f0320
shell32: Fix the nBufferMax param of LoadStringW calls from SHELL_ConfirmDialogW.
2006-06-21 11:13:27 +02:00
Mikołaj Zalewski
6352734eae
shell32: Remove the now unused SHELL_ConfirmDialog.
2006-06-20 11:06:13 +02:00
Mikołaj Zalewski
529346e8f4
shell32: Use SHELL_ConfirmDialogW when deleting multiple files.
2006-06-20 11:06:02 +02:00
Mikołaj Zalewski
cc6eb8dfe1
shell32: Update the Polish translation.
2006-06-20 11:05:38 +02:00
Robert Shearman
6c4c4e3515
shell32: Convert ISF_Desktop_fnGetDisplayNameOf to Unicode.
2006-06-19 23:04:28 +02:00
Robert Shearman
db8169b828
shell32: Convert ISF_MyComputer_fnGetDisplayNameOf to Unicode.
2006-06-19 23:04:23 +02:00
Francois Gouget
2d7ef72cf0
shell32: Remove dead code in SHELL_FindExecutable().
2006-06-16 11:32:11 +02:00
Alexandre Julliard
7a0396afd1
shell32: Make some variables static and/or const.
2006-06-12 13:44:21 +02:00
Alexandre Julliard
b4629addbd
shell32: Use the standard DEFINE_GUID macro to define GUIDs.
2006-06-09 21:10:25 +02:00
Phil Lodwick
6fc50ff378
shell32/tests: Test to make sure we can create a non-nested directory.
2006-06-08 11:12:02 +02:00
Phil Lodwick
5a13cba8b6
shell32: SHCreateDirectoryEx can create a non-nested directory.
2006-06-08 11:11:43 +02:00
Mikołaj Zalewski
276bbb9f97
shell32: Remove the now unused SHELL_DeleteFileA and SHELL_DeleteDirectoryA.
2006-06-02 20:43:27 +02:00
Mikołaj Zalewski
b84f3093d5
shell32: Avoid Unicode->ANSI conversion when deleting a file.
2006-06-02 20:43:08 +02:00
Vitaliy Margolen
a3aa7cf033
shell32: Add Fonts to user's shell folders list.
2006-06-02 10:52:33 +02:00
Alexandre Julliard
23f9e358ad
Tests should not use wine/unicode.h.
2006-05-24 18:05:09 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Shearman
74407105d2
Check the return value from register_key_guid in all the DLL registering code.
2006-05-10 19:38:04 +02:00
Michael Jung
b3e6faa784
shell32: Support BFFM_SETSELECTION[AW] and BFFM_SETEXPANDED for SHBrowseForFolder.
2006-05-10 11:19:46 +02:00
Mikołaj Zalewski
379460f6da
shell32: Don't use uninitialized item.mask in shlview.
2006-05-08 14:48:36 +02:00
Alexandre Julliard
9686acb46c
shell32: Fixed ordinals of SHDefExtractIconA/W.
2006-04-19 14:24:17 +02:00
Mikołaj Zalewski
89ed90f3e5
shell32: Use LVCOLUMW instead of LVCOLUMNA in LVM_INSERTCOLUMNW listview message.
2006-04-18 11:16:14 +02:00
Louis Lenders
3d29c5ad77
shell32: Define 2 more avi resources.
2006-04-18 11:09:08 +02:00
Jacek Caban
150bd5442c
shell32: Don't crash in SHELL_ExecuteW if psei->lpDirectory is NULL.
2006-04-14 19:37:02 +02:00
Anssi Hannula
eb1c4fff93
shell32: Fix common files directory location in shell32_Fi.rc.
2006-04-14 19:35:21 +02:00
Antonio Codazzi
b758ea053c
shell32: Italian resources update.
2006-04-14 10:51:02 +02:00
Jacek Caban
4b5125a79c
shell32: Allocate wszApplicationName on the heap as it may be longer than MAX_PATH.
2006-04-12 20:56:57 +02:00
Robert Shearman
e8fe7004c7
shell32: Adding a systray item with an invalid icon handle is allowed.
2006-03-27 21:41:30 +02:00
Louis. Lenders
5094cfa6eb
shell32: Add an uncompressed AVI displaying the word searching.
2006-03-27 12:18:45 +02:00
Antonio Codazzi
77405a786d
shell32: Updated Esperanto translation.
2006-03-27 11:55:31 +02:00
Francois Gouget
6bddeb1cf7
Assorted spelling fixes.
2006-03-21 20:10:39 +01:00
András Kovács
8ab92e8a06
shell32: Added Hungarian translation.
2006-03-15 11:33:45 +01:00
Dmitry Timoshkov
52645e1144
shell32: Add parameter formatting rule to the command line if there isn't any.
2006-03-14 18:49:43 +01:00
Mike McCormack
6f9dd397d2
shell32: Fix some gcc 4.1 warnings caused by casts in macros.
2006-03-13 14:19:20 +01:00
Alexandre Julliard
576e3b7062
explorer: Merged systray support with the desktop window main loop.
...
Systray is now always available as part of the desktop and doesn't
need to be started from shell32.
2006-03-07 11:50:05 +01:00
Alexandre Julliard
1110d62752
shell32: Grow the file list dynamically in SHFileOperation.
...
This avoids searching the same directories twice, once to count the
files and then once for real.
2006-03-06 17:47:57 +01:00
Alexandre Julliard
23cb632be2
shell32: Store only the file attributes in the file list for SHFileOperation.
...
We don't need the rest of the WIN32_FIND_DATA structure.
2006-03-06 16:44:31 +01:00
Alexandre Julliard
b222001def
shell32: Fixed handling of null-terminated file list in SHFileOperation.
2006-03-06 16:42:34 +01:00
Aric Stewart
c29b7c3524
shell32: Skip dot directories in SHFileOperation.
...
In ShFileOperation when generating a file list with * wildcards, for
example for deletion, do not include the dot directories (. and ..) in
the list, because that cause the operation to spiral out of control.
2006-03-06 15:57:22 +01:00
Michael Jung
cc15fcc4b0
shell32: Unicode'ify ISFHelper interface.
2006-03-06 11:43:16 +01:00
Mike McCormack
959edd5cc4
shell32: Fix some gcc 4.1 warnings caused by casts in macros.
2006-03-03 13:19:04 +01:00
Alexandre Julliard
c9cc7e33ff
Fixed some compiler warnings on old gcc versions.
2006-03-02 18:03:32 +01:00
Jon Parshall
b84c9d41e4
shell32: New icons for Desktop and My Computer.
2006-03-01 12:39:13 +01:00
Michael Jung
50f3eaef77
shell32/tests: Added test for Desktop::ParseDisplayName(SHGetFolderPath(CSIDL_PERSONAL))
...
Test if the Desktop Folder's ParseDisplayName recognizes MyDocument's
path. Removed some HRESULT tests on IUnknown_Release calls, which
returns ULONG.
2006-02-27 12:18:28 +01:00
Robert Shearman
f689e3fca4
shell32: Move systray handling to the explorer process.
2006-02-22 16:33:33 +01:00
Eric Pouech
1be2e1edef
shell32: Fixes for bugs found by valgrind on shell32 tests harness.
...
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
2006-02-22 12:04:02 +01:00
Stefan Leichter
f7b678e887
shell32: Export PathResolve by name.
2006-02-22 11:32:24 +01:00
Alexandre Julliard
39a1a94221
shell32: Use more reasonable timeouts in shlexec test.
2006-02-21 19:30:29 +01:00
Martin Fuchs
8167c415ab
shell32: Avoid recursing SHELL32_GetItemAttributes() calls.
2006-02-20 11:50:56 +01:00
Michael Jung
d7326ca7e5
shell32: Return a GUID pidl for CSIDL_PERSONAL in SHGetFolderLocation.
...
The tests (shellpath.c/testPersonal) already show that it can be either
PT_FOLDER or PT_GUID. It's PT_GUID on WinXP.
2006-02-14 11:35:12 +01:00
Michael Jung
bbca134a3c
shell32: Register 'LocalizedString' values for shellfolder classes.
2006-02-14 10:41:33 +01:00
Michael Jung
bbeeb4b5ad
shell32: Query for localized string in HCR_GetClassName.
2006-02-14 10:41:29 +01:00
Petr Tesarik
a7e9edfa57
shell32: Czech language resources encoding fix.
2006-02-13 13:28:17 +01:00
Andrey Turkin
06188b6d34
shell32: IShellView list's control id should be 1, not 2000.
2006-02-11 18:41:34 +01:00
Martin Fuchs
c362d7c35b
shell32: SHELL32_GetItemAttributes()
...
- correct documentation which incorrectly claimed not to set any
attribute bits
- retrieve file attributes using SHGetPathFromIDListW() when they are
not already present in the internal PIDL structures
- add test case to show the previously wrong folder attributes when
using absolute PIDLs
- fix some memory leaks in the tests
2006-02-11 12:16:56 +01:00
Francois Gouget
d3aa2313b8
shell32: Update DllGetClassObject documentation.
2006-02-07 21:18:12 +01:00
Fatih Aşıcı
3b04615b55
shell32: Turkish translation.
2006-02-06 13:06:10 +01:00
Kasper Sandberg
4526997960
Danish language update.
2006-02-04 17:01:25 +01:00
Michael Jung
77474f8a14
shell32: Create $HOME targeted symbolic links during SHELL_RegisterFolders.
2006-02-02 13:28:29 +01:00
Michael Jung
32aed7c93e
shell32: Move 'My Pictures', 'My Videos' and 'My Music' folders
...
directly to %USERPROFILE% (instead of %USERPROFILE%\\My Documents), to
allow for reasonable symbolic linking to $HOME based directories.
2006-02-02 13:28:05 +01:00
Michael Jung
7a893cbe7a
shell32: Get rid of the magic MyDocuments->$HOME mapping code.
2006-02-02 13:27:42 +01:00
Michael Jung
dc9789fbdd
unixfs: Use realpath instead of canonicalize_file_name for portability
...
reasons.
2006-02-02 13:20:49 +01:00
Dmitry Timoshkov
22204c2c80
shell32: execute_from_key should fallback to a DDE exec only if the
...
command to execute from is not found in the registry.
Pass already found executable name to dde_connect.
2006-02-01 12:29:39 +01:00
Michael Jung
e2d1c1038a
unixfs: Only append '/' to base path if not already present in
...
UNIXFS_get_unix_path.
2006-01-31 18:03:45 +01:00
Michael Jung
48ca838873
unixfs: Only resolve the 'dosdevices' based symbol links in
...
UNIXFS_get_unix_path, but leave all others alone.
2006-01-31 12:20:58 +01:00
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