Commit Graph

57 Commits

Author SHA1 Message Date
Markus Amsler b8d9b6192d Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-08 11:01:03 +00:00
Marcus Meissner 5c256c518f Define obsoleted CLK_TCK to CLOCKS_PER_SEC if not there. 2005-10-31 10:04:57 +00:00
Uwe Bonnes dbdf3df4d9 Remove unspecific FIXME. 2005-10-17 09:23:22 +00:00
Gerald Pfeifer ebe0484d1a Prefer sys/limits.h over machine/limits.h. 2005-08-22 09:33:37 +00:00
Mike McCormack 78911f34d9 - avoid winternl.h depending on winbase.h
- define RTL versions of TIME_ZONE_INFORMATION and SYSTEMTIME
2005-06-20 18:37:17 +00:00
Mike McCormack 405ac7a80c - don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
Emmanuel Maillard 64c077860e Added Darwin 8.0 specific headers. 2005-05-18 18:20:23 +00:00
Jon Griffiths eb5bf7dd38 Documentation spelling fixes. 2005-02-25 14:07:56 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget 6fb1a20020 Assorted spelling fixes. 2004-12-20 19:27:06 +00:00
Jon Griffiths 873cd009d0 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-15 10:54:44 +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 cfeef723d2 - Simplify the calculation in TIME_DaylightCompareDate;
- Expand the number of applicable test cases.
2004-10-29 21:27:18 +00:00
Rein Klazes d694a376c7 - Reordered some code from the existing helper _GetTimeZoneBias to
make it more general useful (and changed the helper names to
  TIME_xyz).
- Make GetTimeZoneInformation return the correct zone id constants.
- Changed some "const LPX_Y_Z" declarations to "const X_Y_Z *".
2004-10-27 21:19:22 +00:00
Rein Klazes d788e03057 Fixed TzSpecificLocalTimeToSystemTime and
SystemTimeToTzSpecificLocalTime:
- take the time of day into the calculation, so the bias is calculated
  correctly during the transition days;
- the transition times are expressed as local time, not system time;
- correct the daylight logic for use on the southern hemisphere;
- beautify some LONGLONG arithmetic.
2004-09-10 19:35:06 +00:00
Alexandre Julliard c349d7d297 Removed a number of internal file functions that are no longer used. 2004-04-28 03:53:19 +00:00
Alexandre Julliard 8045ad5c0e Removed some unnecessary definitions from file.h.
Got rid of drive.h.
2004-03-09 23:51:02 +00:00
Rein Klazes 2ce96b45a0 Implemented GetDaylightFlag. 2004-03-03 02:17:58 +00:00
Mike Hearn e16426b082 Use time rather than win32 debug channel for kernel time functions. 2004-02-26 05:29:55 +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
Jon Griffiths d9339f83ec Fail GetCalendarInfoA for Unicode-only locales. 2003-12-01 22:47:28 +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 68806c4410 Spelling fixes. 2003-08-18 19:47:42 +00:00
Lionel Ulmer 12c61661ab Added SetSystemTimeAdjustment stub. 2003-05-04 02:23:38 +00:00
Martin Fuchs 6a7d463ca6 Fixes for SystemTimeToTzSpecificLocalTime() and
TzSpecificLocalTimeToSystemTime().
2003-04-17 02:14:38 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Martin Fuchs 95ffdc1db4 Fixed time zone calculation. 2003-02-11 22:12:41 +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
Martin Fuchs 09746293f3 Implementation of SystemTimeToTzSpecificLocalTime() and
TzSpecificLocalTimeToSystemTime().
2002-12-19 04:12:42 +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 f7694794de - Reimplement time functions using ntdll functions.
- Some cleanups.
2002-12-13 20:30:06 +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
György 'Nog' Jeney 6f3015b8ee - Move SetSystemTime, GetTimeZoneInformation and
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +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 57bf45067a MSVC compatibility fixes. 2002-08-26 21:53:24 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Ulrich Czekalla bdcf66f800 Added support for CAL_ITWODIGITYEARMAX. 2002-06-13 21:44:15 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Vincent Béron a032277311 - Fixed GetSystemTimeAdjustment prototype and added it to winbase.h.
- Fixed DosDateTimeToFileTime, FileTimeToDosDateTime,
  LocalFileTimeToFileTime, FileTimeToLocalFileTime and
  SystemTimeToFileTime.
2002-05-30 20:05:48 +00:00
Alexandre Julliard 94152d5038 Fixed some alignment issues (based on a patch by Gregg Mattinson). 2002-05-29 17:04:10 +00:00
Vincent Béron 736e81c67a Better implementation of GetCalendarInfo{A,W}, not perfect. 2002-05-14 21:44:07 +00:00
Patrik Stridvall 136fae57c3 - Better handling when settimeofday is not available.
- Adding name translations for p{close,open} and str{,n}casecmp if
  they exists under other names.
2002-03-11 05:08:38 +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
Marcus Meissner 8934496bb3 Enhanced GetCalendarInfo stub, added known CAL_* defines. 2001-09-10 23:08:39 +00:00
Patrik Stridvall c01c1933bf Fixed some issues found by winapi_check. 2001-06-19 03:36:23 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
James Hatheway a9f8997f49 Fill in StandardName field in struct returned from GetTimeZoneInformation. 2001-04-09 18:45:49 +00:00
Eric Pouech a862f68db5 Added a few missing stubs to KERNEL32 and USER32. 2001-02-26 22:33:29 +00:00
Patrik Stridvall bca4a8dce0 Documentation argument fixes. 2001-02-12 03:49:57 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00