Commit Graph

36 Commits

Author SHA1 Message Date
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
Francois Gouget e87e24a3c1 kernel32: Fix ASCII / ANSI mixups in comments.
It's quite possible that the device name is entirely composed of ASCII
characters but, as far as the API is concerned, it's still an ANSI
string.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-27 20:25:05 +02:00
Francois Gouget c388453184 kernel32: Fix NLS_GetDateTimeFormatA() Unicode to ANSI conversion.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 21:49:09 +02:00
Francois Gouget ea236aa981 kernel32: Fix the formatting of an NLS_IsUnicodeOnlyLcid() trace.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-06 09:57:36 +02:00
Michael Stefaniuc c5ff8ff27e kernel32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-17 09:52:27 +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 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
Michael Stefaniuc fe70e0e58f kernel32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +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
Andrey Gusev 061e2bbff1 kernel32: Remove redundant comparison.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-09 16:02:25 +01:00
Daniel Lehman e9e538abff kernel32: Add GetNumberFormatEx.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-19 16:43:23 +09:00
Nikolay Sivov e528765af4 kernel32: Fix context initialization for EnumDateFormatsExEx.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:14:12 +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 49e5b9c2a4 kernel32: Added support for TIME_NOSECONDS, restructured EnumTimeFormats implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:08:11 +09:00
Nikolay Sivov 6f35351f81 kernel32: EnumTimeFormatsA() doesn't support TIME_NOSECONDS.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:08:03 +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 292e4153cf kernel32: Simplify EnumDateFormats & EnumDateFormatsEx.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:50 +09:00
Nikolay Sivov 15eba39978 kernel32: Implement EnumCalendarInfoExEx(). 2015-06-29 19:07:46 +09:00
Nikolay Sivov c1c42d3caf kernel32: Simplify the way EnumCalendarInfo vs EnumCalendarInfoEx are handled internally. 2015-06-29 19:07:45 +09:00
Seán de Búrca 6cd0eb2027 kernel32: Implement Get{Time,Date}FormatEx. 2015-01-06 12:59:07 +01:00
Daniel Jelinski 614c45ad1c kernel32: Implement CAL_RETURN_NUMBER in EnumCalendarInfo*.
Based on a patch by Mike Blumenkrantz.
2013-05-21 12:12:49 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Nikolay Sivov 464ece6474 kernel32/lcformat: Get rid of back jumps on errors. 2010-03-01 11:34:09 +01:00
Nikolay Sivov 8ea4102a6c kernel32/lcformat: Add support for genitive month names in GetDateFormat(). 2009-12-04 14:34:57 +01:00
Nikolay Sivov 8e4f283e2d kernel32/lcformat: Don't use uneeded string conversion. 2009-12-04 14:34:56 +01:00
Nikolay Sivov 1a2609189f kernel32/lcformat: Avoid back jumps on failure. 2009-12-04 14:34:56 +01:00
Viliam Lejcik 3dc8b28d84 kernel32: Fix GetCurrencyFormat grouping. 2009-11-11 11:24:09 +01:00
Alexandre Julliard bcc77a89b2 kernel32: Convert source files to utf-8. 2008-10-18 19:20:02 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Dmitry Timoshkov f70fb8ec4c kernel32: GetTimeFormat and GetDateFormat should fail if LOCALE_NOUSEROVERRIDE is specified simultaneously with a format string. 2007-01-05 18:24:12 +01:00
Alexandre Julliard 2b01f6e07c kernel32: Use the appropriate Unix locale for GetLocaleInfo when a default LCID is used.
For instance LOCALE_SDATE is looked up in the lcid corresponding to
LC_TIME, LOCALE_IDIGITS in the LC_NUMERIC lcid, etc.
2006-11-16 22:11:58 +01:00
Michael Stefaniuc 8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00