Commit Graph

866 Commits

Author SHA1 Message Date
Stefan Dösinger 4193e717b6 msvcp: Implement the wchar version of _Open_dir.
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>
2017-05-22 19:11:25 +02:00
Piotr Caban f95c26ab69 msvcp110: Add placeholder::_Ph* exports.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-07 16:20:50 -05:00
Piotr Caban a5767dc3ef msvcp90: Call invalid_parameter_handler on index out of range in basic_string::operator[].
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-07 16:19:51 -05:00
Piotr Caban 5bb77b4e45 msvcp90: Don't overwrite pointers to class members in basic_streambuf:swap.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-03 22:58:02 +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
Francois Gouget 459134b855 msvcp90: {init,free}_misc() are only used with msvcp >= 100.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 14:09:20 +02:00
Daniel Lehman d22569e83c msvcp140: Add __crtFlushProcessWriteBuffers.
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-03 14:08:55 +02:00
Daniel Lehman e437438a12 msvcp140: Add __crtGetCurrentProcessorNumber.
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-03 14:08:40 +02:00
Daniel Lehman e54654ef3f msvcp140: Add __crtFreeLibraryWhenCallbackReturns.
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-03 14:08:33 +02:00
Daniel Lehman 5fb502b06e msvcp140: Add __crtWaitForThreadpoolTimerCallbacks.
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-03 14:08:16 +02:00
Daniel Lehman 8104282988 msvcp140: Add __crtCloseThreadpoolWait.
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-03 14:08:10 +02:00
Daniel Lehman a0cf8ce924 msvcp140: Add __crtCloseThreadpoolTimer.
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-03 14:08:03 +02: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
Gijs Vermeulen 7f1044f212 msvcp100: Add stub for Concurrency::is_current_task_group_canceling.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 15:32:10 +01:00
Piotr Caban 4c54f9aeac msvcp140: Add {_Schedule,_Reschedule,_Release}_chore implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:38 +01:00
Piotr Caban fe1ae48bbe msvcp140: Add _TaskEventLogger class implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-15 17:33:06 +01:00
Piotr Caban 10266f5bf5 msvcp140: Add __crtSetThreadpoolWait implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban d0c398a56c msvcp140: Add __crtCreateThreadpoolWait implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban 941ce07a4c msvcp140: Add __crtSetThreadpoolTimer implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban 0f8a703dee msvcp140: Add __crtCreateThreadpoolTimer implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:27 +01:00
Piotr Caban 2fe03d7d37 msvcp140: Add _ContextCallback implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:26 +01:00
Piotr Caban 10b36e3977 msvcp140: Add task_continuation_context constructor implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-01 15:57:29 +01:00
Piotr Caban 3b9e9dd06a msvcp110: Add _Lock_shared_ptr_spin_lock implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-28 15:03:07 +01:00
Piotr Caban d8c5ef3309 msvcp110: Add _Facet_base_vtable export.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-27 18:16:54 +01:00
Piotr Caban a941841556 msvcp100: Add stdext::threads::_Mtx_* implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-11 16:59:33 +02: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 3ba26d38eb msvcp110: Fix cin/cout/cerr/clog structure sizes.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-04 13:55:55 +02:00
Piotr Caban b593391628 msvcp120: Don't add basic_ios::_Add_vtordisp virtual functions.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-01 04:38:30 +02:00
Piotr Caban a347f041d6 msvcp140: Fix time_put structure layout.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:44 +09:00
Piotr Caban 8244813694 msvcp140: Fix codecvt RTTI data.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:17 +09:00
Piotr Caban 42cfb0ab0e msvcp140: Add _Cnd_destroy_in_situ implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 23:17:16 +09:00
Piotr Caban 4dc7f609e7 msvcp110: Add _Cnd_{do_broadcast,register,unregister}_at_thread_exit implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-27 21:43:24 +09: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 bb88947b05 msvcp140: Add _Execute_once implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 21:54:31 +09:00
Piotr Caban 61e6e8baa0 msvcp140: Add _Cnd_init_in_situ implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 23:55:43 +09:00
Piotr Caban f41466261d msvcp140: Add codecvt<char,char,_Mbstatet> exports.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 23:55:32 +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
Daniel Lehman 532999462d msvcp140: Add _Thrd_id.
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-09-14 00:02:03 +09:00
Daniel Lehman b04b7e2480 msvcp110: Use sentry in istream<>::seekg.
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-11 15:57:53 +09:00
Daniel Lehman 3888aa4d8d msvcp110: Use sentry in istream<>::tellg.
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-11 15:57:48 +09:00
Daniel Lehman 1026e85d9f msvcp140: Add _Query_perf_[counter|frequency].
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-10 22:20:37 +09:00
Nikolay Sivov fd10b07782 msvcp140: Added __crtCreateSemaphoreExW().
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-09 21:59:59 +09:00
Nikolay Sivov 7e485ea87b msvcp140: Added __crtGetTickCount64().
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-09 21:59:59 +09:00
Nikolay Sivov 1b8eb25ff2 msvcp140: Added __crtCreateEventExW().
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-09 21:59:59 +09:00
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
YongHao Hu a6dc6ac4ff msvcp110: Add tr2_sys__Last_write_time implementation and test. 2015-10-01 00:03:44 +09:00
Piotr Caban 1e9402124d msvcp: Add _Dtest implementation. 2015-09-14 16:47:52 +09:00
YongHao Hu a2245d51cf msvcp110: Add tr2_sys__Statvfs_wchar implementation and test. 2015-08-21 21:54:44 +09:00
YongHao Hu 64eb3813c4 msvcp110: Add tr2_sys__Rename_wchar implementation and test. 2015-08-21 21:54:23 +09:00
YongHao Hu 66f4281aa0 msvcp110: Add tr2_sys__Copy_file_wchar implementation and test. 2015-08-21 21:54:08 +09:00
YongHao Hu 5b07326368 msvcp110: Add tr2_sys__Remove_dir_wchar implementation and test. 2015-08-17 18:23:16 +09:00
YongHao Hu 2b19569958 msvcp110: Add tr2_sys__Make_dir_wchar implementation and test. 2015-08-17 18:22:56 +09:00
YongHao Hu e55149f8ae msvcp110: Add tr2_sys__Current_set_wchar implementation and test. 2015-08-17 18:22:36 +09:00
YongHao Hu ee77fc3b4e msvcp110: Add tr2_sys__Current_get_wchar implementation and test. 2015-08-17 18:22:22 +09:00
YongHao Hu 70ac10affa msvcp110: Add tr2_sys__Equivalent_wchar implementation and test. 2015-08-17 18:22:06 +09:00
YongHao Hu 589a54bb84 msvcp110: Add tr2_sys__File_size_wchar implementation and test. 2015-08-17 18:21:41 +09:00
YongHao Hu 5520ce5522 msvcp110: Add tr2_sys__Stat and tr2_sys__Lstat implementation and test. 2015-08-17 18:20:56 +09:00
Piotr Caban b3fe96a0a9 msvcp90: Fix stringbuf and strstreambuf seekpos implementation. 2015-07-31 23:47:26 +02:00
YongHao Hu 4980830ba6 msvcp110: Fix TRACE msg of tr2 functions. 2015-07-20 11:49:38 +02:00
Daniel Lehman a38d2ee10d msvcp90: Implement time_get<char> ctors and dtors (Valgrind). 2015-07-16 19:24:11 +09:00
YongHao Hu 61beb57c94 msvcp110: Add tr2_sys__Statvfs implementation and test. 2015-07-07 16:57:07 +09:00
YongHao Hu de571b8a74 msvcp110: Add tr2_sys__Rename implementation and test. 2015-07-07 16:55:26 +09:00
YongHao Hu 7692d400c9 msvcp110: Add tr2_sys__Copy_file implementation and test. 2015-07-07 16:55:26 +09:00
Daniel Lehman 1ee74905bb msvcp90: Make argument to _Locinfo__Getdays/months const. 2015-07-01 19:18:11 +09:00
Daniel Lehman ec6859f7e8 msvcp90: Copy name in _Getctype (Valgrind). 2015-06-29 19:07:53 +09:00
Daniel Lehman c17c54318a msvcp90: Set _Locimp vtable in _Locimp ctors (Valgrind). 2015-06-26 20:35:07 +09:00
Piotr Caban 3f3e2ba2c7 msvcp110: Fix _Collvec structure layout. 2015-06-17 20:01:18 +09:00
Piotr Caban 0b58d83dec msvcp110: Use ___lc_locale_name_func in _Getdateorder. 2015-06-17 20:01:18 +09:00
Piotr Caban bcc2900282 msvcp110: Use ___lc_locale_name_func in _Getctype. 2015-06-17 20:01:17 +09:00
YongHao Hu 8351bef5b5 msvcp110: Add tr2_sys__Remove_dir implementation and test. 2015-06-15 22:10:34 +09:00
YongHao Hu 9939b5f564 msvcp110: Add tr2_sys__Make_dir implementation and test. 2015-06-15 22:10:34 +09:00
YongHao Hu 64dfb08550 msvcp110: Add tr2_sys__Current_set implementation and test. 2015-06-15 22:10:33 +09:00
YongHao Hu de65465688 msvcp110: Add tr2_sys__Current_get implementation and test. 2015-06-15 22:10:33 +09:00
YongHao Hu 94e034245d msvcp110: Add tr2_sys__Equivalent implementation and test. 2015-06-15 22:10:32 +09:00
YongHao Hu 62967318a5 msvcp110: Add tr2_sys__File_size implementation and test. 2015-06-15 22:10:32 +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 a0e8d62a8e msvcp90: Fix off by one issue in basic_string::rfind. 2015-06-09 22:09:58 +09:00
Iván Matellanes e35e107e5e msvcirt: Share exceptions implementation with msvcp. 2015-05-29 16:43:53 +09:00
Francois Gouget 79378304b6 msvcp90: Make call_once_func_wrapper() static. 2015-05-25 14:34:07 +09:00
Piotr Caban d20c5965f1 msvcp120: Add _Do_call implementation. 2015-05-22 14:18:33 +09:00
Piotr Caban a7a3cd84b5 msvcp120: Added _Call_once implementation. 2015-05-22 14:16:44 +09:00
YongHao Hu 4810f44cf9 msvcp90/tests: Fix a spelling error. 2015-04-29 13:08:53 +09:00
Piotr Caban d7f6eac058 msvcp110: Fix _Getcvt implementation. 2015-04-22 23:28:42 +09:00
Alexandre Julliard a826c31f00 msvcp60: Merge more I/O stream code with msvcp90 to reduce the differences. 2015-04-06 23:01:08 +09:00
Piotr Caban d2751ebcd5 msvcp90/tests: Use NAN and INFINITY definitions from port.h in Ctraits::_Isnan tests. 2015-03-27 00:12:10 +09:00
André Hentschel e0121ad32a msvcp90: Cleanup macro usage. 2015-03-20 12:41:39 +09:00
YongHao Hu ff6231d173 msvcp90: Add istream::operator>>complex implementation and tests. 2015-03-19 21:54:02 +09:00
Alexandre Julliard 1d965de1bc msvcp60: Share locale functions implementation with msvcp90. 2015-03-17 14:52:06 +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 402a72a07a msvcp60: Merge I/O stream code with msvcp90 where possible to reduce the differences. 2015-03-13 14:07:23 +09:00
Alexandre Julliard f1e23aa619 msvcp90: Remove functions that are not exported in native. 2015-03-13 00:28:14 +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
Alexandre Julliard cdef3287db msvcrt: Undefine __thiscall before redefining it. 2015-03-04 21:50:32 +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 69ed143be6 msvcp90: Added time_get<char>::do_date_order implementation. 2015-02-25 23:35:22 +09:00
Piotr Caban 6c09dc7a99 msvcp90: Added time_get<char> class stub. 2015-02-25 23:35:19 +09:00
Piotr Caban b0f8a2b85f msvcp: Added _Getdateorder implementation. 2015-02-25 23:35:08 +09:00
Piotr Caban 575628743d msvcp71: Add locale::facet::_Getcat implementation. 2015-02-24 22:40:20 +09:00
Alexandre Julliard dc06802a42 msvcp70: Fix calling convention for a non-member function. 2015-02-11 23:02:03 +09:00
Piotr Caban a8bac22561 msvcp: Fix basic_ostream<short>::operator<<(const short*) function export. 2015-02-10 00:26:37 +09:00
YongHao Hu 0d3e739710 msvcp90/tests: Add more tests to ostream_print_complex_float. 2015-02-03 16:30:56 +09:00
Piotr Caban ae372f53f7 msvcp71: Added basic_string<char>::insert(iterator, char*, char*) implementation. 2015-02-02 22:30:33 +09:00
Yifu Wang b81e79ed08 msvcp120: Implemented xtime functions. 2015-01-09 12:19:10 +01:00
Piotr Caban 998472d1eb msvcp: Fix format parsing in time_put_wchar_put_format. 2015-01-09 11:50:13 +01:00
Piotr Caban e899bd8249 msvcp: Fix setting decimal point and thousands separator in numpunct_wchar__Init. 2015-01-08 21:29:40 +01:00
Piotr Caban 6ac25d3d80 msvcp70: Add basic_ifstream(name, mode) constructor implementation. 2015-01-07 23:48:29 +01:00
Piotr Caban be6e7727d2 msvcp70: Fix ios_base definition. 2014-12-28 19:07:23 +01:00
Piotr Caban 799c771587 msvcp70: Fix basic_filebuf definition. 2014-12-28 19:07:19 +01:00
Yifu Wang e23bfdd831 msvcp120: Added std::locale::facet::~facet() export. 2014-11-21 18:11:53 +09:00
Yifu Wang d732cadf4d msvcp120: Added std::ios_base::operator bool() implementation. 2014-11-17 17:34:43 +09:00
YongHao Hu 6fe4d9e71b msvcp90: Add std_Ctraits::Isnan implementation. 2014-11-10 20:07:06 +09:00
YongHao Hu 24de856045 msvcp90: Add ostream::operator<<complex implementation and tests. 2014-10-29 20:30:58 +09: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
YongHao Hu b94fe44e79 msvcp90/tests: Add istream::operator>>(float) and double test. 2014-10-17 14:40:04 +09:00
YongHao Hu d33ce5629f msvcp90/tests: Add cout<< float test. 2014-10-08 17:43:29 +02:00
YongHao Hu edb68e7b22 msvcp90/tests: Add cout<< double test. 2014-10-08 17:43:22 +02:00
Piotr Caban d274fdb029 msvcp90: Added locale_ctor_locale_cstr implementation. 2014-10-06 17:32:53 +02:00
YongHao Hu 3e356df597 msvcp90: Fix comment typo. 2014-09-18 13:06:10 +02:00
Piotr Caban 2b2a3338ee msvcp90: Fix FMTFLAG_showpoint handling in num_put_char__Ffmt. 2014-09-12 11:29:35 +02:00
YongHao Hu 1681667293 msvcp90: Improve complex_float_pow. 2014-09-08 11:36:52 +02:00
Piotr Caban f370017e6f msvcp90: Fix complex::operator*= implementation. 2014-09-02 11:46:14 +02:00
Piotr Caban 8b26ae824b msvcp90: Don't fail if conversion was successful in wctob. 2014-09-01 21:10:12 +02:00
YongHao Hu f02ff7f651 msvcp90: Added complex_float_pow implementation (fix precision) and tests. 2014-09-01 21:10:11 +02:00
Piotr Caban c654b7be68 msvcp100: Add basic_streambuf::swap implementation. 2014-07-30 16:18:40 -05:00
Piotr Caban cbdc014f41 msvcp100: Add basic_iostream::swap implementation. 2014-07-30 16:18:27 -05:00
Piotr Caban 4d3b23f6cd msvcp100: Add basic_ostream::swap implementaiton. 2014-07-30 16:18:13 -05:00
Piotr Caban fe93ebd830 msvcp100: Add basic_istream::swap implementation. 2014-07-30 16:18:01 -05:00
Piotr Caban bcee8a0ec3 msvcp100: Add basic_ios::swap implementation. 2014-07-30 16:17:45 -05:00
Piotr Caban 8c865c8cca msvcp100: Add ios_base::swap implementation. 2014-07-30 16:17:34 -05:00
Piotr Caban 3fa2bb2dce msvcp110: Add _Mtx_{destroy,getconcrtcs,init,lock,unlock,trylock} implementation. 2014-06-26 19:00:36 +02:00
Piotr Caban 84bf97087d msvcp70: Export operators working on basic_string. 2014-06-12 18:05:15 +02:00
Piotr Caban ab0513ef67 msvcp90: Fix typo in strstreambuf_freeze. 2014-06-12 13:19:03 +02:00
Piotr Caban 9e4803dd0b msvcp70: Export basic_string iterator functions. 2014-06-11 16:15:18 +02:00
Piotr Caban 48c9a90a81 msvcp100: Export basic_istream::gcount function. 2014-05-20 21:26:53 +02:00
Piotr Caban 73a996de01 msvcp/tests: Force dll cleanup code to get executed (for valgrind). 2014-05-08 17:41:50 +02:00
Piotr Caban 6fb5155f30 msvcp: Fix global_locale leak. 2014-05-08 17:40:50 +02:00
Piotr Caban 6c4b075d1a msvcp70: Add basic_fstream(const char*, int) constructor implementation. 2014-05-07 18:57:34 +02:00
Alexandre Julliard 91f2b04625 msvcp90: Fix the mbstowcs_s macro return value. 2014-04-28 15:34:01 +02:00
Piotr Caban 3b96069e58 msvcp90: Add _Random_device implementation. 2014-03-25 19:01:35 +01:00
Piotr Caban 9183e5847d msvcp110: Add _Xtime_get_ticks implementation. 2014-03-21 16:50:34 +01:00
Alexandre Julliard 01efe3f48f msvcp90: Export _Xmem. 2014-02-07 13:11:54 +01:00
Piotr Caban 2b1e2e64da msvcp70: Don't forward bad_alloc implementation to msvcrt. 2014-02-07 13:11:53 +01:00
André Hentschel 63faf29c2a msvcp90: Use boolean return values in boolean functions. 2014-01-30 14:51:38 +01:00
Piotr Caban e7c9e32d7d msvcp110: Fix sprintf argument size in num_put::do_put_double. 2014-01-27 14:13:23 +01:00
Piotr Caban 47f4e08a93 msvcp90: Fix ios_base_setf implementation. 2014-01-27 14:13:21 +01:00
Piotr Caban 12cfebb683 msvcp90: Read last character of bool string in num_get_do_get_bool. 2014-01-27 14:13:20 +01:00
Piotr Caban 75bcbece56 msvcp90: Fix basic_istream<wchar>::read implementation. 2014-01-27 14:13:18 +01:00