Dmitry Timoshkov
c590a66f89
Call CompareStringA with LOCALE_USE_CP_ACP flag set from lstrcmpA and
...
lstrcmpiA in order to improve speed. Add a test case confirming that
CompareString and LCMapString accept LOCALE_USE_CP_ACP.
2004-11-21 15:47:24 +00:00
Dmitry Timoshkov
65051ec8e2
Add unix locale to code page mapping for ISO-8859-16.
2004-11-04 21:06:03 +00:00
Stefan Leichter
ddae31893d
Set the correct last error in EnumUILanguagesA, with tests.
2004-11-01 21:06:28 +00:00
Stefan Leichter
165b24b5e1
Added dummy implementation for EnumUILanguagesA/W.
2004-10-19 23:50:36 +00:00
Dmitry Timoshkov
6f94fde7d2
GetCPInfo(Ex) should work on CP_UTF7/CP_UTF8 pseudo code pages, as
...
IsValidCodePage does.
2004-08-23 17:52:02 +00:00
Alexandre Julliard
81b22375d0
Added support for getting and setting the UI language.
2004-07-30 01:45:16 +00:00
Vincent Béron
6dc4e2af82
Remove last winedefault.reg reference in the code.
2004-07-23 23:17:13 +00:00
Shachar Shemesh
8c24ef7845
System default locale in Windows determines the ANSI encoding
...
(LC_CTYPE on Unix).
2004-07-16 23:44:18 +00:00
Dmitry Timoshkov
3d36713c2a
Initialize also ACP, OEMCP and MACCP in registry on locale change.
2004-07-07 00:47:31 +00:00
Vitaly Lipatov
f11ea29268
Return proper codepage value in GetCPInfoEx.
2004-07-04 00:07:42 +00:00
Dmitry Timoshkov
c7d2379916
- Fix erroneous use of LOCALE_SDATE in the place of LOCALE_SSHORTDATE.
...
- Fix incorrect assumptions about format strings when parsing date
formats and setting LOCALE_IDATE and LOCALE_ILDATE values.
2004-06-15 17:02:31 +00:00
Eric Pouech
62a860988c
Const correctness, pointer cast correctness, removed extraneous ';'.
2004-06-14 17:04:34 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Alexandre Julliard
769a4bb586
Fixed ntdll_wcstoumbs and WideCharToMultiByte to set the 'used' flag
...
for UTF-8 codepage too. This was causing DIR_nt_to_unix to fail in
some cases (tracked down with help from Alex Pasadyn).
2004-04-19 03:05:07 +00:00
Lionel Ulmer
91d63c0cb6
Add better NULL checks to lstrcmp[i](A/W) functions.
2004-04-05 20:14:33 +00:00
Dmitry Timoshkov
96db7b27f8
Add CP932, CP936, CP949 and CP950 to the charset map.
2004-03-30 20:38:24 +00:00
Dmitry Timoshkov
9c637f4322
Add Traditional Chinese Big5 and Simplified Chinese GBK mappings.
2004-03-29 22:55:46 +00:00
Francois Gouget
b948778660
Assorted spelling fixes.
2004-03-23 23:20:16 +00:00
Dmitry Timoshkov
fccd869b3e
Do not take into account LC_CTYPE and LC_MESSAGES while detecting a
...
user locale.
2004-03-09 00:41:00 +00:00
Alexandre Julliard
b65d13605c
Fixed callers of GetLocaleInfoW to use the correct buffer size.
2004-02-25 01:35:01 +00:00
Alexandre Julliard
e92b7eed7e
Store the kernel32 module handle globally to avoid some
...
GetModuleHandle calls that can cause deadlocks with the loader
section.
Moved some 16-bit definitions out of kernel_private.h.
2004-02-12 00:00:55 +00:00
Alexandre Julliard
31f3221535
Added missing parameter check in SetLocaleInfoA revealed by the
...
profile code changes.
2004-02-07 02:21:31 +00:00
Rein Klazes
f20ce3b816
Fix MultiByteToWideChar and WideCharToMultiByte when called with code
...
page CP_SYMBOL.
Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.
2004-01-20 22:39:06 +00:00
Eric Pouech
210e1abb35
Added support for Unix code page in NTDLL.
2004-01-18 22:11:52 +00:00
Vik Kumar
755762426c
Added eucJP charset.
2003-12-12 05:59:54 +00:00
Alexandre Julliard
e9badbfb86
Converted locale setup to Unicode so that we don't use code pages
...
before they are initialized. Improved error reporting a bit.
2003-12-03 22:32:11 +00:00
Alexandre Julliard
ccff458669
Revert change for handling user overrides as numbers and reimplement
...
it differently.
2003-12-03 20:28:10 +00:00
Jon Griffiths
87ae5ba84e
Allow user overridden locale data to be retrieved as numbers.
2003-12-01 22:46:19 +00:00
Dmitry Timoshkov
33f9dcb1f9
Move CompareString implementation to libwine_unicode, add a bunch of
...
CompareString tests.
2003-11-22 00:00:53 +00:00
Jon Griffiths
998cdd650a
Fix a crash in GetLocaleInfo() when extra high bits are set.
2003-11-14 20:59:03 +00:00
Jon Griffiths
4938f6b993
Implemented FoldStringA (using W version).
...
Documentation updates.
2003-10-24 00:24:46 +00:00
Jon Griffiths
8c4ef67452
Implemented FoldStringW.
2003-10-15 20:57:49 +00:00
Alexandre Julliard
a3c45689b4
Moved codepage functions to dlls/kernel.
...
Changed initialisation of the locale functions so that CP_UNIXCP works
as soon as possible during kernel32 init.
2003-10-14 05:32:30 +00:00
Mike McCormack
bdfb12c0df
Stubs for Get/SetUserGeoID().
2003-10-01 03:12:02 +00:00
Jon Griffiths
f333510af2
Add LanguageGroup/GeoID enumeration fns.
...
Add some reg entries from XP.
SetLocaleInfo(): Set 2 I-values from S-values.
Optimise code size, fix a few bugs, documentation.
2003-09-24 18:51:22 +00:00
Alexandre Julliard
f3a35766db
More robust detection of charset names.
2003-09-16 20:38:33 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Gerald Pfeifer
091f416014
Add charset information as used by FreeBSD.
2003-07-09 19:45:10 +00:00
Dmitry Timoshkov
8a8d1b93ca
Added support for CP_UNIXCP.
2003-07-09 04:22:57 +00:00
Dmitry Timoshkov
62efd98687
Exit ealier from LCMapStringA in the case of LCMAP_SORTKEY.
...
Don't rely on computing string length by MultiByteToWideChar in
CompareStringA, do it manually.
2003-07-03 18:09:03 +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
86666c51e2
Implemented ntdll resource functions.
2003-04-29 23:00:48 +00:00
Maxime Bellengé
2e9f3d844c
Added resource strings for language groups.
2003-04-19 20:22:19 +00:00
Michal Janusz Miroslaw
0114f775dd
Add stub for InvalidateNLSCache.
2003-04-08 19:40:37 +00:00
Maxime Bellengé
95bf7df1d7
Stubs for EnumSystemLanguageGroups{A|W}.
2003-03-26 01:22:57 +00:00
Alexandre Julliard
408d0fd626
Moved a couple of locale functions from ole2nls.c into locale.c.
2003-03-20 23:43:14 +00:00
Alexandre Julliard
dafbc3f73f
Removed remaining references to advapi32 registry functions from
...
kernel functions.
2002-09-13 18:52:01 +00:00