| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The proximate cause was that we've been seing emission of error
messages that were randomly and disturbingly variable across different
environments - notably Raspbian and Gentoo splint gave nontrivially
different results than Ubuntu 14.10 splint. And this was *not* due to
Ubuntu patches! A pristine splint built from the 3.1.2 tarball on
Ubuntu didn't match the Raspbian and Gentoo results either.
But this has been coming for a while. Easy access to more modern
static analyzers such as coverity, scan-build and cppcheck has been
decreasing the utility of splint, which is unmaintained and somewhat
buggy and not easy to use.
Only file not cleaned is ppsthread.c, because Gary has been working
on it during this cleanup.
All regression tests pass. PPS observed live on GR601-W.
|
|
|
|
|
| |
JSON wait was in uSec, but SHM wait was in Sec. Made both uSec
and documented three places.
|
|
|
|
| |
It wasn't being used, anyway. There's no Windows port yet.
|
|
|
|
|
| |
All regression tests pass. Clients are working live. PPS observed on Macx-1.
|
| |
|
|
|
|
| |
This change doesn't affect generated binary code.
|
|
|
|
| |
This change doesn't affect generated binary code.
|
|
|
|
| |
This change doesn't affect generated binary code.
|
|
|
|
| |
All regression tests pass.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
...from a set of parallel arrays. This change flushed out a
longstanding bug in the computation of DOPs for estimated error bars.
Some test-load rebuilds were required:
geostar-geos1m-binary.log.chk: With this change error
estimates are computed and reported.
trimble-lassen_iq-3dfix.log, trimble-lassen_iq-3dfix.log: the
change revealed a bug in the computation of satellite-seen bits.
Error estimates did not change.
navcom.log: Error estimates changed.
With these rebuilds, all regression tests pass.
|
|
|
|
|
|
|
|
|
|
|
| |
The current mainloop function does not evaluate the return value of
gps_read(). If the socket is closed (because gpsd is stopped) the
mainloop will consume 99% CPU constantly doing a recv() from the socket
which returns zero. gps_read already returns -1 if this condition is
encountered.
This patch checks the return value of gps_read() and if it is -1 the
mainloop is exited. This is also what happens in gps_shm_mainloop().
|
|
|
|
|
|
|
| |
Required a regression-test rebuild, of course. The field is still set by
the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be
possible to eliminate the TSIP uses, but so far attempting this has
produced odd regression-test failures.
|
|
|
|
|
|
|
|
| |
This came up in connection with Android. According to SuS this shouln't be
necessary if sys/time.h was included, but oh well. While we;re at it, rearrange
some includes for more consistent order.
All regression tests pass.
|
|
|
|
| |
All regression tests pass. PPS is live in both gpsd and gpsmon.
|
|
|
|
|
| |
...against the extremmely unlikely evebtuality of anything but gpsmon
wanting to use it.
|
|
|
|
| |
All regression tests pass. PPS is live.
|
| |
|
| |
|
|
|
|
| |
All regression tests pass.
|
| |
|
| |
|
|
|
|
| |
And prevent it from raising spurious Coverity warnings.
|
| |
|
|
|
|
| |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
All regression tests pass. All three exports work in gpxlogger.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
gpxlogger currently works with socket and DBUS methods but fails with
a segfault in the shm code.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The way I fixed this extends the library API so some functions which were
previously undefined for shm transport are now defined. This doesn't change
the binary API of the library in the normal (sock_export=yes) case at all,
so I'm not bumping its version.
No changes in the daemon. All regression tests pass (in the normal
sock_export=yes build).
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|