Commit Graph

3421 Commits

Author SHA1 Message Date
Francois Gouget 805b5e36a9 shell32/tests: Add server-side DDE checks.
Should something go wrong a failed ok() call will leave a clearer trace
in the log than an assert.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:20 +09:00
Francois Gouget 446ade3b3c shell32/tests: Test environment variable inheritance with ShellExecute().
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:20 +09:00
Francois Gouget bdfaa8c807 shell32/tests: Check for failures in the child process.
Return the number of failures through both the child result file and the process exit code.
Also rename the child result file section to 'Child' since it no longer only contains 'Arguments'.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:19 +09:00
Francois Gouget 30230fae5f shell32/tests: Check the child process exit code and close the process handle.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:19 +09:00
Francois Gouget 3a9b09aa7d shell32/tests: Declare childPrintf() as a printf-style function.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:18 +09:00
Francois Gouget 38ad0ee01d shell32/tests: Reorder the functions to avoid forward declarations.
This also groups the helpers in a more logical fashion.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:18 +09:00
Francois Gouget 759bd96ac2 shell32/tests: Add traces to the WaitForInputIdle() hooking process.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:17 +09:00
Francois Gouget 78ada2e154 shell32/tests: Fix a couple of okChildPath()/okChildString() mixups.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 15:51:07 +09:00
Francois Gouget 3079179753 shell32/tests: Show that verbs and classes override ShellExecute()'s normal handling of executables.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 15:51:04 +09:00
Francois Gouget 2c0daad786 shell32/tests: Test handling of nonexistent verbs in ShellExecute() & co.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 15:51:00 +09:00
Francois Gouget 198e0d5d78 shell32/tests: Trace the association properties for the DDE tests.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:17:57 +09:00
Francois Gouget 7e000abeda shell32/tests: Call okShell() after a shell_execute{_ex}() test.
This ensures all the failed call parameters will be traced.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:17:24 +09:00
Francois Gouget c133ef7326 shell32/tests: Trace the last ShellExecute command whenever a corresponding test fails.
okShell() serves to encapsulate handling of shell_call and also provides a means for further extensions.

