Commit Graph

667 Commits

Author SHA1 Message Date
Nikolay Sivov 1413e1d6d8 shell32/tests: Close find file handle (Valgrind). 2011-01-20 12:21:34 +01:00
Nikolay Sivov cc1dc2e693 shell32/tests: Fix a PIDL leak in tests (Valgrind). 2011-01-19 12:23:24 +01:00
Austin English 19fa0b32fd shell32/tests: fix a couple memory leaks (Valgrind). 2011-01-18 13:29:57 +01:00
David Hedberg 9fd1e23602 shell32/tests: Fix a leak in the ebrowser tests (Valgrind). 2011-01-17 12:52:31 +01:00
Nikolay Sivov 38a995021a shell32/tests: Fix some leaks in tests (Valgrind). 2011-01-17 12:50:58 +01:00
David Hedberg 2a809403d9 shell32: Fix test error on certain w2k8 setups. 2011-01-03 12:14:26 +01:00
André Hentschel 2c20270d24 shell32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:44:40 +01:00
André Hentschel f0b9d9fce6 shell32/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:21 +01:00
Greg Geldorp 519c288946 shell32/tests: Fix race conditions. 2010-12-28 16:35:41 +01:00
Greg Geldorp 7234ddd263 shell32/tests: Support for IShellFolderView::RemoveObject was removed in Win7. 2010-12-28 16:35:39 +01:00
David Hedberg 35a45d8190 shell32: Add IInputObject stub to ExplorerBrowser. 2010-12-23 17:07:40 +01:00
André Hentschel 2bbb9cb888 shell32/tests: Fix a typo. 2010-12-23 13:47:26 +01:00
David Hedberg 0d87e1f9fd shell32: IShellItem::GetAttributes should also work on the desktop shellfolder. 2010-12-20 12:47:40 +01:00
David Hedberg dfc2f20b89 shell32: Return S_OK in ::SetPropertyBag. 2010-12-20 12:47:40 +01:00
David Hedberg f6dad19730 shell32: Fix ExplorerBrowser::SetRect to work properly when passed a NULL-valued hdwp. 2010-12-20 12:47:40 +01:00
André Hentschel c0a86cc103 shell32: Fix shelllink test to not crash on NT4.
With much help from Francois.
2010-12-14 16:02:18 +01:00
Michael Stefaniuc 2a2020d997 shell32/tests: Standardize the COM usage in shlview.c. 2010-12-08 16:40:13 +01:00
Austin Lund 8446f5c0a7 shell32/tests: Fixed SHPathPrepareForWriteW tests on Asian platforms. 2010-12-03 14:28:23 +01:00
Paul Vriens 5680cf6293 shell32/tests: Use more A-functions to fix Win95 and actually test correctly on Win9x. 2010-11-29 11:24:09 +01:00
Andrew Eikum 2f05b5a6d9 shell32: Fix an off-by-one error that causes an infinite loop. 2010-11-18 12:31:22 +01:00
Piotr Caban b1c1ace81a shell32/tests: Added SHPropStg* tests. 2010-11-16 18:06:04 +01:00
Andrew Eikum b75b9fab2f shell32: PIDLs should be checked recursively in SHChangeNotify. 2010-11-15 12:59:05 +01:00
Andrew Eikum 71fad7d18d shell32/tests: Make SHChangeNotify tests more easily extendible. 2010-11-15 12:59:03 +01:00
Andrew Eikum d66317605d shell32: Don't search Path or PIDL for an icon in IShellLink::GetIconLocation.
Try as I might, I couldn't get a path out of GetIconLocation that wasn't
put there via SetIconLocation.  As far as I can tell, the code here was 
based on nothing.
2010-11-12 11:41:36 +01:00
Andrew Eikum f324f3c31e shell32: Don't fail if the path doesn't exist in Unix in IShellFolder::ParseDisplayName. 2010-11-12 11:41:08 +01:00
David Hedberg 10c0c4a8c1 shell32: Don't allow binding to files in any ShellFolder implementation. 2010-11-08 13:30:21 +01:00
David Hedberg 18d31c2799 shell32: Don't crash on NULL cmdgroup in DefView OleCommandTarget. 2010-11-08 13:30:21 +01:00
Marcus Meissner f5518eb3d8 shell32: Pass correct size to MultiByteToWideChar. 2010-10-25 12:41:42 +02:00
Alexandre Julliard 15c1670a5c shell32/tests: Fix some test failures on Vista. 2010-10-01 15:16:47 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alasdair Sinclair e3788512ad shell32/test: Prevent crash on cleanup if tests fail. 2010-09-27 14:10:43 +02:00
Alexandre Julliard c15b376a15 shell32: Map the x86 version of the folder to the appropriate path depending on Wow64 mode. 2010-09-21 14:11:27 +02:00
Michael Mc Donnell a862b95b4c shell32/tests: SHBrowseForFolder should return new folder pidl. 2010-09-20 17:43:02 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Hans Leidekker 859a1d0d44 shell32: Implement SHGetFolderPathEx. 2010-09-14 12:51:42 -05:00
Francois Gouget 75bb4359d7 shell32/tests: Make create_commdlgbrowser3() static. 2010-09-13 13:27:04 -05:00
Michael Mc Donnell 605611f8db shell32/tests: Test that basic renaming is supported. 2010-09-06 20:30:12 +02:00
Francois Gouget 6f1326fac1 shell32/tests: Fix compilation on systems that don't support nameless unions. 2010-08-30 11:26:46 +02:00
David Hedberg 91c5c0bab3 shell32: Add a navigation pane to the ExplorerBrowser control. 2010-08-26 17:21:08 +02:00
David Hedberg 555c5190aa shell32: Get ExplorerPaneVisibility from site of the ExplorerBrowser control. 2010-08-26 17:21:08 +02:00
David Hedberg ddcd619f6c shell32: Check for ICommDlgBrowser from site and use it in the IExplorerBrowser control. 2010-08-26 17:20:55 +02:00
Francois Gouget 87591917ce shell32/tests: Add a trailing '\n' to an ok() call. 2010-08-26 13:40:44 +02:00
David Hedberg 56b8d5d384 shell32: Add IObjectWithSite implementation to the ExplorerBrowser control. 2010-08-25 18:43:27 +02:00
David Hedberg 59965f9c80 shell32: Add ICommDlgBrowser3 stub to the ExplorerBrowser control. 2010-08-25 18:42:21 +02:00
David Hedberg fdccbd91af shell32: Add a travellog to the ExplorerBrowser control. 2010-08-25 18:42:14 +02:00
David Hedberg 00889f1723 shell32: Implement IExplorerBrowser::BrowseToObject. 2010-08-25 18:41:04 +02:00
David Hedberg b2a8de3de6 shell32/tests: Add some event tests to ExplorerBrowser tests. 2010-08-24 17:22:49 +02:00
David Hedberg ab63bc0515 shell32/tests: Add some tests related to the shellview created by ExplorerBrowser. 2010-08-24 17:22:49 +02:00
David Hedberg 008099f618 shell32/tests: Some additional tests for IShellBrowser. 2010-08-24 17:22:49 +02:00
David Hedberg 73100ce679 shell32: Implement IExplorerBrowser::BrowseToIDList and IShellBrowser::BrowseToObject. 2010-08-24 17:22:49 +02:00
David Hedberg 1f73f3a591 shell32: Support BHID_SFUIObject and BHID_DataObject in IShellItem::BindToHandler. 2010-08-24 17:22:49 +02:00
David Hedberg b88c3e2ecb shell32: Implement IExplorerBrowser::Advise and IExplorerBrowser::Unadvise. 2010-08-24 17:22:48 +02:00
Francois Gouget c15308f869 shell32/tests: Remove spaces before '\n's in traces. 2010-08-24 15:22:36 +02:00
Francois Gouget a879046f63 shell32/tests: Remove unneeded NULL pointer casts. 2010-08-24 15:22:35 +02:00
Francois Gouget 88cae5d4c7 Assorted spelling fixes. 2010-08-24 15:22:35 +02:00
David Hedberg 270845d3dd shell32: Implement IExplorerBrowser::SetFolderSettings. 2010-08-23 15:41:53 +02:00
David Hedberg 9c0260f2cb shell32: Implement IExplorerBrowser::SetOptions and IExplorerBrowser::GetOptions. 2010-08-23 15:41:53 +02:00
David Hedberg bee7d4b7e3 shell32: Implement IExplorerBrowser::SetRect. 2010-08-20 15:50:24 +02:00
David Hedberg e4e62e707a shell32: Implement IExplorerBrowser::Initialize. 2010-08-20 15:50:14 +02:00
David Hedberg 1efc54088b shell32: Add IShellBrowser stub. 2010-08-20 15:50:10 +02:00
David Hedberg 19979df965 shell32/tests: Add initial tests for the IExplorerBrowser control. 2010-08-20 15:50:04 +02:00
David Hedberg 6fbfb7cd1d shell32: Partial implementation of IShellItem::BindToHandler. 2010-08-17 14:21:22 +02:00
Andrew Eikum 9f37536d6a shell32: Add tests for SHChangeNotify functions. 2010-08-04 12:15:24 +02:00
Andrew Eikum 61b670a392 shell32/tests: Fix some Win9x failures. 2010-08-03 18:00:38 +02:00
Ilya Basin 3b545300b8 shell32/tests: CommandLineToArgvW("") shouldn't truncate returned exe path. 2010-07-26 18:38:33 +02:00
David Hedberg fd6d9cd8f2 shell32: Implement SHCreateShellItemArrayFromDataObject. 2010-07-26 18:38:31 +02:00
David Hedberg bf1b56be10 shell32: Implement SHCreateShellItemArrayFromShellItem. 2010-07-26 18:38:30 +02:00
David Hedberg 090824feb5 shell32: Initial implementation of IShellItemArray with SHCreateShellItemArray. 2010-07-26 18:38:30 +02:00
David Hedberg caffc9f557 shell32: Implement IShellItem::Compare. 2010-07-26 13:34:21 +02:00
David Hedberg 2f5b53e7d7 shell32: Implement SHGetItemFromObject. 2010-07-26 13:34:21 +02:00
David Hedberg b8a40388ee shell32: Implement SHGetIDListFromObject. 2010-07-23 13:05:31 +02:00
David Hedberg c8c2bc8b4b shell32: Implement SHGetItemFromDataObject. 2010-07-23 13:05:31 +02:00
David Hedberg 222d2142ef shell32: Implement SHCreateItemFromIDList. 2010-07-23 13:05:31 +02:00
David Hedberg 5b0b56fac4 shell32: Implement SHCreateItemFromParsingName. 2010-07-23 13:05:31 +02:00
David Hedberg b43bcdf524 shell32: Implement SHGetNameFromIDList and IShellItem::GetDisplayName. 2010-07-23 13:05:31 +02:00
David Hedberg 0e7a5bf76c shell32: Implement Set/GetCurrentViewMode in the default shellview. 2010-07-23 11:43:05 +02:00
Andrew Eikum f99c81621c shell32: IShellFolder::ParseDisplayName should work for missing files if given valid IBindCtx.
Additionally, SHSimpleIDListFromPath now returns PIDLs for non-existent
paths, as it should.
2010-07-22 10:24:56 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
David Hedberg fb88e06e79 shell32: Implement IPersistFolder2 for the desktop folder. 2010-07-20 14:40:32 +02:00
David Hedberg 1d658d4bb7 shell32/tests: Try harder to subclass the listview. 2010-07-20 14:40:32 +02:00
Michael Mc Donnell 5c715b46f4 shell32/tests: Test that clicking "Make New Folder" makes a new folder. 2010-07-20 12:35:56 +02:00
David Hedberg 65f6ab7c86 shell32: Shell_MergeMenus should be declared in shlobj.h and exported by name. 2010-07-20 12:35:13 +02:00
David Hedberg d60c9adca2 shell32: Fix some return values from the shellview contextmenu. 2010-07-19 15:06:15 +02:00
Ilya Basin fcba272391 include: Fix packing bug in shlobj.h. pragma pack 8 for ITEMSPACING, CSFV, SFV_CREATE. 2010-06-28 11:42:12 +02:00
Ilya Basin 9c23b5debc shell32/tests: SHELL_ArgifyW(%2|%*|%~3, ...) tests. 2010-06-25 16:17:09 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Francois Gouget 4898f6cb36 shell32/tests: Make I{DataObject,ShellBrowser}Impl_Construct() static. 2010-06-24 10:34:25 +02:00
Alexandre Julliard fa2444caf1 shell32/tests: Use the windows directory for the SHParseDisplayName test to avoid ambiguous namings. 2010-06-21 11:50:15 +02:00
Nikolay Sivov 45d6329cbb shell32: Export lowlevel PIDL manipulation calls by name too. 2010-05-26 17:36:32 +02:00
Gerald Pfeifer 3a88623553 shell32/tests: Remove variable res which is not really used from init_strings. 2010-05-10 10:16:45 +02:00
Aric Stewart 2554a55b34 shell32: Handle NULL pName in ShellLink fnSetDescription. 2010-05-03 16:44:41 +02:00
Nikolay Sivov f375123f01 shell32/tests: Fix a test failure on W2K (unimplemented method). 2010-04-20 16:21:37 +02:00
Nikolay Sivov 1b31b377b6 shell32: Load shell folder column names as A/W strings depending on 9x/NT selector. 2010-04-19 15:38:14 +02:00
Nikolay Sivov c51b248b48 shell32: Add printers CLSID to test, clean up a bit. 2010-04-19 15:38:08 +02:00
Nikolay Sivov 90a5529de8 shell32: Add ::Initialize() and ::GetCurFolder() for printers folder IPersistFolder2 interface. 2010-04-19 15:38:00 +02:00
Nikolay Sivov 506264becd shell32: Add ::GetDefaultColumnState() and partial ::GetDetailsOf() for printers folder. 2010-04-19 15:37:36 +02:00
Andrew Nguyen 7a7ece786c shell32/tests: Release the test desktop interface on all appropriate exit paths in ParseDisplayName tests. 2010-04-19 15:32:47 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Nikolay Sivov ef7abf1087 shell32/tests: Fix a test crash on Win9x. 2010-03-24 19:01:29 +01:00
Nikolay Sivov 34577a84d9 shell32: Add IFolderView::Item implementation. 2010-03-23 12:19:48 +01:00
Nikolay Sivov edcaf53f94 shell32/tests: Use strict comparison for return values. 2010-03-23 12:19:48 +01:00
Nikolay Sivov 0a32123d10 shell32: Add IShellFolderView::RemoveObject for IShellView. 2010-03-23 12:19:48 +01:00
Nikolay Sivov 1f6c759e0c shell32: IShellView::ContextSensitiveHelp not implemented. 2010-03-23 12:19:48 +01:00
Paul Vriens d57f05f062 shell32/tests: Fix test failures on Win95, Win98 and NT4. 2010-03-22 15:52:44 +01:00
Nikolay Sivov 01ebc66535 shell32: Implement IShellFolderView::QuerySupport no-op method. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 9958b80e9d shell32: Add IShellFolderView::SetRedraw implementation. 2010-03-22 15:52:36 +01:00
Nikolay Sivov 61fc3f9004 shell32: Implement some IShellFolderView methods over IFolderView. 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 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 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
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +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 537e3821d5 shell32: Initial test file for IShellView/IFolderView, implemented IFolderView::GetSpacing. 2010-03-15 14:18:06 +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 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
Paul Vriens 31d08405d9 shell32/tests: Fix the old shell32 detection. 2010-01-26 12:18:42 +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
Marcus Meissner 54aa61798f shell32: Handle bad menu handle (Coverity). 2010-01-11 13:39:46 -06: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 9d44153273 shell32/tests: Fix the system directory test for old WoW64 platforms. 2009-12-23 14:27:31 +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
Paul Vriens 9233215ae7 shell32/tests: Fix a test failure on a default Windows 7 system. 2009-12-11 17:47:29 +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
Paul Vriens 1c582d2ac5 shell32/tests: Don't fill a string with potential garbage. 2009-12-03 15:26:41 +01:00