Commit Graph

122 Commits

Author SHA1 Message Date
Sebastian Lackner b60b50ba35 ntdll: Catch page faults in NtQueryPerformanceCounter.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 19:05:43 +01:00
Bruno Jesus eefc1c471c ntdll: Fake success if changing system date is a no-op.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 17:16:32 +01:00
Sebastian Lackner 3977ebafc0 ntdll: Lookup DynamicDST based on current year, instead of year of daylight date.
When there are no further time changes, the function find_dst_change() will
return (year_end + 1). This patch ensures that we don't lookup the wrong
DynamicDST entry in such a case.
2015-08-04 09:45:28 +02:00
Nikolay Sivov 2c98d5b90c kernel32: Implement GetDynamicTimeZoneInformation(). 2015-05-11 15:39:24 +09:00
Michael Müller 7567db85be ntdll: Add support for Dynamic DST (daylight saving time) information in registry. 2015-04-28 15:37:54 +09:00
Francois Gouget ca1545cf17 ntdll: Remove unneeded NONAMELESSXXX directives. 2015-03-16 15:04:50 +09:00
André Hentschel 550f556dca ntdll: Remove unused macros. 2014-12-09 19:36:06 +01:00
Nikolay Sivov b82b1306a4 kernel32: Added QueryUnbiasedInterruptTime(). 2014-04-02 15:50:09 +02:00
Frédéric Delanoy 86fdca6750 ntdll: Use BOOL type where appropriate. 2013-10-30 09:45:20 +01:00
Alexandre Julliard 34a1426fc3 ntdll: Use the monotonic counter for NtGetTickCount. 2013-01-28 18:22:16 +01:00
Alexandre Julliard 04e14c7b46 ntdll: Add support for the monotonic time counter on Mac OS X. 2013-01-28 18:22:13 +01:00
Alexandre Julliard 25598513dc ntdll: Use a monotonic time counter to implement NtQueryPerformanceCounter. 2013-01-28 15:39:37 +01:00
Alexandre Julliard aacc450955 ntdll: Avoid using Low/HighPart of a large integer when not necessary. 2012-10-30 18:08:05 +01:00
Dmitry Timoshkov 0e44bda72a ntdll: Take into account timezone bias changes when detecting daylight saving rules. 2011-10-18 19:16:34 +02:00
Alexandre Julliard 4964374570 ntdll: The large integer functions are 32-bit only. 2009-08-24 15:17:33 +02:00
Andrew Talbot 5ecd33e2f9 ntdll: Assign to structs instead of using memcpy. 2008-03-10 11:23:30 +01:00
Rob Shearman 67cc0302f4 ntdll: Remove the overly-cautious check which prevented NtSetSystemTime from changing the time by more than two minutes.
Simplify the returning of different status codes by not playing around 
with the return value from settimeofday.
2007-09-10 16:13:53 +02:00
Dmitry Timoshkov a76ef05c90 ntdll: Do not leave not initialized cached timezone information if a timezone doesn't have daylight saving rules. 2007-08-29 14:08:20 +02:00
Dmitry Timoshkov d2d5bbe5d0 ntdll: Reimplement TIME_GetBias using new time zone code. 2007-08-22 12:18:59 +02:00
Dmitry Timoshkov d666143f88 ntdll: Detect current time zone settings. 2007-08-21 12:40:37 +02:00
Francois Gouget ebadbd4bd5 Assorted spelling fixes. 2007-08-09 14:13:07 +02:00
Lei Zhang 9ee4d8509b ntdll: Add Bolivian time zone info. 2007-07-30 15:27:09 +02:00
Dmitry Timoshkov 6119f4990d ntdll: Simplify TIME_GetBias. 2007-07-30 14:12:45 +02:00
Dmitry Timoshkov a188662ea8 ntdll: Add some traces to make debugging time zone related problems easier. 2007-07-30 14:12:12 +02:00
Konstantin Kondratyuk b7c38b0d75 ntdll: Add Samara time zone. 2007-07-25 13:02:09 +02:00
Julio E. Gonzalez P 5b98738c4d ntdll: Add PYT and PYST time zones. 2007-07-05 19:53:14 +02:00
Erez Volk 14a3275436 ntdll: Added IDT Timezone (Israel daylight savings time). 2007-05-16 11:55:47 +02:00
Alexey Markachev 160f1c350e ntdll: Fix mistake in Novosibirsk time zone. 2007-04-27 11:45:35 +02:00
Alexandre Julliard aaf477f292 server: Change the timeout handling to use NT-style 64-bit timeouts everywhere. 2007-04-17 20:08:59 +02:00
Kai Blin 21e6beed5c ntdll: Don't use settimeofday() to attempt to set the timezone. 2007-04-12 16:08:59 +02:00
Gabriel Gambetta cc578af7b1 ntdll: Add Uruguayan Summer Time timezone. 2007-03-26 14:55:58 +02:00
Konstantin Kondratyuk 4f976741a4 ntdll: Add Omsk time zone. 2007-02-09 11:50:04 +01:00
Harry McNally ca2c987caf ntdll: Add Western Australia Summer Time. 2007-01-10 22:25:27 +01:00
Alexandre Julliard c627601c3b server: Convert the server start time to the abs_time_t type. 2006-07-26 14:50:55 +02:00
Alexandre Julliard 3ca608b1b3 ntdll: Renamed the NTDLL_get/from_server_timeout functions since they don't deal only with timeouts. 2006-07-26 14:49:13 +02:00
Vijay Kiran Kamuju ee87f039e1 ntdll: Add UZT timezone info. 2006-06-26 13:06:26 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Jacek Caban 2333c80500 ntdll: Added NtGetTickCount implementation. 2006-04-20 20:12:48 +02:00
Sergei Butakov 4f53d5a5b3 ntdll: Added Urals time. 2006-02-07 16:51:51 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Mike McCormack 5b40551458 Add some missing timezones. 2005-11-08 10:57:50 +00:00
Kieran Clancy d1c7458643 Added another CST (Australian Central Daylight Time) to TZ_INFO. 2005-11-03 13:21:23 +00:00
Vijay Kiran Kamuju e573caf8f9 Added PHT time zone. 2005-10-10 18:03:56 +00:00
Vijay Kiran Kamuju bb53d096b1 Add MYT (Malaysian Time) and NOVST (Novosibirsk Summer Time). 2005-09-26 09:55:59 +00:00
Mike McCormack c818a4e662 Fix "empty body in an if/else-statement" warnings. 2005-09-21 09:46:28 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Mike McCormack b5bd4a101a Fix gcc 4.0 warnings. 2005-09-02 14:47:36 +00:00
Alexandre Julliard 9ad5628639 Moved the server start time to the init_thread request and got rid of
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Mike McCormack 6b636e3e7b Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION. 2005-06-25 18:00:57 +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