Alexandre Julliard
|
e81327358a
|
kernelbase: Move codepage initialization to ntdll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-13 16:08:30 +02:00 |
Alexandre Julliard
|
d53bc38d34
|
ntdll: Initialize the system locale on the Unix side.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-13 16:03:14 +02:00 |
Zebediah Figura
|
351fa352f6
|
kernelbase: Set user_lcid to the user locale, not the system locale.
Fixes: fffbe3fcae
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-13 10:42:59 +02:00 |
Alexandre Julliard
|
1790546d03
|
kernelbase: Support UTF-8 as default Ansi codepage in WideCharToMultiByte().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-11 17:34:48 +02:00 |
Alexandre Julliard
|
2cc54d4b85
|
kernelbase: Support UTF-8 as default Ansi codepage in MultiByteToWideChar().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-11 17:34:48 +02:00 |
Alexandre Julliard
|
8993e15cfa
|
kernelbase: Support UTF-7/8 codepages in get_codepage_table().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-11 17:34:48 +02:00 |
Alexandre Julliard
|
fd2ecee06f
|
kernelbase: Avoid redundant locale lookups in GetLocaleInfoA().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-11 17:34:48 +02:00 |
Alexandre Julliard
|
23834ee3b8
|
kernelbase: Use RtlMultiByteToUnicodeN in IsChar* functions.
In case the Ansi codepage was set to UTF-8.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-11 17:34:48 +02:00 |
Alexandre Julliard
|
4d68497fac
|
kernelbase: Reimplement Internal_EnumDateFormats() using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-07 22:44:39 +02:00 |
Alexandre Julliard
|
25595a0abe
|
kernelbase: Reimplement Internal_EnumTimeFormats() using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-07 22:44:39 +02:00 |
Alexandre Julliard
|
8576c3e131
|
kernelbase: Reimplement Internal_EnumCalendarInfo() using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-07 22:44:39 +02:00 |
Alexandre Julliard
|
6517f6c239
|
kernelbase: Implement NlsValidateLocale().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-07 22:44:39 +02:00 |
Alexandre Julliard
|
812ebc67a4
|
kernelbase: Fix IsValidLocale() and GetLocaleInfo() with special LOCALE_* identifiers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-07 22:44:39 +02:00 |
Alexandre Julliard
|
a074d0c3a8
|
kernelbase: Reimplement GetCalendarInfoEx/W using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-05 16:59:09 +02:00 |
Alexandre Julliard
|
c30626505b
|
kernelbase: Check the locale name instead of the LCID to detect changes.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-01 20:30:57 +02:00 |
Alexandre Julliard
|
c0ff1a221b
|
kernelbase: Set system/user locales by name if they have no LCID.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-04-01 20:30:57 +02:00 |
Alexandre Julliard
|
689e63485c
|
kernel32: Move the error message table to kernelbase.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-31 10:57:07 +02:00 |
Alexandre Julliard
|
6d06171485
|
kernel32: Move the language group resources to kernelbase.
And enable translating them through the po files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-31 10:57:07 +02:00 |
Alexandre Julliard
|
86baeafc76
|
kernelbase: Reimplement the Geo ID functions using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-31 07:46:13 +02:00 |
Alexandre Julliard
|
c0fda77fe2
|
kernelbase: Remove the old GetLocaleInfoEx/W implementation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-30 11:03:37 +02:00 |
Alexandre Julliard
|
78a33f9684
|
kernelbase: Reimplement SetLocaleInfoW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-30 11:03:37 +02:00 |
Alexandre Julliard
|
5014a44e3c
|
kernelbase: Reimplement updating the locale values in the registry on locale change.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-30 11:03:37 +02:00 |
Alexandre Julliard
|
1398a01064
|
kernelbase: Reimplement fetching customized values from the registry in GetLocaleInfoW/Ex.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 22:12:49 +02:00 |
Alexandre Julliard
|
781086670d
|
kernelbase: Reimplement values computed from date/time formats in GetLocaleInfoW/Ex.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 22:12:49 +02:00 |
Alexandre Julliard
|
c957158730
|
kernelbase: Reimplement values computed from currency formats in GetLocaleInfoW/Ex.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 22:12:49 +02:00 |
Alexandre Julliard
|
08a9dc5031
|
kernelbase: Reimplement misc locale info values in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 22:12:49 +02:00 |
Alexandre Julliard
|
07cbbdeaaa
|
kernelbase: Reimplement currency formatting values in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 22:12:49 +02:00 |
Alexandre Julliard
|
ba43e4cfca
|
kernelbase: Reimplement number formatting values in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 22:12:49 +02:00 |
Alexandre Julliard
|
6549f1f3d2
|
kernelbase: Reimplement LOCALE_SSORTNAME in GetLocaleInfoW/Ex.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 20:53:50 +02:00 |
Alexandre Julliard
|
d39c6851d3
|
kernelbase: Reimplement LOCALE_FONTSIGNATURE/SOPENTYPELANGUAGETAG in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 20:35:51 +02:00 |
Alexandre Julliard
|
712e4757c6
|
kernelbase: Reimplement misc format values in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 20:35:23 +02:00 |
Alexandre Julliard
|
00fd05d447
|
kernelbase: Reimplement calendar options in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 20:35:23 +02:00 |
Alexandre Julliard
|
30e8a28c3d
|
kernelbase: Reimplement date/time format strings in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 20:35:23 +02:00 |
Alexandre Julliard
|
ec5d3c9fe7
|
kernelbase: Reimplement LOCALE_SNATIVEDIGITS in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 20:35:23 +02:00 |
Alexandre Julliard
|
f0d43939ff
|
kernelbase: Reimplement LOCALE_ICOUNTRY/IGEOID in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 08:38:37 +02:00 |
Alexandre Julliard
|
62cd33e6b0
|
kernelbase: Reimplement LOCALE_*CURRNAME/CURRENCY in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 08:36:41 +02:00 |
Alexandre Julliard
|
37278557dd
|
kernelbase: Reimplement LOCALE_*AM/PM in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 08:36:35 +02:00 |
Alexandre Julliard
|
9ef9d0293a
|
kernelbase: Reimplement LOCALE_*PERCENT in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 08:36:30 +02:00 |
Alexandre Julliard
|
17928e6a01
|
kernelbase: Reimplement LOCALE_*INFINITY/NAN in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-29 08:36:20 +02:00 |
Alexandre Julliard
|
ff323aeb65
|
kernelbase: Reimplement LOCALE_*MONTHNAME in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 22:21:47 +02:00 |
Alexandre Julliard
|
5bf289ea37
|
kernelbase: Reimplement LOCALE_*DAYNAME in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 22:21:46 +02:00 |
Alexandre Julliard
|
b1e17a053a
|
kernelbase: Reimplement LOCALE_*DEFAULTCODEPAGE in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 22:21:45 +02:00 |
Alexandre Julliard
|
f0db567f67
|
kernelbase: Reimplement LOCALE_*DISPLAYNAME in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 22:21:30 +02:00 |
Alexandre Julliard
|
2c70ed249a
|
kernelbase: Reimplement LOCALE_*CTRYNAME in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 22:21:28 +02:00 |
Alexandre Julliard
|
85a39a9773
|
kernelbase: Reimplement LOCALE_*LANGNAME in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 22:20:48 +02:00 |
Alexandre Julliard
|
956c88db18
|
kernelbase: Reimplement LOCALE_ILANGUAGE/IDEFAULTLANGUAGE in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 18:23:57 +02:00 |
Alexandre Julliard
|
412e79181f
|
kernelbase: Reimplement LCIDToLocaleName() using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 18:23:57 +02:00 |
Alexandre Julliard
|
0f7cd3d685
|
kernelbase: Reimplement LOCALE_SPARENT in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 18:23:57 +02:00 |
Alexandre Julliard
|
d370618a5a
|
kernelbase: Reimplement LOCALE_SNAME in GetLocaleInfoW/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-28 18:23:57 +02:00 |
Alexandre Julliard
|
4c51d77951
|
kernelbase: Reimplement EnumSystemLocalesA/W/Ex using the locale.nls data.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2022-03-24 17:17:10 +01:00 |