Commit Graph

454 Commits

Author SHA1 Message Date
Akihiro Sagawa c9f1489cab msvcrt: Implement _mbcjmstojis. 2012-03-16 11:11:07 +01:00
Akihiro Sagawa 0800572257 msvcrt: Add semi stub _mbcjmstojis implementation. 2012-03-16 11:10:54 +01:00
Akihiro Sagawa cf7479ca85 msvcrt: Add support for _flushall to clear all input buffer. 2012-03-14 12:59:11 +01:00
Akihiro Sagawa 1a01893c74 msvcrt: Add support for fflush to clear an input buffer. 2012-03-14 12:59:10 +01:00
Akihiro Sagawa 09a7f8c196 msvcrt/tests: Add tests for fflush on input stream. 2012-03-14 12:59:09 +01:00
Piotr Caban 79c19aef29 msvcrt: Fixed printf behaviour on hexadecimal, zero-padded numbers. 2012-03-13 10:26:05 +01:00
Piotr Caban c39793087d msvcrt: Handle negative file->_cnt value in _flsbuf function. 2012-02-07 09:32:20 -06:00
Dmitry Timoshkov 42157151d0 msvcrt: Add some tests for strftime/wcsftime. 2012-01-10 17:55:51 +01:00
Daniel Lehman 5a3695ccee msvcrt: Make WEOF returned from swscanf signed. 2012-01-06 19:24:16 +01:00
André Hentschel 825a25ef96 msvcrt/tests: Fix two test messages. 2011-12-27 16:55:06 +01:00
Piotr Caban 516a65a605 msvcrt/tests: Added _Gettnames tests. 2011-12-07 17:50:05 +01:00
Akihiro Sagawa 13aff6dc56 msvcrt: Fix wctob in C locale. 2011-12-01 14:16:30 +01:00
Piotr Caban cfca12e486 msvcrt: Use ismbcodepage instead of mb_cur_max in mbcodepage dependent functions. 2011-10-12 17:09:20 +02:00
Piotr Caban 8df606fea4 msvcrt: Fix wcsncpy_s implementation. 2011-10-04 16:54:04 -05:00
Frédéric Delanoy 3274475299 msvcrt/tests: Remove dead assignments (Clang). 2011-09-28 12:38:21 +02:00
Piotr Caban b7ea63118a msvcrt: Fix _vswprintf* arguments. 2011-09-05 19:57:47 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Austin English 1197b5e3e3 msvcrt/tests: Make sure to use return values. 2011-08-03 19:00:11 +02:00
Daniel Verkamp fcd04e5987 msvcrt/tests: Add test for _get_pgmptr. 2011-07-04 13:40:27 +02:00
Piotr Caban e398b93900 msvcrt: Improved tolower_l and toupper_l implementation. 2011-06-03 17:44:06 +02:00
Alexandre Julliard 0c45c8b58e msvcrt: Add support for function namespaces in symbol demangling. 2011-05-15 20:27:15 +02:00
Alexandre Julliard 5d12e970ff msvcrt: Add support for template operators in symbol demangling. 2011-05-15 20:26:36 +02:00
Alexandre Julliard 5e1b9c149e msvcrt: Add support for __ptr64 attribute in symbol demangling. 2011-05-15 17:39:28 +02:00
Nicolas Le Cam acbb7b817a msvcrt/tests: Avoid size_t in traces. 2011-05-02 12:42:08 +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 dbc8c07ba8 msvcrt/tests: Added fprintf tests. 2011-04-25 14:35:52 +02:00
Eric Pouech a42bf0134c msvcrt: ungetc must create a buffer, even if _IONBF has been set with setvbuf. 2011-04-25 11:39:57 +02:00
Eric Pouech dc9904a338 msvcrt: Added tests in fileops with different buffer management modes. 2011-04-25 11:39:54 +02:00
Piotr Caban f989011be2 msvcrt: Added wctob implementation. 2011-04-06 12:05:07 +02:00
Francois Gouget 709b42346a msvcrt/tests: Wine should not have trouble with the environ pointers so replace a few skip()s with win_skip()s. 2011-03-31 14:02:44 +02:00
Piotr Caban d5e3e9301a msvcrt/tests: Fix memory leaks (valgrind). 2011-03-31 12:31:47 +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
Konrad Rzepecki 332d5954ed msvcrt: Implement _mbslwr_s. 2011-03-29 12:19:37 +02:00
Konrad Rzepecki 0b3175cb24 msvcrt: Implement _mbsupr_s. 2011-03-29 12:19:30 +02:00
Nikolay Sivov 78dc7af9ce msvcrt: Add __daylight() call export. 2011-03-15 17:14:07 +01:00
Nikolay Sivov 0512829a27 msvcrt: Add _get_output_format() and return default value. 2011-03-09 12:30:30 +01:00
Nikolay Sivov 27e18b3bbc msvcrt: Added _wcslwr_s implementation. 2011-03-07 13:18:03 +01:00
Francois Gouget bf75229a04 msvcrt/tests: Add a trailing '\n' to an ok() call. 2011-03-07 11:09:00 +01:00
André Hentschel 188b3ae1b1 msvcrt/tests: Don't test function directly when reporting errno. 2011-02-25 11:05:17 +01:00
Marcus Meissner 706b43f4dd msvcrt: Use = instead of == in test (Coverity). 2011-02-24 12:40:14 +01:00
Jörg Höhle d9d4323137 msvcrt/tests: sizeof(long double) is 12 with MS. 2011-02-17 18:33:43 +01:00
Austin English a3c1d4550c msvcrt/tests: Remove useless assignment (LLVM/Clang). 2011-02-10 09:56:59 -06:00
Austin English 2164bb7a7f msvcrt/tests: Make sure return values are used (LLVM/Clang). 2011-02-08 13:42:14 -06:00
Nikolay Sivov 7a57f02b8d msvcrt: Implement _fcvt_s(). 2011-01-31 12:31:22 +01:00
Detlef Riekenberg 58786dc8ea msvcrt: Add private define and header tests for _set_error_mode options. 2011-01-28 17:41:51 +01:00
Nikolay Sivov 03ca06e791 msvcrt: Partially implement _set_abort_behavior. 2011-01-20 12:54:50 +01:00
Nikolay Sivov ad6bc94491 msvcrt: Add _atoflt and _atoflt_l implementations. 2011-01-19 12:22:27 +01:00
Andrew Nguyen 92fe8ef38e msvcrt/tests: Avoid embedding extended ASCII characters in locale string literals. 2011-01-17 15:57:07 +01:00
Greg Geldorp 725cb2f3c0 msvcrt/tests: Use different method to determine non-SBCS locale. 2011-01-17 13:23:25 +01:00
Eryk Wieliczko b74ef16d99 msvcrt/tests: Add _fcvt_s tests. 2010-12-23 13:47:10 +01:00
Francois Gouget f63cdea40a msvcrt/tests: Add a trailing '\n' to an ok() call. 2010-12-13 12:43:29 +01:00
Eryk Wieliczko a2af7ccd99 msvcrt/tests: Add _ecvt_s tests. 2010-12-10 15:46:09 +01:00
Alexandre Julliard 1ae23af85b include/msvcrt: Define more CPU control word flags. 2010-11-26 14:58:39 +01:00
Alexandre Julliard 45a8b643cd msvcrt/tests: Avoid sizeof in traces. 2010-11-17 15:08:03 +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 9df3f06cb9 msvcrt: Use macro for parameters validation itoa_s (and update the tests as well). 2010-11-12 11:59:39 +01:00
Eryk Wieliczko c9bd269db1 msvcrt: Fixed (_w)fopen_s with test. 2010-11-11 14:19:38 +01:00
Andrew Nguyen ed357e5ca6 msvcrt: Implement _ultoa_s. 2010-10-21 12:30:44 +02:00
Andrew Nguyen a622af49a7 msvcrt: Implement _mbsnbcat_s. 2010-10-21 12:30:35 +02: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
Andrew Nguyen 41ab825126 msvcrt: Implement _strlwr_s. 2010-10-11 17:11:38 +02:00
Andrew Nguyen bcfaf467b5 msvcrt: Implement _itoa_s. 2010-10-11 17:11:38 +02:00
Andrew Nguyen 6086610314 msvcrt: Implement _localtime32_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen e245cb52c6 msvcrt: Implement _localtime64_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen eb09472870 msvcrt: Initialize _wenviron in Unicode environment getter function. 2010-10-07 12:00:27 +02:00
Andrew Nguyen 797d6cb4e2 msvcrt/tests: Add tests for the __p__(w)environ accessors. 2010-10-07 12:00:27 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Andrew Nguyen 285e6d249f msvcrt: Initialize environ on DLL load. 2010-09-30 17:51:16 +02:00
Andrew Nguyen 67088eb34c msvcrt: Implement _set_doserrno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen ad68c0bd3c msvcrt: Implement _set_errno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen c3b127f566 msvcrt: Implement _get_doserrno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen 79ab715272 msvcrt: Implement _get_errno. 2010-09-28 17:33:15 +02:00
Andrew Nguyen b7a74d24f5 msvcrt: Implement strerror_s. 2010-09-28 17:33:15 +02:00
Alexandre Julliard bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Goujon 2c08a3fbc7 msvcrt: Properly fix setlocale and clean up tests. 2010-08-31 17:48:06 +02:00
Alexandre Goujon 7a1752013c msvcrt: string Avoid size_t in ok(). 2010-08-30 11:26:29 +02:00
Piotr Caban 3a25d7d9aa msvcrt: Added _gcvt_s implementation. 2010-08-27 12:06:43 +02:00
Piotr Caban 6467c8325f msvcrt: Added _gmtime32_s and _gmtime64_s implementation. 2010-08-27 12:06:00 +02:00
Piotr Caban 471bad1ee8 msvcrt: Added _strdate_s and _wstrdate_s implementation. 2010-08-27 12:05:42 +02:00
Piotr Caban 7d0c04d31c msvcrt: Added _strtime_s and _wstrtime_s implementation. 2010-08-27 12:05:10 +02:00
Alexandre Julliard c27aa289b7 msvcrt: Use the appropriate mangled names for operator new/delete on 64-bit. 2010-07-22 16:55:35 +02:00
Piotr Caban 9915dd03b4 msvcrt: Fixed strtod_l/wcstod_l implementation. 2010-07-22 16:11:02 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard a38ff8d7dd msvcrt/tests: Fix printf format warnings with ptrdiff_t. 2010-07-21 13:23:59 +02:00
Greg Geldorp 913c91fd47 msvcrt/tests: ecvt on Win9x and NT4 will corrupt memory if nrdigits < 0. 2010-07-19 14:49:07 +02:00
Alexandre Julliard d2cda58a1f msvcrt/tests: Add some alternative locale names that happen on Windows. 2010-07-09 11:38:08 +02:00
Andrew Nguyen 58dd97efcf msvcrt: Implement _wmakepath_s. 2010-06-25 12:49:57 +02:00
Andrew Nguyen 9628a0d3e4 msvcrt: Implement _makepath_s. 2010-06-25 12:49:44 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Francois Gouget 1f07f583cf msvcrt/tests: Make test_dup2() static. 2010-06-22 20:03:49 +02:00
Francois Gouget eb8ce091cb msvcrt/tests: Add a trailing '\n' to an ok() call. 2010-06-22 20:03:36 +02:00
Alexander Scott-Johns 5fd1409c6a msvcrt/tests: Rename a variable. 2010-06-17 14:07:15 +02:00
Alexander Scott-Johns f2229e6de0 msvcrt/tests: Move function pointer initialization code in printf.c into separate init function. 2010-06-09 16:12:37 +02:00
Alexander Scott-Johns d313c0b982 msvcrt/test: Add some simple _vsnwprintf_s tests. 2010-06-07 13:52:09 +02:00
Alexander Scott-Johns 4e8e2f39c5 include/msvcrt: Define _TRUNCATE; use it in the tests. 2010-06-07 13:51:49 +02:00
Alexander Scott-Johns b205fd8108 msvcrt/tests: Properly skip if functions are not available. 2010-06-07 13:51:24 +02:00
Robert Wilhelm 620af69d88 msvcrt: Support system(NULL). 2010-05-28 16:22:26 +02:00