Eric Pouech
a0fee49db2
kernel32: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-11 11:21:29 +01:00
Alexandre Julliard
0c631ebb23
kernel32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-28 19:38:42 +02:00
Alexandre Julliard
f41e205dfc
kernel32: Remove time.c.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 00:14:06 +02:00
Alexandre Julliard
6bed2b427b
kernel32: Move the *PreferredUILanguages functions to kernelbase and ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-22 14:31:55 +02:00
Alexandre Julliard
0c90da7f7e
kernel32: Move some stub functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 20:53:02 +02:00
Gijs Vermeulen
e7abfe9533
kernel32: Remove unused functions is_executable() and get_table_entry().
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-01 22:03:16 +02:00
Alexandre Julliard
80e8c138f1
kernel32: Move Idn functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 13:20:25 +01:00
Alexandre Julliard
5d2ec076fe
kernel32: Remove the nameprep tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 13:20:24 +01:00
Alexandre Julliard
ab9fe967f1
ntdll: Reimplement IdnToUnicode() using the normalization table and the ntdll helpers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 13:20:24 +01:00
Alexandre Julliard
01237d0896
ntdll: Reimplement IdnToAscii() using the normalization table and the ntdll helpers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 13:20:24 +01:00
Alexandre Julliard
cd13557f48
ntdll: Reimplement IdnToNameprepUnicode() using the NLS normalization table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-03 13:20:24 +01:00
Dmitry Timoshkov
081737379a
kernel32: Get[*]PreferredUILanguages should return buffer size when setting ERROR_INSUFFICIENT_BUFFER.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-02 13:05:32 +01:00
Alexandre Julliard
eeb8eddfa2
kernel32: Move GeoID functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Alexandre Julliard
098e71ad61
kernel32: Move the CompareString functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Alexandre Julliard
94a3add0ea
kernel32: Move LCMapString functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Alexandre Julliard
1b46da5c05
kernel32: Move GetStringType functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Alexandre Julliard
6bcda47419
kernel32: Move Get/SetLocaleInfoW() to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Alexandre Julliard
830de63139
kernel32: Use MultiByteToWideChar() and WideCharToMultiByte() from kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 15:30:03 +01:00
Alexandre Julliard
d33504b9bb
kernel32: Use the Rtl UTF8 conversion functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 16:03:48 +01:00
João Diogo Ferreira
a31dec5fa9
kernel32: Make GetUserGeoID() always succeed if geoclass is valid.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46196
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:37:43 +01:00
João Diogo Ferreira
c93aa1095e
kernel32: Properly handle GEO_NATION and GEO_ID in GetGeoInfoW().
...
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:44 +01:00
Alexandre Julliard
bba33e5391
ntdll: Get rid of __wine_init_codepages().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-03 09:30:43 +01:00
Alexandre Julliard
7bb286ad9d
kernel32: Move FoldStringW() function to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 09:05:13 +01:00
Alexandre Julliard
e89bbd5244
kernel32: Reimplement FoldStringW() to support composition.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 09:04:33 +01:00
Gijs Vermeulen
22c2ce2fa6
kernel32: Remove unused function.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 22:05:15 +01:00
Alexandre Julliard
03deff4e0d
kernel32: Move codepage functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 17:04:44 +01:00
Alexandre Julliard
2cbb6f8d34
kernel32: Move some locale functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-21 13:20:23 +01:00
Alexandre Julliard
fd588a22b7
kernel32: Move string normalization functions to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-21 10:43:46 +01:00
Alexandre Julliard
35ea9cd99a
kernel32: Move the locale registry setup to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 23:03:21 +01:00
Alexandre Julliard
ed09f37cef
kernel32: Get the initial locales from ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 22:45:58 +01:00
Alexandre Julliard
f1bfd2c0b1
ntdll: Initialize the system and user locales directly in ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 16:25:16 +01:00
João Diogo Ferreira
2a03c0958b
kernel32: Handle GEOCLASS_ALL in EnumSystemGeoID().
...
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:04 +01:00
Alexandre Julliard
9f0983ddfc
kernel32: Use RtlLocaleNameToLcid().
2019-11-19 23:15:04 +01:00
Alexandre Julliard
4b1a8d6361
kernel32: Add more special cases in ConvertDefaultLocale().
2019-11-19 23:15:04 +01:00
João Diogo Ferreira
d353c96e83
kernel32: Add Kosovo, UN codes and change two parents in geoinfodata.
...
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 20:01:17 +01:00
João Diogo Ferreira
c790422daa
kernel32: Fix null pointer access in GetGeoInfoW().
...
We were failing the conditional that would point «str» to «buffW»
when retrieving the GEO_ISO_UN_NUMBER of a location with UN code 0.
Some locations will keep having no UN code, such as Guantanamo Bay or
Johnston Atoll, since that's how those are defined in Windows.
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 20:01:17 +01:00
Alexandre Julliard
42ed9797b1
kernel32: Move EnumCalendarInfo functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:13 +01:00
Alexandre Julliard
50d15730df
kernel32: Move EnumTimeFormats functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-16 20:11:21 +01:00
Alexandre Julliard
02d9ccb3c3
kernel32: Move EnumDateFormats functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-16 20:08:58 +01:00
Alexandre Julliard
dcdfe02a72
kernel32: Get rid of LOCALE_IDEFAULTUNIXCODEPAGE.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-13 13:47:45 +01:00
João Diogo Ferreira
c2485bb12e
kernel32: Handle GEOCLASS_REGION in Get/SetUserGeoID().
...
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
João Diogo Ferreira
dd505fab26
kernel32: Move Get/SetUserGeoID() to after the geoinfo struct.
...
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-12 22:05:58 +01:00
Alexandre Julliard
6d8c58d7cc
kernel32: Retrieve the Unix codepage from ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-19 14:19:32 +02:00
Alexandre Julliard
a7c190d35f
kernel32: Move system locale enumeration functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-04 22:11:20 +02:00
Alexandre Julliard
14fbecee65
kernel32: Add set_ntstatus() helper.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-01 09:43:27 +02:00
Alexandre Julliard
7c0032b62a
kernel32: Move some locale functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-17 18:32:14 +02:00
Gabriel Ivăncescu
6f8bea3049
kernel32/locale: Don't fail with non-NULL args when the Unix codepage falls back to UTF-8.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-04 21:31:54 +02:00
Gabriel Ivăncescu
cf92311425
kernel32/locale: Set whether we used the default char when using Unix codepage.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-04 21:29:11 +02:00
Alexandre Julliard
2a455ce049
kernel32: Move lstr* string functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-01 15:56:46 +02:00
Manuel Edelmann
bc7e98a1a9
kernel32: Added stub for Set/GetProcessPreferredUILanguages.
...
Signed-off-by: Manuel Edelmann <varris@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 20:52:38 +02:00