Eric Pouech
2dcfe06442
kernelbase: 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
Jinoh Kang
9c5fa40ebd
kernelbase: Fix infinite loop in Internal_EnumCalendarInfo.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52129
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Hugh McMaster
4b9010d538
kernelbase: Write NUL bytes to CPINFO.LeadByte for the CP_UTF7 and CP_UTF8 code pages.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-22 22:20:51 +01:00
Alexandre Julliard
2b86341847
kernelbase: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-22 11:11:53 +02:00
Alexandre Julliard
e8beac105c
kernelbase: Remove dead code.
...
__APPLE__ is never defined in the PE build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:29:22 +02:00
Francois Gouget
a1bae9f288
make_unicode: Add support for the 720 codepage (Arabic, Farsi and Urdu).
...
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-08 22:28:44 +02:00
John Zourlios
0a366f7e4a
kernelbase: Accept LINGUISTIC_IGNOREDIACRITIC & SORT_DIGITSASNUMBERS in CompareStringEx().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50362
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 18:52:57 +01:00
Gijs Vermeulen
ed61ff43f4
kernelbase: Reject SORT_DIGITSASNUMBERS in CompareStringA().
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 18:52:57 +01:00
Sanghoon Park
fd3a640206
make_unicode: Add support for codepage 20949 (Korean Wansung).
...
Signed-off-by: Sanghoon Park <esifea1908@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-11 13:13:35 +01:00
Aaro Altonen
a7d0198418
kernelbase: Add 'Bonaire, Sint Eustatius and Saba' to geoinfodata.
...
Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-10 19:01:38 +01:00
Paul Gofman
a430a69f8b
kernel32: Implement SetUserGeoName().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Paul Gofman
e610a56734
kernel32: Implement GetUserDefaultGeoName().
...
Fixes crash on launch in Outriders demo.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
Alexandre Julliard
ff6a3433c5
ntdll: Store the locales in Wine-specific environment variables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-28 11:30:37 +01:00
Alexandre Julliard
0d173e5710
ntdll: Store the Unix codepage in a Wine-specific environment variable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-28 11:24:54 +01:00
Zebediah Figura
f51e44c180
kernelbase: Map LANG_SERBIAN_NEUTRAL in ConvertDefaultLocale().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-04 15:41:01 +01:00
Paul Gofman
cf3bb0ce0d
kernelbase: Get language sort only when required in LCMapStringEx().
...
Fixes very slow loading (a few minutes) of Warhammer 40000: Inquisitor
- Martyr after b780e5f5b1
.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-08 22:25:59 +01:00
Alexandre Julliard
9dc2892785
include: Use proper dllimports for kernel32 functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 18:41:13 +01:00
Nikolay Sivov
af17fcbc1c
kernelbase: Add a name for codepage 708.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 10:42:02 +02:00
Akihiro Sagawa
80acf7e4ae
kernelbase: Fix copy and paste error.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-30 16:55:08 +02:00
Akihiro Sagawa
d5edadf35a
kernelbase: Improve Get{, Dynamic}TimeZoneInformation() performance.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49808
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-29 12:12:52 +02:00
Jeff Smith
0e77260ae9
kernelbase: Output message ID as hex in debug messages.
...
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:32 +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
7b01281745
kernelbase: Reimplement FormatMessageA/W using RtlFormatMessage().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:05:31 +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
Alexandre Julliard
375668e122
kernelbase: Open registry keys before looking for sort table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 19:43:38 +01:00
Alexandre Julliard
84cca2baae
kernelbase: Implement IsValidNLSVersion().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 14:49:36 +01:00
Alexandre Julliard
86522976c9
kernelbase: Implement GetNLSVersion/GetNLSVersionEx().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 14:43:55 +01:00
Alexandre Julliard
b780e5f5b1
kernelbase: Use linguistic case table for LCMAP_LINGUISTIC_CASING.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-18 12:02:53 +01:00
Alexandre Julliard
c567af732b
kernelbase: Use the ctype table from the sortkey file.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 15:19:20 +01:00
Alexandre Julliard
4b1676af06
kernelbase: Load the sortkey file and use it for the case mapping table.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 15:18:57 +01: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
55dc4fce99
kernelbase: Use external NLS files for Unicode composition.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-21 13:48:44 +01:00
Alexandre Julliard
64e6d72284
unicode: Add support for high Unicode planes in composition tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-17 15:04:59 +01:00
Alexandre Julliard
cd8eaef47e
unicode: Avoid copying the decomposition data when not necessary.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-04 21:30:26 +01:00
Alexandre Julliard
8d11c0871e
kernelbase: Fix NormalizeString() return value and last error.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 20:48:03 +01:00
Alexandre Julliard
f0a82c3a2a
kernelbase: Use RtlNormalizeString() directly in FoldStringW().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 19:20:39 +01:00
Alexandre Julliard
bfeb0a97fe
unicode: Use a standard two-level mapping table for the sortkeys map.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 19:25:07 +01:00
Alexandre Julliard
31360d4785
unicode: Use a standard two-level mapping table for the digit map.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-28 18:58:50 +01:00
Nikolay Sivov
ac72e61edf
kernelbase: Fix a typo in weights comparison helper (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-03 21:40:59 +01:00
Akihiro Sagawa
a85bc781d3
kernelbase: Use translated Unicode default char to check invalid chars.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48288
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 18:45:01 +01:00
Alexandre Julliard
356d0fcc5b
kernelbase: Reimplement EnumDynamicTimeZoneInformation() using GetTimeZoneInformationForYear().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:16:57 +01:00
Alexandre Julliard
89500484c2
kernel32: Move timezone functions to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 20:59:19 +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
c7c8016b70
kernelbase: Directly use the wctype table for the IsChar* functions.
...
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
328ec3a768
kernelbase: Reimplement WideCharToMultiByte using Win32-format codepage tables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-06 22:30:23 +01:00