Commit Graph

79 Commits

Author SHA1 Message Date
Piotr Caban 2b9d946aea msvcrt: Fix pclmap and pcumap for "C" locale. 2011-06-03 17:44:06 +02:00
Piotr Caban f9de4eef75 msvcrt: Fix mingw compilation issues. 2011-06-03 17:44:06 +02:00
Piotr Caban 27ff2ae967 msvcrt: Improved locale initialization. 2011-05-26 13:38:22 +02:00
Piotr Caban e15ac98cbc msvcrt: Change the way locale information is stored in __thread_data. 2011-05-25 11:46:07 +02:00
Piotr Caban 6991ac0331 msvcrt: Use get_locinfo instead of get_locale. 2011-05-25 11:45:42 +02:00
Piotr Caban 11bfced55d msvcrt: Use _create_locale instead of setlocale during initialization. 2011-05-25 11:45:14 +02:00
Piotr Caban 68239a620c msvcrt: Fix locale creation for multibyte encoding. 2011-03-31 18:09:27 +02:00
Andrew Nguyen dd1b937287 msvcrt: Null terminate the temporary locale buffer in _create_locale.
Spotted with Valgrind.
2011-01-17 15:57:16 +01:00
Alexandre Julliard c5e88a3a69 msvcrt: Use the correct strdup function for locale data. 2010-06-28 11:45:01 +02:00
Piotr Caban c0637edda2 msvcrt: Added __crtLCMapStringW partial implementation. 2010-06-22 13:51:30 +02:00
Nikolay Sivov 90013af6f9 msvcrt: Fix __lconv_init() prototype. 2010-06-11 11:36:54 +02:00
Marcus Meissner 27a28bf29f msvcrt: Check locale for NULL before freeing. 2010-05-21 18:58:05 +02:00
Piotr Caban 4134c57a91 msvcrt: Fix compilation error (x86_64-pc-mingw32). 2010-05-20 13:47:52 +02:00
Piotr Caban 130686cbfc msvcrt: Fix synonym handling in setlocale/create_locale. 2010-05-10 10:09:21 +02:00
Piotr Caban 0697c5dc0e msvcrt: Partial fix for setlocale/create_locale. 2010-05-10 10:09:09 +02:00
Piotr Caban 815840e972 msvcrt: Added btowc implementation. 2010-04-26 09:06:13 -05:00
Piotr Caban 8adfd63c21 msvcrt: Return correct strings in setlocale. 2010-04-19 15:12:02 +02:00
Piotr Caban be5a6a03a6 msvcrt: Added implementation of __crtGetStringTypeW. 2010-04-19 15:11:14 +02:00
Piotr Caban f11dfcb7a6 msvcrt: Fix multiple locales parsing in _create_locale. 2010-04-19 15:11:00 +02:00
Piotr Caban f2f56d563f msvcrt: Change localeconv implementation. 2010-04-16 12:37:18 +02:00
Alexandre Julliard d4880b7a1f msvcrt: Initialize exported common variables to fix the build on Mac OS. 2010-04-16 12:01:35 +02:00
Piotr Caban d1fa8b64e4 msvcrt: Use per thread locale in many functions. 2010-04-15 16:51:47 +02:00
Piotr Caban 87dee43b0a msvcrt: Make setlocale working with per thread locales. 2010-04-15 16:51:46 +02:00
Piotr Caban 5efff16413 msvcrt: Added multiple locales parsing to _create_locale. 2010-04-15 16:51:46 +02:00
Piotr Caban 6ad7b4ff5c msvcrt: Move locale string interpretation to MSVCRT_locale_to_LCID. 2010-04-15 16:51:46 +02:00
Piotr Caban 20b77f4428 msvcrt: Added _configthreadlocale implementation. 2010-04-15 16:51:45 +02:00
Piotr Caban 59c2201a9c msvcrt: Add helper function that returns current locale. 2010-04-15 16:51:45 +02:00
Piotr Caban d58b385b38 msvcrt: Change implementation of setlocale. 2010-04-15 16:51:45 +02:00
Piotr Caban 10023a15d6 msvcrt: Change _create_locale implementation so generated structure is easier to modify. 2010-04-15 16:51:44 +02:00
Piotr Caban 7a1ff50ddc msvcrt: Added implemenatation of _create_locale and _free_locale. 2010-04-08 12:38:49 +02:00
André Hentschel 13e8505e58 msvcrt: Fix typo. 2010-01-19 16:50:26 +01:00
Alexandre Julliard 1f4febdb55 msvcrt: Implement __lconv_init. 2009-10-22 22:26:45 +02:00
Michael Stefaniuc 109f83614f msvcrt: Avoid using size_t when not neededed. 2009-05-27 15:40:18 +02:00
Hans Leidekker 4aec827b1e msvcrt: Implement ___lc_codepage_func, ___lc_collate_cp_func and ___lc_handle_func. 2009-04-15 15:56:45 -05:00
Michael Stefaniuc 9d4c9a0cdd msvcrt: Remove superfluous pointer casts. 2009-01-29 14:06:15 +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
Rob Shearman d7ca73ce80 msvcrt: Fix testing zero-valued expression with bitwise and in find_best_locale_proc.
The check should be for all of the flags being set instead.
2008-09-23 16:00:05 +02: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 fcae6777a4 msvcrt: Added implementation of a few more __crt functions. 2007-09-19 17:53:06 +02:00
Mikolaj Zalewski ea824f830f msvcrt: Fill _mbctype table in _setmbcp. 2007-08-21 12:59:56 +02:00
Alexandre Julliard 6f9ad1b981 msvcrt: Export various locale and codepage variables. 2007-01-16 12:08:59 +01:00
Dmitry Timoshkov ffa84441c8 msvcrt: Make some data const. 2006-12-14 20:11:31 +01:00
Alexandre Julliard ec7f2f8802 msvcrt: Use LOCALE_USER_DEFAULT to get the proper codepage for the Unix locale. 2006-12-08 12:56:17 +01:00
Michael Stefaniuc 6520ee04c8 msvcrt: Win64 printf format warning fixes. 2006-10-04 09:58:47 +02:00
Alexandre Julliard 429cd9e817 msvcrt: Avoid including system headers in msvcrt.h. 2006-07-10 11:54:10 +02:00
Alexandre Julliard 24beabfd4e msvcrt: Explicitly specify CDECL calling convention on exported functions. 2006-06-13 11:40:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack d16c72dea5 msvcrt: Add a stub for _wsetlocale. 2006-02-28 12:02:13 +01:00
Rein Klazes f0af162aa3 Fix bogus unreal code page messages in _setmbcp(). 2005-11-21 13:34:37 +00:00