Commit Graph

221 Commits

Author SHA1 Message Date
Francois Gouget d2daa384e9 shell32/tests: Hack SHGetFileInfo() so it does not crash and add a test for it. 2007-01-08 12:06:21 +01:00
Hans Leidekker 3558cdb8d5 shell32: Add a stub implementation for SHLoadNonloadedIconOverlayIdentifiers. 2006-12-11 17:05:38 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Aric Stewart 418d093325 shell32: ABM_NEW was using parameters that are not set. 2006-10-30 20:09:24 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
James Hawkins 7b89ff88e8 janitorial: Remove redundant NULL checks before SHFree. 2006-10-07 17:52:59 +02:00
Andrew Talbot 27a06a5d75 shell32: Cast-qual warnings fix. 2006-09-29 14:59:55 +02:00
Alexandre Julliard 13574d919d Updated the AUTHORS list and converted it to utf-8. 2006-06-21 14:59:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman f689e3fca4 shell32: Move systray handling to the explorer process. 2006-02-22 16:33:33 +01:00
Vitaliy Margolen a5074584a8 shell32: Fix cut & paste error. 2006-01-14 17:06:03 +01:00
Martin Fuchs 7114f8c3bd shell32: Fix folder icon index when read from registry.
Change "DWORD dwNr" into "int icon_idx" at several places.
2006-01-11 12:33:24 +01:00
Martin Fuchs d3521da667 SHGetFileInfoW(): handle SHGFI_LINKOVERLAY and SHGFI_OVERLAYINDEX.
SHMapPIDLToSystemImageListIndex(): determine overlay flag for
PidlToSicIndex() and return -1 in error cases.
Read shell overlay icon settings from registry to allow icon
overrides.
2005-11-21 13:35:06 +00:00
Kevin Koltzau 95a173a52b Fix warnings in 64bit. 2005-09-02 11:32:17 +00:00
Michael Jung da953161fd Clone pidlLast before free'ing pidl after call to SHBindToParent. 2005-08-29 21:46:02 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Detlef Riekenberg a7a6927d9b Printers_RegisterWindowW / Printers_UnregisterWindow implemented as
stub.
Show the FIXME in Printer_LoadIconsW only when needed.
2005-07-11 18:02:20 +00:00
Detlef Riekenberg b6b4787e95 Printer_LoadIconsW: implemented minimal version. 2005-07-05 20:59:35 +00:00
Robert Shearman d5714dfc50 Implement ShellDDEInit. 2005-06-30 20:45:57 +00:00
Ge van Geldorp 40cb98269b Overlay icons for .lnk files with a small arrow in the lower left
corner.
2005-05-13 17:48:33 +00:00
Mike McCormack 1ae212a105 Split SHGetFileInfoW into two functions. 2005-05-12 09:56:48 +00:00
Huw Davies 861282bf28 Fix the icon resource ids (most were off by one).
Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource
ids and fix bugs relating to confusion between resource ids and the
system imagelist indicies.
Extend the system imagelist initialization hack to load both +ve and
-ve resource ids.
Add a printer icon (that'll be used by an upcoming printer folder
patch).
2005-04-11 13:04:41 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Hans Leidekker 2294e30dd4 - Revert wrong -noname markup for Drag*, DoEnvironmentSubst and
SHGetNewLinkInfo{A,W}.
- Also mark stub exports -noname when they are exported by ordinal
  only on win98/2k.
- Implementation level stubs for SheChangeDirA, SheGetDirA,
  SHHelpShortcuts_RunDLL{A,W}.
- New spec file stubs for Control_RunDLLAsUserW,
  FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume,
  SHCreateProcessAsUserW, SHExtractIconsW,
  SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline,
  SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W},
  ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}.
