Commit Graph

1076 Commits

Author SHA1 Message Date
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
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
Andrew Talbot a69418c52c msvcrt: Remove unneeded casts. 2008-01-14 13:09:56 +01:00
Marcus Meissner a54150bc53 msvcrt: Remove strange condition which might lead to crash. 2008-01-10 12:10:44 +01:00
Hans Leidekker 41575621c8 msvcrt: Correct search strategy for the exec/spawn functions. 2008-01-08 13:40:35 +01:00
Hans Leidekker 8d768b7713 msvcrt: Implement _wexecv{, e, p, pe}. 2008-01-08 13:39:14 +01:00
Hans Leidekker 054132f931 msvcrt: Implement _wspawnl{, e, p, pe}. 2008-01-08 13:38:57 +01:00
Hans Leidekker 3fd647c243 msvcrt: Implement _wexecl{, e, p, pe}. 2008-01-08 13:38:34 +01:00
Hans Leidekker 516b4ebd0e msvcrt: Rewrite _spawnve as a wrapper. 2008-01-08 13:37:41 +01:00
Hans Leidekker c91a597305 msvcrt: Implement _execl{e, pe}. 2008-01-08 13:37:11 +01:00
Hans Leidekker 1ba54f3337 msvcrt: Rewrite _execl/_spawnl functions as wrappers around wide character implementations. 2008-01-08 13:36:59 +01:00
Hans Leidekker 118bee860a msvcrt: Implement _wpopen and forward _popen to it. 2008-01-08 13:34:37 +01:00
Hans Leidekker 3debf28215 msvcrt: Implement _wsystem and forward system to it. Respect COMSPEC environment variable. 2008-01-08 13:34:09 +01:00
Dmitry Timoshkov a88f03e22f msvcrt: Rename _environ to avoid a conflict on Solaris. 2008-01-08 12:54:40 +01:00
Hans Leidekker 428cff6e0b msvcrt: Fix spec file entries for the execv functions. 2008-01-02 13:43:03 +01:00
Andrew Talbot edaa0fbc13 msvcrt: Remove unneeded cast. 2007-12-24 13:30:20 +01:00
Gerald Pfeifer a030777f74 msvcrt: Fix error handling in _aligned_offset_realloc(). 2007-12-04 18:41:36 +01:00
Lionel Debroux 51d6a08d57 msvcrt: Test more offsets for _aligned_offset_realloc (especially offset > alignment). 2007-11-28 13:52:22 +01:00
Lionel Debroux 3e9fbd89d2 msvcrt: Fix _Aligned_offset_realloc (move correct block of memory); add a comment to explain why. 2007-11-28 13:52:07 +01:00
Lionel Debroux 68b1f2cde2 msvcrt: Fix memory leak (found by Smatch). 2007-11-26 13:07:30 +01:00
Michael Stefaniuc daf1ed48c3 msvcrt/tests: Remove redundant NULL check before free(). Found by Smatch. 2007-11-19 13:02:06 +01:00
Stefan Dösinger a529ef4875 msvcrt: Implement _mbsnbcpy_s. 2007-11-16 15:07:55 +01:00
Stefan Dösinger 9582f5c719 msvcrt: Implement strcat_s. 2007-11-16 15:07:26 +01:00
Stefan Dösinger 18daed62ed msvcrt: Implement strcpy_s. 2007-11-16 15:06:52 +01:00
Dan Kegel a1e4758f07 msvcrt: Fix two buglets in heap test. 2007-11-07 13:21:35 +01:00
Alexandre Julliard 3bb04c88b7 msvcrt: Silence FIXME about an unknown parameter that isn't used. 2007-10-31 12:41:49 +01:00
Mikolaj Zalewski 1f632a29ce msvcrt/tests: Loosen the mbctype test to pass under Windows 9x and NT 4.0. 2007-10-29 12:02:56 +01:00
Lionel Debroux efebe8b29b msvcrt/tests: Fix memory leak (found by Smatch). 2007-10-26 14:03:47 +02:00
Francois Gouget 015844a63c msvcrt: Fix the calling convention of _wsearchenv() and _wspawnv*(). 2007-10-15 14:05:28 +02:00
Alexandre Julliard 49864b084d msvcrt: Fix demangling of function pointers by maintaining the left/right distinction for type references. 2007-10-10 19:52:16 +02:00
Dan Kegel 56eb6f6730 msvcrt: Fix ^Z handling in text mode. 2007-10-09 11:39:57 +02:00
Dan Kegel 4cd3a16f18 msvcrt: Improve CR CR LF handling. 2007-10-05 10:33:27 +02:00
Karl Relton 260fd8a4a9 msvcrt: New implementation of fcvt. 2007-09-25 12:37:32 +02:00
Hans Leidekker 1efae756c3 msvcrt: Implement _wspawnv{, e, p, pe}. 2007-09-24 14:38:53 +02:00
Hans Leidekker 7d3d98eb5c msvcrt: Implement _wsearchenv. 2007-09-24 14:37:39 +02:00
Alexandre Julliard fcae6777a4 msvcrt: Added implementation of a few more __crt functions. 2007-09-19 17:53:06 +02:00
Alexandre Julliard 35602d4106 msvcrt: Added implementation for __STRINGTOLD. 2007-09-19 17:52:40 +02:00
Tijl Coosemans 6bbd3cacb8 msvcrt: Resolve symbols clashes with FreeBSD libc. 2007-09-19 15:01:33 +02:00
Francois Gouget dd3e2be810 msvcrt: Add a prototype for _atoldbl() & co and declare _LDOUBLE & co in stdlib.h. 2007-08-30 17:02:48 +02:00
Francois Gouget a116879507 Assorted spelling fixes. 2007-08-30 12:26:02 +02:00
Alexandre Julliard 26d50d6ee1 msvcrt: Don't include mbstring.h to avoid conflicts with system headers. 2007-08-24 15:11:17 +02:00
Mikolaj Zalewski 758539c8a3 msvcrt: Implement and test _mbsbtype. 2007-08-24 10:57:16 +02:00
Mikolaj Zalewski 884d718c49 msvcrt: Test and fix _ismbslead and _ismbstrail. 2007-08-24 10:57:16 +02:00
Mikolaj Zalewski 9a2d605dd9 msvcrt: Test and fix _mbsinc/_mbsninc. 2007-08-23 12:43:16 +02:00
Mikolaj Zalewski cf8cf1d7f9 msvcrt: Don't test codepage 20932. 2007-08-23 12:43:04 +02:00
Mikolaj Zalewski c5268a20ab msvcrt: Test and fix _mbccpy, _mbsncpy and _mbsnbcpy. 2007-08-23 12:42:54 +02:00
Dmitry Timoshkov e98d1da7d4 msvcrt: Restore error handling code in localtime. 2007-08-21 21:39:03 +02:00
Mikolaj Zalewski 12ff6788b3 msvcrt: Test that some functions depends on locale codepage, not the one set by _setmbcp. 2007-08-21 13:00:41 +02:00
Mikolaj Zalewski cea1052f62 msvcrt: Test and fix _mbclen/_mbslen. 2007-08-21 13:00:33 +02:00
Mikolaj Zalewski 545f446bf3 msvcrt: Test and fix _mbsnextc. 2007-08-21 13:00:16 +02:00
Mikolaj Zalewski ba43c67f8f msvcrt: Implement _ismbblead/_ismbbtrail using _mbctype (with tests). 2007-08-21 13:00:06 +02:00
Mikolaj Zalewski ea824f830f msvcrt: Fill _mbctype table in _setmbcp. 2007-08-21 12:59:56 +02:00
Paul Vriens 56f4262e94 msvcrt/tests: Wait for spawned processes to finish. 2007-08-21 12:41:42 +02:00
Dmitry Timoshkov 1e5b131d7a msvcrt: Route mktime and localtime to glibc. 2007-08-21 12:41:35 +02:00
Mikolaj Zalewski e9ec5d4aff msvcrt: __mb_cur_max is not updated in _setmbcp (with testcase) and should not be used in _ismbblead. 2007-08-17 12:43:19 +02:00
Paul Vriens 059436d536 msvcrt/tests: Remove wrong FreeLibrary and fix typo's. 2007-08-15 10:48:59 +02:00
Alexandre Julliard 1b819cbe87 msvcrt: Use a valid parameter array when demangling a template name. 2007-08-14 18:10:53 +02:00
Alexandre Julliard 7f1db3a3e4 msvcrt: Use the correct size_t type. 2007-08-08 15:32:04 +02:00
Peter Beutner 1a688cd058 msvcrt: Fix _makepath(). 2007-08-07 12:36:23 +02:00
Peter Beutner 2b3c19fe55 msvcrt: Add _makepath() tests. 2007-08-07 12:36:12 +02:00
Damjan Jovanovic d85b10accb msvcrt: mbsnbicmp should be case insensitive. 2007-08-06 13:57:58 +02:00
Robert Reif cf7c156fe3 msvcrt/tests: Add _aligned_malloc tests. 2007-07-31 20:32:57 +02:00
Robert Reif fc77a467cd msvcrt: Add _aligned_malloc functions. 2007-07-31 20:32:52 +02:00
Alexandre Julliard 1f5a4a8046 msvcrt: Get rid of the now unused strndup/wstrndup functions. 2007-07-27 12:18:44 +02:00
Alexandre Julliard 00c81e9d9f msvcrt: Fixed errno setting in malloc, HeapAlloc doesn't set last error. 2007-07-27 12:18:15 +02:00
Alexandre Julliard b2acafad44 msvcrt: Fixed buffer allocation in _getcwd/_wgetcwd. 2007-07-27 12:17:58 +02:00
Vitaliy Margolen b25ad76a22 msvcrt: Preserve registers when calling unwind function. 2007-07-16 14:53:42 +02:00
Michael Stefaniuc d7d40b7dd3 msvcrt: Remove superfluous casts of void pointers to other pointer types. 2007-07-04 12:06:58 +02:00
Michael Stefaniuc ec4936a6a3 msvcrt: Do not use wide character constants. 2007-06-25 11:43:58 +02:00
Michael Stefaniuc 814ca1295a msvcrt: Move definition of 2 static inline functions up and remove the forward declaration of those. Found by sparse. 2007-06-20 13:08:48 +02:00
Alexandre Julliard 72bc7429e4 msvcrt: Set the correct ebp value before calling the local unwind handler. 2007-06-08 12:56:19 +02:00
Francois Gouget a50dfc174e msvcrt/tests: Fix a signed/unsigned int mismatch. 2007-05-29 12:12:05 +02:00
Francois Gouget cf218621fd msvcrt: When operating on a closed pipe, read() should return 0, not -1.
Add tests to make sure read() and fread() work right on closed pipes.
2007-05-22 12:01:35 +02:00
Francois Gouget 784693bb5a msvcrt: Remove the S_ISXXX() macros as they are not present in the Visual C++ headers. 2007-05-22 12:01:28 +02:00
Francois Gouget f793221f0f msvcrt/tests: When compiling with Visual C++ 2005, one must define _CRT_NON_CONFORMING_SWPRINTFS otherwise swprintf() takes an extra parameter. 2007-05-22 11:59:56 +02:00
Andrew Talbot 9069577cd0 msvcrt: Exclude unused headers. 2007-05-15 12:19:12 +02:00
Hans Leidekker 480faefe61 msvcrt: Correct the spec file entry for _makepath. 2007-04-19 11:56:10 +02:00
Andrew Talbot 0edfb58d2a msvcrt: Remove superfluous semicolons. 2007-04-11 11:20:34 +02:00
Michael Stefaniuc 590bf1be88 msvcrt: Demangle a C++ mangled string that is only a name with it's template argument list. 2007-04-06 12:31:05 +02:00
Michael Stefaniuc 4718261e9b msvcrt: Move the code to demangle a name with its template argument list out of get_class() and into a separate function. 2007-04-06 12:31:04 +02:00
Andrew Talbot 1e8e0a4ed2 msvcrt/tests: Replace inline static with static inline. 2007-03-23 12:29:28 +01:00
Andrew Talbot 7b10348088 msvcrt: Replace inline static with static inline. 2007-03-20 13:00:59 +01:00
Dmitry Timoshkov 63da5f26c2 msvcrt: Print FIXME on platforms where _except_handler3 is a stub. 2007-03-19 12:17:02 +01:00
Jan Zerebecki fbe9b578e1 msvcrt: Remove unused variable. 2007-03-15 12:25:12 +01:00
Alexandre Julliard 8f097d8c9d msvcrt: _initterm doesn't return anything. 2007-03-14 12:26:43 +01:00
Alexandre Julliard 35d728ef50 msvcrt: Improved _local_unwind2 implementation.
Thanks to Dmitry Timoshkov for a test case.
2007-03-13 15:53:09 +01:00
Jan Zerebecki 3b32ae2a54 msvcrt: Add DebugInfo to critical sections. 2007-03-12 13:38:22 +01:00
Paul Vriens 8ebcf40043 msvcrt/tests: Properly remove temporary directory. 2007-03-06 22:00:11 +01:00
Damjan Jovanovic 2705d78876 msvcrt: Fix fstat's handling of pipes and char devices.
For pipes/char devices, st_dev and st_rdev should be the fd, st_nlink
is always 1, and st_mode is S_IFIFO and S_IFCHR respectively.
Added tests to prove the new behaviour right.
2007-02-16 13:13:37 +01:00
Damjan Jovanovic 7ecc283bd9 msvcrt: Implemented stat64, wstat64 and fstat64.
Change all other variations of stat use the stat64 family, since it is
the most general.
2007-02-14 12:31:14 +01:00
Damjan Jovanovic cbb6da2d70 msvcrt: Added declarations for functions and structures related to stat64. 2007-02-14 12:30:58 +01:00
Eric Pouech f415b5ddeb msvcrt: Use raise(SIGABRT) for abort() and assert(). 2007-02-09 11:50:37 +01:00
Eric Pouech bb5a20c61a msvcrt: Implemented the raise function. 2007-02-09 11:50:25 +01:00
Eric Pouech 9f309b32e6 msvcrt: Reset a signal to DFL before it's used. 2007-02-09 11:50:16 +01:00
Alexandre Julliard 2851b31f4c msvcrt: Implement fopen/wfopen on top of fsopen/wfsopen instead of the other way around. 2007-02-07 13:25:29 +01:00
Juan Lang 24dbdf8fa5 msvcrt: Implement _mbbtype according to MSDN. 2007-02-07 11:34:26 +01:00
Damjan Jovanovic 65d9723dc4 msvcrt: Align struct _stati64's st_size on an 8 byte boundary. 2007-02-06 13:28:36 +01:00
Michael Stefaniuc bbe9c51b31 msvcrt: Fix *printf() handling of negative field width. 2007-02-05 12:26:10 +01:00
Eric Pouech 8333cf88d8 msvcrt: Fix the internal flag computation for _open_osfhandle. 2007-01-23 13:05:52 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Alasdair Sinclair 8137c094fd msvcrt: If we're at EOF in the buffer and we have pattern %n in format string we should not count the EOF in the total. 2007-01-17 11:23:34 +01:00
Alexandre Julliard 6f9ad1b981 msvcrt: Export various locale and codepage variables. 2007-01-16 12:08:59 +01:00
Andrew Talbot 464a6eb431 msvcrt: Move static function from header into file where it is called. 2007-01-16 11:19:14 +01:00
Andrew Talbot 338100c255 msvcrt: Declare some items static. 2007-01-15 14:22:39 +01:00
Eric Pouech 262cf1547e msvcrt: execl fix when no args are given (reported by Louis Lenders). 2007-01-02 20:31:20 +01:00
Andrew Talbot 6d9f0c2052 msvcrt: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL. 2007-01-02 13:21:08 +01:00
Michael Stefaniuc c7e00c9f49 janitorial: In multiline strings there is no need for '\' at the end of the lines. 2006-12-27 13:10:13 +01:00
Dmitry Timoshkov ada9dc9d4b msvcrt: Make an internal function static, avoid a prototype. 2006-12-26 12:20:25 +01:00
Duane Clark 67386352c8 msvcrt: Add function _mbsspnp. 2006-12-24 13:07:22 +01:00
Louis Lenders 6c04a187d2 msvcrt: Add _atoldbl. 2006-12-19 16:18:01 +01:00
Alexandre Julliard 0689e9ea05 msvcrt: Define __CxxLongjmpUnwind for i386 only. 2006-12-16 17:37:20 +01:00
Alexandre Julliard 7d98599d7d msvcrt: Implemented __CxxLongjmpUnwind. 2006-12-15 13:41:48 +01:00
Alexandre Julliard 8592c4b876 msvcrt: Make pointers to read-only exception descriptors const. 2006-12-15 13:41:31 +01:00
Dmitry Timoshkov ffa84441c8 msvcrt: Make some data const. 2006-12-14 20:11:31 +01:00
Francois Gouget f0dd63cbb4 msvcrt: The tests link with msvcrt(d).dll now, so use GetModuleHandle() rather than LoadLibrary(). 2006-12-14 12:44:28 +01:00
Andrew Talbot ac550a88ef msvcrt/tests: Cast-qual warnings fix. 2006-12-13 11:49:06 +01:00
Andrew Talbot 9317377fb8 msvcrt/tests: Cast-qual warnings fix. 2006-12-12 12:11:12 +01:00
Andrew Talbot 24c4f46da4 msvcrt/tests: Cast-qual warnings fix. 2006-12-12 12:11:07 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Alexandre Julliard ec7f2f8802 msvcrt: Use LOCALE_USER_DEFAULT to get the proper codepage for the Unix locale. 2006-12-08 12:56:17 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Francois Gouget 1a145bb532 msvcrt/tests: We cannot link with _initterm() with Visual C++, so we have to load it dynamically. 2006-11-24 12:56:35 +01:00
Francois Gouget b2765fc45a msvcrt/tests: The tests must not include msvcrt.h because it contains declarations that may be incompatible with the PSDK headers. 2006-11-24 11:49:13 +01:00
Louis Lenders fa47970e6c msvcrt: Add _fstat64 and _stat64 to msvcrt.spec. 2006-11-17 12:45:21 +01:00
Sam Dennis 48c006621d msvcrt: Use the custom vsnprintf implementation for msvcrt.vsprintf too. 2006-11-15 11:25:00 +01:00
Alexandre Julliard 63b62dc50b msvcrt/tests: Clean up a temp file. 2006-11-14 12:00:38 +01:00
Jesse Allen a697fe51e0 msvcrt: printf buffer overrun tests. 2006-11-14 11:37:40 +01:00
Jesse Allen 5b75c86921 msvcrt: Estimate required buffer size better in pf_vsnprintf. 2006-11-14 11:37:31 +01:00
Jesse Allen fa8656f841 msvcrt: Free correct buffer in pf_vsnprintf. 2006-11-14 11:35:42 +01:00
Andrew Talbot 55f25b712d msvcrt: Cast-qual warnings fix. 2006-11-06 15:39:55 +01:00
Louis. Lenders 32ffc7cb8a msvcrt: Add stub for _setmaxstdio + tiny test. 2006-10-31 11:46:20 +01:00
Duane Clark b4c1c67ea4 msvcrt: Fix fread on large buffers in ascii mode. 2006-10-27 12:30:24 +02:00
Markus Amsler 9fb58434cb msvcrt: Speed up new operator. 2006-10-23 14:39:07 +02:00
Louis. Lenders a5e6c89dcf msvcrt: Add stub for _getmaxstdio. 2006-10-18 12:35:40 +02:00
Markus Amsler 9ae995f674 msvcrt: Fix fread eof handling. 2006-10-13 11:20:40 +02:00
Markus Amsler fdd61a7a35 msvcrt: fread: Fill buffer on small reads. 2006-10-13 11:20:35 +02:00
Markus Amsler ef5ed0a42a msvcrt: Add fread eof tests. 2006-10-13 11:20:26 +02:00
Michael Stefaniuc 173f7bd26c janitorial: Remove remaining NULL checks before free() (found by Smatch). 2006-10-10 12:56:24 +02:00
Michael Stefaniuc 223b92fc67 msvcrt/tests: Win64 printf format warning fixes. 2006-10-06 12:33:29 +02:00
Michael Stefaniuc 6520ee04c8 msvcrt: Win64 printf format warning fixes. 2006-10-04 09:58:47 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Duane Clark 9a71b483d3 msvcrt: fgetc needs to use unsigned parameters.
Spotted by and adapted from test written by Tobias Ringström.
2006-09-26 11:41:25 +02:00
Andrew Talbot c5df5717e9 msvcrt: Cast-qual warnings fix. 2006-09-20 12:23:32 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Dan Kegel 39857443e4 programs/wcmd: Rename to programs/cmd. 2006-09-07 15:08:44 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Andrzej Popowski 4e5c51a6ee msvcrt: Fix scanf format "%i" base detection. 2006-08-23 17:04:53 +02:00
Alexandre Julliard 9edcd1c1b2 msvcrt: Fixed access to the extra arguments of setjmp3. 2006-08-18 20:56:43 +02:00
Tijl Coosemans 7c69033b0a msvcrt: Rename _execve to MSVCRT__execve. 2006-08-09 23:09:08 +02:00
Duane Clark 4d3952f3dc msvcrt: In text mode a ctrl-z signals EOF.
Spotted by David Hagood with test suggested by Dan Kegel.
2006-08-09 17:33:23 +02:00
Michael Stefaniuc 243a3e4107 msvcrt: Remove redundant NULL checks before MSVCRT_free. 2006-08-09 11:21:07 +02:00
Stefan Leichter aefdcd13e5 msvcrt: Some more exports requested from msvcr80.dll. 2006-08-07 13:10:10 +02:00
Duane Clark bc194793a7 msvcrt: Fix fgetwc/s in binary mode. 2006-07-31 21:44:17 +02:00
Duane Clark d74b6055fe msvcrt: Test fgetwc/s in binary mode. 2006-07-31 21:43:08 +02:00
Duane Clark 5c4b18a931 msvcrt: Remove read_i loop and fix fread. 2006-07-31 21:43:01 +02:00
Duane Clark 88aeeb9fd8 msvcrt: Fix _getw. 2006-07-31 11:15:21 +02:00
Duane Clark b44ea8084d msvcrt: Fix fread. 2006-07-31 11:15:21 +02:00
Duane Clark b37b967add msvcrt: Fix _read and fgetc. 2006-07-31 11:15:21 +02:00
Duane Clark 1aa8db05a0 msvcrt: File read buffer tests. 2006-07-31 11:15:21 +02:00
Duane Clark f8e4d4ccee msvcrt: Add tests of file operations in ASCII mode. 2006-07-18 11:16:31 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard 429cd9e817 msvcrt: Avoid including system headers in msvcrt.h. 2006-07-10 11:54:10 +02:00
Ivan Leo f2bfc7b12d msvcrt/tests: Don't leave files on the disk. 2006-06-27 21:14:02 +02:00
Louis. Lenders 6f1ab505ac msvcrt: Add simple test for _strdup(0). 2006-06-21 13:54:06 +02:00
Louis. Lenders 6d4a811cd5 msvcrt: Fix a crash in _strdup. 2006-06-21 13:53:59 +02:00
Andrew Ziem 2132eb5490 msvcrt: Fix _initterm, with tests. 2006-06-21 13:40:33 +02:00
Jeremy White a73d568ece msvcrt: Solaris asctime_r compilation fix. 2006-06-19 22:42:05 +02:00
Alexandre Julliard db78a84d47 msvcrt: Use unsigned int instead of size_t to avoid printf format warnings. 2006-06-13 14:14:06 +02:00
Alexandre Julliard 24beabfd4e msvcrt: Explicitly specify CDECL calling convention on exported functions. 2006-06-13 11:40:23 +02:00
Dmitry Timoshkov a87a153587 msvcrt: Print exception code in hex. 2006-06-12 13:21:47 +02:00
Andrew Talbot 034fc473ec msvcrt: Write-strings warning fix. 2006-06-07 15:24:18 +02:00
Andrew Talbot 5ebf4f5b4e msvcrt: Write-strings warnings fix. 2006-06-06 11:29:41 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Peter Beutner bc83ae9fda msvcrt: Fix handling of 'h' prefix in swprintf.
- '%hs' in widechar string functions is wrongly recognized as
  a widechar string. Fix this by always checking the prefix first.
