Commit Graph

848 Commits

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