summaryrefslogtreecommitdiff
path: root/libgps_core.c
Commit message (Collapse)AuthorAgeFilesLines
* Add str_{,v}appendf, use it everywhere.Zbigniew Chyla2015-01-211-2/+2
| | | | This change doesn't affect generated binary code.
* Always use sizeof to get array sizeZbigniew Chyla2015-01-131-2/+2
| | | | | | Don't use constant/expression from an array's definition when referring to its size. Eliminates redundancy and avoids problems when array size changes. The change doesn't affect generated code.
* Refactor representation of satellite data into an array of structs...Eric S. Raymond2014-09-221-10/+7
| | | | | | | | | | | | | | | | | | ...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.
* Minimal option requires conditionalization of some code.Eric S. Raymond2014-09-061-4/+19
| | | | | All regression tests pass with default options (GPS tests are disabled with minimal on, because socket_export is off).
* splint/cppcheck cleanuo after the gpsd_report change.Eric S. Raymond2014-08-271-0/+2
| | | | All regression tests pass.
* Clean up some FIXMEs. All regression tests pass.Eric S. Raymond2014-08-241-1/+0
|
* PPS is no kinger marked unstable/experimental.Eric S. Raymond2014-08-231-2/+1
|
* ppsbar -> pps.Eric S. Raymond2013-11-131-2/+2
| | | | All regression tests pass. PPS is live in both gpsd and gpsmon.
* PPS events now show in gpsmon runb through the daemon.Eric S. Raymond2013-11-091-1/+2
|
* Code is fully cppcheck, splint, and Coverity clean.Eric S. Raymond2013-11-061-0/+1
| | | | All regression tests pass. PPS is live.
* Minor typo fix. All regression tests pass.Eric S. Raymond2013-09-211-1/+1
|
* Restore some accidentally omitted code.Eric S. Raymond2013-09-211-1/+1
|
* Fix some minor bugs in debug reporting of the sat picture.Eric S. Raymond2013-09-211-1/+6
|
* More cppcheck cleanup.Eric S. Raymond2013-09-171-0/+1
|
* Split Type 24 reporting, including the -s option to gpsdecode.Eric S. Raymond2013-09-141-1/+2
| | | | All regression tests pass.
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-5/+6
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Fix a dangerous typo caught by Coverity. All regression tests pass.Eric S. Raymond2012-09-221-1/+1
|
* Lose the assumption that socket_t is an integer.Eric S. Raymond2012-09-221-3/+3
|
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-6/+6
|
* Eliminated a bug Rick Bywater tripped over.Eric S. Raymond2012-05-141-1/+1
|
* Still working on pacifying Coverity. All regression tests pass.Eric S. Raymond2012-05-111-1/+1
|
* First cut at implementing waiting test for shm export.Eric S. Raymond2011-10-031-1/+7
| | | | Timeout argument is presently ignored.
* Remove duplicate code.Michael Tatarinov2011-09-301-1/+3
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* splint cleanup.Eric S. Raymond2011-09-301-1/+3
|
* Magic-number elimination.Eric S. Raymond2011-09-301-2/+2
| | | | All three exports work.
* Re-do runtime dispatch in the client library.Eric S. Raymond2011-09-301-76/+27
|
* splint cleanup.Eric S. Raymond2011-09-281-5/+7
|
* Canned mainloop function for socket export...Eric S. Raymond2011-09-281-1/+46
| | | | ...also, dispatch to open for the DBUS transport.
* Runtime dispatch to methods is working in the client library.Eric S. Raymond2011-09-281-19/+51
|
* Avoid a name collision.Eric S. Raymond2011-09-281-1/+1
|
* First step in runtime export dispatch for the client library.Eric S. Raymond2011-09-281-0/+11
|
* Break out prototypes for client library export methgods into a new heasder.Eric S. Raymond2011-09-281-0/+1
| | | | All regression tests pass. All three exports work in gpxlogger.
* Get back to a state where the shm export works.Eric S. Raymond2011-09-271-26/+0
|
* Converge the library APIs for different transports more closely.Eric S. Raymond2011-09-271-0/+26
|
* Add some debugging.Eric S. Raymond2011-09-161-1/+4
|
* Make the sock_export=no build.Eric S. Raymond2011-08-261-0/+59
| | | | | | | | | | 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).
* More code slimming.Eric S. Raymond2011-06-111-1/+1
|
* Break the libgps test code our of libgps_core.c.Eric S. Raymond2011-04-031-104/+1
|
* Allow gps_errstr() to report shm-specific errors.Eric S. Raymond2011-03-291-2/+10
|
* Squeeze more code out of the minimal build.Eric S. Raymond2011-03-291-2/+9
|
* Scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-281-0/+2
|
* Cast gpsdata->gps_fd to intptr_t as int might not be big enough.Bernd Zeimetz2011-03-281-2/+2
| | | | This also fixes building with g++ >= 4.5.
* The shm transport finallly works through gps_open().Eric S. Raymond2011-03-281-2/+1
|
* Part repair of the shm dispatch.Eric S. Raymond2011-03-271-1/+1
| | | | | Uh oh. One of my rests was broken. The gps_shm_* functions work, but dispatch to them through the public API is broken. This partway fixes it.
* Shared-memory export is now integrated and documented.Eric S. Raymond2011-03-271-58/+20
|
* Core client library now hands off to libgps_sock.c and libgps_shm.c.Eric S. Raymond2011-03-271-116/+47
| | | | Live test with cgps works.
* Begin splitting apart libgps_core.c into socket-export and generic functions.Eric S. Raymond2011-03-271-473/+86
|
* Clear up some confusion about *_SET vs.. *_IS defines.Eric S. Raymond2011-03-261-1/+2
| | | | | | | | | *_SET masks are library-side and for the set member of the fisx structure. *_IS masks are daemon-side and used only in the status mask returned by the packet analyzer methods, and code in the core library that uses same. Never the twain shall meet. All regression tests pass.
* remove unused variable (received) in gps_readJon Schlueter2011-03-221-2/+1
|
* Moinor correction to previous commit; buffer must be static.Eric S. Raymond2011-03-211-1/+1
|