Commit graph

991 commits

Author SHA1 Message Date
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
Alexandre Julliard
0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Steve Lustbader
3bdfc9f662 Fix off-by-one error in determining number of arguments. 2002-10-15 02:17:55 +00:00
Alexandre Julliard
8aab09e5d8 Avoid calling FindExecutable16. 2002-10-10 23:29:21 +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
Alexandre Julliard
5cf56a3afe Removed LPxxx handle types that don't exist under Windows. 2002-10-03 19:46:27 +00:00
Jeff Smith
a3763b9bc8 PathIsExe: corrected and added executable types. 2002-09-30 19:01:20 +00:00