Commit Graph

1109 Commits

Author SHA1 Message Date
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
Eric Pouech 4b94890741 msvcrt: Moved _get_osplatform to the new macros for parameters validation. 2010-11-01 12:31:58 +01:00
Eric Pouech fd3ad8cd2a msvcrt: Added macro to ease implementation of so called secure (_s postfix) APIs. 2010-11-01 12:31:19 +01:00
Andrew Nguyen ed357e5ca6 msvcrt: Implement _ultoa_s. 2010-10-21 12:30:44 +02:00
Andrew Nguyen a622af49a7 msvcrt: Implement _mbsnbcat_s. 2010-10-21 12:30:35 +02:00
Damjan Jovanovic b39c59e75d msvcrt: Improve wcsncat_s. 2010-10-19 10:15:38 +02:00
Damjan Jovanovic c7536ef868 msvcrt: Define STRUNCATE. 2010-10-19 10:15:35 +02:00
Damjan Jovanovic 302d63a225 msvcrt: Implement wcsncat_s. 2010-10-18 19:47:49 +02:00
Andrew Nguyen 41ab825126 msvcrt: Implement _strlwr_s. 2010-10-11 17:11:38 +02:00
Andrew Nguyen bcfaf467b5 msvcrt: Implement _itoa_s. 2010-10-11 17:11:38 +02:00
Andrew Nguyen 6086610314 msvcrt: Implement _localtime32_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen 90771ab605 msvcrt: Use the write_invalid_msvcrt_tm helper in _gmtime64_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen e245cb52c6 msvcrt: Implement _localtime64_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen eb09472870 msvcrt: Initialize _wenviron in Unicode environment getter function. 2010-10-07 12:00:27 +02:00
Andrew Nguyen 797d6cb4e2 msvcrt/tests: Add tests for the __p__(w)environ accessors. 2010-10-07 12:00:27 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Andrew Nguyen 285e6d249f msvcrt: Initialize environ on DLL load. 2010-09-30 17:51:16 +02:00
Hans Leidekker 23fdfbc392 msvcrt: Implement wcsnlen. 2010-09-29 10:11:48 +02:00
Andrew Nguyen 67088eb34c msvcrt: Implement _set_doserrno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen ad68c0bd3c msvcrt: Implement _set_errno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen c3b127f566 msvcrt: Implement _get_doserrno. 2010-09-28 17:33:16 +02:00
Andrew Nguyen 79ab715272 msvcrt: Implement _get_errno. 2010-09-28 17:33:15 +02:00
Andrew Nguyen b7a74d24f5 msvcrt: Implement strerror_s. 2010-09-28 17:33:15 +02:00
Andrew Nguyen ac26d786c4 msvcrt: Convert the Unix asctime string from CP_UNIXCP to CP_ACP. 2010-09-28 17:33:15 +02:00
Piotr Caban 120346da88 msvcrt: Added 'll' modifier to printf functions. 2010-09-23 17:50:12 +02:00
Alexandre Julliard bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Piotr Caban 1861c2162d msvcrt: Fix _splitpath and _wsplitpath implementation. 2010-09-02 11:49:58 +02:00
Alexandre Goujon 2c08a3fbc7 msvcrt: Properly fix setlocale and clean up tests. 2010-08-31 17:48:06 +02:00
Alexandre Julliard 56ed2930a9 msvcrt: Use float instead of long in the spec file for 32-bit floating point values. 2010-08-31 14:23:48 +02:00
Alexandre Julliard 77b6ce5979 msvcrt: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:48 +02:00
Piotr Caban 899d9a042b msvcrt: Added _splitpath_s implementation. 2010-08-30 11:26:30 +02:00
Alexandre Goujon 7a1752013c msvcrt: string Avoid size_t in ok(). 2010-08-30 11:26:29 +02:00
Alexandre Julliard dfdea6c4a5 msvcrt: Add -ret64 flag on some functions that return a 64-bit value. 2010-08-29 12:09:36 +02:00
Piotr Caban 3a25d7d9aa msvcrt: Added _gcvt_s implementation. 2010-08-27 12:06:43 +02:00
Piotr Caban 600fa766f3 msvcrt: Added _scprintf implementation. 2010-08-27 12:06:12 +02:00
Piotr Caban 6467c8325f msvcrt: Added _gmtime32_s and _gmtime64_s implementation. 2010-08-27 12:06:00 +02:00
Piotr Caban 471bad1ee8 msvcrt: Added _strdate_s and _wstrdate_s implementation. 2010-08-27 12:05:42 +02:00
Piotr Caban 7d0c04d31c msvcrt: Added _strtime_s and _wstrtime_s implementation. 2010-08-27 12:05:10 +02:00
Piotr Caban 898e17f2af msvcrt: Added _set_purecall_handler implementation. 2010-08-25 17:37:48 +02:00
Piotr Caban 76058b14eb msvcrt: Added _set_SSE2_enable stub. 2010-08-25 17:37:37 +02:00
Alexandre Julliard 52aac5aba7 msvcrt: Export the 64-bit version of the C++ mangled names for all implemented functions. 2010-08-24 22:22:09 +02:00
Alexandre Julliard c4f673fb63 msvcrt: List the this pointer as an additional argument for thiscall functions. 2010-08-24 19:29:27 +02:00
Alexandre Julliard 14072676a6 msvcrt: Use a __thiscall macro where appropriate to make the calling convention clearer. 2010-08-24 16:31:25 +02:00
Alexandre Julliard b21e28ca11 msvcrt: Use the thiscall type on appropriate entry points. 2010-08-24 16:24:01 +02:00
Alexandre Julliard c27aa289b7 msvcrt: Use the appropriate mangled names for operator new/delete on 64-bit. 2010-07-22 16:55:35 +02:00
Piotr Caban 9915dd03b4 msvcrt: Fixed strtod_l/wcstod_l implementation. 2010-07-22 16:11:02 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard a38ff8d7dd msvcrt/tests: Fix printf format warnings with ptrdiff_t. 2010-07-21 13:23:59 +02:00
Greg Geldorp 913c91fd47 msvcrt/tests: ecvt on Win9x and NT4 will corrupt memory if nrdigits < 0. 2010-07-19 14:49:07 +02:00
Alexandre Julliard d2cda58a1f msvcrt/tests: Add some alternative locale names that happen on Windows. 2010-07-09 11:38:08 +02:00
Alexandre Julliard c5e88a3a69 msvcrt: Use the correct strdup function for locale data. 2010-06-28 11:45:01 +02:00
Andrew Nguyen 58dd97efcf msvcrt: Implement _wmakepath_s. 2010-06-25 12:49:57 +02:00
Andrew Nguyen 9628a0d3e4 msvcrt: Implement _makepath_s. 2010-06-25 12:49:44 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Francois Gouget 1f07f583cf msvcrt/tests: Make test_dup2() static. 2010-06-22 20:03:49 +02:00
Francois Gouget eb8ce091cb msvcrt/tests: Add a trailing '\n' to an ok() call. 2010-06-22 20:03:36 +02:00
Piotr Caban c0637edda2 msvcrt: Added __crtLCMapStringW partial implementation. 2010-06-22 13:51:30 +02:00
Alexander Scott-Johns 5fd1409c6a msvcrt/tests: Rename a variable. 2010-06-17 14:07:15 +02:00
Nikolay Sivov 90013af6f9 msvcrt: Fix __lconv_init() prototype. 2010-06-11 11:36:54 +02:00
Nikolay Sivov 97807760ca msvcrt: Add _scwprintf implementation. 2010-06-11 11:36:39 +02:00
Nikolay Sivov 1a234159fe msvcrt: Add _snwprintf_s implementation. 2010-06-11 11:36:35 +02:00
Nikolay Sivov 59bddde594 msvcrt: Add _snprintf_s implementation. 2010-06-11 11:36:30 +02:00
Alexander Scott-Johns f2229e6de0 msvcrt/tests: Move function pointer initialization code in printf.c into separate init function. 2010-06-09 16:12:37 +02:00
Alexander Scott-Johns d313c0b982 msvcrt/test: Add some simple _vsnwprintf_s tests. 2010-06-07 13:52:09 +02:00
Alexander Scott-Johns d3c00aab83 msvcrt: Fix spec file. 2010-06-07 13:52:03 +02:00
Alexander Scott-Johns d56113cd4f msvcrt: The sizeOfBuffer argument of _vsnwprintf_s is measured in wide characters, not bytes. 2010-06-07 13:51:55 +02:00
Alexander Scott-Johns 4e8e2f39c5 include/msvcrt: Define _TRUNCATE; use it in the tests. 2010-06-07 13:51:49 +02:00
Alexander Scott-Johns 2663079c60 msvcrt: Rename _TRUNCATE to MSVCRT__TRUNCATE. 2010-06-07 13:51:34 +02:00
Alexander Scott-Johns b205fd8108 msvcrt/tests: Properly skip if functions are not available. 2010-06-07 13:51:24 +02:00
Alexander Scott-Johns 19bff6bda5 msvcrt: Fix comments. 2010-06-07 13:49:18 +02:00
Alexandre Julliard 14b3db99c1 msvcrt: Make sure msvcrt doesn't get unloaded.
We can't initialize file handles properly a second time.
2010-05-28 20:33:27 +02:00
Robert Wilhelm 620af69d88 msvcrt: Support system(NULL). 2010-05-28 16:22:26 +02:00
Gerald Pfeifer 68a94aa901 msvcrt/tests: Adjust CHECK_TYPE to avoid some two dozen compiler warnings. 2010-05-25 12:03:07 +02:00