Commit Graph

56 Commits

Author SHA1 Message Date
Alexander Yaworsky ed92345c0b Added NOVT timezone info. 2004-11-21 15:34:28 +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
Vitaly Lipatov 4c801af496 Added MSK timezone info. 2004-11-02 19:25:05 +00:00
Michael Jung 82297525b2 Added CET timezone info. 2004-11-02 05:28:01 +00:00
Roger Olson 3078222105 Add Pacific Standard Time (PST) to TZ_INFO. 2004-11-02 05:22:01 +00:00
Rein Klazes 149f70b369 Correct the calculation of the year for the 31'st of December of 2000
and every 400 years after that. Add a test used to find this bug.
2004-10-22 19:54:17 +00:00
Rein Klazes 62ec238792 Correct the calculation of the year for the 31'st of December of leap
years.
2004-10-21 19:57:00 +00:00
Rein Klazes c5c93d186e In RtlQueryTimezoneInformation use information from the registry if it
is available.
2004-10-18 21:19:28 +00:00
Filip Navara 63c6359fcc Add UTC to the time zone list. 2004-10-04 19:29:16 +00:00
Alexandre Julliard 25b23a0917 Avoid integer overflows in NTDLL_get_server_timeout (spotted by Mike
McCormack).
2004-09-07 23:01:34 +00:00
Uwe Bonnes d3499083d6 More defines for TZ_INFO. 2004-09-06 21:26:37 +00:00
Hans Leidekker a9b4a471a9 Fix signed/unsigned comparison warnings. 2004-08-13 23:53:44 +00:00
Alexandre Julliard 9aef0770a9 A couple of optimizations and bug fixes. 2004-04-02 20:28:07 +00:00
Rein Klazes 7568734411 Fix incorrect calculation of leap year in RtlTimeFieldsToTime(). 2004-04-02 19:28:53 +00:00
Alexandre Julliard 8548fc2947 Portability fixes. 2004-03-11 00:46:09 +00:00
Rein Klazes 5040309740 In TIME_GetBias make sure there is a cached value for daylight as
well.
2004-03-01 21:23:18 +00:00
Huw Davies 67e2d6cb4d Cache the result of TIME_GetBias for up to 1 second. 2004-02-27 00:43:20 +00:00
Huw Davies 64ed848712 Call TIME_GetBias rather than RtlQueryTimeZoneInfo if we're only
interested in the bias - it's faster.
2004-02-26 05:26:34 +00:00
Huw Davies f66af59989 Speed up RtlTimeFieldsToTime. 2004-02-25 01:25:00 +00:00
Huw Davies 166faa455d Speed up RtlTimeToTimeFields. 2004-02-24 01:01:27 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Gerald Pfeifer aa0f37940f Cast time_t parameters to fprintf(...,"%l",...) to long. 2003-10-02 04:29:30 +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
Jon Griffiths 08922859c6 Make RtlTimeToSecondsSince1970 consistent with other time calls.
Documentation fixes.
2003-08-19 00:56:34 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Alexandre Julliard 462172a3d6 Added abs_time_t structure to the server protocol, and added a dump
routine for it that displays the relative timeout to make timeout
values easier to interpret.
2003-04-02 22:48:59 +00:00
Alexandre Julliard fbef57c0ce Moved WaitForMultipleObjects to ntdll (based on a patch by Eric
Pouech).
Added NTDLL_get_server_timeout function to compute ntdll-style
timeouts and adapted the timer code to use it.
2003-03-31 01:37:04 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alexandre Julliard a16ed909c5 Implemented RtlTimeToElapsedTimeFields. 2002-12-18 02:31:33 +00:00
Alexandre Julliard dcc3afd259 Avoid casts between LARGE_INTEGER and FILETIME.
Fixed day of week of epoch.
Small cleanups.
2002-12-13 20:53:04 +00:00
György 'Nog' Jeney 4d6ba25d4b - Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
- Use new time functions to reimplement FileTimeToLocalTime and
  LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Vincent Béron ea966aa6d3 Fix for implicit declaration of abs. 2002-11-27 20:14:45 +00:00
György 'Nog' Jeney 6f3015b8ee - Move SetSystemTime, GetTimeZoneInformation and
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
György 'Nog' Jeney 39433b9481 - Fix RtlTimeToTimeFields to actually work.
- Remove comments about leap seconds, windows doesn't take that into
  account.
2002-11-06 21:57:23 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Patrik Stridvall 51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Patrik Stridvall ef0e2af708 MSVC long long fixes. 2002-08-27 18:17:49 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Gregg Mattinson 2f4ae7ba2c Avoid alignment problem in NtQuerySystemTime. 2002-07-01 18:14:27 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 94152d5038 Fixed some alignment issues (based on a patch by Gregg Mattinson). 2002-05-29 17:04:10 +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
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Alexandre Julliard d76f9f9637 Implemented a bunch of large integer functions in ntdll. 2000-10-01 01:40:42 +00:00
Alexandre Julliard 0aa6cc298e Removed a few external dependencies from ntdll. 2000-07-29 21:56:59 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00