Armin Novak
6a2d49e0ed
Simplified timezone update handling:
...
* Fix #4965 : Adjusted the timezone update script to initialize
structs properly.
* Updated the scripts to generate the files directly
* Added a small HOWTO
* Split zone information to separate files to allow automatic
update without further manual editing.
Create a timezone.c file that does conform to C rules.
2018-11-07 14:46:24 +01:00
Jonathan Lafontaine
610a882f1d
remove unsupported call to fseek when file is opened with popen
2018-10-30 16:47:06 -04:00
Robert Corrigan
992554a01f
Update time zone data to April 2018
2018-05-15 15:53:36 -04:00
Bernhard Miklautz
52fbfb7b12
fix clang warnings, directly include wtypes.h ( #4097 )
...
* build: clang use -Wno-unused-command-line-argument
With clang 5.0 builds are quite noisy otherwise.
* Directly include wtypes.h
Directly include winpr/wtypes.h where _fseeki64 or _ftelli64 is used.
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning: parentheses-equality
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning: tautological-compare
* fix build warnings with clang 5
clang version: 5.0.0-svn310678-1~exp1 (branches/release_50)
Warning:
incompatible pointer types passing 'size_t *' (aka 'unsigned
long *') to parameter of type 'UINT32 *' (aka 'unsigned int *')
[-Wincompatible-pointer-types]
2017-08-29 09:09:38 +02:00
Armin Novak
c3d4b7d262
fseeko and ftello for 64bit file support.
2017-08-14 08:42:49 +02:00
Robert Corrigan
005c4df9b0
Update time zone data to July 2017
2017-07-14 17:16:08 -04:00
Robert Corrigan
97c5494b98
Update timezone data to Apr 2017
2017-04-18 16:15:13 -04:00
Robert Corrigan
6e448e64af
Update timezone data to Dec 2016
2017-01-11 16:56:34 -05:00
Norbert Federa
f71b6b46e8
fix string format specifiers
...
- fixed invalid, missing or additional arguments
- removed all type casts from arguments
- added missing (void*) typecasts for %p arguments
- use inttypes defines where appropriate
2016-12-16 13:48:43 +01:00
Robert Corrigan
2973b9ccf0
Updates time zone data to October 2016
2016-10-18 15:38:03 -04:00
Robert Corrigan
fc7378f59c
Updated time zone definitions to Sept 2016
2016-10-04 10:54:11 -04:00
Hardening
4e66df7228
Merge pull request #3333 from akallabeth/memleak_fixes
...
Memleak fixes
2016-05-13 11:32:48 +02:00
Robert Corrigan
73e13b0b29
KB3153731: May 2016 DST update for Azerbaijan, Chile, Haiti and Morocco
2016-05-12 13:24:21 -04:00
Armin Novak
eacf2b542e
Fixed memory leaks.
2016-05-12 10:01:30 +02:00
Robert Corrigan
f8c42da561
KB3148851: Updates to Russian Time Zones for 2016
2016-04-13 14:44:30 -04:00
Robert Corrigan
a4f0089d45
winpr_detect_windows_time_zone should have void argument
2016-03-16 08:29:21 -04:00
Robert Corrigan
16796b9c9d
winpr: Updates time zones and fixes bias values
2016-03-14 11:38:31 -04:00
Bernhard Miklautz
7075353417
winpr: fix regression in timezone detection
...
ConvertToUnicode can't be used if the destination is a static buffer.
StandardName and DaylightName were invalid and timezone
redirection didn't work.
This regression was introduced with PR #3151
2016-03-02 18:44:17 +01:00
Armin Novak
65cddbc3fb
Removed obsolete log message.
2016-03-02 09:16:59 +01:00
Armin Novak
0bfe5bad85
Fixed naming of static functions.
2016-02-24 20:16:19 +01:00
Armin Novak
7795ebdc15
Fixed return value for DST.
2016-02-24 09:43:53 +01:00
Armin Novak
495df6d6ec
Readded read timezone from link.
2016-02-24 09:42:12 +01:00
Armin Novak
1cd6697bca
Implemented timezone detection for android
...
Refactored version of patch from pxx02134
2016-02-24 09:28:30 +01:00
Armin Novak
447ac23aee
Refactored timezone functions.
2016-02-24 09:28:30 +01:00
Marc-André Moreau
a7de9e5ac9
Merge branch 'master' of github.com:awakecoding/FreeRDP into sspi
...
Conflicts:
winpr/include/winpr/timezone.h
winpr/libwinpr/timezone/timezone.c
2014-06-10 16:40:58 -04:00
Alessandro Pilotti
7d2f96e84f
Fixes timezone API definition issues on Windows
...
GetDynamicTimeZoneInformation, SetDynamicTimeZoneInformation and
GetTimeZoneInformationForYear are provided by the Windows SDK accordingly
with ethe MSDN cocumentation for SDK with versions above 7.1A.
Those functions are incorrectly included by the 7.1A SDK if _WIN32_WINNT
>= 0x0501 instead of _WIN32_WINNT >= 0x0600.
The issue arises when building with an XP compatible toolset (e.g.
v120_xp).
2014-06-07 20:11:32 +03:00
Marc-André Moreau
c5a1a8ac27
libwinpr-sspi: fix native sspi build
2014-06-05 22:10:08 -04:00
Marc-André Moreau
e33d7321bb
libwinpr-timezone: stub functions
2014-05-29 11:58:53 -04:00
Marc-André Moreau
fb3662c7e2
winpr: fix ranlib missing symbols warnings on OS X
2014-05-09 22:44:19 -04:00
Marc-André Moreau
9c41865fa7
libwinpr: stubbed a couple more modules of interest
2012-09-19 21:42:46 -04:00