Commit Graph

1397 Commits

Author SHA1 Message Date
Klemens Friedl 586930973d More Windows-like About dialog. 2004-12-09 11:39:31 +00:00
Robert Shearman cba8763c33 Remove unnecessary WNDPROC casts. 2004-12-06 11:51:29 +00:00
Stefan Leichter 9cc5c15795 Fix missing imports of the test program on NT4. 2004-12-06 11:45:13 +00:00
Juan Lang d179f8be8c Revert shell32 version to Win2K SP4 level. 2004-12-06 11:34:07 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Alexandre Julliard 405568801e Removed a couple of no longer needed entries. 2004-11-19 18:28:05 +00:00
Robert Shearman 18988663c2 - Use more specific error codes than E_FAIL, where possible.
- Move vtable to end, give it the const modifier, and remove unneeded
  function declarations.
2004-11-19 18:14:47 +00:00
Aric Stewart 990ea44e98 Implementation of PathCleanupSpec. 2004-11-04 04:54:08 +00:00
Fabrice Ménard 7ce764669e Check the type of error returned by SHCreateDirectoryExW. 2004-11-02 05:22:39 +00:00
Rolf Kalbermatter e50a27de04 Use SHCreateDirectoryEx function instead of doing explicit recursive
directory creation.
2004-10-28 20:58:51 +00:00
Rolf Kalbermatter a2ebf8b356 Add test for SHCreateDirectoryEx function.
Fixed some typos.
2004-10-28 20:58:38 +00:00
Fabrice Ménard 8818ded2dc Some French translations added. 2004-10-27 21:36:17 +00:00
Rolf Kalbermatter 87fb440e71 Fix bad memory allocation for unicode buffer. 2004-10-27 21:18:35 +00:00
Juan Lang c639af64be _SHExpandEnvironmentStrings should return input string if no % found
to expand, and should call ExpandEnvironmentStringsW if it doesn't
handle an environment variable directly.  Based on a patch from Dan
Kegel.
2004-10-27 21:17:30 +00:00
Ge van Geldorp b3f2c53155 Use only one .res file. 2004-10-27 00:47:53 +00:00
Juan Lang 217bd082c6 Update shell32's version to WinXP level. 2004-10-26 21:17:50 +00:00
Juan Lang 535679aec7 Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
that they pass.
2004-10-26 00:17:31 +00:00
Juan Lang 4a6a898e2d Avoid copying invalid data on error. 2004-10-25 21:53:18 +00:00
Sami Aario c2dcecc362 Check the return value of the SHGetDesktopFolder call. 2004-10-25 21:45:36 +00:00
Francois Gouget 3bb5b093e8 Assorted spelling fixes. 2004-10-22 22:27:51 +00:00
Alexandre Julliard 2d2e2e1e55 Avoid copying invalid data on error. 2004-10-22 20:26:23 +00:00
Francois Gouget a1779c1e33 Fix the function pointer declarations so MSVC likes them.
CSIDL_PROFILES is not defined in the Windows SDK.
snprintf and strcasecmp don't exist on Windows. Replace them with
wnsprintfA and lstrcmpiA respectively.
2004-10-22 20:25:46 +00:00
Mike McCormack 43149f490c Add a test for creating empty shelllink files. 2004-10-22 19:52:33 +00:00
Rolf Kalbermatter eb883577e4 - SHCreateDirectory should create intermediate directories if
necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
  used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
  of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
2004-10-21 22:29:42 +00:00
Ge van Geldorp 9b399da426 - Don't double-quote an already double-quoted argument.
- Properly increment the fmt pointer.
2004-10-21 20:59:25 +00:00
Juan Lang 9cbc42bbae - the correct registry location to override is User Shell Folders, not
Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
2004-10-21 19:59:46 +00:00
Vincent Béron 6c644d68cf Fix various function prototypes. 2004-10-19 23:55:15 +00:00
Mike McCormack d5b0e0f01e Convert the shellmenu code to use unicode. 2004-10-19 03:56:40 +00:00
Vincent Béron 4eeae1adb3 Fix some types problems. 2004-10-18 22:39:21 +00:00
Rolf Kalbermatter 20952a5d23 Modify ANSI functions to allocate intermediate Unicode strings on the
heap instead of stack.
2004-10-18 21:45:16 +00:00
Rolf Kalbermatter 29d4ec4f85 Added SHFreeNameMappings implementation. 2004-10-18 19:33:45 +00:00
Vitaliy Margolen 64c63dd4b8 Sort files/folders before testing. 2004-10-11 19:52:23 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Francois Gouget 75be67c6c0 Conformance tests must not include wine/debug.h. 2004-10-07 02:59:11 +00:00
Rolf Kalbermatter 18514ca547 Fix bug found by Piotr Caban, where our function tried to delete a
directory eventhough the user canceled the operation.
2004-10-06 00:04:39 +00:00
Francois Gouget 67aa858a31 Assorted spelling fixes. 2004-10-05 18:15:29 +00:00
Alexandre Julliard 739e5b06da Avoid depending on the non-standard IUnknown_METHODS macro in Wine
internal headers.
2004-10-05 04:16:21 +00:00
Alexandre Julliard ed19983d65 Fixed typo in ProgramsW.
Changed the case of windows and system directories to match the
directories we create by default.
2004-10-04 20:49:51 +00:00
Piotr Caban 304e0796cd Added Polish translation. 2004-10-04 19:31:50 +00:00
Ge van Geldorp 3db9386195 Can't pass NULL as default value to GetPrivateProfileString. 2004-10-04 19:05:02 +00:00
Alexandre Julliard 72c9008e73 Authors: Klemens Friedl <frik85@hotmail.com>, Martin Fuchs <martin-fuchs@gmx.net>
- drive icon artwork
- display different drive icons depending on the drive type
2004-09-29 21:13:58 +00:00
Robert Shearman 8e80468170 Simplify getting custom icons for a folder by utilising the new
SHELL32_GetCustomFolderAttribute function.
2004-09-28 19:33:57 +00:00
Robert Shearman 5ad2d3517f - Add support for custom shell folders, such as the History folder.
- Always try to initialize folder using IPersistFolder3 interface and
  then fall back on IPersistFolder if not supported.
