Arkadiusz Hiler
b3428ac9d0
msvcirt: Include iostream in strstream's and stdiostream's rtti hierarchy.
...
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-07 21:07:25 +02:00
Jacek Caban
03b4bffbbb
msvcp: Use BitScanReverse in log2i.
...
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-06-10 22:38:49 +02: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
1cc92377a1
msvcp: Get rid of no longer needed hack.
...
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 11:57:12 +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
70c3e08d32
msvcp90: Add std:_XLgamma implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48806
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +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
6160e0ea58
msvcp140: Remove custom standard streams definition.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 16:42:09 +01:00
Jacek Caban
cef2139207
locale.h: Add _Strftime declaration.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-19 17:27:12 +01:00
Jacek Caban
9bfd465236
stdio.h: Add ucrt _scprintf declaration.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 18:26:20 +01:00
Jacek Caban
84dbedc922
stdio.h: Provide sprintf and _snprintf as inline wrappers.
...
It's enough for Wine debug functions to use _vsnprintf from ucrtbase
importlib instead of ntdll for modules that link to ucrtbase.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:55:18 +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
Sven Baars
aeeb299f98
msvcp140: Add an _Equivalent implementation that allows for directories.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-21 20:44:47 +02:00
Sven Baars
fb1fa3a404
msvcp120: Add a helper for tr2_sys__Equivalent.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-21 20:44:44 +02:00
Kevin Puetz
925e56acff
msvcp: Use fput[w]c in basic_filebuf_char_overflow.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 22:58:07 +02:00
Alexandre Julliard
031116cff7
msvcp90: Avoid depending on config.h for the __builtin_clz check.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-14 09:28:14 +02: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
Piotr Caban
2513b09c3c
msvcp: Fix _Lockit::_Lockit_ctor and _Lockit::_Lockit_dtor implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 21:40:55 +02:00
Piotr Caban
1ad48d1b3c
msvcp: Add _Strxfrm implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:06:18 +02:00
Alexandre Julliard
a16ef96dc6
include/msvcrt: Add INFINITY and NAN definitions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:03:37 +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
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
Alexandre Julliard
ee4db2005e
include: Define thiscall assembly wrappers globally.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-15 20:11:19 +02:00
Alexandre Julliard
d5a372abbb
include: Move inline assembly definitions to a new wine/asm.h header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Alexandre Julliard
d4ef782db7
makefiles: Build all tests with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 12:10:51 +02:00
Jacek Caban
e8f083bd37
msvcp140: Add _Resize 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>
2019-04-22 19:48:27 +02:00
Alexandre Julliard
8b7b4e5140
msvcp: Rename clog variable to avoid conflict with builtin function.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 19:08:42 +02:00
Alexandre Julliard
4f1f95b1b3
msvcp: Define _vsnprintf().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:20:21 +02:00
Alexandre Julliard
f0fbf6f584
msvcp: Use C runtime wchar functions instead of wine/unicode.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-01 12:42:05 +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
8a82912b28
msvcp90: Add support for more creation flags in _Mtx class.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46908
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 20:35:55 +01:00
Ken Thomases
849daa9c85
msvcp90: Fix vtable alignment on macOS and certain non-x86 architectures.
...
On some platforms and architectures, the .align <n> directive aligns to 2^n
bytes, not n bytes. The .balign <n> directive always aligns to n bytes.
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 21:42:04 +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
Gijs Vermeulen
e978b3aa84
msvcp: Return ERROR_INVALID_PARAMETER on NULL input in _Copy_file.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 18:35:45 +01:00
Gijs Vermeulen
b51cee00a7
msvcp: Set target to null on error in _Open_dir.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:07 +01:00
Gijs Vermeulen
64aba27f6a
msvcp: Set correct error code on non-existing path in _Open_dir.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:07 +01:00
Alex Henrie
551cf701aa
msvcp90: Turn two static variables into constants.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 18:24:46 +01:00
Piotr Caban
37fce36989
msvcp90: Add missing break in time_get::do_get (coverity).
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 12:20:42 +01:00
Piotr Caban
e6ec3cbd62
msvcp90: Add time_get<wchar> implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 20:17:44 +01:00
Piotr Caban
9eff1e0682
msvcp90: Add '_char' suffix to time_get<char> helper functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 20:17:44 +01:00
Piotr Caban
ba7cf8cf8f
msvcp100: Add time_get<char>::get_fmt implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 19:46:17 +01:00
Piotr Caban
2dfbfbd4cf
msvcp100: Add time_get<char>do_get implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 19:46:11 +01:00
Piotr Caban
74d0c97383
msvcp90: Add time_get<char>::do_get_date implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 19:46:07 +01:00
Piotr Caban
8d0ef952e2
msvcp140: Add _Winerror_map implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-05 20:28:58 +01:00
Gijs Vermeulen
82ba4373ae
msvcp100: Add Concurrency::_GetCombinableSize stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41419
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 21:50:58 +01:00
Piotr Caban
c69eba9278
msvcp140: Added _Winerror_message implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-03 16:25:04 -05:00
Huw Davies
d23b5f1008
msvcp90: Remove unnecessary check for __arm__.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-22 00:02:09 +02:00
Michael Stefaniuc
93b680510a
msvc90: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-17 16:51:37 +02:00
Piotr Caban
431fca550d
msvcp90: Add time_get<char>::do_get_monthname implementation.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:10 +02:00