Commit Graph

56 Commits

Author SHA1 Message Date
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
Alexandre Julliard 2e55b3d6ab kernel32: Store a few more locale values in the registry. 2007-08-28 11:36:45 +02:00
Alexandre Julliard 2835d78d8d kernel32: Remove the fixme about MB_USEGLYPHCHARS. 2007-05-29 23:31:35 +02:00
Dmitry Timoshkov a67b689121 kernel32: Fix compilation warnings in 64-bit mode. 2007-05-23 13:13:54 +02:00
Chia-I Wu bbbd42787c kernel32: Fix non-terminated separator string. 2007-04-16 12:07:44 +02:00
Andrew Talbot 503b338e88 kernel32: Replace inline static with static inline. 2007-03-17 20:03:39 +01:00
Alexandre Julliard a79b26284a libwine: Pass flags to wine_utf8_wcstombs to allow supporting WC_ERR_INVALID_CHARS. 2007-03-14 15:57:50 +01:00
Dmitry Timoshkov d32d5a4706 kernel32: Add a trace to MultiByteToWideChar. 2007-02-05 12:28:57 +01:00
Anatoly Lyutin 11e7b64ec9 kernel32: Add details in description function MultiByteToWideChar and WideCharToMultiByte. 2007-01-15 13:00:53 +01:00
Ken Thomases 5a220321df kernel32: Don't release preferred_locales until we're done with its members. 2007-01-09 12:04:30 +01:00
Pierre d'Herbemont 5ff751156d kernel32: Remove unneeded headers. 2006-12-13 16:05:11 +01:00
Pierre d'Herbemont 3c0d2e3808 kernel32: Allow the preferred language to be different from the preferred locale on Mac OS X. 2006-12-12 20:17:19 +01:00
Alexandre Julliard 9967d82146 kernel32: For LOCALE_NOUSEROVERRIDE, check locale against the appropriate default lcid. 2006-12-07 12:34:25 +01:00
Alexandre Julliard 28c5396436 kernel32: Store the LC_MESSAGES value under the "Locale" value.
Some apps depend on the value. Reported by Karsten Elfenbein.
2006-12-04 18:00:55 +01:00
Alex Villacís Lasso cf0c21af47 kernel32: Restore C locale for LC_NUMERIC. 2006-11-22 11:42:17 +01:00
Marcus Meissner 87f9dcdb23 kernel32: Added missing shift by 8. 2006-11-20 11:23:32 +01:00
Alexandre Julliard 2b01f6e07c kernel32: Use the appropriate Unix locale for GetLocaleInfo when a default LCID is used.
For instance LOCALE_SDATE is looked up in the lcid corresponding to
LC_TIME, LOCALE_IDIGITS in the LC_NUMERIC lcid, etc.
2006-11-16 22:11:58 +01:00
Alexandre Julliard 123b6fec22 kernel32: Rewrote the locale matching to match more elements and to support Windows-format locale names.
Added implementation for LocaleNameToLCID and LCIDToLocaleName.
2006-11-16 22:11:19 +01:00
Mike McCormack 15446fb9c0 kernel32: Print a FIXME only once. 2006-11-14 11:35:11 +01:00