2004-09-28 19:33:44 +00:00
Ge van Geldorp 535387aeb1 Call GetProcessHeap() instead of passing its address. 2004-09-27 20:34:49 +00:00
Martin Fuchs 7ccc2d25a2 - Use system metrics to determine icon sizes.
- Move invalid index from 1 to 0.
2004-09-24 01:10:31 +00:00
Martin Fuchs 09878e1c6a At least print message if we're not returning requested data. 2004-09-23 22:52:03 +00:00
Ge van Geldorp e63e3781c6 Some windres versions don't like POPUP"", change to POPUP "". 2004-09-23 04:28:04 +00:00
Steven Edwards e85b67bd9e Remove some unneeded include statements. 2004-09-23 04:27:24 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Martin Fuchs 1c8d9b66c3 Store absolute path in .lnk file. 2004-09-22 19:11:27 +00:00
Martin Fuchs fa417e2869 Implement IShellLinkA::Resolve and IShellLinkW::Resolve. 2004-09-22 04:00:56 +00:00
Robert Shearman c6516740af Share version information between DllGetVersion and resource file. 2004-09-22 04:00:43 +00:00
Francois Gouget bc371a83ec Fix CSIDL_COMMON_{STARTMENU,PROGRAMS,DESKTOPDIRECTORY} so they all use
paths in 'All Users' like CSIDL_COMMON_STARTUP.
The CSIDL_COMMON_PROGRAMS fix solves many menu creation problems.
2004-09-21 20:05:54 +00:00
Martin Fuchs a6f9e517fe Match class name used by Windows. 2004-09-21 20:04:59 +00:00
Martin Fuchs 06f6cc9d20 Correct setting of default menu item in shell context menus. 2004-09-20 21:46:11 +00:00
Martin Fuchs bfb0653147 Make drive letters in PIDLs always uppercase to enable PIDL
comparison.
2004-09-20 19:12:17 +00:00
Jens Collin 9e679d3675 Added lookup of environment vars in SHELL_ArgifyW. 2004-09-14 20:14:09 +00:00
Juan Lang a78b4981ca Added support for DLLVERSIONINFO2 in DllGetVersion. 2004-09-14 17:44:40 +00:00
Vitaliy Margolen f609b68ea5 IShellFolder::CompareIDs - return only -1/0/1 in lower 16 bit. 2004-09-13 23:25:09 +00:00
Alexandre Julliard 314b99c48f Removed some more uses of the non-standard ICOM_THIS macro. 2004-09-09 20:17:07 +00:00
Francois Gouget c13638ee85 Fix c_parser.pm so it handles 'const' preceeding a '*'.
Add missing #pragma pack directives for the new shlobj.h types.
Fix some field names in CSFV and QCMINFO.
Update the generated tests to also check shtypes.h and test some more
types.
2004-09-07 22:46:26 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Robert Shearman 4188874ad5 - Add exports for missing ordinals 191-194.
- Stub for SHUpdateImageW.
2004-09-06 20:24:10 +00:00
Alexandre Julliard b0394dea42 Get rid of the WINE_UNUSED macro. 2004-09-01 17:36:04 +00:00
Francois Gouget 3e2868b457 Don't export the shell32 SHAllocShared functions by name.
Implement them by calling out their shlwapi equivalent (which had a
much more complete implementation anyway).
Fix the prototype of shlwapi's SHAllocShared().
Don't crash if lpvData is NULL in SHAllocShared().
Add a conformance test to shlwapi.
2004-08-31 17:38:59 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Aric Stewart 383de6efbc Make sure exePath contains the path since it is used later in the
function as well.
2004-08-23 17:55:29 +00:00
Francois Gouget 310f093ac5 Moved declarations from undocshell.h to shlobj.h to match the latest
platform SDK.
2004-08-22 22:27:31 +00:00
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Huw Davies 0af47c8080 Unicodify a load of strings. 2004-08-20 19:57:50 +00:00
Francois Gouget 09747e50e7 Fix packing bug in shlobj.h.
Fix the declaration of bitfields so their layout matches what MSVC
generates.
Modify winapi_test to compute the bitfields size/alignment like MSVC
does.
Update the impacted generated.c files.
2004-08-20 19:33:17 +00:00
Aric Stewart 4133ed17d9 In IPersistFile_Save if the exe file is not found, trust the path we
are given and allow creation of the link.
2004-08-20 19:28:33 +00:00
Francois Gouget 68232c6c2f Remove types that don't exist from tests.dat.
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Francois Gouget 466f5e79a8 Add new fields to the NOTIFYICONDATA structure so it matches the
latest platform SDK.
Update shell32/tests/generated.c. It now works when compiled with the
Windows headers.
2004-08-19 19:16:31 +00:00
Vincent Béron 6fae1ce6fd Don't hardcode c:\windows paths in msi.dll. 2004-08-18 23:41:10 +00:00
Ge van Geldorp 225c8e6c57 Handle shell link files contained in double quotes. 2004-08-16 23:18:36 +00:00
Mike McCormack 22442cd880 Clean up messy comment in SHFileOperation.
Reduce the number of goto labels in SHFileOperation by one.
2004-08-16 19:57:05 +00:00
Francois Gouget e69f38551e Add the CCHILDREN_TITLEBAR+1 and NUM_POINTS macros.
Add a couple base types that winapi_test does not know how to parse.
Fix a bug so that 'signed' and 'unsigned' are recognised as valid
types.
2004-08-16 19:46:09 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Alexandre Julliard 616940eb9a Get rid of the non-standard ICOM_DEFINE macro. 2004-08-12 03:33:30 +00:00
Alexandre Julliard b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Francois Gouget 522217c0e2 Remove LPFILESYSTEMBINDDATA as it's not defined in the standard
Windows headers.
2004-08-11 20:52:37 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Jon Griffiths 5f2e8b7f46 Delete the about dialog font when the dialog is closed. 2004-08-09 22:56:58 +00:00
Mike McCormack 9cd9cfd2ed Use Heap function in preference to malloc/free. 2004-08-09 19:46:47 +00:00
Marcus Meissner 2e6e18bfbb Marked some functions in debughlp as static.
Do not use REFIID as return, but IID*.
2004-08-09 18:49:42 +00:00
Jon Griffiths 42c8b413da Don't leak cache imagelists on exit. 2004-08-06 18:58:18 +00:00
Filip Navara 3a6c9dc907 Destroy associated listview when IShellView is destroyed. 2004-08-04 18:16:27 +00:00
Jens Collin ff3d644072 Use ShellExecute instead of CreateProcess in run dialog. 2004-08-02 18:48:21 +00:00
Filip Navara 06e9945f70 Add REST_NONLEGACYSHELLMODE policy. 2004-07-29 23:58:31 +00:00
Francois Gouget f8e01efb3d Assorted spelling fixes. 2004-07-23 23:02:09 +00:00
Marcelo Duarte 62d4adfffe French translation and other adjustments. 2004-07-23 22:59:49 +00:00
Henning Gerhardt 68ade3b7ac Minor fixes and updates to the German resource files. 2004-07-22 20:35:07 +00:00
Ivan Leo Puoti 0eb21bb4dd Added Italian resources. 2004-07-22 19:45:00 +00:00
Marcelo Duarte 95f067d3cd Update localization for Portuguese language. 2004-07-19 20:09:00 +00:00
Martin Fuchs f045c9df81 Distinguish between Open and Explore commands.
Execute items by default.
2004-07-16 19:13:21 +00:00
José Manuel Ferrer Ortiz e3cea2785b Updated the Spanish shell32 translation and made some corrections to
other language files.
2004-07-12 20:44:33 +00:00
Marcus Meissner ab7af13705 Fixed double applet = applet = assignment.
Removed sic_hdpa only used in 1 C file as static var.
Make VT_Shell_IMalloc32 and related variables static.
2004-07-12 19:50:56 +00:00
Alexandre Julliard b74089091b Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <gvg@reactos.com>
Implement MessageBox-based RestartDialog() and RestartDialogEx(), use
string resources for ExitWindowsDialog() to allow
internationalization.
2004-07-09 22:51:19 +00:00
Mike McCormack 75d8be030a Fix a buffer overrun in autocomplete. 2004-07-04 00:11:07 +00:00
Ge van Geldorp 1b2a819075 Fix IFileSystemBindData method order. 2004-06-30 18:13:09 +00:00
Ge van Geldorp c390bb2aea Match prototypes to Platform SDK. 2004-06-28 20:32:53 +00:00
Royce Mitchell III 0d592611bd Shell32 run dialog combobox should also have WS_TABSTOP style. 2004-06-21 23:54:19 +00:00
Robert Shearman 77b7f95716 Make ole32 a delay-load import of shell32. 2004-06-18 00:23:38 +00:00
Francois Gouget 1117e69c14 SHELL_ExecuteW() passes a Unicode environment to CreateProcessW() so
it must specify the CREATE_UNICODE_ENVIRONMENT flag. Also the
SHELL_ExecuteW32() functions will always be called with a Unicode
environment so adjust their prototype accordingly.
2004-06-15 18:27:50 +00:00
Dmitry Timoshkov a98f0dffa6 Fix warnings introduced by my last patch. 2004-06-15 17:02:46 +00:00
Dmitry Timoshkov d321561ba4 Restore default "open" functionality of ShellExecute. 2004-06-15 00:44:14 +00:00
Dmitry Timoshkov 7c1ae16431 Ignore DdeClientTransaction error in ShellExecute. 2004-06-14 19:32:32 +00:00
Dmitry Timoshkov 5567887fd3 Add support for quoting "file://%1" like format strings. 2004-06-14 17:54:24 +00:00
Ulrich Czekalla d886064101 Implemented RealDriveType. 2004-06-14 16:56:39 +00:00
Ulrich Czekalla ed3d86f9be When we send out a notification to a registered window with
SHCNRF_NewDelivery, we should send a LPNOTIFICATIONLIST and the
process id of the caller.
2004-06-02 21:33:47 +00:00
Aric Stewart 3d9fb73909 Make sure that the size of the buffer passed to RegSetValueExW is in
bytes not WCHARs.
2004-05-28 19:28:41 +00:00
Uwe Bonnes 63a4b203d7 Assume MAX_PATH length for pszDisplayName. 2004-05-27 20:01:56 +00:00
Ivan Leo Puoti 3e42f6953e Changed my name, so update copyright info. 2004-05-27 02:25:13 +00:00
Stefan Leichter c51c46bada Moved stub of Control_FillCache_RunDLL from ascii to unicode. 2004-05-27 01:54:30 +00:00
Eric Pouech df93f2eeee GetModuleFileName[AW] doesn't terminate the string if the buffer is
too small.
2004-05-19 03:22:55 +00:00
Patrik Stridvall 070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Ilya Korniyko 4943881d28 Encoding fixes in Ukrainian translation. 2004-05-10 19:54:10 +00:00
Alexandre Julliard a11b2bbafb Updated the auto-generated tests. 2004-05-04 00:41:11 +00:00
Maxime Bellengé 54d7cb60e1 Fix a string allocation. 2004-05-02 04:20:23 +00:00
Maxime Bellengé 77c7c61edd - Fix the return key handling and clean up the code.
- Add support for quickComplete with Ctrl+Return.
2004-04-30 04:14:33 +00:00
Mike McCormack 0f6af2cee0 Stub implementation for SHFindFiles. 2004-04-29 20:01:38 +00:00
Ilya Korniyko 1c279bfd89 Added Ukrainian translations. 2004-04-26 23:35:17 +00:00
Dmitry Timoshkov 85ef456512 Fix the DDE PFNCALLBACK prototype. 2004-04-26 23:29:44 +00:00
Maxime Bellengé e2a90d9d52 Implemented the ACO_AUTOSUGGEST, ACO_AUTOAPPEND, ACO_UPDOWNKEYDROPSLIST
styles.
2004-04-26 20:06:24 +00:00
Dmitry Timoshkov 61daaf8bd3 Fix a bug in ShellExecute which called DdeCreateStringHandleW with a
wrong parameter. Revert previous erroneous fix.
2004-04-23 21:32:17 +00:00
Huw Davies 180045676b DdeClientTransaction returns zero on error. 2004-04-22 23:46:35 +00:00
Francois Gouget 8fc374d8b4 Make Unicode strings 'static const'. 2004-04-20 02:14:00 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Maxime Bellengé b7852de12f Add the IAutoComplete and IAutoComplete2 implementation (but methods
stubbed for now).
2004-04-19 19:26:57 +00:00
Wolfgang Schwotzer 0471483851 SHBrowseForFolder: support lpBrowseInfo->pszDisplayName being NULL. 2004-04-19 19:25:56 +00:00
Juan Lang 6d169747d6 Correct return value in a couple of error cases. 2004-04-15 05:04:10 +00:00
Martin Fuchs a9a04e8d4f - make drive letters in PIDLs always uppercase to enable PIDL
comparison
- Unicodify _ILCreateDrive()
2004-04-15 04:57:46 +00:00
Martin Fuchs 849337b9b6 Correct error handling in SHELL32_ParseNextElement(). 2004-04-15 04:55:54 +00:00
Martin Fuchs 618cf6fc0f Return "file not found" error values instead of E_INVALIDARG if
_ILCreateFromPathA() failed to find files.
2004-04-14 23:57:46 +00:00
Juan Lang bbdd20d536 Correct some PIDL types and eliminate some magic numbers in PIDL
allocation; correct a copy-pasto from a previous patch.
2004-04-14 19:33:07 +00:00
Juan Lang 77beaca78f If a folder contains a desktop.ini, check it for the icon location
before using the default folder icon.
2004-04-14 19:32:34 +00:00
Juan Lang 38deeb4fd2 Add stub for ShellDDEInit to let Windows explorer.exe get past the
beginning.
2004-04-13 21:15:33 +00:00
Juan Lang ae78d17f9d IShellView seems reasonably complete, change a FIXME to a TRACE to
speed up open/save dialogs.
2004-04-13 21:15:01 +00:00
Martin Fuchs b8dc8abbc0 Correct IShellFolder::GetAttributesOf() for the case *rgfInOut=0. 2004-04-13 00:19:11 +00:00
Martin Fuchs c01e515815 Check for folders in ShellExecute(). 2004-04-13 00:18:45 +00:00
Martin Fuchs 6223fdc9f2 - rename 'wszCommandline' to 'wszParameters'
- separate out command line arguments from executable file name
2004-04-12 23:12:51 +00:00
Martin Fuchs 1ab301d7be - eliminate MSVC type conversion warning
- IShellLink::GetIconLocation(): get icons for shell links if not
  already set
