Commit Graph

1582 Commits

Author SHA1 Message Date
Piotr Caban 2ca9a73a31 msvcrt: Rewrite wasctime function. 2012-04-11 18:20:34 +02:00
Piotr Caban 0f7c834bd1 msvcrt: Rewrite asctime function. 2012-04-11 18:20:14 +02:00
Alexandre Julliard 04ccf4f100 msvcrt: Use macros to define exception type info structures. 2012-04-04 20:47:06 +02:00
Alexandre Julliard 6bb9f20090 msvcrt: Use macros to define RTTI data. 2012-04-04 20:17:44 +02:00
Robert van Herk 516bb0ba64 msvcrt: Fix file mode T (temporary file). 2012-03-28 11:47:13 +02:00
Akihiro Sagawa ece5d712f6 msvcrt: Fix _mbsnbcmp and _mbsnbicmp implementation. 2012-03-26 18:15:33 +02:00
Akihiro Sagawa 7535b367dd msvcrt: Fix _mbcjistojms off by one error. 2012-03-26 18:15:33 +02:00
Akihiro Sagawa c1558bb7ef msvcrt/tests: Add more tests for _mbcjistojms. 2012-03-26 18:15:32 +02:00
Akihiro Sagawa 9085a2e54c msvcrt/tests: Rewrite test_mbcjisjms to test in various codepages. 2012-03-26 18:15:32 +02:00
Akihiro Sagawa 578d85f320 msvcrt: Improve _mbbtombc to handle Japanese characters. 2012-03-26 18:15:31 +02:00
Akihiro Sagawa d3e9665001 msvcrt: Add test for _mbbtombc. 2012-03-26 18:15:31 +02:00
André Hentschel 36217c208f msvcrt: Fix a typo. 2012-03-26 12:41:27 +02:00
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
Alexandre Julliard 881374ee96 msvcrt: Add entry points for the C++ exception functions on x86_64. 2012-03-16 11:00:01 +01:00
Alexandre Julliard b8467c5f69 msvcrt: Add a new file for the x86_64 exception handling. 2012-03-16 10:58:08 +01:00
Alexandre Julliard 89b2dd08ff msvcrt: Move more i386-specific exception code to except_i386.c. 2012-03-16 10:53:21 +01:00
Alexandre Julliard aba6423b83 msvcrt: Create an i386-specific file for exception handling. 2012-03-16 10:52:10 +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 58d6a9a331 msvcrt: Add a helper function to flush all buffers. 2012-03-14 12:59:10 +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
Eric Pouech f8b29a0685 msvcrt: Fix TRACE format modifier for wfreopen. 2012-02-06 10:19:32 -06:00
Dmitry Timoshkov 42157151d0 msvcrt: Add some tests for strftime/wcsftime. 2012-01-10 17:55:51 +01:00
Daniel Lehman 08aa6ae52d msvcrt: Add _snwprintf_l. 2012-01-09 12:52:17 +01:00
Daniel Lehman 85559848ff msvcrt: Sync _wtempnam with _tempnam. 2012-01-09 12:52:16 +01:00
Alexandre Julliard 446a6b3556 msvcrt: Use the correct type for findnext64. 2012-01-06 21:57:38 +01:00
Alexandre Julliard 2a1ce301fa msvcrt: Don't name a local variable 'errno'. 2012-01-06 21:48:56 +01:00
Daniel Lehman 5a3695ccee msvcrt: Make WEOF returned from swscanf signed. 2012-01-06 19:24:16 +01:00
Marcus Meissner b057a3e898 msvcrt: Mark various internal functions as hidden. 2012-01-03 12:37:32 +01:00
Piotr Caban 17f0ee4622 msvcrt: NULL terminate strings returned by _Getdays and _Getmonths. 2011-12-28 17:50:11 +01:00
André Hentschel 825a25ef96 msvcrt/tests: Fix two test messages. 2011-12-27 16:55:06 +01:00
Piotr Caban 283c07b8ce msvcp90: Added ctype<char>::tolower functions implementation. 2011-12-21 18:05:47 +01:00
Alexandre Julliard 88d632aec3 msvcrt: Fix formatting of pointers in printf. 2011-12-21 16:05:04 +01:00
Piotr Caban 516a65a605 msvcrt/tests: Added _Gettnames tests. 2011-12-07 17:50:05 +01:00
Piotr Caban d82dd2a4db msvcrt: Added _Getmonths implementation. 2011-12-07 17:50:05 +01:00
Piotr Caban 7a43f0cb8f msvcrt: Added _Getdays implementation. 2011-12-07 17:50:05 +01:00
Piotr Caban 4bb1e9c32a msvcrt: Added _Gettnames implementation. 2011-12-07 17:50:04 +01:00
Piotr Caban 344883fb85 msvcrt: Initialize lc_time_curr inside create_locale. 2011-12-07 17:50:04 +01:00
Piotr Caban dbff7a1ca2 msvcrt: Fix lc_collate_cp initialization. 2011-12-06 15:51:00 +01:00
Piotr Caban f84858ac2c msvcrt: Added _get_current_locale implementation. 2011-12-06 15:51:00 +01:00
Akihiro Sagawa 28184600e7 msvcrt: Add validity checks for _mbstrlen_l. 2011-12-01 14:17:35 +01:00
Akihiro Sagawa 13aff6dc56 msvcrt: Fix wctob in C locale. 2011-12-01 14:16:30 +01:00
Akihiro Sagawa f9403bfb90 msvcrt: Use given locale info in _mbtowcs_l. 2011-12-01 14:15:12 +01:00
André Hentschel f012242037 msvcrt: Implement _wasctime_s. 2011-11-30 17:04:39 +01:00
André Hentschel 35722cb4ce msvcrt: Implement asctime_s. 2011-11-30 17:04:35 +01:00
Eric Pouech d7bc2eff2f msvcrt: Implemented _ultow_s. 2011-11-29 13:23:47 +01:00
Piotr Caban 66520ea08a msvcrt: Fix FILE critical section initialization. 2011-11-24 20:57:01 +01:00
Piotr Caban 3fe5e6ee8a msvcrt: Keep FILE critical section initialized after closing file. 2011-11-23 14:14:39 +01:00
Frédéric Delanoy 520a92de33 msvcrt: Avoid hardcoding array lengths. 2011-11-23 09:11:22 +01:00
Francois Gouget d78bfe1149 msvcrt: Statically initialize and name the MSVCRT_file_cs critical section. 2011-11-16 17:02:10 +01:00
Piotr Caban 764b85511c msvcrt: Don't use fputc in flsbuf implementation. 2011-11-16 17:01:09 +01:00
Piotr Caban e4ac347075 msvcrt: Don't hold FILE critical section in some functions. 2011-11-15 19:37:37 +01:00
André Hentschel 947d1bf588 msvcrt: Implement _wfreopen_s. 2011-11-15 11:48:38 +01:00
André Hentschel ba5b0c34a8 msvcrt: Implement freopen_s. 2011-11-15 11:48:24 +01:00
Francois Gouget f2043352d1 msvcrt: Give a name to the critical sections. 2011-11-14 20:15:33 +01:00
Francois Gouget 8eef0cc258 dlls: Remove unneeded include directives in resource files. 2011-11-14 15:25:23 +01:00
Thomas Faber e374c8fe46 msvcrt: Fix MSVC build in locale.c. 2011-11-07 11:29:49 +01:00
Thomas Faber 5402827329 msvcrt: Fix MSVC build in exit.c and msvcrt.h. 2011-11-07 11:29:43 +01:00
Piotr Caban 698afdca98 msvcrt: Don't search for LCID in _setmbcp_l if it was already done. 2011-10-26 17:07:05 +02:00
Frédéric Delanoy 7bfe648666 msvcrt: Avoid superfluous cast of MSVCRT_malloc return value. 2011-10-21 12:31:36 +02:00
Piotr Caban 0bb641ad59 msvcrt: Initialize all ctype fields. 2011-10-18 18:29:19 +02:00
Marcus Meissner cd51c797f3 msvcrt: Use correct sizeof to realloc (Coverity). 2011-10-18 15:16:17 +02:00
Marcus Meissner 6ca6464cf3 msvcrt: Replaced bad memcpy by strcpy (Coverity). 2011-10-17 17:45:05 +02:00
Piotr Caban 922ae2e268 msvcrt: Fix handling of locales without region in MSVCRT_locale_to_LCID. 2011-10-14 13:12:28 +02:00
Piotr Caban 95f3be6573 msvcrt: Added missing calling convention specification. 2011-10-14 13:12:28 +02:00
Piotr Caban fea69b2305 msvcrt: Don't duplicate _setmbcp functionality inside _create_locale function. 2011-10-13 19:57:19 +02:00
Piotr Caban 99579ca42a msvcrt: Added _mbtowc_l implementation. 2011-10-12 17:09:34 +02:00
Piotr Caban 0f53100ade msvcrt: Move _pctype definition to locale.c. 2011-10-12 17:09:30 +02:00
Piotr Caban c32d4e8840 msvcrt: Use _ismbblead instead of _isleadbyte in mbcodepage dependent functions. 2011-10-12 17:09:25 +02: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 c9cdb55066 msvcrt: Handle C locale in _setmbcp. 2011-10-12 17:09:12 +02:00
Piotr Caban cf27cb4927 msvcrt: Don't overwrite mbcinfo inside setlocale. 2011-10-12 17:09:07 +02:00
Andrew Talbot 5f16eb9c48 msvcrt: Remove a superfluous semicolon. 2011-10-08 19:47:23 +02:00
Andrew Talbot 2df8dced84 msvcrt: Mark some fall-throughs in a switch statement. 2011-10-08 17:40:18 +02:00
Piotr Caban 45b4b4205a msvcrt: Added _iswdigit_l implementation. 2011-10-06 16:46:40 -05:00
Piotr Caban c867f3324e msvcrt: Free fd entries with incorrect HANDLE value. 2011-10-06 16:46:40 -05:00
Piotr Caban 190c67c70e msvcrt: Fix __pioinfo block size. 2011-10-06 16:46:40 -05: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 af6fd252ef msvcr90: Fix _vswprintf_p implementation. 2011-09-20 16:21:40 +02:00
Francois Gouget 7da4305aec msvcrt: Fix printing NULL strings. 2011-09-20 16:21:39 +02:00
Piotr Caban 45dc6c0e22 msvcrt: Improve operator new implementation. 2011-09-13 11:27:45 +02:00
Piotr Caban b7ea63118a msvcrt: Fix _vswprintf* arguments. 2011-09-05 19:57:47 +02:00
Andrew Talbot dce81b9465 msvcrt: Constify some variables. 2011-08-23 16:53:53 +02:00
Andrew Talbot fb3b28f013 msvcrt: void functions should not return a value. 2011-08-22 16:14:31 +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
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +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 d7b5c0b14f msvcrt: Fix %f format handling in printf so it works with big floats. 2011-07-26 16:33:40 +02:00
Piotr Caban 5e9ee3b909 msvcrt: Fixed tmpnam and _wtmpname implementation. 2011-07-26 16:33:04 +02:00
Daniel Verkamp fcd04e5987 msvcrt/tests: Add test for _get_pgmptr. 2011-07-04 13:40:27 +02:00
Daniel Verkamp 1357589eca msvcrt: Add _get_pgmptr and _get_wpgmptr. 2011-07-04 13:39:58 +02:00
Damjan Jovanovic c28baa7b96 msvcrt: The time passed to utime functions can be NULL. 2011-06-20 19:32:02 +02:00
Piotr Caban e5f68408ed msvcrt: Avoid deadlock when _beginthread is executed inside loader critical section. 2011-06-20 19:32:02 +02:00
Piotr Caban 4debdd6ac8 msvcrt: Fix __p__pctype implementation. 2011-06-20 11:28:12 +02:00
Marcus Meissner 034c2cb3fd mscvrt: Do not shadow fmt (Coverity). 2011-06-14 15:24:55 +02:00
Piotr Caban 34ed6b0dbc msvcrt: Fix broken exports in spec file. 2011-06-08 14:12:41 +02:00
Piotr Caban ab9077d640 msvcrt: Fixed buffer overflow in snprintf functions family.
Spotted by Andrew Miller.
2011-06-06 21:49:22 +02:00
Piotr Caban e398b93900 msvcrt: Improved tolower_l and toupper_l implementation. 2011-06-03 17:44:06 +02:00
Piotr Caban 2b9d946aea msvcrt: Fix pclmap and pcumap for "C" locale. 2011-06-03 17:44:06 +02:00
Piotr Caban f9de4eef75 msvcrt: Fix mingw compilation issues. 2011-06-03 17:44:06 +02:00
Piotr Caban 27ff2ae967 msvcrt: Improved locale initialization. 2011-05-26 13:38:22 +02:00
Piotr Caban 197826b12d msvcr90/tests: Added _getptd tests. 2011-05-25 11:48:02 +02:00
Piotr Caban e253e526fc msvcrt: Added _get_unexpected implementation. 2011-05-25 11:47:17 +02:00
Piotr Caban 6e777041b2 msvcrt: Added _getptd implementation. 2011-05-25 11:46:37 +02:00
Piotr Caban abb3db5c57 msvcrt: Improved tmpnam/wtmpnam implementation. 2011-05-25 11:46:29 +02:00
Piotr Caban 12229aeeb2 msvcrt: Change the way how localtime/gmtime buffer is stored in __thread_data. 2011-05-25 11:46:16 +02:00
Piotr Caban e15ac98cbc msvcrt: Change the way locale information is stored in __thread_data. 2011-05-25 11:46:07 +02:00
Piotr Caban 6991ac0331 msvcrt: Use get_locinfo instead of get_locale. 2011-05-25 11:45:42 +02:00
Piotr Caban 11bfced55d msvcrt: Use _create_locale instead of setlocale during initialization. 2011-05-25 11:45:14 +02:00
Piotr Caban 093909cf88 msvcrt: Reorder fields of __thread_data structure. 2011-05-25 11:44:51 +02:00
Piotr Caban 2bcc9d452a msvcrt: Close thread handle when _beginthread is used. 2011-05-25 11:44:28 +02:00
Francois Gouget 37daab560c msvcrt: Add a trailing '\n' to an ERR() call. 2011-05-23 16:25:48 +02:00
Piotr Caban 716a69c6db msvcrt: Make FILE writing functions thread safe. 2011-05-20 13:42:21 +02:00
Piotr Caban 11c6c5324f msvcrt: Make FILE reading functions thread safe. 2011-05-20 13:42:17 +02:00
Piotr Caban f2d425b7fc msvcrt: Make FILE position related functions thread safe. 2011-05-20 13:42:13 +02:00
Piotr Caban ae15a4b6bc msvcrt: Make FILE->_flag reading functions thread safe. 2011-05-20 13:42:08 +02:00
Piotr Caban dd30302268 msvcrt: Make ungetc and ungetwc thread safe. 2011-05-20 13:42:04 +02:00
Piotr Caban eb01bc1efa msvcrt: Make setvbuf thread safe. 2011-05-20 13:42:01 +02:00
Piotr Caban c989c4980b msvcrt: Make _flsbuf thread safe. 2011-05-20 13:41:57 +02:00
Piotr Caban f773ad8388 msvcrt: Make _filbuf thread safe. 2011-05-20 13:41:54 +02:00
Piotr Caban 1b26496270 msvcrt: Make fclose thread safe. 2011-05-20 13:41:50 +02:00
Piotr Caban d18f0766f7 msvcrt: Make fflush function thread safe. 2011-05-20 13:41:46 +02:00
Piotr Caban 23a0d0f04a msvcrt: Free locks after freeing io data. 2011-05-20 13:41:34 +02:00
Piotr Caban 38f476399c msvcrt: Fix __pctype_func implementation. 2011-05-20 12:36:24 +02:00
Piotr Caban 73b9acf273 msvcrt: Make scanf functions thread safe. 2011-05-19 19:37:26 +02:00
Piotr Caban c5894bacf5 msvcrt: Make printf functions thread safe. 2011-05-19 19:37:26 +02:00
Piotr Caban 249917beac msvcrt: Added _lock_file/_unlock_file implementation. 2011-05-19 19:37:26 +02:00
Piotr Caban 2ca229dec1 msvcrt: Improved _getmaxstdio and _setmaxstdio implementation. 2011-05-19 19:37:26 +02:00
Piotr Caban 19c4c37a1d msvcrt: Allocate FILE tables dynamically. 2011-05-19 19:37:26 +02:00
Piotr Caban 2679186d19 msvcrt: Allocate ioinfo tables dynamically. 2011-05-19 19:37:26 +02:00
Alexandre Julliard bcd62a7f2e msvcrt: Implement _seh_longjmp_unwind4 for i386. 2011-05-17 12:49:20 +02:00
Alexandre Julliard 2140006662 msvcrt: Implement _local_unwind for x86_64. 2011-05-17 12:31:00 +02:00
Piotr Caban ddad22d037 msvcrt: Fix return values in wcstombs and wcsrtombs functions. 2011-05-16 16:36:10 +02:00
Piotr Caban c43176b094 msvcrt: Fix return values in strlwr and strupr functions. 2011-05-16 16:36:01 +02:00
Igor Paliychuk 521604ffce msvcrt: _CxxThrowException is stdcall, not cdecl. 2011-05-16 16:35:27 +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
Piotr Caban b5d1d8e2b5 msvcrt: Added _strnicoll_l implementation. 2011-05-12 14:28:12 +02:00
Piotr Caban d32bc75a2f msvcrt: Added _strncoll_l implementation. 2011-05-12 14:28:08 +02:00
Piotr Caban ff7cf637df msvcrt: Added _stricoll_l implementation. 2011-05-12 14:28:01 +02:00
Piotr Caban e07dbe2c0a msvcrt: Added _strcoll_l implementation. 2011-05-12 14:27:57 +02:00
Piotr Caban 3db957e39e msvcrt: Added _strupr_s_l implementation. 2011-05-12 14:27:18 +02:00
Piotr Caban 504231ff5a msvcrt: Added _strlwr_s_l implementation. 2011-05-12 14:27:08 +02:00
Piotr Caban 0ea4e668f5 msvcrt: Added _tolower_l implementation. 2011-05-12 14:26:50 +02:00
Piotr Caban 1e981e5e9c msvcrt: Added _toupper_l implementation. 2011-05-12 14:26:45 +02:00
Piotr Caban 52c2976f1d msvcrt: Added _is*_l functions implementation. 2011-05-12 14:26:35 +02:00
Piotr Caban e3ec37e848 msvcrt: Added _isctype_l implementation. 2011-05-12 14:26:22 +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
Piotr Caban 67b5a868f1 msvcrt: Added _swprintf and vsnprintf functions. 2011-05-03 19:34:26 +02:00
Piotr Caban 2a3484a22d msvcrt: Added _wtmpnam implementation. 2011-05-03 19:34:26 +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
Alexandre Julliard e51132b238 msvcrt: Specify arguments for the stub functions. 2011-05-03 14:37:51 +02:00
Nicolas Le Cam acbb7b817a msvcrt/tests: Avoid size_t in traces. 2011-05-02 12:42:08 +02:00
Alexandre Julliard abe0823b72 msvcrt: Implemented a few trivial math functions. 2011-05-01 12:52:35 +02:00
Alexandre Julliard d72da00206 msvcrt: Export _aexit_rtn. 2011-05-01 11:42:30 +02:00
Alexandre Julliard 60f3a809f5 msvcrt: Synchronize spec files across dlls. 2011-04-29 16:51:57 +02:00
Piotr Caban b27a49c425 msvcrt: Updated spec file. 2011-04-28 18:29:27 +02:00
Francois Gouget 4df46f69bf msvcrt: Fix compilation on systems that don't support nameless unions. 2011-04-28 17:59: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 10901e17b4 msvcrt: Remove wchar_t/char conversions needed for pf_integer_conv. 2011-04-27 13:27:34 +02:00
Piotr Caban 8e58cbd8cb msvcrt: Use pf_integer_conv when displaying pointers. 2011-04-27 13:26:38 +02:00
Piotr Caban 0f9f0a1613 msvcrt: Don't use additional buffer in pf_integer_conv. 2011-04-27 13:26:36 +02:00
Piotr Caban 35cc03d54c msvcrt: Print all integers using pf_integer_conv function. 2011-04-27 13:19:14 +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 b9e456aa79 msvcrt: Use callback based printf in fprintf functions family. 2011-04-25 14:36:31 +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 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 18b8f951bf msvcrt: Added _resetstkoflw implementation. 2011-04-21 16:53:43 +02:00
Andrew Nguyen 6329d0d47d msvcrt: Avoid the use of SetFilePointerEx in _lseeki64. 2011-04-20 16:33:31 +02:00
Piotr Caban f989011be2 msvcrt: Added wctob implementation. 2011-04-06 12:05:07 +02:00
Piotr Caban d09ab74d9b msvcrt: Added _snwscanf implementation. 2011-04-05 17:38:29 +02:00
Piotr Caban 405e6eb309 msvcrt: Added _snscanf implementation. 2011-04-05 17:38:21 +02:00
Piotr Caban 220b6ab37f msvcrt: Added _wassert implementation. 2011-04-05 17:38:09 +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 f421d22e5a msvcrt: Don't call get_locale two times in _isctype function. 2011-03-31 18:09:31 +02:00
Piotr Caban 68239a620c msvcrt: Fix locale creation for multibyte encoding. 2011-03-31 18:09:27 +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 f48cfa2be0 msvcrt: Fix buffer size in _ecvt_s. 2011-03-31 12:31:54 +02:00
Piotr Caban d5e3e9301a msvcrt/tests: Fix memory leaks (valgrind). 2011-03-31 12:31:47 +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
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
Alexandre Julliard 89475918a1 msvcrt: Export the __p_* functions on all platforms. 2011-03-16 17:41:08 +01:00
Hans Leidekker b25e0068ac msvcrt: Implement _set_security_error_handler. 2011-03-16 16:31:55 +01:00
Francois Gouget c075968baf msvcrt: Export _wcsupr_s_l(). 2011-03-16 14:14:24 +01:00
Nikolay Sivov 82763983dc msvcrt: Added _findnext32() implementation. 2011-03-15 17:14:07 +01:00
Nikolay Sivov cd7f096210 msvcrt: Add _findfirst32() implementation. 2011-03-15 17:14:07 +01: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 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
Francois Gouget bf75229a04 msvcrt/tests: Add a trailing '\n' to an ok() call. 2011-03-07 11:09:00 +01:00
Marcus Meissner ecb89ba89e msvcrt: Move side effect out of assert (Coverity). 2011-03-04 16:26:02 +01:00
André Hentschel e165464eea msvcrt: Implement _wfindnext64. 2011-02-28 15:49:40 +01:00
André Hentschel 1601a264e8 msvcrt: Implement _wfindfirst64. 2011-02-28 15:49:28 +01:00
André Hentschel 188b3ae1b1 msvcrt/tests: Don't test function directly when reporting errno. 2011-02-25 11:05:17 +01:00
Vincent Povirk 71bfd33463 msvcrt: Try to call CorExitProcess instead of ExitProcess on exit. 2011-02-24 12:40:45 +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
Jörg Höhle c6d67fad8f msvcrt: sizeof(long double) is 12 with MS, but not necessarily so on UNIX. 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
André Hentschel 68b0a13572 msvcrt: Fixed a typo. 2011-02-08 14:46:15 -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 8a7f817dea msvcrt: Use pointer exchange to set demangled name instead of section lock. 2011-02-03 16:25:43 +01:00
Alexandre Julliard 37af4c371b msvcrt: Implement longjmp for x86_64. 2011-02-01 18:14:09 +01:00
Alexandre Julliard 9b76c16e7e msvcrt: longjmp doesn't have a return value. 2011-02-01 18:14:09 +01:00
Detlef Riekenberg 49a8bb0aa0 msvcrt: Use the _set_error_mode value to switch between a dialogbox and stderr for C runtime messages. 2011-01-31 14:30:27 +01: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 8d09b40835 msvcrt: Implement _wsopen_s. 2011-01-27 14:14:41 +01:00
Alexandre Julliard 7c95b251e0 msvcrt: Add a non-optimized implementation for the SSE2 math functions. 2011-01-26 20:48:48 +01:00
Nikolay Sivov 2a6060f4c4 msvcrt: Implemented _sopen_s. 2011-01-26 15:00:13 +01:00
Alexandre Julliard 658eaeb3e0 msvcrt: Implemented _set_controlfp. 2011-01-26 15:00:10 +01:00
Alexandre Julliard c74f6ca570 msvcrt: Implemented _fpreset for SSE2 and x86_64. 2011-01-26 14:59:59 +01:00
Alexandre Julliard 98d7a021d6 msvcrt: Implemented _clearfp for SSE2 and x86_64. 2011-01-26 14:59:10 +01:00
Alexandre Julliard 4b17ec7405 msvcrt: Implemented _statusfp2. 2011-01-26 14:57:31 +01:00
Alexandre Julliard a8d8e4a367 msvcrt: Implemented __control87_2. 2011-01-26 14:57:15 +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 dd1b937287 msvcrt: Null terminate the temporary locale buffer in _create_locale.
Spotted with Valgrind.
2011-01-17 15:57:16 +01:00
Andrew Nguyen 92fe8ef38e msvcrt/tests: Avoid embedding extended ASCII characters in locale string literals. 2011-01-17 15:57:07 +01:00
Andrew Nguyen b42f162563 msvcrt: Fix a possible memory leak in _wsystem for the NULL command case.
Spotted with Valgrind.
2011-01-17 15:56:31 +01:00
Andrew Nguyen 9361b61949 msvcrt: Fix a possible memory leak in _wpopen if a memory allocation fails. 2011-01-17 15:56:27 +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 b6acca6696 msvcrt: Implement _ftime64_s and _ftime32_s. 2010-12-29 12:05:23 +01:00
Arno Teigseth 01b9fd3679 msvcrt: Added _ui64tow_s. 2010-12-29 11:59:39 +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
Eryk Wieliczko 1ade6c2bc8 msvcrt: Implement ecvt_s. 2010-12-10 15:46:06 +01:00
Mike Gibson 23906816d8 msvcrt: Implement wcsnicoll. 2010-12-05 16:45:43 +01:00
Austin English 6374205eb4 msvcrt: Fix a compiler warning on PowerPC. 2010-12-03 11:04:03 +01:00
Piotr Caban cab51a0546 msvcrt: Added _get_terminate implementation. 2010-12-02 11:54:34 +01:00
Alexandre Julliard f53d82b4f4 msvcrt: Fix controlfp_s parameter checks, with tests. 2010-11-27 20:40:14 +01:00
Alexandre Julliard 4dba956ea6 msvcrt: Add parameter checking in _controlfp_s. 2010-11-26 14:58:39 +01:00
Alexandre Julliard 1ae23af85b include/msvcrt: Define more CPU control word flags. 2010-11-26 14:58:39 +01:00
Eryk Wieliczko 91bc6c5201 msvcrt: Implement fprintf_s and fwprintf_s. 2010-11-25 11:55:31 +01:00
Eryk Wieliczko 133a38fcfb msvcrt: Implement printf_s and wprintf_s. 2010-11-25 11:55:20 +01:00
Eryk Wieliczko 6296d95b9e msvcrt: Implement vprintf_s and vwprintf_s. 2010-11-25 11:55:05 +01:00
Eryk Wieliczko 8bf437d827 msvcrt: Implement vfprintf_s and vfwprintf_s. 2010-11-25 11:53:07 +01:00
Michael Stefaniuc 33c528188d msvcrt: Add missing dereference of the time pointer. 2010-11-24 12:06:36 +01:00
Eryk Wieliczko 40874d91d9 msvcrt: Implement _wfindnext64i32. 2010-11-23 14:16:22 +01:00
Eryk Wieliczko 7d50809705 msvcrt: Implement _wfindfirst64i32. 2010-11-23 14:16:22 +01:00
Eryk Wieliczko 504e68ac24 msvcrt: Implement _ctime32/64_s. 2010-11-23 14:16:22 +01:00
Vincas Miliūnas 955e2f9050 msvcrt: Added qsort_s implementation. 2010-11-18 12:46:59 +01:00
Piotr Caban 2770155532 msvcrt: Move _initterm_e implementation (from msvcr90). 2010-11-18 12:37:04 +01:00
Piotr Caban bf446e7cfb msvcrt: Update spec files. 2010-11-18 12:37:03 +01:00
Piotr Caban 6b3b72d632 msvcrt: Fix msvcrt.spec. 2010-11-18 12:31:32 +01:00
Alexandre Julliard 45a8b643cd msvcrt/tests: Avoid sizeof in traces. 2010-11-17 15:08:03 +01:00
Borut Razem 828fd598b0 msvcrt: popen: stderr from the child process should not be redirected to the parent's stdin. 2010-11-16 13:28:06 +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 beca1d73a8 msvcrt: Implemented _i64to[aw]_s. 2010-11-16 12:01:43 +01:00
Eric Pouech 28884a8faa msvcrt: Implemented _ltoa_s. 2010-11-16 12:01:23 +01:00
Eryk Wieliczko 37cf8dc57d msvcrt: Implement strncat_s. 2010-11-15 17:21:16 +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
Eric Pouech 4d86e49173 msvcrt: Correctly manage va_list:s in vf(w)printf ny using auto-grow buffer in prinf engine. 2010-11-08 18:12:58 +01:00
Eric Pouech 1eaae093e2 msvcrt: Implemented _vc(w)printf. 2010-11-08 18:12:57 +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
Alexandre Julliard a56de4c30f msvcrt: Add some missing CDECLs. 2010-11-08 18:12:57 +01:00
Eric Pouech b0c3dc35a8 msvcrt: Implemented the _(w)getenv_s functions. 2010-11-08 18:12:57 +01:00
Eryk Wieliczko 7b8ac6a255 msvcrt: Implement _get_tzname. 2010-11-04 12:21:26 +01:00
Eryk Wieliczko a3927b5e09 msvcrt: Implement _ftelli64. 2010-11-03 14:45:17 +01:00
Eric Pouech 4b6d5fd583 msvcrt: Implemented wcstok_s. 2010-11-03 11:08:56 +01:00
Eric Pouech 5437c72fe1 msvcrt: Implemented (_)wcserror_s. 2010-11-03 11:08:56 +01:00
Eric Pouech 71200a9818 msvcrt: Implemented (_)wcserror. 2010-11-03 11:08:56 +01:00
Eric Pouech cff575fbb3 msvcrt: Implemented _(w)access_s. 2010-11-03 11:08:55 +01:00
Eric Pouech f8f7b2898c msvcrt: Implemented _cputws. 2010-11-03 11:08:55 +01:00
Eric Pouech d36cfcf48a msvcrt: Implemented _putwch. 2010-11-03 11:08:55 +01:00
Eric Pouech 83d87f3b13 msvcrt: Implemented (w)searchenv_s. 2010-11-03 11:08:55 +01:00
Eric Pouech fc186c3bda msvcrt: Implemented _(w)dupenv_s. 2010-11-03 11:08:55 +01:00
Eric Pouech 356b2d2bc0 msvcrt: Implemented _wputenv_s. 2010-11-03 11:08:55 +01:00
Eric Pouech af2bc15edd msvcrt: Implemented _itow_s. 2010-11-03 11:08:55 +01:00
Eryk Wieliczko 566d8e5eaa msvcrt: Implement _findfirst64i32 and _findnext64i32. 2010-11-02 11:22:25 +01:00
Eryk Wieliczko e81a929e6b msvcrt: Implement _fseeki64. 2010-11-02 11:19:56 +01:00
Eryk Wieliczko 38d1ea2a5b msvcrt: Add stub functions _lock_file and _unlock_file. 2010-11-02 11:19:15 +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
Eric Pouech 1da9922ac3 msvcrt: Use parameter checking macros for string to number functions. 2010-11-01 12:35:14 +01:00
Eric Pouech 14187ed2aa msvcrt: Use parameter checking macros for strtok_s. 2010-11-01 12:35:01 +01:00
Eric Pouech 8583bd317e msvcrt: Use parameter validation macros for mcstowcs_s_l. 2010-11-01 12:34:50 +01:00
Eric Pouech c10a6d74d5 msvcrt: Use the parameter checking macros for strncpy_s. 2010-11-01 12:34:46 +01:00
Eric Pouech 00f07046c0 msvcrt: Use the new parameter checking macros for f(w)open_s functions. 2010-11-01 12:34:40 +01:00