Commit Graph

62 Commits

Author SHA1 Message Date
Alexandre Julliard e13c9cd6a1 winnls.h: Added some defines for Unicode surrogates. 2007-03-14 15:56:10 +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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 2fdc4dc5dd Added missing prototypes for some implemented functions. 2003-11-26 04:11:56 +00:00
Alexandre Julliard 1e3042e26a Removed no longer used internal definitions. 2003-08-22 05:04:56 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Jon Griffiths 228f22e967 Add some new types and functions.
Remove ITU_IMPLEMENTED_TESTS, its not part of the Win32 Api.
2003-08-18 19:54:13 +00:00
Dmitry Timoshkov 8a8d1b93ca Added support for CP_UNIXCP. 2003-07-09 04:22:57 +00:00
Dmitry Timoshkov 85d4281616 Implement LCMapString using unicode collation tables.
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Alexandre Julliard 9747a103b5 Added value for default Unix codepage to all the locale definitions. 2003-05-20 02:20:48 +00:00
Maxime Bellengé 2e9f3d844c Added resource strings for language groups. 2003-04-19 20:22:19 +00:00
Maxime Bellengé 95bf7df1d7 Stubs for EnumSystemLanguageGroups{A|W}. 2003-03-26 01:22:57 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Chris Morgan af807287ca GetDateFormat() and GetTimeFormat() should check the validity of the
time/date structure it is processing.
Add comments to describe flags behavior.
Add support for TIME_FORCE24HOURFORMAT, TIME_NOMINUTESORSECONDS,
TIME_NOSECONDS and TIME_NOTIMEMARKER.
Add check in GetDateFormatW() for invalid flag combinations.
Added some missing DATE_* defines to winnls.h.
Behavior verified against NT4.0.
2002-12-19 21:11:54 +00:00
Ryan Cumming 7e18d733a3 Added missing CSTR_ definitions. 2002-11-04 22:39:45 +00:00
Steve Lustbader 2fbd4a0118 Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage. 2002-10-07 18:27:06 +00:00
Alexandre Julliard 66e3183099 Fixed GetLocaleInfoW to handle Unicode properly and completed
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Vincent Béron 736e81c67a Better implementation of GetCalendarInfo{A,W}, not perfect. 2002-05-14 21:44:07 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Francois Gouget 038af7925b Fix the definition of structs NUMBERFMT* and CURRENCYFMT*.
Add, fix and move prototypes from winbase.h to winnls.h.
2001-09-19 22:28:00 +00:00
Marcus Meissner 8934496bb3 Enhanced GetCalendarInfo stub, added known CAL_* defines. 2001-09-10 23:08:39 +00:00
Alexandre Julliard b846b2df37 Force STRICT checking of callback function types when compiling Wine. 2001-07-30 19:10:43 +00:00
Dmitry Timoshkov 93e936f97b Finish ole32 separation. 2001-06-28 17:59:22 +00:00
François Gouget f53b0e89e4 Moved the function pointer types to their rightful headers.
The definition of the function pointer types must be based on STRICT.
2001-01-04 19:32:22 +00:00
Jon Griffiths e371e682cb - Implemented setlocale parsing and LC_TYPE behavior.
- Implemented isleadbyte, snprintf.
- Added NLS IsValidCodePage prototype, misc CRTDLL fixes.
2000-12-12 00:37:27 +00:00
Francois Gouget e550ebe429 Fixed the case of "Winelib". 2000-12-02 20:17:13 +00:00
Francois Gouget 48fc4aaaea Moved LCTYPE, GetLocaleInfo, NUMBERFMT, CURRENCYFMT and the related
API to winnls.h.
Moved LANG_xxx, SUBLANG_xxx, SORT_xxx and IS_TEXT_UNICODE_xxx to
winnt.h.
2000-10-12 23:20:29 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Dmitry Timoshkov a0f0138c2a LOCALE_NOUSEROVERRIDE means: do not get user redefined settings from
the registry. Instead, use system default values.
2000-08-03 00:24:33 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Alexandre Julliard 6659308fe9 Added support for WC_NO_BEST_FIT_CHAR and default char parameters in
cp_wcstombs.
Minor cosmetic fixes.
2000-06-10 04:29:16 +00:00
Dmitry Timoshkov 0072c88111 Implement NTDLL.towupper and NTDLL.towlower using already existing
case conversion tables. Replace all direct calls to towupper/towlower
either to NTDLL for core or to CRTDLL if latter already used in the
non core dll.
2000-06-08 20:05:18 +00:00
Dmitry Timoshkov d6a494feae Move definition of CPINFO structure from winbase.h to winnls.h
Add definition of CPINFOEX structure to winnls.h
2000-02-25 21:36:27 +00:00
Alastair McKinstry 33536e2753 Added support for the following celtic languages: Irish Gaelic, Scots
Gaelic, Manx Gaelic, Breton, Welsh, Cornish.
2000-02-16 21:21:51 +00:00
Dmitry Timoshkov 1707c6b5c3 Add some defines needed for Unicode to Ascii conversions. 2000-01-17 22:23:37 +00:00
Juergen Schmied bb3929c6c3 Added some constants for Spanish. 1999-12-05 23:02:04 +00:00
Jim Aston 10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Pablo Saratxaga 002106ac22 Added walon language support (I also moved Cz -> Cs, Sw -> Sv, and Po
-> Pt; to conform to standard names for those languages).
1999-04-16 09:06:58 +00:00
Marcus Meissner 9819f2b72c EnumCalendarInfoA stub. 1999-04-04 12:36:29 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Marcus Meissner 664c2727cf Some Solaris fixes. <resolv.h> needs <arpa/nameser.h>, sig_context.h
needs to define HANDLER_CONTEXT, wctype.h does not like 'wsprintf'
defined, msdos/dpmi.c needs "stackframe.h" too, and multimedia/dsound.c
needs "winuser.h".
1999-02-28 11:23:44 +00:00
Juergen Schmied 4a1dbaf602 Implementation of ConvertDefaultLocale32. 1999-02-14 09:22:12 +00:00
Michael Veksler 17822f452f Moved everything out of windows.h. 1999-02-09 15:46:25 +00:00
Pablo Saratxaga a772866072 Display the language id for "XXX not supported for your language"
messages.
Added all languages and sublanguages for languages supported in
resources/sysres_Xx.
1998-11-15 10:20:33 +00:00
Andreas Mohr 84248a5a08 Fixes for LANG_NEUTRAL. 1998-10-25 10:32:22 +00:00
Juergen Schmied c267e3ae24 GetLocaleInfo32A can handle len=0 now, sets LastError and touches
buffer only when necessary.
Updated deu.nls and some LCTYPES in winnls.h.
1998-10-18 10:18:35 +00:00
Pablo Saratxaga ca45823a34 More NLS data. 1998-10-10 15:38:21 +00:00