Commit Graph

42 Commits

Author SHA1 Message Date
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 ac241bf763 shell32: Check for macOS at runtime.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-17 20:24:05 +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
Alexandre Julliard 0cdb12ae37 shell32: Add a helper to retrieve trash item data without copying it.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-16 17:17:30 +02:00
Alexandre Julliard aef981df62 shell32: Share more code between the various IShellFolder_GetDetailsOf implementations.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-10 18:50:19 +02:00
Damjan Jovanovic ad412b11a7 shell32: Implement IID_IContextMenu in CreateViewObject() methods for shell folders that support it.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=39841
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-03 20:42:29 +02:00
Michael Stefaniuc 3908142028 shell32: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-09 02:10:11 +01: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 2406d6cd84 shell32: System shellfolders don't support GetDefaultSearchGUID() in recent versions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 10:20:11 +02:00
Nikolay Sivov babd22b443 shell32: System shellfolders don't implement GetDefaultColumn().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-27 10:20:09 +02:00
Nikolay Sivov 91947b35ad shell32: Use interface pointer instead of implementation one.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 23:23:39 +09:00
Sebastian Lackner a11fb74ffb shell32: Use the correct memory allocation function in RecycleBin_GetDisplayNameOf.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 12:06:53 +09:00
Piotr Caban 8aba9366ed shell32: Pass trash path to TRASH_EnumItems. 2015-02-02 22:29:32 +09:00
Piotr Caban d46862b487 shell32: Handle TRASH_EnumItems failures correctly. 2015-02-02 22:29:25 +09:00
Nikolay Sivov 0de2514f39 shell32: Consistently return interface pointer instead of implementation pointer. 2013-09-03 20:02:55 +02:00
Nikolay Sivov bf0c67c322 shell32: Use proper macros when calling COM methods. 2012-07-30 17:13:33 +02:00
Marcus Meissner 0ef705fb69 shell32: Avoid memcmp result truncation (Coverity). 2012-07-09 10:11:32 -04:00
Michael Stefaniuc 28d8819b63 shell32: Avoid an unsafe iface to object cast in AddToEnumList(). 2011-10-10 13:44:39 +02:00
Michael Stefaniuc bd407b700e shell32: Return the IEnumIDList object on its creation. 2011-10-10 13:44:33 +02:00
Michael Stefaniuc 27b284d4c9 shell32: Simplify RecycleBin_EnumObjects() a little. 2011-10-10 13:44:12 +02:00
Michael Stefaniuc 61c8da18ef shell32: Merge enumidlist.h into the main header file. 2011-10-10 13:43:22 +02:00
Alexander Morozov ba6f99c239 query: Add stub for LoadIFilter. 2011-09-08 20:08:07 +02:00
Octavian Voicu 776e27834d shell32: Fix an incorrect pointer/integer cast on 64-bit and fix check for resource id. 2011-09-01 18:06:39 +02:00
Francois Gouget 17b386a689 shell32: Make erase_items() static. 2011-07-14 14:48:36 +02:00
Francois Gouget e5de59b625 shell32: Add a trailing '\n' to Wine trace calls. 2011-07-14 14:48:10 +02:00
Jay Yang 80c62ca203 shell32: Implement restoring items from the recycle bin. 2011-07-09 12:16:36 +02:00
Jay Yang 4dd99dcc55 shell32: Implement a context menu for the recycle bin. 2011-07-09 12:09:19 +02:00
Jay Yang 47ca9b5c9e shell32: Have RecycleBin implement ISFHelper. 2011-07-09 12:04:31 +02:00
Jay Yang 3613a421e6 shell32: Implement SHEmptyRecycleBin. 2011-07-09 12:04:20 +02:00
Jay Yang 52838e687a shell32: Implement SHQueryRecycleBin. 2011-07-09 11:56:12 +02:00
Michael Stefaniuc 421b6527f2 shell32: Use ifaces instead of vtbl pointers in RecycleBin. 2011-01-27 14:20:21 +01:00
Francois Gouget fc93ff351e shell32: Get rid of TRASH_ELEMENT and TRASH_DisposeElement().
The latter was unused while the former did not seem very useful.
2009-02-09 13:15:04 +01:00
Andrew Talbot 2cce0040a0 shell32: Assign to structs instead of using memcpy. 2008-03-18 11:15:26 +01:00
Andrew Talbot 2f25755674 shell32: Remove unneeded casts. 2008-01-21 11:39:04 +01:00
Gerald Pfeifer e403292e5a shell32: Avoid checking for <0 for unsigned variables. 2007-11-02 12:37:02 +01:00
Thomas Weidenmueller 4c516e63d3 shell32: Use SHStrDupW in IShellFolder2::GetDetailsOf to allocate returned string. 2007-11-02 12:24:14 +01:00
Louis Lenders 6089fe8667 shell32: Add stub for SHUpdateRecycleBinIcon. 2007-06-11 13:50:06 +02:00
Dmitry Timoshkov e4c0748c21 shell32: Make some data static and const. 2006-11-28 12:36:12 +01:00
Francois Gouget 22288de732 Fix compilation with gcc 2.95. 2006-10-19 13:35:19 +02:00
Mikołaj Zalewski 6cc378cc67 shell32: Show file size in the details view in kilobytes. 2006-08-22 12:00:22 +02:00
Mikołaj Zalewski 64c5142ae9 shell32: Add recyclebin.c file missing in previous commit. 2006-08-09 13:05:58 +02:00