summaryrefslogtreecommitdiff
path: root/gpspipe.c
Commit message (Collapse)AuthorAgeFilesLines
* Asdd a gpspipe option to enable profiling.Eric S. Raymond2011-09-221-1/+8
|
* Fix a help string.Eric S. Raymond2011-06-081-2/+4
|
* More deheader testing. All regression tests pass.Eric S. Raymond2011-01-131-1/+1
|
* deheader cleanup.Eric S. Raymond2011-01-121-1/+0
|
* Correct a help string.Eric S. Raymond2011-01-101-1/+1
|
* Remove subframesflag so they're omitted uncinditionally.Eric S. Raymond2011-01-101-9/+3
|
* More changes to gpspipe for subframes, no joy, yet.Gary E. Miller2011-01-041-3/+6
|
* Enable gpspipe to start subframe reporting.Eric S. Raymond2011-01-041-1/+4
|
* Partial splint cleanup.Eric S. Raymond2011-01-011-0/+2
|
* We don't need yet another copy of the daemon() code in gpspipe.c.Eric S. Raymond2010-12-271-48/+10
|
* use select(2) rather than blindly reading fdChris Kuethe2010-12-271-5/+20
| | | | | Another Commit from the Caribbean. Observed while reading a remote gpsd instance over slow, high latency network.
* More header portability auditing by deheader.Eric S. Raymond2010-12-221-0/+4
|
* More header simplification. All regression tests pass.Eric S. Raymond2010-12-141-9/+4
|
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2010-12-081-1/+1
|
* Attempt to address #17564: gpspipe terminates because of non-blocking socket.Eric S. Raymond2010-12-031-1/+5
|
* Put back missing headers that break the buildChris Kuethe2010-12-021-0/+2
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-5/+0
|
* -f was replaced by -o, follow through.Eric S. Raymond2010-09-151-1/+1
|
* 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().
* Use re-entrant open in the C examples.Eric S. Raymond2010-06-071-5/+4
| | | | | | In the next mahor API change the non-re-rentrant call will go away. All regression tests passm, code splints clean.
* splint cleanup.Eric S. Raymond2010-05-121-0/+2
|
* Allow to set the gpspipe timestamp formatBeat Bolli2010-05-101-3/+13
| | | | | | | | | This patch is backwards-compatible by adding a new option -T (note capital case) for the timestamp format. All tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* More reindenting. All regression tests pass.Eric S. Raymond2010-04-141-66/+70
|
* Address Debian bug #576377: gpspipe can't connect to external gpsdEric S. Raymond2010-04-041-3/+2
|
* Address Debian bug #576378.Eric S. Raymond2010-04-031-1/+1
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-7/+5
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* Pre-release splint and cppcheck cleanup. All regression tests pass.Eric S. Raymond2010-03-011-1/+3
|
* Integrated cppcheck testing, and fixed some minor bugs found by it.Eric S. Raymond2010-02-161-1/+1
|
* Internal IPv6 support, derived from a support patch by Olivier Mehani.Eric S. Raymond2010-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* David Ludlow's housekeeping and type-cleanup patch.Eric S. Raymond2010-01-021-4/+9
| | | | All regression tests pass,
* Cruft removal.Eric S. Raymond2009-12-071-2/+1
|
* Refactor gpspipe to use gps_stream() and gps_open().Eric S. Raymond2009-12-061-58/+37
| | | | | | | | | | | | | | So it becomes wire-protocol-independent (no longer generating its own ?WATCH command). It still reads froom the session socket, rather than doing gps_poll(), in order to avoide decode overhead. Building on this, use the new WATCH_DEVICE flag to make gpspipe honor the device part of a standard source specification, if that is present. Make -D an option for enabling client-library progress debugging. Rename the -f (output-file) option to -o.
* Typo fixes.Eric S. Raymond2009-12-041-4/+4
| | | | | Can't change this to use gps_stream() without an enhancement to accept a filename.
* gpspipe exposed an orthogonality failure.Eric S. Raymond2009-12-031-3/+3
| | | | | | | | | | | | Fix it by adding a json switch separate from watch enable. This involved moving where fake NMEA is generated to a different place, treating it as just another form of report generation rather than a side effect of receiving a sentence. Also, some client-side code had to be changed to use the json flag. A side effect is that some binary-protocol devicers generate fake $GPGSA sentences somewhat more often than they used to, and this meant rebuilding four more regression tests.
* Client side of gpspipe is done.Eric S. Raymond2009-12-021-1/+1
| | | | It has exposed a bug in the semantics of ?WATCH that needs fixing.
* Emitting well-formed JSON would sure help.Eric S. Raymond2009-12-011-5/+5
|
* Refactor so the assembly of the gpspipe initi command is all done in one spot. Eric S. Raymond2009-12-011-9/+18
| | | | This version is still slightly buggy.
* Oops, not everything needed got included in last commit.Eric S. Raymond2009-12-011-1/+1
|
* Teach gpspipe to use new protocol.Eric S. Raymond2009-12-011-16/+38
|
* Correct -V option and cosmetic fixes for gpspipe.Eric S. Raymond2009-12-011-39/+41
|
* The -j option is no more, so gpspipe doesn't have to process or send it.Eric S. Raymond2009-12-011-5/+1
|
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+0
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* system call failure should be tested against -1, rather than "< 0"Chris Kuethe2009-07-091-4/+4
|
* make gpspipe exit rather than spinning if the server goes away.Chris Kuethe2009-07-041-3/+7
|
* 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.
* Support device selection in gpspipe.Eric S. Raymond2009-02-251-3/+3
|
* Standardized parsing of server:port:device client arguments.Eric S. Raymond2009-02-251-26/+9
|
* Splint cleanup. All regression tests pass.Eric S. Raymond2009-01-211-4/+5
|
* Splint cleanup and removal of some unneeded headers.Eric S. Raymond2009-01-211-0/+2
|