- add testcase
- remove code duplication in %c/%s handling by moving code into a function.
2006-05-16 20:21:44 +02:00
Vitaliy Margolen 99cfc8bdf8 msvcrt: Fix times tests to pass on windows.
Add more tests for daylight-time savings.
2006-05-15 14:25:52 +02:00
qingdoa daoo 4f7adfb04a msvcrt: Don't duplicate handle in _get_osfhandle. 2006-05-08 17:40:09 +02:00
qingdoa daoo 750102d1a3 msvcrt: If caller passes a NULL deallocator to __unDNameEx, don't use it. 2006-04-13 11:23:13 +02:00
Eric Pouech 819565be21 msvcrt: IO init.
Make sure, when copying handles from std ones (when no io info is
inherited from parent) to create inheritable handles (spotted by
qingdao daoo).
2006-04-11 12:38:23 +02:00
qingdoa daoo 508c6e6cf4 msvcrt: Append extension(.exe) for _spawnve argument. 2006-04-06 12:05:54 +02:00
qingdoa daoo 330978ec9b msvcrt: Fix a TRACE message to avoid buffer overflow. 2006-04-05 10:58:41 +02:00
qingdoa daoo 35a9398ffe msvcrt: Allow environment strings longer than 512 characters. 2006-04-03 11:39:56 +02:00
Rein Klazes ef9038c761 msvcrt: Fix read beyond end of string in __unDNameEx(). 2006-03-30 21:54:45 +02:00
H. Verbeet 8c29b7dc8b msvcrt: Fix reading of signed numbers with unsigned read types in scanf. 2006-03-27 11:30:50 +02:00
Alexandre Julliard 19a088202a msvcrt: Fix fflush() of files opened for read.
Some apps, for no particular reason, call fflush() on files opened for
read.  This keeps them from tripping over their shoelaces.
2006-03-27 11:30:50 +02:00
Alexandre Julliard 7fe881c7f2 msvcrt: Implementation of wcsftime (based on a patch by Mike McCormack). 2006-03-23 20:35:52 +01:00
Eric Pouech f7441f9e1a msvcrt: Some more fixes to name demangling. 2006-03-06 11:37:14 +01:00
Mike McCormack d16c72dea5 msvcrt: Add a stub for _wsetlocale. 2006-02-28 12:02:13 +01:00
Francois Gouget e092adfc9b Add trailing '\n's to ok() calls. 2006-02-24 21:07:33 +01:00
Peter Beutner 82818284c3 msvcrt: Save esp before calling catch block and restore afterwards.
It seems like the esp value (which is saved at [ebp-16]) is sometimes
changed inside the catch handler so we end up with a bogus esp
afterwards.  To avoid that save it before calling the catch block.
2006-02-22 12:21:00 +01:00
Peter Beutner be07b6db59 msvcrt: Fix handling of multiple nested exceptions.
Save in each nested frame a pointer to the original exception record.
Only one refence in thread_data isn't enough when we have multiple
nested frames.
2006-02-22 12:06:56 +01:00
Peter Beutner 62dc7f52f4 msvcrt: Fix handling of nested exceptions.
Move handling of nested exceptions completely in the
catch_function_nested_handler().  If a new exception was thrown inside
a catch block destroy the old exception object, if it is a rethrow
re-propagate the previous object.
2006-02-22 12:04:13 +01:00
Michael Stefaniuc 4758df4687 msvcrt: Misc cleanups in undname.c.
- remove unused argument from functions
- print the pointer in the str_array_push TRACE to be able to distinguish
  the different arrays.
