Commit Graph

1487 Commits

Author SHA1 Message Date
Piotr Caban 4ffa9364eb msvcrt: Simplify fseek implementation. 2013-01-10 12:28:39 +01:00
Piotr Caban 568a3be869 msvcrt: Call ftell function in fgetpos. 2013-01-10 12:28:32 +01:00
Piotr Caban 6e011b8310 msvcrt: Fixed handling of '\r' when it's the last character in the buffer in read. 2013-01-10 12:28:24 +01:00
Piotr Caban 5778bdbc3a msvcrt: Added write tests on unicode files. 2013-01-10 12:28:09 +01:00
Piotr Caban 94e3647533 msvcrt: Added support for unicode mode in write function. 2013-01-10 12:27:48 +01:00
Piotr Caban 617bf861ef msvcrt: Added fopen_s test with ccs option. 2013-01-10 12:27:42 +01:00
Piotr Caban 447f4fa51c msvcrt: Call _wsopen_s function in _sopen_s. 2013-01-10 12:27:36 +01:00
Piotr Caban 424ce2d2f5 msvcrt: Added support for unicode text mode in open functions family. 2013-01-10 12:27:10 +01:00
Piotr Caban 96be6eb570 msvcrt: Added support for unicode open mode in msvcrt_get_flags function. 2013-01-10 12:26:53 +01:00
Piotr Caban a6daa3519d msvcrt: Don't duplicate wfsopen functionality in wfrepopen. 2013-01-10 12:23:49 +01:00
Francois Gouget 6ada0608bf msvcrt/tests: Add a trailing '\n' to a win_skip() call. 2013-01-07 11:10:30 +01:00
Piotr Caban bcf4467b86 msvcrt: Return error in stat function when path is specified with trailing slash character. 2012-12-27 17:15:39 +01:00
Piotr Caban 6e485f13c0 msvcrt: NULL terminate program arguments list in __getmainargs. 2012-12-26 18:23:05 +01:00
Piotr Caban eaa1b70603 msvcrt: Added _strnicmp_l implementation. 2012-12-26 18:23:05 +01:00
Piotr Caban dbec250635 msvcrt: Added _stricmp_l implementation. 2012-12-24 13:34:04 +01:00
Piotr Caban dfca87db71 msvcrt: Added _set_fmode and _get_fmode implementation. 2012-12-21 14:14:53 +01:00
Piotr Caban 76969a8651 msvcrt: Don't call local_unwind2 when Cookie equals MSVCRT_JMP_MAGIC in longjmp. 2012-12-20 12:23:20 +01:00
André Hentschel 61a1213078 msvcrt/tests: Don't test function directly when reporting errno. 2012-12-20 12:00:21 +01:00
Piotr Caban 7771552f24 msvcrt: Don't fail when _aligned_offset_malloc is used with size=0. 2012-12-19 14:38:58 +01:00
Piotr Caban 1f784a1001 msvcrt: Use CompareString in wcscoll functions. 2012-12-18 12:38:48 +01:00
Piotr Caban 0c91daee8b msvcrt: Use LC_COLLATE category in strcoll functions. 2012-12-18 12:38:39 +01:00
Piotr Caban 2cb51d9f4a msvcrt: Added more setlocale tests. 2012-12-18 12:38:22 +01:00
Piotr Caban a406d538bb msvcrt: Fixed locale matching code. 2012-12-18 12:38:17 +01:00
Piotr Caban 7afc98a7f7 msvcrt: Fixed codepage setting code in create_locale. 2012-12-18 12:38:12 +01:00
Andrew Talbot 4c191378e9 msvcrt: Indentation fix. 2012-12-18 12:35:14 +01:00
Piotr Caban 78553db096 msvcrt: Added _atodbl tests. 2012-12-17 20:31:26 +01:00
Piotr Caban 3b5ab1b48f msvcrt: Added _atodbl_l implementation. 2012-12-17 20:31:25 +01:00
Piotr Caban 38bf8ac44b msvcrt: Don't duplicate floating-point number parsing code in MSVCRT__atoflt_l. 2012-12-17 20:31:24 +01:00
Austin English c8e71e9a3e msvcrt: Implement memcpy in msvcrt instead of forwarding to ntdll. 2012-12-14 12:15:05 +01:00
Austin English a79de8aa29 msvcrt: Implement _ftol in msvcrt instead of forwarding to ntdll. 2012-12-14 12:13:39 +01:00
Piotr Caban 42d5cc3c6e msvcrt: Added __getmainargs tests. 2012-12-14 11:54:28 +01:00
Piotr Caban 678abf4064 msvcrt: Support expand_wildcards parameter in __wgetmainargs function. 2012-12-14 11:54:20 +01:00
Piotr Caban 7c39023f60 msvcrt: Fixed wildcard expanding when path is specified in __getmainargs. 2012-12-14 11:54:14 +01:00
Piotr Caban c34769cfa1 msvcrt: Support expand_wildcards parameter in __getmainargs function. 2012-12-13 18:24:17 +01:00
Piotr Caban bc33d39e23 msvcrt: Don't flush stream in fputs function. 2012-12-13 18:24:03 +01:00
Piotr Caban f5c8647919 msvcrt: Added _mbsnbcoll_l implementation. 2012-12-12 12:01:36 +01:00
Piotr Caban a2b71b732a msvcrt: Added _mbsnbicoll_l implementation. 2012-12-12 12:01:22 +01:00
Piotr Caban 3b41fab0e9 msvcrt: Added _fwprintf_l implementation. 2012-12-12 12:01:11 +01:00
Piotr Caban 48335be04e msvcrt: Added _vfwprintf_l implementation. 2012-12-12 12:01:01 +01:00
Piotr Caban b5cf3057e9 msvcrt: Added _atoi_l implementation. 2012-12-12 12:00:46 +01:00
Piotr Caban 3acb238f15 msvcrt: Added _wtoi_l implementation. 2012-12-12 12:00:41 +01:00
Piotr Caban d958ecbc69 msvcrt: Fixed floating point numbers printing when flags.Sign=' '. 2012-12-12 11:59:55 +01:00
Piotr Caban b9c71ffd42 msvcrt: Fixed get_this_pointer implementation. 2012-12-10 17:36:29 +01:00
Piotr Caban d3ecfe0599 msvcrt: Fixed _localtime64 implementation. 2012-12-10 17:36:28 +01:00
Piotr Caban 11216fabc4 msvcrt: Reorganize _localtime64 function. 2012-12-10 17:36:28 +01:00
Piotr Caban acac63663a msvcrt: Improved input parameter range check in _gmtime64_s. 2012-12-10 17:36:28 +01:00
Piotr Caban c9a7436812 msvcrt: Fixed mkgmtime and _mkgmtime64 implementation. 2012-12-10 17:36:27 +01:00
Piotr Caban a66ed048a3 msvcrt: Fixed mktime and _mktime64 implementation. 2012-12-10 17:36:27 +01:00
Piotr Caban 59776ccc99 msvcrt: Added _tzset tests. 2012-12-10 17:36:26 +01:00
Piotr Caban 351dff91de msvcrt: Reimplement _tzset function. 2012-12-10 17:36:26 +01:00
Piotr Caban d677bda974 msvcrt: Added wcrtomb tests. 2012-11-30 11:43:09 +01:00
Piotr Caban c0ce611ebd msvcrt: Added wcrtomb implementation. 2012-11-30 11:43:03 +01:00
Piotr Caban 1ced0f460c msvcrt: Added mbsrtowcs tests. 2012-11-29 11:23:10 +01:00
Piotr Caban 5e50ec3df2 msvcrt: Added mbsrtowcs implementation. 2012-11-29 11:23:03 +01:00
Piotr Caban f20a85a5da msvcrt: Added mbrtowc tests. 2012-11-29 11:16:56 +01:00
Piotr Caban 4b67531bf7 msvcrt: Added mbrtowc implementation. 2012-11-29 11:16:51 +01:00
Piotr Caban 00658a4a63 msvcrt: Added mbrlen tests. 2012-11-29 11:16:44 +01:00
Piotr Caban b8ee0dd7ab msvcrt: Added mbrlen implementation. 2012-11-29 11:16:38 +01:00
Piotr Caban bdedab6c84 msvcrt: Remove superfluous semicolons. 2012-11-28 20:14:47 +01:00
Piotr Caban 9c319baa66 msvcrt: Fixed __p___mb_cur_max tests. 2012-11-07 18:12:06 +01:00
Piotr Caban cbb94b1fcc msvcrt: Improved strtod_l precision. 2012-11-06 16:02:36 +01:00
Piotr Caban 505e5a162f msvcrt: Improved _wcstod_l precision. 2012-11-06 16:02:35 +01:00
Piotr Caban a3035679d5 msvcrt: Improved _atoflt_l precision. 2012-11-06 16:02:35 +01:00
Piotr Caban 74ec93bab7 msvcrt: Improved scanf precision. 2012-11-05 17:44:32 +01:00
Piotr Caban ec26342c88 msvcrt: Allocate buffer in fwrite function. 2012-11-02 19:47:33 +01:00
Daniel Lehman ffa7ac7331 msvcrt: Return value from MSVCRT____mb_cur_max_func instead of pointer. 2012-11-01 19:01:34 +01:00
Piotr Caban a9c6113c28 msvcrt: Improved parsing precision of doubles in scanf.
This code is based on doubles parsing in jscript lexer.
2012-11-01 15:43:21 +01:00
Piotr Caban bab686e7d1 msvcrt: Fixed %Lf format handling in scanf. 2012-11-01 15:43:14 +01:00
Piotr Caban 39345a1b15 msvcrt: Fixed _ungetwc implementation. 2012-10-24 11:25:33 +02:00
Piotr Caban c00702cd6e msvcrt: Fixed tmpfile implementation. 2012-10-16 20:45:44 +02:00
Piotr Caban 488693e407 msvcrt: Fixed exception information on 64-bit systems. 2012-10-11 20:22:45 +02:00
Piotr Caban b3dff995ee msvcrt/tests: Added more RTTI tests. 2012-09-13 13:56:15 +02:00
Piotr Caban f4e323baa4 msvcrt: Fixed RTTI base pointer calculation if signature==0. 2012-09-13 13:56:04 +02:00
Piotr Caban 688aa1f529 msvcrt: Skip RTTI signature==1 tests on platforms that doesn't support it. 2012-09-10 20:48:39 +02:00
Piotr Caban bdf9a9f9bd msvcrt: Fixed strncpy_s behavior when count equals 0. 2012-09-07 19:15:29 +02:00
Piotr Caban 8060752c09 msvcrt: Fixed RTTI structure on 64-bit systems. 2012-09-07 11:55:32 +02:00
Piotr Caban 33937f039f msvcrt: Support 64-bit RTTI in __RTDynamicCast. 2012-09-05 21:56:57 +02:00
Piotr Caban fbae5a95c3 msvcrt: Support 64-bit RTTI in __RTtypeid function. 2012-09-05 21:56:57 +02:00
Piotr Caban 63be52e2aa msvcrt: Moved RTTI and thiscall related macros to separate header. 2012-09-05 21:56:56 +02:00
Francois Gouget 88840fc849 msvcrt/tests: Add a trailing '\n' to a win_skip(). 2012-08-21 17:47:47 +02:00
Piotr Caban 83024db0ae msvcrt/tests: Execute c++ related tests on 64-bit systems. 2012-08-20 15:01:13 +02:00
Piotr Caban fef8a52fc9 msvcrt: Fixed vector destructors implementation on 64-bit systems. 2012-08-20 15:00:43 +02:00
Dan Kegel 4956045842 msvcrt: memmove_s shouldn't zero its output buffer on error. 2012-08-17 14:03:15 +02:00
Alexandre Julliard f80d443f5c msvcrt: Add a number of floating point functions for 64-bit. 2012-08-16 18:09:47 +02: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
André Hentschel f09a40a215 msvcrt: Add tmpfile_s implementation. 2012-07-18 11:49:19 +02:00
André Hentschel f320f6cf48 msvcrt: Add bsearch_s implementation by reusing code and tests from ntdll. 2012-07-17 14:21:32 +02:00
Francois Gouget d817bbd6f4 msvcrt: Use the CSTR_XXX macros instead of numeric literals. 2012-06-21 08:33:36 +02:00
Piotr Caban 7ac3c8700c msvcrt/tests: Fix Portuguese locale test on NT4. 2012-06-14 22:21:02 +02:00
Francois Gouget d8ed347ab3 msvcrt: Fix the name of the Portuguese locale alias. 2012-06-13 21:35:42 +02:00
Piotr Caban 5e418f0ccf msvcrt: Handle rethrown exception in cxx_frame_handler. 2012-05-30 16:27:23 +02:00
Piotr Caban 482159a234 msvcrt: Fixed typo in DEFINE_EXCEPTION_TYPE_INFO macro. 2012-05-30 11:28:10 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Thomas Faber bf5c7d4546 msvcrt: Fix malloc_func_t/free_func_t calling convention. 2012-05-07 11:37:19 +02:00
Piotr Caban dc830aa640 msvcrt: Rework wcsncpy_s to work on overlapping pointers. 2012-04-24 19:12:51 +02:00
Piotr Caban 7240170cee msvcrt: Added more length modifiers in scanf function. 2012-04-16 18:56:15 +02:00
Piotr Caban 0cc16fc8a5 msvcrt: Fixed 'h' modifier handling when printing integers. 2012-04-16 18:56:15 +02:00
Piotr Caban bfa3045816 msvcrt: Added support for %W and %U format in strftime. 2012-04-16 17:49:24 +02:00
Piotr Caban 2759779990 msvcrt: Fix months and weekday names in C locale. 2012-04-13 16:10:10 +02:00