Commit Graph

821 Commits

Author SHA1 Message Date
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
Michael Stefaniuc 276b938e1d msvcrt: Use NULL instead of casting zero. 2008-12-05 12:36:19 +01:00
Michael Karcher 023c227399 msvcrt: Out strings should be ptr instead of wstr in .spec file. 2008-12-01 14:04:28 +01:00
Francois Gouget c232cf1050 msvcrt: Remove WINAPI on static functions where not needed. 2008-11-28 12:54:35 +01:00
Maarten Lankhorst 83045e5cc8 msvcrt: Add CDECL to all cdecl functions. 2008-11-25 12:33:39 +01:00
Austin English 8efc3fec1d msvcrt: Fix a compiler warning. 2008-11-21 10:04:03 +01:00
Alexandre Julliard 64de271939 msvcrt/tests: Run time tests for the current year instead of 1970 and fix wrong DST assumptions. 2008-11-13 14:15:56 +01:00
Alexandre Julliard 1d9fa06aea msvcrt/tests: Trace the timezone being used. 2008-11-12 12:54:11 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +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
Alexandre Julliard e20ef50139 msvcrt: Pass the command interpreter as exe name from _wpopen. 2008-10-07 15:36:44 +02:00
Eric Pouech 3a2dda11e9 msvcrt: Implemented splitpath_s. 2008-10-07 15:24:00 +02:00
Eric Pouech 096991428f msvcrt: Implemented wcsncpy_s. 2008-10-06 14:11:53 +02:00
Jeff Zaroyko 82f77cc17a msvcrt: Avoid a NULL pointer deref in ctime. 2008-10-02 11:24:01 -05:00
Rob Shearman d7ca73ce80 msvcrt: Fix testing zero-valued expression with bitwise and in find_best_locale_proc.
The check should be for all of the flags being set instead.
2008-09-23 16:00:05 +02:00
Rob Shearman ed9cd3ede2 msvcrt: Fix mutual exclusion over logical or is always a non-zero constant.
Logical and should have been used instead.
2008-09-23 16:00:05 +02:00
Jeff Zaroyko 22a33168c9 kernel32: Modify DeleteFileW to fail on directories. 2008-09-18 12:32:57 +02:00
Rob Shearman 0848a19ec0 msvcrt: Fix character count passed into fgetws in test_fileops. 2008-09-17 12:02:02 +02:00
Alexandre Julliard 3e78cca50c msvcrt/tests: Fix the %n format test for Vista. 2008-09-04 12:27:29 +02:00
James Hawkins 43c97f4477 msvcrt: Trace the results of two failing tests. 2008-09-03 13:14:51 +02:00
Henri Verbeet 71aa14af99 msvcrt: Don't depend on the system's implementation of acos() & asin(). 2008-08-29 14:26:37 +02:00
Jeff Zaroyko c7093febab msvcrt: Add a test for unlinking non-empty directories. 2008-08-27 13:21:23 +02:00
Alexandre Julliard 42563b407b msvcrt/tests: Add support for some broken demangle results on older Windows versions. 2008-08-26 12:07:43 +02:00
Michael Karcher 5f2159e806 msvcrt/file: stdio should clamp characters to 8 bits. 2008-08-19 13:04:44 +02:00
Alexandre Julliard 9c29dbd987 Avoid exporting common symbols since that's broken on Mac OS X. 2008-07-21 14:47:55 +02:00
Jon Griffiths 8e86162be5 msvcrt: Fix exponents in *printf family. 2008-07-16 20:10:28 +02:00
Jon Griffiths 7b7cd31f05 msvcrt: Make tests for [w]makepath pass. 2008-07-09 12:35:07 +02:00
Jon Griffiths afb3593274 msvcrt: Tests for [w]makepath. 2008-07-09 12:35:01 +02:00
Jon Griffiths a4037eb463 msvcrt: Implement ___setlc_active_func/___unguarded_readlc_active_add_func. 2008-07-08 12:27:54 +02:00
Alexandre Julliard c2545cd43e msvcrt/tests: Fix register constraints on thiscall wrappers. 2008-07-08 11:16:01 +02:00
Peter Oberndorfer 9e3a4652da msvcrt: Implement %p for scanf. 2008-07-02 11:37:18 +02:00
Peter Oberndorfer 02fb99e6b3 msvcrt: Add a test for scanf %p. 2008-07-02 11:37:14 +02:00
Philip Nilsson 5d583c3ac7 msvcrt: Make EXCEPTION_PRIV_INSTRUCTION generate SIGILL. 2008-06-19 11:44:34 +02:00
Alexandre Julliard d36c55001d msvcrt/tests: Fix a couple of tests on Vista. 2008-06-10 17:45:10 +02:00
Eric Pouech 2fc275f64a msvcrt: Fix for getch() and special characters. 2008-06-02 12:13:03 +02:00
Jon Griffiths 1484830628 msvcrt: Fix a test that fails on win95. 2008-05-28 19:32:44 +02:00
Jon Griffiths 09627c8f61 msvcrt: Fix file test which fails on Vista. 2008-05-28 19:32:37 +02:00
Jon Griffiths da412d4507 msvcrt: Fix an RTTI test Failure on Vista. 2008-05-28 11:30:35 +02:00
Jon Griffiths b86915382d msvcrt: Follow Vista behaviour in wcscpy_s. 2008-05-27 19:37:09 +02:00
Jon Griffiths 288a48fcf0 msvcrt/tests: Fix 3 tests that always fail on Vista. 2008-05-27 19:36:57 +02:00
Dmitry Timoshkov 5db7fd3706 msvcrt: Mark some data as constant. 2008-05-27 19:35:00 +02:00
Jon Griffiths e5ffcd8827 msvcrt/tests: Fix 4 tests that always fail on Vista. 2008-05-27 12:05:58 +02:00
Eric Pouech ac2053ba10 msvcrt: Properly handle the extended keys in getch(). 2008-05-27 12:02:30 +02:00
Alexandre Julliard 83a21c6886 tests: Use the Wine import libraries when compiling with MinGW. 2008-05-26 19:26:20 +02:00
Eric Pouech 2353dcf783 msvcrt: Added __iob_func implementation. 2008-04-30 13:45:23 +02:00
Alexandre Julliard b43fd31287 msvcrt: Rename a few functions to avoid conflicts with Windows headers. 2008-04-29 20:18:19 +02:00
Eric Pouech f55da6db84 msvcrt: Fixed space in type with double indirection.
Spotted by James Hawkins.
2008-04-29 12:36:44 +02:00
Eric Pouech 2e1775620a msvcrt: undname: correctly handle multi-dimensional arrays.
Based on a patch from Ulrich Küttler.
2008-04-29 12:36:35 +02:00
Eric Pouech a940218c0b msvcrt: Fixed symbol unmangling for template-parameter-?? form, as well as test.
Spotted by James Hawkins.
2008-04-29 12:36:08 +02:00
Andrew Talbot bacd4516d6 msvcrt: Remove unused variable. 2008-04-23 12:23:23 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Austin English 05faae7b5a Spelling fixes. 2008-04-09 12:07:39 +02:00
Erik de Castro Lopo 60501aa93e msvcrt: Clear end-of-file flag on fseek. 2008-04-09 11:43:35 +02:00
Alexandre Julliard 6ee428e3a0 msvcrt: Add support for field width in scanf %c format. 2008-03-20 19:55:31 +01:00
Alexandre Julliard a6d7b6fc60 msvcrt: Implemented __CppXcptFilter. 2008-03-11 16:14:44 +01:00
Alexandre Julliard fea9fb4f47 msvcrt/tests: The new string functions don't have to exist. 2008-03-10 11:30:45 +01:00
Andrew Talbot 32d7a9e668 msvcrt: Assign to structs instead of using memcpy. 2008-03-07 11:01:07 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
James Hawkins eedfacdfe7 janitorial: Remove links to any microsoft site. 2008-03-01 12:04:03 +01:00
Alistair Leslie-Hughes 00609d5e78 msvcrt: Implement wcscpy_s. 2008-02-27 14:52:26 +01:00
Alexandre Julliard d66b9f7e48 msvcrt: Use the correct msvcrt defines for errno values. 2008-02-27 14:52:25 +01:00
Alexandre Julliard a470afca6c msvcrt: Fix incorrect uses of msvcrt_set_errno. 2008-02-27 14:52:25 +01:00
Dan Kegel 316869b273 msvcrt: Fix EOF behavior on read from pipe or console.
The canonical way to detect EOF on read is when you request more than
zero bytes, but zero bytes come back.  Switching to this method seems
to handle a few problem cases better.  Also handle ERROR_BROKEN_PIPE
properly just in case.
2008-02-12 22:35:20 +01:00
Francois Gouget fb1b0a1c32 msvcrt: __CxxDetectRethrow() and __CxxQueryExceptionSize() are implemented now so export them. 2008-02-05 12:19:38 +01:00
Eric Pouech 535f85e040 msvcrt: Corrected the .spec definition for the printf functions family. 2008-01-23 11:31:43 +01:00
Eric Pouech 0920f8e778 msvcrt: symbol undecoration: Really check that we get a template string before making use of it. 2008-01-22 12:07:21 +01:00
Eric Pouech 95cff6c8f9 msvcrt: symbol undecoration: Added support for RTTI types. 2008-01-22 12:07:07 +01:00
Eric Pouech 49ac014d28 msvcrt: symbol undecoration: Added support for thunks. 2008-01-22 12:06:50 +01:00
Eric Pouech 3db08321f4 msvcrt: symbol undecoration: Corrected handling of non static member function modifiers. 2008-01-22 12:06:34 +01:00
Eric Pouech d7c0e274e8 msvcrt: symbol undecoration: Added support for a couple of more calling conventions. 2008-01-22 12:06:04 +01:00
Eric Pouech 056e589556 msvcrt: symbol undecoration: Added support for cointerface. 2008-01-22 12:05:40 +01:00
Eric Pouech 2d2e7c74bb msvcrt: symbol undecoration: Handling of void in template parameters' list. 2008-01-22 12:05:21 +01:00
Eric Pouech 2e47a3a4f8 msvcrt: symbol undecoration: Now correctly parsing the template forms. 2008-01-22 12:05:05 +01:00