537 Commits

Author SHA1 Message Date
Nikolay Sivov
37745b093d oleaut32: Fix AddFuncDesc() to ignore scodes array length when NULL array pointer is passed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 22:42:49 +09:00
Nikolay Sivov
5c4cbc9d60 oleaut32: Support querying for ITypeComp from ITypeInfo.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-26 22:42:39 +09:00
Nikolay Sivov
e90a17d20f oleaut32: Keep most of typeinfo attributes in TYPEATTR structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 12:05:47 +09:00
Piotr Caban
aa56d735df oleaut32: Add ICreateTypeLib2::SetCustData implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 21:27:18 +09:00
Piotr Caban
17af4fe592 oleaut32: Update cdguid on data reallocation in WMSFT_compile_custdata.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 21:27:07 +09:00
Piotr Caban
2142bde3e2 oleaut32: Add support for best version argument in LoadRegTypeLib.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 18:17:37 +09:00
Piotr Caban
dcd9b8ea0e oleaut32: Fix best version handling in QueryPathOfRegTypeLib when type library redirection is used.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 18:17:26 +09:00
Dmitry Timoshkov
1616f0ede9 oleaut32: Simplify 'for' loop.
Variable 'i' is not used neither in the loop nor at its end.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:50 +09:00
Dmitry Timoshkov
6c83dd2d99 oleaut32: Use correct interface pointer. 2015-09-15 16:59:15 +09:00
Dmitry Timoshkov
97ce5f4874 oleaut32: Add support for handling VT_VARIANT|VT_ARRAY|VT_BYREF argument type. 2015-09-10 17:22:43 +09:00
Dmitry Timoshkov
755feaca39 oleaut32: Don't assume that SAFEARRAY is the last parameter in an varargs method. 2015-09-07 15:05:22 +09:00
Josh DuBois
ee3bb31a6f oleaut32: Avoid movs between rcx, rdx and xmm registers.
Apple's version of as chokes on movs between rcx and rdx and the xmm
registers.
2015-05-06 20:45:25 +09:00
Andrew Eikum
4a7b5856da oleaut32: Allow typelib filenames longer than MAX_PATH. 2015-03-24 13:49:07 +09:00
Francois Gouget
4d65584f8a oleaut32: Remove unneeded NONAMELESSXXX directives. 2015-03-17 14:18:59 +09:00
André Hentschel
099514e753 oleaut32: Remove unused code (Clang). 2014-12-02 10:31:33 +01:00
Guillaume Charifi
9e4590ff67 oleaut32: Implement TLB dependencies lookup in resources. 2014-11-04 23:03:30 +09:00
Michael Stefaniuc
39eede134e oleaut32: Clarify cast operation (PVS-Studio). 2014-10-28 13:52:03 +09:00
Akihiro Sagawa
86b7fc3829 oleaut32: Delete opposite side keys on UnRegisterTypeLib. 2014-06-11 19:15:14 +02:00
Jacek Caban
04a573a66e oleaut32: Replaced dump_Variant by debugstr_variant. 2014-05-24 11:02:39 +09:00
Jacek Caban
18a42e0211 oleaut32: Use debugstr_variant for dump_Variant implementation. 2014-05-24 11:02:30 +09:00
Jacek Caban
5614770c24 oleaut32: Rewrite debugstr_vt. 2014-05-24 11:02:20 +09:00
Nikolay Sivov
0c0fe4efb4 oleaut32: Always free TLIBATTR in LoadRegTypeLib() (Valgrind). 2014-04-28 14:00:58 +02:00
Nikolay Sivov
c46debeeeb widl: Fix pointer size for SYS_WIN64 typelibs.
The fact that test data was wrong was hidden by broken widl typelib,
and same test typelib was used on windows so we never get proper test
results. Standard IUnknown/IDispatch that live in system stdole2.tlb
are also tested now.
2014-01-27 14:13:54 +01:00
Andrew Eikum
57895e5a8c oleaut32: Improve ITypeLib::FindName. 2014-01-27 14:13:38 +01:00
Nikolay Sivov
1abafbffda oleaut32: Use CoTaskMem* when dealing with CUSTDATA. 2014-01-27 14:13:37 +01:00
Alexandre Julliard
a414681648 oleaut32: Don't create non-existent typelib files. 2013-12-30 20:35:02 +01:00
Frédéric Delanoy
57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Frédéric Delanoy
128e4575e5 oleaut32: Use BOOL type where appropriate. 2013-11-21 13:36:08 +01:00
Nikolay Sivov
7be2251cd6 oleaut32: Always set LIBFLAG_FHASDISKIMAGE when loading from file. 2013-11-13 18:30:39 +01:00
Frédéric Delanoy
f4dc64918e oleaut32: Use BOOL type where appropriate. 2013-10-18 12:34:39 +02:00
Andrew Eikum
fbffa8935e oleaut32: Also register typelibs in the opposite registry mode. 2013-10-16 20:49:26 +02:00
Nikolay Sivov
1c23b501f7 oleaut32: LoadRegTypeLib() should check actual typelib version. 2013-09-24 12:57:54 +02:00
Nikolay Sivov
4be3013014 oleaut32: Support typelib redirection in QueryPathOfRegTypeLib(). 2013-09-24 12:57:46 +02:00
Andrew Eikum
7f47beb7d8 oleaut32: Implement ICreateTypeInfo::SetFuncDocString. 2013-09-19 20:14:06 +02:00
Andrew Eikum
6b4f43e8e6 oleaut32: Don't crash on NULL string arguments. 2013-09-10 17:31:49 +02:00
Andrew Eikum
c5be905bf7 oleaut32: Fix TRACE. 2013-09-09 22:10:00 +02:00
Andrew Eikum
808c47cecb oleaut32: Typelib strings of size -1 are NULL. 2013-09-09 22:10:00 +02:00
Andrew Eikum
52b1adcd6e oleaut32: Correct TRACE statement. 2013-09-06 17:25:08 +02:00
Andrew Eikum
cb1f4c5387 oleaut32: Apply TKIND_DISPATCH changes to FUNCDESC results from ITypeComp::Bind. 2013-09-06 17:25:08 +02:00
Andrew Eikum
664e7938cb oleaut32: Improve TYPEDESC encoding for unknown VARTYPEs.
It's not worth printing a FIXME for every VARTYPE we don't happen to
list in the switch statement.
2013-09-06 17:25:08 +02:00
Piotr Caban
a2ea406eee oleaut32: Add ICreateTypeInfo2::SetVarName implementation. 2013-09-05 13:18:22 +02:00
Piotr Caban
3f4b06edf1 oleaut32: Allocate bigger buffer in WMSFT_compile_names function. 2013-08-28 11:37:00 +02:00
Andrew Eikum
810ec233c0 oleaut32: Implement ICreateTypeInfo::SetTypeDescAlias. 2013-08-27 21:30:02 +02:00
Andrew Eikum
56aa7d015d oleaut32: Resize 32-bit typeinfos when loaded in 64-bit. 2013-08-27 21:30:02 +02:00
Andrew Eikum
b6bfd6d32e oleaut32: Assign MEMBERIDs to vardescs without one. 2013-08-19 11:29:27 +02:00
Andrew Eikum
341ff65b95 oleaut32: Run LayOut on typeinfos that require it before saving. 2013-08-19 11:29:16 +02:00
Andrew Eikum
f66523abee oleaut32: Correct version byte order. 2013-08-19 11:29:09 +02:00
Andrew Eikum
6f5cc0887e oleaut32: Save typelib SYSKIND. 2013-08-15 16:23:34 +02:00
Andrew Eikum
cc29cad2cc oleaut32: 64-bit typelib fixes. 2013-08-15 16:23:29 +02:00
Andrew Eikum
f1398510df oleaut32: Don't prevent 64-bit from loading 32-bit typelibs. 2013-08-15 16:23:00 +02:00