Commit Graph

614 Commits

Author SHA1 Message Date
Duane Clark 94324019b6 Combined implementations of ShellExecute/Ex. 2002-07-24 18:59:38 +00:00
Juergen Schmied 1e5ec8893d - Cleaned up the implementation of shell folders and put them into
separate files.
- Fixed some memory leaks.
- Some more fixes.
2002-07-24 01:56:03 +00:00
Alexandre Julliard d0c8725360 Fixed broken forwards reported by Patrik Stridvall. 2002-07-23 02:08:12 +00:00
Patrik Stridvall a3868218d0 Fixed some issues found by winapi_check. 2002-07-19 00:30:16 +00:00
Jon Griffiths 63a9e11e16 Implemented SHBrowseForFolderW. 2002-07-19 00:26:02 +00:00
Gregg Mattinson 0c5abf77a3 Fixed another non-static structure initializer. 2002-07-16 01:15:15 +00:00
Gregg Mattinson 25ee95cd5d Initialized the pidlOut variable in SHELL32_ParseNextElement to
prevent a crash in some cases.
2002-07-16 01:11:52 +00:00
Rein Klazes 8ec3ce8845 Fix buffer length calculation in InitializeGenericSF(). 2002-07-10 03:00:46 +00:00
Duane Clark d02075942a strcasecmp returns zero on a match. 2002-07-03 21:07:36 +00:00
Gregg Mattinson 2e38a17021 Void functions can't return a value, even if it is the return value
from another void function.
2002-07-03 01:20:07 +00:00
Alexandre Julliard 958732d21c Fixed warnings. 2002-07-02 02:09:39 +00:00
Juergen Schmied 23b808791e - changed STRRET definition
- small changes for seperation of shell32 from ole32
- debughelper for printing interface names (shell internal)
- changed shell memory allocation to use IMalloc of ole32 when this
  library is already loaded
