Commit Graph

65 Commits

Author SHA1 Message Date
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 5630ce2638 msvcp90: Fix _Xmem and _Nomemory exception message.
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 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 8440658494 msvcp: Remove MSVCP_ prefix from RTTI and vtable related code.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-07 22:36:11 +02:00
Piotr Caban 6568a8cb62 msvcp90: Add macro that define type_info vtable.
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-06 22:46:12 +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
Jacek Caban 12ead6742f msvcp: Use __ASM_USE_THISCALL_WRAPPER macro.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 12:50:45 +02:00
Jacek Caban ddd4a7c3fb msvcp90: Use __ASM_BLOCK_BEGIN and __ASM_BLOCK_END macros.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-24 22:03:16 +02: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 daff3be7d2 msvcp90: Don't pass NULL as reference in runtime_error and logic_error constructors.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48561
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 20:42:13 +01:00
Alexandre Julliard 651179469c msvcp90: Use the standard -mno-cygwin build flag.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Alexandre Julliard 0a79eb3608 include: Use the __thiscall attribute directly for the Mingw build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +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
Piotr Caban a91c1e054a msvcp140: Don't forward __ExceptionPtrCreate to msvcr120.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46583
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-28 21:37:30 +01: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 7ff10d348f msvcp: Fix failure class layout and exception information data.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-06 19:27:09 +01:00
Piotr Caban 818d20adb5 msvcp: Fix logic_error and runtime_error class layout if _MSVCP_VER>90.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-20 18:59:35 +02:00
Daniel Lehman f664a991fd msvcp90: Add std::range_error table.
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-10-13 15:09:17 +02:00
Jacek Caban fa65ab3caa msvcp: Added std::_Raise_handler implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-03 18:10:25 +02:00
Daniel Lehman 307e5e8f6a msvcp90: Update exception RTTI data to reflect it's part of std namespace.
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-19 09:08:24 +02:00
Iván Matellanes e35e107e5e msvcirt: Share exceptions implementation with msvcp. 2015-05-29 16:43:53 +09:00
Alexandre Julliard 42500b0cfe msvcp60: Share exception functions implementation with msvcp90. 2015-03-13 00:28:14 +09:00
Alexandre Julliard e1cf7f5a2e msvcp90: Add support for throwing bad cast exception to avoid unused variable warning. 2015-03-04 21:50:31 +09:00
Piotr Caban 2b1e2e64da msvcp70: Don't forward bad_alloc implementation to msvcrt. 2014-02-07 13:11:53 +01:00
Alexandre Julliard b2d030a9ca msvcp: Don't forward __uncaught_exception to msvcrt. 2013-12-27 14:31:52 +01:00
Alexandre Julliard 6d30d6be78 msvcp100: Share the source code with msvcp90. 2013-12-19 17:06:09 +01:00
Piotr Caban a1797d885f msvcp: Remove superfluous semicolons. 2012-11-28 20:14:47 +01:00
Andrew Talbot c25d7f1b3c msvcp90: Remove superfluous semicolons. 2012-11-27 16:53:58 +01:00
Piotr Caban 1f4f07c026 msvcp90: Added _Nomemory implementation. 2012-10-17 11:53:40 +02:00
Daniel Lehman 1f324d543f msvcp90: Fix cxx exception information for 64-bit. 2012-10-09 18:32:29 +02:00
Piotr Caban f8350fc15b msvcp90: Remove unused thiscall functions. 2012-09-14 15:45:09 +02:00
Piotr Caban d161abb9b3 msvcp90: Pass RTTI base pointer from DllMain. 2012-09-07 11:55:52 +02:00
Piotr Caban 7477ceb6d1 msvcp90: Fixed RTTI structure on 64-bit systems. 2012-09-05 21:56:58 +02:00
Piotr Caban fef8a52fc9 msvcrt: Fixed vector destructors implementation on 64-bit systems. 2012-08-20 15:00:43 +02:00
Piotr Caban 584a48a380 msvcp90: Manually define virtual destructors in vtables. 2012-08-17 16:24:50 +02:00
Piotr Caban 7a0c6f44ef msvcp: Rename msvcp90 debug channel. 2012-08-14 12:02:13 +02:00
Piotr Caban 8d39c7d889 msvcp90: Accept more base classes in DEFINE_RTTI_DATA macro. 2012-06-12 19:28:32 +02:00
Alexandre Julliard efd693c57b msvcp90: Use the correct vtable pointer for type_info objects. 2012-04-04 20:12:07 +02:00
Piotr Caban 2f87a5d459 msvcp90: Added support for exception reraising in ios_base::clear. 2012-03-29 20:49:25 +02:00
Piotr Caban 0c43326114 msvcp90: Added ios_base class implementation. 2012-03-29 20:49:23 +02:00