Commit Graph

120 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
Zhiyi Zhang 681d2dfd9d shell32: Check This->sPathTarget before calling get_display_name().
Fix Excel 2010 crashing in get_display_name() when clicking the ribbon bar file tab.
The check was removed in 984f608.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-11 21:07:10 +01: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 984f608c28 shell32: Use the standard shell folder implementation for Unix folders.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 19:34:22 +02:00
Alexandre Julliard 336c37d5f7 shell32: Allow specifying the child folder CLSID in SHELL32_BindToChild().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-15 19:34:22 +02:00
Alexandre Julliard 1dcd1fe613 shell32: Validate the destination name in IShellFolder::SetNameOf.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 18:06:56 +02:00
Alexandre Julliard 429154a97d shell32: Create the PIDLs even if IFileSystemBindData::GetFindData returns an error.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-14 18:06:56 +02:00
Alexandre Julliard ed5c882975 shell32: Merge the property bag implementation from the Unix shell folder.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-10 19:01:09 +02:00
Alexandre Julliard df9c67d196 shell32: Merge the drag & drop implementation from the Unix shell folder.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-10 18:52:37 +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
Andrey Gusev 169c3879b9 shell32: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-29 15:55:10 +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 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
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 f23edde42c shell32: Partially implement MapColumnToSCID().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 22:21:42 +02:00
Alexandre Julliard feac70c1cf shell32: Avoid zeroing a buffer that will get overwritten.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-28 20:21:37 +02:00
Nikolay Sivov 1c86f97985 shell32: Get rid of some casts by using IShellFolder2 internally.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-28 13:56:16 +01:00
Sebastian Lackner d3cb5c24a5 shell32: Remove __SHFreeAndNil macro.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 23:54:42 +09:00
Francois Gouget 351d907bbd shell32: Remove unneeded NONAMELESSXXX directives. 2015-03-20 17:50:06 +09:00
Frédéric Delanoy 0666ac3ed8 shell32: Use BOOL type where appropriate. 2013-10-22 16:37:40 +02:00
Nikolay Sivov 81b9a83d83 shell32: Remove unnecessary WINAPI and some casts. 2013-08-16 11:55:25 +02:00
Michael Stefaniuc 8a40df9800 shell32: Move IFSFolder_Constructor() to avoid forward declarations. 2013-02-27 11:30:40 +01:00
Michael Stefaniuc a5560ebee6 shell32: Finish the COM cleanup of ShellFSFolder. 2013-02-27 11:30:36 +01:00
Michael Stefaniuc 00a20667fa shell32: Get rid of a helper function. 2013-02-27 11:30:32 +01:00
Michael Stefaniuc 90d88de2bf shell32: COM clean up for IPersistFolder3 in ShellFSFolder. 2013-02-27 11:30:28 +01:00
Michael Stefaniuc 89e187d3bd shell32: Pass an IShellFolder2 to SHELL32_CompareIDs() to avoid casts. 2013-02-26 11:27:15 +01:00
Michael Stefaniuc febda816df shell32: COM clean up for IShellFolder2 in ShellFSFolder. 2013-02-26 11:27:06 +01:00
Michael Stefaniuc df56b233e0 shell32: COM clean up for the inner IUnknown of ShellFSFolder. 2013-02-20 10:34:31 +01:00
Michael Stefaniuc 563d229b5f shell32: Avoid TRUE:FALSE conditional expressions. 2012-08-14 11:59:18 +02:00
Nikolay Sivov bf0c67c322 shell32: Use proper macros when calling COM methods. 2012-07-30 17:13:33 +02:00
Nikolay Sivov 72a7c34109 shell32: Avoid casts when creating item menu. 2012-01-11 17:47:30 +01:00
Nikolay Sivov e9fa059976 shell32: Merge ShellView menu implementations into a single file. 2012-01-10 18:29:04 +01: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 61c8da18ef shell32: Merge enumidlist.h into the main header file. 2011-10-10 13:43:22 +02:00
Jay Yang 872c07a967 shell32: Make ISFHelper_fnCopyItems actually copy the items. 2011-07-20 19:23:04 +02:00
Nikolay Sivov 52dc1bcd37 shell32: Fix interface leak (Valgrind). 2011-01-19 12:23:59 +01:00
Andrew Eikum 0a55ec2c9e shell32: Correctly construct the PIDL given to SHChangeNotify in AddFolder. 2010-12-06 19:34:02 +01:00
Piotr Caban e062d4a6ff shell32: Improved IShellFolder_GetUIObjectOf implementation. 2010-11-10 16:16:45 +01:00
Andrew Eikum 5c81b5484a shell32: Fix a comment typo. 2010-06-28 16:58:38 +02:00
Michael Stefaniuc f8bac98196 shell32: Remove redundant "not NULL" check of ppidl (coccicheck). 2010-05-18 18:42:07 +02:00
Paul Vriens cb5e6f378a shell32: Fix length parameter for ZeroMemory (Coccinelle). 2010-01-08 10:13:56 +01:00
Michael Stefaniuc 6c54ad3dba shell32: Remove superfluous pointer casts. 2009-02-19 12:52:02 +01:00
Michael Stefaniuc 8324ed6cc9 shell32: Remove superfluous pointer casts from macros. 2009-02-19 12:51:57 +01:00
Michael Stefaniuc b7de266082 shell32: Remove superfluous casts; mostly of void pointers. 2008-11-06 11:09:51 +01:00