Alex Villacís Lasso
67c9b7cbb8
oleaut32: Support for VT_DISPATCH in VarDiv.
2007-01-03 11:41:46 +01:00
Alex Villacís Lasso
01395dec51
oleaut32: Support for VT_DISPATCH in VarMul.
2007-01-03 11:40:11 +01:00
Alex Villacís Lasso
308a0b2e18
oleaut32: Support for VT_DISPATCH in VarAdd.
2007-01-03 11:39:11 +01:00
Alex Villacís Lasso
97d13c552c
oleaut32: Support for VT_DISPATCH in VarAnd.
2007-01-03 11:37:31 +01:00
Alex Villacís Lasso
4245cbb31c
oleaut32: Add wrapper for dereferencing a VARIANT of type VT_DISPATCH and returning the VARIANT value.
2007-01-03 11:35:37 +01:00
Alex Villacís Lasso
c290f623e0
oleaut32: Fix VarMod(VT_DECIMAL) test by properly initializing the DECIMAL to use.
...
Fix Wine handling of VT_DECIMAL in VarMod.
2006-12-26 13:25:03 +01:00
Dmitry Timoshkov
601bf6ea12
oleaut32: Make some data const and static.
2006-11-28 12:36:20 +01:00
Alex Villacís Lasso
3f593aa622
oleaut32: variant - allow conversion of VT_DISPATCH into VT_BSTR in VarCat.
2006-11-08 15:50:55 +01:00
Francois Gouget
ef998ea6cb
Assorted spelling fixes.
2006-10-16 11:33:38 +02:00
Hans Leidekker
ce66f5d684
oleaut32: Win64 printf format warning fixes.
2006-10-13 12:08:47 +02:00
Francois Gouget
dd28d5be08
Tweak TRACE()s to simplify '\n' checks.
2006-10-06 17:29:27 +02:00
Benjamin Arai
4cb6c9184b
oleaut32: Implementation for function variant:VarImp.
2006-09-21 11:25:41 +02:00
Benjamin Arai
ed64999180
oleaut32: Fixes for function variant:VarIdiv.
2006-09-12 10:53:49 +02:00
Benjamin Arai
aaca30cf03
oleaut32: Fixes for function variant:VarDiv.
2006-09-12 10:53:08 +02:00
Benjamin Arai
fbf9cba683
oleaut32: Fixes for function variant:VarPow.
2006-09-08 12:54:59 +02:00
Benjamin Arai
3abb454c70
oleaut32: Fixes for function variant:VarAnd.
2006-09-08 12:52:14 +02:00
Francois Gouget
3eda8da2bd
oleaut32: Fix spelling of VARIANT_NUMBER_CHARS's separator fields.
2006-09-08 11:03:00 +02:00
Stefan Leichter
220547708a
oleaut32: Print 64bit integers with wine_dbgstr_longlong.
2006-08-22 11:59:38 +02:00
Benjamin Arai
9634ffa7dc
oleaut32: VarSub: Fixes several data types and corrects error codes.
2006-07-28 12:56:45 +02:00
Benjamin Arai
4026a4c0a8
oleaut32: Fix temp variant initialization issues in VarCat.
2006-07-21 13:40:32 +02:00
Benjamin Arai
911af4dce9
oleaut32: Update error codes for VarMod.
2006-07-19 09:38:50 +02:00
Benjamin Arai
d42002b72c
oleaut32: VarCmp - Corrected function description.
2006-07-18 11:10:15 +02:00
Benjamin Arai
700adac9ac
oleaut32: Conformance test and patch for VarCat.
2006-07-11 17:14:58 +02:00
qingdoa daoo
5e09c29867
oleaut32: Copying a NULL BSTR should result in an empty BSTR in VariantCopy.
2006-07-10 11:52:45 +02:00
Robert Shearman
123592f0c3
oleaut32: Fix parsing of hex numbers with 'e' in the string by moving
...
the exponent parsing to after the hex digit parsing.
2006-07-03 11:33:23 +02:00
Robert Shearman
b5bff92a0c
oleaut32: Uncomment a line to implement conversion from VT_DISPATCH to VT_BSTR.
2006-06-08 11:11:01 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Huw Davies
2898b5d9ad
oleaut32: Remove weird attempt to clear VT_VARIANT.
...
Add some tests.
2006-05-07 10:10:56 +02:00
Ulrich Czekalla
37f1d4cb54
oleaut32: Prevent freeing of random memory.
...
Don't assign type to variant until we're sure we are assigning a
value.
2006-02-02 13:18:43 +01:00
Michael Stefaniuc
f73b68b016
oleaut32: Reimplement VarCmp().
...
- Supports now all WinXP allowed combinations of input variants.
- VT_RESERVED on input variants is handled now.
- Removed complicated VT_DATE comparision; that's not how Windows does it.
- Improved documentation.
2006-01-16 21:34:50 +01:00
Michael Stefaniuc
e47b813fc6
oleaut32: Define missing but useful VTBIT_* macros.
2006-01-16 21:32:24 +01:00
Uwe Bonnes
87df07452a
Extend VarCmp() and add test cases.
2005-11-03 13:21:11 +00:00
Robert Shearman
4381c62560
Fix a crash during +variant logging caused by a typo causing an array
...
to be one element less than expected.
2005-11-02 20:03:01 +00:00
Michael Stefaniuc
8ecefe9e93
Handle VT_DECIMAL in VarCmp().
2005-10-28 10:08:31 +00:00
Michael Stefaniuc
c64abfa374
Handle VT_CY in VarDiv().
2005-10-26 12:05:39 +00:00
Alex Villacís Lasso
253f3bf5be
Modify VarDiv() and VarSub() to use the existing VarDecSub() and
...
VarDecDiv() for DECIMAL.
2005-09-22 10:35:16 +00:00
Michael Stefaniuc
4d36546c07
- VarAdd, VarMul: I4 overflows to R8 and not I8 even if the result
...
would fit in I8. Fix tests.
- Document a brokeness in the handling of I8 numbers in
VarNumFromParseNum. Fix tests.
2005-08-23 09:33:37 +00:00
Robert Shearman
27407fad35
Document active object and variant functions.
2005-07-05 11:02:19 +00:00
Robert Shearman
cbc3af8ca5
- Conversions between variants types of the same size should ignore
...
overflows.
- Tests for this behaviour.
2005-06-29 20:15:32 +00:00
Michael Stefaniuc
8e81d45732
- VarCmp: handle comparision of VT_EMPTY with an integer
...
- small comment fix
2005-06-28 10:54:07 +00:00
Francois Gouget
6394a15314
Assorted spelling fixes.
2005-06-17 20:59:49 +00:00
Michael Stefaniuc
948dd66603
- Reimplement VarAdd, had missing functionality and wrong behaviour.
...
- Fix a typo in VarMul.
2005-05-29 20:00:31 +00:00
Michael Stefaniuc
0f64aaa807
Reimplement VarMul(). It can multiply now all variants that the native
...
(WinXP) function supports too.
2005-05-23 11:46:17 +00:00
Richard Cohen
97bc8f6dc7
- Remove unused macro.
...
- Check for VT_I8 before testing it.
- VarMod returns DISP_E_OVERFLOW not E_INVALIDARG.
2005-05-23 10:26:32 +00:00
Michael Stefaniuc
28faa92c7f
Fix VariantChangeType: calls to VarDecFromCy and VarDecFromDisp had
...
source and destination swapped.
2005-05-23 09:50:50 +00:00
Daniel Remenak
4d7e99df93
Implemented VarIdiv.
2005-04-13 10:59:25 +00:00
Daniel Remenak
292b61f550
Return DISP_E_DIVBYZERO instead of crashing when asked to divide a
...
variant by zero.
2005-04-12 10:15:56 +00:00
Jon Griffiths
743fb99a9f
Use variant macros instead of accessing the union directly.
2005-02-22 14:54:01 +00:00
Alex Villacís Lasso
d0bdb3888b
Initialize temporary variants before calling VariantChangeTypeEx.
2005-01-25 18:57:43 +00:00
Alex Villacís Lasso
ed9a359402
When parsing an hex/oct integer value, copy value verbatim in VARIANT,
...
rather than a negated value. Add test case for this behavior.
2005-01-17 19:34:58 +00:00