2005-02-21 18:37:33 +00:00
Mike McCormack af882e0e41 Reindent some code to improve readability. 2005-02-15 20:45:53 +00:00
Mike McCormack a830bf55ca Define some extra SHFGI values. 2005-02-15 15:43:54 +00:00
Jacek Caban 76d4edf1f0 Get rid of W->A call. 2005-01-03 14:39:08 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Alexandre Julliard 758b2887e9 Remove some no longer needed AW functions. 2004-12-17 19:20:07 +00:00
Klemens Friedl 586930973d More Windows-like About dialog. 2004-12-09 11:39:31 +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
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Robert Shearman c6516740af Share version information between DllGetVersion and resource file. 2004-09-22 04:00:43 +00:00
Juan Lang a78b4981ca Added support for DLLVERSIONINFO2 in DllGetVersion. 2004-09-14 17:44:40 +00:00
Jon Griffiths 5f2e8b7f46 Delete the about dialog font when the dialog is closed. 2004-08-09 22:56:58 +00:00
Ge van Geldorp c390bb2aea Match prototypes to Platform SDK. 2004-06-28 20:32:53 +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
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +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
Mike McCormack 7b597d4c20 Unicode-ify the icon cache and SHGetFileInfo. 2004-03-22 20:43:07 +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 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
Dimitrie O. Paun 3e54350dc2 {Global,Local}ReAlloc() does not allocate memory. 2003-11-26 05:04:15 +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
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
Pavel Roskin b079de35ce Make it possible to close the "About Wine" dialog by pressing Escape. 2003-10-01 03:04:51 +00:00
Alexandre Julliard f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +00:00
Rolf Kalbermatter 9c74339c32 Signed/unsigned warnings and some formatting. 2003-09-15 22:13:40 +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 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
Martin Fuchs 63fecde98b Declare LPCITEMIDLIST as 'const' pointer and adjust shell32
implementation to the corrected type.
2003-09-02 01:01:06 +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
Jason Edmeades e5aabc6eeb SHGetFileInfo should tolerate null pointers. 2003-06-21 02:01:57 +00:00
Huw Davies 663dbc963f Pass correct pointer to CoCreateInstance in SHLoadInProc. 2003-05-13 22:19:01 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Vitaliy Margolen 34ef9824df - make SHGetFileInfo handle relative paths
- fix requests for large icons
2003-03-16 23:51:02 +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
Rolf Kalbermatter caf31cee32 Added Unicode versions of the HCR_ internal functions. 2002-12-13 23:45:36 +00:00
Rolf Kalbermatter bc5d5d6b3b Fix shell32.ExtractIcon with A->W and 16 -> 32 calls. 2002-12-12 02:17:13 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +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
Alberto Massari d7e284781e - Fixed typo in SHGetFileInfoA.
- Properly convert return values back to Unicode in SHGetFileInfoW.
2002-11-01 01:45:37 +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
Carlos d529402734 The function SHGetFileInfoA wasn't supporting the flag
SHGFI_USEFILEATTRIBUTES.
2002-10-28 18:47:15 +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
Steve Lustbader 3bdfc9f662 Fix off-by-one error in determining number of arguments. 2002-10-15 02:17:55 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Michael Stefaniuc 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Andriy Palamarchuk 9f7c51d02e Do not set window position on ABM_WINDOWPOSCHANGED. 2002-08-17 00:21:06 +00:00
Alexandre Julliard fb2eca812d Import comctl32 functions from shell32 by ordinal.
Removed some unnecessary ordinals in comctl32.spec.
2002-07-29 00:24:58 +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
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
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Eric Pouech 1056953e2c Fixed ShellExecute functions when ddeexec was present in registry. 2002-02-27 01:22:15 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Gerard Patel d6c7b62f59 Added missing parenthesis in ShGetFileInfoA. 2002-01-31 21:48:38 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +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
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
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
Guy Albertelli 5a538105d1 Fix SHAddToRecentDocs code to properly handle native Comctl32 and
missing policies location.
2001-10-03 18:42:16 +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
Alexandre Julliard 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34: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 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
Francois Gouget f8142d3fa5 Added missing CommandLineToArgvW prototype. 2001-07-17 00:39:58 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +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
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
James Juran a83173ce87 Implement SHGetFileInfoW by calling SHGetFileInfoA. 2001-03-10 19:14:30 +00:00
Eric Pouech 92b23186ae A first stab at implementing the RunDll features. 2001-02-23 01:12:26 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00