Commit Graph

73 Commits

Author SHA1 Message Date
Mikhail Maroukhine
2b8f11b8c0 ntdll: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:15:28 +02:00
Maarten Lankhorst
768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Francois Gouget
9c5e97aa71 Assorted spelling fixes. 2008-11-24 14:25:10 +01:00
Michael Stefaniuc
26bba27dc0 ntdll: Don't cast void pointers to other pointer types. 2008-10-24 14:25:01 +02:00
Andrew Talbot
a63749cce0 ntdll: Sign-compare warnings fix. 2008-10-24 14:25:00 +02:00
Zac Brown
38f6dbc55a ntdll: Remove byte reversed U+3000 (CJK space) from being checked in RtlIsTextUnicode. 2008-07-18 11:12:07 +02:00
Zac Brown
8f3ae2011c ntdll: Implement checking for control characters in RtlIsTextUnicode. 2008-07-01 12:38:34 +02:00
Alexandre Julliard
d45677788e ntdll: Only recompose Unicode on Mac OS when using utf-8. 2008-06-30 15:10:25 +02:00
Alexandre Julliard
58913b439b kernel32: On Mac OS, recompose the Unicode strings we get from the OS. 2008-02-15 12:07:56 +01:00
Mikolaj Zalewski
370b881fcd ntdll: Avoid setting IS_TEXT_UNICODE_NUL_BYTES for the last byte of an ANSI string. 2007-10-17 13:42:14 +02:00
Alexandre Julliard
43519e415d ntdll: Fixed the null bytes check in RtlIsTextUnicode. 2007-07-30 20:17:24 +02:00
Alexandre Julliard
a79b26284a libwine: Pass flags to wine_utf8_wcstombs to allow supporting WC_ERR_INVALID_CHARS. 2007-03-14 15:57:50 +01:00
Rob Shearman
5398e17d0a ntdll: RtlInitUnicodeString on a string too long to fit in a UNICODE_STRING
should set the it to have the maximum possible length and size rather
than a modulus of the actual length.

