Commit Graph

149 Commits

Author SHA1 Message Date
Piotr Caban 3657c8b829 msvcp90: Add _Wcsxfrm implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50401
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-03 20:59:25 +01:00
Piotr Caban b54ab691a7 ucrtbase: Fix _Syserror_map behavior on unknown error.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50407
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-02 21:09:44 +01:00
Alexandre Julliard 2012d7ab6a msvcp: Fix some spec file discrepancies.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-22 11:46:46 +01:00
Piotr Caban 6c1eaf1997 msvcp120/tests: Use wide-char string literals.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Rémi Bernon d276cf7112 msvcp120/tests: Fix signed integral cast warning.
First cast to int, then to enum file_type.

Reported by MinGW GCC 10 with -Woverflow.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-04 11:58:52 +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
Alexandre Julliard 74b3f392ab msvcp120/tests: Don't use const pointers to avoid compiler warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-17 16:55:16 +01:00
Francois Gouget 842aa6bae7 msvcp120/tests: Tweak two ok() messages and fix their spelling.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 20:45:46 +01: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
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 8dc868a054 msvcp120: 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 d4ef782db7 makefiles: Build all tests with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 12:10:51 +02:00
Alexandre Julliard 612fce3014 msvcp: Remove some redundant clearing of buffers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 21:01:46 +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
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
Michael Stefaniuc 9f3a187f9c msvcp120/tests: Avoid using the comma operator.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 16:29:25 +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
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 d7a43259b1 msvcp110: Export time_get functions on arm.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 19:46:20 +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
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
Dmitry Timoshkov 7edfcd63ad kernel32: MoveFile(source, source) should succeed.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:50 +02:00
Hua Meng 27365695ed msvcp120: Add tests for _Concurrent_vector_Internal_compact.
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-15 20:55:10 +02:00
Piotr Caban e547d87afa msvcp90: Add time_get<char>::_Getint implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Stefan Dösinger 5a4112c73a msvcp140/tests: Test _Last_write_time and _Set_last_write_time.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Piotr Caban efb6b3734a msvcp110: Add _Last_write_time(wchar_t) implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Hua Meng 91f202e04b msvcp120: Add tests for _Concurrent_vector->segment.
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:21:47 +02:00
Stefan Dösinger 84b2d69a76 msvcp120: Tr2::_Rename_wchar NULL ptr handling differs from tr2::_Rename.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-20 18:36:56 +02:00
Piotr Caban c92b71f6e8 msvcp110: Add _Syserror_map implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Piotr Caban c9f174f0ca msvcp120: Test values returned by _Concurrent_vector_base_v4::_Internal_clear.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 18:19:45 +02:00
Piotr Caban c217dd36cb msvcp120: Fix concurrent_vector_int_dtor helper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 18:19:42 +02:00
Hua Meng 8f4fb12dc5 msvcp120: Add test for Concurrent_vector_Internal_resize and reverse.
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-06-27 10:55:19 +02:00
Hua Meng 1367904871 msvcp120: Add test for Concurrent_vector_grow_to_at_least_with_result.
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-06-26 13:29:10 +02:00
Hua Meng 6ea1c9da63 msvcp120: Add test for Concurrent_vector_grow_by.
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-06-26 13:29:10 +02:00
Hua Meng 43d9e3f616 msvcp120: Add test for Concurrent_vector_Internal_compact.
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-06-22 12:46:00 +02:00
Hua Meng 364496714d msvcp120/tests: Add test for Concurrent_vector_swap.
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-06-19 20:47:45 +02:00
Hua Meng d8f6a1c0d7 msvcp120: Add test for Concurrent_vector_assign.
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-06-19 20:47:14 +02:00
Hua Meng b6c7b2d322 msvcp120: Add test for Concurrent_vector_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-06-15 22:22:27 +02:00
Piotr Caban 0abe7b4e54 msvcp120: Add alloc/free count validation tests in _Concurrent_vector_base_v4.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 17:10:54 +02:00
Piotr Caban 905aa3cb0d msvcp120: Fix function passed to _Concurrent_vector_base_v4::_Internal_clear.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 17:10:54 +02:00
Michael Stefaniuc b2a3875849 msvcp120/tests: Use the available 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-06-11 15:09:39 +02:00
Hua Meng bfb37b2a4c msvcp120: Add tests for concurrent_vector_Internal_push_back and capacity.
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-06-05 18:17:57 +02:00
Piotr Caban 0963a8693e msvcp120: Fix _Getcvt tests when zh_CN system locale is used.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 18:17:43 +02:00
Hua Meng 7cba9cfe41 msvcp: Add a stub of _Concurrent_vector_base_v4.
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-05-09 19:47:28 +02:00
Piotr Caban 661791cb7e msvcp100: Add _Runtime_object class implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 14:50:10 -06:00