2004-04-12 23:12:39 +00:00
Francois Gouget 0217bfdfed Assorted spelling fixes. 2004-04-12 22:08:23 +00:00
Francois Gouget e7427e13af Cleanup the handling of the extension in SHELL_FindExecutable():
- Eliminate the corresponding fixed-size buffer which removes the
  limitation to 3 character extensions.
- Fix handling of the trailing '.' case.
- Do a case-insensitive check for the extension in win.ini.
Increase the size of the command buffer to 1024.
2004-04-09 19:04:03 +00:00
Juan Lang 19b1a95ec1 - move CreateMyCompEnumList and CreateDesktopEnumList to their
respective files
- rewrite CreateFolderEnumList to only FindFirstFile/FindNextFile once
2004-04-08 19:50:17 +00:00
Juan Lang c00fbafbbf Move control panel applet enumeration to cpanelfolder.c. 2004-04-08 04:37:43 +00:00
Martin Fuchs 31cd6b8cf3 - SHBindToParent(): request correct COM interface from desktop.
- _ILCreateFromFindDataA(): type cast to eliminate MSVC compiler
  warning.
2004-04-07 21:58:50 +00:00
Juan Lang f3301c6ba9 - comment fixes
- improved error checking and conformance with Windows
- remove some spurious error messages
2004-04-07 19:45:48 +00:00
Alexandre Julliard bb133bd596 Fixed a couple of header files ordering issues. 2004-04-07 03:59:41 +00:00
Martin Fuchs df0a00edd8 Resolve shell shortcuts and process ID lists in ShellExecute()
functions.
2004-04-07 03:49:51 +00:00
Juan Lang 42f28a72e9 - rename PT_SPECIAL to PT_SHELLEXT
- remove unnecessarily complex _ILCreate
- combine _ILCreateValue and _ILCreateFolder, since their outputs
  differed by only one byte.
2004-04-06 23:12:11 +00:00
Juan Lang fe7c9e5f95 Rename PT_MYCOMP to PT_GUID, and the corresponding union member from
mycomp to guid.
2004-04-06 03:22:29 +00:00
Juan Lang 452ddeb3e2 Use symbolic constants for magic numbers in SHGetFolderPathW, avoid
doing MultiByteToWideChar on values that don't need it,
2004-04-05 23:13:20 +00:00
Juan Lang 2843de3f25 Get rid of a few pointless A/W conversions. 2004-04-05 22:22:00 +00:00
Martin Fuchs 7e301d8a77 Add resource strings for control panel folder. 2004-04-05 21:06:58 +00:00
Martin Fuchs 3abf44f10a Optimization: null terminate string buffers instead of filling them
completely with 0.
2004-04-05 21:06:16 +00:00
Martin Fuchs d98c36c106 Get icons for shell link files. 2004-04-05 21:05:51 +00:00
Martin Fuchs b44f8253cf - fix dirty flag on shelllink loading and saving
- update absolute path when changing relative path
2004-04-05 20:12:57 +00:00
Rolf Kalbermatter dfe99d49c5 Use named constant instead of a simple number (gets rid of signed
warning too).
2004-04-01 21:00:23 +00:00
Kevin Koltzau 33a6215dc3 Added support for CSIDL_RESOURCES path. 2004-04-01 02:01:33 +00:00
Alexandre Julliard 85c2ccec76 Do not strip stdcall decoration in spec files.
Fixed mapi32 ordinals.
2004-03-31 00:59:36 +00:00
Martin Fuchs 02dd8c3601 Call IShellExecuteHook interface for ShellExecute() calls with ID
lists.
2004-03-27 20:41:20 +00:00
Martin Fuchs dd46d6df9e Implementation of the control panel folder in shell namespace. 2004-03-27 01:42:22 +00:00
Martin Fuchs 906be1dcb0 - Fix handling of %2, %3, ... and lower case format characters in
SHELL_ArgifyW().
- Move "%I" expansion from ShellExecuteEx() into common function
  SHELL_ArgifyW().
