Phil Krylov
6618b0355c
Added detection of platforms which don't have external timezone and
...
daylight variables, and emulation of these variables.
2005-05-24 11:52:46 +00:00
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
Rein Klazes
dceae02d73
- RtlTimeFieldsToTime should not normalize the time fields
...
structure. Instead return error when it is given an unormalized
date.
- Use better algorithms for RtlTimeToTimeFields and
RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster.
- Add tests for RtlTimeFieldsToTime.
- SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users
of SystemTimeToFileTime must do likewise.
- Remove a todo_wine from SystemTimeToFileTime tests.
- Since msvcrt.mktime must accept unnormalized dates, it cannot use
SystemTimeToFileTime and do the calculations itself.
- Add some tests for mktime accepting unnormalized dates.
2004-11-06 03:53:53 +00:00
Rein Klazes
2fc0f991d8
In MSVCRT_localtime() return tm_isdst = 0 when there are no daylight
...
time changes in the local time zone.
2004-10-27 21:17:44 +00:00
Rein Klazes
4ca34c4b2f
Correctly use the returned value from GetTimeZoneInformation.
2004-10-25 21:48:57 +00:00
Rein Klazes
dc78e9a595
- mktime should compute the tm_wday, tm_yday and renormalize the
...
other fields of the supplied tm structure.
- add prototype declarations for the time functions.
2004-10-21 19:56:46 +00:00
Uwe Bonnes
46e922bba5
Added MSVCRT_CLOCKS_PER_SEC define.
2004-09-08 19:05:28 +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
Uwe Bonnes
1c6cb382bc
Correct errors with move to kernel time functions.
...
Add test case.
2004-03-25 00:12:40 +00:00
Hans Leidekker
3f09feda6e
Reimplement time functions with Win32 APIs.
...
Implement localtime()/gmtime().
2004-03-19 01:16:59 +00:00
Hans Leidekker
6ee09f5d56
Implement _ftime with Win32 APIs.
2004-03-11 00:43:47 +00:00
Marcus Meissner
dbcbbe0211
Added _daylight stub int, and __p__daylight function.
2003-03-04 02:19:15 +00:00
Patrik Stridvall
57bf45067a
MSVC compatibility fixes.
2002-08-26 21:53:24 +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
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
François Gouget
d1d07fb801
mktime must normalize the struct tm fields.
2001-12-05 22:08:46 +00:00
Gerard Patel
3953614bbd
- implement mbscspn mostly as a stub
...
- reimplement mktime
2001-11-12 15:47:26 +00:00
Francois Gouget
45e7a846bf
We must not free the pointer returned by localtime (especially not
...
with MSVCRT_free!).
We no longer need to include stdlib.h.
2001-04-23 18:22:33 +00:00
Gerald Pfeifer
ab02c2bdc9
Fixed MSVCRT_clock return type.
2001-04-16 18:54: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
1db20bfd33
- Migrate CRTDLL to MSVCRT.
...
- Many fixes and a load of new functions.
2001-01-10 23:59:25 +00:00