- fallback IMalloc internally in shell
- unified constructor syntax for several objects  created by DllGetClassObject
- rewrote instance creation for com objects
- made the desktop folder parsing paths like ::{CLSID}
- Implemented IPersistFolder3 partially
2002-07-02 02:05:17 +00:00
Nix N. Nix cff4b6d09c Removed message box that would pop up if a RunMRU list was not found. 2002-06-28 23:30:07 +00:00
Knut St. Osmundsen 886bdb0dbc Do not access memory that has just been freed. 2002-06-28 17:34:35 +00:00
Steven Edwards eec6585a27 Moved a few win32 functions to a better location for building a Win32
only dll.
2002-06-21 20:08:50 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard f673b71ece Fixed make install target to work even when nothing has been compiled
yet.
Added install-lib and install-dev targets to allow partial
installations; moved winemaker.man and winelauncher.in to better fit
in the new install categories.
2002-06-14 23:48:27 +00:00
Nix N. Nix e73d3c444b Added RunFileDlg with MRU list.
Added template to all .rc files.
2002-06-10 02:34:36 +00:00
Sander van Leeuwen ddf16e017c Handle ascii & unicode drag and drop structures in DragQueryFileA &
DragQueryFileW.
2002-06-10 02:29:09 +00:00
Johan Gill bbbc18b12c Added version info to 16-bit shell.dll. 2002-06-04 00:52:49 +00:00
Sander van Leeuwen b7828ac478 Fixed wrong cast; MSDN says lpDropFileStruct->pFiles is offset in
bytes (regardless of ascii/unicode).
2002-06-02 21:23:45 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Eric Pouech 3e4381aad0 Added stub for ExtractAssociatedIconExA. 2002-05-21 18:06:07 +00:00
Stefan Leichter 7f4066a421 Added version info resource. 2002-05-19 22:22:36 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Steven Edwards fb2a70463e Fixed snprintf warnings. 2002-05-16 18:31:27 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Juergen Schmied 7919d5a178 Moving the pidl debug functions to a separate file and made them self
contained. This prevents useless trace messages generated from the
debug functions themselves.
2002-05-09 19:42:07 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Patrik Stridvall fc2be7edcc Fixed some issues found by winapi_check. 2002-04-29 18:48:56 +00:00
Bill Medland e80b028d55 The extension should not be removed from the display of folder names. 2002-04-21 22:03:55 +00:00
Bill Medland aa187527a5 Get the folder browser to work as well with W notification as A (it
seems to work reasonably).
2002-04-20 20:52:33 +00:00
Uwe Bonnes b14f63847b SIC_GetIconIndex: start DPA_Search from index 0. 2002-04-11 21:47:53 +00:00
Dusan Lacko 7647c8e9df If we can't extract the icon, defer link creation to runonce. 2002-04-08 23:49:11 +00:00
Charles Loep e9533488dc Support for hiding file extensions in IShellFolder_GetDisplayNameOf. 2002-04-03 22:56:20 +00:00
Huw D M Davies 0b8e8d10b7 Check for failure of IShellFolder_GetDisplayNameOf. 2002-04-03 22:52:52 +00:00
Aric Stewart 7ed8cee8b8 Enable ShellExecuteEx to actually open things with their helper
applications.
2002-04-03 19:57:57 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Jon Griffiths c90aa7b665 Update shell xxxAW wrapper prototypes for fixed SHLWAPI functions. 2002-03-20 01:33:39 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard 14c83358d1 Updated authors list from the Changelog. Please let me know if you
have been left out.
2002-02-28 23:00:28 +00:00
Andreas Mohr 8bc7f16caa Spelling/alignment fixes. 2002-02-27 01:34:08 +00:00
Eric Pouech 1056953e2c Fixed ShellExecute functions when ddeexec was present in registry. 2002-02-27 01:22:15 +00:00
Gerard Patel 000e7606ab HCR_GetDefaultIcon should set icon number to 0 if it's missing from
the reg entry.
2002-02-19 18:31:22 +00:00
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Rein Klazes 6748e6992c In SHFileOperation() when requested to copy files, figure out when the
destination is to be treated as a directory and handle those cases.
2002-02-15 18:20:18 +00:00
Martin Dalecki be951f359a Some artwork on the default icons. 2002-02-14 19:23:01 +00:00
Rein Klazes 0753967327 In ShellExecute16, make sure there is a space between command and
parameters.
2002-02-14 19:20:30 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Andreas Mohr 2295e87be8 Fixed some more missing parenthesis issues. 2002-02-02 18:06:03 +00:00
Gerard Patel d6c7b62f59 Added missing parenthesis in ShGetFileInfoA. 2002-01-31 21:48:38 +00:00
Patrik Stridvall 5038c04efd Fixed some issues found by winapi_check. 2002-01-31 21:47:34 +00:00
Alexandre Julliard c72a9aa83e CodeWeavers
Minor fixes.
2002-01-31 21:05:05 +00:00
Alexandre Julliard e1ff66a814 Authors: Aric Stewart <aric@codeweavers.com>, Huw D M Davies <hdavies@codeweavers.com>
Added stubs for CheckEscapes[AW] and ExtractAssociatedIconExW.
2002-01-29 18:21:20 +00:00
Eric Kohl e4d4f2d59f Added location of local application data. 2002-01-29 18:19:59 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Alexandre Julliard 18f4d651c5 Removed use of SET_DEBUGGING, it's broken anyway. 2002-01-22 00:54:20 +00:00
Francois Gouget 7aa67c1d6a Make the Wine trace facilities accessible from Winelib applications. 2002-01-21 23:39:36 +00:00
Patrik Stridvall 9ff202e65c Fixed some issues found by winapi_check. 2002-01-18 18:57:43 +00:00
Huw D M Davies da70148afb IShellFolder_BindToObject should respect riid. 2002-01-14 18:35:44 +00:00
Patrik Stridvall 19d66cc1f6 Fixed some issues found by winapi_check. 2002-01-07 21:16:46 +00:00
Ove Kaaven edb8bdb555 Handle the lpDirectory field of the LPSHELLEXECUTEINFO. 2002-01-03 02:33:51 +00:00
Andreas Mohr 6924967539 Fixed, added or implemented stubs:
- DrawMenuBarTemp(): corrected parameter count.
- CallCPLEntry16(): stub.
- SetSysColorsTemp(): fully implemented (hopefully) this undocumented
  function.