- comment and white space cleanups
2006-02-20 11:18:51 +01:00
Michael Stefaniuc 067be97852 msvcrt: Add some tests for __unDName().
Add some tests for unDName() checking:
- data type modifiers A,B,P,Q,R,S
- literal strings
- back references to names
2006-02-20 11:18:25 +01:00
Michael Stefaniuc 262a5eec78 msvcrt: Use a separate stack for back references to names
Use a separate array/stack for the back references to names as
sym->stack is used to push temporary strings to it which breaks back
referencing in some occasions (26 symbols in the mfc42 dll).  During
this cleanup get_class() a little bit.
2006-02-20 11:18:04 +01:00
Michael Stefaniuc e367ebbf19 msvcrt: Move code to parse a literal string out of get_class().
unDName: Move the code to parse a literal string from get_class() to a
separate function. Add some error handling to the new function.
2006-02-20 11:17:41 +01:00
Michael Stefaniuc 538d1a1233 msvcrt: Wrap get_class() and get_class_string() for unDName. 2006-02-20 11:16:59 +01:00
Michael Stefaniuc 29fe8d02c7 msvcrt: Fix 20 tests from demangle_test() on old Win versions.
In test_demangle use a custom strcmp that treats multiple spaces as
single space. __unDName() from older msvcrt (including W2K it seems)
emit in some places 2 spaces instead of one. Fixes 20 failing tests on
those old Windows versions.
2006-02-20 11:16:27 +01:00
Peter Beutner 72017cc9ab msvcrt: Correctly set EOF flag in fread().
Setting the EOF flag only if _read() returns zero is not enough as we
could also read something AND hit the end of file.
_read() already sets another internal EOF flag, so just use this too.
Removing todo_wine from the test case.
2006-02-17 17:38:03 +01:00
Peter Beutner b786ea588c msvcrt: Add test for fread/feof.
When calling fread() with a large enough buffer to reach the end of
the file a subsequent feof() should return true; (marked as todo_wine
because it doesn't work atm).
2006-02-17 17:37:40 +01:00
Peter Beutner 916c4b6b8c msvcrt: Remove bogus code.
We can't just pop a exception record from the exception handler list
which we haven't put there.
2006-02-17 17:37:26 +01:00
Peter Beutner 58d3f14514 msvcrt: Fix use of uninitialized variable. 2006-02-17 17:37:14 +01:00
Mike McCormack 968445ca77 msvcrt: Fix a typo. 2006-02-13 13:24:26 +01:00
Dmitry Timoshkov ea0e7b3397 msvcrt: localtime should accept any positive time value. 2006-02-11 12:15:21 +01:00
Uwe Bonnes b53ed5866d msvcrt: In _mktemp sixth generated charater always starts with 'a'. 2006-02-10 15:52:47 +01:00
Michael Stefaniuc d815b50756 msvcrt: __unDNameEx is not a stub. 2006-02-08 12:42:33 +01:00
Michael Stefaniuc 0df8b0a020 msvcrt: Handle data types B,R,S in C++ symbol demangling. 2006-02-07 12:27:35 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Alexandre Julliard 28486da991 msvcrt: Make error strings static. 2006-01-24 14:00:46 +01:00
Alexandre Julliard 2a192064e8 ntdll: memcpy should behave like memmove in ntdll too. 2006-01-24 12:28:34 +01:00
Alexandre Julliard b7b7f2b679 Avoid importing _strlwr/_strupr from ntdll. 2006-01-24 12:24:05 +01:00
Alexandre Julliard a17b2c1cd2 msvcrt: Use the msvcrt version of printf everywhere. 2006-01-24 12:21:58 +01:00
Alexandre Julliard 2dacd3c54e msvcrt: Properly implemented strerror and perror (based on a patch by
Uwe Bonnes).
2006-01-23 19:58:10 +01:00
Alexandre Julliard 401ead5c8f msvcrt: Added _sys_errlist (based on a patch by Uwe Bonnes). 2006-01-23 19:30:21 +01:00
Alexandre Julliard 4755f8acec msvcrt: Added EILSEQ definition. 2006-01-23 19:29:36 +01:00
Hans Leidekker 1b69f035e1 msvcrt: Stub implementation for wcsftime. 2006-01-23 19:29:15 +01:00
Alexandre Julliard c016509119 msvcrt: Preserve all registers in call_ebp_func. 2006-01-21 19:23:02 +01:00
Sasha Slijepcevic 736cd60340 msvcrt: In _tempnam, if TMP is set, it has a precedence over the
parameter dir.
2006-01-18 14:22:27 +01:00
Marcus Meissner 71908c41c3 msvcrt: _makepath(): operate on target buffer directly. 2006-01-17 16:20:37 +01:00
Alexandre Julliard 30a90e1842 msvcrt: Forward functions to ntdll instead of libc where possible. 2006-01-14 17:42:12 +01:00
Alexandre Julliard b34ac466b1 msvcrt: Added wrappers for a few functions instead of linking them
directly to libc.
2006-01-14 17:40:29 +01:00
Alexandre Julliard 78412005e1 msvcrt: Set errno in the standard math functions too, not only in the
_CI* variants.
2006-01-14 17:36:23 +01:00
Alexandre Julliard ee603ce6dd msvcrt: Make snprintf and snwprintf use the msvcrt version of printf.
Remove todos from tests that succeed now.
2006-01-14 17:30:02 +01:00
Alexandre Julliard ad8cb6133e msvcrt: Reimplement rand() and srand() to use per-thread data for the
random seed.
2006-01-14 17:27:28 +01:00
Alexandre Julliard 2ec3b96135 msvcrt: Make strtok and wcstok thread-safe by using the per-thread data. 2006-01-14 17:24:49 +01:00
Alexandre Julliard f9e5b0f5f0 msvcrt: Implemented asctime, ctime and strftime instead of using the libc ones.
Make the code thread-safe by using asctime_r if available.
2006-01-14 17:22:03 +01:00
Aric Stewart 4bc3b16b44 msvcrt: Modify dir test to create its own directory to ensure the
directory exists for the test. Using the temp dir as the root.
2006-01-11 20:55:38 +01:00
Aric Stewart 3022ade359 msvcrt: Add a regression test for _fullpath. 2006-01-06 21:46:09 +01:00
Aric Stewart e09a6c8080 msvcrt: Reworked _fullpath.
Investigation with native msvcrt revealed that it is a wrapper for
GetFullPathName and the current implementation was crashing with older
mozilla installs if the path passed in was uninitialized.
2006-01-06 21:45:26 +01:00
Alexandre Julliard 545c4b7e7c msvcrt: Added assembly routines to save/restore registers for setjmp/longjmp
to avoid the overhead of a full-blown register function.
Some tracing improvements.
2006-01-05 14:36:37 +01:00
Alexandre Julliard abb170fac3 msvcrt: Added some assembly glue for the asm bits of __CxxFrameHandler
to avoid having to save/restore the whole context on every call.
2006-01-05 13:56:11 +01:00
Jesse Allen c5dc38874a msvcrt: More printf tests for I64 integer size support. 2005-12-26 13:01:49 +01:00
Jesse Allen 419d493aac msvcrt: pf_integer_conv for I64.
- Add pf_integer_conv and pf_is_integer_format.
- Update pf_fill to handle printing the sign for signed integers.
- Handle I64 integer sizes using pf_integer_conv and pf_output_format_A.
2005-12-26 13:01:38 +01:00
Jesse Allen ee058ed078 msvcrt: Do not treat %ll as an IntegerDouble in printf. 2005-12-26 13:00:35 +01:00
Jesse Allen 6c70942a05 msvcrt: Parse I, I32, and I64 integer size flags in printf. 2005-12-26 13:00:01 +01:00
Maxime Bellengé def7563526 msvcrt: Prevent a crash if TlsGetValue returns NULL in DLL_THREAD_DETACH. 2005-12-26 12:57:06 +01:00
Alexandre Julliard 06c1a36bce msvcrt: Return a per-thread buffer in localtime and gmtime. 2005-12-21 20:54:26 +01:00
Marcus Meissner 9a583763ee msvcrt: Implemented wctime(), wasctime().
Free thread data in DLL_THREAD_DETACH.
2005-12-21 20:23:47 +01:00
Jesse Allen 180326bb0a msvcrt: Fix printf sign flags.
Fix the printf sign flags so that '+' doesn't always override ' '
space alone.  If they both appear, continue parsing and let '+' take
precedence.
2005-12-21 20:07:03 +01:00
Jesse Allen 39b725b799 msvcrt: Ignore PadZero when LeftAlign is true in printf conversions. 2005-12-20 11:49:05 +01:00
Jesse Allen 5c6311688c msvcrt: Require exact uppercase and lowercase format in printf routines. 2005-12-19 21:26:46 +01:00