- Pass buffer length to SHELL_FindExecutable().
- FIXME comment for len paramater in SHELL_ArgifyW().

Ge van Geldorp <ge@gse.nl>
- Add double quotation marks unless we already have them (e.g.: "%1"
  %* for exefile).
- Remove unnecessary double quotation marks and command line arguments.
2004-03-26 02:29:12 +00:00
Martin Fuchs df23d95476 Implementation of IPersistFile::IsDirty(). 2004-03-25 23:36:45 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Francois Gouget b948778660 Assorted spelling fixes. 2004-03-23 23:20:16 +00:00
Martin Fuchs 075d6a1238 Fix for recent shelllink patch, which removed the important part of
returning the result pointer from IShellLink_ConstructFromFile().
2004-03-22 22:58:37 +00:00
Robert Shearman f6e1be6afe Allow passing NULL to ILFindLastID. 2004-03-22 22:58:19 +00:00
Martin Fuchs b9e542fd8e Fix recent Unicode-ification patch. 2004-03-22 22:57:13 +00:00
Mike McCormack b0b467ab95 Update path from relative path on loading. 2004-03-22 21:12:39 +00:00
Mike McCormack 7b597d4c20 Unicode-ify the icon cache and SHGetFileInfo. 2004-03-22 20:43:07 +00:00
Rein Klazes d09edf800b In SHELL_ExecuteW, if a new current directory is specified, change to
it before calling CreateProcess so that it will find the correct
executable.
2004-03-19 01:52:30 +00:00
Martin Fuchs a06f76d6f9 Expand environment strings in command, parameter and directory strings
of ShellExecuteExW32().
2004-03-18 04:04:29 +00:00
Alexandre Julliard 22508e576f FindFirstFile can return an empty short name if the long name is a
valid DOS name, fixed callers to handle that properly.
2004-03-17 01:50:27 +00:00
Martin Fuchs 7b48ddcbba Enumerate all "shell\<verb>\command" entries in the registry instead
of searching only for "shell\open\command" entries.
2004-03-04 20:34:38 +00:00
Martin Fuchs 4a2731a781 Fix buffer length usage for RegQueryValueW() calls at various places. 2004-03-03 05:26:30 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Hans Leidekker 82f08b8a37 Export LC_ALL before calling sed. 2004-03-01 23:32:35 +00:00
Huw Davies bc811a2489 Add a missing '\\'. 2004-03-01 23:11:53 +00:00
Martin Fuchs 46fceb19f3 Set error code ERROR_DDE_FAIL if the DDE connection failed in
ShellExecute().
2004-03-01 21:22:25 +00:00
Ove Kaaven 4f6a1d3475 Fixed icon leak. 2004-02-27 21:30:16 +00:00
Alexandre Julliard 0d203bd7ee Sync some of the dll registrations with the contents of
winedefault.reg.
2004-02-27 06:08:32 +00:00
Kevin Koltzau 6eb4b2f694 Fill unused gap to fix lookups past CSIDL_CONNECTIONS. 2004-02-24 00:58:20 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Alexandre Julliard 492ac292b9 Added support for building a dll from a .def file for cases where we
don't want to write a full .spec.
Renamed --spec option to --dll for consistency.
2004-02-17 20:36:16 +00:00
Dmitry Timoshkov 9fd0183c27 Do not leave not initialized fields in the structure passed to
ShellExecuteExW32.
2004-02-12 20:04:23 +00:00
Dmitry Timoshkov ccc57b323d Translate the returned hInstApp from the unicode worker function. 2004-02-12 20:04:09 +00:00
Alexandre Julliard 487b9f5f00 Moved some more definitions out of undocshell.h into the exported
headers.
2004-02-11 06:21:45 +00:00
Martin Fuchs fa828cd057 - move some PIDL function declarations from undocshell.h into public
header, as they are no longer undocumented
- implement context menu support for Winefile
2004-02-11 04:18:12 +00:00
Jon Griffiths df24e106c5 Tests for StrRetToStrAW. 2004-02-10 02:19:03 +00:00
Jon Griffiths 52cde9b386 StrRetToStrN returns BOOL and shouldn't crash on NULL dest. 2004-02-10 02:18:50 +00:00
Huw Davies 89ef25e218 Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Mike McCormack cb9a22b787 Fix the bounds checking in SHGetPathFromIDListA/W. 2004-02-09 20:56:41 +00:00
Ulrich Czekalla c31d413c3c Set the item mask before calling GetItem. 2004-02-03 00:09:57 +00:00
Ulrich Czekalla d3b9ff2f8a Make SHChangeNotifyRegister be recursive so that will get all
notifications.
2004-02-02 23:09:09 +00:00
Ulrich Czekalla a91b2efc74 Fix SHChangeNotify to send correct lParam and wParam values. 2004-02-02 23:08:54 +00:00
Martin Fuchs 8091a89011 - remove unneccesary ISF_MyComputer_Constructor() declaration
- improve returned error code of ISF_MyComputer_fnParseDisplayName()
- remove wrong comment from ISF_MyComputer_fnGetDisplayNameOf()
2004-01-30 22:54:12 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Francois Gouget e18aa3f614 Add trailing '\n's to ok() calls. 2004-01-26 20:23:25 +00:00
Martin Fuchs 516b50f34c - don't link directly to NTDLL; use MultiByteToWideChar() instead of
RtlCreateUnicodeStringFromAsciiz()
- directly call InitCommonControlsEx()
2004-01-26 20:13:03 +00:00
Martin Fuchs 703676f533 - define additional shell paths for CSIDL_... constants
- remove some superfluous commas
2004-01-26 20:09:10 +00:00
Ge van Geldorp 100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +00:00
Martin Fuchs 70d4604ac9 - ISF_Desktop_fnGetUIObjectOf(): allow context menu on the desktop
without any selected item; preserve return error codes.
- ISF_Desktop_fnGetDisplayNameOf(): don't initialize whole character
  array with zero.
2004-01-23 20:46:09 +00:00
Martin Fuchs 0e35be6074 - IShellFolder_fnParseDisplayName(): return E_INVALIDARG instead of
E_OUTOFMEMORY.
- IShellFolder_fnGetUIObjectOf(): preserve return error codes.
- IShellFolder_fnGetDisplayNameOf(): don't initialize whole character
  array with zero.
2004-01-23 20:45:41 +00:00
Martin Fuchs fc69e4cf1b Improved error handling.
SHELL32_GetItemAttributes(): support for SFGAO_LINK attribute.
2004-01-23 20:43:18 +00:00
Martin Fuchs 0c7f449343 ISF_MyComputer_fnGetDisplayNameOf(): return CLSID paths of virtual
folders rooted under "My Computer" folder, better error handling.
2004-01-23 04:25:26 +00:00
Martin Fuchs 2745769035 Return 'My Compuer' PIDL when calling Desktop->ParseDisplayName() with
empty path string.
2004-01-23 04:15:32 +00:00
Francois Gouget 7494b5b980 Add trailing '\n's to ok() calls.
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Rolf Kalbermatter 7af8b13f11 Implement PathGetShortPathA/W and change its prototype to match the
documentation on MSDN.
2004-01-21 23:51:57 +00:00
Martin Fuchs 9d78f6783f Only return valid file system names from RenderFILENAMEA/W() by using
SHELL_GetPathFromIDListA/W().
2004-01-21 23:50:46 +00:00
Alexandre Julliard aa43d01627 Authors: Martin Fuchs <martin-fuchs@gmx.net>, Ge van Geldorp <ge@gse.nl>
Reimplementation of SHGetPathFromIDListA/W() using the new helper
functions SHELL_GetPathFromIDListA/W(). The new implementation avoids
using IShellFolder::GetDisplayNameOf(), so that it
- returns the absolute file system path, not relative to the dekstop
- returns FALSE as error code if the path can not converted in a valid
  file system path
