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
Alexandre Julliard
49421014b7
kernel32: Fix a compiler warning on Mac OS.
2008-08-21 16:04:58 +02:00
Ken Thomases
59bf036c80
kernel32: Strip modifiers from the Mac locale so setlocale can parse it.
...
The CFLocale API can produce locale identifiers with modifiers, such as
"pl_PL@currency=EUR". However, the Mac setlocale() can't understand such
locale strings.
2008-08-18 14:34:10 +02:00
Andrew Talbot
dffba6aa4b
kernel32: Remove unneeded address-of operators from array names.
2008-07-11 14:06:06 +02:00
Alexandre Julliard
58913b439b
kernel32: On Mac OS, recompose the Unicode strings we get from the OS.
2008-02-15 12:07:56 +01:00
Dmitry Timoshkov
667dad2331
kernel32: Separate modifier from charset before detecting the charset codepage.
2008-02-08 13:13:20 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Aric Stewart
6a8219a6b1
kernel32: Set last error to ERROR_INSUFFICIENT_BUFFER in LCMapString when the sort key buffer is too small.
2007-10-26 14:03:46 +02:00
EA Durbin
9984ac8a12
kernel32: Partially implement GetUserGeoID().
2007-10-18 14:18:35 +02:00
Alexandre Julliard
60c562446c
kernel32: Get rid of the NLS_RegOpenSubKey function, its behavior is broken.
2007-10-12 11:47:34 +02:00
EA Durbin
64dda7f317
kernel32: Implement SetUserGeoID.
2007-10-10 11:18:21 +02:00
Francois Gouget
015dc79cd4
version: Fix some Ver*() prototypes (especially wrt constness).
...
Better match the PSDK types and fix the winapi_check warnings.
2007-09-10 12:13:41 +02:00