Commit Graph

3267 Commits

Author SHA1 Message Date
Thomas Faber eff884f19b shell32/tests: Destroy shell view windows. 2015-07-06 17:09:50 +09:00
Thomas Faber 71f1c90628 shell32/tests: Fix an ok() print. 2015-07-06 17:09:50 +09:00
Nikolay Sivov 69733d65e8 shell32: Handle string-to-guid conversion errors (Coverity). 2015-07-06 15:13:24 +09:00
Thomas Faber 9551179c0b shell32/tests: Remove a misleading test. 2015-06-30 14:41:43 +09:00
Thomas Faber e582495927 shell32: Use QueryInterface in FolderView_GetFolder.
test_IFolderView has a test that shows that the shell folder's reference
count before and after the call to IFolderView_GetFolder is the same.
However this is misleading because it is not a property of the
IFolderView_GetFolder method, but of the desktop shell folder object
that's used in the folder view. Windows <=2003 uses a cached object and
its AddRef/Release methods return constants.
2015-06-30 14:41:43 +09:00
Thomas Faber c0cd954f98 shell32: Add missing parameter check in ISF_Desktop_fnQueryInterface. 2015-06-30 14:40:43 +09:00
Thomas Faber 9353a36d8f shell32/tests: Do not leak shell folder references. 2015-06-29 21:15:10 +09:00
Nikolay Sivov 7ca31b8119 shell32: Fix memory leak on NULL return length (Coverity). 2015-06-29 18:51:02 +09:00
Huw Davies da5151fd54 shell32/tests: Don't leave behind open explorer windows. 2015-06-23 21:59:40 +09:00
Huw Davies 905e7aad0e shell32/tests: Fix failing test on Win 2k. 2015-06-11 21:05:34 +09:00
Nikolay Sivov 1de3aec336 shell32/tests: Fix error code on win2k. 2015-06-08 15:26:53 +09:00
Nikolay Sivov d5d49464d3 shell32/tests: Fix tests failures on win2k. 2015-06-05 14:11:02 +09:00
Nikolay Sivov 8c11e6b2f0 shell32/tests: Fix one of test failures on win2k. 2015-06-04 15:55:57 +09:00
Nikolay Sivov 98da69a83f shell32/tests: Fix Verbs instance leak (Valgrind). 2015-06-04 15:55:45 +09:00
Akihiro Sagawa d2e9856a56 shell32: Skip buffer allocation when querying drop file numbers. 2015-06-02 20:53:43 +09:00
Akihiro Sagawa 37d7d6f81c shell32/tests: Add tests for DragQueryFile. 2015-06-02 20:53:43 +09:00
Akihiro Sagawa 4c31892ea5 shell32/tests: Make tests run on win2k again. 2015-06-02 14:09:12 +09:00
Nikolay Sivov bf41160c65 shell32: Implement FolderItemVerbs::Item(). 2015-05-11 15:39:26 +09:00
Nikolay Sivov 8f72117f19 shell32: Added FolderItemVerb stub. 2015-05-11 15:39:25 +09:00
Nikolay Sivov 77c2892d87 shell32: Implement FolderItemVerbs_get_Count(). 2015-05-11 15:39:25 +09:00
Nikolay Sivov 540171bc91 shell32: Added FolderItemVerbs stub. 2015-05-11 15:39:25 +09:00
Nikolay Sivov e013a7e584 shell32: Implement ParseName(). 2015-05-11 15:39:25 +09:00
Alexandre Julliard ed700d16f7 shell32/tests: Avoid duplicate const. 2015-05-11 15:39:25 +09:00
Nikolay Sivov 80d28abdc8 shell32: Partially implement SHGetKnownFolderIDList(). 2015-05-11 15:39:25 +09:00
Nikolay Sivov 4367f4b230 shell32: Silence IMarshal requests to IKnownFolder and IKnownFolderManager. 2015-05-11 15:39:25 +09:00
Nikolay Sivov 594e0b674f shell32: Forward couple of IKnownFolder methods to regular API equivalents. 2015-05-11 15:39:24 +09:00
Nikolay Sivov 3ec3fa5eb7 explorer: Return desktop shellview interface. 2015-05-08 18:33:51 +09:00
Nikolay Sivov 7ce1813fed shell32: Added IDispatch support for IShellFolderViewDual3. 2015-05-08 18:33:41 +09:00
Nikolay Sivov c2ecf3b0bf shell32: Update to IShellDispatch6. 2015-05-06 18:14:22 +09:00
Nikolay Sivov ce87d64ab4 shell32: Implement Application property of IShellFolderViewDual. 2015-05-06 18:13:59 +09:00
Nikolay Sivov a6163247cd shell32: Implement GetSelectedCount() using IFolderView2::GetSelection(). 2015-05-05 10:16:37 +09:00
Nikolay Sivov be6e022f2d shell32: Forward SetRedraw to IFolderView2. 2015-05-05 10:16:33 +09:00
Nikolay Sivov 7e0e82bc9c shell32: Forward AutoArrange() to IFolderView2. 2015-05-05 10:16:29 +09:00
Nikolay Sivov a897adb67b shell32: Fix multiline trace message and some magic numbers. 2015-05-05 10:16:25 +09:00
Nikolay Sivov a7b99a1f89 shell32/tests: A test for shellview QI for IOleWindow. 2015-05-05 10:16:16 +09:00
Nikolay Sivov 478d695ec8 shell32/tests: Fix test crashes when running with wine. 2015-05-04 20:10:53 +09:00
Nikolay Sivov 23d546157a shell32: Better handle creation/destruction of shellview window. 2015-05-04 15:08:43 +09:00
Nikolay Sivov eeabe96abb explorer: Return IShellBrowser in response to SID_STopLevelBrowser. 2015-05-04 15:08:38 +09:00
Nikolay Sivov 3c7bf0350a explorer: Added stub IServiceProvider support for shell browser window. 2015-05-04 15:08:33 +09:00
Nikolay Sivov 68c5fed5cc explorer: Implement Application property. 2015-05-04 15:08:27 +09:00
Nikolay Sivov 58775c878a explorer: Added IDispatch support for ShellBrowserWindow instance. 2015-05-04 15:08:24 +09:00
Nikolay Sivov a74c56a3b9 explorer: Added stub IWebBrowser2 support for desktop shell window. 2015-05-01 15:17:03 +09:00
Nikolay Sivov 06b60cc4d0 shell32: Forward to CreateViewWindow3(). 2015-05-01 15:16:19 +09:00
Nikolay Sivov e91dac5153 shell32: Update to IFolderView2. 2015-05-01 15:15:56 +09:00
Nikolay Sivov 5d288771c9 shell32: Update to IShellView3. 2015-04-30 16:20:58 +09:00
Nikolay Sivov f57b5ea2fb shell32/tests: Some more tests for IShellWindows implementation. 2015-04-30 16:20:41 +09:00
Nikolay Sivov dd9813b5f7 shell32: Added a stub implementation of IShellFolderViewDual3. 2015-04-30 16:20:35 +09:00
Nikolay Sivov b4769495bc explorer: Added a stub IShellWindows implementation.
Most of it was done by Andrew Eikum.
2015-04-29 12:26:32 +09:00
Nikolay Sivov fae0f6785a shell32/tests: Some tests for IShellWindows. 2015-04-29 12:25:00 +09:00
Nikolay Sivov d6802318aa include: Added IShellFolderViewDual definition. 2015-04-28 20:23:59 +09:00
Andrew Eikum 8042831061 shell32: Add more knownfolders. 2015-04-14 16:50:07 +09:00
Andrew Eikum 96971ea36d shell32: Add more knownfolders. 2015-04-13 15:04:25 +09:00
Andrew Eikum c6b999b901 shell32: Add more knownfolders. 2015-04-10 15:21:35 +09:00
Andrew Eikum f58c11767a shell32: Add more knownfolders. 2015-04-09 13:24:30 +09:00
Andrew Eikum e4868d5635 shell32: Allocate returned array in IKnownFolderManager::GetFolderIds. 2015-04-09 13:24:23 +09:00
Andrew Eikum 915bef8725 shell32: Add more knownfolder definitions. 2015-04-08 23:21:33 +09:00
Andrew Eikum c01efd0666 shell32: Support setting and retrieving KnownFolder parsing names. 2015-04-08 23:19:35 +09:00
Nikolay Sivov 17339f4f94 shell32: Cleanup IShellItem creation calls. 2015-04-08 16:22:30 +09:00
Francois Gouget e9d010ef62 shell32: Add support for the OS X 'My Stuff' folders. 2015-04-08 16:21:39 +09:00
Nikolay Sivov 1d3d086560 shell32: Remove a couple of redundant lines. 2015-04-07 18:53:44 +09:00
Nikolay Sivov d19790840f shell32: Cleanup item array creation code. 2015-04-07 18:53:40 +09:00
Nikolay Sivov 47f8dbcb36 shell32: Fix allocation size (Valgrind). 2015-04-07 18:53:32 +09:00
Francois Gouget e4c285b074 shell32: Point the 'My Documents' symbolic link to the XDG or OS X 'Documents' folder if they exist. 2015-04-03 11:22:00 +09:00
Dmitry Timoshkov 6e638d824b shell32: Update version information to match XP values. 2015-03-23 16:36:40 +09:00
Francois Gouget 351d907bbd shell32: Remove unneeded NONAMELESSXXX directives. 2015-03-20 17:50:06 +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
Dmitry Timoshkov 5614ae23ee shell32/tests: Add a couple of SHFileOperation(FO_MOVE) tests for a directory. 2015-03-19 21:05:11 +09:00
Andrew Eikum 12d057c8e7 shell32: Install knownfolders to registry during DLL registration. 2015-03-18 19:27:31 +09:00
Andrew Eikum efbea96142 shell32: Also register knownfolder attributes. 2015-03-18 19:27:18 +09:00
Andrew Eikum cdf6aecc22 shell32: Allow registering knownfolders without relative paths. 2015-03-18 19:27:11 +09:00
Andrew Eikum 7c9151c1e6 shell32: Allow updating knownfolder definitions. 2015-03-18 19:26:52 +09:00
Andrew Eikum fdbdad03f3 shell32/tests: Support alternate parent folders. 2015-03-12 13:56:11 +09:00
Andrew Eikum 122f71866e shell32/tests: Fix win8 knownfolder attributes. 2015-03-12 13:55:58 +09:00
Andrew Eikum 7a55f5461a shell32/tests: Remove unused flag. 2015-03-12 13:55:51 +09:00
Andrew Eikum dd275615db shell32/tests: Fix win8 knownfolders relative and parsed paths. 2015-03-12 13:55:40 +09:00
Andrew Eikum 1b4272639b shell32/tests: A couple of win8 fixes. 2015-03-12 13:54:45 +09:00
Michael Stefaniuc 725662003a shell32/tests: Actually test some return values (PVS-Studio). 2015-03-04 21:50:43 +09:00
Alexandre Julliard d28052066d shell32/tests: Use NULL for a null pointer. 2015-03-04 21:50:33 +09:00
Andrew Eikum db35807eb0 shell32: Fall back on CSIDL path for knownfolders without a path in the registry. 2015-03-03 11:47:00 +09:00
Andrew Eikum 103f158c63 shell32: Also return RelativePath in GetFolderDefinition. 2015-03-03 11:46:56 +09:00
Andrew Eikum 32a6ee3887 shell32: Also return ParentFolder ID in GetFolderDefinition. 2015-03-03 11:46:52 +09:00
Sebastian Lackner 7c48641100 shell32: Fix incorrect size argument of FormatMessageW. 2015-03-02 13:51:18 +09:00
Andrew Eikum e56e9c11fa shell32: Use a helper function to allocate strings from the registry. 2015-03-02 13:48:35 +09:00
Andrew Eikum b5c12cf9f3 shell32: Use a helper function to get DWORDs from registry. 2015-03-02 13:48:32 +09:00
Andrew Eikum d7d058482c shell32: Rearrange error handling in IKnownFolder::GetFolderDefinition. 2015-03-02 13:48:28 +09:00
Sebastian Lackner 9491044e44 shell32: Simplify check for an empty string. 2015-02-26 20:11:05 +09:00
Sebastian Lackner aba6a68068 shell32: Fix memory leak in ApplicationAssociationRegistration_QueryCurrentDefault. 2015-02-26 20:11:02 +09:00
André Hentschel 81711c7558 shell32: Don't call Drop without valid target. 2015-02-24 23:01:42 +09:00
Alistair Leslie-Hughes 3121955956 shell32: Implement IApplicationAssociationRegistration QueryCurrentDefault. 2015-02-18 16:40:52 +09:00
Piotr Caban 6dac2f7a77 shell32: Add partial support for Mac trash enumeration. 2015-02-02 22:29:46 +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
Piotr Caban 814ab9ee46 shell32: Create trash test file in temp directory. 2015-02-02 22:29:18 +09:00
Francois Gouget 169923d4b9 shell32: Reset pszHome if it's not usable so we don't try to reuse it when setting up the Desktop symlink. 2015-01-05 20:16:44 +01:00
Francois Gouget d7fc48463b shell32: Fix the IDS_PERSONAL hardcoded default.
The corresponding folder is called 'My Documents' but on Linux it's
usually called 'Documents' so that's much more appropriate fallback
than 'Personal'.
2015-01-05 20:16:36 +01:00
Francois Gouget aa096fb456 shell32: Fix a trailing '\n' in a FIXME() call. 2015-01-05 20:16:13 +01:00
Ken Thomases 1449090985 shell32: Don't append a trailing space to the arguments in a shell link if the command info has an empty parameters string. 2014-12-23 15:29:04 +01:00
Nikolay Sivov aeda103769 shell32: Added stub IPropertyStore for a shell link object. 2014-12-22 13:37:03 +01:00
Stefan Leichter 6f98de084b shell32: Export SHILCreateFromPath by name too. 2014-12-18 20:20:40 +01:00
Nikolay Sivov 717385b0ba shell32: Added a stub for SHAssocEnumHandlers(). 2014-12-05 20:47:42 +01:00
André Hentschel 2c1287871b shell32/tests: Remove unused variables (Clang). 2014-12-04 14:03:27 +01:00
André Hentschel 8d50a8a246 shell32: Remove unused string (Clang). 2014-12-04 14:03:26 +01:00
Michael Stefaniuc 61ed9130bf shell32/tests: Fix a copy and paste error (PVS-Studio). 2014-11-20 22:35:54 +09:00
Austin English 66662a87c0 shell32: Add a stub for RegenerateUserEnvironment. 2014-11-12 20:07:55 +09:00
Michael Stefaniuc 5d43ef68ce shell32: Simplify check for empty string (PVS-Studio). 2014-11-07 18:23:03 +09:00
Nikolay Sivov 730e744e3b shell32: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Marcus Meissner 97be8d027b shell32: Added stub for SHEnumerateUnreadMailAccountsW. 2014-09-15 10:12:20 +02:00
Francois Gouget 0f3728a692 shell32: Add a trailing '\n' to a FIXME(). 2014-08-19 14:48:29 +02:00
Francois Gouget c1d592876a shell32/tests: Add a trailing '\n' to a couple of win_skip() calls. 2014-08-19 14:48:27 +02:00
David Hedberg d016dc4004 shell32: Implement IEnumShellItems for IShellItemArray. 2014-08-05 16:39:07 +02:00
Michael Müller e38d1c9aa1 shell32: Create profile directories available in Vista and above. 2014-08-04 19:28:42 +02:00
David Hedberg 27b45807a7 shell32: Implement IShellItemArray::GetAttributes. 2014-08-04 14:27:48 +02:00
David Hedberg a79be28e8c shell32: Implement SHCreateShellItemFromIDLists. 2014-08-04 14:27:46 +02:00
David Hedberg 815b532b64 shell32: Always initialize shellitem to NULL in SHCreateShellItem. 2014-08-04 14:27:25 +02:00
David Hedberg 9ff6853478 shell32: Return S_OK only if the flags matches the result exactly. 2014-08-04 14:27:23 +02:00
David Hedberg 678434539e shell32: Mask out attributes we didn't ask for in ShellItem::GetAttributes. 2014-08-04 14:27:21 +02:00
David Hedberg 955b487b20 shell32/tests: Tests for IShellItemGetAttributes. 2014-08-04 14:27:19 +02:00
Sebastian Lackner d892239f5a shell32: Return NULL-terminated list of arguments in CommandLineToArgvW. 2014-07-09 09:29:33 +02:00
Nikolay Sivov f9a19f57e1 shell32: Implement PathYetAnotherMakeUniqueName(). 2014-06-30 22:04:52 +02:00
Zhenbo Li 2ba9ee018b shell32: Fix SHFileOperation when deleting a nonexistent directory. 2014-06-25 11:55:10 +02:00
Frédéric Delanoy 2ab8729020 Assorted spelling/grammar fixes. 2014-06-20 12:19:31 +02:00
Vincent Povirk fa8d59c30b shell32: Set tm_isdst before calling mktime. 2014-06-18 16:26:43 +02:00
Nikolay Sivov d3a034e348 shell32: Release cached desktop folder on process detach. 2014-06-16 09:30:52 +02:00
Nikolay Sivov c318cda8d1 shell32: Update to FolderItem2. 2014-06-11 16:05:55 +02:00
Vincent Povirk ee13e10cf6 shell32: Fix memory leak. 2014-05-21 19:38:35 +02:00
Huw Davies 6f7650aec1 shell32/tests: Fix tests on win 8. 2014-05-15 17:22:28 +02:00
Huw Davies d87aa43ce5 shell32/tests: Fix the tests when run from the top directory. 2014-05-15 17:22:27 +02:00
Vincent Povirk 3ebb9b7b75 shell32/tests: Use SW_HIDE with ShellExecuteA in tests. 2014-05-07 21:28:46 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
André Hentschel 5c73a4e629 shell32: Use boolean return value in boolean function. 2014-04-29 11:18:32 +02:00
Vincent Povirk 3d1cf168cf shell32/tests: Use SEE_MASK_NO_CONSOLE with ShellExecuteExA. 2014-04-25 10:22:47 +02:00
Vincent Povirk 2005be6dc9 shell32: Use CREATE_NEW_CONSOLE when SEE_MASK_NOCONSOLE is omitted. 2014-04-25 10:22:44 +02:00
Vincent Povirk 33a2242133 shell32: Pass MASK_NO_CONSOLE through to context menu handlers. 2014-04-25 10:22:41 +02:00
Vincent Povirk 7eebbf3b07 shell32: Respect CMIC_MASK_NO_CONSOLE in ShellLink InvokeCommand. 2014-04-25 10:22:38 +02:00
Hermès Bélusca-Maïto a08160680b shell32: Automatically expand CPL applet path string. 2014-04-16 14:35:16 +02:00
Nikolay Sivov 3cadbbb4b0 shell32: Use a proper deallocator (Coverity). 2014-04-15 09:45:06 +02:00
Nikolay Sivov 0efa2331e2 shell32: Fix a cloned pidl leak (Coverity). 2014-04-10 09:12:03 +02:00
Nikolay Sivov 3236c06c20 shell32: Fix a leak of memory pointing to XDG_PARSED_FILE (Coverity). 2014-04-10 09:11:56 +02:00
Hans Leidekker 807998ed4c shell32/tests: Mark some test results as broken. 2014-04-01 18:20:45 +02:00
Hans Leidekker e957dd89f9 shell32/tests: Remove todo handling from DDE tests. 2014-04-01 18:20:43 +02:00
Michael Stefaniuc c13e106e73 shell32: COM cleanup for IEnumIDList. 2014-03-26 19:28:00 +01:00
Michael Stefaniuc 0aff99771d shell32: Simplify the creation of an IEnumIDList. 2014-03-26 19:27:57 +01:00
Austin English 4903dda319 shell32: Fix a typo. 2014-03-25 19:01:30 +01:00
Hans Leidekker 86bd0603a2 shell32: Forward ShExtractIconsW to user32.PrivateExtractIconsW. 2014-03-25 19:01:27 +01:00
Thomas Faber b1b92046c2 shell32: Avoid a variable-length array. 2014-03-25 13:55:46 +01:00
Sebastian Lackner e28fe966fe shell32: Register user administrative tools shell folder.
Discovered by Michael Müller.
2014-03-10 12:20:00 +01:00
Aric Stewart a2c905244b shell32: Improve the FO_MOVE operation. 2014-02-27 11:45:51 -06:00
Nikolay Sivov d867a49a3d shell32/tests: Fix some test failures on Win8. 2014-02-24 09:12:15 -06:00