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 |
Hadrien Boizard
|
39037a14e8
|
msvcrt: Use BOOL type where appropriate.
Signed-off-by: Hadrien Boizard <h.boizard@laposte.net>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-31 11:31:01 +09:00 |
Piotr Caban
|
540d969150
|
msvcrt: Add mbsrtowcs_s implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-16 21:16:49 +09:00 |
Piotr Caban
|
4f5a68412b
|
msvcrt: Fix mbsrtowcs behavior when no out buffer is passed.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-16 21:16:43 +09:00 |
Piotr Caban
|
a36b5f0741
|
msvcrt: Fix mbtowc behavior for buffers containing more than one character.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-14 12:09:22 +09:00 |
Piotr Caban
|
9f532321d0
|
msvcrt: Return error if last known character is further in the string then current character.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-21 18:20:00 +01:00 |
Piotr Caban
|
aa612612b7
|
msvcr60: Fix _mbscoll implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
|
2015-10-02 15:38:35 +09:00 |
Francois Gouget
|
f8a7d6ed74
|
Assorted spelling fixes.
|
2015-08-07 23:50:48 +09:00 |
Piotr Caban
|
cf20731447
|
msvcrt: Add _mbscat_s_l implementation.
|
2015-07-07 16:52:20 +09:00 |
Piotr Caban
|
0eb112aa6e
|
msvcrt: Add ismbblead_l implementation.
|
2015-07-07 16:52:20 +09:00 |
Hans Leidekker
|
bbd0e56a58
|
msvcrt: Handle NULL arguments in _mbscmp.
|
2015-04-24 22:04:09 +09:00 |
Akihiro Sagawa
|
cd5a76b182
|
msvcrt: Add _mbctokata implementation.
|
2015-03-17 00:20:00 +09:00 |
Akihiro Sagawa
|
b6ab2b6268
|
msvcrt: Add _mbctohira implementation.
|
2015-03-17 00:19:58 +09:00 |
Akihiro Sagawa
|
a2149ba7ba
|
msvcrt: Fix _ismbckata() for Halfwidth Katakana characters.
|
2015-03-17 00:19:57 +09:00 |
Piotr Caban
|
9f17544bc9
|
msvcrt: Add _mbscpy_s implementation.
|
2014-05-19 13:01:34 +02:00 |
Piotr Caban
|
aebe1c69f9
|
msvcrt: Add _mbsnbcpy_s_l implementation.
|
2014-05-19 13:01:22 +02:00 |
Alexandre Julliard
|
0c496f0280
|
msvcrt: Update comments for non-exported functions.
|
2014-04-21 14:32:40 +02:00 |
Piotr Caban
|
49e503c55a
|
msvcrt: Remove no longer needed exports.
|
2014-04-21 14:31:48 +02:00 |
Piotr Caban
|
beeea28a53
|
msvcr100: Move functions implementation to msvcrt.
|
2014-04-16 18:00:15 +02:00 |
Piotr Caban
|
544d179434
|
msvcrt: Handle null mbstr parameter in mbstowcs.
|
2014-01-08 16:11:31 +01:00 |
Piotr Caban
|
779c1f8049
|
msvcrt: Don't call invalid parameter handler when string to be tokenized and context are not set in mbstok.
|
2013-06-21 16:23:35 +02:00 |
Piotr Caban
|
ff7388ca3f
|
msvcrt: Added _mbstok_s_l implementation.
|
2013-04-30 18:44:46 +02:00 |
Jactry Zeng
|
7cd91b6452
|
msvcrt: Fixed typo of _strncoll and _strncoll_l.
|
2013-04-29 20:30:55 +02:00 |
Akihiro Sagawa
|
23b8c4df19
|
msvcrt: Fix mbtowc_l in C locale.
|
2013-03-27 20:12:28 +01:00 |
Piotr Caban
|
7afc98a7f7
|
msvcrt: Fixed codepage setting code in create_locale.
|
2012-12-18 12:38:12 +01:00 |
Piotr Caban
|
f5c8647919
|
msvcrt: Added _mbsnbcoll_l implementation.
|
2012-12-12 12:01:36 +01:00 |
Piotr Caban
|
a2b71b732a
|
msvcrt: Added _mbsnbicoll_l implementation.
|
2012-12-12 12:01:22 +01:00 |
Piotr Caban
|
5e50ec3df2
|
msvcrt: Added mbsrtowcs implementation.
|
2012-11-29 11:23:03 +01:00 |
Piotr Caban
|
4b67531bf7
|
msvcrt: Added mbrtowc implementation.
|
2012-11-29 11:16:51 +01:00 |
Piotr Caban
|
b8ee0dd7ab
|
msvcrt: Added mbrlen implementation.
|
2012-11-29 11:16:38 +01:00 |
Daniel Lehman
|
ffa7ac7331
|
msvcrt: Return value from MSVCRT____mb_cur_max_func instead of pointer.
|
2012-11-01 19:01:34 +01:00 |
Alexandre Julliard
|
06989a0483
|
msvcrt: Make sure that errno is always set when calling the invalid parameter handler.
|
2012-07-26 11:05:32 +02:00 |
Akihiro Sagawa
|
ece5d712f6
|
msvcrt: Fix _mbsnbcmp and _mbsnbicmp implementation.
|
2012-03-26 18:15:33 +02:00 |
Akihiro Sagawa
|
7535b367dd
|
msvcrt: Fix _mbcjistojms off by one error.
|
2012-03-26 18:15:33 +02:00 |
Akihiro Sagawa
|
578d85f320
|
msvcrt: Improve _mbbtombc to handle Japanese characters.
|
2012-03-26 18:15:31 +02:00 |
Akihiro Sagawa
|
c9f1489cab
|
msvcrt: Implement _mbcjmstojis.
|
2012-03-16 11:11:07 +01:00 |
Akihiro Sagawa
|
0800572257
|
msvcrt: Add semi stub _mbcjmstojis implementation.
|
2012-03-16 11:10:54 +01:00 |
Akihiro Sagawa
|
28184600e7
|
msvcrt: Add validity checks for _mbstrlen_l.
|
2011-12-01 14:17:35 +01:00 |
Akihiro Sagawa
|
f9403bfb90
|
msvcrt: Use given locale info in _mbtowcs_l.
|
2011-12-01 14:15:12 +01:00 |
Piotr Caban
|
698afdca98
|
msvcrt: Don't search for LCID in _setmbcp_l if it was already done.
|
2011-10-26 17:07:05 +02:00 |
Piotr Caban
|
fea69b2305
|
msvcrt: Don't duplicate _setmbcp functionality inside _create_locale function.
|
2011-10-13 19:57:19 +02:00 |
Piotr Caban
|
99579ca42a
|
msvcrt: Added _mbtowc_l implementation.
|
2011-10-12 17:09:34 +02:00 |
Piotr Caban
|
c32d4e8840
|
msvcrt: Use _ismbblead instead of _isleadbyte in mbcodepage dependent functions.
|
2011-10-12 17:09:25 +02:00 |
Piotr Caban
|
cfca12e486
|
msvcrt: Use ismbcodepage instead of mb_cur_max in mbcodepage dependent functions.
|
2011-10-12 17:09:20 +02:00 |
Piotr Caban
|
c9cdb55066
|
msvcrt: Handle C locale in _setmbcp.
|
2011-10-12 17:09:12 +02:00 |
Piotr Caban
|
6991ac0331
|
msvcrt: Use get_locinfo instead of get_locale.
|
2011-05-25 11:45:42 +02:00 |
Piotr Caban
|
fdffe548f1
|
msvcrt: Added space for nullbyte in size returned by wcstombs_s and mbstowcs_s.
|
2011-03-30 18:59:22 +02:00 |
Konrad Rzepecki
|
332d5954ed
|
msvcrt: Implement _mbslwr_s.
|
2011-03-29 12:19:37 +02:00 |
Konrad Rzepecki
|
0b3175cb24
|
msvcrt: Implement _mbsupr_s.
|
2011-03-29 12:19:30 +02:00 |
Eric Pouech
|
8583bd317e
|
msvcrt: Use parameter validation macros for mcstowcs_s_l.
|
2010-11-01 12:34:50 +01:00 |
Andrew Nguyen
|
a622af49a7
|
msvcrt: Implement _mbsnbcat_s.
|
2010-10-21 12:30:35 +02:00 |
Alexander Scott-Johns
|
2663079c60
|
msvcrt: Rename _TRUNCATE to MSVCRT__TRUNCATE.
|
2010-06-07 13:51:34 +02:00 |
Piotr Caban
|
2ca3b9e016
|
msvcrt: Fix mbstowcs_l implementation.
|
2010-05-24 11:25:04 +02:00 |
Piotr Caban
|
7352ee844e
|
msvcrt: Added mbstowcs(_s_l) implementation.
|
2010-05-06 15:19:52 +02:00 |
Piotr Caban
|
d367314b46
|
msvcrt: Added _mbstrlen_l implementation.
|
2010-05-06 15:18:57 +02:00 |
Piotr Caban
|
100e925cb4
|
msvcrt: Added ___mb_cur_max_l_func implementation.
|
2010-05-05 15:26:50 +02:00 |
Piotr Caban
|
d1fa8b64e4
|
msvcrt: Use per thread locale in many functions.
|
2010-04-15 16:51:47 +02:00 |
Piotr Caban
|
b90320652d
|
msvcrt: Rename functions conflicting with mingw headers.
|
2010-03-29 15:50:19 +02:00 |
David Hedberg
|
4148ac0ab5
|
msvcrt: Implement _mbctombb.
|
2010-02-24 15:12:30 +01:00 |
David Hedberg
|
30f6dc9510
|
msvcrt: Implement _ismbclegal.
|
2010-02-23 12:09:45 +01:00 |
David Hedberg
|
85cc5dd1b2
|
msvcrt: Add trail bytes info for codepage 1361.
|
2010-02-23 12:09:33 +01:00 |
Michael Stefaniuc
|
5f0fb8350f
|
msvcrt: Replace size_t with MSVCRT_size_t.
|
2009-05-27 15:39:57 +02:00 |
David Hedberg
|
2254a549a6
|
msvcrt: Implement _mbcjistojms.
|
2009-02-06 13:03:34 +01:00 |
Alexandre Julliard
|
b19913ac70
|
msvcrt: Add a few more *_func functions to replace the __p_* ones.
|
2008-12-15 16:03:32 +01:00 |
Alexandre Julliard
|
7a6c6747a9
|
msvcrt: Don't include msvcrt headers, instead duplicate the definitions in msvcrt.h.
|
2008-12-12 10:19:55 +01:00 |
Alexandre Julliard
|
9c29dbd987
|
Avoid exporting common symbols since that's broken on Mac OS X.
|
2008-07-21 14:47:55 +02:00 |
Alexandre Julliard
|
d66b9f7e48
|
msvcrt: Use the correct msvcrt defines for errno values.
|
2008-02-27 14:52:25 +01:00 |
Alexandre Julliard
|
a470afca6c
|
msvcrt: Fix incorrect uses of msvcrt_set_errno.
|
2008-02-27 14:52:25 +01:00 |
Stefan Dösinger
|
a529ef4875
|
msvcrt: Implement _mbsnbcpy_s.
|
2007-11-16 15:07:55 +01:00 |
Francois Gouget
|
a116879507
|
Assorted spelling fixes.
|
2007-08-30 12:26:02 +02:00 |
Alexandre Julliard
|
26d50d6ee1
|
msvcrt: Don't include mbstring.h to avoid conflicts with system headers.
|
2007-08-24 15:11:17 +02:00 |
Mikolaj Zalewski
|
758539c8a3
|
msvcrt: Implement and test _mbsbtype.
|
2007-08-24 10:57:16 +02:00 |
Mikolaj Zalewski
|
884d718c49
|
msvcrt: Test and fix _ismbslead and _ismbstrail.
|
2007-08-24 10:57:16 +02:00 |
Mikolaj Zalewski
|
9a2d605dd9
|
msvcrt: Test and fix _mbsinc/_mbsninc.
|
2007-08-23 12:43:16 +02:00 |
Mikolaj Zalewski
|
cf8cf1d7f9
|
msvcrt: Don't test codepage 20932.
|
2007-08-23 12:43:04 +02:00 |
Mikolaj Zalewski
|
c5268a20ab
|
msvcrt: Test and fix _mbccpy, _mbsncpy and _mbsnbcpy.
|
2007-08-23 12:42:54 +02:00 |
Mikolaj Zalewski
|
12ff6788b3
|
msvcrt: Test that some functions depends on locale codepage, not the one set by _setmbcp.
|
2007-08-21 13:00:41 +02:00 |
Mikolaj Zalewski
|
cea1052f62
|
msvcrt: Test and fix _mbclen/_mbslen.
|
2007-08-21 13:00:33 +02:00 |
Mikolaj Zalewski
|
545f446bf3
|
msvcrt: Test and fix _mbsnextc.
|
2007-08-21 13:00:16 +02:00 |
Mikolaj Zalewski
|
ba43c67f8f
|
msvcrt: Implement _ismbblead/_ismbbtrail using _mbctype (with tests).
|
2007-08-21 13:00:06 +02:00 |
Mikolaj Zalewski
|
ea824f830f
|
msvcrt: Fill _mbctype table in _setmbcp.
|
2007-08-21 12:59:56 +02:00 |