Commit Graph

74 Commits

Author SHA1 Message Date
Detlef Riekenberg 1ac1633161 msvcrt: Fix wrong msvcr90 in comments. 2010-04-28 15:04:39 -05:00
Piotr Caban 6c0e61cd65 msvcrt: Added wcstombs_s implementation. 2010-04-27 13:04:57 -05:00
Piotr Caban 0ec1635172 msvcrt: Added _wcstoi64 and _wcstoui64 implementation. 2010-04-27 13:04:52 -05:00
Piotr Caban 6974abe0e6 msvcrt: Use wcstod_l/strtod_l in other functions that parses doubles. 2010-04-26 09:07:44 -05:00
Piotr Caban f7197663c9 msvcrt: Added wcstod_l implementation.
It's almost a copy of strtod_l.
2010-04-26 09:07:30 -05:00
Piotr Caban c483bebe2b msvcrt: Added swprintf_s implementation. 2010-04-21 11:07:45 +02:00
Piotr Caban 97bad69184 msvcrt: Added implementations of _vswprintf* functions. 2010-04-19 15:10:55 +02:00
Piotr Caban 743e6ba688 msvcrt: Added _vsnwprintf* implementation. 2010-04-19 15:10:44 +02:00
Piotr Caban 85fa2ee53c msvcrt: Added _vsnprintf* implementation. 2010-04-19 15:10:26 +02:00
Piotr Caban 09a32152d5 msvcrt: Add parameters to mimic *_s function behaviour in pf_vsnprintf. 2010-04-19 15:10:14 +02:00
Piotr Caban 419f902546 msvcrt: Format strings according to specified locale in pf_vsnprintf. 2010-04-19 15:10:04 +02:00
Piotr Caban 903c524d43 msvcrt: Added _iswalpha_l implementation. 2010-04-08 12:38:56 +02:00
Piotr Caban b90320652d msvcrt: Rename functions conflicting with mingw headers. 2010-03-29 15:50:19 +02:00
Jason Edmeades 97194ec070 msvcrt: Add support for sprintf_s. 2010-01-11 12:19:34 -06:00
Jason Edmeades a2d4e5cb5d msvcrt: Add support for vsprintf_s. 2010-01-11 12:19:30 -06:00
Marcus Meissner 4da51e087d msvcrt: Remove unnecessary NULL check (Coverity). 2009-12-04 14:34:58 +01:00
Andrew Nguyen 1eb0775670 msvcrt: Implement and test _wcsupr_s. 2009-11-16 17:06:16 +01:00
Andrew Nguyen 15b0087d6e msvcrt: Remove dead code in wcscpy_s. 2009-08-10 13:11:02 +02:00
Hans Leidekker 0803575fd3 msvcrt: Implement _vscprintf and _vscwprintf. 2009-03-26 16:12:15 +01:00
Alexandre Julliard a494b13abe msvcrt: Avoid size_t in printf format. 2009-01-08 13:12:24 +01:00
Alexandre Julliard 07ca8f4f8f msvcrt: Convert all the printf functions to use MS ABI varargs. 2009-01-03 11:38:25 +01:00
Alexandre Julliard 34f2487163 msvcrt: Fix formatting of pointers in printf. 2009-01-02 21:33:33 +01:00
Andrew Talbot 4c3d27dfee msvcrt: Sign-compare warnings fix. 2008-10-22 13:54:53 +02:00
Eric Pouech 6a77a36b24 msvcrt: Implemented vswprintf_s. 2008-10-21 11:45:54 +02:00
Eric Pouech 07c80924eb msvcrt: Implemented wcscat_s. 2008-10-13 11:55:55 +02:00
Eric Pouech 096991428f msvcrt: Implemented wcsncpy_s. 2008-10-06 14:11:53 +02:00
Jon Griffiths 8e86162be5 msvcrt: Fix exponents in *printf family. 2008-07-16 20:10:28 +02:00
Jon Griffiths b86915382d msvcrt: Follow Vista behaviour in wcscpy_s. 2008-05-27 19:37:09 +02:00
Alistair Leslie-Hughes 00609d5e78 msvcrt: Implement wcscpy_s. 2008-02-27 14:52:26 +01:00
Alexandre Julliard 1f5a4a8046 msvcrt: Get rid of the now unused strndup/wstrndup functions. 2007-07-27 12:18:44 +02:00
Michael Stefaniuc bbe9c51b31 msvcrt: Fix *printf() handling of negative field width. 2007-02-05 12:26:10 +01:00
Sam Dennis 48c006621d msvcrt: Use the custom vsnprintf implementation for msvcrt.vsprintf too. 2006-11-15 11:25:00 +01:00
Jesse Allen 5b75c86921 msvcrt: Estimate required buffer size better in pf_vsnprintf. 2006-11-14 11:37:31 +01:00
Jesse Allen fa8656f841 msvcrt: Free correct buffer in pf_vsnprintf. 2006-11-14 11:35:42 +01:00
Alexandre Julliard 24beabfd4e msvcrt: Explicitly specify CDECL calling convention on exported functions. 2006-06-13 11:40:23 +02:00
Andrew Talbot 5ebf4f5b4e msvcrt: Write-strings warnings fix. 2006-06-06 11:29:41 +02: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 a17b2c1cd2 msvcrt: Use the msvcrt version of printf everywhere. 2006-01-24 12:21:58 +01: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
Alexandre Julliard 2ec3b96135 msvcrt: Make strtok and wcstok thread-safe by using the per-thread data. 2006-01-14 17:24:49 +01:00
Jesse Allen 419d493aac msvcrt: pf_integer_conv for I64.
- Add pf_integer_conv and pf_is_integer_format.
- Update pf_fill to handle printing the sign for signed integers.
- Handle I64 integer sizes using pf_integer_conv and pf_output_format_A.
2005-12-26 13:01:38 +01:00
Jesse Allen ee058ed078 msvcrt: Do not treat %ll as an IntegerDouble in printf. 2005-12-26 13:00:35 +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 cbe3fb6922 Use the correct buffer - reported by Jesse Allen. 2005-10-28 09:40:16 +00:00
Mike McCormack 990e537ac5 Missing and zero precision specifiers are different. 2005-10-27 10:20:08 +00:00
Marcus Meissner 222d74ae27 char pointer must be 11 byte to fit 10 characters + \0. 2005-07-03 11:19:29 +00:00