Commit Graph

300 Commits

Author SHA1 Message Date
Thuy Nguyen 71b327f13e It is possible for a stream to have both small block and big block
chain as NULL.
1999-07-10 10:13:50 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Marcus Meissner 6230a87fb8 Check for complete lcid or just the primary language id in the
registry lookups (fixes one FirstClassClient 32 problem).
1999-07-04 12:47:53 +00:00
Marcus Meissner a8c54fb8af OleMetaFilePictFromIconAndLabel16: slightly broken, use LPOLESTR16. 1999-06-27 15:27:22 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Andreas Mohr 102e1f46e2 Kind of implemented OleMetaFilePictFromIconAndLabel. 1999-06-26 10:28:53 +00:00
Alexander Kanavin f26c89e83a Standard dialog boxes resources and OLE strings are now in cp1251 encoding
Font mapper does not anymore use fonts in -koi8-r encoding
Font mapper now recognises fonts in -windows-* encodings (these are
provided by xfstt TrueType server)
Font mapper now sees max 16384 fonts (was 2048)
1999-06-22 19:14:40 +00:00
Andreas Mohr 1597d735ef Added COMPOBJ.DllEntryPoint (Acrobat3 16bit needs it). 1999-06-22 19:10:52 +00:00
Eric Pouech 13a30bace7 Thou shalt not use C++ comments. 1999-06-22 19:09:55 +00:00
Pablo Saratxaga 66f53a8a8b Walloon language update. 1999-06-18 17:05:55 +00:00
Francis Beaudet 98231044e3 Fixed a problem with the LoadTypeLib method. 1999-06-12 08:20:30 +00:00
Marcus Meissner c137ba6ee2 Fixed TLB_Read (can easily get count!=bytesread at the end of the file).
Fixed TLB_FindTlb (strstr on binary data will not work).
1999-06-07 17:41:37 +00:00
Paul Quinn aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Rein Klazes 713462dfc4 Read/load type libraries. Implementation of ITypeLib, ITYpeInfo,
ITypeLib2 and ITypeInfo2 methods.
1999-06-05 12:00:13 +00:00
Rein Klazes 3e9608df2a Allow NULL as argument to SysFreeString in accordance with SDK. 1999-06-05 11:53:33 +00:00
Paul Quinn 2305f3c06d Microsoft com vtable compatibility workaround for g++. Basically adds
an optional 8 bytes padding to COM objects where the RTTI would be.
1999-05-22 11:41:38 +00:00
Francis Beaudet 9c8198742b Bug fix. 1999-05-12 10:36:17 +00:00
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Francis Beaudet 809abaab19 Second part of the OLE datacache implementation. 1999-05-08 10:55:32 +00:00
Thuy Nguyen 115d8ccaab Implemented GetHGlobalFromStream. 1999-05-08 10:48:44 +00:00
Thuy Nguyen ed1d88b610 Implementation of IStorage supported by an implementation of
ILockBytes on top of an HGLOBAL.
1999-05-08 10:05:08 +00:00
Thuy Nguyen ad7e9c4cef Implemented OleTranslateColor. 1999-05-08 09:37:59 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Francis Beaudet ec2edc7ee4 Fixed a few bugs in the OLE storage implementation, added a new set of
trace statements for the OLE storage related methods and introduced a
new debug channel for the storage subsystem.
1999-05-02 11:41:10 +00:00
Francis Beaudet ebdea25edc Implemented the OLE object default handler and data cache. 1999-05-02 09:27:08 +00:00
Thuy Nguyen 89fd2dd1e8 Implemented CreateILockBytesOnHGloba, GetHGlobalFromILockBytes and
the ILockBytes interface based on an HGLOBAL.
1999-05-01 10:36:07 +00:00
Francis Beaudet c40ad9bb2b Fixed a bug in CoRegisterClassObject. 1999-05-01 10:32:32 +00:00
Francis Beaudet 6ee9a5e718 Fixed a little Drag and Drop bug. 1999-05-01 10:10:30 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Francis Beaudet 4f8b5a85c4 Implemented CreateStreamOnHGLOBAL. 1999-04-24 12:00:31 +00:00
Andreas Mohr 5c385be532 Let CoSetState() accept state == NULL. 1999-04-24 11:57:30 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Francis Beaudet 9bf93c6e19 Added a check for a NULL pointer in CoFreeUnusedLibraries. 1999-04-22 09:10:16 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Michael Veksler d785aa646f Simplify propertyNameCmp() and fix a warning in the way by removing
CRTDLL__wcsupr() calls.
1999-04-18 09:30:07 +00:00
Pablo Saratxaga 002106ac22 Added walon language support (I also moved Cz -> Cs, Sw -> Sv, and Po
-> Pt; to conform to standard names for those languages).
1999-04-16 09:06:58 +00:00
Stephane Lussier 07e242f4a3 Implementation of IStorage::CopyTo and IStream::CopyTo. 1999-04-15 15:47:48 +00:00
Michael Veksler 2ff8485bf9 Fix IStorage16_fnStat() to use STATSTG16 (it is a 16 bit interface). 1999-04-11 12:10:49 +00:00
Francis Beaudet 0c12f37afd Implemented the CoCreateInstanceEx method. 1999-04-11 12:01:08 +00:00
Francois Gouget bb31223c6f - use the latest ICOM macros
- moved the IDirectPlayLobby interface to dplobby.h
- removed all the implementation aspects since they need to be
separate
1999-04-11 11:53:20 +00:00
Juergen Schmied 43b667ceb7 Corrected debug output. 1999-04-10 16:52:22 +00:00
Juergen Schmied d3045145d0 New interfaces for IOleCommandTarget, IDropTarget, IViewObject.
Small change how to get icons for listview.
1999-04-10 16:44:50 +00:00
Marcus Meissner 9819f2b72c EnumCalendarInfoA stub. 1999-04-04 12:36:29 +00:00
Noel Borthwick 0aef461def Implementation for OleCreateMenuDescriptor, OleSetMenuDescriptor and
OleDestroyMenuDescriptor along with a bunch of internally used methods
and data structures.
1999-04-01 11:48:01 +00:00
Adrian Thurston 5a09711873 initguid.h should only contain the macro that defines the guids.
Added olectl.h to guid.c so some needed guids get defined.
Made GUID_NULL an actual guid set to 0,0,0...
1999-04-01 11:47:09 +00:00
Alexandre Julliard b981081170 Apparently no longer needed. 1999-03-28 15:11:31 +00:00
Alexandre Julliard f80b2ab669 Authors: Paul Quinn <paulq@corel.ca>, Aaron Barnes <aaronb@corel.ca>, Adrian Thurston <adriant@corel.ca>
Bundle of new stubs.
1999-03-28 13:15:40 +00:00
Andreas Mohr faa05bd20d Added missing WINAPIs. 1999-03-28 13:13:03 +00:00
David Luyer cb40df2749 Changed "strings.h" to "string.h". 1999-03-25 15:52:09 +00:00
Noomen Hamza ed494ec539 Implemented:
- IMoniker interface for FileMoniker,ItemMoniker,AntiMoniker and
  GenericCompositeMoniker
