Commit Graph

127 Commits (d11efe88b990748f06b398731aff09a6215841a8)

Author SHA1 Message Date
Bill Medland 37bbb1c26e Correct GetDateFormat handling of uninitialised fields: only the year,
month and day fields matter; the rest may be uninitialised.
2003-01-16 00:18:34 +00:00
Chris Morgan af807287ca GetDateFormat() and GetTimeFormat() should check the validity of the
time/date structure it is processing.
Add comments to describe flags behavior.
Add support for TIME_FORCE24HOURFORMAT, TIME_NOMINUTESORSECONDS,
TIME_NOSECONDS and TIME_NOTIMEMARKER.
Add check in GetDateFormatW() for invalid flag combinations.
Added some missing DATE_* defines to winnls.h.
Behavior verified against NT4.0.
2002-12-19 21:11:54 +00:00
Alberto Massari 31a7cad486 CompareStringW should return 0 when one of the provided strings is a
NULL pointer.
2002-12-19 04:10:35 +00:00
Francois Gouget 2d4b1b9db0 In Get{Currency,Number}FormatA, SetLastError to
ERROR_INSUFFICIENT_BUFFER if the buffer is too small.
2002-12-12 03:55:45 +00:00
Bill Medland 5a29089727 Correct GetNumberFormatA for zero decimals and for zero grouping. 2002-11-27 20:13:22 +00:00
Ryan Cumming 1bc18f3da7 Remove OLE_GetFormatA, reimplement GetDateFormatA and GetTimeFormatA
as wrappers around their Unicode versions.
2002-11-08 18:51:56 +00:00
Bill Medland 9134f37e27 Fix OLE_GetFormatW so that GetDateFormatW works.
Rearranged for simplicity.
2002-10-25 19:02:26 +00:00
Steve Lustbader 3acab71ed0 Implemented GetDateFormatW. 2002-10-03 22:57:55 +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
Alexandre Julliard 66e3183099 Fixed GetLocaleInfoW to handle Unicode properly and completed
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00
Paul Millar 449bb92bc0 Fix use of LOCALE_NOUSEROVERRIDE flag in GetNumberFormatA and
GetCurrencyFormatA.
2002-06-13 19:22:17 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 3629074d86 Fixed buffer handling of some locale functions (based on a patch by
Mehmet Yasar).
2002-05-29 17:00:23 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Dmitry Timoshkov c59655ede0 Reimplement GetStringTypeA and GetStringTypeExA. 2002-02-04 18:34:32 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Francois Gouget 038af7925b Fix the definition of structs NUMBERFMT* and CURRENCYFMT*.
Add, fix and move prototypes from winbase.h to winnls.h.
2001-09-19 22:28:00 +00:00
Andreas Mohr da920ee9b9 Spelling fixes. 2001-08-09 21:16:55 +00:00
Andreas Mohr a49b5be97d Fixed some more overflowing string traces. 2001-07-17 00:51:00 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Dmitry Timoshkov affc9a8817 Move IsCharAlphaA and IsCharAlphaNumericA to user32.
Better implement some of user32 *Char* functions regarding locale.
Remove kernel32 dependency on user32.
2001-06-14 19:27:01 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Huw D M Davies 0925d6ecb4 When reading resources in NLS_LoadStringExW we should map
SUBLANG_NEUTRAL to SUBLANG_DEFAULT.
2001-05-29 20:52:44 +00:00
James Hatheway 035a75852b Small typo fix. 2001-04-12 21:06:39 +00:00
Rein Klazes 77d06fc629 Implement TIME_FORCE24HOURFORMAT and TIME_NOTIMEMARKER flags in
OLE_GetFormatA.
2001-04-04 18:25:25 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
François Gouget b99367e20e debugstr_xxx already does the quoting. 2001-02-14 21:42:10 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Alexandre Julliard 751625e089 Got rid of main.h. 2000-12-12 00:50:19 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Andreas Mohr f2918f9e9e CompareStringW returned wrong results sometimes. 2000-11-25 01:25:16 +00:00
Uwe Bonnes 6dfaf18285 GetDateFormatA: Check range and recalculate wDayOfWeek.
OLE_GetFormatA|W: Fix transformation of wDayOfWeek to
LOCALE_S(ABBREV)DAYNAMEx.
2000-10-02 03:40:15 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Dimitrie O. Paun b2628e5278 Use the system local time if lpTime=NULL. 2000-09-16 20:44:19 +00:00
Dmitry Timoshkov 56f8e274c7 Added new language detection scheme that uses NLS data base instead of
hard coded values.
2000-08-20 03:39:41 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Hidenori Takeshima 5ec92ada17 Fix for calling ctype functions with Unicode characters. 2000-08-06 03:36:35 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Dmitry Timoshkov a0f0138c2a LOCALE_NOUSEROVERRIDE means: do not get user redefined settings from
the registry. Instead, use system default values.
2000-08-03 00:24:33 +00:00
Dmitry Timoshkov f1fd89db42 FindResourceExA/W should search for the specified language resource only.
FindResourceA/W should search for any language resource.
2000-07-29 00:01:57 +00:00
Alexandre Julliard ce4784d8a5 Made --language behave the same as setting the LANGUAGE environment
variable.
2000-07-15 19:59:10 +00:00
Dmitry Timoshkov 961053fd2f Moved all NLS dependent data to the KERNEL resources. 2000-07-10 13:11:27 +00:00
Bertho Stultiens 8dd8d30b7d Commented out IsBadWritePtr check. Makes winhlp32.exe happy in
extended search.
2000-06-13 03:37:31 +00:00
Alexandre Julliard 5ea22474bb Use the Unicode string functions from wine/unicode.h instead of the
crtdll ones.
2000-06-13 01:10:29 +00:00