summaryrefslogtreecommitdiff
path: root/leapsecond.py
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some timebase assumptions (code not yet used).Eric S. Raymond2014-08-261-6/+6
|
* Correct computatiojn of build timestamps.Eric S. Raymond2014-08-251-3/+9
|
* pylint validation pass. All regresio tests pass, xgps runs live.Eric S. Raymond2014-08-231-12/+11
|
* pylint cleanup.Eric S. Raymond2013-12-021-10/+12
|
* Write a lengthy sidebar on why leap seconds existSanjeev Gupta2013-11-281-0/+2
| | | | | | | | I am not sure where this should be, but I do not think this documentation is of direct use to users. Hence I am adding it to timebase.c , for developers. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Only fetch leapseconds when cache is older than last potential issue date.Eric S. Raymond2013-11-271-19/+29
|
* Remove unused code.Eric S. Raymond2013-11-271-51/+3
|
* Refactor leap-second cache fetching. No logic changes yet.Eric S. Raymond2013-11-271-1/+22
|
* Cosmetic fix to leapsecond cache generation.Eric S. Raymond2013-11-271-1/+1
|
* Make current GPS week available in timebase.h for rollover detection.Eric S. Raymond2013-11-271-3/+21
|
* Gnuplot sample command linesSanjeev Gupta2013-11-251-2/+4
| | | | | 1. Minor typo in example 2. Added second example for thos with an X11-aware gnuplot
* Apparently gnuplot X11 mode is dead.Eric S. Raymond2013-11-251-1/+3
|
* Fix gnuplot syntaxSanjeev Gupta2013-11-251-2/+1
| | | | | | I will go through all files that call gnuplot and check syntax Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* More pylint cleanup in some build helpers. Build succeeds.Eric S. Raymond2013-11-151-1/+0
|
* Partial pylint cleanup. All regression tests pass, xgps works.Eric S. Raymond2013-11-151-6/+4
|
* Address Savannah bug #40461: leapsecond.py and http proxiesEric S. Raymond2013-11-131-1/+1
| | | | | Fail more gracefully in this case, and add a leapfetch=no option to work around it.
* leapsecond.py: make save_leapseconds() check all defined servers.Beat Bolli2013-10-311-14/+20
| | | | | | | | Because of connection problems, add the IERS to the list of places that are checked for the UTC-TAI history. Adjust the parsing for the differences in the format of the IERS file. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* leapsecond.py: set a socket timeout for slow servers.Beat Bolli2013-10-311-0/+5
| | | | | | | I have problems connecting to maia.usno.navy.mil, and setting a socket timeout at least doesn't block the build process. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Better usage help and minor improvements for leapsecond.pyClaus Klein2013-02-251-53/+127
|
* Restore Python 2.5 compatibility.Thomas Petazzoni2012-10-231-3/+24
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Deal properly with scheduled IERS transitions in the future...Eric S. Raymond2012-01-111-3/+6
| | | | ...as well as past ones. All regression tests pass.
* More Python sanity checking.Eric S. Raymond2011-10-281-1/+1
|
* Python glitches caught by pylint.Eric S. Raymond2011-10-281-1/+1
| | | | One could have been a fatal error.
* Add pychecker production for anity-checking Python code.Eric S. Raymond2011-08-231-8/+1
|
* Documentation and website update.Eric S. Raymond2011-08-201-1/+8
|
* Don't clobber existing leapseconds cache if USNO is not accessible.Eric S. Raymond2011-08-171-4/+5
|
* sys has to be imported for error messages.Eric S. Raymond2011-05-051-1/+1
|
* Tweak leapsecond.py so that it could be used from another scriptJon Schlueter2011-04-011-4/+3
|
* Remove a dependency on the leapseconds table being correct.Eric S. Raymond2011-02-021-10/+4
| | | | (Also, fix it up sop it *is* correct, in case we want it someday.)
* Restore the ability to build under Python 2.4.Eric S. Raymond2011-01-251-2/+2
|
* Rebuilding of timebase constants is now completely automated.Eric S. Raymond2011-01-201-0/+2
| | | | All regression tests pass.
* Go back to wiring in a default leap-second offset at start.Eric S. Raymond2011-01-201-0/+1
| | | | | I thought I could avoid this, but it turns out SiRF chips before firmware rev 2.3.2 don't reliably get a leap-second report either. Sigh...
* More cleanup of the machinery for wortking with leap-second history.Eric S. Raymond2011-01-191-1/+1
|
* Generate coefficients for least-squares fit into the C code.Eric S. Raymond2011-01-191-15/+26
|
* Refactor.Eric S. Raymond2011-01-191-9/+9
|
* Compute residuals.Eric S. Raymond2011-01-191-0/+8
|
* Generate least-squares fit.Eric S. Raymond2011-01-191-7/+29
|
* Refactor leap-second fetching.Eric S. Raymond2011-01-191-3/+8
|
* Document how to get a leapsecond trend plot.Eric S. Raymond2011-01-191-0/+4
|
* Date in GNUPLOT ranges have to be quotes, it seems.Eric S. Raymond2011-01-191-1/+1
|
* Leap-second history plotting is *almost* right.Eric S. Raymond2011-01-191-3/+17
|
* Extract Unix times for leap-second history plot.Eric S. Raymond2011-01-191-5/+9
|
* More refactoring, introduce stub for history graphing.Eric S. Raymond2011-01-181-41/+39
|
* Refactor the leap-second fetcher.Eric S. Raymond2011-01-181-40/+32
|
* Remove fossils related to START_SUBFRAMEEric S. Raymond2011-01-181-1/+1
|
* Explanatory comments.Eric S. Raymond2011-01-181-2/+2
|
* Enable building even if we can't reach USNO leap-second history.Eric S. Raymond2011-01-171-26/+31
|
* Refactor the rollover check. All regression tests pass.Eric S. Raymond2011-01-171-118/+0
|
* Add Python output to leapsecond.py.Beat Bolli2011-01-171-10/+18
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Clean up warnings reported by Charles Curley.Eric S. Raymond2011-01-171-2/+96
|