- doesn't return virtual CLSID paths
2004-01-21 23:50:26 +00:00
Martin Fuchs 0f3d8bf500 Use full paths instead of only filenames in icon cache to distinguish
between different files with the same name.
2004-01-21 22:15:09 +00:00
Martin Fuchs 74bcd4e43f Implemented SHGetRealIDL(). 2004-01-21 22:12:55 +00:00
Martin Fuchs 423cb99ac5 - SHGetDataFromIDListA/W(): handle drives when retrieving file
attributes
- fixed error handling to avoid GPFs
2004-01-20 23:38:04 +00:00
Martin Fuchs eae9444bc8 - fix typos in shelllink.c header comment and a struct comment
- corrected SCF_UNICODE constant and use the value of SCF_UNC instead
- implemented IShellLink_ConstructFromFile() to read shell links from
  files
- call IShellLink_ConstructFromFile() in ISF_..._fnGetUIObjectOf()
  when being queried for IShellLink interface
2004-01-20 01:37:24 +00:00
Martin Fuchs c378ade958 - fix typo
- return string length from SHELL32_GUIDToStringA()
2004-01-20 01:26:39 +00:00
Martin Fuchs 236c8a2452 - move IShellFolder_fnGetDisplayNameOf() contents into a new function
SHELL_FS_ProcessDisplayFilename() to call it also in
  ISF_Desktop_fnGetDisplayNameOf() and do the same file system
  processing for the desktop level
- handle hidden file extensions in SHELL_FS_ProcessDisplayFilename(),
  that are configured by "NeverShowExt" in the registry
2004-01-19 23:54:55 +00:00
Martin Fuchs 9d1c9604b1 ShellView_CreateList(), SIC_Initialize(): enable transparent icons on
the desktop.
2004-01-18 23:17:32 +00:00
Martin Fuchs 87326ba7c3 IStream_fnWrite: only return write count if the given pointer
parameter is not NULL.
2004-01-18 23:17:13 +00:00
Martin Fuchs 6e775f898a - declare PT_RAS_FOLDER for the "RAS Connections" folder
- handle PT_RAS_FOLDER and PT_NETPROVIDER in debugging functions and
  _ILGetTextPointer() / _ILGetSTextPointer()
2004-01-18 22:08:46 +00:00
Martin Fuchs b35c27626f CreateStreamOnFile(): use flag FILE_SHARE_READ for opening OLE stream
files to enable file sharing.
2004-01-18 22:06:35 +00:00
Alexandre Julliard e025c59051 Fixed HCR_GetExecuteCommandW() behavior with a class name (based on a
patch by Martin Fuchs).
Removed a couple of no longer used functions.
2004-01-16 23:06:25 +00:00
Martin Fuchs e6ab6bdcd7 Corrected definition of PathYetAnotherMakeUniqueName(). 2004-01-16 23:04:41 +00:00
Francois Gouget 17112eaa4d Assorted spelling fixes. 2004-01-16 21:26:08 +00:00
Filip Navara c4dd56bc25 - Moved actual code from SHGetSpecialFolderPathA to SHGetFolderPathW,
adjusted and unicodified it.
- Rewrote SHGetFolderPathA to call SHGetFolderPathW.
- Rewrote SHGetSpecialFolderPath[AW] to call SHGetFolderPath[AW].
2004-01-16 04:46:36 +00:00
Filip Navara 23f26c8a1d Complete Czech translation of shell32 resources. 2004-01-16 04:46:05 +00:00
Marcelo Duarte 003465415f - Get rid of W->A calls for shlexec.
- Implementation of FindExecutableW.
2004-01-15 06:13:57 +00:00
Dmitry Timoshkov 2a2cd4db76 Fix an IE crash and make the "Create Folder" functionality in
Favorites work.
2004-01-09 00:35:21 +00:00
Alexandre Julliard 502f6c5634 Removed incorrect uses of DUMMYUNIONNAME. 2004-01-07 00:47:35 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Alexandre Julliard 72ecbb0675 SHCoCreateInstance is now documented (spotted by Francois Gouget).
Its first argument should be a Unicode string.
2004-01-06 20:42:47 +00:00
Hans Leidekker 195ec47f97 Make sure sed uses the right locale. 2004-01-06 20:40:10 +00:00
Martin Fuchs c0a5a27c15 Correct return type of SHFileOperationA/W. 2004-01-05 21:13:37 +00:00
Steven Edwards 903d1f25ce Update the notes on how WINE uses the Systray under KDE. 2004-01-02 20:12:51 +00:00
Martin Fuchs 963dd34ec0 - correct return value of SHGetPathFromIDList[AW]() for virtual
folders like "My Computer"
- correct path parsing in ISF_Desktop_fnParseDisplayName()
- handle CLSID paths in ISF_MyComputer_fnParseDisplayName()
- return CLSID path in ISF_MyComputer_fnGetDisplayNameOf()
2003-12-30 19:24:22 +00:00
Ge van Geldorp fc5134d52e Enclose application name in double quotation marks, as it may contain
spaces.
2003-12-30 19:20:11 +00:00
Martin Fuchs 499519d5d3 Added include of "wine/port.h" for MSVC. 2003-12-15 19:48:52 +00:00
Richard Cohen e45d29cdc1 - Check FindFirstFile against INVALID_HANDLE_VALUE not 0.
- Display window & messagebox even if there are no applets.
2003-12-11 04:24:16 +00:00
Marcelo Duarte 36002739c7 - Implementation of HCR_GetExecuteCommandExW for internal use.
- New inline function  __SHCloneStrAtoW.
2003-12-10 00:39:31 +00:00
Alexandre Julliard 910896b71f Implemented RunDLL_CallEntry16. 2003-12-03 04:44:52 +00:00
Dmitry Timoshkov 2964888d05 A general cleanup of the version resources in Wine DLLs. 2003-11-30 05:59:29 +00:00
Rolf Kalbermatter 81ce443f5e Fix two memory leaks. Found by Dietrich Teickner. 2003-11-28 23:10:19 +00:00
Dimitrie O. Paun 3e54350dc2 {Global,Local}ReAlloc() does not allocate memory. 2003-11-26 05:04:15 +00:00
Alexandre Julliard 29cff12d06 Moved the ShellExecuteEx definitions to shellapi.h where they belong. 2003-11-26 03:59:16 +00:00
Ivan Leo Murray-Smith 5a2f3c1f1f Added/updated Italian resources. 2003-11-20 22:07:35 +00:00
Francois Gouget cd1a13b00e If using the default values, also set dwType to REG_SZ as our default
strings don't need to be expanded (found by Valgrind).
2003-11-20 04:21:12 +00:00
Alexandre Julliard 12d3d81cbd Use a more portable way to generate authors.c. 2003-11-19 02:35:31 +00:00
Alexandre Julliard 129f1e6910 Generate the authors list for the shell about dialog from AUTHORS at
compile time. Converted the about dialog to Unicode.
2003-11-18 19:50:24 +00:00
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Marcelo Duarte 8defcd386c Localization to the Portuguese of Brazil. 2003-11-05 23:27:01 +00:00
Dmitry Timoshkov 3baa9b99fd Protect ILIsParent from NULL pidls. 2003-11-04 04:21:01 +00:00
Uwe Bonnes 4f20d16596 Control_DoLaunch: memmove needs bytes as length argument. 2003-10-27 22:06:56 +00:00
Filip Navara d8bd18e639 - Removed initialization of sh32_policy_table in SHInitRestricted,
because it's already statically initialized.
- Removed calling of SHInitRestricted(NULL, NULL) from DllMain because
  it does nothing in this case now.
- Added support for flags FWF_DESKTOP, FWF_NOCLIENTEDGE,
  FWF_TRANSPARENT in ShellView.
