Commit Graph

102 Commits

Author SHA1 Message Date
Piotr Caban ef08e80765 msvcrt: Added _Strftime implementation. 2012-04-11 18:23:23 +02:00
Piotr Caban b58cfb40b9 msvcrt: Added field names to MSVCRT___lc_time_data structure. 2012-04-11 18:21:00 +02:00
Piotr Caban 426e58be69 msvcrt: Set correct date and time format for C locale. 2012-04-11 18:20:52 +02:00
Piotr Caban 17f0ee4622 msvcrt: NULL terminate strings returned by _Getdays and _Getmonths. 2011-12-28 17:50:11 +01:00
Piotr Caban 283c07b8ce msvcp90: Added ctype<char>::tolower functions implementation. 2011-12-21 18:05:47 +01:00
Piotr Caban d82dd2a4db msvcrt: Added _Getmonths implementation. 2011-12-07 17:50:05 +01:00
Piotr Caban 7a43f0cb8f msvcrt: Added _Getdays implementation. 2011-12-07 17:50:05 +01:00
Piotr Caban 4bb1e9c32a msvcrt: Added _Gettnames implementation. 2011-12-07 17:50:04 +01:00
Piotr Caban 344883fb85 msvcrt: Initialize lc_time_curr inside create_locale. 2011-12-07 17:50:04 +01:00
Piotr Caban dbff7a1ca2 msvcrt: Fix lc_collate_cp initialization. 2011-12-06 15:51:00 +01:00
Piotr Caban f84858ac2c msvcrt: Added _get_current_locale implementation. 2011-12-06 15:51:00 +01:00
Thomas Faber e374c8fe46 msvcrt: Fix MSVC build in locale.c. 2011-11-07 11:29:49 +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 0bb641ad59 msvcrt: Initialize all ctype fields. 2011-10-18 18:29:19 +02:00
Marcus Meissner 6ca6464cf3 msvcrt: Replaced bad memcpy by strcpy (Coverity). 2011-10-17 17:45:05 +02:00
Piotr Caban 922ae2e268 msvcrt: Fix handling of locales without region in MSVCRT_locale_to_LCID. 2011-10-14 13:12:28 +02:00
Piotr Caban 95f3be6573 msvcrt: Added missing calling convention specification. 2011-10-14 13:12:28 +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 0f53100ade msvcrt: Move _pctype definition to locale.c. 2011-10-12 17:09:30 +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 cf27cb4927 msvcrt: Don't overwrite mbcinfo inside setlocale. 2011-10-12 17:09:07 +02:00
Andrew Talbot 2df8dced84 msvcrt: Mark some fall-throughs in a switch statement. 2011-10-08 17:40:18 +02:00
Andrew Talbot dce81b9465 msvcrt: Constify some variables. 2011-08-23 16:53:53 +02:00
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