Piotr Caban
68239a620c
msvcrt: Fix locale creation for multibyte encoding.
2011-03-31 18:09:27 +02:00
Andrew Nguyen
dd1b937287
msvcrt: Null terminate the temporary locale buffer in _create_locale.
...
Spotted with Valgrind.
2011-01-17 15:57:16 +01:00
Alexandre Julliard
c5e88a3a69
msvcrt: Use the correct strdup function for locale data.
2010-06-28 11:45:01 +02:00
Piotr Caban
c0637edda2
msvcrt: Added __crtLCMapStringW partial implementation.
2010-06-22 13:51:30 +02:00
Nikolay Sivov
90013af6f9
msvcrt: Fix __lconv_init() prototype.
2010-06-11 11:36:54 +02:00
Marcus Meissner
27a28bf29f
msvcrt: Check locale for NULL before freeing.
2010-05-21 18:58:05 +02:00
Piotr Caban
4134c57a91
msvcrt: Fix compilation error (x86_64-pc-mingw32).
2010-05-20 13:47:52 +02:00
Piotr Caban
130686cbfc
msvcrt: Fix synonym handling in setlocale/create_locale.
2010-05-10 10:09:21 +02:00
Piotr Caban
0697c5dc0e
msvcrt: Partial fix for setlocale/create_locale.
2010-05-10 10:09:09 +02:00
Piotr Caban
815840e972
msvcrt: Added btowc implementation.
2010-04-26 09:06:13 -05:00
Piotr Caban
8adfd63c21
msvcrt: Return correct strings in setlocale.
2010-04-19 15:12:02 +02:00
Piotr Caban
be5a6a03a6
msvcrt: Added implementation of __crtGetStringTypeW.
2010-04-19 15:11:14 +02:00
Piotr Caban
f11dfcb7a6
msvcrt: Fix multiple locales parsing in _create_locale.
2010-04-19 15:11:00 +02:00
Piotr Caban
f2f56d563f
msvcrt: Change localeconv implementation.
2010-04-16 12:37:18 +02:00
Alexandre Julliard
d4880b7a1f
msvcrt: Initialize exported common variables to fix the build on Mac OS.
2010-04-16 12:01:35 +02:00
Piotr Caban
d1fa8b64e4
msvcrt: Use per thread locale in many functions.
2010-04-15 16:51:47 +02:00
Piotr Caban
87dee43b0a
msvcrt: Make setlocale working with per thread locales.
2010-04-15 16:51:46 +02:00
Piotr Caban
5efff16413
msvcrt: Added multiple locales parsing to _create_locale.
2010-04-15 16:51:46 +02:00
Piotr Caban
6ad7b4ff5c
msvcrt: Move locale string interpretation to MSVCRT_locale_to_LCID.
2010-04-15 16:51:46 +02:00
Piotr Caban
20b77f4428
msvcrt: Added _configthreadlocale implementation.
2010-04-15 16:51:45 +02:00
Piotr Caban
59c2201a9c
msvcrt: Add helper function that returns current locale.
2010-04-15 16:51:45 +02:00
Piotr Caban
d58b385b38
msvcrt: Change implementation of setlocale.
2010-04-15 16:51:45 +02:00
Piotr Caban
10023a15d6
msvcrt: Change _create_locale implementation so generated structure is easier to modify.
2010-04-15 16:51:44 +02:00
Piotr Caban
7a1ff50ddc
msvcrt: Added implemenatation of _create_locale and _free_locale.
2010-04-08 12:38:49 +02:00
André Hentschel
13e8505e58
msvcrt: Fix typo.
2010-01-19 16:50:26 +01:00
Alexandre Julliard
1f4febdb55
msvcrt: Implement __lconv_init.
2009-10-22 22:26:45 +02:00
Michael Stefaniuc
109f83614f
msvcrt: Avoid using size_t when not neededed.
2009-05-27 15:40:18 +02:00
Hans Leidekker
4aec827b1e
msvcrt: Implement ___lc_codepage_func, ___lc_collate_cp_func and ___lc_handle_func.
2009-04-15 15:56:45 -05:00
Michael Stefaniuc
9d4c9a0cdd
msvcrt: Remove superfluous pointer casts.
2009-01-29 14:06:15 +01:00
Alexandre Julliard
b19913ac70
msvcrt: Add a few more *_func functions to replace the __p_* ones.
2008-12-15 16:03:32 +01:00
Alexandre Julliard
7a6c6747a9
msvcrt: Don't include msvcrt headers, instead duplicate the definitions in msvcrt.h.
2008-12-12 10:19:55 +01:00
Rob Shearman
d7ca73ce80
msvcrt: Fix testing zero-valued expression with bitwise and in find_best_locale_proc.
...
The check should be for all of the flags being set instead.
2008-09-23 16:00:05 +02:00
Alexandre Julliard
9c29dbd987
Avoid exporting common symbols since that's broken on Mac OS X.
2008-07-21 14:47:55 +02:00
Alexandre Julliard
fcae6777a4
msvcrt: Added implementation of a few more __crt functions.
2007-09-19 17:53:06 +02:00
Mikolaj Zalewski
ea824f830f
msvcrt: Fill _mbctype table in _setmbcp.
2007-08-21 12:59:56 +02:00
Alexandre Julliard
6f9ad1b981
msvcrt: Export various locale and codepage variables.
2007-01-16 12:08:59 +01:00
Dmitry Timoshkov
ffa84441c8
msvcrt: Make some data const.
2006-12-14 20:11:31 +01:00
Alexandre Julliard
ec7f2f8802
msvcrt: Use LOCALE_USER_DEFAULT to get the proper codepage for the Unix locale.
2006-12-08 12:56:17 +01:00
Michael Stefaniuc
6520ee04c8
msvcrt: Win64 printf format warning fixes.
2006-10-04 09:58:47 +02:00
Alexandre Julliard
429cd9e817
msvcrt: Avoid including system headers in msvcrt.h.
2006-07-10 11:54:10 +02:00
Alexandre Julliard
24beabfd4e
msvcrt: Explicitly specify CDECL calling convention on exported functions.
2006-06-13 11:40:23 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Mike McCormack
d16c72dea5
msvcrt: Add a stub for _wsetlocale.
2006-02-28 12:02:13 +01:00
Rein Klazes
f0af162aa3
Fix bogus unreal code page messages in _setmbcp().
2005-11-21 13:34:37 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Vijay Kiran Kamuju
f58eed36ff
Fix _setmbcp behavior for unreal codepages.
2005-07-11 14:21:53 +00:00
Alexandre Julliard
dcad0864bb
Fix duplication of _Getnames and _Gettnames, only the latter actually
...
exists.
2005-06-22 18:07:31 +00:00
Peter Berg Larsen
6e3bcb5a54
Replace strncpy with memcpy or lstrcpyn.
2005-04-18 10:30:55 +00:00
Bill Medland
2ea15a5673
Don't mess up the msvcrt codepage on e.g. _MB_CP_ANSI.
2004-11-21 15:42:03 +00:00
Alexandre Julliard
1b30417811
Function parameters don't need WINE_UNUSED.
2004-09-01 04:58:21 +00:00
Dimitrie O. Paun
0377462460
Split the MSVCRT implementation headers from the public headers.
...
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Alexandre Julliard
dec198afe0
Implemented the remaining 64-bit file functions, and added a few other
...
functions and exported variables.
Removed the almost empty lconv.c file.
2004-01-13 05:45:05 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +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
Alexandre Julliard
f93256a56c
Warning fixes.
2003-08-06 22:08:04 +00:00
Martin Fuchs
fb9d5c786f
Stub implementation for _Gettnames.
2003-06-06 18:11:23 +00:00
Marcus Meissner
960b6dcebf
Implemented localeconv() with libc function.
2003-06-04 20:24:56 +00:00
Marcus Meissner
5e71f2d536
Fix warning in __crtLCMapStringA.
2003-02-12 21:28:47 +00:00
Marcus Meissner
1998beaeef
Implemented __crtLCMapStringA.
2003-02-11 22:11:17 +00:00
Alexandre Julliard
435e2e63f4
winnt.h should not be self-contained, it must depend on windef.h so
...
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +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
Peter Hunnisett
d1a79ea2eb
Add _lock,_unlock and header file for them.
...
Convert all msvcrt locks over to use _lock and _unlock.
Explicitly make msvcrt compile with multithreaded option.
Fix flag handling in _sopen. Add W->A call for new _swopen.
2002-02-21 20:22:00 +00:00
Alexandre Julliard
bd1689ec0a
Don't include debugtools.h in the header file, moved it to the C files
...
that need it (and used the new wine/debug.h while we are at it).
2002-01-22 00:57:16 +00:00
Francois Gouget
141039a54c
Move the RT_XXX macros to winuser.h.
...
winuser.h: Add support for NOGDI.
winuser.h: Modify to allow compilation without wingdi.h.
2001-10-10 02:51:24 +00:00
Francois Gouget
433430ae96
Add msvcrt/locale.h.
...
Add missing include directives in msvcrt/wchar.h.
Fix prototype of _wstati64 in msvcrt/sys/stat.h.
2001-09-19 20:29:33 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Francois Gouget
e76218dd61
Add '\n' at the end of traces.
2001-05-09 17:31:31 +00:00
Francois Gouget
e7f75c5dfb
Include the msvcrt headers, remove duplicate definitions.
...
Fixed the signature of a few functions.
Don't use wcs* functions, use *W (from unicode.h) instead.
2001-04-10 23:25:25 +00:00
Francois Gouget
203a8f8290
Adjust the 'MSVCRT_' prefix to match the msvcrt headers
...
Prefix internal methods with 'msvcrt_' instead of 'MSVCRT_', '__MSVCRT_', etc.
Remove '_cdecl', it's unnecessary
2001-04-10 21:16:07 +00:00
Jon Griffiths
34c786b2db
- New msvcrt unicode functions, winapi_check/-Wall/-W clean.
...
- Forward to ntdll where possible.
- Fix some .spec entries with incorrect parameters.
2001-01-22 02:21:54 +00:00
Jon Griffiths
a91a28cf5a
Fixes as a result of testing builtin crtdll against builtin msvcrt.
2001-01-12 19:56:22 +00:00
Jon Griffiths
1db20bfd33
- Migrate CRTDLL to MSVCRT.
...
- Many fixes and a load of new functions.
2001-01-10 23:59:25 +00:00