summaryrefslogtreecommitdiff
path: root/gpxlogger.c
Commit message (Collapse)AuthorAgeFilesLines
* Give up on trying to splint the DBUS code. The headers confuse splint.Eric S. Raymond2011-04-031-4/+4
| | | | | | Also, splint production for scons. All regression tests pass.
* 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-3/+3
|
* Change return values in the shm interface to be more like socket export.Eric S. Raymond2011-03-271-3/+8
| | | | All regression tests pass. Code splints clean. shm live-testing works.
* gpxlogger improvementsBeat Bolli2011-03-271-15/+17
| | | | | | | - update the usage string with the new options - introduce and use the NITEMS() macro Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Fix a glitch in the SiRF driver exposed by the SHM export.Eric S. Raymond2011-03-261-0/+2
| | | | | When we set TINE_IS, we actually have to report time. Required one regression test rebuild.
* Experimental export via shared memory is almost working.Eric S. Raymond2011-03-261-20/+86
| | | | | | Fix fields look correct but time is garbled. All regression tests pass. Code splints clean.
* Enable gpsd to be built withot socket and subscription support.Eric S. Raymond2011-03-251-3/+3
| | | | | | | | | Built this way it camn only export results via DBUS - or a shared-memory interface not yet implemented. The DBUS option and enabling define are renamed so we have a consistent suffix of export/EXPORT. No logic changes, just some #ifdefs and rearrangements. All regression tests pass. Code splints clean.
* Enable client debugging to actually work in gpxlogger.Eric S. Raymond2011-03-231-0/+1
|
* Give gps_waiting() a timeout argument. Use it systematically in test clients.Eric S. Raymond2011-03-091-15/+3
| | | | cgps and gpxlogger are live-tested and work. All regression tests pass.
* Splint cleanup. All regression tests pass.Eric S. Raymond2011-02-161-1/+1
|
* In gpxlogger, added <sat>, <hdop>, <vdop>, <pdop> elements.Michael Tatarinov2011-02-141-66/+71
| | | | These conform to GPX 1.1. See <http://www.topografix.com/GPX/1/1/>.
* In gpxlogger, filter for device on the server rather than client side,Michael Tatarinov2011-02-141-12/+5
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* The raw_hook mwember and set_raw_hook are gone; client API cleanup is done.Eric S. Raymond2011-01-251-4/+4
|
* More deheader testing.Eric S. Raymond2011-01-121-0/+3
|
* Correct a previous commit changing <time.h> to <sys/time.h> eceywhere.Eric S. Raymond2010-12-211-0/+1
| | | | <sys/time.h> is needed for select(2).
* Clients are no longer required to define a gpsd_report() hook.Eric S. Raymond2010-12-191-2/+6
|
* Implemented Gleb Smirnoff's -m option for gpxlogger.Eric S. Raymond2010-12-171-28/+42
|
* Merge in tthe -d and -f capabilties from Gleb Smirnoff's gpxlogger2/gpxloggerd.Eric S. Raymond2010-12-171-43/+80
|
* Because we're taking SuS seriously we can simplify the configuration machinery.Eric S. Raymond2010-12-141-3/+1
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-5/+0
|
* First round of changes for API major version 5:Eric S. Raymond2010-07-131-1/+1
| | | | | * gps_open() becomes reentrant, what gps_open_r() used to be. * gps_poll() is removed in favor of gps_read().
* Introduce the gps_read() entry point and use it internally.Eric S. Raymond2010-06-081-1/+1
| | | | | | This is as per the roadmap. Clients can still use gps_poll(). All regression tests pass. Clients run correectly live.
* Use re-entrant open in the C examples.Eric S. Raymond2010-06-071-14/+13
| | | | | | In the next mahor API change the non-re-rentrant call will go away. All regression tests passm, code splints clean.
* Use of EMIX isn't actually a bug, given the DBUS format.Eric S. Raymond2010-04-251-4/+0
|
* Reindent two more programs. That's everything except xgpsspeed/Tachometer.c.Eric S. Raymond2010-04-141-82/+87
| | | | All regression tests pass.
* Splint-clean gpxlogger.Eric S. Raymond2010-04-141-10/+18
|
* Using WATCH_NEWSTYLE makes a poor example now that NEWSTYLE is the default.Eric S. Raymond2010-03-301-1/+1
|
* Fix building with --disable-clientdebugPaulius Zaleckas2010-03-281-2/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-3/+3
|
* Eliminate more Subversion tracks...Eric S. Raymond2010-03-131-1/+1
| | | | ...converting where appropriate to git references.
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+5
|
* Internal IPv6 support, derived from a support patch by Olivier Mehani.Eric S. Raymond2010-01-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The patch original is at: https://lists.berlios.de/pipermail/gpsd-dev/attachments/20100111/85ad4e15/attachment.bin This revision changes netlib_connectsock() to take a first argument that is an address family and can specify IPv4, IPv6, or either. It also changes gpsd.c to open two client sockets, one IPv4 and one IPv6, and listen on both. As a required cleanup, a number of defaults to "127.0.0.1" become defaults to "localhost" so we're not hardwiring in IPv4 assumptions anymore. I've omitted a significant portion of the Mehani patch that changed the interface of the client library in an incompatible way. Currently there is no way to make gpsd listen to IPv4 or IPv6 only, and no way to make a client query over IPV4 or IPv6 only. Also, we'd really like to be able to condition out IPv6 or (someday) IPv4 support for a leaner runtime, and there's no way to do that yet, either. Under IPv4, regression tests pass; live operation with a GPS mouse and the aishub feed both work. However, the resulting code does not splint clean; this will need to be fixed, and that's going to be tricky due to the new sockaddr_t struct.
* Type and inclusion cleanup.Eric S. Raymond2010-01-031-3/+5
| | | | All regression tests pass.
* Give gpxlogger the -D option, abolish the last remnant of cgpxlogger.Eric S. Raymond2009-12-081-1/+10
|
* Fix the DBUS build.Eric S. Raymond2009-11-251-1/+7
|
* Pick up a dropped stitch near DBUS.Eric S. Raymond2009-11-241-1/+3
|
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-3/+3
| | | | All regression tests pass.
* I found the bug in JSON parsing, so re-enable new protocol on all clients.Eric S. Raymond2009-11-171-1/+1
|
* gps_stream() gets a third argument for future expansion. Eric S. Raymond2009-09-241-1/+1
| | | | | We shouldn't try to explain the transition schedule in two different places.
* Disentangle the packet raw hook used on the client side...Eric S. Raymond2009-09-171-1/+1
| | | | | | ...from the internals of gpsd. Besides being better factoring, this will give us better control of the daemon's report-generation policy in the future. All regression tests pass. Codebase splints clean.
* J command and switch are gone.Eric S. Raymond2009-09-111-10/+2
| | | | | | | | | Now that we have reliable end-of-cycle detection in NMEA, we can always clear the fixbuffer at start of cycle and accumulate data until we transmit at end of cycle. Accordingly, there is no longer any bneed for users to choose between jittery-but-correct and buffered-but-laggy reports. Accordingly, the daemon 'J' command is no longer necessary. All the client side options and commands connected with it can go away too.
* Fix an implicit-declaration glitch.Eric S. Raymond2009-08-271-1/+1
|
* Add gps_errstr() to the client API so client code doesn't have toEric S. Raymond2009-08-261-25/+1
| | | | reinvent it all the time. Use it in gpsmon.
* Make more of the test clients protocol-neutral. Document why xgps isn't.Eric S. Raymond2009-08-241-7/+8
|
* Parse WATCH responses in the client library. All regression tests pass.Eric S. Raymond2009-08-231-4/+4
|
* system call failure should be tested against -1, rather than "< 0"Chris Kuethe2009-07-091-1/+1
|
* fix for bug 15795 - char devname[] shadows a standard functionChris Kuethe2009-07-031-4/+4
|
* Introduce gpsdclient.h header, not shipped. Eric S. Raymond2009-03-021-0/+1
| | | | So we can move stuff used internally by GPSD clients out of gps.h.
* Move gpsfix decl out of ifdef DBUS.Greg Troxel2009-02-261-1/+2
|