Commit Graph

142 Commits

Author SHA1 Message Date
Eric Pouech 570e24a014 shell32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:32:11 +01:00
Zebediah Figura 3113c5412f shell32: Remove redundant definitions of undocumented shell functions.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 09:48:55 +01:00
Alexandre Julliard bc909b1bd5 shell32: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 11:12:47 +02:00
Alexandre Julliard b215536852 shell32: Use wide char string literals.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 48d62fc623 shell32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:24:05 +02:00
Alexandre Julliard 5803b168ac shell32: Reimplement trash support using Win32 APIs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 22:22:44 +02:00
Francois Gouget c10d9d102c shell32: Fix a couple of ASCII / ANSI mixups in comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:07:48 +02:00
Jactry Zeng 4a1bd593f3 shell32: Implement IFileOperation stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48848
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 11:55:10 +01:00
Paul Gofman e2f456cfe5 shell32: Only consider copy operation multidest if the number of dst files is greater than one.
Fixes crash on start in Worms World Party Remastered.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-23 19:31:18 +02:00
Austin English 4429608189 shell32: Add SHMultiFileProperties stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47411
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 11:51:48 +02:00
John Thomson 9b6d198a3c shell32: Do not fail in SHCreateDirectoryExW for ERROR_ALREADY_EXISTS.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47023
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 22:48:08 +02:00
Alistair Leslie-Hughes c88a65f2ab shell32: Choose return value for SHFileOperationA depending on windows version.
Based on a patch by Michael Müller.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-14 12:11:48 +02:00
Daniel Lehman da8a801a58 shell32: Convert / to \ when parsing file list.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 09:45:22 +02:00
Michael Stefaniuc 250e8437d7 shell32: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-29 17:27:41 +02:00
Nikolay Sivov 612a194133 shell32: Use ARRAY_SIZE macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:12 +01:00
Nikolay Sivov e3b200bd8a shell32: Use global memory allocation helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Nikolay Sivov 1ee9c2c60b shell32: Make some strings static constants.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-04 15:13:36 +01:00
Fabian Maurer 755f49d7c4 shell32: Draw text on message boxes without background.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-05 10:04:06 +02:00
Andrey Gusev 7f64817e5e shell32: Fix a typo in TRACE format in SHPathPrepareForWriteW.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-23 17:35:54 +09:00
Olivier F. R. Dierick 9f202b7804 shell32: Set last error explicitly in SHFileOperation().
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 20:11:49 +09:00
Francois Gouget 413c6f60cf Assorted spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:52 +09:00
Zhenbo Li 637bcd5de9 shell32: Fix return type for helper functions of SHFileOption. 2015-09-01 21:11:16 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Dmitry Timoshkov 5acb82fc28 shell32: Fix SHFileOperation(FO_MOVE) for a directory with subdirectories. 2015-03-19 21:05:13 +09:00
Sebastian Lackner 7c48641100 shell32: Fix incorrect size argument of FormatMessageW. 2015-03-02 13:51:18 +09:00
Zhenbo Li 2ba9ee018b shell32: Fix SHFileOperation when deleting a nonexistent directory. 2014-06-25 11:55:10 +02:00
Aric Stewart a2c905244b shell32: Improve the FO_MOVE operation. 2014-02-27 11:45:51 -06:00
Damjan Jovanovic 0f64ffd91f shell32: Fix non-BOOL returns in BOOL functions. 2013-01-11 18:14:08 +01:00
Daniel Lehman 32f636f6d1 shell32: Initialize fAnyOperationsAborted in SHFileOperation. 2012-11-07 13:55:57 +01:00
Francois Gouget 79ea850eab shell32: Add some more function prototypes and fix the IsNetDrive() one. 2012-09-24 22:27:29 +02:00
Damjan Jovanovic 74fe2989cb shell32: Fix some return types. 2012-06-20 10:31:03 +02:00
Frédéric Delanoy 78b66ba020 shell32: Remove dead assignment (Clang). 2011-07-08 13:41:02 +02:00
Alexandre Julliard 22b7fedff5 shell32: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:02:35 +02:00
Christian Costa 240afab362 shell32: Allow copy operation to overwrite an existing write protected file + tests. 2010-02-23 17:45:40 +01:00
Vincent Povirk b609e25204 shell32: Use the current directory when copying to an empty destination. 2010-02-08 17:14:43 +01:00
Vincent Povirk a18bc73fce shell32: Fix a memory leak in SHFileOperationW. 2009-12-18 11:44:49 +01:00
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