| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building with recent glibc versions fails in gpsutils.c due to missing
definitions related to clock_gettime. This is because we define the
_XOPEN_SOURCE macro, but not to a new enough value. So set it to a
recent spec value that satisfies both strptime and clock_gettime.
Example build failure with glibc-2.15:
gpsutils.c: In function 'timestamp':
gpsutils.c:299:22: error: storage size of 'ts' isn't known
gpsutils.c:300:14: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
gpsutils.c:300:34: error: 'CLOCK_REALTIME' undeclared (first use in this function)
gpsutils.c:300:34: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
| |
|
|
|
|
|
|
| |
So add the define that POSIX says to to avoid.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
| |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
|
|
|
|
|
| |
1. Tag "week" must be unsigned integer.
gpsprof -f instrumented works again.
2. Removed tag "uxtime" duplication "time".
3. Used a more precise timestamp.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
| |
All regression tests pass. All three exports work in gpxlogger.
|
|
|
|
| |
All regression tests pass.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Required so clients looking at flag masks in data exported via the shared-memory
interface will see the right thing.
These were separated originally in order to avoid pushing the reqyuired width
of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5
API change, so that constraint went away.
All regression tests pass.
|
|
|
|
| |
Required a regression-test rebuild.
|
|
|
|
| |
All regression tests pass, splint and cppcheck pass.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Protocol version number is bumped. Python and C test clients are known
to work; interfaces of the C and Python client bindings are
unchanged. Third-party client-side bindings which rely on naively
copying JSON members will break (implementers have been repeatedly
warned not to do this).
|
|
|
|
|
| |
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 regression tests pass.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Only the daemon now uses this function.
|
| |
|
| |
|
|
|
|
|
|
| |
...renaming it and still supporting the old entry point.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
|
|
|
|
|
| |
bug present where it would try to invert matrix with out enough data...
added guard to prevent trying to calculate dop's if we don't have 4 sats
with current code.
|
|
|
|
|
| |
All regression tests pass. flocktest on grelber and yazug passes,
Codebase splints and cppchecks clean.
|
| |
|
| |
|
|
|
|
| |
All regression tests pass.
|
| |
|
|
|
|
|
|
| |
The guard controllong DOP computation wasn't right. The result was
that x/y error estimates were computed much less often than they
should have been.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Large patch, no actual executable code changes except in three debug dumpers.
Breaks up the *_SET status macros so the client side continues to use them,
but the daemon uses a similarly-named set with an _IS suffix.
This frees up two mask bits in both sets - the client side no longer needs
to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs
to have VERSION_SET and POLICY_SET.
The only actual code change is that the maskdump.c module, generated by
maskaudit.py, splits in half - one child now dumps client-side flags, the
other daemon-side flags. One other function call in a debug dumper in
libgps_core.c changes.
All regression tests pass.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Vincenty is much better behaved with small distances. This is a translation of
http://www.movable-type.co.uk/scripts/latlong-vincenty.html
While I'm here, put a couple of WGS84 constants into a header.
|