Commit Graph

1732 Commits

Author SHA1 Message Date
Francois Gouget c6b64b0b47 shell32/tests: Remove unneeded cast. 2007-06-01 12:39:03 +02:00
Misha Koshelev c7aa087504 shell32/tests: Remove duplicate code. 2007-05-30 11:46:16 +02:00
Misha Koshelev efb92561e6 shell32: Handle default DDE application names. 2007-05-30 11:46:06 +02:00
Misha Koshelev c8829f5645 shell32/tests: Add tests for default DDE application name. 2007-05-30 11:45:13 +02:00
Misha Koshelev cfa87660a7 shell32: Fix execute_from_key to conform to native behavior. 2007-05-30 11:44:20 +02:00
Misha Koshelev b95d0fb9c3 shell32/tests: Add tests for ShellExecute DDE behavior. 2007-05-30 11:43:11 +02:00
Francois Gouget 258f2972aa shell32/tests: With recent PSDKs, CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL. So define our own constant. 2007-05-29 13:17:52 +02:00
Francois Gouget 29a4a9c849 shell32/tests: We need NTDDI_VERSION >= NTDDI_WINXPSP1 to get SEE_MASK_NOZONECHECKS with the PSDK. 2007-05-29 12:12:26 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Louis Lenders 2d83063288 shell32: Update Dutch resource. 2007-05-24 11:36:17 +02:00
Andrew Talbot 02a36afda2 shell32: Exclude unused headers. 2007-05-21 12:31:36 +02:00
Andrew Talbot a77715c23b shell32: Exclude unused headers. 2007-05-21 12:31:29 +02:00
Andrew Talbot 0ad8ef0772 shell32: Exclude unused headers. 2007-05-21 12:31:23 +02:00
Marcus Meissner 29700766ea shell32: Avoid potential 1 byte overflow. 2007-05-17 13:20:25 +02:00
Frank Richter 7108412a53 shell32: Update German resources. 2007-05-14 14:26:02 +02:00
Mikołaj Zalewski 44e3200a8d shell32: Handle invalid cbSize in Shell_NotifyIcon[AW]. 2007-05-11 11:45:45 +02:00
José Manuel Ferrer Ortiz ac3c960c26 Some Spanish translation updates. 2007-05-04 12:39:38 +02:00
Alexandre Julliard 69a88a9d40 Fix minor differences in the formatting of the license notices. 2007-05-04 12:08:15 +02:00
Hans Leidekker bab2ddb77e shell32: Add a stub implementation for SHMapIDListToImageListIndexAsync. 2007-04-26 14:24:13 +02:00
Hans Leidekker 395ba3b945 shell32: Add a stub implementation for OpenAs_RunDLL. 2007-04-19 11:56:16 +02:00
Aric Stewart dac19db358 shell32: SHGFI_EXETYPE flag should have the files returning 0 if they are DLL images. 2007-04-19 11:55:49 +02:00
Ken Thomases 42cd970ee0 shell32/tests: Test that quoting file path prevents masking at space. 2007-04-18 13:47:33 +02:00
Ken Thomases 49c8388a98 shell32: Don't break file path at spaces in ShellExecuteEx if quoted. 2007-04-18 13:47:29 +02:00
Ken Thomases 1e5a03eca4 shell32/tests: Added to-do test showing a bug with file paths with spaces.
If ShellExecuteEx is asked to execute a file which has a space in its path,
and if there exists a "masking" file whose name matches the path truncated
at a space, then ShellExecuteEx launches the masking file instead.
2007-04-18 13:47:18 +02:00
Aric Stewart c465e11a6d shell32: Use _ILSimpleGetTextW instead of using _ILGetTextPointer
to be able to make use of FileStructW and avoid W->A->W roundtrips if
possible.
2007-04-11 12:26:31 +02:00
Alexandre Julliard a1b764e65f shell32: Have _ILCreateFromFindDataW also create a FileStructW type of pidl.
Based on a patch by Aric Stewart.
Also get rid of _ILCreateFromFindDataA and _ILCreateFromPatA.
2007-04-11 12:25:53 +02:00
Aric Stewart c0db9e573e shell32: Update the debug functions to handle Unicode value pidl.
Add _ILIsUnicode as a simple pidl test.
2007-04-11 11:21:41 +02:00
Aric Stewart 3533be811c shell32: Avoid unneeded A->W conversions in _ILSimpleGetTextW.
Implement _ILGetTextPointerW, though it does little now.
Handle the LPWSTR from _ILGetTextPointerW in _ILSimpleGetText and
_ILSimpleGetTextW.
2007-04-11 11:21:12 +02:00
Rob Shearman 899e2ecff8 shell32: Return Unicode strings from all of the IShellFolder::GetDisplayNameOf functions in not running in Win9x mode. 2007-04-10 14:23:09 +02:00
Francois Gouget 996ced1981 shell32/tests: On NT4 FindExecutable() returns an extra backspace character in some tests. 2007-04-03 11:32:32 +02:00
Francois Gouget 1736e7eb76 shell32/tests: On Windows 98 FindExecutable() does not '\0' terminate the returned command which caused many tests to fail. 2007-04-03 11:32:27 +02:00
Francois Gouget 789fb4c994 shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000. 2007-04-03 11:27:28 +02:00
Francois Gouget 95ddcc3bae shell32/tests: Fix some expected FindExecutable() error codes.
Add comments indicating which Windows version returns a given error code.
2007-04-03 11:27:24 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Dmitry Timoshkov 674ce99320 include: Add some API prototypes to appropriate header files, fix some prototypes. 2007-03-28 12:17:42 +02:00
Mikołaj Zalewski 3924e6b730 shell32: autocomplete: Don't use sel uninitialized. 2007-03-27 12:31:11 +02:00
Hans Leidekker f86ff01d9b shell32: Add a stub implementation for SHPathPrepareForWrite{A, W}. 2007-03-26 12:21:35 +02:00
Andrew Talbot 55355d2def shell32: Replace inline static with static inline. 2007-03-23 12:29:23 +01:00
Louis Lenders 1f4c704678 shell32: Define avi resource #163. 2007-03-22 11:28:48 +01:00
Mikołaj Zalewski 50275015f8 shell32: Don't free user supplied data in Shell_NotifyIcon if GetIconInfo failed.
We should free the nid and in such a case we were doing it.
2007-03-19 13:05:46 +01:00
Mikołaj Zalewski cdf06864e2 shell32/explorer: Support different structure sizes in Shell_NotifyIcon. 2007-03-19 13:05:30 +01:00
Ken Thomases 8f5f3f5b8e shell32: Avoid W->A conversion in RenderHDROP. 2007-03-14 22:44:20 +01:00
Mikołaj Zalewski c3ca421ac8 shell32: Update Polish translation. 2007-03-13 20:52:05 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Michael Stefaniuc 719a02856d janitorial: Remove two redundant checks for NULL. 2007-03-08 11:58:09 +01:00
Paul Vriens b564a9130c shell32/tests: Rewording and cleanup. 2007-03-05 12:05:51 +01:00
Aric Stewart a0ad8f38c7 shell32: IShellLink::GetIDList fix.
IShellLink::GetIDList when it fails to generate a PIDL must set ppidl
to NULL or some applications think it contains valid data.
2007-02-22 11:27:18 +01:00
Marcus Meissner 3b5b23311c shell32/tests: Fixed potential overflow. 2007-02-19 12:39:37 +01:00
Hwang YunSong(황윤성) da33d1b926 shell32: Updated Korean resource. 2007-02-16 13:14:34 +01:00
Misha Koshelev 28b68dad8e shell32/tests: Test creating shell links for commands on path. 2007-02-14 21:45:56 +01:00
Misha Koshelev 67cd59b892 shell32: Properly create shell links for commands on path. 2007-02-14 21:45:50 +01:00
Francois Gouget 536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +01:00
Alexandre Julliard 9d2d5eae2d shell32: Don't wrap SHELL_ConfirmIDs in an assert. Fixed return value. 2007-02-14 14:43:50 +01:00
Hwang YunSong(황윤성) 92f675749f shell32: Updated Korean resource. 2007-02-14 14:42:24 +01:00
Mikołaj Zalewski 33ee219ce3 shell32: Allow overwriting files in SHFileOperation(FO_COPY) (with confirmation dialogs). 2007-02-12 12:38:57 +01:00
Mikołaj Zalewski c55277c7e1 shell32: Add a confirmation dialog with a "Yes to All" option. 2007-02-12 12:38:39 +01:00
Mikołaj Zalewski 474bf4fc4b shell32: Make sure BrowseForFolder doesn't return NULL for the Desktop folder as this means a cancel. 2007-02-12 12:38:33 +01:00
Francois Gouget abedd3df59 shell32/tests: wnsprintfA() is missing on Win9x, so use sprintf() instead. 2007-02-09 14:32:57 +01:00
Francois Gouget f97a2f9def shell32/tests: Fix test_GetDisplayName() to cope with a left-over test directory. 2007-02-09 14:32:57 +01:00
Francois Gouget 14712ece18 shell32/tests: ILFree() and ILIsEqual() are exported by ordinal only on Win9x. So use GetProcAddress(). 2007-02-09 14:32:57 +01:00
Vitaly Lipatov c8bcbdb90d Some fixes in russian resources. 2007-02-09 11:48:28 +01:00
Mikołaj Zalewski dbef32e4ed shell32: shlfileop tests: Avoid buffer overflows for paths. 2007-02-07 11:34:22 +01:00
Andrew Talbot 0b1fb44aaf shell32: Declare some functions static. 2007-02-07 11:03:33 +01:00
Andrew Talbot 388fe7e371 shell32: Declare some functions static. 2007-02-07 11:03:28 +01:00
Andrew Talbot dfe3d5b88c shell32: Declare some functions static. 2007-02-07 11:03:22 +01:00
Andrew Talbot 434c24d83b shell32: Declare some functions static. 2007-02-07 11:03:15 +01:00
Andrew Talbot 8246b6cd30 shell32: Remove unused function. 2007-02-06 13:19:22 +01:00
Francois Gouget fbfe9a72de shell32: Remove an unneeded local variable initialization. 2007-02-05 12:23:57 +01:00
Francois Gouget ab8d1e788a shell32: SHLoadNonloadedIconOverlayIdentifiers() is a WINAPI function.
This fixes a winapi_check warning.
2007-01-25 11:05:28 +01:00
Thomas Weidenmueller fb5c516dfd shell32: Implement the property sheet extension array functions.
Implement the SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray,
SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray functions
that are used to extend/replace property sheets by shell extensions.
2007-01-23 13:06:09 +01:00
Francois Gouget aa3165fca6 shell32: Add proper support for SHGetFileInfo(SHGFI_ICONLOCATION | SHGFI_USEFILEATTRIBUTES). 2007-01-19 12:28:57 +01:00
Francois Gouget 5c5933f699 shell32/tests: Add some more SHGetFileInfo() tests. 2007-01-19 12:28:57 +01:00
Thomas Weidenmueller e06345db52 shell32: Fix prototypes.
Fix the SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray,
SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray function
prototypes because they're now documented. Also add them to shlobj.h.
2007-01-19 12:28:57 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Francois Gouget 4abebb8eb5 shell32: There is no need to check strings for NULL when using debugstr_w().
Also don't put single quotes around '%s' in that case.
2007-01-18 12:55:40 +01:00
Andrew Talbot 670cf778aa shell32: Remove unused variable. 2007-01-16 11:19:18 +01:00
Francois Gouget d2daa384e9 shell32/tests: Hack SHGetFileInfo() so it does not crash and add a test for it. 2007-01-08 12:06:21 +01:00
Francois Gouget 947b71aeb0 shell32/tests: Print GetLastError() in decimal with '%u'. 2007-01-06 11:40:43 +01:00
Alexandre Julliard d56b3c10c4 shell32: Don't hardcode the system32 directory in registered classes. 2006-12-20 17:05:02 +01:00
Francois Gouget df299b7305 shell32: Replace numeric literals with the proper constant. 2006-12-14 20:24:31 +01:00
Francois Gouget df9715b1b0 shell32: Fix FindExecutableW() to not check if lpResult after using it. It's supposed to cause a segfault anyway.
Use SE_ERR_FNF rather than a numeric literal.
2006-12-14 12:45:27 +01:00
Francois Gouget 2538fa319a shell32: Add some documentation for FindExecutableW(). 2006-12-14 12:45:21 +01:00
Francois Gouget 71e5f3c116 shell32: Fix FindExecutable() to return the executable path, not the whole command. 2006-12-14 12:45:15 +01:00
Francois Gouget 65b81bebaa shell32/tests: Add FindExecutable() tests. 2006-12-14 12:45:04 +01:00
Francois Gouget 2fa16067f6 shell32/tests: MSDN says ShellExecute() == 32 indicates an error. So fix the tests. 2006-12-14 12:44:56 +01:00
Hans Leidekker 3558cdb8d5 shell32: Add a stub implementation for SHLoadNonloadedIconOverlayIdentifiers. 2006-12-11 17:05:38 +01:00
Alexandre Julliard a051487d3b shell32: Avoid using garbage data in wildcard expansion. 2006-12-11 15:37:35 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Louis Lenders c231fd6872 shell32: Define AVI resource 152. 2006-12-08 11:39:45 +01:00
Francois Gouget c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
James Hawkins 44b0b462cb shell32: Move a NULL pointer check before the place where we dereference the pointer. 2006-12-04 12:22:46 +01:00
Dmitry Timoshkov e4c0748c21 shell32: Make some data static and const. 2006-11-28 12:36:12 +01:00
Francois Gouget 1da359b498 shell32: Add a Portuguese translation (contributed by Americo Jose Melo). 2006-11-28 12:13:32 +01:00
Francois Gouget b5f104d05b Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages. 2006-11-24 11:49:32 +01:00
Francois Gouget 144995b5a5 shell32/tests: Don't use the NONAMELESS* macros in the tests. 2006-11-24 11:48:56 +01:00
Francois Gouget 9fefaa87a9 shell32: Remove unused parameters from SHELL_FindExecutableByOperation(). 2006-11-24 11:48:35 +01:00
Marcus Meissner 267e660bd6 shell32: Pass number of wide chars, not bytes as last argument to MBtoWC(). 2006-11-22 11:38:46 +01:00
Detlef Riekenberg 7c70f7f9b2 shell32: Fix a function name in a comment. 2006-11-16 22:09:19 +01:00
Louis Lenders d14d772f80 shell32: Define a few more icon resources. 2006-11-16 12:45:25 +01:00
Andrew Talbot fdd9a4e2a7 shell32: Cast-qual warnings fix. 2006-11-15 11:32:38 +01:00
Andrew Talbot 2f4bb7b78d shell32: Cast-qual warnings fix. 2006-11-15 11:32:32 +01:00
Alexandre Julliard dc0c3677cd shell32: Don't use the short path name to delete files in SHFileOperation. 2006-11-14 12:00:23 +01:00
Francois Gouget c35b6b9223 shell32: Fix inclusion of conditional headers (spotted by winapi_check). 2006-11-13 12:59:18 +01:00
Francois Gouget 138e12b3d2 shell32: Add missing '\n' to Wine trace. 2006-11-08 12:10:39 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Aric Stewart 3f9a168f47 shell32: Have SHELL_ArgifyW respect the length of the buffer passed in and report a needed buffer size. 2006-11-06 14:11:57 +01:00
Aric Stewart 3490cb81ed shell32: Create dynamic buffers for expanded enviroment strings to allow for parameters and such longer than MAX_PATH.
With help from Michael Moss.
2006-11-06 14:10:55 +01:00
Aric Stewart 418d093325 shell32: ABM_NEW was using parameters that are not set. 2006-10-30 20:09:24 +01:00
Paul Vriens 1af1ead894 shell32: Cast-qual warnings fix. 2006-10-30 11:26:30 +01:00
Alexandre Julliard ff068c088b shell32: Properly handle negative coordinates for mouse events. 2006-10-25 17:42:11 +02:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
Francois Gouget 22288de732 Fix compilation with gcc 2.95. 2006-10-19 13:35:19 +02:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Detlef Riekenberg 1f2219d521 shell32: Fix typo in Run dialog. 2006-10-13 11:04:08 +02:00
Detlef Riekenberg 449dfadf51 shell32: Implement SHRegQueryValueA with RegQueryValueA. 2006-10-12 20:41:04 +02:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Hans Leidekker e5c1a014df shell32/tests: Win64 printf format warning fixes. 2006-10-09 12:53:26 +02:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
James Hawkins 7b89ff88e8 janitorial: Remove redundant NULL checks before SHFree. 2006-10-07 17:52:59 +02:00
Francois Gouget 4e00d7940d shell32: Don't forget to set stateMask when calling LVM_GETITEM/LVIF_STATE.
Remove ZeroMemory() calls and instead set iSubItem = 0 manually.
2006-10-05 17:44:37 +02:00
Francois Gouget c22eb7e3a3 shell32: Microsoft's EXP_DARWIN_LINK structure does not have a dbh
field so cast it to DATABLOCK_HEADER to access the dwSignature
field. Fixes the compilation with Visual C++ on Windows.
2006-10-03 15:56:32 +02:00
Andrew Talbot 19e85ca5a9 shell32: Another cast-qual warning fix. 2006-10-02 11:55:32 +02:00
Andrew Talbot 30806fc00c shell32: Cast-qual warnings fix. 2006-10-02 11:55:26 +02:00
Francois Gouget 87045eb0c5 Fix rpcndr.h so it takes CONST_VTABLE into account.
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Andrew Talbot 29ce6b37b5 shell32: Cast-qual warnings fix. 2006-09-29 15:00:03 +02:00
Andrew Talbot 27a06a5d75 shell32: Cast-qual warnings fix. 2006-09-29 14:59:55 +02:00
Andrew Talbot dcd5e173f8 shell32: Cast-qual warnings fix. 2006-09-29 14:59:45 +02:00
Andrew Talbot 699f4cc703 shell32: Cast-qual warnings fix. 2006-09-29 14:59:36 +02:00
Fatih Aşıcı 8d3a4759d7 shell32: Update Turkish resources. 2006-09-26 11:39:50 +02:00
Jonathan Ernst 8fc83b1f46 dlls: Assorted French translation improvements. 2006-09-25 18:32:33 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Alexandre Julliard 0a0f4cd835 shell32: Don't build authors.c for make depend, it has no dependencies anyway. 2006-09-11 14:47:39 +02:00
Mikołaj Zalewski 455991a7a8 shell32: Remove the unused shell allocator. 2006-09-10 10:19:21 +02:00
Mikołaj Zalewski 8fcc0bdf78 shell32: Document the shell32 "mini-COM" functions. 2006-09-10 10:19:14 +02:00
Francois Gouget 3c336ab0cf shell32: Fix spelling of a local variable. 2006-09-08 11:03:04 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Mikołaj Zalewski c1ca35d051 shell32: Fix a bug in SHELL_ConfirmW.
Fix a bug introduced while changing the OK/Cancel to Yes/No.
2006-08-26 18:54:47 +02:00
Mike McCormack e5d9b2f189 shell32: Use kernel functions in preference to libwine ones. 2006-08-24 12:42:42 +02:00
Mike McCormack 9949a3a463 shell32: Fix compilation of test on MSVC6. 2006-08-24 12:42:35 +02:00
Mikołaj Zalewski 0721dd254d shell32: Pl.rc: Fix a backslash. 2006-08-23 11:59:34 +02:00
Mikołaj Zalewski 6cc378cc67 shell32: Show file size in the details view in kilobytes. 2006-08-22 12:00:22 +02:00
Mike McCormack 000eddbc8c shell32: Don't add the directory name twice when recursing into subdirectories. 2006-08-22 12:00:14 +02:00
Stefan Huehner 998e256c82 Fix some -Wstrict-prototype warnings () -> (void). 2006-08-21 12:06:26 +02:00