Commit Graph

672 Commits

Author SHA1 Message Date
Iván Matellanes 9bc7aea4f8 msvcp90: Set the correct vtable for basic_iostream_char.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 12:38:33 +09:00
Daniel Lehman 4b41672f9f msvcp140: Add _Mtx_init/destroy_in_situ.
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-08 12:37:40 +09:00
Daniel Lehman 236b5f5887 msvcp140: Take _Mtx_t and _Cnd_t directly.
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-08 12:37:34 +09:00
Daniel Lehman d12235ab79 msvcp140: Load critical_section functions from concrt140.
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-08 12:37:30 +09:00
Daniel Lehman 04bb658f0a msvcp140: Implement _Thrd_hardware_concurrency.
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-08 12:36:11 +09:00
Nikolay Sivov e3c5c7d03d msvcp140: Added __crtInitializeCriticalSectionEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 09:07:30 -05:00
Daniel Lehman 69ad826ebb msvcp140: Add sprintf.
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:16 -05: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 c6530fee82 msvcp90/tests: Remove unneeded casts.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-23 22:03:33 +09:00
Piotr Caban c5075c057c msvcp90: Fix base computation in vbase destructors.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 20:41:53 +09:00
Frédéric Delanoy 58e95f7221 msvcp90: Fix a typo in an FIXME message.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 23:01:02 +09:00
Andrey Gusev 2b8bfcc79a msvcp90: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 21:02:16 +09: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 40a59a968a msvcp110: Use locale_string::assign instead of freeing and allocating new object in _Locinfo__W_Getdays.
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
Piotr Caban f8a0f90eff msvcp110: Fix Yarn::operator=(const char*) implementation.
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 a8399b3872 msvcp90: Allocate facetvec of size at least 40 in locale::_Locimp::_Locimp_Addfac.
Matlab depends on facetvec internal buffer not being reallocated.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:53 +09:00
Daniel Lehman bd92393a5f msvcp90: Add codecvt<wchar_t>::do_encoding that returns 0.
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-04-08 23:02:01 +09:00
Daniel Lehman 2a65d21d1a msvcp120: Add _Mtx_current_owns.
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-03-30 21:35:16 +09:00
Piotr Caban ede38f4fdb msvcp100: Add std::generic_category() implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:43 +09:00
Piotr Caban 21a9a8c684 msvcp100: Add std::system_category() implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:42 +09:00
Piotr Caban b793e2e422 msvcp110: Add _Thrd_detach implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 21:59:42 +09:00
Piotr Caban 289daa665d msvcp110: Add _Pad implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-24 12:03:22 +09:00
Piotr Caban c97cb06f89 msvcp110: Add _Pad class stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-24 12:02:53 +09:00
Piotr Caban fb7af057a1 msvcp120: Add _Thrd_start implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-24 12:02:47 +09:00
YongHao Hu 613b2454e5 msvcp110: Add tr2_sys__Stat_wchar and tr2_sys__Lstat_wchar implementation and test.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 19:55:00 +09:00
YongHao Hu dabadc8eaf msvcp110: Add tr2_sys__Unlink implementation and test.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 19:54:54 +09:00
YongHao Hu d6dcc253bf msvcp110: Add tr2_sys__Symlink implementation and test.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 11:04:26 +09:00
Sebastian Lackner 6ed6e91621 msvcp90/tests: Use brackets to protect arguments in call_func macros.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 20:26:26 +09:00
Piotr Caban 2633496a74 msvcp100: Add numeric_limits<*>::lowest implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-15 01:44:54 +09:00
Bernhard Übelacker c612ef4366 msvcp90/tests: Test virtual base table size exports.
Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-14 19:50:20 +09:00
YongHao Hu 7aeb1d3360 msvcp110: Add tr2_sys__Link implementation and test.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 22:36:27 +09:00
Piotr Caban 6d22a3a476 msvcp120: Fix layout of classes with vtordisp field.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 21:02:46 +09:00
Piotr Caban 367b30d827 msvcp120: Add vtordisp field to classes with virtual base.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:54:42 +01:00
Piotr Caban ba35b96e0e msvcp120: Add _Add_vtordisp virtual functions to basic_ios class.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:54:39 +01:00
Piotr Caban 77ec614ac4 msvcp110: Always return empty string in _Read_dir on end of enumeration or error.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 13:57:26 +01:00
YongHao Hu f142ca1f92 msvcp110: Add tr2_sys__Close_dir implementation.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:13:44 +01:00
YongHao Hu 2ed5d0afc1 msvcp110: Add tr2_sys__Read_dir implementation.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:13:05 +01: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
YongHao Hu b5c12faa6a msvcp110: Add tr2_sys__Open_dir implementation.
Signed-off-by: YongHao Hu <christopherwuy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Daniel Lehman f3a0ac8d53 msvcp120: Implement _Thrd_create/join.
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-01 22:53:53 +09:00
Daniel Lehman 498d8861e0 msvcp120: Implement _Thrd_current.
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-01 22:53:52 +09:00
Daniel Lehman 23095b9deb msvcp120: Implement _Thrd_sleep/yield.
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-01 22:53:52 +09:00
Piotr Caban ef9a3be8b0 msvcp110: Fix 64-bit _Getcoll implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 21:39:41 +09:00
Piotr Caban d9f8bd9505 msvcp120: Fix tr2::sys::__Statvfs header for gcc.
__cdecl calling convention is not compatible between Visual C++ and GCC
when return is made in memory. In GCC callee pops the hidden argument
while in Visual C++ it's done by caller.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 15:07:40 +09:00
Daniel Lehman 95cde2c8b8 msvcp120: Implement _Thrd_equal/lt.
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-10-29 21:20:09 +09:00
Daniel Lehman 4d5f866d99 msvcp110: Make argument const for _Xtime_diff 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-10-28 20:45:12 +09:00
Piotr Caban ce24b284ee msvcp: Add _Exp implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-02 15:38:54 +09:00
Piotr Caban 643ff988c4 msvcp: Add _Dscale implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-02 15:38:48 +09:00