Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Uwe Bonnes
0511d33522
Implement I64 modifier, move WARN to TRACE.
2004-02-24 01:09:39 +00:00
Alexandre Julliard
c042e13ef6
Fixed varargs handling in the scanf functions (spotted by Eric
...
Pouech).
2004-02-19 01:13:12 +00:00
Francois Gouget
ad5ff7ceeb
Assorted spelling and case fixes.
2004-02-09 22:07:42 +00:00
Alfons Hoogervorst
bfc4044511
Fix infinite loop in _flushall.
2004-02-09 20:49:34 +00:00
Jon Griffiths
f90092c4c6
Use Unicode calls instead of ASCII where applicable.
...
Documentation updates.
2004-02-09 20:45:59 +00:00
Francois Gouget
231fbff8d0
Add trailing '\n's to ok() calls.
2004-01-27 04:01:10 +00:00
Rein Klazes
950da26b98
Two "unknown" parameters of _unDName() turn out to be the output
...
string and it length. If possible, use these instead of allocating a
new one. Put the code in _unDNameEx() and call that from _unDName().
2004-01-13 22:56:59 +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
83883e1730
_set_error_mode is cdecl not stdcall.
2004-01-13 01:08:59 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Peter Berg Larsen
a457ee0a3d
%[a-z] and %[z-a] are interpreted as equivalent to %[abcde...z].
...
Added some scanf tests.
2004-01-06 21:36:10 +00:00
Peter Berg Larsen
ccd749684f
Added _BITMAPSIZE_ and split _CONVERT_ macro to remove #ifdefs.
2004-01-06 20:38:37 +00:00
Ferenc Wagner
d8e98d3a0a
Fix undeleted temporary file.
...
Correct error messages and comments, break long lines.
2003-12-30 19:09:08 +00:00
Uwe Bonnes
545a3b7118
Patch and test for scanf %i.
2003-12-15 21:06:19 +00:00
Ferenc Wagner
20c1d1e0f9
Added snprintf test.
2003-12-15 19:50:05 +00:00
Alexandre Julliard
f752be843e
Implement some more register functions using DEFINE_REGS_ENTRYPOINT to
...
make them available for imports.
2003-12-04 05:51:01 +00:00
Alexandre Julliard
0b19a6f7bc
Better support for div and ldiv in Winelib apps.
2003-11-28 23:17:28 +00:00
Dimitrie O. Paun
c5150fb682
Fix realloc() to match the documented behaviour.
...
Add a few simple tests for it.
2003-11-20 23:41:13 +00:00
Kirill Smelkov
676164cc39
Added _execle/_execlpe & _spawnle/_spawnlpe stubs.
2003-11-14 03:29:51 +00:00
Ulrich Czekalla
736d96b5b3
Duplicate stdin/stdout handles to avoid closing them when library is
...
unloaded.
2003-10-31 04:17:45 +00:00
Pierre d'Herbemont
d3ab533eb3
Fixed _wfullpath prototype.
2003-10-28 21:13:13 +00:00
Uwe Bonnes
16c3f341f9
Another difference in the printf family.
2003-10-28 00:04:42 +00:00
Uwe Bonnes
c23a9257f0
Added a test case for sprintf.
2003-10-24 04:24:08 +00:00
Pavel Roskin
6d6d06a8dc
Make MSVCRT__sopen() complain louder about unknown oflags, but not
...
about _O_WRONLY.
MSVCRT_fopen() should pass third argument to _open() because it may
set _O_CREAT.
2003-10-24 04:21:09 +00:00
Pavel Roskin
fac7e78a18
Added test for tmpnam().
2003-10-24 00:24:08 +00:00
Pavel Roskin
9661d05b4e
MSVCRT_tmpnam(): complete rewrite. Use the same names as the native
...
version. Use the caller-supplied buffer if possible.
2003-10-24 00:23:51 +00:00
Dave Belanger
2c39191ef1
Fix splitpath and wsplitpath for the file extension.
2003-10-21 23:51:06 +00:00
Gerald Pfeifer
ea469ad7fd
Remove unused variables EXE, BAT, CMD, and COM.
2003-10-21 23:49:36 +00:00
Rolf Kalbermatter
76f13deb26
Use INVALID_FILE_ATTRIBUTES to test for failure of
...
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Daniel Marmier
f95be92d24
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-15 03:35:54 +00:00
Alexandre Julliard
2937826866
Rewrote splitpath and wsplitpath to avoid modifying the path
...
separators.
2003-10-15 02:34:51 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Uwe Bonnes
78754341db
Added test for %n.
2003-10-10 00:00:35 +00:00
Uwe Bonnes
242beda8d2
%n returns the number of consumed characters.
2003-10-10 00:00:19 +00:00
Uwe Bonnes
3e83ec296e
Added some tests around fget(w)s.
2003-10-07 05:30:36 +00:00
Uwe Bonnes
7b8b62e61a
fget(w)s(): Don't drop characters when buffer is not large enough.
2003-10-07 05:22:04 +00:00
Uwe Bonnes
16fa009085
_write(): Don't fragment WriteFile() for TEXT mode write.
2003-10-07 04:01:28 +00:00
Uwe Bonnes
6fbcacbb92
_read(): In _O_TEXT mode make Readfile calls in chunks as big as
...
possible.
2003-10-07 03:33:58 +00:00
Uwe Bonnes
32f47b0648
MSVCRT___RTDynamicCast: Reject a NULL cppobj.
2003-10-06 21:10:44 +00:00
Daniel Marmier
a613de2a22
Use #ifdef instead of #if for all feature tests.
...
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Alexandre Julliard
2470af6213
_tempnam and _wtempnam should not create the temp file (reported by
...
Wim Vanderbauwhede).
2003-09-27 02:45:39 +00:00
Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Alexandre Julliard
b48d812433
Rewrote getenv and _wgetenv to avoid returning a pointer to a freed
...
memory block.
2003-09-24 18:57:28 +00:00
Jon Griffiths
0b2d44ed53
Added tests for cpp objects/RTTI.
2003-09-24 18:49:45 +00:00
Jon Griffiths
d051a95b26
A first stab at wcstod().
2003-09-23 22:50:30 +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
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
b91e9cb3e6
Renamed a few more TEB fields.
2003-08-28 03:44:41 +00:00
Alexandre Julliard
ee106783d0
Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
...
seems to be the official name.
2003-08-28 03:07:56 +00:00
Dimitrie O. Paun
00e5ccfa17
Stub out the _[w]popen/_pclose() functions.
2003-08-20 03:34:20 +00:00
Jon Griffiths
743b61e63a
Use exception as the base for all exception derived classes.
...
Implement type_info methods correctly.
Add static RTTI for exported objects.
Throw exceptions when run time casts fail.
2003-08-19 03:12:32 +00:00
Alexandre Julliard
9b8a0595bc
_ftol should return a 64-bit int (spotted by Jon Griffiths).
2003-08-19 01:03:08 +00:00
Alexandre Julliard
f93256a56c
Warning fixes.
2003-08-06 22:08:04 +00:00
André Johansen
70d1136ca7
Added a dummy implementation of the _set_error_mode() function.
2003-07-28 19:04:47 +00:00
Jon Griffiths
622a343e9f
Implement __p__wpgmptr, _wpgmptr.
...
Avoid using static storage for pgm pointers.
2003-07-18 22:54:47 +00:00
Alexandre Julliard
cf4e5d4eea
Added an assembly wrapper to retrieve the this pointer from %ecx for
...
_thiscall functions.
Fixed some bugs, and added a few missing functions.
2003-06-17 03:59:24 +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
Uwe Bonnes
29c7e32f83
Fix some sscanf cases and testcase to get wxtide32.exe running.
2003-05-13 23:38:46 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00
Francois Gouget
2ec955c93f
Change the #include order so the test compiles with the MSVC headers.
...
Fix a few signed/unsigned warnings.
2003-05-13 00:29:34 +00:00
Mike McCormack
0bfa31ee6f
Implemented _wfullpath.
2003-05-12 03:31:16 +00:00
Adam Gundy
9ea3c2d3ee
_open_osfhandle is expected to take the absence of either _O_TEXT or
...
_O_BINARY to mean _O_BINARY.
2003-05-08 21:02:31 +00:00
Michael Stefaniuc
7d77d77d71
mbtowc returns -1 if we can't find a valid multibyte char in the non
...
NULL source string.
2003-04-17 02:15:03 +00:00
Andreas Mohr
51c38cc729
Fix blatantly wrong SetFilePointer() calls.
2003-04-14 21:33:49 +00:00
Adam Gundy
2f5e5f3d29
MSVCRT_fclose() mustn't use the _flag field from the file structure
...
after _close() has been called.
When _open_osfhandle() is used by MFC's CStdioFile, it expects write
access even though it doesn't set the necessary flag bit.
2003-03-30 03:06:30 +00:00
Sylvain Petreolle
79461420bf
_wsplitpath: Display correctly the path being split.
2003-03-27 18:35:12 +00:00
Alexandre Julliard
9612383678
Moved [efg]cvt functions to msvcrt and fixed them to use a per-thread
...
buffer.
2003-03-20 23:47:25 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Jon Griffiths
c62c1c0158
Add __CxxDetectRethrow(), __CxxQueryExceptionSize().
...
Constify parameters (enabling static RTTI).
Move type definitions into a header for sharing with cpp.c objects.
2003-03-18 18:26:05 +00:00
Jon Griffiths
9c2c288139
Move a couple of shared definitions into msvcrt.h.
...
init_vtables() is redundant with upcoming fixes to cxx functions.
2003-03-17 21:21:59 +00:00
Jon Griffiths
26a3968758
_EXIT_LOCK2 is used by type_info objects.
2003-03-17 21:21:34 +00:00
Alexandre Julliard
cf4f95326e
Fixed a couple of relay arguments, and updated some of the stub
...
comments.
2003-03-17 04:44:12 +00:00
Alexandre Julliard
a9c51cb60b
Replaced forwards by normal function declarations.
2003-03-17 00:17:00 +00:00
Alexandre Julliard
d354a1ca87
Implemented _getdllprocaddr(), it cannot be simply a forward to
...
GetProcAddress.
2003-03-17 00:05:44 +00:00
Alexandre Julliard
2c8a52ebad
Implemented _chkesp, based on a patch by Jon Griffiths.
2003-03-15 22:26:09 +00:00
Jon Griffiths
f5be136c58
Display abnormal exit text in a message box for GUI apps.
2003-03-15 22:25:01 +00:00
Jon Griffiths
57915f50c7
Implemented __p__pgmptr, _pgmptr.
2003-03-15 19:38:39 +00:00
Dmitry Timoshkov
ad068bc0c2
Move vsnwprintf implementation to libwine_unicode, export snprintfW
...
and vsnprintfW from there, forward MSVCRT and NTDLL functions to
libwine_unicode.
2003-03-12 22:30:16 +00:00
Thomas Mertes
657ca8a873
Forward to the ntdll functions _itoa, _ltoa, _ultoa, _i64toa,
...
_ui64toa, _itow, _ltow, _ultow, _i64tow, _ui64tow, _atoi64, _wtoi,
_wtol, _wtoi64 from msvcrt / msvcrt20.
2003-03-12 20:17:03 +00:00
Marcus Meissner
dbcbbe0211
Added _daylight stub int, and __p__daylight function.
2003-03-04 02:19:15 +00:00
Uwe Bonnes
f540ea642e
Rough implementation of _O_TEXT/_O_BINARY translation by doing single
...
byte read/writes in _O_TEXT mode and CR/LR handling.
fput/getwc must read multibyte characters in _O_TEXT.
Added test cases for _O_TEXT/_O_BINARY file handling and fgetws.
2003-02-19 22:09:33 +00:00
Warren Baird
586808fdf2
- Avoid possible seg fault when calling TRACE with NULL string pointers.
...
- Fix bad side-effect of makepath on input parameters.
2003-02-19 03:43:08 +00:00
Alexandre Julliard
ac13d2f47e
Print thread ids in traces with only 4 digits now that they are small
...
integers.
2003-02-18 23:29:47 +00:00
Michael Stefaniuc
909ffb7930
Implemented _mbsnbcat.
2003-02-14 23:26:58 +00:00
Marcus Meissner
5e71f2d536
Fix warning in __crtLCMapStringA.
2003-02-12 21:28:47 +00:00
Michael Stefaniuc
3dcd451bf6
Remove dead code after return or properly comment it out.
2003-02-12 01:23:17 +00:00
Marcus Meissner
1998beaeef
Implemented __crtLCMapStringA.
2003-02-11 22:11:17 +00:00
Alexandre Julliard
bb2210bc45
Store mbstok() next pointer in the per-thread data.
2003-02-01 00:59:22 +00:00
Michael Stefaniuc
d76455df74
Implemented _mbstok and _mbsnbset.
2003-02-01 00:45:22 +00:00
Marcus Meissner
af39862fe3
Implemented mbsicoll (without locale handling).
2003-01-31 03:20:25 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Alexandre Julliard
76db6b062e
Warning fixes.
2003-01-11 22:50:15 +00:00
Alexandre Julliard
a3717a2edd
Fixed EOF return value for sscanf.
2003-01-11 21:06:02 +00:00
Dimitrie O. Paun
13098ea188
Create stubs for chsize, dup, and dup2.
2003-01-11 21:01:04 +00:00
Mehmet Yasar
653510348a
- return EOF when stream is empty
...
- conformance test updated
2003-01-11 20:53:22 +00:00
Patrik Stridvall
46304a7361
Fixed some issues found by winapi_check.
2003-01-02 19:28:09 +00:00
Alexandre Julliard
7ea8a0b9be
Handle unknown format chars correctly (spotted by György 'Nog'
...
Jeney) and added test for it.
Removed unneeded _L_ macro.
2002-12-20 00:35:41 +00:00