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
Jon Griffiths
bb61fe35a2
Dump a few more known variant types.
...
Don't call DateToTM() - it's going away soon.
2003-11-14 20:59:46 +00:00
Gerald Pfeifer
5cc4b3ba16
Removed dead code in VarDateFromUI2().
2003-11-09 01:21:04 +00:00
Marcelo Duarte
8defcd386c
Localization to the Portuguese of Brazil.
2003-11-05 23:27:01 +00:00
Marcus Meissner
49eaa0db2b
Do not coerce arguments of ITypeLib::Invoke in-place, or we get
...
corrupted variants.
Handle V_ARRAY | something -> VT_SAFEARRAY, as this is a NOP.
2003-11-03 22:13:05 +00:00
Francois Gouget
f405629e8e
Weekly spelling fixes.
2003-10-28 21:45:30 +00:00
Alexandre Julliard
81db03dd61
The imported typelib name must be converted to Unicode.
2003-10-16 19:09:41 +00:00
Jon Griffiths
cc83d9addc
Add resources for boolean strings in several languages.
2003-10-15 20:50:24 +00:00
Gerald Pfeifer
0974c154cb
Remove unused variables mdays, months, days, and DateStyle.
2003-10-14 20:10:16 +00:00