Commit graph

108 commits

Author SHA1 Message Date
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
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
Zhiyi Zhang
fbb41150de include: Add more date formatting flags.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-27 09:47:56 +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
b711b5feae winnls.h: Add element GEOCLASS_ALL to enum SYSGEOCLASS.
Signed-off-by: João Diogo Craveiro Ferreira <devilj@outlook.pt>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-03 22:58:07 +02:00
Martin Liska
9afc341c4f include: Avoid compound literals for WCHAR strings.
Starting from GCC 9, compound liferal's scope has changed:
https://www.gnu.org/software/gcc/gcc-9/porting_to.html#complit

Signed-off-by: Martin Liska <mliska@suse.cz>
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Alexandre Julliard
60ac1cec62 include: Use DECLSPEC_HIDDEN instead of DECLSPEC_IMPORT for dll exports.
DECLSPEC_IMPORT interferes with delay imports on MinGW.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:34 +02:00
Vijay Kiran Kamuju
370441b33d include: Add CAL_UMALQURA definition to winnls.h.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 22:25:36 +02:00
Gijs Vermeulen
62b64a1f6f include: Add LOCALE_[SLOCALIZEDDISPLAYNAME|ALLOW_NEUTRAL_NAMES] definitions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45079
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 10:04:00 +02:00
Alistair Leslie-Hughes
d5fd01350f kernel32: Implement GetCurrencyFormatEx.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-18 10:21:33 +02:00
André Hentschel
3d8d811be1 kernel32/tests: Fix check for invalid type value.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-30 10:52:12 +02:00
Sergio Gómez Del Real
2d74a4ff43 kernel32: Implement FindNLSStringEx.
Signed-off-by: Sergio Gómez Del Real <sdelreal@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-13 20:58:07 +01:00
Jactry Zeng
b9a9fe4a04 kernel32: Add stub for ResolveLocaleName.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-19 19:13:30 +02:00
Francois Gouget
34784f0aa8 include: Add a couple more UI language APIs.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-03 19:05:09 +01:00
Nikolay Sivov
532926b5f7 include: Added GetThreadUILanguage() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 19:48:44 +01:00
Nikolay Sivov
bf23b8a529 dwrite: Use system default locale when filling LOGFONT.lfFaceName.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-07 14:50:19 +01:00
Nikolay Sivov
6748f03bec include: Updated CAL_* info defines.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 11:38:49 +09:00
Hans Leidekker
c90845cf93 kernel32: Improve the stub for GetThreadPreferredUILanguages.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 20:30:57 +09:00
Sebastian Lackner
e39405d44d combase: Implement WindowsCompareStringOrdinal.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:19:29 +09:00
Stefan Leichter
1c3c9f06c5 kernel32: Add stub for GetSystemPreferredUILanguages.
Signed-off-by: Stefan Leichter <Stefan.Leichter@camLine.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 23:00:51 +09:00
Nikolay Sivov
61c49bd78e kernel32: Implement EnumTimeFormatsEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:08:24 +09:00
Nikolay Sivov
3d728e68d3 kernel32: Implement EnumDateFormatsExEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:51 +09:00
Nikolay Sivov
cc2bc84d14 kernel32/tests: Fix GetGeoInfo() test failure on Win10. 2015-08-24 14:42:00 +09:00
Nikolay Sivov
15eba39978 kernel32: Implement EnumCalendarInfoExEx(). 2015-06-29 19:07:46 +09:00
Mark Harmstone
8d42c76e88 include: Add GetFileMUIPath to winnls.h. 2015-05-26 18:45:33 +09:00
Mark Harmstone
e468f15d20 kernel32: Add GetFileMUIInfo stub. 2015-05-12 15:30:47 +09:00
Mark Harmstone
547fcead1f include: Add MUI constants to winnls.h. 2015-04-06 12:06:56 +09:00
Seán de Búrca
6cd0eb2027 kernel32: Implement Get{Time,Date}FormatEx. 2015-01-06 12:59:07 +01:00
Nikolay Sivov
52e4c5a802 include: Added GetLocaleInfoEx() definition. 2014-10-06 17:33:48 +02:00
Nikolay Sivov
7c035744f6 dwrite: Implement CreateNumberSubstitution(). 2014-10-02 22:55:02 +02:00
Nikolay Sivov
b4acc62e63 kernel32: Partially implement GetGeoInfo(). 2014-07-11 12:22:26 +02:00
Nikolay Sivov
3a2db918d9 kernel32: Added support for C3_HIGHSURROGATE/C3_LOWSURROGATE in GetStringTypeW(). 2014-06-30 22:04:52 +02:00
Francois Gouget
d86abc4921 include: Remove a misplaced duplicate definition of SORT_STRINGSORT. 2012-09-25 12:58:20 +02:00
Francois Gouget
4927f9595f kernel32: Add more flags for CompareString().
And fix the name of SORT_STRINGSORT.
2012-09-24 22:27:28 +02:00
Nikolay Sivov
0e234f3c25 kernel32: Partial CompareStringEx implementation. 2012-07-20 14:01:45 +02:00
André Hentschel
1f3eca666b kernel32/tests: Add tests for LCMapStringEx. 2012-06-06 20:54:22 +02:00
André Hentschel
21b6d994d2 kernel32: Handle LOCALE_NAME_USER_DEFAULT with tests. 2012-03-27 11:55:05 +02:00
Nikolay Sivov
be225af668 kernel32/nls: Added placeholder for LOCALE_SNATIVEDISPLAYNAME, header updated with new locale entries. 2011-08-24 14:18:27 +02:00
Thomas Mullaly
148b38d923 include: Added IDN support functions and types. 2011-01-03 14:57:28 +01:00
Hans Leidekker
9cb467911d include: Add a prototype for EnumSystemLocalesEx. 2010-10-01 17:48:10 +02:00
Alexandre Julliard
9f792ab3d5 kernel32: Implemented EnumSystemLocalesEx. 2010-09-27 14:13:17 +02:00
Louis Lenders
afa53a37a4 kernel32: Add stub for GetUserDefaultLocaleName. 2010-08-30 15:36:28 +02:00
Aric Stewart
f2b8873b1d libwine: Add C1_DEFINED to our C1 types and set it properly. 2010-07-22 13:02:31 +02:00
Nikolay Sivov
15c0f0a42d kernel32/tests: Add tests for LOCALE_RETURN_GENITIVE_NAMES flag for GetLocaleInfoW. 2009-10-21 16:05:57 +02:00
Alexandre Julliard
16d85e2d30 include: Add WINBASEAPI to the exported kernel32 functions. 2007-11-07 12:27:51 +01:00
Alexandre Julliard
e13c9cd6a1 winnls.h: Added some defines for Unicode surrogates. 2007-03-14 15:56:10 +01:00
Alexandre Julliard
123b6fec22 kernel32: Rewrote the locale matching to match more elements and to support Windows-format locale names.
Added implementation for LocaleNameToLCID and LCIDToLocaleName.
2006-11-16 22:11:19 +01:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
2fdc4dc5dd Added missing prototypes for some implemented functions. 2003-11-26 04:11:56 +00:00