summaryrefslogtreecommitdiff
path: root/src/test/timezones.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '3.0'Allen Winter2022-11-131-1/+1
|\
| * misc: Update sources to more modern CMilan Crha2022-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | The code fails to build when having enabled (gcc) warnings: -Werror=implicit -Werror=implicit-function-declaration -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition -Werror=strict-prototypes
| * src/test/timezones.c - reduce max error rate on Mac back to 1%Allen Winter2021-04-111-4/+0
| | | | | | | | current testing shows we no longer need the higher threshold
* | REUSE complianceAllen Winter2022-06-061-11/+2
| | | | | | | | fixes: #489
* | Use `icalctime`, `icalmktime`, `icallocaltime_r` instead of `ctime`, etc.Markus Minichmayr2022-06-031-3/+3
| |
* | time_t - replace type `time_t` and related functions with our own ↵Markus Minichmayr2022-06-031-4/+4
| | | | | | | | `icaltime_t`, etc. and define it centrally in `config_public.h.cmake` and `config.h.cmake`. This allows for easy replacement, should the system-defined time_t not be suitable. This might especially be the case on 32-bit systems where the range of time_t ends 2038.
* | src/test/timezones.c - reduce max error rate on Mac back to 1%Allen Winter2021-03-101-4/+0
|/ | | | current testing shows we no longer need the higher threshold
* src/test/timezones.c - use a define for MAX_FAILURE_RATEAllen Winter2021-01-111-3/+3
|
* src/test/timezones.c - allow 3% error rate on MacAllen Winter2021-01-111-1/+7
| | | | see https://github.com/libical/libical/issues/470
* src/test/timezones.c - give Eric the copyright from 2008Allen Winter2020-06-221-0/+2
|
* various - use https instead of http where we canAllen Winter2019-12-141-2/+2
| | | | | Update Eric's email Remove softwarestudio.com which no longer exists as a domain
* various - fix warnings found by cppcheck v1.88Allen Winter2019-08-021-1/+1
|
* src/test/timezones.c - Fix possible use-after-free in 'timezones' testAllen Winter2017-11-021-3/+8
| | | | | | | | | also allow success if less then 2% failure From c1485563af90468704d835a5f9af506ead1de861 Mon Sep 17 00:00:00 2001 From: Milan Crha <mcrha@redhat.com> Date: Wed, 1 Nov 2017 18:14:23 +0100 Subject: [PATCH 3/3] Fix possible use-after-free in 'timezones' test
* icaltzutil_fetch_timezone now creates VTIMEZONE components using RRULEs ↵Kent Sutherland2017-05-271-8/+2
| | | | | | | | rather than expanding out every year (if USE_INTEROPERATIVE_VTIMEZONES was off) or using a single time zone back to 1970 (if it was one). This creates more accurate time zones that are compatible with dates whose time zones have since transitioned to a different offset (such as a date in America/New_York in 1980). Removed icaltzutil_set_exact_vtimezones_support and icaltzutil_get_exact_vtimezones_support. Removed USE_INTEROPERABLE_VTIMEZONES.
* Relicense to MPL 2.0 instead of MPL 1.0Allen Winter2017-05-071-9/+10
| | | | | | | | fix urls. make source license headers consistent GNU "Lesser" vs. GNU "Library" etc. issue: #297
* * Signature changed for functions:Allen Winter2016-12-211-1/+1
| | | | | | | | | | | | + VObject *Parse_MIME_FromFileName(const char *fname) + icalgauge *icalgauge_new_from_sql(const char *sql, int expand) + const char *icallangbind_property_eval_string(icalproperty *prop, const char *sep) + const char *icallangbind_property_eval_string_r(icalproperty *prop, const char *sep) + void set_zone_directory(const char *path) + icalcalendar *icalcalendar_new(const char *dir) + int icalrecur_expand_recurrence(const char *rule, time_t start, int count, time_t *array) issue#276
* tools/generator.c, libicalvcal/vcc.c, test/timezones.c - cppcheck fixesAllen Winter2016-11-261-1/+1
|
* test/timezones.c - don't leak. handle case of empty zone_locationAllen Winter2016-09-031-0/+3
|
* -Wwrite-stringsAllen Winter2016-08-031-1/+1
|
* Check return value of gmtime_r()Milan Crha2016-05-091-1/+3
| | | | When it returns NULL, the output variable is not set.
* BuildTime+RunTime preference for exact vs. inter-operable timezonesAllen Winter2015-06-151-0/+7
| | | | ISSUE: #95
* tests/timezone.c - fix build on WindowsAllen Winter2015-06-151-19/+24
| | | | doesn't work, but it at least compiles now
* src/test - enforce coding styleAllen Winter2015-06-011-37/+25
|
* %z print format isn't universally known, so cast to unsigned longsAllen Winter2015-05-251-2/+2
|
* cleanup _unused() function variablesAllen Winter2015-05-071-2/+2
|
* remove all the ifdef UNCLEAN blocksAllen Winter2015-05-031-7/+2
| | | | so some cleaning along the way
* ported to MSVC 2005, 2012 and MinGW 64Allen Winter2015-05-031-1/+1
|
* icalarray,icalcomponent,icaltimezone - modernize, int's -> size_t'sAllen Winter2015-05-011-6/+6
|
* finish header cleaning on linux anway. need to test other platforms nowAllen Winter2015-04-281-2/+4
|
* massive include file cleaning. partially doneAllen Winter2015-04-271-14/+16
|
* Eliminate many compiler warnings from gccAllen Winter2014-09-071-0/+2
|
* Added explicit casts to silence sign-compare warnings.Kent Sutherland2014-06-091-1/+1
|
* Re-arrange after svn to git conversionAllen Winter2014-05-311-0/+165