Commit Graph

98 Commits

Author SHA1 Message Date
Juan Lang 7bf1ee877d - move _timezone to time.c, and correct its type
- implement _tzset, and initialize _daylight, _timezone, and _tzname
  from libc values
2005-05-14 11:07:10 +00:00
Juan Lang 576aa4a6d8 Export _tzname, expected by Mozilla. 2005-04-23 19:06:29 +00:00
Mike McCormack 2cc5f1e469 Add handling of %ws, %S and %C to _vns(w)printf, improve sprintf
tests.
2005-02-14 20:53:42 +00:00
Rein Klazes 03d9cf286e - implement __pioinfo, __badioinfo and _adjust_fdiv
- remove all stubs of data item from the spec file, those actually may
  hide problems.
2004-12-10 15:28:25 +00:00
Juan Lang 1e23777ae5 - implement _dup, _dup2, and _pipe
- make max file descriptors 2048 to match MS
- increase max file streams to match
2004-12-09 16:51:26 +00:00
Hans Leidekker 9ec800fd6d Prefix _fsopen with MSVCRT_ to avoid collision with MinGW header.
Typo fix.
2004-10-14 00:26:39 +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
Mike McCormack db0d0bb39b Copy the vsnprintfW implementation from libunicode.so to msvcrt and
add a handler for the %S flag.  That requires a conversion to unicode
and knowledge of the current ASCII code page.
2004-06-02 00:35:09 +00:00
Alexandre Julliard 8f7c2bc6a5 Fixed the prototypes of the _adj_fdiv_* functions. 2004-05-12 23:22:36 +00:00
Rein Klazes 4d6db9a6e7 The name is _longjmpex (with the underscore). 2004-03-24 23:38:16 +00:00
Uwe Bonnes 9c6774f18a Relay msvcrt_memcpy to memmove, CString::Insert seems to rely on that
behaviour. Add a test case.
2004-03-19 01:53:11 +00:00
Hans Leidekker 3f09feda6e Reimplement time functions with Win32 APIs.
Implement localtime()/gmtime().
2004-03-19 01:16:59 +00:00
Hans Leidekker 821f4775a3 - Prefix many more functions, types, structs, etc. with MSVCRT_.
- Correct prototypes for _memccpy()/_memicmp().
- "define before use" reordering in file.c.
- Use the new math.h/float.h.
2004-03-16 19:17:11 +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
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
Kirill Smelkov 676164cc39 Added _execle/_execlpe & _spawnle/_spawnlpe stubs. 2003-11-14 03:29:51 +00:00
Jon Griffiths d051a95b26 A first stab at wcstod(). 2003-09-23 22:50:30 +00:00
Dimitrie O. Paun 00e5ccfa17 Stub out the _[w]popen/_pclose() functions. 2003-08-20 03:34:20 +00:00
Alexandre Julliard 9b8a0595bc _ftol should return a 64-bit int (spotted by Jon Griffiths). 2003-08-19 01:03:08 +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
Mike McCormack 0bfa31ee6f Implemented _wfullpath. 2003-05-12 03:31:16 +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
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
Jon Griffiths 57915f50c7 Implemented __p__pgmptr, _pgmptr. 2003-03-15 19:38:39 +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
Michael Stefaniuc 909ffb7930 Implemented _mbsnbcat. 2003-02-14 23:26:58 +00:00
Marcus Meissner 1998beaeef Implemented __crtLCMapStringA. 2003-02-11 22:11:17 +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
Dimitrie O. Paun 13098ea188 Create stubs for chsize, dup, and dup2. 2003-01-11 21:01:04 +00:00
Patrik Stridvall 46304a7361 Fixed some issues found by winapi_check. 2003-01-02 19:28:09 +00:00
Alexandre Julliard 72e1c64345 Added list of symbols to ignore by default in winebuild.
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
Stefan Leichter a5d7fbfb10 Converted implementation of _lseek to _lseeki64, implemented _lseek by
calling _lseeki64.
2002-11-25 20:50:01 +00:00
Stefan Leichter b88a9d5399 Converted implementation of _stat and _fstat to _stati64 and
_fstati64.
Implemented _stat/_fstat by calling _stati64/_fstati64.
2002-11-25 02:44:34 +00:00
Alexandre Julliard 910aebbc8e Removed -noimport on functions that are forwards to ntdll.
Added -noimport on functions that directly call the libc equivalent.
2002-11-20 19:52:14 +00:00
Alexandre Julliard 083b0beb0b Implemented some ismbc* functions (based on a patch by Greg Turner). 2002-11-19 00:52:38 +00:00
Alberto Massari 43662153c0 The already implemented function swscanf was missing an entry. 2002-11-12 23:20:31 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Marcus Meissner 306a60d162 _seh_longjmp_unwind is i386 only for now. 2002-10-31 22:04:53 +00:00
Alexandre Julliard acea9d12eb Implemented _seh_longjmp_unwind. 2002-10-16 18:59:38 +00:00