Commit Graph

587 Commits

Author SHA1 Message Date
Gijs Vermeulen 1ae09d5fb2 msvcrt: Add vf[w]printf_s_l.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 18:28:21 +02:00
Piotr Caban eb7d55761e msvcrt: Add _mbccpy_s_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:49 +02:00
Piotr Caban f097c2be11 msvcrt: Add mbsnlen_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-05 20:32:03 +02:00
Alistair Leslie-Hughes fae0570a88 msvcrt: Implement clearerr_s.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 11:19:36 +02:00
Gijs Vermeulen 4a75c37b41 msvcrt: Add _vfprintf_l.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-19 14:28:29 +02:00
Martin Storsjo 3d3d080688 msvcrt: Implement setjmp/longjmp on aarch64.
Also include the rest of except_*.c (based on except_arm.c) as stubs.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 16:23:14 +02:00
Nikolay Sivov 1a6e50ce97 msvcrt: Added _ismbcl0().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-12 11:11:43 +09:00
Piotr Caban 395a65bdc6 msvcrt: Fix strcpy implementation so it works on overlapping buffers.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-06 10:34:11 +09:00
Martin Storsjo a44b52d102 msvcrt: Export -f suffixed float functions functions on arm64.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-03 19:18:06 +02:00
Martin Storsjo a4af0aaf5f msvcrt: Don't export _isnanf, _nextafterf, _scalbf and frexpf on arm.
Based on the import libraries in MSVC 2012, 2013 and in the Windows 10
SDK, these functions actually aren't exported on arm - only on x86_64.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-03 19:17:53 +02:00
Huw Davies b7bb360be3 msvcrt: _difftime64() takes 64-bit args.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 16:22:25 +02:00
Daniel Lehman bda232de94 msvcrt: Add _iswctype_l.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-04 14:54:09 +02:00
Piotr Caban 282b9e6c90 msvcr: Fix strftime spec file entry.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-14 20:10:22 +01:00
André Hentschel 673ef69309 msvcrt: Fix _CxxThrowException spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 12:38:24 +01:00
Alexandre Julliard cf51752d5f msvcrt: Disable relay for the __libm_sse2 functions.
The relay code can use the SSE registers too.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2016-12-21 18:37:21 +01:00
Daniel Lehman cada88a64b msvcrt: Add _lfind_s.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-29 12:14:44 +01:00
Piotr Caban dc0e3d0a9c msvcrt: Add _fpieee_flt stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 01:10:21 +09:00
Piotr Caban e38cbd82bd msvcrt: Add wcsftime_l.
Based on Daniel Lehman's patch.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:56 +09:00
Hugh McMaster 56eb4d3105 msvcrt: Implement _wperror.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:09:17 +09:00
Piotr Caban 540d969150 msvcrt: Add mbsrtowcs_s implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 21:16:49 +09:00
Piotr Caban 8348d4b40e msvcrt: Add __CxxUnregisterExceptionObject partial implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 11:32:25 +09:00
Piotr Caban 76411c8dc5 msvcrt: Add __DestructExceptionObject implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 11:32:20 +09:00
Piotr Caban 11ccffea08 msvcrt: Add __CxxRegisterExceptionObject implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 11:32:15 +09:00
Alexandre Julliard e4f92e04a7 msvcrt: Don't import atexit to avoid conflicts with the Mingw runtime.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:03 +09:00
Piotr Caban 77feb6938d msvcrt: Add _wtmpnam_s implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 18:23:43 +01:00
Piotr Caban 9b6c93f6f2 msvcrt: Add tmpnam_s implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 18:23:36 +01:00
Paul Gofman a3c818b33d msvcrt: Rename __libm_sse2_* functions to fix compilation when using Intel compiler.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 13:51:32 +01:00
Piotr Caban 5e10634a5a msvcrt: Add _strtol_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:19:54 +01:00
Sebastian Lackner e00999ccf4 msvcrt: Fix specfile entry for $I10_OUTPUT and _wcstod_l.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:47 +09:00
Piotr Caban 07762576c4 msvcrt: Add i386 __CxxExceptionFilter implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-01 16:32:34 +09:00
Piotr Caban ecac39c19b msvcrt: Add _wctime32_s implementation. 2015-09-15 17:02:11 +09:00
Piotr Caban cf20731447 msvcrt: Add _mbscat_s_l implementation. 2015-07-07 16:52:20 +09:00
Piotr Caban 0eb112aa6e msvcrt: Add ismbblead_l implementation. 2015-07-07 16:52:20 +09:00
Piotr Caban 27b7ff73e4 msvcrt: Add _ungetwch implementation. 2015-06-15 14:49:26 +09:00
Piotr Caban d4fab07110 msvcrt: Add _getwche implementation. 2015-06-15 14:49:21 +09:00
Piotr Caban 9a10a71638 msvcrt: Add _getwch implementation. 2015-06-15 14:49:16 +09:00
Piotr Caban eb9e00857a msvcrt: Write directly to the console in _putwch. 2015-06-15 14:49:04 +09:00
Akihiro Sagawa cd5a76b182 msvcrt: Add _mbctokata implementation. 2015-03-17 00:20:00 +09:00
Akihiro Sagawa b6ab2b6268 msvcrt: Add _mbctohira implementation. 2015-03-17 00:19:58 +09:00
Piotr Caban ccaf87b2ea msvcrt: Add _iswpunct_l implementation. 2015-01-26 11:23:12 +01:00
Piotr Caban ef69ad9f97 msvcrt: Add _iswspace_l implementation. 2015-01-26 11:23:08 +01:00
Piotr Caban bd1428ef50 msvcrt: Add _vscprintf_p implementation. 2015-01-20 16:08:49 +01:00
Piotr Caban 3af24fe1f4 msvcrt: Add _wcsset_s implementation. 2014-12-23 18:59:36 +01:00
Hans Leidekker ed79b3f9a5 msvcrt: Implement _snprintf_l. 2014-10-31 10:49:06 +09:00
Vincent Povirk 1860efaa9e msvcrt: Implement _wcsnicmp_l. 2014-10-29 20:31:04 +09:00
Vincent Povirk 5ba68bb966 msvcrt: Implement _strtoul_l. 2014-10-29 20:31:03 +09:00
Francois Gouget f63fd82610 msvcrt: Prefix _set_output_format() with MSVCRT_ to avoid a collision with MinGW. 2014-09-15 10:12:24 +02:00
Nikolay Sivov 1228f0bba5 msvcrt: Added __dstbias() export. 2014-09-10 21:36:52 +02:00
Piotr Caban 53869e19eb msvcrt: Add _strnset_s implementation. 2014-09-02 15:07:27 +02:00
Piotr Caban b540277cc7 msvcrt: Add _wcsxfrm_l implementation. 2014-06-12 18:25:27 +02:00
Piotr Caban 00bce25143 msvcrt: Add _strxfrm_l implementation. 2014-06-12 18:25:23 +02:00
Piotr Caban 31c76cae7c msvcrt: Add _wcslwr_s_l implementation. 2014-05-24 11:01:28 +09:00
Piotr Caban 9f17544bc9 msvcrt: Add _mbscpy_s implementation. 2014-05-19 13:01:34 +02:00
Piotr Caban aebe1c69f9 msvcrt: Add _mbsnbcpy_s_l implementation. 2014-05-19 13:01:22 +02:00
Piotr Caban 277eb98739 msvcrt: Add _wcsupr_l implementation. 2014-04-29 16:07:44 +02:00
Piotr Caban 49e503c55a msvcrt: Remove no longer needed exports. 2014-04-21 14:31:48 +02:00
Piotr Caban beeea28a53 msvcr100: Move functions implementation to msvcrt. 2014-04-16 18:00:15 +02:00
Piotr Caban e70bf5f8c6 msvcrt: Fix compilation errors on Mingw. 2014-04-16 18:00:01 +02:00
Piotr Caban 07566faaca msvcr110: Add __libm_sse2_sqrt_precise implementation. 2014-01-07 16:34:33 +01:00
Piotr Caban 32858d1811 msvcr90: Add _is_exception_typeof implementation. 2014-01-06 20:52:40 +01:00
Alexandre Bique 33199860f1 msvcrt: Implement missing sprintf functions. 2013-12-10 13:01:22 +01:00
Alexandre Bique 09bfea117d msvcrt: Implement _vsprintf_l. 2013-12-10 13:01:22 +01:00
Andrey Zhezherun 3bb2c11757 msvcrt: Implemented _chsize_s. 2013-11-05 20:38:20 +01:00
Piotr Caban e3592d041a msvcrt: Add __security_error_handler stub. 2013-10-25 14:42:03 +02:00
Piotr Caban 26721c25f6 msvcrt: Don't forward wcsncmp to ntdll. 2013-10-01 13:10:21 +02:00
Piotr Caban 7fb5cca3e4 msvcrt: Don't forward qsort to ntdll. 2013-10-01 13:10:21 +02:00
Piotr Caban 5fce0724ed msvcrt: Don't forward bsearch to ntdll. 2013-10-01 13:10:21 +02:00
Piotr Caban 3868bf06b2 msvcrt: Add _wtoi64_l implementation. 2013-10-01 13:10:21 +02:00
Piotr Caban d99090aff8 msvcrt: Don't forward _itoa to ntdll. 2013-10-01 13:10:21 +02:00
Piotr Caban dadb2fdfa9 msvcrt: Add _snwprintf_s_l implementation. 2013-09-19 19:49:11 +02:00
Piotr Caban 882761f15d msvcrt: Don't forward wcsstr to ntdll. 2013-09-17 16:25:54 +02:00
Piotr Caban a89f726355 msvcrt: Don't forward wcslen to ntdll. 2013-09-17 16:25:48 +02:00
Piotr Caban 300c012372 msvcrt: Don't forward wcschr to ntdll. 2013-09-17 16:25:43 +02:00
Piotr Caban 019c34ca1e msvcrt: Don't forward strstr to ntdll. 2013-09-17 16:25:28 +02:00
Piotr Caban 138df7da33 msvcrt: Don't forward strrchr to ntdll. 2013-09-17 16:25:23 +02:00
Piotr Caban 31d92b926e msvcrt: Don't forward strncat to ntdll. 2013-09-17 16:25:04 +02:00
Piotr Caban f0ec9b134a msvcrt: Don't forward strlen to ntdll. 2013-09-17 16:24:58 +02:00
Piotr Caban 1803016c08 msvcrt: Don't forward strcmp to ntdll. 2013-09-17 16:24:53 +02:00
Piotr Caban 5b1f7f8549 msvcrt: Don't forward memmove to ntdll. 2013-09-17 16:24:46 +02:00
Piotr Caban 4fbf246298 msvcrt: Don't forward memcmp to ntdll. 2013-09-17 16:24:39 +02:00
Piotr Caban 2734ae0786 msvcrt: Don't forward _wcsnicmp to ntdll. 2013-09-12 12:59:02 +02:00
Piotr Caban d548877f6e msvcr110: Add forwards to type_info::before function. 2013-09-11 16:08:42 +02:00
André Hentschel 8fab2422a8 msvcrt: Export fabsf on ARM and x86_64. 2013-09-04 14:43:45 +02:00
Piotr Caban a51ffcd442 msvcrt: Added _swprintf_s_l implementation. 2013-08-01 16:28:39 +02:00
Piotr Caban 679542419a msvcrt: Add _wcstol_l implementation. 2013-07-29 15:00:26 +02:00
Piotr Caban 6457163bb2 msvcrt: Add _wctomb_s_l implementation. 2013-07-27 11:50:56 -05:00
Piotr Caban b6fc57ec84 msvcrt: Add _wmktemp_s implementation. 2013-07-24 14:35:12 -05:00
Piotr Caban 7d41f9b3e9 msvcrt: Add _mktemp_s implementation. 2013-07-24 14:35:11 -05:00
Piotr Caban c66d94bfd9 msvcrt: Added _wcsicmp_l implementation. 2013-06-25 18:12:12 +02:00
Piotr Caban bba1db0905 msvcrt: Don't forward memchr to ntdll. 2013-06-21 16:23:35 +02:00
Piotr Caban f99742a539 msvcrt: Move _fstat32 and _fstat64i32 functions to msvcrt. 2013-04-30 18:44:46 +02:00
Piotr Caban ff7388ca3f msvcrt: Added _mbstok_s_l implementation. 2013-04-30 18:44:46 +02:00
Jactry Zeng 7cd91b6452 msvcrt: Fixed typo of _strncoll and _strncoll_l. 2013-04-29 20:30:55 +02:00
Jactry Zeng 60faef8e3c msvcrt: Added _wfindfirst32 implementation. 2013-04-19 19:17:08 +02:00
Jactry Zeng 5af20ef180 msvcrt: Added _wcsnicoll_l implementation. 2013-04-01 14:41:03 +02:00
Jactry Zeng d2763e43d1 msvcrt: Added _wcsicoll_l implementation. 2013-04-01 14:40:49 +02:00
Jactry Zeng dafa7611e9 msvcrt: Added _wcscoll_l implementation. 2013-04-01 14:40:21 +02:00
Jactry Zeng 2f425fb832 msvcrt: Added _wcsncoll and _wcsncoll_l implementation. 2013-03-29 17:52:19 +01:00
Piotr Caban 280f8237b5 msvcrt: Move fread_s function to msvcrt. 2013-03-28 18:54:42 +01:00
Piotr Caban 12b8c9671e msvcrt: Update spec file with functions added in newer version of the dll. 2013-03-28 18:54:26 +01:00