Commit Graph

79 Commits

Author SHA1 Message Date
Sebastian Lackner 7280762238 oleaut32: Fix possible integer overflow in VarR4FromDec. 2015-08-19 20:19:57 +09:00
André Hentschel bedd444a36 oleaut32: Remove unused macros. 2015-02-23 15:25:57 +09:00
Sebastian Lackner ec218b4218 oleaut32: Decrease accuracy if scaling is not possible in VarDecAdd. 2014-07-09 09:28:11 +02:00
Shuai Meng 1809f7c782 oleaut32: Fixed bounds of VarIntFromFloat. 2014-03-25 19:01:32 +01:00
Nikolay Sivov 8c2b4bfe48 oleaut32: Initialize result VARIANT in *FromDisp(). 2014-02-10 10:41:41 +01:00
Frédéric Delanoy ca1a1d54c0 oleaut32: Use BOOL type where appropriate. 2014-02-07 13:11:57 +01:00
Frédéric Delanoy f4dc64918e oleaut32: Use BOOL type where appropriate. 2013-10-18 12:34:39 +02:00
Andrew Eikum 87c459ab23 oleaut32: Implement VarDecRound. 2013-09-18 13:13:30 +02:00
Piotr Caban a2d74e5f0c oleaut32: Fixed VARIANT_FormatDate behavior on dates before year 1600. 2013-02-25 13:03:03 +01:00
Piotr Caban 209b58c64e oleaut32: Fixed VarBstrFromDate behavior on dates before year 1600. 2013-02-22 19:15:59 +01:00
Piotr Caban 8f7d1ed520 oleaut32: Fixed time outputing for dates before 1899 in VarBstrFromDate. 2013-02-22 19:15:28 +01:00
Francois Gouget 4d22dc440b oleaut32: Use the CSTR_XXX macros instead of numeric literals. 2012-06-21 08:35:09 +02:00
Frédéric Delanoy c55db752a2 oleaut32: Avoid hardcoding array lengths. 2011-11-23 09:11:29 +01:00
Michael Stefaniuc 38794b4ba0 oleaut32: Fix some VarCyFrom* tests.
Due to a broken EXPECTRES macro the EXPECT_OVERFLOW accepts S_OK return
values.
2011-10-08 17:36:47 +02:00
Marcus Meissner 5b80d1beea oleaut32: Unshadow cmp to make code work (Coverity). 2011-06-27 13:26:32 -05:00
Francois Gouget 30664aa091 oleaut32: Fix a typo in a documentation comment. 2011-06-13 11:32:39 +02:00
John Fremlin 66c42df02e oleau32: Stop incorrectly parsing dates in bogus YDM order in European locales. 2011-04-26 15:31:28 +02:00
Nikolay Sivov 9a5098bbb4 oleaut32: Copy bytes instead of WCHARs in VarBstrCat. 2010-06-01 11:04:11 +02:00
Michael Stefaniuc 0f82f68734 oleaut32: Avoid using long. 2010-05-10 13:46:08 +02:00
André Hentschel 7b66e1aeeb oleaut32: Check if the delimiter is a date delimiter. 2010-05-08 13:12:33 +02:00
Alexandre Julliard 2e5d1f192f oleaut32: Use the x87 assembly code for rounding on x86_64 too. 2010-04-09 11:14:47 +02:00
André Hentschel a360c98187 oleaut32: Fix localized date and time parsing. 2010-03-04 12:28:33 +01:00
André Hentschel 71f24431b9 oleaut32: Fix localized date parsing. 2010-03-04 12:28:28 +01:00
Alexandre Julliard 2a1114f805 oleaut32: Avoid floating point for some VarCy conversions. 2009-10-09 11:39:17 +02:00
Hib Eris 3e5159e169 oleaut32: Prevent overflow in VarDecCmp. 2009-07-07 14:18:19 +02:00
Detlef Riekenberg 6643049116 oleaut32: VarCat must use localized names for VT_BOOL. 2009-04-14 15:11:58 -05:00
Lei Zhang 25c2e283d8 oleaut32: Fix some corner cases in VarBstrCmp. 2009-03-24 14:07:50 +01:00
Juan Lang 32bacc9c0b oleaut32: Implement VarDecInt. 2009-02-19 12:51:36 +01:00
Juan Lang 48d1f9fba1 oleaut32: Implement VarDecFix. 2009-02-19 12:51:27 +01:00
Juan Lang d693dfda8c oleaut32: Constify input parameter to VarR8FromDec.
With thanks to Dmitry for spotting this.
2009-02-19 12:51:22 +01:00
Juan Lang 63303048c4 oleaut32: Remove an errant semicolon. 2009-02-18 12:17:25 +01:00
Francois Gouget 39382652a9 oleaut32: Remove unneeded casts of zero. 2008-12-08 12:05:47 +01:00
Alexandre Julliard 5a2c9de2e8 oleaut32: Register interfaces through dlldata.c as far as possible. 2008-12-02 21:20:32 +01:00
Rob Shearman 4200022ddb oleaut32: Add explicit "!= S_OK" to expressions that use HRESULTs as booleans. 2008-09-12 16:50:00 +02:00
Rob Shearman b234173b1f oleaut32: Fix buffer length passed to VARIANT_DI_tostringW in VarBstrFromCy.
It's the number of elements, not the number of bytes.
2008-08-18 17:34:12 +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 c5310eda8d oleaut32: Currency to BSTR must use local decimal separator. 2008-05-27 12:05:48 +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 6eb90d87fb oleaut32: Constify some variables. 2007-08-06 12:12:27 +02:00
Michael Stefaniuc 45d6d1c20b oleaut32: Remove a return after return. 2007-07-20 11:45:58 +02:00
Marcus Meissner 46d94653f1 oleau32: Fix one entry overflow (Coverity). 2007-05-23 12:51:33 +02:00
Andrew Talbot 321c21c5c8 oleaut32: Remove superfluous semicolons. 2007-04-13 12:58:58 +02:00
Andrew Talbot cae5c216a5 oleaut32: Replace inline static with static inline. 2007-03-23 12:29:49 +01:00
Andrew Talbot 26af24c905 oleaut32: Remove unused items. 2007-01-16 11:19:09 +01:00
Alex Villacís Lasso 4a4effe3f7 oleaut32: VarBstrFromCy - Remove use of sprintfW by converting a CY
into a DECIMAL instead of a double as an intermediate step.
2006-12-21 11:24:48 +01:00
Alex Villacís Lasso f162ce45ad oleaut32: Bypass conversion to string in R4/R8 -> DECIMAL conversion. 2006-12-19 14:09:44 +01:00
Alexandre Julliard 478ac3724d oleaut32: Use LOCALE_NOUSEROVERRIDE where necessary in variant conversions. 2006-12-07 14:05:25 +01:00
Charles Blacklock 12e4aa2165 oleaut32: Cleanup of previous VarBstrCmp patch. 2006-12-04 12:38:51 +01:00
Charles Blacklock 2b2ee9c7d1 oleaut32: Add VarBstrCmp binary comparison for LCID==0. 2006-11-30 20:06:37 +01:00