- Fixed small bug in setting SysTray window class hbrBackground.
2003-10-24 04:23:37 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Dimitrie O. Paun b0f4a564a1 Move useful information out of documentation/shell32. 2003-10-09 19:47:08 +00:00
Dimitrie O. Paun 54e6b0d938 Extract binary resources to files, to fit the standard. 2003-10-03 05:01:33 +00:00
Rolf Kalbermatter 4202112e2d Moved definition of newly documented API SHRestricted() and the
according policy definitions to shlobj.h.
Replace the policy numeric values with the new official defines and
change SHRestricted() to match the new documented prototype.
2003-10-02 04:30:46 +00:00
Mike McCormack 73756ce844 Change a MESSAGE about creating a directory to a TRACE. 2003-10-02 04:27:21 +00:00
Pavel Roskin b079de35ce Make it possible to close the "About Wine" dialog by pressing Escape. 2003-10-01 03:04:51 +00:00
Vincent Béron d9e2db6f1a Extract localisable resources from shres.rc to proper language file. 2003-09-30 00:25:28 +00:00
Rolf Kalbermatter 82f46ab1c3 Added IsLFNDriveA/W/AW exports and two more stubs. 2003-09-30 00:19:44 +00:00
Francois Gouget 224063f033 Some spelling fixes.
Fix the case of WineHQ.
2003-09-29 20:20:53 +00:00
Vincent Béron d1654b6128 Change some resources from LANG_NEUTRAL to LANG_ENGLISH. 2003-09-29 20:15:54 +00:00
Rolf Kalbermatter c4bba67a9a Fix a return value in SHFileOperation and add some extra tests to
internal helper functions necessary to deal with shortcomings of
kernel32 functions for the time being.
2003-09-27 03:47:35 +00:00
Eric Pouech 368a54c846 Fix both a warning and some nasty crashes... 2003-09-27 02:24:51 +00:00
Alexandre Julliard 2d13956285 The "Path" value of the "App Paths" entry should be handled in
ShellExecute by changing PATH in the new process, instead of being
done in SearchPath.
2003-09-26 04:35:01 +00:00
Dimitrie O. Paun 8b255842ec Remove the obsolete pascal16 (replaced by pascal -ret16). 2003-09-26 04:32:19 +00:00
Rolf Kalbermatter 5e46d9f9d7 Add some comments to functions and minor fixes.
Export already existing (but still undocumented) functions
ILCreateFromPathA/W.
2003-09-25 20:26:28 +00:00
Alexandre Julliard 16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Vincent Béron bf5f07a5b4 Yet another batch of French resources updates. 2003-09-22 21:16:56 +00:00
Mike McCormack fd16003316 Fix errors in IExtractIcon detected by valgrind. 2003-09-22 19:30:25 +00:00
Rolf Kalbermatter 58c0561bad Added declarations for newly documented SHChangeNotify API and fixed
some prototypes.
2003-09-22 19:24:13 +00:00
Alexandre Julliard f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +00:00
Rolf Kalbermatter d1ffc6f11c Implemented SHSimpleIDListFromPath correctly. 2003-09-17 04:17:33 +00:00
Rolf Kalbermatter 2407c13848 Make sure the bind context is forwarded in
ShellFolder_ParseDisplayName.
2003-09-15 22:16:41 +00:00
Rolf Kalbermatter 9c74339c32 Signed/unsigned warnings and some formatting. 2003-09-15 22:13:40 +00:00
Rolf Kalbermatter 6f9336dd31 Added IFileSystemBindData implementation. 2003-09-15 22:10:48 +00:00
Rolf Kalbermatter 2a493336bd SHChangeNotify should use SHSimpleIDListFromPath as this function
should not fail on paths that do not exist anymore.
2003-09-15 22:09:46 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard 20c169e0a4 Fixed a few more headers dependency issues. 2003-09-09 19:39:31 +00:00
Alexandre Julliard 69c90c2a9f Converted the rest of the obj_*.h headers to IDL into shobjidl.idl. 2003-09-09 19:32:36 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Rolf Kalbermatter 7ffcb0ea98 Change parameter in SHGetSpecialFolderPathA/W to int as documented in
MSDN.
Add some more definitions and move SHGetDesktopFolder() from
wine/obj_shellfolder.h to here.
2003-09-08 18:47:10 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard d937dc2963 Implemented shtypes.idl and shobjidl.idl and removed a few more
wine/obj_* headers.
2003-09-04 19:43:39 +00:00
Alexandre Julliard 802ebc1168 Converted oleidl.h to IDL. 2003-09-03 20:17:39 +00:00
Alexandre Julliard 81c31701d2 Avoid including wine/obj_*.h files directly from C files.
Removed no longer used obj_serviceprovider.h.
2003-09-03 00:16:28 +00:00
Alexandre Julliard 7ecf0e3e1d shlobj.h must include wine/obj_dragdrophelper.h (reported by Martin
Fuchs).
2003-09-03 00:14:12 +00:00
Rolf Kalbermatter 514521bfaf Make the different helper functions all return actual error codes.
Avoid code duplication between ANSI and Unicode variant of those
functions.
2003-09-02 18:12:44 +00:00
Martin Fuchs 63fecde98b Declare LPCITEMIDLIST as 'const' pointer and adjust shell32
implementation to the corrected type.
2003-09-02 01:01:06 +00:00
Rok Mandeljc d4c1ebabdb Minor updates of Slovenian translations. 2003-08-29 22:21:43 +00:00
Rolf Kalbermatter c6670526ad Change protoype of SHChangeNotifyRegister to what MSDN says.
Remove an unsigned mismatch warning.
2003-08-29 22:11:23 +00:00
José Manuel Ferrer Ortiz 4a0dd81cf1 Some new Spanish translations and improvements to other existing
ones.
2003-08-22 05:03:19 +00:00
Mike McCormack c2bd211b4c Remove useless comments that clutter the code. 2003-08-21 21:26:23 +00:00
Mike McCormack 8e98b9cda4 Stub for (undocumented) SHCreateLinks. 2003-08-21 21:26:07 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Alexandre Julliard 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Johan Dahlin f6983b28c8 Updated Swedish translation. 2003-08-12 20:32:11 +00:00
Mike McCormack 3a41addd3a Export SHBindToParent (already implemented). 2003-08-12 18:53:41 +00:00
Patrik Stridvall ba78aac406 Fixed some issues found by winapi_check. 2003-08-08 21:07:23 +00:00
Alexandre Julliard f93256a56c Warning fixes. 2003-08-06 22:08:04 +00:00
Alexandre Julliard 20698b22df Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Martin Fuchs 65b4d2dc75 Fixed Ansi version of RenderFILENAME and implement a Unicode version.
Implemented CFSTR_FILENAME with Unicode filename.
2003-07-26 20:32:43 +00:00
Martin Fuchs ad1fbf2e5a Only return FALSE in IEnumIDList_fnNext if no item could be fetched at
all.
2003-07-22 03:16:00 +00:00
Mike Hearn 72d8aa5ec2 Deal with the case of loading an empty PIDL from a stream better in
ILLoadFromStream.
2003-07-22 01:00:47 +00:00
Jon Griffiths adc9b65022 Move IQueryAssociations into shlwapi. Docs/-W/MSVC++ fixes. 2003-07-19 03:07:41 +00:00
Alexandre Julliard 4aaa257086 Fixed string.h includes. 2003-07-16 23:31:35 +00:00
Francois Gouget 3ca761220a Spelling fixes (s/occured/occurred/ and variants). 2003-07-15 20:53:39 +00:00
John K. Hohm cc9005d0f3 Implement DllRegisterServer and DllUnregisterServer, and add
OleSelfRegister version string.
2003-07-15 20:48:47 +00:00
Francois Gouget 56aaea2f43 Spelling fixes. 2003-07-09 02:52:57 +00:00
Rein Klazes c2d287f682 Fixed a typo in the previous SHGetFileInfo() patch. 2003-07-08 21:07:49 +00:00
Stephan BEUZE fac288394a - Fixed iIndex use in SHGetFileInfoA (as of MSDN, iIndex is copied in
the iIcon field of psfi)
- Removed DLL_THREAD_ATTACH and DLL_THREAD_DETACH cases.
2003-07-03 18:11:01 +00:00
Eric Pouech 81e15c5ce0 Only release object if we actually got it. 2003-07-02 00:37:16 +00:00
Marcelo Duarte de08661413 - Localization to Portuguese of Brazil
- Revision and addition of missing resources
- Minor typo fix and codepage fix in programs/winefile resource.
2003-06-30 20:22:35 +00:00
Aric Stewart f7f7bd0cfe ISvItemCm_fnInvokeCommand: added support for "delete" command. 2003-06-24 02:33:53 +00:00
Mike McCormack 1351e23b05 Change notification fixes. 2003-06-23 19:49:40 +00:00
Jason Edmeades e5aabc6eeb SHGetFileInfo should tolerate null pointers. 2003-06-21 02:01:57 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Mike Hearn a8755ff912 Add stubs for Control_FillCache_RunDLL ansi/unicode variants. 2003-06-16 19:38:10 +00:00
Robert Shearman 7aae1b79d9 - Support a few more flags
- Rewrite the enumeration loop
- Support non-desktop root
- Silence harmless and implemented debug messages
2003-06-06 18:09:38 +00:00
Mike McCormack 88090b47a6 Remove code that starts wineshelllink, instead create a windows
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
2003-05-21 18:50:53 +00:00
Aric Stewart 83d92d3e0f Make sure we find the drag and drop functions before calling them. 2003-05-19 23:14:09 +00:00
Ulrich Czekalla 52b732dd0d Handle SEE_MASK_CLASSKEY case for ShellExecute. 2003-05-19 23:07:49 +00:00
Robert Shearman f0df2b2c51 Add a PIDL type For Network Provider. 2003-05-19 21:42:44 +00:00
Aric Stewart 07c649bf1b Added support for the %L escape. 2003-05-19 18:55:26 +00:00
Mike McCormack 5674b8308e Implemented ReadCabinetState and WriteCabinetState. 2003-05-19 18:54:01 +00:00
Ulrich Czekalla 0ea140da97 Partial implementation/stub of undocumented function shell32.256. 2003-05-13 22:20:13 +00:00
Huw Davies 663dbc963f Pass correct pointer to CoCreateInstance in SHLoadInProc. 2003-05-13 22:19:01 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Mike McCormack bd69422ca8 Clean up SHFileOperationA/W debugging a little. 2003-05-11 03:31:08 +00:00
Robert Lunnon 2eab8afaa9 Eliminate segfault due to NULL This->sIcoPath. 2003-05-06 18:36:54 +00:00
Dimitrie O. Paun 1a1f9bffb3 Make it easy to use something other than wrc to compile resources. 2003-05-06 18:34:53 +00:00
Igor Stepin 97b7bc1984 Added a lot of Russian translations. 2003-05-04 02:33:08 +00:00
Rolf Kalbermatter b74beada5a Fix some typos and a memory leak in SHFileOperationA. 2003-04-26 02:05:39 +00:00
Alexandre Julliard 2e12d33dfd Removed no longer needed uses of LDPATH. 2003-04-21 23:54:05 +00:00
Rolf Kalbermatter a25967c92a Reimplement SHFileOperation in Unicode, based on the work of Dietrich
Teickner.
2003-04-19 20:09:09 +00:00
Rolf Kalbermatter 468494cb83 Implemented ILGetDisplayNameExA and ILGetDisplayNameExW and call them
from ILGetDisplayNameAW and ILGetDisplayNameExAW.
2003-04-17 02:18:33 +00:00
Alexandre Julliard fc09423d3d Allow overriding CFLAGS when running configure. Other small cleanups. 2003-04-14 21:46:41 +00:00
Alexandre Julliard aae3cb61cd Simplified COM interface declarations, removing the need to define
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard 55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +00:00
Alexandre Julliard f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Rolf Kalbermatter 48a01aebef Fix test to succeed in Win 98/2K and most probably ME/XP as well. 2003-04-01 04:41:12 +00:00
Rolf Kalbermatter b2d39ea5f0 Moved prototype for SHBindToParent() to shlobj.h. 2003-04-01 04:35:54 +00:00
Adam Gundy ea10ed7c11 Don't convert uninitialized bytes of the filename from wide to
multibyte.
2003-03-30 01:35:49 +00:00
Dimitrie O. Paun 8794935e12 Remove unused options -a and -C.
Collapse the -w into -O, for symmetry with -J.
Update the man page to the latest options.
2003-03-27 18:37:59 +00:00
Rolf Kalbermatter 8b9bf9ff0f Cosmetic fixes. 2003-03-27 00:00:15 +00:00
Rolf Kalbermatter 72da279d52 Implemented CheckEscapesA/W. 2003-03-26 23:59:51 +00:00
Rolf Kalbermatter 1c481f3da8 Add new helper function to create a relative file or folder ItemIDList
for a path and change usage of SHSimpleIDListFromPath to call new
function instead.
2003-03-26 23:35:23 +00:00
Stefan Leichter a127ad1cd1 Let wcmd handle .cmd files like .bat files. 2003-03-25 00:33:56 +00:00
Rolf Kalbermatter c67ad75985 SHInitRestricted() fix boolean error introduced in last patch. 2003-03-23 20:03:30 +00:00
Alexandre Julliard e048adab83 List 16-bit spec files explicitly to avoid problems with some versions
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard 9e4fc4c9b6 Converted winebuild option parsing to use getopt_long. Added a number
of long aliases for the existing short options.
2003-03-23 01:12:30 +00:00
Steven Edwards bace7a11ca shell.c is now 16-bit only. 2003-03-21 23:39:24 +00:00
Rolf Kalbermatter bc7cf93d92 - Add new W2K policies to the known list of policies.
- Modify the algorithme to go through the list until a NULL entry is
  found instead of hardcoding the number of elements (I was to lazy to
  count them again ;-)
