Commit Graph

61 Commits

Author SHA1 Message Date
Piotr Caban 7d94c4f0e4 ntdll: Fix memchr implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50228
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 17:51:07 +01:00
Piotr Caban a6fb7be678 ntdll: Ignore L length specifier in printf.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-14 18:27:59 +02:00
Alexandre Julliard bc8745851e ntdll: Reimplement the ctype functions to avoid depending on libc.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-29 19:51:47 +02:00
Alexandre Julliard 497358bbb9 ntdll/tests: Add some printf tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 14:43:27 +02:00
Alexandre Julliard 295660b985 ntdll: Reimplement wcstol/wcstoul using the msvcrt code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 09:34:53 +01:00
Alexandre Julliard 650c8e1434 ntdll: Don't handle the full Unicode character range in isw* functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 09:29:56 +01:00
Alexandre Julliard 1986328543 ntdll: Don't handle the full Unicode character range in wcsicmp/wcsnicmp.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 09:29:56 +01:00
Alexandre Julliard 5a4cc97a3b ntdll: Don't handle the full Unicode character range in wcslwr/wcsupr.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 09:29:56 +01:00
Alexandre Julliard 0d6802dcc5 ntdll: Use the NLS case mapping table for towlower/towupper.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 09:29:56 +01:00
Alexandre Julliard a1659db87f ntdll/tests: Remove some workarounds for older Windows versions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 09:29:56 +01:00
Zebediah Figura b41ab972ec ntdll: Support the %I format modifier.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-31 10:20:42 +01:00
Zebediah Figura 9c3dcdfb6c ntdll/tests: Add more tests for printf format specifiers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-31 10:20:39 +01:00
Erich E. Hoover 94675cd8e3 ntdll: Drop support for floating point numbers in sscanf.
Takes care of one more use of "long double".

Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-23 10:51:08 +01:00
Jacek Caban 4c2afc8ad9 ntdll: Implement _snprintf_s and _vsnprintf_s.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 23:44:24 +02:00
Piotr Caban 9b52a967b7 ntdll: Fix _strnicmp implementation to not depend on locale.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:11 +01:00
Piotr Caban 748628e23e ntdll: Use ANSI code page in toupper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:05 +01:00
Piotr Caban 4ed7924390 ntdll: Fix tolower implementation to not depend on locale.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:49:56 +01:00
Nikolay Sivov dd7230d1bc ntdll/tests: Add a test for qsort() stability.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-24 17:00:06 +02:00
Michael Stefaniuc 9ef8fa2a0b ntdll/tests: Avoid ARRAY_SIZE-like macros.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 01:01:55 +02:00
Michael Stefaniuc 3400da025e ntdll/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 01:01:55 +02:00
Alexandre Julliard a5b67f3fdd ntdll: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:16:54 +01:00
Alistair Leslie-Hughes 3b05f552e2 ntdll/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:13:55 +09:00
André Hentschel d978dcedd5 ntdll/tests: Clarify ok() conditions (PVS-Studio). 2014-11-11 14:21:31 +09:00
Alexandre Julliard 406587898f ntdll/tests: Fix a test that fails on Win2k. 2014-01-09 17:39:51 +01:00
Sebastian Lackner 09bb38d12b ntdll/tests: Add test for _snprintf. 2013-12-23 18:39:55 +01:00
André Hentschel 0fb4cba77f ntdll/tests: Fix some typos. 2012-02-13 18:37:35 +01:00
Frédéric Delanoy ea67d804f3 ntdll/tests: Avoid harcoding array lengths. 2011-11-21 11:05:00 +01:00
Thomas Faber 385b8c3988 ntdll/tests: Fix build with MSVC. 2011-10-17 17:45:03 +02:00
André Hentschel ca8d7652f6 ntdll/tests: Tests for _wcslwr and _wcsupr. 2011-09-08 11:17:09 +02:00
Andrew Nguyen f7385699a9 ntdll/tests: Avoid casting away const in comparison functions. 2011-02-01 12:38:57 +01:00
Stefan Oberhumer 024530133c ntdll/tests: Add some more tests for qsort(). 2010-10-05 15:16:39 +02:00
Marcus Meissner 34d17c9ea1 ntdll: qsort: comparator must not get the same pointer. 2010-05-24 11:27:25 +02:00
Marcus Meissner 2ecd1dfaba ntdll: Implement bsearch, lfind to use correct comparator functions. 2010-05-13 11:50:51 +02:00
Marcus Meissner 7642e03c63 ntdll: Reimplement qsort() using generic mergesort. 2010-05-11 11:27:03 +02:00
Michael Stefaniuc ed1711ec54 ntdll/tests: Avoid using the 'long' types. 2010-04-21 11:57:33 +02:00
Andrew Nguyen d7557a1926 ntdll/tests: Add a few additional tests for wcsrchr. 2010-01-14 10:05:06 -06:00
Andrew Nguyen dca1bd8633 ntdll/tests: Add a few additional tests for wcschr. 2010-01-14 10:04:58 -06:00
Alexandre Julliard d637a552c0 ntdll/tests: Fix a long long format in a trace. 2009-01-08 13:05:38 +01:00
Alexandre Julliard b84fda836e ntdll/tests: Avoid long long printf formats in traces. 2009-01-03 20:25:19 +01:00
Alexandre Julliard fcdce5c6f3 ntdll/tests: Allow alternate results in the string tests to make them pass on Vista. 2008-08-26 12:07:43 +02:00
Lei Zhang ee60c49dd6 ntdll: Use our own implementation of atoi and atol. 2008-07-22 13:09:28 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
Austin English 05faae7b5a Spelling fixes. 2008-04-09 12:07:39 +02:00
Paul Vriens b75f36595f ntdll: Remove unused variables. 2006-11-21 12:39:29 +01:00
Paul Vriens d2218eb998 ntdll: Use intended variable. 2006-11-21 12:39:23 +01:00
Paul Vriens 8896cb8e37 ntdll: Remove tests that crash on XP and W2K3. 2006-11-21 12:39:16 +01:00
Paul Vriens b3df6da417 ntdll: Remove unused variables. 2006-11-21 12:39:09 +01:00
Paul Vriens 409b7e3edf ntdll: Remove tests that crash on XP and W2K3. 2006-11-21 12:39:02 +01:00
Michael Stefaniuc 8ddaf6cc21 ntdll/tests: Win64 printf format warning fixes. 2006-10-14 20:17:34 +02:00
Stefan Leichter 0e592aa9bd ntdll/tests: Print 64bit integers as two 32 bit integers. 2006-08-23 12:00:15 +02:00