| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Which bumps the JSON minor rev.
|
|
|
|
|
|
| |
This is to prevent a conflict with Boost version 1.67.
No functional change.
|
|
|
|
|
|
|
|
| |
It seems like gps.h is always included before gps_json.h, which is an
odd requirement but acceptable. But it probably shouldn't require
including gpsd.h for one struct, so just declare gps_device_t here.
Signed-off-by: Gary E. Miller <gem@rellim.com>
|
| |
|
|
|
|
| |
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Only the 1001 sentence so far, with two fields missing. Not usable
for production yet, but gets infrastructure in place.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
It hasn't actually worked since we switched protocols to JSON. This diff
puts the framework in place for new machinery using timing attributes in the
TPV sentence.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tz has shown me that we had a point of brittleness where the size
of the client's data buffer was exposed in gps_data_t. Solution:
move it (and the data-waiting count) to the client's private-data
member. Requires a new but trivial client-library entry point to get
the buffer pointer when a client needs it.
Had to be done before API Version 5 froze, or we'd have been stuck breaking
a shipped API again.
No implications for the daemon or other tools, as this buffer is never
used there. (Except it gets rid of several K of never-used static
buffer space in the daemon, which is a good thing.)
All regression tests pass. Code splints clean. cgps (the only place
the API fix matters in our code) live-tests correctly.
|
|
|
|
|
|
|
|
|
|
| |
What's going in with this commit, and the last one, is that I'm
disentangling the logic for JSON reporting of device state from the
daemon dispatcher layer. This means that other programs that use
libgpsd *without* necessarily going through the dispatcher layer will
be able to do so.
No logic changes.
|
| |
|
|
|
|
| |
All regression tests pass.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
|
| |
Not yet documented, but now we at least have a regression test.
All regression tests pass.
|
|
|
|
| |
Signed-off-by: Chris Kuethe <ckuethe@users.berlios.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All regression tests pass.
Note from esr: this feature cannot be announced yert, as it requires
documentation in the INSTALL file.
1. What the target environments are (Linux? Windows? Both)
2. All build prerequisites (C++ compiler? Qt library? Other libraries?)
3. What the new files libQgpsmm_global.h and libQgpsmm.pro are for,
and how the are used.
We also need to know how to regression-test this code under Linux so
we can verify that it's not broken as the client library evolves.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
|
|
|
| |
The previous couple of data-management changes pay off again here, we get
to simplify the interface of a reporting function.
All regression tests pass.
|
| |
|
| |
|
|
|
|
| |
...so we can handle multiple responses per write.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
All regression tests pass.
|
|
|
|
|
|
| |
Change the way device lists are represented so they can carry attributes
from the new protocol. No more variable sizes by configure option, all
that stuff gets swallowed up in the union member now.
|
|
|
|
| |
Add JSON unit test to default test sequence.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Steps towards making gpsctl work with new protocol.
Incidentally, fixes a bug where min_cycle was not reported
correctly in the C command.
|
|
|
|
|
| |
CONFIGCHAN is gone, WATCH now listens to everything and sets as
per-user policy bits things that used to be per-channel.
|
|
|
|
| |
Preparation for allowing multiple commands per line.
|
| |
|
| |
|
|
|
|
| |
Policy bits are not yet set correctly.
|
| |
|