Commit Graph

21 Commits

Author SHA1 Message Date
Francois Gouget f793221f0f msvcrt/tests: When compiling with Visual C++ 2005, one must define _CRT_NON_CONFORMING_SWPRINTFS otherwise swprintf() takes an extra parameter. 2007-05-22 11:59:56 +02:00
Michael Stefaniuc bbe9c51b31 msvcrt: Fix *printf() handling of negative field width. 2007-02-05 12:26:10 +01:00
Andrew Talbot 9317377fb8 msvcrt/tests: Cast-qual warnings fix. 2006-12-12 12:11:12 +01:00
Jesse Allen a697fe51e0 msvcrt: printf buffer overrun tests. 2006-11-14 11:37:40 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Peter Beutner bc83ae9fda msvcrt: Fix handling of 'h' prefix in swprintf.
- '%hs' in widechar string functions is wrongly recognized as
  a widechar string. Fix this by always checking the prefix first.
- add testcase
- remove code duplication in %c/%s handling by moving code into a function.
2006-05-16 20:21:44 +02:00
Alexandre Julliard ee603ce6dd msvcrt: Make snprintf and snwprintf use the msvcrt version of printf.
Remove todos from tests that succeed now.
2006-01-14 17:30:02 +01:00
Jesse Allen c5dc38874a msvcrt: More printf tests for I64 integer size support. 2005-12-26 13:01:49 +01:00
Jesse Allen 6c70942a05 msvcrt: Parse I, I32, and I64 integer size flags in printf. 2005-12-26 13:00:01 +01:00
Jesse Allen 180326bb0a msvcrt: Fix printf sign flags.
Fix the printf sign flags so that '+' doesn't always override ' '
space alone.  If they both appear, continue parsing and let '+' take
precedence.
2005-12-21 20:07:03 +01:00
Jesse Allen 39b725b799 msvcrt: Ignore PadZero when LeftAlign is true in printf conversions. 2005-12-20 11:49:05 +01:00
Jesse Allen 5c6311688c msvcrt: Require exact uppercase and lowercase format in printf routines. 2005-12-19 21:26:46 +01:00
Mike McCormack d160c8b926 Add some tests for _fcvt. 2005-11-24 19:23:10 +01:00
Vijay Kiran Kamuju ecc633adb7 Added a test case for %0f and %.0f. 2005-10-27 12:25:18 +00:00
6cfcda9959 Add test for correctly interpreting %% printf format string conversion
specifier.
2005-05-11 12:00:34 +00:00
Mike McCormack 5def7dd337 Handle %ls in sprintf. 2005-03-05 10:46:46 +00:00
Mike McCormack 5b4327515e Handle the printf %F format modifier. 2005-03-04 10:47:27 +00:00
Uwe Bonnes 0fb9ef68f3 Advance over * argument for precision.
Honor precision argument for strings.
2005-02-25 19:16:46 +00:00
Mike McCormack 2cc5f1e469 Add handling of %ws, %S and %C to _vns(w)printf, improve sprintf
tests.
2005-02-14 20:53:42 +00:00
Eric Pouech d3b39fe3f2 Fixed file name when opening NUL. 2004-11-28 15:01:50 +00:00
Aneurin Price 97cc28ff0f - Move printf tests from scanf.c to printf.c (and fix one on the
way).
- Add some more.
2004-11-04 21:03:30 +00:00