Commit Graph

1823 Commits

Author SHA1 Message Date
Juan Lang e3dbbd1435 shell32: Use a helper function for executing a found executable. 2007-11-19 12:53:46 +01:00
Juan Lang 645802d748 shell32: Dynamically allocate directory buffer. 2007-11-19 12:53:33 +01:00
Juan Lang fd12e340cf shell32: Use helper function to translate ID list. 2007-11-19 12:53:09 +01:00
Juan Lang 865a40651d shell32: Use a helper function for executing a class. 2007-11-19 12:52:51 +01:00
Juan Lang f53abfcee1 shell32: Dynamically allocate buffer for command parameters. 2007-11-19 12:52:33 +01:00
Jonathan Ernst 4ec05f831f shell32: Updated French translation. 2007-11-13 21:45:23 +01:00
Alexandre Julliard db500aad2d shell32: Don't wait for the command to terminate in ShellLink_InvokeCommand. 2007-11-13 21:34:52 +01:00
Alexandre Julliard 14eb294a48 shell32: Pass some of the ShellExecute flags through InvokeCommand. 2007-11-13 21:34:28 +01:00
Lei Zhang 4dda7c6371 shell32: Don't crash if $HOME is not set. 2007-11-13 13:33:26 +01:00
Lei Zhang 70c75dcd0d shell32: rename My Video to My Videos. 2007-11-13 13:33:21 +01:00
Detlef Riekenberg cb113b23c4 shell32: Some undocumented defines and functions are now in the PSDK. 2007-11-12 12:56:38 +01:00
Rob Shearman 8e51ab35be shell32: Fix a memory leak in Stream_WriteLocationInfo. 2007-11-12 12:53:53 +01:00
Rob Shearman 1a67b1f53e shell32: Fix the length calculation of the pidl in ILSaveToStream by using the helper function ILGetSize. 2007-11-12 12:53:49 +01:00
Francois Gouget 81a5701ca9 Assorted spelling fixes. 2007-11-09 13:07:12 +01:00
Andrew Talbot efdc116856 shell32: Constify some variables. 2007-11-06 13:02:25 +01:00
Andrew Talbot ebb2fa1aa3 shell32: Constify some variables. 2007-11-05 14:55:55 +01:00
Alexander Nicolaysen Sørnes 0fa989827e shell32: Update Norwegian Bokmål translation. 2007-11-05 14:19:55 +01:00
Gerald Pfeifer e403292e5a shell32: Avoid checking for <0 for unsigned variables. 2007-11-02 12:37:02 +01:00
Andrew Talbot 36d32df5e6 shell32: Constify some variables. 2007-11-02 12:24:19 +01:00
Thomas Weidenmueller 4c516e63d3 shell32: Use SHStrDupW in IShellFolder2::GetDetailsOf to allocate returned string. 2007-11-02 12:24:14 +01:00
Gerald Pfeifer ff307d96c1 shell32: Remove useless comparison >= 0 for unsigned variables. 2007-11-02 12:20:52 +01:00
Andrew Talbot e7636c13e5 shell32: Constify some variables. 2007-10-31 12:39:54 +01:00
Andrew Talbot a7d80730d6 shell32: Constify some variables. 2007-10-30 11:30:05 +01:00
Andrew Talbot cbf06f4d48 shell32: Constify some variables. 2007-10-29 12:05:59 +01:00
Francois Gouget 9e82e46a84 shell32: Pass the shutdown reason to ExitWindowsEx(). 2007-10-29 12:04:25 +01:00
Hwang YunSong(황윤성) 66395f2a37 shell32: Updated Korean resource. 2007-10-25 13:59:30 +02:00
Detlef Riekenberg cc7c2b7d23 shell32: Remove unused resource file. 2007-10-22 12:36:07 +02:00
Alexandre Julliard d7892ccf2b shell32: Check for internal shell classes before querying the registry in SHCoCreateInstance. 2007-10-18 15:15:40 +02:00
Alexandre Julliard 41cf63148a Fix redundant uses of MAKEINTRESOURCE. 2007-10-18 14:16:32 +02:00
Alexandre Julliard 7f092818f0 shell32: Use wine_get_dos_file_name instead of duplicating knowledge about the drive symlinks. 2007-10-18 14:16:32 +02:00
Evan Teran 6b3c0ecf2e shell32: Fix typo in GlobalAlloc parameters. 2007-10-18 13:22:07 +02:00
Allan Tong 155cd24fd5 shell32: Fix a memory leak. 2007-10-15 16:56:50 +02:00
Francois Gouget d16a634c38 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:48 +02:00
Andrew Talbot 481864d5e4 shell32: Fix some memory leaks. 2007-10-05 10:26:42 +02:00
Thomas Weidenmueller 1244e8c7d4 shell32: Implement SHCreatePropSheetExtArrayEx. 2007-09-26 12:15:45 +02:00
Mikołaj Zalewski 4db3b1bba8 shell32: shlview: Change some more ANSI calls to Unicode. 2007-09-26 12:15:34 +02:00
Mikołaj Zalewski 212c36048a shell32: Make the shell view control Unicode. 2007-09-26 12:15:27 +02:00
Francois Gouget a9f9676046 shell32: CSIDL_MYDOCUMENTS is now a synonym for CSIDL_PERSONAL. 2007-09-18 11:20:40 +02:00
Alexandre Julliard 516bb07861 shell32: We can now store binary files in the repository. 2007-09-17 15:51:40 +02:00
Michael Stefaniuc a5fdea0e6a janitorial: Remove two fresh redundant NULL checks before HeapFree(). Found by Smatch. 2007-09-17 13:47:49 +02:00
Vincent Povirk f4a4a1c054 shell32: Implement SHPathPrepareForWrite. 2007-09-14 16:20:14 +02:00
Vincent Povirk 6fe28bbee3 shell32: Add tests for SHPathPrepareForWrite. 2007-09-14 16:20:14 +02:00
Americo Jose Melo c5ba90131e Update the Portuguese translation. 2007-09-13 13:28:26 +02:00
Andrew Talbot c289a338b3 shell32: Constify some variables. 2007-09-13 12:45:15 +02:00
Andrew Talbot 15d591fa08 shell32: Constify some variables. 2007-09-12 12:41:07 +02:00
Andrew Talbot 66cd1fd748 shell32: Constify a variable. 2007-09-12 12:40:47 +02:00
Dmitry Timoshkov e3cfd6ef32 shell32: Remove class cache introduced in commit f686cfab2f. 2007-09-12 11:33:11 +02:00
Andrew Talbot c333402b7f shell32: Constify some variables. 2007-09-11 12:37:48 +02:00
Dmitry Timoshkov 572e803654 shlwapi: Duplicate shell32.ShellMessageBoxW implementation in shlwapi.ShellMessageBoxWrapW. 2007-09-10 15:29:46 +02:00
Rob Shearman 94074ad31e shell32: Don't use the working directory passed into ShellExecute* functions if it isn't valid. 2007-08-31 19:16:50 +02:00
Steven Edwards c9a0da51a5 Remove more unneeded wine 16bit header usage. 2007-08-30 12:31:01 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Stefan Leichter 73d0bb7e27 shell32: Remove 'recursive registry key delete' function. 2007-08-20 22:22:20 +02:00
Paul Vriens 968d305148 shell32/tests: Use GetModuleHandle instead of LoadLibrary. 2007-08-17 11:47:41 +02:00
Paul Vriens 444a8e5190 shell32/tests: Use GetModuleHandle instead of LoadLibrary. 2007-08-16 11:35:06 +02:00
Aric Stewart fdd42046fb shell32: In SHNameTranslate use the right part of the string for sizing. 2007-08-15 10:38:38 +02:00
Paul Vriens f076919ca8 shell32/tests: Make tests run again on win95. 2007-08-14 12:46:47 +02:00
Louis Lenders bd9f1fdded shell32: Define avi resource #164. 2007-08-06 13:58:40 +02:00
Francois Gouget 5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Alexandre Julliard 0faf3f8a1a Avoid non-portable Unix mode bits macros. 2007-07-31 13:18:03 +02:00
Martin Fuchs 303b357ce1 shell32: Implementation of SheGetDirA/W and SheChangeDirA/W. 2007-07-19 14:51:08 +02:00
Kirill K. Smirnov 728bfd6d58 shell32: Add support for SEE_MASK_NO_CONSOLE flag. 2007-07-16 22:54:42 +02:00
Michael Stefaniuc b6ce3de8e7 shell32: Fix missing unlock on an error path. Found by Smatch. 2007-07-16 22:47:12 +02:00
Dmitry Timoshkov f686cfab2f shell32: Add a cache for queried shell folder interfaces. 2007-07-16 15:00:01 +02:00
Thomas Weidenmueller 042bdefe5e shell32: Set current directory when executing files in a shell view. 2007-07-09 11:46:19 +02:00
Damjan Jovanovic 1d5575b905 shell32: DragQueryFile doesn't count the null terminator. 2007-07-06 18:12:44 +02:00
Misha Koshelev 0d750e3282 shell32: Fix shelllink creation to non-executable files and remove unnecessary code. 2007-06-29 13:43:27 +02:00
Misha Koshelev 240648534f shell32/tests: Fix tests of IShellLinkA_SetPath to conform on both Windows 98 and XP. 2007-06-29 13:43:02 +02:00
Misha Koshelev de774710d6 shell32/tests: Allow CoCreateInstance to return E_NOINTERFACE to pass on Win98; add skips and display return values. 2007-06-29 13:42:56 +02:00
Misha Koshelev 75fbca227b shell32/tests: Add test for shell links to existing non-executable files. 2007-06-29 13:42:48 +02:00
Misha Koshelev f8eabe0d37 shell32/tests: Allow individual tests in check_lnk to be todo_wine'd. 2007-06-29 13:42:38 +02:00
Pedro Maia 0ae624b8df shell32: Update paths in Portuguese resource. 2007-06-29 12:32:37 +02:00
Misha Koshelev 5e28f7ad92 winemenubuilder: Wait for parent process to finish instead of creating RunOnce entry that may never run. 2007-06-28 12:16:13 +02:00
Alexandre Julliard 92ceff203b shell32: Get rid of CharNextW. 2007-06-25 14:01:59 +02:00
Dmitry Timoshkov 013652feee shell32: Make SHGetDesktopFolder use a cached instance of IShellFolder. 2007-06-22 12:17:59 +02:00
Misha Koshelev 9be151c2e9 shell32: Conform to native in SHELL_ArgifyW for unquoted %1 in registry keys. 2007-06-18 12:15:51 +02:00
Alexandre Julliard 371e5c0628 shell32: Remove a redundant include. 2007-06-11 20:20:12 +02:00
Alexandre Julliard 92571d8d39 shell32: Fix contents of string returned in load_path. 2007-06-11 20:20:02 +02:00
Hwang YunSong(황윤성) 2d1157e466 shell32: Updated Korean resource. 2007-06-11 20:19:02 +02:00
Louis Lenders 6089fe8667 shell32: Add stub for SHUpdateRecycleBinIcon. 2007-06-11 13:50:06 +02:00
Jeff Latimer f16e2c3a27 shell32: Fix possible dereference of NULL ptr. 2007-06-11 13:49:40 +02:00
Misha Koshelev 0678f6d168 shell32/tests: Add test for unquoted %1 in command and ddeexec keys. 2007-06-11 13:47:06 +02:00
Misha Koshelev b43cac0b04 shell32/tests: Allow testing for arbitrary number of command line arguments in DDE tests. 2007-06-11 13:46:59 +02:00
Misha Koshelev ca6387b329 shell32/tests: Expand default DDE application name tests to conform to win98. 2007-06-11 13:46:49 +02:00
Misha Koshelev 12297d64ef shell32/tests: Use ShellExecuteEx with SEE_MASK_FLAG_DDEWAIT and SEE_MASK_FLAG_NO_UI for DDE tests. 2007-06-11 13:46:35 +02:00
Misha Koshelev ee3147f434 shell32/tests: Save threadid from CreateThread as required by winme/98/95. 2007-06-11 13:46:08 +02:00
Misha Koshelev 37deec748d shell32/tests: Simplify DDE thread and message loop. 2007-06-11 13:45:51 +02:00
Nigel Liang 1fc0cb75ee shell32: Conformance tests for unicode filenames and fix a bug for file deletion. 2007-06-11 13:45:38 +02:00
Lei Zhang 7318ae2411 shell32: Start implementing BIF_USENEWUI. 2007-06-08 11:57:47 +02:00
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Alexander Nicolaysen Sørnes 86437f076e shell32: Update Norwegian Bokmål resources. 2007-06-01 12:40:46 +02:00
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