- IRunningObjectTable interface, and
- IBindCtx interface.
1999-03-23 13:48:56 +00:00
Stephane Lussier 7451774496 Set type of destination variant in VariantChangeTypeEx function. 1999-03-19 16:44:32 +00:00
Marcus Meissner 6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Thuy Nguyen a841fec257 Return error if not a valid OLE compound file. 1999-03-17 15:11:27 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Paul Quinn 89b21b4c28 Many new defines, and structs to help compile MFC. As well as a few
OLE corrections from earlier.
1999-03-14 13:47:00 +00:00
Juergen Schmied a3b7a40f56 - IShellFolder and IEnumIDList are using the new COM headers
- fixed sort order for folders and drives
1999-03-14 12:16:21 +00:00
Francois Gouget dfc0f5ec8d Fixes in the SysAllocString functions prototypes. It's mostly 'const'
problems that prevent regular code from compiling.
1999-03-13 18:13:10 +00:00
Francis Beaudet d58f61c0df Implemented the IPersistStream interface on the OLE font object. 1999-03-13 17:59:07 +00:00
Pavel Roskin cbb9549687 Added prototypes for OleQueryLinkFromClip, OleQueryCreateFromClip,
OleCreateLinkFromClip, OleCreateFromClip, OleQueryType,
OleRevertClientDoc, OleEnumObjects.
1999-03-13 12:51:19 +00:00
Thuy Nguyen 25ec82c133 StgCreateDocfile accepts NULL as a file name. 1999-03-13 12:48:27 +00:00
Thuy Nguyen 454ed9f0ba Improved performance. 1999-03-12 17:06:46 +00:00
Stephane Lussier 986de4b12a Implemented DosDateTimeToVariant() and SysAllocStringByteLen() functions. 1999-03-12 17:02:32 +00:00
Paul Quinn ea1640fc0c Added a lot of new OLE interfaces. 1999-03-10 18:03:53 +00:00
Alexander Kanavin 91d72b9964 Added support for Russian language. 1999-03-10 18:01:35 +00:00
Francis Beaudet 9484481c84 Fixed a reference-counting problem in the external lock mechanism. 1999-03-10 13:56:43 +00:00
Francis Beaudet 66e3a85586 Fixed index calculations of the upper and lower bounds of a safearray.
Fixed a wrong initialization of the VT sizes array.
1999-03-10 13:25:27 +00:00
Francis Beaudet e4828b6ba6 Implementation of the ReleaseStgMedium method. 1999-03-10 13:24:39 +00:00
Thuy Nguyen 0445eb8b7e Smarter way of searching for a free block. 1999-03-09 17:40:00 +00:00
Marcus Meissner de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00
Marcus Meissner 064f170f76 More include optimisations and fixes. 1999-02-28 19:14:33 +00:00
David Luyer ee517e863e - fixed missing stdlib.h and string.h includes everywhere
- removed a couple of unneeded stdlib.h and stdio.h includes
1999-02-28 12:27:56 +00:00
Klaas van Gend c2bae1c4a5 Now compliant to the Dutch standards. 1999-02-28 11:09:34 +00:00
Francis Beaudet bc5477f7d2 Implemented support for arrays and safe arrays in VARIANT data
structures. Also moved the SAFEARRAY definition (yet again) to the
obj_oleaut.h file.
1999-02-28 10:07:12 +00:00
Francis Beaudet 07478c2e3e Implemented the CoTaskMemRealloc API. Also clean-up around that API
call.
1999-02-28 09:57:40 +00:00
Thuy Nguyen b67b8e7a84 Added a missing Release.
STGM_CREATE should translate to CREATE_ALWAYS.
1999-02-28 09:55:46 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Paul Quinn 40d9d3d039 Many interface declarations that originated from oleidl.h, oaidl.h and
ocidl.h separated into somewhat relevant obj_* files.
1999-02-25 17:10:15 +00:00
Michael Veksler 249d14ba29 Fixed warning and compilation errors. 1999-02-25 16:39:16 +00:00
Marcus Meissner 219cfd8387 Optimized away more includes, readded some #includes for necessary
prototypes.
1999-02-24 13:05:13 +00:00
Thuy Nguyen 582cf8f6f4 Fixed a bug. 1999-02-24 10:52:26 +00:00
Thuy Nguyen 6d2e1735f9 Added support for larger files. 1999-02-24 10:36:34 +00:00
Sylvain St.Germain b0191cc642 Fix COM_ExternalLockFreeList to do not fail with an empty list. 1999-02-24 09:42:30 +00:00
Marcus Meissner a7f878519a Added missing WINAPIs. 1999-02-21 18:16:08 +00:00
Francis Beaudet eb5a29b6ce Implemented the OleCreateFontIndirect method and the associated COM
object. That object supports the IFont and IDispatch interfaces.
1999-02-20 16:48:53 +00:00
Francis Beaudet 1921ef213a Added some new stubs for the OLE menu descriptor methods. 1999-02-20 16:05:50 +00:00
Juergen Schmied 3426d85319 - made the security functions consistent. advapi calls down to ntdll now
- new SetSecurityDescriptorGroup,  SetSecurityDescriptorOwner,
  SetSecurityDescriptorSacl, GetSecurityDescriptorDacl
