Commit Graph

760 Commits

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