Commit Graph

64 Commits

Author SHA1 Message Date
Mike McCormack
405ac7a80c - don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
Mike McCormack
5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Alexandre Julliard
0f079d7858 Moved the kernel per-thread data out of the TEB into a private
structure stored in TEB.SystemReserved1.
2005-06-06 20:00:14 +00:00
Alexandre Julliard
e4412a618c Removed the special casing of kernel32 and ntdll for the TEB
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Mike McCormack
8bcdf42710 Stub implementation for GetGeoInfo. 2005-05-11 12:57:50 +00:00
Alexandre Julliard
90a1a7811f Removed unused data fields in the LANG_FIND_DATA structure. 2005-04-18 15:42:49 +00:00
Troy Rollo
f51736cb0c Implement SetCPGlobal (an undocumented Win32 API). 2005-03-29 11:34:03 +00:00
Ulrich Czekalla
11f2cb1877 GetCPInfo should return FALSE if called with NULL info buffer. 2005-03-19 17:04:56 +00:00
Oleh R. Nykyforchyn
62b94d89bd Ukrainian codepage 21866 added and respective files corrected. Two
keyboard layouts (for Ukrainian and Russian) added.
2005-01-19 20:59:31 +00:00
Michael Stefaniuc
5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
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