Michael Stefaniuc
6c54ad3dba
shell32: Remove superfluous pointer casts.
2009-02-19 12:52:02 +01:00
Alexandre Julliard
5f36d0239f
kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64.
2008-12-31 20:59:51 +01:00
Alexandre Julliard
1abff5afef
shell32: Make some functions static.
2008-12-03 12:09:38 +01:00
Francois Gouget
36e195a185
shell32: Remove WINAPI/CALLBACK on static functions where not needed.
2008-11-26 12:33:16 +01:00
Andrew Talbot
45d7897c62
shell32: Sign-compare warnings fix.
2008-11-12 11:49:12 +01:00
Andrew Talbot
f692f19531
shell32: Remove unused variables.
2008-04-25 11:28:37 +02:00
Austin English
aab8fae59a
Spelling fixes.
2008-04-21 14:25:05 +02:00
James Hawkins
5469551f6b
shell32: Fix and simplify the FO_COPY operation, with tests.
2008-04-03 11:29:07 +02:00
James Hawkins
6ecccdb790
shell32: Handle a few cases in FO_COPY that arise from not double-NULL terminating the input.
2008-04-02 12:33:50 +02:00
Andrew Talbot
2cce0040a0
shell32: Assign to structs instead of using memcpy.
2008-03-18 11:15:26 +01:00
Andrew Talbot
36d32df5e6
shell32: Constify some variables.
2007-11-02 12:24:19 +01:00
Michael Stefaniuc
a5fdea0e6a
janitorial: Remove two fresh redundant NULL checks before HeapFree(). Found by Smatch.
2007-09-17 13:47:49 +02:00
Vincent Povirk
f4a4a1c054
shell32: Implement SHPathPrepareForWrite.
2007-09-14 16:20:14 +02:00
Aric Stewart
fdd42046fb
shell32: In SHNameTranslate use the right part of the string for sizing.
2007-08-15 10:38:38 +02:00
Francois Gouget
5266e57975
Assorted spelling fixes.
2007-07-31 21:37:50 +02:00
Martin Fuchs
303b357ce1
shell32: Implementation of SheGetDirA/W and SheChangeDirA/W.
2007-07-19 14:51:08 +02:00
Alexandre Julliard
92ceff203b
shell32: Get rid of CharNextW.
2007-06-25 14:01:59 +02:00
Alexandre Julliard
9d2d5eae2d
shell32: Don't wrap SHELL_ConfirmIDs in an assert. Fixed return value.
2007-02-14 14:43:50 +01:00
Mikołaj Zalewski
33ee219ce3
shell32: Allow overwriting files in SHFileOperation(FO_COPY) (with confirmation dialogs).
2007-02-12 12:38:57 +01:00
Mikołaj Zalewski
c55277c7e1
shell32: Add a confirmation dialog with a "Yes to All" option.
2007-02-12 12:38:39 +01:00
Andrew Talbot
388fe7e371
shell32: Declare some functions static.
2007-02-07 11:03:28 +01:00
Alexandre Julliard
a051487d3b
shell32: Avoid using garbage data in wildcard expansion.
2006-12-11 15:37:35 +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
Andrew Talbot
19e85ca5a9
shell32: Another cast-qual warning fix.
2006-10-02 11:55:32 +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
000eddbc8c
shell32: Don't add the directory name twice when recursing into subdirectories.
2006-08-22 12:00:14 +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
Mike McCormack
5678ec4db6
shell32: Use case insensitive comparisons when comparing paths.
2006-08-08 19:34:40 +02:00
Mikołaj Zalewski
034c1c4f18
shell32: Call the trashing code from SHFileOperationW.
2006-07-31 12:55:41 +02:00
Mikołaj Zalewski
ca7de052b2
shell32: Add trashing confirmations.
2006-07-31 12:38:54 +02:00
Mikołaj Zalewski
ea0a102d55
shell32: Show a confirmation before deleting files with syscalls.
2006-07-07 17:28:10 +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
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
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
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
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
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02: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
Alexandre Julliard
d37a119ee6
shell32: Fixed a couple of FindFirstFile handle leaks.
2006-01-27 15:48:29 +01:00
James Hawkins
1be970d485
shell32: Reimplement a factored SHFileOperation.
2006-01-23 11:22:59 +01:00