Commit Graph

3031 Commits

Author SHA1 Message Date
Andrew Talbot 1d7a407f6d shell32: Indentation fix. 2012-12-21 11:37:22 +01:00
Detlef Riekenberg fc3868a07f shell32/tests: Add tests for DoEnvironmentSubstA/W. 2012-12-05 12:53:19 +01:00
Detlef Riekenberg 1708adeb97 shell32: Fix DoEnvironmentSubstA implementation. 2012-12-05 12:53:12 +01:00
Detlef Riekenberg ff2f494195 shell32: Implement DoEnvironmentSubstW. 2012-12-05 12:53:05 +01:00
Detlef Riekenberg c0ff587203 shell32/tests: Remove wrong comment. 2012-11-27 19:45:38 +01:00
Andrew Talbot cade59aab7 shell32: Remove unused variable. 2012-11-22 11:54:36 +01:00
Michael Stefaniuc 0705793eb0 shell32: Use the proper type for a function pointer field. 2012-11-20 19:47:03 +01:00
Francois Gouget 3b6b2107e2 shell32: Fix a buffer overflow in CommandLineToArgvW(). 2012-11-12 12:13:02 +01:00
Daniel Lehman 32f636f6d1 shell32: Initialize fAnyOperationsAborted in SHFileOperation. 2012-11-07 13:55:57 +01:00
André Hentschel b4b396a957 shell32: Reorder code to avoid memory leaks (coverity). 2012-10-29 10:38:19 +01:00
Francois Gouget 68c1bf507d shell32: Standardize on the ShellExecuteEx() terminology. 2012-10-18 19:21:10 +02:00
Francois Gouget 47d4041dc1 shell32/tests: Fix a test_argify() check that fails on NT4 and Windows 2000. 2012-10-16 20:39:47 +02:00
Marcus Meissner 9eb7378765 shell32: Avoid memory leaking buf (Coverity). 2012-10-15 13:31:05 +02:00
Francois Gouget 53e4ddc399 shell32: Fix ShellExecute()'s handling of file URLs. 2012-10-10 10:37:37 +02:00
Francois Gouget eee9b8ee12 shell32/tests: Simplify shlexec's test_directory() and add some more tests. 2012-10-10 10:37:27 +02:00
Francois Gouget 0c989fb078 shell32: Don't expand environment variables in ShellExecute()'s parameters argument. 2012-10-09 10:04:11 +02:00
Francois Gouget 40b01c1bfc shell32: Fix CommandLineToArgvW()'s handling of the executable path and consecutive quotes. 2012-10-09 10:04:04 +02:00
Francois Gouget 35004f84a2 shell32: Simplify CommandLineToArgvW() a bit. 2012-10-09 10:03:52 +02:00
Francois Gouget 1e3834aa14 shell32/tests: Fix test_one_cmdline() and add a few more tests.
test_one_cmdline() did not check the last parameter.
2012-10-09 10:03:25 +02:00
Francois Gouget 61f894c576 shell32/tests: Greatly expand the test_argify() tests. 2012-10-08 12:54:55 +02:00
Francois Gouget e440a7d22c shell32/tests: Merge shlexec's test_exes_long() with the other parameter passing tests.
Also remove the pointless noassoc test (duplicated from test_exes()).
2012-10-08 12:54:54 +02:00
Francois Gouget ab654c63cf shell32/tests: Add more ShellExecute() shortcut tests. 2012-10-08 12:54:53 +02:00
Francois Gouget 9ec7ab3fa0 shell32/tests: Write proper tests for CommandLineToArgvW(). 2012-10-04 10:42:40 +02:00
Francois Gouget da6b02ceb1 shell32/tests: Simplify shlexec's test_argify() and test_lpFile_parsed() and avoid numeric literals. 2012-10-04 10:42:25 +02:00
Francois Gouget 0e6605ac52 shell32/tests: Some more type consistency fixes for the ShellExecute() return value checks. 2012-10-04 10:42:08 +02:00
Marcus Meissner 4413e00eca shell32: Check return value of SHGetSpecialFolderPathW (Coverity). 2012-10-03 16:29:29 +02:00
Francois Gouget 483b8f7608 shell32/tests: Improve the shell_execute{_ex}() tracing. 2012-10-01 12:08:01 +02:00
Francois Gouget 906127fe29 Assorted spelling fixes. 2012-10-01 12:07:41 +02:00
Francois Gouget 79ea850eab shell32: Add some more function prototypes and fix the IsNetDrive() one. 2012-09-24 22:27:29 +02:00
Francois Gouget 5f55a71b70 Assorted spelling fixes. 2012-09-24 22:27:29 +02:00
Francois Gouget e8a515c28f shell32/tests: Add a few more ShellExecute() file URL tests. 2012-09-24 22:27:28 +02:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Michael Stefaniuc 5c02bc11e1 shell32/tests: Use the explicit type for a function pointer. 2012-09-21 20:02:35 +02:00
Erich Hoover 7eb0d62b3d shell32: Create the All Users Microsoft directory. 2012-09-20 19:59:19 +02:00
Francois Gouget 7df54b4b8d shell32: Add tests for ShellExecute()'s handling of file URLs. 2012-09-20 19:56:42 +02:00
Francois Gouget 2083f28fbc shell32/tests: Use consistent types for the ShellExecute() & co return value. 2012-09-20 19:56:38 +02:00
Michael Stefaniuc f905a1c448 shell32: Fix the messed up indentation level in the STRRET functions. 2012-09-12 12:47:46 +02:00
Michael Stefaniuc 506f77f52d shell32: Use a helper to trace the type of a STRRET. 2012-09-12 12:47:34 +02:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Marcus Meissner 006ee88278 shell32: Use characters not bytes in one place (Coverity). 2012-09-03 15:49:49 +02:00
Nikolay Sivov 96005d17d5 shell32/tests: Use proper method macros. 2012-08-24 11:32:39 +02: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
Erich Hoover 6a1d2f80b8 shell32: Fix FindExecutable search path when a default directory is supplied. 2012-07-12 16:10:04 -05:00
Marcus Meissner 0ef705fb69 shell32: Avoid memcmp result truncation (Coverity). 2012-07-09 10:11:32 -04:00
Detlef Riekenberg bb684aaba7 shell32/tests: Fix a failure on w2k. 2012-07-03 12:02:20 +02:00
Austin English cfa1813e1b shell32: Add a stub for SHSetUnreadMailCountW. 2012-06-29 20:41:46 +02:00
Detlef Riekenberg a8643ccc85 shell32/tests: Ignore case when comparing filenames. 2012-06-22 14:09:45 +02:00
Damjan Jovanovic f6be79684f shell32: Fix some function prototypes. 2012-06-20 10:31:06 +02:00
Damjan Jovanovic 74fe2989cb shell32: Fix some return types. 2012-06-20 10:31:03 +02:00
Francois Gouget ef6f3a30cc shell32/tests: Get rid of unneeded function typedefs. 2012-06-15 18:35:38 +02:00
Daniel Jelinski fccee5d20c shell32: Make folder names in folder picker editable. 2012-06-07 16:26:15 +02:00
Alexandre Julliard 2729cc1b3d shell32: Remove the applet valid flag and improve the error handling. 2012-06-06 11:46:20 +02:00
Alexandre Julliard 6f9f6b1aa6 shell32: Convert the control panel list to a standard list. 2012-06-05 21:23:21 +02:00
Alexandre Julliard c1e40a8bf4 shell32: Use a default icon for control panels without one. 2012-06-05 21:23:19 +02:00
Francois Gouget 1f6d078e1b Assorted spelling fixes. 2012-06-04 12:17:54 +02:00
Oleksij Rempel 83196d0cb3 shell32: Return empty list instead of NULL. 2012-05-30 14:41:34 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Nikolay Sivov 9af543aad8 shell32: Implement IShellDispatch2::IsServiceRunning(). 2012-05-08 09:41:46 +02:00
Nikolay Sivov cb53b7a8e1 shell32: Added a stub for IShellDispatch2. 2012-05-07 17:21:10 +02:00
Austin English adc0518af7 shell32: Add a stub SHGetKnownFolderIDList. 2012-05-01 14:44:33 +02:00
Piotr Caban 924538f22a shell32: Handle ASSOCDATA_EDITFLAGS in IQueryAssociations:GetData function. 2012-03-27 13:41:36 +02:00
Piotr Caban d55061b9da shell32: Prepare QueryAssociations helper functions to work on non LPWSTR data. 2012-03-27 13:41:32 +02:00
Michael Stefaniuc 798beb2cb8 shell32: Print the debug string and not the pointer to it. 2012-03-26 18:15:24 +02:00
Ken Thomases cd454fdc2e shell32: Partially implement Mac Trash backing for the Recycle Bin. 2012-03-16 13:02:54 +01:00
Vincent Povirk dd65da7dce shell32: Properly double-null-terminate the filter in the run/browse dialog. 2012-02-27 12:55:18 +01:00
Francois Gouget 79e85098d0 shell32: Make extracticon_create() static. 2012-02-20 11:48:02 +01:00
Alexandre Julliard 2b7d8311da shell32: Define our own structure for control panel info, with more space for strings. 2012-02-16 18:51:54 +01:00
Huw Davies 9ae17687c0 shell32: Don't try to check for the folder's existence if we don't have a path. 2012-02-08 13:19:22 -06:00
Huw Davies 8272045cd8 shell32: Zero-init the out parameter and fix the error if the folder id is invalid. 2012-02-08 13:19:14 -06:00
Francois Gouget c0338afebb shell32: Fix the name of the 'Application Data' folders. 2012-02-07 09:27:53 -06:00
Nikolay Sivov c91e9db0cc shell32: Use string comparison as autocompletion check. 2012-02-06 10:19:32 -06:00
Michael Stefaniuc 83693d9611 shell32: Avoid an unsafe IExtractIconW to object cast. 2012-01-27 18:05:58 +01:00
Michael Stefaniuc b12a950c84 shell32: COM cleanup for IPersistFile. 2012-01-27 18:05:57 +01:00
Michael Stefaniuc f4f9be6eb0 shell32: COM cleanup for IExtractIconA. 2012-01-27 18:05:57 +01:00
Michael Stefaniuc 725db4d19d shell32: Forward IExtractIconA::Release to IExtractIconW:Release. 2012-01-27 18:05:57 +01:00
Michael Stefaniuc 5718c0bc22 shell32: COM cleanup for IExtractIconW. 2012-01-27 18:05:56 +01:00
Michael Stefaniuc a14b7df847 shell32: Pass the object instead of the iface to an internal helper. 2012-01-27 18:05:56 +01:00
Francois Gouget 6fc6cf6935 shell32: Don't translate the shell folder paths. 2012-01-23 19:41:56 +01:00
Francois Gouget deffb92c9d shell32: Use the plural for 'My Videos' wherever appropriate. 2012-01-23 17:44:33 +01:00
Francois Gouget f445325999 Assorted spelling fixes. 2012-01-23 16:07:32 +01:00
Francois Gouget 47f45d793d Use a single space after a full stop to follow the Windows GUI guidelines. 2012-01-23 16:07:03 +01:00
Detlef Riekenberg 49e1a1a5dc shell32/tests: Simple tests for IApplicationAssociationRegistration. 2012-01-16 16:48:58 +01:00
Detlef Riekenberg 2d4d571ffc shell32: Add a stub for IApplicationAssociationRegistration. 2012-01-16 16:48:53 +01:00
Detlef Riekenberg 48155b5df0 shell32: Avoid crash on NULL pointer. 2012-01-16 16:48:40 +01:00
Detlef Riekenberg 9ee18919a5 shell32/tests: Start tests for IQueryAssociations. 2012-01-16 16:48:30 +01:00
Detlef Riekenberg fdeaf7c0b4 shell32: Use SHFree for memory allocated with SHAlloc. 2012-01-16 16:48:06 +01:00
Detlef Riekenberg cbfb15e8eb shell32: Reorder functions to avoid forward declarations. 2012-01-13 18:17:34 +01:00
Detlef Riekenberg 38d58f8764 shell32: Remove outdated dll names from comments. 2012-01-13 18:17:33 +01:00
Nikolay Sivov 881299c6a8 shell32: Rearrange code to avoid forward declarations. 2012-01-13 17:34:30 +01:00
Nikolay Sivov e8a6ca7d37 shell32: Unix folder COM cleanup. 2012-01-12 12:26:40 +01:00
Nikolay Sivov 72a7c34109 shell32: Avoid casts when creating item menu. 2012-01-11 17:47:30 +01:00
Nikolay Sivov 3efda60ef6 shell32: Avoid pointer casts when background menu is created. 2012-01-11 17:47:30 +01:00
Nikolay Sivov 9fe57a8acf shell32: Update to IContextMenu3. 2012-01-11 17:47:29 +01:00
Nikolay Sivov 82c72f2fae shell32: Use shared IUnknown implementation for both vtables. 2012-01-11 17:47:28 +01:00
Nikolay Sivov bfc39c83b5 shell32: Get rid of menu enabling helper. 2012-01-11 17:47:28 +01:00
Nikolay Sivov dff08c9771 shell32: Merge menu implementations together. 2012-01-11 17:47:27 +01:00
Nikolay Sivov e9fa059976 shell32: Merge ShellView menu implementations into a single file. 2012-01-10 18:29:04 +01:00
Nikolay Sivov de0813c7a3 shell32: Get rid of rename helper. 2012-01-10 18:29:04 +01:00
Nikolay Sivov 48eba8033d shell32: Remove menu insertion helper. 2012-01-10 18:29:04 +01:00
Nikolay Sivov a4dd8fb6a8 shell32: Use S_OK as successful return code name. 2012-01-09 15:34:15 +01:00
Nikolay Sivov 1e86436628 shell32: Remove redundant loop to count already known value. 2012-01-09 15:34:11 +01:00
Nikolay Sivov beb89fd160 shell32: Store common menu data in a separate structure. 2012-01-09 15:34:07 +01:00
Francois Gouget a603e9871e include: Add a few missing include directives to shlguid.h. 2011-12-20 10:16:45 +01:00
Alexandre Julliard 28d54b7b1c shell32: Convert dialogs to po files. 2011-12-05 21:12:05 +01:00
Alex Henrie 4bda215f2b shell32: Update Catalan translation. 2011-11-30 12:22:13 +01:00
Frédéric Delanoy 40179bedee shell32: Avoid hardcoding array lengths. 2011-11-23 09:11:36 +01:00
Frédéric Delanoy a46790b32d shell32: Avoid harcoding array lengths. 2011-11-21 11:05:06 +01:00
Nikolay Sivov 9d6204b297 shell32: Avoid null pointer dereference in traces. 2011-11-21 11:04:22 +01:00
Alexandre Julliard 30a7d0a5a7 shell32/tests: Avoid some array bounds warnings. 2011-11-07 11:44:35 +01:00
Andrew Talbot cb84c2dac1 shell32: Remove unneeded address-of operators from array names. 2011-11-02 12:31:43 +01:00
Alistair Leslie-Hughes be1a6d8323 shell32: Release site pointer. 2011-11-01 12:12:50 +01:00
Bruno Jesus f621f8ea78 shell32: Don't parse command line if numargs is NULL in CommandLineToArgvW. 2011-10-26 17:12:13 +02:00
André Hentschel 3a9cfa544a shell32: Use MAX_PATH for a DOS path. 2011-10-24 20:08:56 +02:00
Michael Mc Donnell 26f3c14d6b shell32: Set pointer to NULL after free to avoid double free. 2011-10-20 20:48:25 +02:00
Alex Henrie 7604803dff shell32: Update Catalan translation. 2011-10-20 11:05:15 +02:00
Andrew Eikum 3f3e42b6bc shell32: ShellExec with empty operation should behave same as with NULL operation. 2011-10-19 16:38:51 +02:00
Piotr Caban 0655a6e563 shell32/tests: Fix uninitialized memory access (Valgrind). 2011-10-18 18:29:58 +02:00
Piotr Caban bfad4fa967 shell32: Don't convert output parameter in SHBrowseForFolderA (Valgrind). 2011-10-18 18:29:50 +02:00
Juan Lang 0aad594d5f shell32: Use existing buffer rather than copying, and potentially truncating, a filename prior to executing it. 2011-10-17 17:45:07 +02:00
Juan Lang 726acf0f4a shell32: Check size of input parameters before copying to fixed length buffers. 2011-10-17 17:45:06 +02: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 27b284d4c9 shell32: Simplify RecycleBin_EnumObjects() a little. 2011-10-10 13:44:12 +02:00
Michael Stefaniuc d81f55fae6 shell32: Get rid of a local typedef for a struct. 2011-10-10 13:43:50 +02:00
Michael Stefaniuc 8d1fc3b486 shell32: Avoid the forward declaration of the IEnumIDList vtbl. 2011-10-10 13:43:42 +02:00
Michael Stefaniuc b8638ef9ef shell32: Basic COM cleanup for the IEnumIDList iface. 2011-10-10 13:43:37 +02:00
Michael Stefaniuc a6e4c721a2 shell32: Pass an object instead of an iface to a helper function. 2011-10-10 13:43:28 +02:00
Michael Stefaniuc 61c8da18ef shell32: Merge enumidlist.h into the main header file. 2011-10-10 13:43:22 +02:00
Thomas Faber a1f5029e06 shell32/tests: Fix build with MSVC. 2011-09-27 16:24:26 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
André Hentschel 8b0a2c2872 shell32/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:15:20 +02:00
Michael Stefaniuc 87b3644256 shell32: Pass the object instead of the iface to helper functions. 2011-09-26 12:19:58 +02:00
Michael Stefaniuc 9e460675d6 shell32: COM cleanup in shellpath.c. 2011-09-26 12:19:55 +02:00
André Hentschel 8c3ffea63c shell32/tests: Fix typos. 2011-09-23 12:35:46 +02:00
Michael Stefaniuc 44b2f66ac7 shell32: Remove casts to the type of the casted expression. 2011-09-21 14:41:33 +02:00
Piotr Caban ceb7add45d shell32/tests: Added more SHChangeNotify tests. 2011-09-21 11:35:44 +02:00
Piotr Caban 93c001b0a9 shell32: Fixed SHCNRF_NewDelivery flag support in SHChangeNotify. 2011-09-21 11:35:44 +02:00
Piotr Caban 155fb98306 shell32: Don't call SendMessage inside critical section. 2011-09-21 11:35:44 +02:00
Francois Gouget ff23498e3f shell32: Fix printing NULL strings. 2011-09-20 16:21:39 +02:00
Francois Gouget 6454ec7f5d shell32: Use wine_dbgstr_rect() to trace a potentially NULL rect struct. 2011-09-19 17:56:06 +02:00
Francois Gouget dbf15a9a29 shell32: Use a more standard syntax for multi-line RC file strings. 2011-09-14 10:54:36 +02:00
Nikolay Sivov c03f813c87 shell32/tests: Make test explicit about return pointer. 2011-09-13 17:17:55 +02:00
Francois Gouget f5dede7c19 shell32: Add parentheses to clarify the precedence between '&' and '||'. 2011-09-12 11:00:57 +02:00
Nikolay Sivov ff090f749d shell32: Fix pidl leak (Valgrind). 2011-09-12 10:08:09 +02:00
Alexander Morozov ba6f99c239 query: Add stub for LoadIFilter. 2011-09-08 20:08:07 +02:00
Octavian Voicu 776e27834d shell32: Fix an incorrect pointer/integer cast on 64-bit and fix check for resource id. 2011-09-01 18:06:39 +02:00
Octavian Voicu 9b29b10e23 shell32/tests: Add a todo for two recycle bin tests in case no item was added. 2011-09-01 18:06:39 +02:00
Michael Stefaniuc 6419969c38 shell32: Move ISvBgCm_Constructor() to avoid a forward declaration. 2011-08-31 19:43:08 +02:00
Michael Stefaniuc 47a705965b shell32: COM cleanup in shv_bg_cmenu.c. 2011-08-31 19:43:08 +02:00