Piotr Caban
679542419a
msvcrt: Add _wcstol_l implementation.
2013-07-29 15:00:26 +02:00
Piotr Caban
6457163bb2
msvcrt: Add _wctomb_s_l implementation.
2013-07-27 11:50:56 -05:00
Piotr Caban
c66d94bfd9
msvcrt: Added _wcsicmp_l implementation.
2013-06-25 18:12:12 +02:00
Jactry Zeng
5af20ef180
msvcrt: Added _wcsnicoll_l implementation.
2013-04-01 14:41:03 +02:00
Jactry Zeng
d2763e43d1
msvcrt: Added _wcsicoll_l implementation.
2013-04-01 14:40:49 +02:00
Jactry Zeng
dafa7611e9
msvcrt: Added _wcscoll_l implementation.
2013-04-01 14:40:21 +02:00
Jactry Zeng
2f425fb832
msvcrt: Added _wcsncoll and _wcsncoll_l implementation.
2013-03-29 17:52:19 +01:00
Piotr Caban
12b8c9671e
msvcrt: Update spec file with functions added in newer version of the dll.
2013-03-28 18:54:26 +01:00
Piotr Caban
8f9b0abf72
msvcrt: Added _wcstoul_l implementation.
2013-03-27 20:12:29 +01:00
Piotr Caban
9e32259457
msvcrt: Don't forward wcsncpy to ntdll.
2013-03-27 20:12:29 +01:00
Piotr Caban
975801cceb
msvcrt: Don't forward towupper and towlower to ntdll.
2013-03-27 20:12:29 +01:00
Piotr Caban
06c6773844
msvcrt: Added _wtol_l implementation.
2013-03-27 20:12:29 +01:00
Piotr Caban
5c03a35f7a
msvcrt: Don't forward _wtoi to ntdll.
2013-03-27 20:12:29 +01:00
Piotr Caban
0ffc970aa4
msvcrt: Don't forward _wcsicmp to ntdll.
2013-03-27 20:12:29 +01:00
Akihiro Sagawa
0010ee021a
msvcrt: Fix incorrect casts in _wcstoi64_l and _wcstoui64_l.
2013-03-11 10:41:09 +01:00
Piotr Caban
1f784a1001
msvcrt: Use CompareString in wcscoll functions.
2012-12-18 12:38:48 +01:00
Andrew Talbot
4c191378e9
msvcrt: Indentation fix.
2012-12-18 12:35:14 +01:00
Piotr Caban
3acb238f15
msvcrt: Added _wtoi_l implementation.
2012-12-12 12:00:41 +01:00
Piotr Caban
c0ce611ebd
msvcrt: Added wcrtomb implementation.
2012-11-30 11:43:03 +01:00
Piotr Caban
505e5a162f
msvcrt: Improved _wcstod_l precision.
2012-11-06 16:02:35 +01:00
Michael Stefaniuc
0409b9895c
msvcrt: Aoid TRUE:FALSE conditional expressions.
2012-08-13 17:29:40 +02:00
Alexandre Julliard
06989a0483
msvcrt: Make sure that errno is always set when calling the invalid parameter handler.
2012-07-26 11:05:32 +02:00
Piotr Caban
dc830aa640
msvcrt: Rework wcsncpy_s to work on overlapping pointers.
2012-04-24 19:12:51 +02:00
Piotr Caban
a80aec4c56
msvcrt: Added support for _TRUNCATE flag in wcsncpy_s.
2012-04-12 20:39:15 +02:00
Daniel Lehman
08aa6ae52d
msvcrt: Add _snwprintf_l.
2012-01-09 12:52:17 +01:00
Akihiro Sagawa
13aff6dc56
msvcrt: Fix wctob in C locale.
2011-12-01 14:16:30 +01:00
Piotr Caban
45b4b4205a
msvcrt: Added _iswdigit_l implementation.
2011-10-06 16:46:40 -05:00
Piotr Caban
8df606fea4
msvcrt: Fix wcsncpy_s implementation.
2011-10-04 16:54:04 -05:00
Piotr Caban
af6fd252ef
msvcr90: Fix _vswprintf_p implementation.
2011-09-20 16:21:40 +02:00
Piotr Caban
0c14dc5330
msvcrt: Added vscwprintf_{l,p_l} functions implementation.
2011-08-01 18:26:26 +02:00
Piotr Caban
62a5540259
msvcrt: Fixed vswprintf* exports.
2011-07-29 15:33:49 +02:00
Piotr Caban
a8c6fda501
msvcrt: Fix uninitialized memory access in wcsrtombs_l implementation (valgrind).
2011-07-28 18:37:39 +02:00
Piotr Caban
f9de4eef75
msvcrt: Fix mingw compilation issues.
2011-06-03 17:44:06 +02:00
Piotr Caban
6991ac0331
msvcrt: Use get_locinfo instead of get_locale.
2011-05-25 11:45:42 +02:00
Piotr Caban
ddad22d037
msvcrt: Fix return values in wcstombs and wcsrtombs functions.
2011-05-16 16:36:10 +02:00
Piotr Caban
69ea5768a6
msvcrt: Added _towupper_l and _towlower_l implementation.
2011-05-12 14:26:07 +02:00
Piotr Caban
64cf208040
msvcrt: Don't pass NULL as __ms_va_list in printf implementation.
2011-05-11 17:49:16 +02:00
Francois Gouget
ca268b199a
msvcrt: Make printf_arg arg_clbk_positional() and MSVCRT_wcsrtombs_s_l() static.
2011-05-03 14:38:06 +02:00
Piotr Caban
6ecabf7cae
msvcrt: Added _set_printf_count_output and _get_printf_count_output implementation.
2011-04-28 11:08:06 +02:00
Piotr Caban
168909283c
msvcrt: Added wcsrtombs implementation.
2011-04-28 11:07:46 +02:00
Piotr Caban
00182ca6d9
msvcrt: Added sprintf_p_l implementation.
2011-04-27 13:18:59 +02:00
Piotr Caban
c09f9ef498
msvcrt: Removed pf_vnsprintf internal function.
2011-04-25 14:36:42 +02:00
Piotr Caban
bfc2f5f2a5
msvcrt: Use callback based printf in sprintf functions family.
2011-04-25 14:36:36 +02:00
Piotr Caban
7303b8c4db
msvcrt: Use callback based printf in cprintf functions family.
2011-04-25 14:36:26 +02:00
Piotr Caban
056dfb26ce
msvcrt: Copy and reorganize printf implementation.
2011-04-25 14:36:19 +02:00
Piotr Caban
f989011be2
msvcrt: Added wctob implementation.
2011-04-06 12:05:07 +02:00
Andrew Nguyen
5c57185060
msvcrt: Ensure that old buffer contents are copied when allocating a growable pf_output buffer for the first time.
2011-04-04 16:12:37 +02:00
Piotr Caban
da4ed47076
msvcrt: Correctly terminate string in wcsncat_s.
2011-03-30 18:59:23 +02:00
Piotr Caban
fdffe548f1
msvcrt: Added space for nullbyte in size returned by wcstombs_s and mbstowcs_s.
2011-03-30 18:59:22 +02:00
Nikolay Sivov
46ae113e71
msvcrt: Added partially complete _wcsupr_s_l (without locale support).
2011-03-07 13:18:19 +01:00
Nikolay Sivov
27e18b3bbc
msvcrt: Added _wcslwr_s implementation.
2011-03-07 13:18:03 +01:00
Mike Gibson
23906816d8
msvcrt: Implement wcsnicoll.
2010-12-05 16:45:43 +01:00
Eric Pouech
d38196a0ff
msvcrt: Use the macros for parameter checking for wcsncat_s (and fix the test).
2010-11-16 12:02:00 +01:00
Eric Pouech
7d384d23f8
msvcrt: For internal msvcrt use, added ability to grow automatically the size of the buffer in printf core engine.
2010-11-08 18:12:57 +01:00
Eric Pouech
4b6d5fd583
msvcrt: Implemented wcstok_s.
2010-11-03 11:08:56 +01:00
Eric Pouech
5d4de2ac45
msvcrt: Use parameter checking macros in vsn(w)printf_s_l.
2010-11-01 12:35:55 +01:00
Eric Pouech
4c337fb491
msvcrt: Use parameter checking macros in wcstombs_s_l.
2010-11-01 12:35:45 +01:00
Eric Pouech
16c89a543a
msvcrt: Use parameter checking macros for wcsto{number} functions.
2010-11-01 12:35:34 +01:00
Damjan Jovanovic
b39c59e75d
msvcrt: Improve wcsncat_s.
2010-10-19 10:15:38 +02:00
Damjan Jovanovic
302d63a225
msvcrt: Implement wcsncat_s.
2010-10-18 19:47:49 +02:00
Hans Leidekker
23fdfbc392
msvcrt: Implement wcsnlen.
2010-09-29 10:11:48 +02:00
Piotr Caban
120346da88
msvcrt: Added 'll' modifier to printf functions.
2010-09-23 17:50:12 +02:00
Piotr Caban
600fa766f3
msvcrt: Added _scprintf implementation.
2010-08-27 12:06:12 +02:00
Piotr Caban
9915dd03b4
msvcrt: Fixed strtod_l/wcstod_l implementation.
2010-07-22 16:11:02 +02:00
Nikolay Sivov
97807760ca
msvcrt: Add _scwprintf implementation.
2010-06-11 11:36:39 +02:00
Nikolay Sivov
1a234159fe
msvcrt: Add _snwprintf_s implementation.
2010-06-11 11:36:35 +02:00
Nikolay Sivov
59bddde594
msvcrt: Add _snprintf_s implementation.
2010-06-11 11:36:30 +02:00
Alexander Scott-Johns
d56113cd4f
msvcrt: The sizeOfBuffer argument of _vsnwprintf_s is measured in wide characters, not bytes.
2010-06-07 13:51:55 +02:00
Alexander Scott-Johns
2663079c60
msvcrt: Rename _TRUNCATE to MSVCRT__TRUNCATE.
2010-06-07 13:51:34 +02:00
Alexander Scott-Johns
19bff6bda5
msvcrt: Fix comments.
2010-06-07 13:49:18 +02:00
Piotr Caban
6f358ef867
msvcrt: Fix wcstombs_l implementation.
2010-05-24 11:25:09 +02:00
Piotr Caban
117faee955
msvcrt: Fix strtod and wcstod implementation.
2010-05-10 10:08:57 +02:00
Piotr Caban
335c9772ec
msvcrt: Fixed wcstombs(_s_l) implementation.
2010-05-06 15:20:11 +02:00
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
f438056b5d
Interpret %% correctly in printf format string.
2005-05-10 08:27:38 +00:00
Rein Klazes
b6d331d680
Fix decoding printf format in case the field width specifier is a '*'.
2005-04-14 11:32:53 +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
Dimitrie O. Paun
0377462460
Split the MSVCRT implementation headers from the public headers.
...
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Mike McCormack
db0d0bb39b
Copy the vsnprintfW implementation from libunicode.so to msvcrt and
...
add a handler for the %S flag. That requires a conversion to unicode
and knowledge of the current ASCII code page.
2004-06-02 00:35:09 +00:00
Dave Belanger
9a05e1fd41
wcstod: added exponent parsing and fixed handling of negative sign.
2004-04-08 19:48:19 +00:00
Jon Griffiths
d051a95b26
A first stab at wcstod().
2003-09-23 22:50:30 +00:00
Dmitry Timoshkov
ad068bc0c2
Move vsnwprintf implementation to libwine_unicode, export snprintfW
...
and vsnprintfW from there, forward MSVCRT and NTDLL functions to
libwine_unicode.
2003-03-12 22:30:16 +00:00
Thomas Mertes
657ca8a873
Forward to the ntdll functions _itoa, _ltoa, _ultoa, _i64toa,
...
_ui64toa, _itow, _ltow, _ultow, _i64tow, _ui64tow, _atoi64, _wtoi,
_wtol, _wtoi64 from msvcrt / msvcrt20.
2003-03-12 20:17:03 +00:00
Alexandre Julliard
5f31b32946
Use MSVCRT_wchar_t instead of WCHAR so that the implementation matches
...
the prototypes.
2002-12-19 04:21:30 +00:00
John K. Hohm
45b94449e6
Fix msvcrt._vsnwprintf format reading bug like NTDLL_vsnwprintf.
2002-05-20 18:02:47 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
bd1689ec0a
Don't include debugtools.h in the header file, moved it to the C files
...
that need it (and used the new wine/debug.h while we are at it).
2002-01-22 00:57:16 +00:00
Alexandre Julliard
22c2ac7273
Implemented inline version of the iswxxx functions.
2001-11-08 19:16:34 +00:00
Patrik Stridvall
6ac110836b
Removed implementation of _ultow since it is forwarded to NTDLL in the
...
.spec file.
2001-06-19 03:44:39 +00:00
Ove Kaaven
e188fda25f
Handle the %f case in wsprintf.
2001-04-16 19:00:42 +00:00
Francois Gouget
e7f75c5dfb
Include the msvcrt headers, remove duplicate definitions.
...
Fixed the signature of a few functions.
Don't use wcs* functions, use *W (from unicode.h) instead.
2001-04-10 23:25:25 +00:00
Francois Gouget
203a8f8290
Adjust the 'MSVCRT_' prefix to match the msvcrt headers
...
Prefix internal methods with 'msvcrt_' instead of 'MSVCRT_', '__MSVCRT_', etc.
Remove '_cdecl', it's unnecessary
2001-04-10 21:16:07 +00:00
James Juran
d537d09b9c
Use int instead of WCHAR in va_arg() (fixes gcc-current compilation
...
problem).
2001-01-22 19:26:42 +00:00
Jon Griffiths
34c786b2db
- New msvcrt unicode functions, winapi_check/-Wall/-W clean.
...
- Forward to ntdll where possible.
- Fix some .spec entries with incorrect parameters.
2001-01-22 02:21:54 +00:00
Jon Griffiths
1db20bfd33
- Migrate CRTDLL to MSVCRT.
...
- Many fixes and a load of new functions.
2001-01-10 23:59:25 +00:00