Commit Graph

136 Commits

Author SHA1 Message Date
Piotr Caban 1d5a45912e msvcp90: Remove STREAMSIZE_BITS definition.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-09 18:44:55 +01:00
Eric Pouech d7dad50544 msvcrt: Use correct integral types in structs.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 21:05:27 +01:00
Piotr Caban 731dca90c7 msvcp90: Use throw_exception helper to throw exception object only.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban d7e9190032 msvcp90: Introduce throw_failure helper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban 93455491fc msvcp90: Introduce throw_range_error helper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban 503f3462c6 msvcp90: Don't use throw_exception helper for out_of_range exception.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban 73c4ae66c2 msvcp90: Don't use throw_exception helper for runtime_error exception.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban b561d01305 msvcp90: Don't use throw_exception helper for invalid_argument exception.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban 6b7b6f45e1 msvcp90: Don't use throw_exception helper for length_error exception.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban c306c527e7 msvcrt: Fix _CxxThrowException prototype.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Piotr Caban 1c09a7c5c4 msvcp90: Don't use throw_exception helper for bad_alloc exception.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Piotr Caban eebc5c505e msvcp90: Don't use throw_exception helper for rethrow.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Piotr Caban 38d6dbc6f7 msvcp90: Remove MSVCP_SIZE_T_MAX definition.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Piotr Caban ff5d176ce2 msvcp90: Always throw bad_alloc exception in operator_new on allocation failure.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Piotr Caban 3a86f0a68f msvcp90: Remove MSVCRT_ prefix from new() and delete().
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Piotr Caban 6cca4e254c msvcp90: Move Concurrency::details functions to details.c file.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Piotr Caban af5f928e69 msvcp90: Remove MSVCP_bool type.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-27 21:59:40 +01:00
Piotr Caban 0237785d9d msvcp90: Remove MSVCP_size_t type.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-27 21:59:40 +01:00
Alexandre Julliard 579fc688af include: Use proper dllimports for msvcrt functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 18:50:06 +01:00
Piotr Caban e91be16283 msvcp140: Don't load __processing_throw dynamically.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 16:42:09 +01:00
Piotr Caban c5530b276d msvcp: Add _Init_locks class implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46982
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 21:40:55 +02:00
Alexandre Julliard 030a460934 ucrtbase: Move the vsnprintf() wrapper function to the ucrtbase import library.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47250
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 12:30:04 +02:00
Piotr Caban e7bd1b03da msvcp140: Don't forward __ExceptionPtrDestroy to msvcr120.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46800
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:26:34 +01:00
Hua Meng 28de2317a1 msvcp90: Add implementation of _Concurrent_vector_Internal_copy.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:24 +02:00
Piotr Caban c07ade82ed msvcp140: Add __uncaught_exceptions implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-20 23:20:04 +01:00
Piotr Caban 7ec727b31c msvcp100: Improve is_current_task_group_canceling function stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 20:51:30 +01:00
Piotr Caban a4be8a31e5 msvcp110: Fix num_get structure layout.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 17:29:22 +02:00
Piotr Caban 3b62083443 msvcp140: Introduce _Mbstatet structure.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:23 +09:00
Piotr Caban e5ffb180c4 msvcp140: Fix locale class structure.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-16 22:40:24 +09:00
Martin Storsjo 1135db7095 msvcp140: Add MSVC 2015 C++ support DLL.
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:15 -05:00
Piotr Caban 77184106c8 msvcp110: Fix num_put<char> structure layout.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:52 +09:00
Piotr Caban 5a427e5124 msvcp110: Don't allocate empty buffers in _Locinfo::_Locinfo_ctor.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:52 +09:00
Michael Müller 27b5c93609 msvcp90: Basic_string_wchar_dtor should set EAX to 0 on i386.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 22:58:44 +09:00
Daniel Lehman df096e6b60 msvcp120: Implement _Cnd_* functions.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:58 +09:00
Daniel Lehman 79118f3543 msvcp110: Add wide-char days and months to _LocInfo. 2015-06-10 15:26:11 +09:00
Daniel Lehman 5ac70b2c23 msvcp110: Add _Yarn<wchar_t> implementaton. 2015-06-10 15:26:10 +09:00
Piotr Caban d7f6eac058 msvcp110: Fix _Getcvt implementation. 2015-04-22 23:28:42 +09:00
Alexandre Julliard 90aad327ae msvcp: Add a macro to access the locale field of I/O streams. 2015-03-16 21:52:53 +09:00
Alexandre Julliard 42500b0cfe msvcp60: Share exception functions implementation with msvcp90. 2015-03-13 00:28:14 +09:00
Alexandre Julliard 165f8734e8 msvcp60: Share misc functions implementation with msvcp90. 2015-03-12 17:27:12 +09:00
Piotr Caban be6e7727d2 msvcp70: Fix ios_base definition. 2014-12-28 19:07:23 +01:00
Alexandre Julliard 4b1aba754e msvcp90: Add inline wrappers for the memcpy_s/memmove_s/mbstowcs_s functions. 2014-10-27 19:02:50 +09:00
Piotr Caban 40ef9b2d78 msvcp100: Fix basic_string class definition. 2014-10-20 14:02:14 +09:00
Piotr Caban f92766951d msvcp100: Add std::iostream_category() implementation. 2014-10-20 14:02:05 +09:00
Piotr Caban 3fa2bb2dce msvcp110: Add _Mtx_{destroy,getconcrtcs,init,lock,unlock,trylock} implementation. 2014-06-26 19:00:36 +02:00
Alexandre Julliard 91f2b04625 msvcp90: Fix the mbstowcs_s macro return value. 2014-04-28 15:34:01 +02:00
Piotr Caban d5b72bbcdc msvcp110: Fix _Ctypevec structure layout. 2014-01-14 20:18:21 +01:00
Piotr Caban 08e851f3c6 msvcp110: Fix basic_streambuf structure layout. 2014-01-14 20:18:20 +01:00
Alexandre Julliard 645540beed msvcp90: Add wrappers for functions that don't exist in old msvcrt versions. 2014-01-13 17:37:22 +01:00
Piotr Caban 2a8a1452ac msvcp80: Fix ostreambuf_iterator<char> structure definition. 2014-01-03 14:40:47 +01:00