Commit Graph

1830 Commits

Author SHA1 Message Date
Rob Shearman
c627a81a76 shell32: Fix the logic in Control_LoadApplet determining when to use CPL_INQUIRE and when to use CPL_NEWINQUIRE.
Previously, the code would fail to get the name of an applet that didn't 
return an icon for CPL_NEWINQUIRE and didn't return set either idName or 
idIcon to a non-zero value for CPL_INQUIRE.

Fix this by sending CPL_INQUIRE first and loading any strings or icon 
specified and then only fall back to CPL_NEWINQUIRE if any of the 
required members were zero (i.e. CPL_DYNAMIC_RES) and then only fill in 
these fields.
2008-02-18 14:10:20 +01:00
Gerald Pfeifer
8a590e8daa shell32: Adjust a format specifier and remove a redundant range check in ILGetDisplayNameExW(). 2008-02-18 13:37:15 +01:00
Rob Shearman
4131edbdbe shell32: Fix incorrect character count passed into RegEnumKeyExW in CreateDesktopEnumList. 2008-02-18 12:20:50 +01:00
Rob Shearman
d92fe2cbfc shell32: Fix character count passed into lstrcpnA in SHGetDataFromIDListA. 2008-02-16 13:54:05 +01:00
Rob Shearman
8aa361740e shell32: Fix the character count passed into LoadStringW in ISFHelper_fnAddFolder. 2008-02-16 13:53:22 +01:00
Rob Shearman
4510346b4f shell32: Memory allocated by CommandLineToArgvW should be that got from LocalAlloc/LocalReAlloc, not from GlobalAlloc.
Use LMEM_FIXED instead of 0 in calls to LocalAlloc to emphasise that 
we're getting a direct pointer, not a handle to memory.

