Commit Graph

944 Commits

Author SHA1 Message Date
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
Marcus Meissner
debd7d36d0 msvcrt: Implement findfirst64 and findnext64. 2010-04-15 16:26:55 +02:00
Alexandre Julliard
4f3b7f8445 msvcrt: Implement _invalid_parameter and fix the handler definitions. 2010-04-14 18:00:46 +02:00
Alexandre Julliard
a1e99f544b msvcrt: Implement support for version 4 exception tables. 2010-04-14 18:00:46 +02:00
Alexandre Julliard
5807b5e55c msvcrt: Add support for VC7 and VC8 extensions to the C++ exception handler. 2010-04-13 17:21:06 +02:00
Alexandre Julliard
300978283a msvcrt: Implement the missing exception constructor functions. 2010-04-13 17:19:27 +02:00
Alexandre Julliard
bcf1ef3c90 msvcrt: Make a few more exception handling functions i386-specific. 2010-04-12 17:52:37 +02:00
Piotr Caban
8fc18b6b48 msvcrt: Added memmove_s and memcpy_s implementation. 2010-04-12 17:48:21 +02:00
Alexandre Julliard
11f10c6f05 msvcrt: Implemented setjmp for x86_64. 2010-04-10 11:47:55 +02:00
Piotr Caban
903c524d43 msvcrt: Added _iswalpha_l implementation. 2010-04-08 12:38:56 +02:00
Piotr Caban
7a1ff50ddc msvcrt: Added implemenatation of _create_locale and _free_locale. 2010-04-08 12:38:49 +02:00
Alexandre Julliard
da840f57e5 msvcrt: Fix an unused variable warning. 2010-04-07 14:25:19 +02:00
Piotr Caban
bfd0866be8 msvcrt: Added implementation of _controlfp_s. 2010-04-01 18:12:58 +02:00
Piotr Caban
abb746002b msvcrt: Fix _get/_set_invalid_parameter_handler implementation. 2010-04-01 18:12:58 +02:00
Piotr Caban
f377e4be6b msvcrt: Move invalid parameter tests to msvcr90. 2010-04-01 18:12:58 +02:00
Piotr Caban
9a8fe9679b msvcrt: Added _strtoui64 implementation. 2010-03-29 15:50:21 +02:00
Piotr Caban
585ea9cdd8 msvcrt: Added _strtoi64 implementation. 2010-03-29 15:50:20 +02:00
Piotr Caban
8c954c0957 msvcrt: Avoid using localtime_r. 2010-03-29 15:50:20 +02:00
Piotr Caban
8a57f501c8 msvcrt: Avoid using scalb function. 2010-03-29 15:50:19 +02:00
Piotr Caban
b90320652d msvcrt: Rename functions conflicting with mingw headers. 2010-03-29 15:50:19 +02:00
Piotr Caban
254eab3827 msvcr90: Added _get/set_invalid_parameter_handler implementation. 2010-03-25 16:46:56 +01:00
Piotr Caban
c7aba97338 msvcrt: Added strnlen implementation. 2010-03-25 09:46:36 +01:00
Piotr Caban
bf12864271 msvcrt: Update msvcrt.spec. 2010-03-25 09:46:14 +01:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
David Hedberg
4148ac0ab5 msvcrt: Implement _mbctombb. 2010-02-24 15:12:30 +01:00
David Hedberg
30f6dc9510 msvcrt: Implement _ismbclegal. 2010-02-23 12:09:45 +01:00
David Hedberg
85cc5dd1b2 msvcrt: Add trail bytes info for codepage 1361. 2010-02-23 12:09:33 +01:00
Alexandre Julliard
6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard
ba7cbccfcb msvcrt/tests: Avoid size_t in a trace. 2010-02-16 15:50:32 +01:00
Maarten Lankhorst
ffc100c58f msvcrt: Forward _ftol2 to ntdll._ftol. 2010-02-04 15:04:22 +01:00
Uwe Bonnes
0d16965832 msvcrt: read_i should pull in LF after CR only in unbuffered mode. 2010-01-28 15:30:26 +01:00
Uwe Bonnes
92ac665d37 msvcrt: Check for EOF before correcting CR/LF. 2010-01-28 15:30:26 +01:00
André Hentschel
13e8505e58 msvcrt: Fix typo. 2010-01-19 16:50:26 +01:00
Uwe Bonnes
e6f1ae029e msvcrt: Handle CR at buffer boundary and test case. 2010-01-18 15:32:53 +01:00
Uwe Bonnes
d95c857a4f msvcrt: xxopen() accepts spaces in the mode string. 2010-01-18 14:36:43 +01:00
André Hentschel
152c0d4b93 msvcrt/tests: Add some demangle tests. 2010-01-18 14:35:08 +01:00
Andrew Nguyen
841fc1805e msvcrt: Implement and test rand_s. 2010-01-18 14:30:00 +01:00
André Hentschel
a657380612 msvcrt: Forward __C_specific_handler to ntdll. 2010-01-18 14:16:04 +01:00
Jeff Zaroyko
c2459deeff msvcrt: Check if argument passed to _dup2 is positive. 2010-01-14 09:41:43 -06:00
Jeff Zaroyko
f4e5ab4892 msvcrt/tests: Test _dup2 for failure when second arg is negative. 2010-01-14 09:41:30 -06:00
Uwe Bonnes
5926277473 msvcrt: In unbuffered text mode reading \r\n with fgetc fails. 2010-01-11 13:39:54 -06:00
Jason Edmeades
97194ec070 msvcrt: Add support for sprintf_s. 2010-01-11 12:19:34 -06:00
Jason Edmeades
a2d4e5cb5d msvcrt: Add support for vsprintf_s. 2010-01-11 12:19:30 -06:00
Rob Shearman
c20868e0a2 msvcrt: Free memory allocated in TLS slot on module unload as well as thread exit. 2009-12-14 16:14:39 +01:00
Alexandre Julliard
da9bc130c6 msvcrt/tests: Fix the signal handler calling convention. 2009-12-09 12:04:41 +01:00
Nikolay Sivov
e5e17ca438 msvcrt/tests: Free temporary file name after test. 2009-12-07 14:18:27 +01:00
Marcus Meissner
4da51e087d msvcrt: Remove unnecessary NULL check (Coverity). 2009-12-04 14:34:58 +01:00
Peter Rosin
f79cd33fc4 msvcrt: Handle the SIGBREAK signal. 2009-12-03 10:14:44 +01:00
Peter Rosin
83ec2f4f04 msvcrt: Add test to check if signal(SIGBREAK, ...) works (todo_wine). 2009-12-03 10:14:31 +01:00
Andrew Nguyen
be21b3dfa7 msvcrt: Forward _ftol2_sse to ntdll._ftol. 2009-11-24 15:53:37 +01:00
Gregor Schneider
2043035e17 msvcrt: Calculate floating point decimals in internally used long double precision. 2009-11-24 15:53:36 +01:00
Alexandre Julliard
7f69436ea8 include: Specify explicit alignment for __int64 types. 2009-11-21 14:31:45 +01:00
Eric Pouech
d568c2ac56 mscvrt: Fix some undname quirks (space at the end of multi-level templates). 2009-11-18 11:09:34 +01:00
Andrew Nguyen
1eb0775670 msvcrt: Implement and test _wcsupr_s. 2009-11-16 17:06:16 +01:00
Eric Pouech
6fab1e86f3 msvcrt: In undname functions, no longer use a fixed-size array for storing internal information. 2009-11-16 13:47:22 +01:00
Eric Pouech
c65106e1d5 msvcrt: In undname helpers, allow str_array_push to return errors (instead of asserting). 2009-11-16 13:44:15 +01:00
André Hentschel
fbe6b57b74 msvcrt: Do not overlap in strcpy (Valgrind). 2009-11-04 12:22:23 +01:00
Alexandre Julliard
1f4febdb55 msvcrt: Implement __lconv_init. 2009-10-22 22:26:45 +02:00
Michael Stefaniuc
5ca700713d msvcrt/tests: Use LONG instead of long. 2009-10-08 12:17:30 +02:00
Alexandre Julliard
5af33ee06f msvcrt: Use strict function prototypes. 2009-10-06 16:12:39 +02:00
Eric Pouech
dcf68254bd msvcrt: Added __uncaught_exception support. 2009-10-05 14:56:19 +02:00
Alexandre Julliard
7c15ae127c msvcrt: Add an MSVCRT prefix to _wenviron. 2009-10-05 14:55:09 +02:00
Alexandre Julliard
da2db26dec msvcrt/tests: Add tests for the handle inheritance block.
Based on a patch by André Hentschel.
2009-09-10 15:29:35 +02:00
Alexandre Julliard
ded81aebc7 msvcrt: Add validity checks on the size of the handle inheritance block. 2009-09-10 15:29:04 +02:00
Ge van Geldorp
d24a5a74b1 msvcrt/tests: Add acceptable error codes for W2K8+. 2009-09-02 15:47:45 +02:00
Alexandre Julliard
835928720b msvcrt: Fix the strtol/strtoul definitions. 2009-09-01 22:34:50 +02:00
Eric Pouech
9eca2f81dc msvcrt: Correctly handle the error cases in strtol and strtoul. 2009-09-01 12:43:24 +02:00
Alexandre Julliard
f2b3df6371 msvcrt: The floating point adjust functions only make sense on i386. 2009-08-24 15:17:33 +02:00
Andrew Nguyen
15b0087d6e msvcrt: Remove dead code in wcscpy_s. 2009-08-10 13:11:02 +02:00
Alexandre Julliard
b5d86403a4 msvcrt: Add an errno mapping for ERROR_SHARING_VIOLATION. 2009-07-14 12:18:15 +02:00
Alexandre Julliard
0cb406ef29 msvcrt: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Alexandre Julliard
2b012c9886 msvcrt: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:41:51 +02:00
Michael Stefaniuc
109f83614f msvcrt: Avoid using size_t when not neededed. 2009-05-27 15:40:18 +02:00
Michael Stefaniuc
5f0fb8350f msvcrt: Replace size_t with MSVCRT_size_t. 2009-05-27 15:39:57 +02:00
Alexandre Julliard
82f175e9b5 msvcrt: Replace long by MSVCRT_long. 2009-05-23 11:57:39 +02:00
Alexandre Julliard
7e082f6608 msvcrt/tests: Make all msvcrt function pointers cdecl. 2009-05-23 11:57:38 +02:00
Alexandre Julliard
ac760a47f3 msvcrt: Fix the stat and finddata structures for 64-bit. 2009-05-23 11:57:12 +02:00
Alexandre Julliard
4a7b3460ef msvcrt: Add explicit 32- and 64-bit versions of the utime functions. 2009-05-23 11:12:17 +02:00
Alexandre Julliard
8408e3a955 msvcrt: Add explicit 32- and 64-bit versions of the time functions. 2009-05-23 11:12:12 +02:00
Alexandre Julliard
1c66fab80a msvcrt/tests: Use the _winver etc. variables instead of the __p_ functions that don't exist on 64-bit. 2009-05-20 17:47:43 +02:00
Austin English
b7b28159c9 msvcrt/tests: Sign compare fixes. 2009-05-11 12:47:59 +02:00
Rein Klazes
b12c46be4a msvcrt/tests: Add some tests for strtok(). 2009-04-22 13:13:38 +02:00
Rein Klazes
ed20ac877c msvcrt: Do not set the windows version to 0.5. 2009-04-20 17:29:26 +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
Rein Klazes
1ab5f4191d msvcrt: Correct implementation of _ecvt() with tests. 2009-04-14 14:50:07 -05:00
Alexandre Julliard
3a195139c2 msvcrt: Fix scanf to correctly parse pointers on 64-bit. 2009-04-06 20:58:10 +02:00
Hans Leidekker
c3f6668f33 msvcrt: Add tests for _vscprintf and _vscwprintf. 2009-03-26 16:13:18 +01:00
Hans Leidekker
0803575fd3 msvcrt: Implement _vscprintf and _vscwprintf. 2009-03-26 16:12:15 +01:00
Francois Gouget
96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Juan M. Navarro
c9b40bff32 msvcrt/tests: Avoid size_t in printf format. 2009-02-18 15:03:30 +01:00
Alexandre Julliard
1c91d54503 msvcrt: Don't try to duplicate invalid handles. Don't reset std handles if we didn't set them. 2009-02-18 14:44:17 +01:00