Commit Graph

895 Commits

Author SHA1 Message Date
Uwe Bonnes 5926277473 msvcrt: In unbuffered text mode reading \r\n with fgetc fails. 2010-01-11 13:39:54 -06: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
Rob Shearman c20868e0a2 msvcrt: Free memory allocated in TLS slot on module unload as well as thread exit. 2009-12-14 16:14:39 +01:00
Alexandre Julliard da9bc130c6 msvcrt/tests: Fix the signal handler calling convention. 2009-12-09 12:04:41 +01:00
Nikolay Sivov e5e17ca438 msvcrt/tests: Free temporary file name after test. 2009-12-07 14:18:27 +01:00
Marcus Meissner 4da51e087d msvcrt: Remove unnecessary NULL check (Coverity). 2009-12-04 14:34:58 +01:00
Peter Rosin f79cd33fc4 msvcrt: Handle the SIGBREAK signal. 2009-12-03 10:14:44 +01:00
Peter Rosin 83ec2f4f04 msvcrt: Add test to check if signal(SIGBREAK, ...) works (todo_wine). 2009-12-03 10:14:31 +01:00
Andrew Nguyen be21b3dfa7 msvcrt: Forward _ftol2_sse to ntdll._ftol. 2009-11-24 15:53:37 +01:00
Gregor Schneider 2043035e17 msvcrt: Calculate floating point decimals in internally used long double precision. 2009-11-24 15:53:36 +01:00
Alexandre Julliard 7f69436ea8 include: Specify explicit alignment for __int64 types. 2009-11-21 14:31:45 +01:00
Eric Pouech d568c2ac56 mscvrt: Fix some undname quirks (space at the end of multi-level templates). 2009-11-18 11:09:34 +01:00
Andrew Nguyen 1eb0775670 msvcrt: Implement and test _wcsupr_s. 2009-11-16 17:06:16 +01:00
Eric Pouech 6fab1e86f3 msvcrt: In undname functions, no longer use a fixed-size array for storing internal information. 2009-11-16 13:47:22 +01:00
Eric Pouech c65106e1d5 msvcrt: In undname helpers, allow str_array_push to return errors (instead of asserting). 2009-11-16 13:44:15 +01:00
André Hentschel fbe6b57b74 msvcrt: Do not overlap in strcpy (Valgrind). 2009-11-04 12:22:23 +01:00
Alexandre Julliard 1f4febdb55 msvcrt: Implement __lconv_init. 2009-10-22 22:26:45 +02:00
Michael Stefaniuc 5ca700713d msvcrt/tests: Use LONG instead of long. 2009-10-08 12:17:30 +02:00
Alexandre Julliard 5af33ee06f msvcrt: Use strict function prototypes. 2009-10-06 16:12:39 +02:00
Eric Pouech dcf68254bd msvcrt: Added __uncaught_exception support. 2009-10-05 14:56:19 +02:00
Alexandre Julliard 7c15ae127c msvcrt: Add an MSVCRT prefix to _wenviron. 2009-10-05 14:55:09 +02:00
Alexandre Julliard da2db26dec msvcrt/tests: Add tests for the handle inheritance block.
Based on a patch by André Hentschel.
2009-09-10 15:29:35 +02:00
Alexandre Julliard ded81aebc7 msvcrt: Add validity checks on the size of the handle inheritance block. 2009-09-10 15:29:04 +02:00
Ge van Geldorp d24a5a74b1 msvcrt/tests: Add acceptable error codes for W2K8+. 2009-09-02 15:47:45 +02:00
Alexandre Julliard 835928720b msvcrt: Fix the strtol/strtoul definitions. 2009-09-01 22:34:50 +02:00
Eric Pouech 9eca2f81dc msvcrt: Correctly handle the error cases in strtol and strtoul. 2009-09-01 12:43:24 +02:00
Alexandre Julliard f2b3df6371 msvcrt: The floating point adjust functions only make sense on i386. 2009-08-24 15:17:33 +02:00
Andrew Nguyen 15b0087d6e msvcrt: Remove dead code in wcscpy_s. 2009-08-10 13:11:02 +02:00
Alexandre Julliard b5d86403a4 msvcrt: Add an errno mapping for ERROR_SHARING_VIOLATION. 2009-07-14 12:18:15 +02:00
Alexandre Julliard 0cb406ef29 msvcrt: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Alexandre Julliard 2b012c9886 msvcrt: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:41:51 +02:00
Michael Stefaniuc 109f83614f msvcrt: Avoid using size_t when not neededed. 2009-05-27 15:40:18 +02:00
Michael Stefaniuc 5f0fb8350f msvcrt: Replace size_t with MSVCRT_size_t. 2009-05-27 15:39:57 +02:00
Alexandre Julliard 82f175e9b5 msvcrt: Replace long by MSVCRT_long. 2009-05-23 11:57:39 +02:00
Alexandre Julliard 7e082f6608 msvcrt/tests: Make all msvcrt function pointers cdecl. 2009-05-23 11:57:38 +02:00
Alexandre Julliard ac760a47f3 msvcrt: Fix the stat and finddata structures for 64-bit. 2009-05-23 11:57:12 +02:00
Alexandre Julliard 4a7b3460ef msvcrt: Add explicit 32- and 64-bit versions of the utime functions. 2009-05-23 11:12:17 +02:00
Alexandre Julliard 8408e3a955 msvcrt: Add explicit 32- and 64-bit versions of the time functions. 2009-05-23 11:12:12 +02:00
Alexandre Julliard 1c66fab80a msvcrt/tests: Use the _winver etc. variables instead of the __p_ functions that don't exist on 64-bit. 2009-05-20 17:47:43 +02:00
Austin English b7b28159c9 msvcrt/tests: Sign compare fixes. 2009-05-11 12:47:59 +02:00
Rein Klazes b12c46be4a msvcrt/tests: Add some tests for strtok(). 2009-04-22 13:13:38 +02:00
Rein Klazes ed20ac877c msvcrt: Do not set the windows version to 0.5. 2009-04-20 17:29:26 +02:00
Hans Leidekker 4aec827b1e msvcrt: Implement ___lc_codepage_func, ___lc_collate_cp_func and ___lc_handle_func. 2009-04-15 15:56:45 -05:00
Rein Klazes 1ab5f4191d msvcrt: Correct implementation of _ecvt() with tests. 2009-04-14 14:50:07 -05:00
Alexandre Julliard 3a195139c2 msvcrt: Fix scanf to correctly parse pointers on 64-bit. 2009-04-06 20:58:10 +02:00
Hans Leidekker c3f6668f33 msvcrt: Add tests for _vscprintf and _vscwprintf. 2009-03-26 16:13:18 +01:00
Hans Leidekker 0803575fd3 msvcrt: Implement _vscprintf and _vscwprintf. 2009-03-26 16:12:15 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Juan M. Navarro c9b40bff32 msvcrt/tests: Avoid size_t in printf format. 2009-02-18 15:03:30 +01:00
Alexandre Julliard 1c91d54503 msvcrt: Don't try to duplicate invalid handles. Don't reset std handles if we didn't set them. 2009-02-18 14:44:17 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +01:00
David Hedberg 2254a549a6 msvcrt: Implement _mbcjistojms. 2009-02-06 13:03:34 +01:00
Francois Gouget 4ee530b2a7 msvcrt/tests: Remove a space before a '\n'. 2009-01-30 14:05:56 +01:00
Michael Stefaniuc 9d4c9a0cdd msvcrt: Remove superfluous pointer casts. 2009-01-29 14:06:15 +01:00
Dan Kegel 7f3c70c52f msvcrt: Remove CRs earlier in ascii mode in fseek, too. 2009-01-29 12:21:11 +01:00
Dan Kegel 5bf1ae82f1 msvcrt: _flsbuf zeroes _cnt. 2009-01-29 12:20:44 +01:00
Uwe Bonnes d0e77f8a47 msvcrt/tests: Test case to show Wine still mishandles file text mode. 2009-01-28 14:36:52 +01:00
Hans Leidekker 120120e37e msvcrt: Add a test for _vsnwprintf. 2009-01-27 14:27:03 +01:00
Alexandre Julliard 8e16e78710 libwine: Re-generate the Windows codepage data using the bestfit files. 2009-01-19 20:33:55 +01:00
Hans Leidekker d2a383b658 msvcrt: Forward ANSI open functions to their Unicode counterparts instead of the other way around. Implement _wfreopen. 2009-01-19 14:22:57 +01:00
Dan Kegel ebe4a9e321 msvcrt: Remove CRs earlier in ascii mode. 2009-01-19 13:36:26 +01:00
Alexandre Julliard adad9b6682 msvcrt: Fix an unused function warning on non-i386. 2009-01-08 17:29:59 +01:00
Alexandre Julliard a494b13abe msvcrt: Avoid size_t in printf format. 2009-01-08 13:12:24 +01:00
Alexandre Julliard 2335a44ed6 msvcrt/tests: Avoid printing pointer differences in traces. 2009-01-08 13:02:17 +01:00
Alexandre Julliard d751c2e5c1 msvcrt: Correctly walk up the list of trylevels in except_handler3. 2009-01-07 14:17:26 +01:00
Alexandre Julliard f1b363e27d msvcrt: Fix the time_t definition for the msvcrt build. 2009-01-05 15:07:53 +01:00
Alexandre Julliard 52f87c4a57 msvcrt/tests: Fix the scanf pointer formatting tests on 64-bit. 2009-01-04 14:47:59 +01:00
Alexandre Julliard 159dfb219c msvcrt/tests: Fix the printf pointer formatting tests on 64-bit. 2009-01-04 14:47:59 +01:00
Alexandre Julliard 2cf2c4568f msvcrt/tests: Fix some printf formats for 64-bit. 2009-01-03 20:24:10 +01:00
Alexandre Julliard 4282fc122d msvcrt/tests: Use unsigned int instead of size_t for the malloc tests. 2009-01-03 20:23:06 +01:00
Alexandre Julliard 558732ef09 msvcrt: Add missing __cdecl on some function pointers. 2009-01-03 18:43:00 +01:00
Alexandre Julliard da3202130e msvcrt: Convert the spawn and exec functions to use MS ABI varargs. 2009-01-03 11:38:25 +01:00
Alexandre Julliard dd34f924be msvcrt: Convert the open functions to use MS ABI varargs. 2009-01-03 11:38:25 +01:00
Alexandre Julliard f8de2ebb0b msvcrt: Convert all the scanf functions to use MS ABI varargs. 2009-01-03 11:38:25 +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 cb08534a3d msvcrt: Remove a superfluous semicolon. 2008-12-24 19:59:31 +01:00
Michael Stefaniuc a4c2a0ee20 msvcrt/tests: Use the C standard for multiline strings. 2008-12-23 18:51:20 +01:00
Alexandre Julliard d77eba57f1 msvcrt/tests: Avoid sizeof in a trace. 2008-12-20 13:33:08 +01:00
Francois Gouget 9a911f5443 msvcrt/tests: Add a trailing '\n' to an ok() call. 2008-12-17 15:27:20 +01:00
Alexandre Julliard bb33b0a21d msvcrt: Add __cdecl to all function prototypes. 2008-12-17 15:00:28 +01:00
Alexandre Julliard 6718b9bce7 msvcrt: Rewrite va_list to string conversions to avoid depending on va_copy. 2008-12-17 13:52:41 +01:00
Dan Kegel 72ffe1da67 msvcrt: fread: Exhaust buffered data before using unbuffered data in ascii mode. 2008-12-16 14:23:40 +01:00
Alexandre Julliard 8a658d7d51 msvcrt: Rename _ftime to avoid conflicts. 2008-12-15 20:08:33 +01:00
Alexandre Julliard e2b3ee535f msvcrt: The __p_* functions are only exported on i386. 2008-12-15 16:20:08 +01:00
Alexandre Julliard b19913ac70 msvcrt: Add a few more *_func functions to replace the __p_* ones. 2008-12-15 16:03:32 +01:00
Alexandre Julliard bcfd7dd3ff msvcrt: The _CI* math functions are only exported on i386. 2008-12-15 15:40:45 +01:00
Francois Gouget 05c0822707 msvcrt: Point the set_new_handler() entrypoint to the right implementation. 2008-12-12 11:44:23 +01:00
Francois Gouget b455d319f9 msvcrt/tests: Make void test_cp_table() static. 2008-12-12 11:42:13 +01:00
Francois Gouget ade1326480 msvcrt: Remove _adjust_fdiv() as it is unused. 2008-12-12 11:41:24 +01:00
Francois Gouget 33dd86d05c msvcrt/tests: Add a trailing '\n' to ok() calls. 2008-12-12 11:40:53 +01:00
Alexandre Julliard 1e8290ded3 msvcrt: Avoid truncated relocations on 64-bit. 2008-12-12 10:20:53 +01:00
Alexandre Julliard 82bd6f1e10 msvcrt/tests: Load __mb_cur_max and _mbctype dynamically since they may not be available to link against. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 4305e6d119 msvcrt: Use iob_func instead of p__iob on non-x86. 2008-12-12 10:19:55 +01:00
Alexandre Julliard d8ab5a14aa msvcrt: Use intptr_t or size_t instead of long where appropriate. 2008-12-12 10:19:55 +01:00
Alexandre Julliard 7a6c6747a9 msvcrt: Don't include msvcrt headers, instead duplicate the definitions in msvcrt.h. 2008-12-12 10:19:55 +01:00
Francois Gouget e766985b20 msvcrt: Fix the permissions returned by fstat*() (with test). 2008-12-10 10:47:34 +01:00
Francois Gouget 266ee43e23 msvcrt/tests: Add a stat() test. 2008-12-10 10:47:23 +01:00
Francois Gouget 5f8c3b4a38 msvcrt/tests: Stricter fstat() tests.
Don't allow fstat() to fail for no reason.
Better check the st_mode field.
2008-12-10 10:47:19 +01:00