Commit Graph

2395 Commits

Author SHA1 Message Date
Nikolay Sivov 61fc3f9004 shell32: Implement some IShellFolderView methods over IFolderView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov fa3dd31a9c shell32: Add IShellFolderView::GetSelectedObjects implementation for IShellView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov a3d0877ed6 shell32: Add a stub IShellFolderView for IShellView. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 9e80570a3b shell32: Remove a useless debug switch, fix prototype. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 6a0bdddfc4 shell32: Add a note about a possible crash on NULL input. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 53ae4e2ba0 shell32: Add IPersist support for desktop IShellFolder. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 0f794f9510 shell32: Some debug tracing improvements. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 1168b79266 shell32: Properly fail for unsupported interfaces in IShellView::GetItemObject. 2010-03-22 15:52:35 +01:00
Francois Gouget 1cc79eaef7 shell32/tests: Remove spaces before '\n'. 2010-03-22 10:48:42 +01:00
Nikolay Sivov b774baa35c shell32: Add IPersistFile::GetCurFile implementation for IShellLink. 2010-03-19 12:23:42 +01:00
Ilya Basin 4b5f6ada17 shell32/tests: Add tests for the parser of SHELLEXECUTEINFO.lpFile. 2010-03-16 17:36:18 +01:00
David Hedberg bbe73787fc shell32: Initial support for the properties command in the IContextMenu for shellview. 2010-03-16 17:20:02 +01:00
David Hedberg 50c7cf5111 shell32: SHCreatePropSheetExtArrayEx should check if the key itself contains the clsid of the shell extension. 2010-03-16 17:19:25 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Nikolay Sivov 82a4b85424 shell32: Add SHCreateFileExtractIconW stub. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 345ab7d591 shell32/shellview: Don't crash on ::DragLeave called without droptraget. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 78c909fb08 shell32/shellview: Implement IFolderView::ItemCount for SVGIO_ALLVIEW flag. 2010-03-15 14:18:06 +01:00
Nikolay Sivov b8220e727c shell32/shellview: Implement IFolderView::GetFolder() for IID_IShellFolder. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 8c92ba009d shell32/shellview: Implemented IFolderView::GetFocusedItem. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 90b9c2fd39 shell32/shellview: Implemented IFolderView::GetSelectionMarkedItem() with basic test. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 4261aaffd7 shell32/shellview: Remove unneeded memset, release browser reference on failure. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 537e3821d5 shell32: Initial test file for IShellView/IFolderView, implemented IFolderView::GetSpacing. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 5308dfb396 shell32/shellview: Use W-calls for menu handling, same for SendMessage to ListView window. 2010-03-15 14:18:06 +01:00
Nikolay Sivov 571159d5ff shell32/shellview: Improve error handling on some helpers, fix possible leak. 2010-03-15 14:18:06 +01:00
Huw Davies a0126ec1ca shell32: Mask out the CSIDL_ flags. 2010-03-05 15:21:27 +01:00
Huw Davies c6b6082d16 shell32: Improve a TRACE and issue a FIXME if the interface is not implemented. 2010-03-05 15:21:22 +01:00
Nikolay Sivov 072951e2f8 shell32: Stub IShellView2::SelectAndPositionItem() over IFolderView::SelectAndPositionItems(). 2010-03-05 12:40:54 +01:00
Nikolay Sivov 04e527b31b shell32: Move SelectItem implementation to IFolderView and use it for IShellView::SelectItem. 2010-03-05 12:40:45 +01:00
Nikolay Sivov c9751d3688 shell32: Cast to class data pointer IShellView2 vtable as it's a first member. 2010-03-05 12:40:34 +01:00
Nikolay Sivov 8032ae7047 shell32: Stub IFolderView implementation for IShellView instance. 2010-03-05 12:39:35 +01:00
Nikolay Sivov fb45de3f66 shell32: Use return value on failure updated in Vista+. 2010-03-04 17:29:16 +01:00
Paul Vriens f370ab7e9b shell32/tests: Prevent crash on W2K and below. 2010-03-04 12:30:24 +01:00
Nikolay Sivov ab0e037ee0 shell32: Remove WINAPI where it's not needed. 2010-03-03 14:02:35 +01:00
Nikolay Sivov 500c785053 shell32: Implement SHParseDisplayName with basic tests. 2010-03-03 14:02:23 +01:00
Nikolay Sivov 721be7135f shell32/tests: Minor test file cleanup. 2010-03-03 14:02:13 +01:00
Alexandre Julliard d5a54642f4 shell32/tests: Fix broken check of the ok() macro return value.
Spotted by Yann Droneaud.
2010-02-24 16:04:05 +01:00
Alexandre Julliard d279227538 shell32/tests: Don't use the return value of the ok macro. 2010-02-24 16:03:15 +01:00
Christian Costa 240afab362 shell32: Allow copy operation to overwrite an existing write protected file + tests. 2010-02-23 17:45:40 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 6a6c8e3ee2 shell32/tests: Fix a test failure on NT4. 2010-02-10 11:34:53 +01:00
Vincent Povirk b609e25204 shell32: Use the current directory when copying to an empty destination. 2010-02-08 17:14:43 +01:00
Michael Stefaniuc 816a254276 shell32: Don't print the function name twice in an ERR. 2010-02-04 13:39:28 +01:00
Nikolay Sivov 9de35af881 shell32: Fix a debug channel. 2010-02-03 15:51:07 +01:00
Alexandre Julliard 49be8db6b1 shell32: Put the temp directory inside the user profile directory. 2010-01-28 15:30:13 +01:00
Paul Vriens 31d08405d9 shell32/tests: Fix the old shell32 detection. 2010-01-26 12:18:42 +01:00
Christian Costa 5a647e87c1 shell32: Improve some FIXMEs. 2010-01-26 12:18:31 +01:00
Paul Vriens edf050cf5d shell32/tests: Fix test failures on old shell32 for FO_MOVE. 2010-01-25 18:05:02 +01:00
Paul Vriens b3eeb4163c shell32/tests: Skip FO_COPY tests on old shell32. 2010-01-25 18:05:02 +01:00
Paul Vriens 1bd7956a7d shell32/tests: Fix FO_RENAME tests for old shell32. 2010-01-25 18:05:02 +01:00
Huw Davies 06ad4ce1c8 shell32: Add a test to show the IShellLink_GetIDList returns a copy of the IDList, remove an incorrect comment and fix a memory leak.
Found by Valgrind.
2010-01-22 13:56:16 +01:00
Paul Vriens 83c422e111 shell32/tests: Fix crash on ancient Win95. 2010-01-19 16:51:05 +01:00
Paul Vriens 3cbaaaa564 shell32: Remove some unneeded parameter setting. 2010-01-14 09:14:19 -06:00
Marcus Meissner 54aa61798f shell32: Handle bad menu handle (Coverity). 2010-01-11 13:39:46 -06:00
Paul Vriens cb5e6f378a shell32: Fix length parameter for ZeroMemory (Coccinelle). 2010-01-08 10:13:56 +01:00
Nikolay Sivov 9a53cb5263 shell32/shelllink: Fix some string buffers leaks. 2010-01-07 19:41:34 +01:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Alexandre Julliard 89df78e2c0 shell32: Move the RunDLL_CallEntry16 implementation to shell.dll. 2009-12-30 17:29:06 +01:00
Rob Shearman 3547ea011a shell32: Fix a potentially large memory leak in IQueryAssociations_fnGetString. 2009-12-30 13:37:14 +01:00
Rob Shearman 16f4b56345 shell32: Fix memory leaks in autocomplete tests. 2009-12-30 13:37:06 +01:00
Rob Shearman 0fd772be99 shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine. 2009-12-30 13:36:57 +01:00
Alexandre Julliard 1346740a57 shell32: Don't use the instance of the owner window for the autocomplete listbox. 2009-12-28 12:27:17 +01:00
Michael Stefaniuc 6f36945f2b shell32: Remove some superfluous LPARAM/WPARAM casts. 2009-12-28 12:27:15 +01:00
Alexandre Julliard 9d44153273 shell32/tests: Fix the system directory test for old WoW64 platforms. 2009-12-23 14:27:31 +01:00
Alexandre Julliard 29c0ecfd1c shell32: Use the module instance instead of that of the owner window for the about dialog. 2009-12-21 11:20:04 +01:00
Vincent Povirk a18bc73fce shell32: Fix a memory leak in SHFileOperationW. 2009-12-18 11:44:49 +01:00
Huw Davies b71173f7ac shell32: Fix a memory leak.
Found by Valgrind.
2009-12-17 13:09:49 +01:00
Huw Davies 7078cfa76b shell32: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Vincent Povirk 02a01f9585 shell32: Fix a memory leak in a test. 2009-12-14 12:07:30 +01:00
Vincent Povirk a8c2d4b5bc shell32: Fix an uninitialized memory access in SHGetFileInfoW.
If we are passed SHGFI_PIDL, szFullPath is not initialized. If we're passed
the flags PIDL, USEFILEATTRIBUTES, and an icon flag, we will try to use the
uninitialized filename to get the icon. Since the test claims that the
function should return an icon in this case, and we cannot always convert
a pidl to a path, we should just use the pidl.
2009-12-14 12:07:25 +01:00
Paul Vriens 9233215ae7 shell32/tests: Fix a test failure on a default Windows 7 system. 2009-12-11 17:47:29 +01:00
Nikolay Sivov daf99d4bdd shell32: Fix some trace typos. 2009-12-09 14:25:25 +01:00
Paul Vriens 5fa94d18c5 shell32/tests: Remove a useless string. 2009-12-08 17:44:30 +01:00
Paul Vriens ba5142f342 shell32/tests: Remove a now unused define. 2009-12-08 17:44:23 +01:00
Paul Vriens ea95977825 shell32/tests: Removed an unused define. 2009-12-08 17:44:16 +01:00
Paul Vriens 495d353c63 shell32/tests: Decide whether to use CSIDL_PROGRAMS or CSIDL_COMMON_PROGRAMS by checking admin rights. 2009-12-08 17:44:08 +01:00
Paul Vriens b965a5f0e0 shell32/tests: Cope with non-English Vista+ and short names in the title bar of explorer windows. 2009-12-08 17:44:01 +01:00
Marcus Meissner 265c959ed9 shell32: handle corrupt entry in iconcache registry entry (Coverity). 2009-12-04 14:34:58 +01:00
Paul Vriens 1c582d2ac5 shell32/tests: Don't fill a string with potential garbage. 2009-12-03 15:26:41 +01:00
Marcus Meissner 482354bdf7 shell32: Check for NULL lpText (Coverity). 2009-12-02 13:14:42 +01:00
Austin Lund 487a51b52f shell32/tests: Fix ITEMIDLIST_format test when running on FAT filesystems. 2009-12-01 13:40:17 +01:00
Paul Vriens e5d37c8d4a shell32/tests: Fix test failure on non-English locale. 2009-12-01 12:23:52 +01:00
Paul Vriens 404dcbcd65 shell32/tests: Change a trace into a skip for skipped tests. 2009-11-29 16:39:22 +01:00
Paul Vriens e5d83ac625 shell32/tests: Remove an unneeded HeapAlloc. 2009-11-29 16:39:08 +01:00
Paul Vriens 1c6f813bc7 shell32/tests: Fix test failures on Vista and higher. 2009-11-29 16:39:03 +01:00
Paul Vriens 98fef79f2d shell32/tests: Use ReadCabinetState to check title logic. 2009-11-29 16:38:53 +01:00
Paul Vriens f8134cee10 shell32/tests: Cope with systems lacking SHGetSpecialFolderPath. 2009-11-29 16:38:34 +01:00
Paul Vriens d5dac6c43d shell32/tests: Only fetch some special folders once. 2009-11-29 16:38:26 +01:00
Paul Vriens 17089d0c2e shell32/tests: Run tests on NT4 again. 2009-11-29 16:38:13 +01:00
Paul Vriens 1da30597e4 shell32/tests: Fix some test failures on Windows 7. 2009-11-29 16:37:17 +01:00
Paul Vriens ac85305c95 shell32/tests: Fix test failures on several platforms. 2009-11-24 18:13:58 +01:00
Damjan Jovanovic b585b24397 shell32: Deal better with spaces in ASSOCSTR_COMMAND values. 2009-11-24 15:53:36 +01:00
Paul Vriens f9a931070d shell32/tests: Fix some tests on Win7. 2009-11-20 11:40:12 +01:00
Owen Rudge 8d93b9cee8 shell32: Implement support for SHIL_SYSSMALL in SHGetImageList. 2009-11-19 11:48:25 +01:00
Marcus Meissner bc85487496 shell32: Remove useless NULL check (Coverity). 2009-11-19 11:47:55 +01:00
Owen Rudge ed5a2992f3 shell32: Don't increase refcount twice in SHGetImageList. 2009-11-19 11:47:38 +01:00
Owen Rudge 9db87f13d3 shell32: Implement SHGetImageList and remove todo_wine from imagelist tests. 2009-11-17 15:14:53 +01:00
Alexandre Julliard 61a4200162 shell32: Fix setting of NULL arguments in IShellLink. 2009-11-16 20:09:48 +01:00
Mikey Alexander d51b4e19fb shell32/tests: Fix Program Manager DDE conformance test failures. 2009-11-16 17:47:37 +01:00
Francois Gouget 8a00aaaa50 shell32: Make GetFileNameFromBrowse{A,W}() static. 2009-11-16 12:43:05 +01:00
Owen Rudge e8f05eeff3 shell32: Add Unicode version of GetFileNameFromBrowse.
Implement GetFileNameFromBrowse as an AW function.
2009-11-12 15:17:18 +01:00