- Fix SHInitRestricted to work as Unicode on NT systems.
2003-03-21 21:26:25 +00:00
Rolf Kalbermatter 830d3d778f Implement some more Win API functions and add support functions for
coming changes to SHFileOperation.
2003-03-21 21:23:33 +00:00
Alexandre Julliard 2ee8b5bb13 Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Paul Rupe ae379a44fd Add CSIDL_PROFILES. Improved logging for non-existent CSIDL values. 2003-03-17 04:42:45 +00:00
Alexandre Julliard a9c51cb60b Replaced forwards by normal function declarations. 2003-03-17 00:17:00 +00:00
Vitaliy Margolen 34ef9824df - make SHGetFileInfo handle relative paths
- fix requests for large icons
2003-03-16 23:51:02 +00:00
Jon Griffiths 147e2fa467 Constify the strings in the policy cache.
Documentation updates.
2003-03-12 20:17:30 +00:00
Vitaliy Margolen 11c19c509d Add few SFGAO_CAN* attributes to supported list. 2003-03-05 02:48:26 +00:00
Alberto Massari 84c48b957b Fixes to IShellFolder::GetAttributesOf:
- before computing the flags for the requested entry, reset the bits
  we don't support, or we will tell something we didn't want to.
- instead of using an hexadecimal mask for the unsupported flags, use
  a mask made of the supported ones
