Commit Graph

829 Commits

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