Commit Graph

43 Commits

Author SHA1 Message Date
Alexandre Julliard a2791a0919 oleaut32: Fix handling of 'c' format for non-date variants in VarTokenizeFormatString. 2010-06-08 16:35:22 +02:00
André Hentschel f73c8c4d42 oleaut32: Fix FormatString (valgrind). 2010-03-04 12:29:17 +01:00
André Hentschel a78490bf8a oleaut32: Fix fractional calculation. 2010-03-01 11:33:57 +01:00
André Hentschel c665c3c619 oleaut32: Reorder some code to make it easier to read and look like the block above. 2010-02-23 12:06:43 +01:00
André Hentschel 77acdcc016 oleaut32: Fix rounding. 2010-02-22 11:59:32 +01:00
Damjan Jovanovic 80dfd00530 oleaut32: Strip trailing decimal zeroes when rounding a number in VarFormat. 2009-05-14 17:22:34 +02:00
Damjan Jovanovic 560e76ee38 oleaut32: fix a rounding bug in VarFormat. 2009-05-13 12:02:38 +02:00
Michael Stefaniuc a3f8fd71e1 oleaut32: Remove superfluous pointer casts. 2009-02-09 14:37:23 +01:00
Ricardo Filipe 50c2cafea9 oleaut32: Fixed dead increment (llvm/clang). 2008-11-19 12:14:58 +01:00
Damjan Jovanovic 72faaf1273 oleaut32: Fix double negative sign regression in VarFormat. 2008-09-25 11:52:00 +02:00
Rob Shearman 0ac31924a1 oleaut32: Fix a typo in VarTokenizeFormatString.
The second 'q' should be upper case.
2008-09-17 12:13:14 +02:00
Damjan Jovanovic 506ff74bb1 oleaut32: Thousands separator support for VarFormat. 2008-08-26 12:07:40 +02:00
Damjan Jovanovic 05a2c56622 oleaut32: Fix negative number handling in VarFormat. 2008-08-25 12:36:26 +02:00
Jon Griffiths 6158db6055 oleaut32: Don't read past the digits array in VARIANT_FormatNumber. 2008-07-07 14:29:34 +02:00
Jon Griffiths 938ab8a633 Fix minor comment typos. 2008-07-07 14:26:08 +02:00
Andrew Talbot ba742868e5 oleaut32: Remove unused variables. 2008-04-23 12:23:27 +02:00
Austin English e8dbd66c23 oleaut32: Spelling fixes. 2008-04-14 21:28:38 +02:00
Alexandru Balut 90d8741d23 oleaut32: Implement VarWeekdayName + tests. 2007-12-05 13:46:42 +01:00
Andrew Talbot 26af24c905 oleaut32: Remove unused items. 2007-01-16 11:19:09 +01:00
Alex Villacís Lasso 68817c10ee oleaut32: varformat - Force LCID_US for conversion in VarFormatNumber. 2006-11-08 16:37:27 +01:00
Andrew Talbot 501e2dcc99 oleaut32: Cast-qual warnings fix. 2006-11-08 15:51:31 +01:00
Hans Leidekker ce66f5d684 oleaut32: Win64 printf format warning fixes. 2006-10-13 12:08:47 +02:00
Benjamin Arai 0227b8cba2 oleaut32: Removes extra string allocation for varformat:VarMonthName. 2006-08-04 12:04:19 +02:00
Benjamin Arai 0eed4603c5 oleaut32: VarMonthName - Update error codes and helper functions. 2006-07-28 12:56:45 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 93acfeb7f0 oleaut: Fix VarFormat for VT_NULL variants. 2006-03-06 11:09:54 +01:00
Michael Stefaniuc e47b813fc6 oleaut32: Define missing but useful VTBIT_* macros. 2006-01-16 21:32:24 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Marcus Meissner 7e08a24f83 Fixed FMT_DATE_GENERAL and FMT_DATE_TIME_SYS cases in
VARIANT_FormatDate.
2005-11-05 10:42:09 +00:00
Mike McCormack 93ab695a5c Fix gcc 4.0 warnings. 2005-08-26 08:53:31 +00:00
Michael Stefaniuc 0b1f8cdf4d - more VarFormat fixes for number formats (exponent, mixed '#' and '0'
in formats, rounding, etc). Simplify the code.
- previous VarFormat todo_wine tests pass now + add more tests
2005-06-23 09:48:07 +00:00
Michael Stefaniuc b9208137c1 - Fix VarFormat for formats that mix '0' and '#' in the whole number
part.
- Fix VarFormat for negative exponent formats.
- Add tests for the above + a couple of "todo_wine"'s.
2005-06-14 11:39:32 +00:00
Michael Stefaniuc 3b37099451 - implement handling of exponents (e+,e-,E+,E-) when parsing number
formats
- fix a small cut'n'paste error in the comments
2005-06-08 18:32:52 +00:00
Marcus Meissner e2511e195e Added VarMonthName() implementation. 2005-05-29 20:17:30 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Jason Edmeades 9638e02d7d Ensure digits are printable characters from oleaut32 Format command. 2004-08-26 00:28:37 +00:00
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Mike Hearn f349cbb72b Move variant code to its own debug channel. 2004-07-04 00:09:11 +00:00
Patrik Stridvall 8f9b09e947 Fixed some issues found by winapi_check. 2004-02-27 21:32:54 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +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