Remove the shell_call static initialization to not hide potential
use-before-assignment compiler warnings.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:17:05 +09:00
Francois Gouget 09dac2f482 shell32/tests: Use the shell_execute{_ex}() call site for its traces and error messages.
This makes it easier to match their internal test failures with the site of the real test.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 21:44:15 +09:00
Francois Gouget 9cc07a2b31 shell32/tests: Trace the effective ShellExecuteEx() flags.
shell_execute_ex() adds some flags for its own internal needs. The
traces should reflect that.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:47:04 +09:00
Francois Gouget f816bc93b0 shell32/tests: Tweak some overly optimistic ok() messages.
ShellExecute() is more likely to have returned an unexpected error code
than it is to have succeeded.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:46:53 +09:00
Francois Gouget 3dff8bc213 shell32/tests: Fix the shortcut vs. class interaction test.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:04 +09:00
Francois Gouget 201de16e30 shell32/tests: Create_test_association() should either succeed or fail due to insufficient permissions.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:04 +09:00
Francois Gouget 0a867de22d shell32/tests: Check the hProcess field when ShellExecuteEx() fails.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:04 +09:00
Francois Gouget 2fb84d5c50 shell32/tests: The expectedArgs parameter of the DDE tests is an argument count, not a boolean.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:03 +09:00
Nikolay Sivov ccc6cfc1de shell32/tests: Explicitly compare to HRESULT values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 20:04:40 +01:00
Nikolay Sivov 2e4954eb69 shell32/tests: Basic tests for SHCreateSessionKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:09:18 +01:00
André Hentschel 2cff59ed5c shell32: Minor cleanup of SHELL_execute (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 20:18:56 +01: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
Piotr Caban 3a6ac60555 shell32: Improved IDataObject::QueryGetData implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 01:28:32 +09:00
Nikolay Sivov 5cf9539650 shell32: Return as soon as requested CLSID is located (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 22:08:45 +09:00
Andrew Eikum aaafeb4cec shell32: Implement IShellDispatch2::ShellExecute.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:23 +09:00
Nikolay Sivov 4e88852415 shell32: Fix temporary item array leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:07 +09:00
Nikolay Sivov 2fff77a0ee shell32/tests: Fix prototype to match implementation (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 21:09:13 +09:00
Nikolay Sivov 186bed3d16 shell32: Properly handle SHGetPathFromIDListW failure (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 01:04:29 +09:00
Nikolay Sivov 4ee4c06410 shell32: Cleanup ReadCabinetState exports.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:35 +09:00
Nikolay Sivov 95ecc29a50 shell32: Remove another recurring return code check (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:34 +09:00
Nikolay Sivov e2275b0a2a shell32: Remove recurring return value check (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-19 12:22:39 +09:00
Nikolay Sivov 5853e7769c shell32: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 19:18:26 +09:00
Nikolay Sivov 972a74ddfe shell32: Added dll manifest file.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2015-10-01 16:33:28 +09:00
Nikolay Sivov e585d17ff3 shell32/tests: Test icon ids that are invalid on all systems. 2015-09-16 22:11:09 +09:00
Vincent Povirk 69d57ee72f shell32: Do nothing if we can't convert PIDL to path in SHAddToRecentDocs. 2015-09-15 17:55:19 +09:00
Zhenbo Li 637bcd5de9 shell32: Fix return type for helper functions of SHFileOption. 2015-09-01 21:11:16 +09:00
Vincent Povirk 8657547d9e shell32: Fix getting parent shell folder when it's the desktop folder.
BindToObject fails in this case.
2015-08-17 14:47:37 +09:00
Vincent Povirk 642b2fe789 shell32: Use return value from IShellFolder_GetAttributesOf. 2015-08-17 14:47:30 +09:00
Hans Leidekker 7ec5f555b0 shell32: Add a stub implementation of SHQueryUserNotificationState. 2015-08-06 21:42:30 +09:00
Mark Harmstone 77b75ca14b shell32: Don't hardcode icon sizes in SIC_LoadIcon. 2015-08-03 11:00:54 +02:00
Nikolay Sivov e46c32ab46 shell32/ebrowser: Implement EBO_NOBORDER option. 2015-08-03 10:57:46 +02:00
Nikolay Sivov 118c469598 shell32/ebrowser: Use proper color for pane separator. 2015-08-03 10:57:37 +02:00
Nikolay Sivov e7acfee978 shell32: Added GetCurrentProcessExplicitAppUserModelID() stub. 2015-07-22 16:42:42 +02:00
Sebastian Lackner 7d3f13a129 shell32: Ensure that commandline is null-terminated when no parameters are given. 2015-07-17 14:28:17 +09:00
Piotr Caban 943ead5022 shell32: Fix SHELL_execute code that removes quote arround file name. 2015-07-16 16:29:12 +09:00
Piotr Caban 663f9f4b21 shell32: Handle executable with space in path in SHELL_execute. 2015-07-16 16:29:09 +09:00
Piotr Caban 8e853a3e90 shell32: Remove code for separating arguments from file path. 2015-07-16 16:29:06 +09:00
Huw Davies 0b9737b1ea shell32: Fix threading model for the Known Folder Manager and Shell Link objects. 2015-07-08 16:02:23 +09:00
Thomas Faber 360cf273ae shell32/tests: Test that shell view windows reference their shell view. 2015-07-07 16:52:21 +09:00
Nikolay Sivov 28caa68d41 shell32/tests: Try harder to close Open With window. 2015-07-07 16:52:20 +09:00
Huw Davies f5e16e0638 shell32/tests: Win 2k doesn't cope with spaces in the path. 2015-07-07 16:52:20 +09:00
Huw Davies c5053f5712 shell32/tests: Win XP splits the args if there are spaces in the path.
This isn't seen on winetest runs, but is when jobs are submitted to
the testbot.  Presumably the path of the executable is different in
the two cases.
2015-07-07 16:52:19 +09:00
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
Jacek Caban cf2098cf2d shell32/tests: Ensure that tmpdir contains long path name. 2014-02-19 16:46:19 +01:00
Nikolay Sivov 7dc45ea585 shell32/tests: Fix a test failure on Win8. 2014-02-13 17:52:13 +01:00
Francois Gouget 3e033bb130 shell32/tests: Skip any test that needs the .shlexec association if we could not create it. 2014-02-12 19:15:26 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Nikolay Sivov de686e9949 shell32/tests: Remove some assertions in test code. 2014-02-05 13:49:32 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Frédéric Delanoy a2b548ac3a shell32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
André Hentschel 9d1fdf1165 shell32/tests: Avoid preprocessor check to ensure it compiles. 2014-01-27 17:39:47 +01:00
Alexandre Julliard 26f8ac8fae shell32: Avoid a duplicate const. 2014-01-14 20:18:17 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard e330a128d5 shell32: Use Shell_GetImageLists to retrieve image lists instead of using a global variable. 2014-01-02 11:56:11 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Nikolay Sivov 3cd677958c shell32: Implement SHCreateQueryCancelAutoPlayMoniker() with some tests. 2013-12-31 12:27:23 +01:00
Frédéric Delanoy 7b9058c87a shell32/tests: Constify some character strings. 2013-12-30 19:01:39 +01:00
Alexandre Julliard 566d3418af makedep: Add a separate pragma flag for typelibs that need registration. 2013-12-26 13:32:49 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Nikolay Sivov b5312b70f5 shell32: Don't call comctl32 on unload time if it wasn't used before. 2013-12-11 12:56:07 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Alexandre Julliard bc9650392a makefiles: Include AUTHORS file directly from the top-level directory. 2013-11-30 12:43:20 +01:00
Rico Schüller 5f15a5633c shell32: Use lParam for BFFM_SETOKTEXT. 2013-11-22 11:36:17 +01:00
Zhenbo Li fa8e8c258c shell32/tests: Delete a nonexistent file in an existent dir or a nonexistent dir. 2013-11-20 20:08:47 +01:00
Nikolay Sivov b6efcef7a7 shell32: Cache typeinfo instances. 2013-11-19 18:49:10 +01:00
Frédéric Delanoy 6021107afd shell32: Use BOOL type where appropriate. 2013-11-19 18:47:41 +01:00
Nikolay Sivov 7b0c231f8e shell32: Update to IShellDispatch5. 2013-11-14 10:34:40 +01:00
Zhenbo Li f19f85f681 shell32/tests: Add a missed init_shfo_tests() call. 2013-11-13 18:31:57 +01:00
Frédéric Delanoy b6f934fe33 shell32: Use BOOL type where appropriate. 2013-11-12 12:58:03 +01:00
Zhenbo Li 7c1602464a shell32/tests: Add tests for SHFileOperationA. 2013-11-11 17:06:46 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Francois Gouget 0a08c18518 shell32/tests: Disable a test that crashes on Windows 8. 2013-11-01 10:57:14 +01:00
Frédéric Delanoy c398f8ce0e shell32/tests: Use BOOL type where appropriate. 2013-10-31 09:58:43 +01:00
Frédéric Delanoy 4473ce4db9 Assorted spelling fixes. 2013-10-30 09:46:27 +01:00
Nikolay Sivov fa93dadfa1 shell32/tests: Fix compilation with -D__WINESRC__. 2013-10-28 14:22:20 +01:00
Thomas Faber 947cce79d6 shell32: Avoid leaks and add parameter checks in SHCreateShellFolderView[Ex]. 2013-10-22 20:19:17 +02:00
Frédéric Delanoy 0666ac3ed8 shell32: Use BOOL type where appropriate. 2013-10-22 16:37:40 +02:00
Frédéric Delanoy 44b2fd269e shell32/tests: Use BOOL type where appropriate. 2013-10-21 10:44:34 +02:00
Alexandre Julliard d80ca173af shell32: Delay common controls initialization until needed. 2013-10-17 20:29:24 +02:00
Alexandre Julliard 116e33d50a shell32: Delay initialization of the icon cache until needed. 2013-10-17 20:29:23 +02:00
Alexandre Julliard 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Frédéric Delanoy ba2f448db9 shell32: Use BOOL type where appropriate. 2013-10-01 10:51:02 +02:00
Marcus Meissner 1440c54b99 shell32: Fixed wrong sizeof() in ZeroMemory (Coverity). 2013-09-30 11:34:51 +02:00