2001-12-26 20:34:12 +00:00
Jon Griffiths 603f20fc0e Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Patrik Stridvall ae1c12c4cd Documentation fixes. 2001-11-20 18:55:39 +00:00
Guy Albertelli aafec98803 - Define rest of URL_ESCAPE... and other flags.
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
Francois Gouget 996028be15 Rename SIC_CompareEntrys to SIC_CompareEntries, and make it static. 2001-11-06 00:45:32 +00:00
Guy Albertelli 887c2b3b56 - Indicate that StrRetToStrN{A|W} and StrRetToBuf{A|W} are identical
code but duplicated deliberately.
- Implement StrRChrI{A|W}.
2001-11-05 23:55:36 +00:00
Aric Stewart 850c9dd6bd Add handling for LVN_GETDISPINFOW. 2001-10-25 19:33:25 +00:00
Aric Stewart 3ae80eb2e5 Fixed the behavior for SHGetFileInfo when the SHGFI_USEFILEATTRIBUTES
flag is set. Corrects the given type and icon.
2001-10-23 00:25:15 +00:00
Kai Morich 3ed8cc5769 InternalExtractIcon16 forgot to close file handle. 2001-10-15 17:50:21 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Francois Gouget b60c4ce0f0 Don't print NULL strings (crashes on Solaris).
Small code maintainability tweak in ShellExecuteExA.
Two typo fixes in winmm.
2001-10-14 16:15:05 +00:00
Francois Gouget 0136b813ad Allocate the array and strings in one lump (bug found by Malte
Starostik).
Same thing for the lpCmdline="" case.
There is no NULL pointer at the end of the argv list.
2001-10-10 20:25:59 +00:00
Chris Green 151fdd7c82 Added names of the "missing" paths for SHGetSpecialFolderPathA. 2001-10-10 02:48:29 +00:00
Guy Albertelli 5a538105d1 Fix SHAddToRecentDocs code to properly handle native Comctl32 and
missing policies location.
2001-10-03 18:42:16 +00:00
Guy Albertelli 60b59bef9f Implemented dummy stub for SHChangeNotifyUpdateEntryList and
functional CIDLData_CreateFromIDArray.
2001-10-02 17:25:36 +00:00
Eric Pouech c766ea7b5c Should initialize COM before calling it. 2001-10-01 20:51:44 +00:00
Guy Albertelli db1a09d6fa Implement initial version of SHAddToRecentDocs. 2001-09-21 21:39:06 +00:00
Guy L. Albertelli f78858334a Get more entry points from Comctl32 and save the addresses. 2001-09-20 19:32:13 +00:00
Francois Gouget 5ee3879ce0 Fix the conversions of a command line to/from an argv array. 2001-09-20 19:05:11 +00:00
Guy Albertelli 607c810ac2 Fix problem comparing pidls and return correct code. 2001-09-19 22:26:53 +00:00
Alexandre Julliard 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34:17 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Patrik Stridvall 72d41524c8 Documentation fixes. 2001-09-10 23:16:31 +00:00
Huw D M Davies 6a3ae04c67 Add SHGetSpecialFolderPathW to spec file. 2001-09-07 18:37:49 +00:00
Guy Albertelli e100866c88 Replace calls to StrRetToBuf{A|W} with duplicate code to eliminate
problems between native and built-in DLLs.
2001-09-07 15:24:25 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Uwe Bonnes 97ac961214 PathGetExtensionAW has three arguments. 2001-08-15 23:20:21 +00:00
Dusan Lacko 1a74b2abd6 Fix ExtractFromEXEDLL for nIndex != 0.
Prefer 8bit icons.
2001-08-10 22:29:48 +00:00
Alexandre Julliard fa7ae72060 Fixed loop termination check in PathIsExeW. 2001-08-08 23:24:15 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Patrik Stridvall 4b1574577d - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-23 23:50:18 +00:00
Alexandre Julliard ef06b4a694 Got rid of HEAP_strdupW. 2001-07-22 23:08:10 +00:00
Patrik Stridvall bc38d6bfde - Made sure that the files that contains the declarations
of the implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-20 18:00:00 +00:00
Patrik Stridvall a5f510f35c Removed unused file. 2001-07-19 19:17:30 +00:00
Francois Gouget f8142d3fa5 Added missing CommandLineToArgvW prototype. 2001-07-17 00:39:58 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Jau-Horng Chen 8a820bc51a Added Traditional Chinese Support
Fixed sublang font size error when not using fixed-size font.
2001-06-25 21:01:00 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Marcus Meissner 657d9f9ca8 The shell special folder path creation did not mkdir the last
component of the path if it did not end with \.
2001-05-18 20:58:57 +00:00
Marcus Meissner 3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Dmitry Timoshkov 45109f9243 Replace "System" font by "Helv" in shell32 "About" dialog. 2001-04-16 18:58:30 +00:00
Eric Kohl 76df432757 SHGetSpecialFolderPathA must be able to create a full path if it
doesn't exist.
2001-03-19 19:14:00 +00:00
James Juran a83173ce87 Implement SHGetFileInfoW by calling SHGetFileInfoA. 2001-03-10 19:14:30 +00:00
Gerard Patel a9c889055b Handle empty strings and invalid values in lpstrInitialDir for 32 bits
open file dialogs.
2001-03-10 19:13:59 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
David Grant f063d0432f Added (partial) support for FO_COPY and FO_DELETE. 2001-02-26 22:31:38 +00:00
Eric Pouech 92b23186ae A first stab at implementing the RunDll features. 2001-02-23 01:12:26 +00:00
Chris Morgan e187b3ff46 Confirm file deletes. Make delete confirmation messages more
consistent. Improve trace messages on delete failure.
2001-02-21 04:01:20 +00:00
Chris Morgan 0cd448c4f4 Add shell support for deleting files using the Delete key. 2001-02-21 04:01:03 +00:00
Marcus Meissner 80487eecf3 Fixed German translation, changed dialog font to Helvetica. 2001-02-20 00:47:09 +00:00
Andreas Mohr dacdb9c4c6 Cosmetics. 2001-02-14 00:29:16 +00:00
Chris Morgan 6f8f771e01 Implement keyboard shortcut F2 to rename files and directories in the
shellview (and in common dialogs).
2001-02-13 02:20:35 +00:00
Francois Gouget ea1ea06fda Remove TOOLBAR_ID and WM_SETTINGCHANGE, they are not used. 2001-02-12 19:18:13 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Francois Gouget 3fb4cf70a7 Fix typos in comments. 2001-02-12 03:48:24 +00:00
James Abbatiello 0da6d5e614 Implement IShellLink<A|W>_fnGetWorkingDirectory,
IShellLink<A|W>_fnGetArguments, IShellLink<A|W>_fnGetIconLocation.
2001-02-12 01:17:39 +00:00
Andreas Mohr c9cf70d448 Some more cleanups. 2001-01-26 20:40:50 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00
Andreas Mohr 0005e81fe1 Implemented SHELL32.IsNetDrive and SHELL32.ILSaveToStream needed for
IE 5.
2001-01-18 23:04:19 +00:00
Alexandre Julliard 556d8b5ecb Replaced some GetProcAddress() imports by the standard dll import
mechanism.
2001-01-17 22:05:24 +00:00
Alexandre Julliard 0618746265 Cleaned up dll startup routines now that we have separate address
spaces.
2001-01-17 22:03:18 +00:00
Jeremy White a6166e174e Revised shell link process to treat empty (e.g. "") strings
identically to NULL strings. Makes many more installers take useful
action. Added many trace messages.
2001-01-17 01:48:52 +00:00
Huw D M Davies 62519abbaf Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h.  Nothing but files in dlls/shell32 will now include
undocshell.h.
2001-01-07 21:50:52 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00
Patrik Stridvall 00b86a9b04 Fixed some issues found by winapi_check. 2000-12-16 21:55:05 +00:00
Francois Gouget 8a5de1c92f Removed the name of APIs exported by ordinal. 2000-12-14 19:25:13 +00:00
Andreas Mohr 2c5efe31c0 SHGetMalloc must use MEMCTX_TASK, otherwise CoGetMalloc will
badly fail with E_INVALIDARG in case native OLE32 is used.
2000-12-13 21:29:35 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Andreas Mohr 4dc1892a06 Move all values of SHGetSpecialFolderPathA into an array, add some
other registry locations and improve the number of supported CSIDLs.
2000-12-13 01:49:04 +00:00
Alexandre Julliard bf67259a41 Use the DRIVE_* API constants instead of the DRIVETYPE enum.
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Andreas Mohr 1081dfee33 Fixed MessageBox() usage. 2000-12-09 03:06:54 +00:00
Alexandre Julliard 5be8e7d8e0 Created a small static library in ole/libuuid.a that contains all the
UUID definitions (with the help of Francois Gouget).
2000-12-06 01:50:47 +00:00
Alexandre Julliard e2222fd8ff Use libwine and libwine_unicode directly from their build directory
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00