Fix test failures for RtlInitUnicodeString on Windows XP upwards.
2007-01-04 21:13:17 +01:00
Alexandre Julliard
f01d9879c6 libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte. 2006-05-24 14:14:09 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Hans Leidekker
ec6a5175b4 ntdll: The closing brace of a guid string is at index 37. 2006-04-10 12:22:16 +02:00
Ge van Geldorp
1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Ivan Leo Puoti
a1cd3ab653 Implement RtlInitAnsiStringEx. 2005-11-07 11:14:45 +00:00
Ivan Leo Puoti
198557261b Minor fixes to rtl string functions. 2005-11-02 11:42:31 +00:00
Mike McCormack
05f53afd5a Declare RtlGUIDFromString and RtlStringFromGUID. 2005-06-22 12:00:57 +00:00
Mike McCormack
04f9f1b066 Don't include winbase.h or winerror.h when not necessary. 2005-06-21 09:52:40 +00:00
Mike McCormack
5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
James Hawkins
89bba4a255 Implement RtlAnsiCharToUnicodeChar. 2005-06-10 19:30:23 +00:00
Alexandre Julliard
16885f09a5 Fixed RtlIsTextUnicode prototype, and made it properly take into
account the results of the tests to determine the return value.
2005-05-31 13:24:44 +00:00
Francois Gouget
f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Francois Gouget
6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Jon Griffiths
eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Uwe Bonnes
dc16331c75 Use local buffer in RtlUpcaseUnicodeStringToCountedOemString, if
appropriate.
2005-02-15 20:48:38 +00:00
Alexandre Julliard
769a4bb586 Fixed ntdll_wcstoumbs and WideCharToMultiByte to set the 'used' flag
for UTF-8 codepage too. This was causing DIR_nt_to_unix to fail in
some cases (tracked down with help from Alex Pasadyn).
2004-04-19 03:05:07 +00:00
Rolf Kalbermatter
be00938306 Fix bad initialization of Unicode length parameters in
RtlStringFromGUID.
2004-04-08 04:38:49 +00:00
Francois Gouget
b948778660 Assorted spelling fixes. 2004-03-23 23:20:16 +00:00
Alexandre Julliard
fe8ead56a8 Get rid of ntdll_get_process_heap and ntdll_get_process_pmts by using
standard APIs instead.
2004-03-12 01:59:35 +00:00
Alexandre Julliard
615373c587 ASCII string comparisons should not depend on the locale. 2004-03-09 23:29:20 +00:00
Robert Shearman
b14950dd5c Update documentation for Rtl functions. 2004-02-27 04:35:43 +00:00
Eric Pouech
210e1abb35 Added support for Unix code page in NTDLL. 2004-01-18 22:11:52 +00:00
Jon Griffiths
ae0ca56453 Added RtlNtStatusToDosErrorNoTeb, RtlGet/Set/RestoreLastWin32Error,
RtlGUIDFromString, RtlStringFromGUID.
2003-12-12 05:56:44 +00:00
Alexandre Julliard
86c905ab0c We no longer need a special case for codepages on startup,
initialization is done in the correct order now.
2003-12-04 05:13:03 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dmitry Timoshkov
4aec75f017 Apply only specified tests.
Implement IS_TEXT_UNICODE_REVERSE_SIGNATURE, IS_TEXT_UNICODE_STATISTICS
and IS_TEXT_UNICODE_NULL_BYTES tests.
Revert IS_TEXT_UNICODE_ODD_LENGTH test.
2003-08-20 03:34:45 +00:00
Jon Griffiths
228f22e967 Add some new types and functions.
Remove ITU_IMPLEMENTED_TESTS, its not part of the Win32 Api.
2003-08-18 19:54:13 +00:00
Thomas Mertes
d628d125ab Implement RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
RtlInitUnicodeStringEx.
Documentation updates for RtlInitAnsiString, RtlInitString,
RtlInitUnicodeString, RtlAnsiStringToUnicodeString and
RtlOemStringToUnicodeString.
2003-05-06 18:27:40 +00:00
Alexandre Julliard
d6da1f33ab Implemented RtlIsNameLegalDOS8Dot3 (based on a patch by Eric Pouech).
Implemented RtlUpcaseUnicodeStringToCountedOemString.
2003-04-16 23:15:29 +00:00
Thomas Mertes
0ce4826eee Implemented RtlRandom, RtlAreAllAccessesGranted,
RtlAreAnyAccessesGranted, RtlCopyLuid, RtlEqualLuid, RtlMapGenericMask
and RtlCopyLuidAndAttributesArray.
Documentation updates for RtlExtendedMagicDivide, RtlUniform,
RtlUnicodeStringToAnsiString, RtlAppendAsciizToString,
RtlAppendStringToString, RtlAppendUnicodeToString and
RtlAppendUnicodeStringToString.
2003-04-08 00:55:36 +00:00
Thomas Mertes
c83aa0d311 - Implement RtlDowncaseUnicodeString, RtlUniform, iswdigit, iswlower,
iswspace, iswxdigit.
- Fixed RtlInt64ToUnicodeString and RtlIntegerToUnicodeString.
- According to tests RtlAppendUnicodeStringToString leaves the
  destination unchanged when the source length is 0 (FIXED).
- Documentation updates in RtlExtendedMagicDivide,
  RtlLargeIntegerToChar, RtlInt64ToUnicodeString, RtlUpperChar,
  RtlUpperString, RtlUpcaseUnicodeChar, RtlCharToInteger,
  RtlIntegerToChar, RtlUnicodeStringToInteger,
  RtlIntegerToUnicodeString, _ultoa, _ltoa, _itoa, _ui64toa, _i64toa,
  _atoi64, _ultow, _ltow, _itow, _ui64tow, _i64tow, _wtol, _wtoi,
  _wtoi64.
2003-03-22 00:20:58 +00:00
Alexandre Julliard
25fe361010 Added 'wine' prefix to libwine_unicode exports. 2003-03-21 21:30:51 +00:00
Jon Griffiths
f8a82b489e Add RtlDowncaseUnicodeChar(), RtlEqualComputerName(),
RtlEqualDomainName(). Documentation updates.
2003-03-15 19:42:11 +00:00
Alexandre Julliard
769a84fac1 Avoid GetProcessHeap() inside ntdll. 2003-03-14 23:16:46 +00:00
Thomas Mertes
f4757bb631 - Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
  RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
  RtlUpcaseUnicodeChar.
- Use toupperW instead of toupper in RtlCompareUnicodeString.
2003-02-19 03:39:46 +00:00
Robert Shearman
59e81ec15a Implemented RtlUnicodeStringToInteger. 2002-11-12 02:17:34 +00:00
Patrik Stridvall
9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00