Commit Graph

208 Commits

Author SHA1 Message Date
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 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 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 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
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 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
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
Daniel Lehman a38d2ee10d msvcp90: Implement time_get<char> ctors and dtors (Valgrind). 2015-07-16 19:24:11 +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
Daniel Lehman 79118f3543 msvcp110: Add wide-char days and months to _LocInfo. 2015-06-10 15:26:11 +09:00
Piotr Caban d7f6eac058 msvcp110: Fix _Getcvt implementation. 2015-04-22 23:28:42 +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
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
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
Yifu Wang e23bfdd831 msvcp120: Added std::locale::facet::~facet() export. 2014-11-21 18:11:53 +09:00
Piotr Caban d274fdb029 msvcp90: Added locale_ctor_locale_cstr implementation. 2014-10-06 17:32:53 +02:00
Piotr Caban 2b2a3338ee msvcp90: Fix FMTFLAG_showpoint handling in num_put_char__Ffmt. 2014-09-12 11:29:35 +02:00
Piotr Caban 8b26ae824b msvcp90: Don't fail if conversion was successful in wctob. 2014-09-01 21:10:12 +02:00
Piotr Caban 6fb5155f30 msvcp: Fix global_locale leak. 2014-05-08 17:40:50 +02: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 12cfebb683 msvcp90: Read last character of bool string in num_get_do_get_bool. 2014-01-27 14:13:20 +01:00
Piotr Caban d5b72bbcdc msvcp110: Fix _Ctypevec structure layout. 2014-01-14 20:18:21 +01:00
Piotr Caban 1d1ea6ebf4 msvcp110: Add _New_Locimp implementation. 2014-01-14 20:18:19 +01:00
Piotr Caban f3abe0bd7f msvcp110: Add locale::_Init implementation. 2014-01-14 20:18:19 +01:00
Piotr Caban 866b616d1b msvcp110: Make locale::facet::Incref and Decref virtual. 2014-01-14 20:18:18 +01:00
Alexandre Julliard 645540beed msvcp90: Add wrappers for functions that don't exist in old msvcrt versions. 2014-01-13 17:37:22 +01:00
Alexandre Julliard c2b0732108 msvcp90: Avoid using get_current_locale that doesn't exist in old msvcrt versions. 2014-01-13 17:37:21 +01:00
Alexandre Julliard 4d7255d2df msvcp90: Remove parameter checks from functions that are only used for old msvcp versions. 2014-01-13 17:37:19 +01:00
Piotr Caban 50e3f110d0 msvcp110: Share the source code with msvcp90. 2014-01-07 15:37:38 +01:00
Marcus Meissner eddc91f6e7 msvcp90: Return on error (Coverity). 2014-01-06 20:46:59 +01:00
Piotr Caban 2a8a1452ac msvcp80: Fix ostreambuf_iterator<char> structure definition. 2014-01-03 14:40:47 +01:00
Alexandre Julliard 263a1448f9 msvcp: Don't assume that msvcrt is imported. 2013-12-27 14:31:52 +01:00
Alexandre Julliard db0a6fcaa5 msvcp: Don't forward the mbtowc functions to msvcrt. 2013-12-27 14:31:52 +01:00
Alexandre Julliard 91356c3bed msvcp100: Implement _Locinfo::_Getname. 2013-12-23 11:54:28 +01:00
Alexandre Julliard b6e5496da4 msvcp90: Avoid mismatched parentheses inside ifdefs. 2013-12-21 12:43:09 +01:00