Commit Graph

118 Commits

Author SHA1 Message Date
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
Paul Millar 449bb92bc0 Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and
GetCurrencyFormatA.
2002-06-13 19:22:17 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 3629074d86 Fixed buffer handling of some locale functions (based on a patch by
Mehmet Yasar).
2002-05-29 17:00:23 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +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
Dmitry Timoshkov c59655ede0 Reimplement GetStringTypeA and GetStringTypeExA. 2002-02-04 18:34:32 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +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
Andreas Mohr da920ee9b9 Spelling fixes. 2001-08-09 21:16:55 +00:00
Andreas Mohr a49b5be97d Fixed some more overflowing string traces. 2001-07-17 00:51:00 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Dmitry Timoshkov affc9a8817 Move IsCharAlphaA and IsCharAlphaNumericA to user32.
Better implement some of user32 *Char* functions regarding locale.
Remove kernel32 dependency on user32.
2001-06-14 19:27:01 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Huw D M Davies 0925d6ecb4 When reading resources in NLS_LoadStringExW we should map
SUBLANG_NEUTRAL to SUBLANG_DEFAULT.
2001-05-29 20:52:44 +00:00
James Hatheway 035a75852b Small typo fix. 2001-04-12 21:06:39 +00:00
Rein Klazes 77d06fc629 Implement TIME_FORCE24HOURFORMAT and TIME_NOTIMEMARKER flags in
OLE_GetFormatA.
2001-04-04 18:25:25 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
François Gouget b99367e20e debugstr_xxx already does the quoting. 2001-02-14 21:42:10 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Alexandre Julliard 751625e089 Got rid of main.h. 2000-12-12 00:50:19 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Andreas Mohr f2918f9e9e CompareStringW returned wrong results sometimes. 2000-11-25 01:25:16 +00:00
Uwe Bonnes 6dfaf18285 GetDateFormatA: Check range and recalculate wDayOfWeek.
OLE_GetFormatA|W: Fix transformation of wDayOfWeek to
LOCALE_S(ABBREV)DAYNAMEx.
2000-10-02 03:40:15 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Dimitrie O. Paun b2628e5278 Use the system local time if lpTime=NULL. 2000-09-16 20:44:19 +00:00
Dmitry Timoshkov 56f8e274c7 Added new language detection scheme that uses NLS data base instead of
hard coded values.
2000-08-20 03:39:41 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Hidenori Takeshima 5ec92ada17 Fix for calling ctype functions with Unicode characters. 2000-08-06 03:36:35 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +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
Dmitry Timoshkov f1fd89db42 FindResourceExA/W should search for the specified language resource only.
FindResourceA/W should search for any language resource.
2000-07-29 00:01:57 +00:00
Alexandre Julliard ce4784d8a5 Made --language behave the same as setting the LANGUAGE environment
variable.
2000-07-15 19:59:10 +00:00
Dmitry Timoshkov 961053fd2f Moved all NLS dependent data to the KERNEL resources. 2000-07-10 13:11:27 +00:00
Bertho Stultiens 8dd8d30b7d Commented out IsBadWritePtr check. Makes winhlp32.exe happy in
extended search.
2000-06-13 03:37:31 +00:00
Alexandre Julliard 5ea22474bb Use the Unicode string functions from wine/unicode.h instead of the
crtdll ones.
2000-06-13 01:10:29 +00:00
Zoran Dzelajlija 846880b7e6 Basic Croatian language support. 2000-05-30 20:50:45 +00:00
Dimitrie O. Paun ecd921e551 Separate OLE2NLS out of KERNEL. 2000-05-07 18:30:44 +00:00
Alexandre Julliard 77f07cceaa Henning Hoffmann (of Macadamian for Corel)
Implemented SetLocaleInfo(). It required a change to GetLocaleInfo()
as well, because GetLocaleInfo() has to get any values saved by
SetLocaleInfo() in the registry.
2000-05-05 18:15:11 +00:00
Owen Wang 7b080ec258 Added further implementation of WINAPI EnumDateFormats() to support
three more locales: German(standard), French(standard) and French
(canadian). All date formats follow conventions from Windows NT 4.0
2000-04-15 20:36:43 +00:00
Owen Wang 3c30bba357 Implemented API EnumTimeFormatsA(). It supports now all different
English locales, as well as German(standard), French(standard) and
French(Canadian).  All time formats follow conventions in Windows NT 4.0

Haithem Hmida (of Macadamian for Corel)
Implemented GetCurrencyFormatA() API:
- GetCurrencyFormatA() calls GetNumberFormatA() to format the number
  (as a positive one), then formats the number depending on
  NegativeOrder/PositiveOrder fields.
- GetNumberFormatA() has been slightly modified.
2000-04-06 20:13:32 +00:00
Alexandre Julliard ef76a1c97d Michael Abd-El-Malek (Corel)
Changed irl.nls to eni.nls. Reviewed and fixed a lot of the NLS files
to be more compatible to Windows.
Added en_GB (used by Corel Linux 1.0,1.1) as alias for en_UK.

Jeff Tranter <jefft@corel.ca>
The measurement unit for Canadian English should be metric.
LANG_SUB_ENTRY did always return the first language due to missing {}.
2000-04-04 18:53:37 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Patrik Stridvall d628f43693 Fixed some ANSI C violations. 2000-03-24 20:42:08 +00:00
Andrew Lewycky c03da6680d Improved CompareStringA performance. 2000-03-19 21:51:41 +00:00