summaryrefslogtreecommitdiffstats
path: root/src/ClockTAI.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Pull in files from odr-mmbtools-commonMatthias P. Braendli2019-08-131-562/+0
| | | | Telnet RC is now single-user only.
* Update copyright headersMatthias P. Braendli2019-01-071-1/+1
|
* ClockTAI: refactor downloading slightlyMatthias P. Braendli2019-01-071-63/+74
|
* ClockTAI: cache only to /var/tmpMatthias P. Braendli2019-01-071-22/+8
|
* Rework TAIClock, make some functions free from side-effectsMatthias P. Braendli2019-01-071-193/+188
|
* Allow user to specify TAI bulletin URLsMatthias P. Braendli2018-12-181-13/+46
|
* Fix TAI bulletin parsing on systems where long is 32 bitsMatthias P. Braendli2018-11-111-4/+4
|
* Store leap-second cache in /var/tmpMatthias P. Braendli2018-10-111-4/+20
|
* Refactor urls in ClockTAIMatthias P. Braendli2018-10-111-7/+6
|
* Add TAI bulletin expiry to RC and to muninMatthias P. Braendli2018-01-311-2/+47
|
* Handle download failure in TAI bulletin download and replace boost regex ↵Matthias P. Braendli2018-01-231-51/+61
| | | | with std
* Use correct TAI bulletin download variableMatthias P. Braendli2018-01-231-1/+1
|
* EDI TIST: Add local file cache for leap second dataMatthias P. Braendli2017-06-161-31/+126
|
* Remove USNO bulletin from ClockTAIMatthias P. Braendli2017-06-161-132/+2
| | | | Their format does not include an expiration time, making caching more difficult
* Clear the bulletin stringbuffer in an backwards-compatible wayMatthias P. Braendli2017-01-201-2/+2
|
* Fix important EDI Timestamp issuesMatthias P. Braendli2017-01-181-57/+249
| | | | | | | | | | First, use more servers, not only those from USNO that currenty show problems. Add a server from IETF and the github repository from the tz project that mirrors that file. Second, fix issues about parsing the bulletin and error handling. Third, run the bulletin update asynchronously once the mux runs, to avoid blocking it.
* Add missing include arrayMatthias P. Braendli2016-09-081-1/+2
|
* Fix parsing in TAI-UTC bulletinMatthias P. Braendli2016-07-301-11/+96
| | | | | | The parser only took the last line of the bulletin, but didn't ignore announcements for leap seconds occurring in the future. This commit fixes this
* Add TAI clock runtime failure if no cURL availableMatthias P. Braendli2016-07-301-0/+2
|
* Add 1h retry if TAI offset download failedMatthias P. Braendli2016-07-221-0/+3
|
* Replace std::regex with boost::regexMatthias P. Braendli2016-03-251-4/+4
| | | | | This should allow us to support ubuntu 14.04 LTS and other distributions that do not ship a complete C++11 stdlib
* Use std::chrono in ClockTAIMatthias P. Braendli2016-03-051-19/+4
|
* Compile under OSXMatthias P. Braendli2016-03-051-1/+7
|
* Fix compilation with EDI disabledMatthias P. Braendli2016-02-271-1/+5
|
* Set edi TIST, still in an incorrect wayMatthias P. Braendli2016-01-101-2/+6
|
* Add TAI handling for EDI with TISTMatthias P. Braendli2016-01-101-0/+220