- replace the obscure hexadecimal values with the proper macros
2003-02-27 21:04:38 +00:00
Alexandre Julliard a36fa53607 Updated authors list. 2003-02-19 23:30:10 +00:00
Rolf Kalbermatter d11efe88b9 Change SHCreateDirectory and Win32DeleteFile to be Unicode or ANSI depending
on OS version. Add ShCreateDirectoryEx API.
2003-02-01 00:41:30 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Rolf Kalbermatter 49e1b69172 Change SHChangeNotify to be Unicode and ANSI indifferent, as the type
of parameters is really defined by uFlags parameter.
2003-01-21 19:36:24 +00:00
Robert Shearman 004fed63c5 - Clear bits in structure passed to IOleCommandTarget_QueryStatus to
show that we don't support any Exec's.
- Add two Exec cases that were found during testing.
2003-01-21 19:28:36 +00:00
Robert Shearman 8c1911f65a Separate the HINSTANCEs used by GetShellOle() and other delay load
functions.
2003-01-15 00:45:19 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Juergen Schmied 7cf87c521e Fixed crash in winamp reported by Andreas Mohr. 2003-01-10 01:46:15 +00:00
Juergen Schmied 799e6ce629 Fix recently broken GetDisplayNamesOf of names of shell extension
dlls.
2003-01-10 01:45:57 +00:00
Dimitrie O. Paun 4a883a55f6 Collapse the -hHrs options into the -O option.
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Dimitrie O. Paun dfa6b127c2 SHGetMalloc() returns a HRESULT, not a DWORD. 2003-01-03 03:07:21 +00:00
Dan Kegel adf55c25db ShellExecute(NULL, "wordpad.exe",) now correctly finds wordpad.exe in
App Paths.
2003-01-03 03:03:36 +00:00
Alexandre Julliard d2c034a8dc Removed some remaining references to wine/obj_base.h. 2002-12-23 01:39:35 +00:00
Rolf Kalbermatter 7df7cdb6e2 Introduced some declarations and resources needed for a more complete
implementation of SHFileOperation.
2002-12-19 04:11:22 +00:00
Ove Kaaven dcb9240a92 Removed a few more inclusions of deprecated wine/obj_*.h headers. 2002-12-18 20:48:05 +00:00
Rolf Kalbermatter 65a3de5aa3 Change calls to CLSIDFromString to SHCLSIDFromStringW except in
SHCLSIDFromStringW for the time being.
2002-12-16 23:48:30 +00:00
Rolf Kalbermatter e56d618613 Make some shell32 files compile in MSVC. 2002-12-16 22:40:34 +00:00
Rolf Kalbermatter 42d7d1fafb Do at least something for SHDragDrop functions although that isn't the
complete operation.
2002-12-16 22:40:05 +00:00
Rolf Kalbermatter f90209f041 Add debug info for IExtractIconW. 2002-12-16 22:39:42 +00:00
Rolf Kalbermatter c3c4a41f29 Add support for Unicode IExtractIcon creation in
IShellFolder->GetUIObjectOf.
2002-12-15 01:14:04 +00:00
Rolf Kalbermatter d7d7e3bc33 Fix crash when constructing ANSI interface pointer to IExtractIcon,
found by Uwe Bonnes.
Add some traces to the constructors.
2002-12-15 01:13:45 +00:00
Rolf Kalbermatter caf31cee32 Added Unicode versions of the HCR_ internal functions. 2002-12-13 23:45:36 +00:00
Robert Shearman d1b77764ae - Change launch functions to use unicode and implement Control_RunDLLW.
- Enable support for unicode in control panel applications.
2002-12-13 02:17:54 +00:00
Rolf Kalbermatter a96447160b Fixed some signed/unsigned comparison warnings. 2002-12-13 00:36:52 +00:00
Rolf Kalbermatter 608b6a5143 Fix SHBrowseForFolder W -> A calls. 2002-12-13 00:30:30 +00:00
Rolf Kalbermatter d069af18f2 Cleanup InternalExtractIconEx. The PrivateExtractIcons functions
should also handle the case for 32bit PE and 16bit NE files so no need
to do this here in a different way, too.
2002-12-12 23:00:47 +00:00
Rolf Kalbermatter a1b709d32e Resolve SHGetPathFromIDListW -> SHGetPathFromIDListA call.
Remove Fixme comment in SHGetPathFromIDList as StrRetToStrN should
take care of this.
Get rid of some unsigned/signed comparison warnings with default
warnings in MSVC.
2002-12-12 23:00:24 +00:00
Rolf Kalbermatter 1b7b31631d Implement IExtractIconW and inherit IExtractIconA from it. 2002-12-12 23:00:04 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Rolf Kalbermatter bc5d5d6b3b Fix shell32.ExtractIcon with A->W and 16 -> 32 calls. 2002-12-12 02:17:13 +00:00
Alexandre Julliard 2a93f8505c Pass the -J option to wrc to avoid including installed headers. 2002-12-11 01:34:51 +00:00
Rolf Kalbermatter 58c04dafae Change the return value for ExtractIconEx from HICON to UINT and make
the function call directly user32.PrivateExtractIconEx.
2002-12-10 19:10:11 +00:00
Rolf Kalbermatter 418ca6d1b0 Add SHDefExtractIcon{AW} function. 2002-12-07 23:49:24 +00:00
Rolf Kalbermatter 247457c184 Implement ParseFieldW function based on its ANSI sibling. 2002-12-06 23:20:52 +00:00
Ove Kaaven 1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Alberto Massari c0e2c5ae5b SHGetSetSettings has now the right signature and the expected behavior
when the user is asking to get the current settings.
2002-12-03 21:36:22 +00:00
Rolf Kalbermatter 25304d0a5e Fix ANSI->Unicode calling for ExtractIconExA/W. 2002-12-03 21:35:43 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Rolf Kalbermatter e2b06d2a10 Added stub implementation with correct prototypes for
ExtractAssociatedIconExA/W.
2002-11-30 02:22:24 +00:00
Alexandre Julliard 7791570139 Added CS_DBLCLKS so that systray receives double clicks. 2002-11-24 22:16:29 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Tisheng Chen 80a6620815 Added Simplified Chinese support. 2002-11-20 19:47:44 +00:00
Alexandre Julliard a9135e8333 Removed support for 'rsrc' spec file statement. 2002-11-18 23:16:09 +00:00
Patrik Stridvall e1e063d788 Made tests compile on Windows. 2002-11-15 00:02:51 +00:00
Marcus Meissner 095a5f4d40 Also silence IShellLinkA_fnSetShowCmd. 2002-11-15 00:02:36 +00:00
Marcus Meissner 6f21fe0044 Silence IShellLink::SetShowCmd for the case we support. 2002-11-12 23:25:33 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Patrik Stridvall ced69a9cad Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-12 01:05:00 +00:00
Alberto Massari ded2b88e06 The object returned by IEnumFORMATETC::Clone should have the same
cursor position of the source object.
2002-11-08 18:52:52 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard cd26935c0f Warning fix. 2002-11-04 23:51:58 +00:00
Stefan Leichter 0d2fa77c41 Remove quotes from filename before calling LoadLibrary in DoLaunch. 2002-11-01 01:46:02 +00:00
Alberto Massari d7e284781e - Fixed typo in SHGetFileInfoA.
- Properly convert return values back to Unicode in SHGetFileInfoW.
2002-11-01 01:45:37 +00:00
Marcus Meissner 93e366e6ba Escape \ in path and arguments.
Use UNIX style work_dir, not windows dir.
2002-10-31 23:35:20 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Carlos Lozano dc60324d9a Fixed SHGFI_SYSICONINDEX flag handling. 2002-10-30 23:39:32 +00:00
György 'Nog' Jeney 03d3d9de0b Separate out 16-bit ShellExecute function. 2002-10-29 21:30:01 +00:00
Patrik Stridvall fc832f0fcf Fixed tests to compile with MS C on Windows. 2002-10-29 21:24:35 +00:00
György 'Nog' Jeney ae8b795fb2 Separate out 16-bit registry functions. 2002-10-28 21:15:19 +00:00
Dimitrie O. Paun 61e8be88fa Add proper support for the SHCONTF_INCLUDEHIDDEN flag. 2002-10-28 20:06:14 +00:00
Carlos d529402734 The function SHGetFileInfoA wasn't supporting the flag
SHGFI_USEFILEATTRIBUTES.
2002-10-28 18:47:15 +00:00
Alberto Massari 1a7a947314 Don't touch the This pointer after it has been freed. 2002-10-25 21:01:29 +00:00
Alexandre Julliard 0c32905ccc Install the shell hook as a 32-bit hook. 2002-10-25 19:26:46 +00:00
Andreas Mohr 6e256c72fe - fix some pselling
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Michael Stefaniuc 331fb086be Some small cleanups. 2002-10-25 03:50:14 +00:00
Vincent Béron d1d586e2a9 Bring some French resources in sync with English ones. 2002-10-23 23:34:32 +00:00
Patrik Stridvall cf07e10017 Don't use wine/unicode.h in the header files, include it directly
where needed instead.
2002-10-23 20:20:59 +00:00
Stefan Leichter 03adaea165 Do not break quoted strings in Control_DoLaunch. 2002-10-23 18:44:13 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00