- nt-header cleanup
1999-02-19 16:29:05 +00:00
Francois Gouget 025464634a Small fixes. 1999-02-19 10:00:54 +00:00
Thuy Nguyen 7935aeff74 Fixed bug with read-only files. 1999-02-18 15:55:53 +00:00
Francois Gouget b0c61294ba Modified so that they do not use the VTABLE_FUNC macros that performed
casts of all methods put in the jump table. I find it too risky to use
such macros because nothing guarantees that you actually put the right
method at the right place or that the prototype is right.
1999-02-18 13:26:22 +00:00
Francois Gouget d04d2f1474 Updated to use the latest COM macros. Defined more interfaces and API
functions.
1999-02-18 10:59:20 +00:00
Francois Gouget 87e385fc6b Moved some definitions to their proper include file. 1999-02-17 17:45:54 +00:00
Francois Gouget 452db3f18a Changed ICOM_THIS definition. 1999-02-17 15:57:24 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Juergen Schmied 4a1dbaf602 Implementation of ConvertDefaultLocale32. 1999-02-14 09:22:12 +00:00
Francois Gouget b4c726e21b All guid 'REFxxx' types already have a 'const' inside them. 1999-02-13 17:49:45 +00:00
Thuy Nguyen 251c9dfda2 - Fixed a small block depot bug.
- Implemented converting from small blocks to big blocks.
- Validated file attributes and flags.
- Fixed a bug for larger files.
1999-02-13 12:10:15 +00:00
Francis Beaudet 3f7ad7aa98 Implemented the OLE Drag and Drop target registration mechanism and
the DoDragDrop loop to perform the DnD operation.
1999-02-13 09:13:49 +00:00
Sylvain St.Germain 42d1255857 Implementation of a simple linked list (static) that stores and counts
references to COM objects.
1999-02-13 08:59:48 +00:00
Klaas van Gend 4a8639cc4b Added support for the Dutch language. 1999-02-11 16:32:16 +00:00
Francois Gouget 20570b1738 IsEqualGUID is defined in 'include/wine/obj_base.h'. All other
declarations must surrender or prepare to be met with deadly force :-)
1999-02-11 13:05:22 +00:00
Francois Gouget 93217c6056 Better set of macros for defining the COM interfaces. 1999-02-10 06:42:03 +00:00
Michael Veksler f935c59787 Added missing includes to avoid warnings/errors. 1999-02-09 15:49:39 +00:00
Marcus Meissner c80f32458a Include objbase.h for CoTaskMem* prototypes (or we get WINAPI
problems).
1999-02-05 09:28:51 +00:00
Marcus Meissner 0b64c85799 Added missing ULONG to static const OFFSET_xx. 1999-02-05 09:21:51 +00:00
Francois Gouget a94d649f76 Replaced references to interfaces.h by wine/obj_xxx.h headers instead
since these headers already provide the necessary definitions.
1999-02-02 16:14:23 +00:00
Jan D 6563cc8a23 Added definition for LOCALE_SGROUPING, LOCALE_SMONGROUPING and
LOCALE_IINTLCURRDIGITS.
1999-02-02 10:35:55 +00:00
Pascal Cuoq 2e4e8c6244 LCMapString32A: Implemented flags NORM_IGNORENONSPACE and
NORM_IGNORESYMBOLS in string mapping mode.
1999-01-31 10:02:30 +00:00
Francis Beaudet f56d029f96 Implemented the startup-shutdown mechanism for the COM subsystem.
Implemented the Class object registration mechanism.
1999-01-30 13:36:55 +00:00
Francis Beaudet d92b9475a9 Added an implementation of the OLE structured storage. The main
features of this implementation are:
- Can open storages created in Windows.
- Can create new storages that the windows libraries can
  read.
