summaryrefslogtreecommitdiff
path: root/timebase.c
Commit message (Collapse)AuthorAgeFilesLines
* Recreare the driver union, curtting per-device storage requirements.Eric S. Raymond2014-08-241-2/+2
| | | | | | | This time, the NMEA privarte storage is outside the union, so mode-switching won't step on stuff. All regression tests pass.
* Add more clarifications in commentsSanjeev Gupta2013-12-051-2/+18
| | | | | | | Hopefully, future developers will understand why things were done this way. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Clean language, typosSanjeev Gupta2013-12-051-28/+28
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Add a NASA link, and some clarificationsSanjeev Gupta2013-11-281-2/+6
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Write a lengthy sidebar on why leap seconds existSanjeev Gupta2013-11-281-0/+74
| | | | | | | | 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>
* Refactor NMEA0183 century handling.Eric S. Raymond2013-11-271-0/+25
| | | | | | | No logic changes. All regression tests pass. The real point here is to get all the code for time-related edge cases into timebase.c so it can be reviewed as a unit.
* Documentation on what we are trying to achieveSanjeev Gupta2013-11-261-11/+12
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* RAM -> NVRAM.Eric S. Raymond2013-11-261-1/+1
|
* Get vertical error position and speed estimates from the u-blox driver.Pavel Kirienko2013-11-261-5/+7
| | | | | That is, rather than having to interpolate them. This required two regression-test rebuilds in obvious places.
* Typo fix.Eric S. Raymond2013-11-261-1/+1
|
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-4/+8
| | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
* Keep adding detail about time problems.Eric S. Raymond2013-09-281-3/+3
|
* More about time constraints.Eric S. Raymond2013-09-281-1/+6
|
* Caveat about PPS accuracy.Eric S. Raymond2013-09-271-7/+9
|
* More about time.Eric S. Raymond2013-09-271-3/+3
|
* Note that NTP could be erroneous too.Eric S. Raymond2013-09-271-2/+4
|
* Add a warning by Andy Walls.Eric S. Raymond2013-09-271-1/+2
|
* Add some reassurance about NTP.Eric S. Raymond2013-09-271-1/+7
|
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-2/+1
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Re-enable week rollover check. All regression tests pass.Eric S. Raymond2013-01-221-3/+1
|
* splint cleanup.Eric S. Raymond2013-01-221-0/+2
|
* Forcing UTC lets us simplify some code. All regression tests pass.Eric S. Raymond2013-01-151-6/+2
|
* Move the timezone swetting to where we keep our assumptions abouut time.Eric S. Raymond2013-01-151-0/+7
|
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-10/+10
|
* Fix the leap seconds notify.Michael Tatarinov2012-06-261-3/+0
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Cleanup motivated by new cppcheck with more tests. All regression tests pass.Eric S. Raymond2012-05-161-1/+1
|
* Typo fix.Michael Tatarinov2011-10-141-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* The GPS time rollover check fires too often. Disable until we figure out why.Eric S. Raymond2011-10-091-0/+2
|
* splint cleanup. All regression tests pass, code splints clean.Eric S. Raymond2011-06-241-1/+1
|
* Move all test log dates to yyyy-mm-dd.Eric S. Raymond2011-06-231-4/+5
| | | | | Trying to remember that these used a non-ISO8601 date format was driving me nuts. All regression tests pass.
* Make gpsdecode interpret "Date:" comments. All regression tests pass.Eric S. Raymond2011-06-231-0/+23
|
* Yet more double->timestamp_t moves.Eric S. Raymond2011-03-101-7/+7
| | | | | | All tests pass. These are didfficult to spot because the compiler actually doesn't care about the distinction btween the source and result type of a typedef.
* Address Berlios tracker bug #17951 FTBFS with disabled nmea.Eric S. Raymond2011-02-221-0/+2
|
* Remove a dependency on the leapseconds table being correct.Eric S. Raymond2011-02-021-31/+0
| | | | (Also, fix it up sop it *is* correct, in case we want it someday.)
* splint cleanup.Eric S. Raymond2011-01-281-1/+1
|
* Compensate for century rollover in NMEA.Eric S. Raymond2011-01-211-1/+7
| | | | | | Contains the hidden assumption that dates to be merged will always be presented in monotonically increasing order. If this ever fails to be the case near a century turnover, you're screwed.
* Yet more time refactoring. All regression tests pass.Eric S. Raymond2011-01-211-30/+15
| | | | Tricky surgery in progess, that's why I'm doing lots of small commits.
* Refactor time handling yet again. All regression tests pass.Eric S. Raymond2011-01-211-3/+25
|
* Since we now disambiguate rollovers, remove a check no longer needed.Eric S. Raymond2011-01-211-12/+0
|
* Remove a dependency on the system clock. All regression tests pass.Eric S. Raymond2011-01-211-14/+11
|
* Another refactoring step for the time logic. All regression tests pass.Eric S. Raymond2011-01-211-8/+8
|
* Refactoring step. All regression tests pass.Eric S. Raymond2011-01-211-3/+6
|
* Improve documentation comments. All regression tests pass.Eric S. Raymond2011-01-211-17/+11
|
* Refactor. All regression tests pass.Eric S. Raymond2011-01-201-19/+12
|
* More documentation of our assumptions about time sources.Eric S. Raymond2011-01-201-1/+38
|
* Document gpsd's assumption about the host system clock correctly.Eric S. Raymond2011-01-201-90/+64
| | | | | We're more dependent on it than I realized. At least all the dependencies are in one module now, and we may be able to do something about relaxing them.
* All the messy gpstime conversion stuff isin timebase.c now.Eric S. Raymond2011-01-201-0/+33
| | | | All regression tests pass.
* Rebuilding of timebase constants is now completely automated.Eric S. Raymond2011-01-201-0/+197
All regression tests pass.