Remove hargv as it is confusing and unnecessary.
2008-02-15 11:04:47 +01:00
Alexandre Julliard
ab820ef24c shell32: Add support for the NoDrives registry key. 2008-02-15 10:58:14 +01:00
Paul Vriens
ad711256a4 shell32/tests: GetLongPathNameA is not implemented on win95. 2008-02-15 09:53:29 +01:00
Frans Kool
b5f51404d0 shell32: Added Dutch translations. 2008-02-12 22:37:56 +01:00
Alexandre Julliard
05c7174909 tests: Add a helper routine to wait for a child process and propagate its result correctly. 2008-02-07 12:56:00 +01:00
Alexander Nicolaysen Sørnes
0f0678aa60 shell32: Use LocalFree in CommandLineToArgvW. 2008-02-07 11:59:53 +01:00
Kirill K. Smirnov
b391b8af58 systray: Properly track errors. 2008-02-06 12:52:34 +01:00
Alexandre Julliard
fb6ea6764c shell32: Fix permissions of newly-created directories. 2008-02-04 15:25:18 +01:00
Francois Gouget
d491335eb7 shell32/tests: Fix a couple of copy/paste errors. 2008-02-04 11:11:27 +01:00
Dmitry Timoshkov
7e8e807845 shell32: Add a LogoffWindowsDialog stub. 2008-01-25 12:08:57 +01:00
Andrew Talbot
6994071269 shell32: Remove unneeded casts. 2008-01-21 11:39:09 +01:00
Andrew Talbot
2f25755674 shell32: Remove unneeded casts. 2008-01-21 11:39:04 +01:00
Andrew Talbot
52db721a69 shell32: Remove unneeded casts. 2008-01-21 11:38:59 +01:00
Francois Gouget
44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Francois Gouget
f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Andrey Esin
d6b81def64 shell32: Update Russian translation. 2008-01-15 11:37:17 +01:00
Francois Gouget
67c6c24b04 shell32: A lot of lnk files have extra data blocks at the end, although they don't seem to matter much. So drop the corresponding ERR() to a WARN(). 2008-01-11 12:25:48 +01:00
Andrey Esin
2adba0d7cd shell32: Fixed typo. 2008-01-08 12:55:23 +01:00
Alexandre Julliard
f9e27d37b9 shell32: Fix messed up indentation. 2007-12-31 17:25:08 +01:00
Mike McCormack
cc405b1522 shell32: Implement "My Network Places" shell folder. 2007-12-27 14:13:30 +01:00
Francois Gouget
f1c27eda6b Assorted spelling fixes. 2007-12-18 14:16:11 +01:00
Francois Gouget
ca3606f393 shell32/tests: Use GetProcAddress() on SHFileOperationW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget
46735ae431 shell32/tests: Use GetProcAddress() on Shell_NotifyIconW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget
d22568d094 shell32/tests: Use GetProcAddress() on SHGetPathFromIDListW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget
3874c55cc4 shell32/tests: Copy the PathRemoveBackslashA() and PathAddBackslashW() implementations because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Francois Gouget
000fd0edc5 shell32/tests: Avoid SHDeleteKeyA() because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Luis C. Busquets Pérez
e46751f531 shell32: Update Spanish resource. 2007-12-10 12:13:22 +01:00
Jonathan Ernst
1c7787e69d Updated French translation. 2007-12-07 16:34:57 +01:00
Alexandre Julliard
ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Alexandre Julliard
a76d60c5ab shell32: Fix some wrc warnings. 2007-12-06 12:43:05 +01:00
Luis C. Busquets Pérez
cba3c81f6e shell32: Update Spanish resource. 2007-12-06 12:13:12 +01:00
Alexander Nicolaysen Sørnes
84e945f180 shell32: Handle backspace key in shellview. 2007-12-06 12:13:02 +01:00
Alexander Nicolaysen Sørnes
b259c4ae80 shell32: Localize 'new folder' string. 2007-12-06 12:12:57 +01:00
Vitaly Lipatov
2dcb7b5d5c shell32: Use sizeof instead of constant for buffer size. 2007-12-05 13:32:15 +01:00
Jonathan Ernst
b019200a1e shell32: Updated French translation. 2007-12-04 13:38:40 +01:00
Alexandre Julliard
7a4e3a1011 shell32: Get rid of the internal _InsertMenuItem function. 2007-12-03 15:49:51 +01:00
Alexander Nicolaysen Sørnes
cf8c1d60a1 shell32: Localize file context menu. 2007-12-03 14:56:30 +01:00
Marcus Meissner
08aa50ec2b shell32: GetModuleFileNameW gets number of WCHARs not bytes. 2007-11-26 14:02:50 +01:00
Lei Zhang
cb99cd331d shell32: Only notify immediate parent. 2007-11-21 12:05:27 +01:00
Lei Zhang
fa057686bb shell32: Perform copy in UnixFolder_ISFHelper_CopyItems. 2007-11-21 12:05:18 +01:00
Michael Stefaniuc
3e8970602c dlls: Remove duplicate includes. 2007-11-19 13:54:46 +01:00
Michael Stefaniuc
04380452d0 shell32: Fix a mem leak on an error path. Found by Smatch. 2007-11-19 13:53:38 +01:00
Rob Shearman
b15186d49c shell32: Add a stub for LinkWindow_UnregisterClass. 2007-11-19 13:02:02 +01:00
Rob Shearman
6ae22de432 shell32: Add a stub for LinkWindow_RegisterClass. 2007-11-19 13:01:58 +01:00
Juan Lang
52da1b169a shell32: Remove a bad comment. 2007-11-19 12:55:12 +01:00
Juan Lang
e580a91f39 shell32: Use more restricted registry rights when quering values. 2007-11-19 12:55:03 +01:00
Juan Lang
08ab605e37 shell32: Dynamically allocate memory for executing an URL. 2007-11-19 12:54:57 +01:00
Juan Lang
9d05534822 shell32: Use helper function to execute a URL. 2007-11-19 12:54:51 +01:00
Juan Lang
f2748c7af3 shell32: Dynamically allocate buffer for command. 2007-11-19 12:54:43 +01:00
Juan Lang
75ba711932 shell32: Constify some parameters. 2007-11-19 12:54:25 +01:00
Juan Lang
987ba237aa shell32: Don't overwrite the caller's buffer when doing a dde connection. 2007-11-19 12:54:14 +01:00
Juan Lang
b829f034f5 shell32: Dynamically allocate buffer for quoted command. 2007-11-19 12:53:55 +01:00
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