Commit Graph

85 Commits

Author SHA1 Message Date
Erich E. Hoover 32da6626f5 kernel32: Allow CompareStringEx LINGUISTIC_IGNORECASE flag. 2014-04-17 10:48:07 +02:00
Erich E. Hoover b0935ab811 kernel32: Allow CompareStringEx NORM_LINGUISTIC_CASING flag. 2014-04-17 10:48:04 +02:00
Vincent Povirk 49f3b4282d kernel32: Cache locale info from the registry. 2014-03-06 17:18:51 +01:00
Daniel Lehman 37dad12971 kernel32: Use ANSI code page if current thread locale has no code page. 2013-11-08 16:29:43 +01:00
Tatyana Fokina aaed0e81d5 kernel32: Check the size of the string in CompareStringA. 2013-06-11 19:31:45 +02:00
Qian Hong 32e5314250 kernel32: Fixed string comparision for non-canonical locale identifiers such as zh_CN VS zh-Hans on OS X. 2013-04-30 11:49:06 +02:00
Piotr Caban 46919f2154 kernel32: Fixed copy-paste error in IdnToUnicode. 2013-03-28 18:54:51 +01:00
Christian Costa ba5cade700 kernel32: Implement CompareStringOrdinal. 2012-11-02 19:47:15 +01:00
Nikolay Sivov 2097c5ddb6 kernel32: Handle neutral locale names better in GetLocaleInfoEx. 2012-08-27 19:42:52 +02:00
André Hentschel 20e1b46d83 kernel32: Fix LocaleNameToLCID on mismatch. 2012-08-17 10:46:27 +02:00
Austin English 5dfc2a34ea kernel32: Implement IsValidLocaleName (with tests). 2012-08-16 17:26:45 +02:00
Michael Stefaniuc 97512d70cf kernel32: Avoid TRUE:FALSE conditional expressions. 2012-07-31 12:36:54 +02:00
Nikolay Sivov 9ba0cf76db kernel32: Fix base for value returned with LOCALE_RETURN_NUMBER. 2012-07-26 13:40:43 +02:00
Nikolay Sivov 77ad893a7b kernel32: Forward GetLocaleInfoEx() to GetLocaleInfoW(). 2012-07-23 12:50:56 +02:00
Nikolay Sivov b586be515c kernel32: Added GetSystemDefaultLocaleName(). 2012-07-23 12:50:26 +02:00
Nikolay Sivov 0e234f3c25 kernel32: Partial CompareStringEx implementation. 2012-07-20 14:01:45 +02:00
Austin English b22de982c0 kernel32: Add a stub for GetLocaleInfoEx. 2012-07-10 10:43:06 -05:00
André Hentschel 3cd0834a24 kernel32: Change LCMapStringW to LCMapStringEx and call it from LCMapStringW. 2012-06-28 11:36:56 +02:00
Alex Henrie 8ccf747d6a kernel32: Correct WideCharToMultiByte and MultiByteToWideChar error codes and conditions. 2012-05-17 17:44:26 +02:00
Alex Henrie 92b4979b33 kernel32: Avoid calling MultiByteToWideChar with invalid parameters. 2012-05-17 17:44:26 +02:00
Piotr Caban e2f0463963 kernel32: Added IdnToUnicode implementation. 2012-04-30 20:03:26 +02:00
Piotr Caban 03b58f580c kernel32/tests: Added IdnToAscii tests. 2012-04-30 20:03:26 +02:00
Piotr Caban 04ad71ee05 kernel32: Added IdnToAscii implementation. 2012-04-30 20:03:25 +02:00
Piotr Caban 60b25b7dd6 kernel32: Support multiple labels in IdnToNameprepUnicode. 2012-04-30 20:03:25 +02:00
Piotr Caban a08710f3d0 kernel32: Added IdnToNameprepUnicode implementation. 2012-04-26 19:47:57 +02:00
André Hentschel 21b6d994d2 kernel32: Handle LOCALE_NAME_USER_DEFAULT with tests. 2012-03-27 11:55:05 +02:00
Andrew Talbot d1136d4aca kernel32: Remove unused file-static variables. 2011-11-16 09:44:48 +01:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Frédéric Delanoy 6471e862f6 kernel32: Fix function description of CompareStringA and lstrcmpA. 2011-07-20 19:42:10 +02:00
Thomas Mullaly 1c7d32aa25 kernel32: Added stubs for IDN functions. 2011-01-04 11:49:45 +01:00
Alexandre Julliard 9f792ab3d5 kernel32: Implemented EnumSystemLocalesEx. 2010-09-27 14:13:17 +02:00
Rudolf Mayerhofer 2637bb9de7 kernel32: Implement GetUserDefaultLocaleName using users default LCID. 2010-09-15 11:28:53 -05:00
Louis Lenders afa53a37a4 kernel32: Add stub for GetUserDefaultLocaleName. 2010-08-30 15:36:28 +02:00
Alexandre Julliard d0578c080a kernel32: Map the new detailed direction information back to the Windows constants. 2010-04-14 18:00:45 +02:00
Alexandre Julliard ea3f48ff11 kernel32: Create the Nls\CodePage key one element at a time. 2010-03-01 14:06:08 +01:00
Alexandre Julliard f5248ef7c8 kernel32: Create the Control Panel\International key one element at a time. 2010-03-01 14:04:33 +01:00
Ken Thomases 8c2b290d11 kernel32: Mac: If language is less specific variant of locale, keep locale.
For a Mac user in Australia, for example, the out-of-the-box configuration is
that the preferred language is generic English ("en").  Their formats locale
should be Australia ("en_AU").  Detect that case and don't override
LC_MESSAGES.
2010-02-22 11:41:38 +01:00
Alexandre Julliard 9ff8da5499 kernel32: Don't store the current codepage in the thread data. 2009-12-29 11:43:46 +01:00
Ken Thomases 18d9632914 kernel32: Consolidate some related code closer together. 2009-12-10 12:21:42 +01:00
Ken Thomases b58cd975ba kernel32: Mac lang. pref. overrides LANG, but not LC_ALL or LC_MESSAGES. 2009-12-10 12:21:25 +01:00
Ken Thomases 21acb71e42 kernel32: On Mac, construct locale string from language and country codes.
Don't rely on CFLocaleGetIdentifier(), whose result may not be sensible to
the C library.
2009-12-10 12:21:10 +01:00
Paul Chitescu 590cc1ad55 kernel32: Reduce registry access to KEY_READ wherever possible. 2009-11-30 16:33:54 +01:00
Alexandre Julliard cf8fa5459a kernel32: Make sure the codepage registry keys are set correctly on wineprefix creation. 2009-10-30 15:14:49 +01:00
Nikolay Sivov e94587c98d kernel32: Fix copied data length. 2009-10-23 12:02:17 +02:00
Nikolay Sivov 2b7a3657f7 kernel32/locale: Add support for LOCALE_RETURN_GENITIVE_NAMES for LOCALE_SMONTHNAME* locale data, update Russian nls resource accordingly. 2009-10-21 16:05:57 +02:00
Jeff Zaroyko 8274786fa8 kernel32: sLanguage is LOCALE_SABBREVLANGNAME. 2009-08-25 15:08:23 +02:00
Michael Stefaniuc 9b2730eb88 kernel32: Remove superfluous pointer casts. 2009-03-11 13:03:31 +01:00
Alexandre Julliard 317ad64985 kernel32: LCMapString should include the terminating NULL also for LCMAP_SORTKEY. 2009-01-19 13:46:30 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexandre Julliard bcc77a89b2 kernel32: Convert source files to utf-8. 2008-10-18 19:20:02 +02:00