akallabeth
240fdd07b1
Replaced localtime with localtime_r
2020-06-22 11:51:38 +02:00
Kobi Mizrachi
fddda159d9
change use of strtok to strtok_s
2020-05-18 11:08:20 +02:00
Armin Novak
e9a75d5a7a
Updated timezones 2020-02-19
2020-02-19 15:27:10 +01:00
Armin Novak
c9dd343a65
update timezones.
2019-12-06 11:05:09 +01:00
Armin Novak
1a52aff7f9
Update WindowsZones.c
2019-12-06 11:03:30 +01:00
Armin Novak
72ca88f49c
Reformatted to new style
2019-11-07 10:53:54 +01:00
Armin Novak
3d487d0718
Fixed #5093 : Try to read timezone from java TimeZone first
...
persist.sys.timezone property might not exist, try to get the
timezone identifier from the java class first.
2018-12-05 10:41:14 +01:00
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
Bernhard Miklautz
6a49bcfe40
winpr: always build "monolitic"
...
winpr is now always build as single library.
The build option MONOLITHIC_BUILD doesn't influence this behavior anymore.
The only exception is winpr-makecert-tool which is still build as extra
library.
This obsoletes complex_libraries for winpr.
2014-07-10 11:10:58 +02: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
Bernhard Miklautz
b817e92e5e
cmake: mark required libraries for export
2014-04-23 10:16:02 +02:00
Marc-André Moreau
55565e056c
freerdp: export targets
2013-10-28 23:06:39 -04:00
Marc-André Moreau
06fa85f31c
cmake: refactoring of MONOLITHIC_BUILD
2012-10-13 17:30:59 -04:00
Marc-André Moreau
40eea7c76b
cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD
2012-10-08 22:55:06 -04:00
Marc-André Moreau
fcc9f91302
cmake: add support for solution groups
2012-09-30 22:58:59 -04:00
Marc-André Moreau
7d7536f649
libwinpr: add module definition files
2012-09-21 13:02:54 -04:00
Marc-André Moreau
403d85f080
cmake: bump soname version to 1.1.0
2012-09-20 20:45:56 -04:00
Marc-André Moreau
9c41865fa7
libwinpr: stubbed a couple more modules of interest
2012-09-19 21:42:46 -04:00