Commit Graph

996 Commits

Author SHA1 Message Date
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