Paul Gofman
|
ebe3fe536c
|
msvcrt: Implement _mbbtype_l().
Fixes Midnight Castle Succubus.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-09-24 17:44:51 +02:00 |
Paul Gofman
|
12106c214b
|
msvcrt: Implement _mbscmp_l().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-09-24 17:44:47 +02:00 |
Paul Gofman
|
082de781f0
|
msvcrt: Implement _mbsnextc_l().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-09-24 17:44:44 +02:00 |
Piotr Caban
|
5983fcfec9
|
msvcrt: Return error on invalid character in mbstowcs.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-08-05 15:20:33 +02:00 |
Piotr Caban
|
536be09b84
|
msvcrt: Don't use wine/unicode.h header.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-21 15:17:51 +02:00 |
Piotr Caban
|
986aa52fc4
|
msvcrt: Add _ismbcpunct_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
1750a6969b
|
msvcrt: Add _ismbcprint_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
4bca5b9f51
|
msvcrt: Add _ismbcspace_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
95b3ff9f74
|
msvcrt: Add _ismbcupper_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
1ad2094284
|
msvcrt: Add _ismbclower_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
5f294e34d6
|
msvcrt: Add _ismbcalpha_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
71cd3d5e8c
|
msvcrt: Add _ismbcgraph_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
fd74aeb726
|
msvcrt: Add _ismbcdigit_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
19c05e60a3
|
msvcrt: Add _ismbcalnum_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
fbbcd3f8f8
|
msvcrt: Add _ismbbkana_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
4f5a4b83b6
|
msvcrt: Don't use tolowerW and toupperW in _setmbcp_l.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-07-17 00:04:13 +02:00 |
Piotr Caban
|
bfa1e3ef8f
|
msvcrt: Use internal sprintf implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-08 21:01:33 +02:00 |
Chip Davis
|
b6a6fd987a
|
msvcrt: Correct return value of ___mb_cur_max_l_func().
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-01-27 14:41:51 +01:00 |
Piotr Caban
|
47217f5979
|
msvcrt: Fix _mbstowcs_s_l return value on truncate.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-11-20 09:08:32 +01:00 |
Alexandre Julliard
|
97425bd963
|
msvcrt: Reimplement strcmp/strncmp to get consistent return values.
The system functions may not always return -1 or 1.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-31 09:56:03 +01:00 |
Piotr Caban
|
df60573653
|
msvcrt: Don't use strstr from C-library.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-28 19:19:33 +01:00 |
Piotr Caban
|
225dad5d0d
|
msvcrt: Add _mbscspn_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-28 19:19:33 +01:00 |
Piotr Caban
|
de8e6b6a28
|
msvcrt: Add _mbsspn_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-10-28 19:19:33 +01:00 |
Piotr Caban
|
702b1e29d5
|
msvcrt: Match broken multi-byte character with everything in _mbsspn.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-09-02 20:43:52 +02:00 |
Akihiro Sagawa
|
ab525d3f6f
|
msvcrt: Reimplement _mbsspnp using _mbsspn.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47693
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-09-02 20:43:52 +02:00 |
Akihiro Sagawa
|
f0f93c791f
|
msvcrt: Fix _mbsspn implementation.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-09-02 20:43:52 +02:00 |
Piotr Caban
|
f48ea29726
|
msvcrt: Use _strnicmp instead of strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-03-26 13:50:36 +01:00 |
Piotr Caban
|
462caf8fbd
|
msvcrt: Use _stricmp instead of strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-03-26 13:50:34 +01:00 |
Piotr Caban
|
3f675c1a9d
|
msvcrt: Use internal toupper implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-03-26 13:50:32 +01:00 |
Piotr Caban
|
834134f284
|
msvcrt: Use internal tolower implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-03-26 13:50:30 +01:00 |
Michael Stefaniuc
|
cc12c0af71
|
msvcrt: Remove redundant not-NULL check (coccinellery).
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-28 21:37:29 +01:00 |
Nikolay Sivov
|
cebb947027
|
msvcrt: Add _ismbcl2().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-15 15:06:54 +01:00 |
Nikolay Sivov
|
c166dfec00
|
msvcrt: Add _ismbcl2_l().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-15 15:06:51 +01:00 |
Piotr Caban
|
7d383d573d
|
msvcrt: Use correct locale when validating character in _ismbcl0_l and _ismbcl1_l.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-15 15:06:44 +01:00 |
Nikolay Sivov
|
698b26a432
|
msvcrt: Add _ismbcl1().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46644
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-14 17:57:09 +01:00 |
Nikolay Sivov
|
1b86a06ff8
|
msvcrt: Add _ismbcl1_l().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-14 17:57:09 +01:00 |
Nikolay Sivov
|
2d89bccfc3
|
msvcrt: Add _ismbcl0_l().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-14 17:57:09 +01:00 |
Piotr Caban
|
622c218cb2
|
msvcrt: Validate character in _ismbcl0.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-14 17:57:09 +01:00 |
Piotr Caban
|
64453ea28b
|
msvcrt: Add _ismbclegal_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-14 17:57:09 +01:00 |
Piotr Caban
|
790f97cb30
|
msvcrt: Add _ismbbtrail_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-02-14 17:57:09 +01:00 |
Piotr Caban
|
7122c9d41d
|
msvcr110: Try SNAME when matching locale.
Based on patch by Daniel Lehman.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-09 19:47:28 +02:00 |
André Hentschel
|
807d47d448
|
msvcrt: Don't increment variables both in the loop header and body (clang).
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-04-09 09:52:13 +02:00 |
Alex Henrie
|
6413d96b6b
|
msvcrt: Don't include MSVC 7.0+ miscellaneous functions in SOs for older DLLs.
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-01-08 22:47:23 +01:00 |
Piotr Caban
|
eb7d55761e
|
msvcrt: Add _mbccpy_s_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-06 21:48:49 +02:00 |
Piotr Caban
|
f097c2be11
|
msvcrt: Add mbsnlen_l implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-05 20:32:03 +02:00 |
Nikolay Sivov
|
1a6e50ce97
|
msvcrt: Added _ismbcl0().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-12 11:11:43 +09:00 |
Akihiro Sagawa
|
967fb744e4
|
msvcrt: Fix mbstowcs with empty strings.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-06 10:32:36 +09:00 |
Bernhard Übelacker
|
4fa616c37c
|
msvcrt: Fix strtok_s and _mbstok_s for empty strings.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-18 20:38:15 +09:00 |
Piotr Caban
|
f091d9edf6
|
msvcrt: Fix C locale handling in mbstowcs.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-14 19:20:19 +09:00 |
Piotr Caban
|
7efd0c2c79
|
msvcrt: Return error in mbstowcs if conversion fails.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-14 19:20:17 +09:00 |