summaryrefslogtreecommitdiff
path: root/gpxlogger.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Standardized parsing of server:port:device client arguments.Eric S. Raymond2009-02-251-40/+12
|
* As good a merge as we'll get, barring shipping mode data over D-Bus.Eric S. Raymond2009-02-251-39/+23
|
* Code fully merged...Eric S. Raymond2009-02-251-121/+96
| | | | | ...except the gpxlogger report could stand to be upgraded to include cgpxlogger details.
* Merge cgpxlogger into gpxlogger. Still needs some code merging inEric S. Raymond2009-02-251-5/+256
| | | | gpslogger.c itself to avoid duplication.
* More refactoring.Eric S. Raymond2009-02-251-5/+5
|
* Refactor in preparation for merging cgpxlogger.Eric S. Raymond2009-02-251-66/+94
|
* Simplify the internal D-Bus interface.Eric S. Raymond2009-02-241-0/+2
|
* Knock the rust off the D-Bus code.Eric S. Raymond2009-02-241-146/+138
|
* missing headerChris Kuethe2007-12-121-0/+1
|
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-1/+2
| | | | | | ...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
* Dual-licensing, with permission. Thank you!Chris Kuethe2006-09-211-1/+1
|
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-0/+1
| | | | First line where possible, second line for scripts called with #!
* Including config.h shouldn't break the build of gpxlogger...Chris Kuethe2006-08-211-0/+1
| | | | | | | ...and will make the prototype for strlcat/strlcpy available to gpxlogger.c if it is needed. Prompted by Raphael Jacquot on gpsd-dev
* Try to unbreak the gpxlogger build.Eric S. Raymond2006-08-211-1/+0
|
* Remove bogus requirement of command-line argument.Eric S. Raymond2006-08-161-10/+4
|