- Provides all the functionality to create/open/remove and
  rename streams and storages inside the main storage object.
1999-01-30 13:24:23 +00:00
Marcus Meissner 32b32d8f3d Updated msvideo. New program 'icinfo [-about] [-configure]' to
query installed (win32) compressors. Started on AVIFILE support.
1999-01-29 15:12:10 +00:00
Noomen Hamza 3fb3da29a1 Added a stub implementation for FileMoniker, ItemMoniker and BindCtx
classes.
1999-01-28 17:56:14 +00:00
Sylvain St.Germain 4fcd6d0fb1 Implementation of the SafeArray family functions. 1999-01-24 18:52:55 +00:00
Guy Albertelli f7e185d2ae Fixed FIXME in EnumTimeFormats32W
Added support for FONTSIGNATURE in GetLocaleInfo32A and updated
GetLocaleInfo32W.
1999-01-24 09:49:23 +00:00
Juergen Schmied 7b33e2b91c Moved the instance creation of GUID's to a new file.
Size of compobj.o goes down to 1/3; should prevent more sig11's.
1999-01-23 14:06:44 +00:00
Sylvain St.Germain 18aacf15cc DoDragDrop and OleIsCurrentClipboard stub implementation. 1999-01-23 11:54:12 +00:00
Francis Beaudet 4f85ca442c Make LoadTypeLib stub return failure instead of success. 1999-01-23 11:53:21 +00:00
Marcus Meissner af88f578ab LCMapStringA: if dstlen is insufficient, return
ERROR_INSUFFICIENT_BUFFER (verified).
1999-01-20 14:13:02 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Alexandre Julliard 0562539d18 Implemented file sharing checks in the server.
Added set file time server request.
Overall clean up of the file handling (DOS device handling is now
broken, should be redone).
1999-01-03 11:55:56 +00:00
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
Marcus Meissner ae3921d6ab Another // comment fixed. 1999-01-01 18:43:12 +00:00
Juergen Schmied 69f2ea69f5 Fixed tons of incomplete prototypes, assignment's of pointer with
different signedness, superflous ',' and ';' in structures, wrong
return-types, lose of digits and some small glitches.
1998-12-26 19:44:13 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +00:00
Jean-Claude Cote 9c7c8a4a36 Added VarDateFromStr API. 1998-12-24 16:59:17 +00:00
Marcus Meissner 12af849108 IStorage32 vtable was missing 3 stub entries. 1998-12-24 14:24:48 +00:00
François Gouget d604eb12ff First step to make it possible to call COM interfaces from C++ code in
Winelib.
1998-12-18 16:00:03 +00:00
Todd Vierling 7f57325fbc Undefined CHAR_MAX and CHAR_MIN (#defined by NetBSD's system headers).
Fixed some constants that are too big for a plain `int'.
1998-12-15 15:15:16 +00:00
Marcus Meissner ae8b10b96a Check for MAXFLOAT if FLT_MAX isn't there. 1998-12-15 13:01:21 +00:00
Huw D M Davies 73a6b2fc31 Hack OLE_GetFormat* to return something if datelen = 0.
Remove unnecessary WINAPI's.
1998-12-14 12:50:03 +00:00
Justin Bradford bc93bc833e Most of the currency variant conversion functions implemented.
Minor bugfixes and header tidying.
1998-12-11 14:02:16 +00:00
Marcus Meissner 720cab6696 Two debug messages clarified, one useless prototype removed. 1998-12-11 10:50:44 +00:00
Marcus Meissner e00d7d96c2 294 missing WINAPI added. 1998-12-11 10:40:43 +00:00
Juergen Schmied a975da05da Fixed SetLastError with wrong value. 1998-12-11 10:19:51 +00:00
Andreas Mohr 7a6228d1e1 Fixed a bunch of compiler warnings. 1998-12-11 09:16:48 +00:00
Jean-Claude Cote b00cbeadb8 Added implementation of the VARIANT APIs. 1998-12-10 10:00:38 +00:00
Marcus Meissner d5e7c7927c Some unnecessary #include and messages removed. 1998-12-09 11:06:00 +00:00
Uwe Bonnes b741528f4e Some small corrections to EnumSystemLocales32AW 1998-12-09 11:02:16 +00:00
Marcus Meissner 6dd19961c5 Bugfix: second RegOpenKey should use CLSIDkey instead of HKEY_CLASSES_ROOT. 1998-11-30 10:33:17 +00:00
Ulrich Weigand f76dac45b3 Bugfix: Do *not* zero out output buffer in GetNumberFormat32[AW]. 1998-11-26 14:51:57 +00:00
Pablo Saratxaga e520e212ae Small fixes. 1998-11-25 18:15:53 +00:00
Francis Beaudet f1779ed51d Implemented 3 methods: SysAllocStringLen(), SysReAllocStringLen()
and SysStringLen(). Ensure that the BSTR objects were allocated
according to the Windows documentation.
1998-11-25 17:20:36 +00:00
Eric Kohl f9d92882f0 Added IOleAdviseHoler interface (still a dummy) and fixed
CreateOleAdviseHolder().
1998-11-22 18:06:33 +00:00
Eric Kohl 7be922a2f4 Added stub for CreateItemMoniker(). 1998-11-22 17:56:07 +00:00
Juergen Schmied 324ea57239 Small fixes to get the default language to a sensible value.
Thanks to Pablo.
1998-11-22 17:43:30 +00:00
Andreas Mohr 29bbe12285 Enhanced OABuildVersion() to return different version values for
different winvers.
1998-11-22 16:36:07 +00:00
Robert Pouliot dfb1e9e436 Better OLE support in French languages. 1998-11-22 15:48:36 +00:00
Marcus Meissner 9dc325629d Turn mega double switch into static table (reduces compile time). 1998-11-22 15:36:14 +00:00
Juergen Schmied 1509b2d0a7 Bug fix. 1998-11-15 18:12:12 +00:00
David Luyer cc0588b4e0 Added Thai nls-resources. 1998-11-15 10:21:19 +00:00
Pablo Saratxaga a772866072 Display the language id for "XXX not supported for your language"
messages.
Added all languages and sublanguages for languages supported in
resources/sysres_Xx.
1998-11-15 10:20:33 +00:00