Commit Graph

200 Commits

Author SHA1 Message Date
David Hedberg fd543f5aa3 oleaut32: Don't crash in wrapper if variant resides in read-only memory. 2011-05-31 19:43:48 +02:00
Nikolay Sivov 1dcf3f7aef oleaut32/tests: Fix a safearray leak (Valgrind). 2011-02-01 18:14:07 +01:00
Alexandre Julliard 4e94fd5567 oleaut32: Fix the overflow check in VarNumFromParseNum.
Spotted by Adam Martinson.
2010-11-17 14:01:16 +01:00
Jeremy Drake c8a4983ed9 oleaut32: Fix handling of negative fractional variant dates.
The integer part is the number of days to be added to the epoch
(1899-12-30), and the fractional part (disregarding sign) represents
the fraction of that day that has elapsed.
2010-10-07 12:00:28 +02:00
Gerald Pfeifer 5b8eccd3c6 oleaut32: Remove variable rOk which is not really used from VarMod. 2010-05-17 12:42:31 +02:00
André Hentschel 1dc896eb52 oleaut32: Fix formula. 2010-02-08 17:14:43 +01:00
André Hentschel 23ff47610e oleaut32: Fix year 0. 2010-02-04 13:39:27 +01:00
André Hentschel ac1ca87b21 oleaut32: Fix day rolling. 2010-02-04 13:39:27 +01:00
André Hentschel 1b51c21fb3 oleaut32: Rewrite RollUdate to be easier to change and to support more conversions. 2010-02-02 11:59:28 +01:00
Huw Davies d83cf1af0f oleaut32: Fix a memory leak.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Piotr Caban 1f7a07ebe3 oleaut32: Ignore milliseconds in VarDateFromUdate implementation. 2009-11-19 11:35:40 +01:00
Rob Shearman 99d9983b61 oleaut32: Fix memory leaks in ITypeInfo_fnInvoke. 2009-11-18 11:15:39 +01:00
Alexandre Julliard 8fce9369b8 oleaut32: Replace long and unsigned long by more appropriate types. 2009-07-03 13:48:54 +02:00
Michael Stefaniuc eddc78e480 oleaut32: Fix a small error in a comment. 2009-07-02 11:30:32 +02:00
Francois Gouget 97dea95e41 oleaut32: Tweak a comment to make it more explicit. 2009-05-26 14:09:58 +02:00
Detlef Riekenberg 6643049116 oleaut32: VarCat must use localized names for VT_BOOL. 2009-04-14 15:11:58 -05:00
Michael Stefaniuc 0c07d3ba37 oleaut32: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:43:22 +02:00
Aric Stewart 3b3ed7a020 oleaut32: In variants check bOverflow to make sure not to accidently overun static buffers in an overflow case (Coverity 313). 2008-10-07 15:22:30 +02:00
Michael Stefaniuc f830a12ddb oleaut32: Remove redundant NULL check before SysFreeString (Smatch). 2008-09-25 11:18:59 +02:00
Rob Shearman e57697a04b oleaut32: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Michael Karcher abaac300d1 oleaut32: Cache localised number chars. 2008-05-19 20:19:52 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Austin English e8dbd66c23 oleaut32: Spelling fixes. 2008-04-14 21:28:38 +02:00
Andrew Talbot 9d16a42210 oleaut32: Assign to structs instead of using memcpy. 2008-03-12 11:59:27 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Alexandre Julliard a7f4e8bf74 oleaut32: Properly initialize the result variant in VarImp. 2007-10-29 13:53:40 +01:00
Alex Villacís Lasso 38079e0744 oleaut32: Support for VT_DISPATCH in VarRound. 2007-06-05 12:20:46 +02:00
Alex Villacís Lasso 7f84b91bff oleaut32: Support for VT_DISPATCH in VarNeg. 2007-06-05 12:20:37 +02:00
Alex Villacís Lasso f1b44b36e4 oleaut32: Support for VT_DISPATCH in VarInt. 2007-06-05 12:20:28 +02:00
Alex Villacís Lasso bd7de42787 oleaut32: Support for VT_DISPATCH in VarFix. 2007-06-05 12:20:18 +02:00
Alex Villacís Lasso 2ebe12397f oleaut32: Support for VT_DISPATCH in VarNot. 2007-06-05 12:20:08 +02:00
Alex Villacís Lasso 932fcac150 oleaut32: Support for VT_DISPATCH in VarAbs. 2007-06-05 12:19:31 +02:00
Francois Gouget fa48cb042c Assorted spelling fixes. 2007-05-29 13:47:18 +02:00
Jason Edmeades 94b9b6146d oleaut32: Convert to VT_DECIMAL fails with overflow (with test). 2007-04-03 11:32:57 +02:00
Andrew Talbot d6fc116475 oleaut32: Declare some items static. 2007-01-22 12:08:55 +01:00
Alex Villacís Lasso 1c85155eaa oleaut32: Support for VT_DISPATCH in VarImp. 2007-01-03 11:49:16 +01:00
Alex Villacís Lasso e02b224d57 oleaut32: Support for VT_DISPATCH in VarPow. 2007-01-03 11:48:47 +01:00
Alex Villacís Lasso 90844e2067 oleaut32: Support for VT_DISPATCH in VarMod. 2007-01-03 11:48:13 +01:00
Alex Villacís Lasso cdceb02319 oleaut32: Support for VT_DISPATCH in VarIdiv. 2007-01-03 11:44:42 +01:00
Alex Villacís Lasso 5aacee9550 oleaut32: Support for VT_DISPATCH in VarXor. 2007-01-03 11:44:03 +01:00
Alex Villacís Lasso e98a49dee4 oleaut32: Support for VT_DISPATCH in VarOr. 2007-01-03 11:43:29 +01:00
Alex Villacís Lasso a5e3a999ea oleaut32: Support for VT_DISPATCH in VarSub. 2007-01-03 11:42:33 +01:00
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