Commit Graph

400 Commits

Author SHA1 Message Date
Alastair Bridgewater ec496b386e Stubbed-out implementation of the ITypeInfo2 interface for the
ICreateTypeInfo2 implementation.
Implementation of ITypeInfo2_fnGetContainingTypeLib().
Preliminary implementation of ICreateTypeInfo2_fnAddRefTypeInfo().
2004-02-03 21:26:00 +00:00
Kirill Smelkov 7b94c7e094 OLEPictureImpl_Load: fix for headerless pictures. 2004-02-03 00:09:41 +00:00
Alastair Bridgewater 5e07be4eb0 Preliminary implementation of ICreateTypeInfo2_fnAddFuncDesc() and
ICreateTypeInfo2_fnSetFuncAndParamNames().
2004-01-28 21:37:14 +00:00
Alastair Bridgewater 681b6aa083 Improvements to ICreateTypeInfo2_fnAddVarDesc().
A separate function to encode TYPEINFO structures.
2004-01-28 20:04:55 +00:00
Francois Gouget 231fbff8d0 Add trailing '\n's to ok() calls. 2004-01-27 04:01:10 +00:00
Alastair Bridgewater 01b93c166c A small number of cleanups.
A new function to find a given NAME in a type library.
Support for growing a tlb segment when it overflows.
Duplicate GUID elimination.
GUID hash fixes.
NAME hash fixes.
Duplicate STRING elimination fixes.
Duplicate IMPORT elimination fixes.
Type information save ordering fixes.
Support for writing out the CUSTDATA and CUSTDATAGUID segments.
2004-01-27 03:59:07 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Alexandre Julliard d07c1004e3 Moved a few remaining 16-bit definitions out of the standard headers. 2004-01-23 22:51:41 +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
Alastair Bridgewater ff466b177f Initial implementation of CreateTypeLib2() and the ICreateTypeLib2 and
ICreateTypeInfo2 interfaces.
2004-01-21 22:24:08 +00:00
Jon Griffiths d83ed49148 Remove tests that are covered by vartype.c.
Call by pointer for more functions not available in early versions.
Add tests for VarFix/VarInt/VarNeg, VarFormat "on/off/yes/no".
Fix tests that assumed relative dates.
Make BSTR copy test separate.
2004-01-20 23:38:38 +00:00
Hans Leidekker 301bbc4984 Add missing comma. 2004-01-19 21:48:21 +00:00
Jon Griffiths f4e7227541 Implemented VarInt, VarFix, VarNeg. 2004-01-13 23:16:04 +00:00
Jon Griffiths 757af5fc15 Use integer math in VarCyInt, docs. 2004-01-13 23:02:34 +00:00
Marcus Meissner ff16b32499 SafeArrayRedim: Use the correct size for resize too. 2004-01-12 21:06:30 +00:00
Alexandre Julliard e8283089cb Get rid of no longer needed WINE_PACKED define. 2004-01-09 22:18:49 +00:00
Marcus Meissner 2ac287e875 Copy BSTRs byte wise.
Added a testcase for byte wise copy of VT_BSTR variant with
VariantCopy().
2004-01-09 00:58:01 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Alexandre Julliard bb0d6b7202 Commented out tests that assume that the current year is 2003. 2004-01-02 01:51:38 +00:00
Marcus Meissner 042f8953ff Fixed size calculation on redim if old size was 0. 2003-12-31 18:58:25 +00:00
Marcus Meissner e12ef562a8 Dimensions with cElements=0 are valid and needed by InstallShield.
SafeArrayGetElement: fixed BSTR and LPUNKNOWN handling.
Added testcases for above cases.
2003-12-30 19:06:41 +00:00
Marcus Meissner 09c8cc97f7 Added more argument numbers for _invoke(). 2003-12-30 19:06:21 +00:00
Jon Griffiths b3401e66a3 I8/UI8 are accepted in arrays in recent native dlls.
Test UDTs, array coercion and new functions.
2003-12-15 21:11:25 +00:00
Jon Griffiths d95ee19dfd Use the SafeArray conversion functions when coercing arrays.
Simplify VariantChangeTypeEx.
Replace calls to dump_Variant() with TRACE's.
2003-12-15 21:10:53 +00:00
Jon Griffiths c2d6a6b451 Rewrite: Support I8/UI8,RECORD.
Store array bounds in the same order as native.
Add CreateEx, CreateVectorEx, VectorFromBstr, BstrFromVector.
2003-12-15 21:08:42 +00:00
Marcus Meissner cf50f9a04e Implemented VarInt, VarPow.
Added R4 (float) support to VarAdd.
Added DATE support to VarSub.
2003-12-15 20:14:32 +00:00
Marcus Meissner 30ccb3bd22 Yet another useful hint for missing stdole32.tlb. 2003-12-15 19:47:51 +00:00
Marcus Meissner 2567881312 Do not clear the pointer we just allocated, just the first byte it
points to.
2003-12-15 19:47:10 +00:00
Andrew de Quincey eb4d6e079d - Implemented HELPDIR subkeys properly in RegisterTypeLib().
- Implemented UnRegisterTypeLib().
- Fixed various minor bugs.
2003-12-13 00:04:06 +00:00
Alexandre Julliard 6fee8c95b2 Avoid long long constants (reported by Gerald Pfeifer).
Added a few missing parentheses in macros.
2003-12-12 06:02:31 +00:00
Jon Griffiths 97fc6c3a06 Oops - VT_EMPTY->VT_RECORD is not allowed. 2003-12-11 05:25:59 +00:00
Jon Griffiths 17ce98503b Test almost all of the low level variant functions 2003-12-11 05:25:44 +00:00
Jon Griffiths 7e40baadc1 Reimplement/document every low level variant function.
Implement DECIMAL, I8, UI8 types and other missing conversions.
VariantChangeType: Use LOCALE_USER_DEFAULT as per MSDN.
VariantChangeTypeEx: Support new types, pass proper flags.
VarNumFromParseNum: Support VT_DECIMAL as output.
2003-12-11 04:28:20 +00:00
Andrew de Quincey 8b773b125a Upwards traversal of inheritance tree didn't occur for dispatch
interfaces.
2003-12-10 00:38:17 +00:00
Jon Griffiths 27db93dc6a Fix a couple of tests for w2k (Russian). 2003-12-10 00:37:35 +00:00
Jon Griffiths 85602c218d Fix the tests to pass when locale settings are user-overriden.
Fix those tests which pass now.
Test copying, formatting, VarAbs, VarNot.
2003-12-09 00:05:53 +00:00
Jon Griffiths 7e7ca4ac95 Implement conversions between dates and strings.
Remove the final cruft associated with the old date code
BPB's: Roll milliseconds correctly; LOCALE_NOUSEROVERRIDE for num
parsing.
Implement VarAbs and VarNot.
2003-12-09 00:05:31 +00:00
Jon Griffiths dce7644bdc Add hash tables for all supported languages.
Remove some useless includes.
2003-12-02 03:51:10 +00:00
Marcus Meissner 236ad0df3c Use correct pointer for SysFreeString. 2003-12-01 22:36:49 +00:00
Alexandre Julliard 5f8223670a Porting fixes. 2003-11-28 23:19:30 +00:00
Dimitrie O. Paun 99bf92e338 SysReAllocStringLen is documented to segfault on NULL pointer. 2003-11-26 03:35:16 +00:00
Jon Griffiths 392cbdf7b8 Tests for the non-variant date conversion functions. 2003-11-25 01:50:10 +00:00
Jon Griffiths 4f0f1d9253 Improve/shrink variant dumping code. 2003-11-25 01:49:48 +00:00
Jon Griffiths d537c955bc Implemented the variant formatting functions.
Bool->bstr makes a number str unless [ALPHA|LOCAL]BOOL is passed.
2003-11-25 01:49:31 +00:00
Jon Griffiths f9bca5eaf7 Macros for dumping a variants type and flags.
Fix the date inlines.
Round negative numbers with fractional parts > 0.5 correctly.
2003-11-25 01:48:51 +00:00
Ivan Leo Murray-Smith 15a9d28707 Added/updated Italian resources. 2003-11-19 02:14:44 +00:00
Dmitry Timoshkov 1fa82e51c2 Apply same magic to LibAttr.lcid from MSFT to SLTG. 2003-11-18 00:02:25 +00:00
Jon Griffiths 136fa03fbf Implement the non-variant date conversions correctly, without going
through 'struct tm' first. Handle negative & 'rolling' dates too.
2003-11-14 21:01:36 +00:00
Jon Griffiths 2f558b53f1 Add some missing prototypes/defines.
OaBuildVersion() returns a ULONG, not UINT.
2003-11-14 21:01:15 +00:00