summaryrefslogtreecommitdiff
path: root/cgps.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Use booleans in cgps.c where appropriate. Move code so theEric S. Raymond2009-11-061-65/+66
| | | | dependencies on old protocol are confined as tightly as possible.
* In the gpsdata structure, satellites -> satellites_visibleEric S. Raymond2009-10-011-3/+3
| | | | All regression tests pass, code splints clean.
* Introduce gps_send() to the C API.Eric S. Raymond2009-09-231-4/+4
|
* Remove a todo that makes no sense since J is gone.Eric S. Raymond2009-09-191-5/+1
|
* Disentangle the packet raw hook used on the client side...Eric S. Raymond2009-09-171-6/+3
| | | | | | ...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-23/+1
| | | | | | | | | 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.
* Split eph into epx and epy internally... Eric S. Raymond2009-09-031-2/+9
| | | | | | ...but still report eph by re-mixing them in the JSON dumper. This was worth doing because all regression tests still pass, showing that visible behavior for old-protocol users gas not changed.
* Banish some compiler warnings.Eric S. Raymond2009-08-271-1/+0
|
* 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-10/+1
| | | | reinvent it all the time. Use it in gpsmon.
* fix displayChris Kuethe2009-06-231-4/+4
|
* change the signal strength member to float.Chris Kuethe2009-06-221-4/+4
| | | | | | it can store all integer values we're likely to see, plus the floating point values that some protocols use in their raw measurement messages. regression tests still pass.
* Don't allow negative values when calculating magnetic headings.Jeff Francis2009-05-291-17/+26
|
* Added man page for lcdgps.Jeff Francis2009-03-181-0/+1
| | | | Documented pre-existing '-j' flags for cgps and lcdgps.
* 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.
* Standardized parsing of server:port:device client arguments.Eric S. Raymond2009-02-251-26/+7
|
* Splint cleanup. All regression tests pass.Eric S. Raymond2009-01-211-1/+1
|
* Splint cleanup and removal of some unneeded headers.Eric S. Raymond2009-01-211-0/+2
|
* This diff goes most of the way to getting us splint-clean again.Eric S. Raymond2009-01-051-1/+4
|
* cast this float to int since we're printing it as intChris Kuethe2008-09-101-1/+1
|
* This value is out of the realm of believability... Jeff Francis2008-08-291-1/+1
| | | | | ...by an order of magnitude already, no point in pretending it's accurate to sub-degree levels.
* Add the option of displaying calculated magnetic heading rather thanJeff Francis2008-08-151-3/+59
| | | | true heading. Calculations taken from the Aviation Formulary v1.43.
* splint cleanup.Eric S. Raymond2007-12-131-40/+42
|
* Fix patch for update_compass_panel() by Petr Slansky.Eric S. Raymond2007-12-121-55/+56
|
* A bit of refactoring.Eric S. Raymond2007-12-121-5/+3
|
* Fix patch from Petr Slansky.Eric S. Raymond2007-12-111-28/+23
|
* Fix to time conversion by Petr Slansky; passes all stable regressions.Eric S. Raymond2007-12-111-2/+2
| | | | Also, change a formal from int to size_t appropriately.
* More splint cleanup.Eric S. Raymond2007-12-051-0/+2
|
* slightly refactor cgps to move the window setup code. unless jeff beatsChris Kuethe2007-10-151-146/+150
| | | | me to it, i will eventually make cgps cope with window size changes.
* whitespace cleanupChris Kuethe2007-10-151-80/+80
|
* POSIX says getmaxyx is already (void).Chris Kuethe2007-03-271-1/+1
| | | | | http://www.opengroup.org/onlinepubs/007908799/xcurses/getmaxyx.html >From Greg Troxel
* Removed the entire title line. Jeff Francis2007-01-241-38/+11
| | | | | | Of little value, just takes up valuable screen real estate. First in a long line of new cgps tweaks, now that I have some hacking time again...
* a better way to use ncurses, if you've got it.Chris Kuethe2006-12-151-2/+6
|
* Typo. 'dgps' is not the same as 'gpsd'...Jeff Francis2006-12-041-1/+1
|
* Added error estimate fields back into cgps per ESR's request.Jeff Francis2006-11-211-41/+54
| | | | | | Made them "discardable" based on window size (ie, these fields are not taken into account when calculating minimum window size, and are silently thrown out if the window is not big enough to display them).
* When the display is 80x24, don't display the title line...Jeff Francis2006-11-141-1/+1
| | | | | ...allowing two lines of scrolling raw data. Short-term fix for the bigger problem of balancing satellite display vs. raw data display.
* Zero the private drive storage at device-activate time...Eric S. Raymond2006-11-131-3/+3
| | | | ...so we don't see stale data. Also, some splint cleanup.
* Big cgps front end rewrite from Jeff Francis.Eric S. Raymond2006-11-121-152/+305
|
* Petry Slansky's patch to widen the subtype window a bit.Eric S. Raymond2006-11-111-3/+3
|
* Fix sat display for Garmins. Thanks to Jeff Francis.Gary E. Miller2006-11-101-34/+9
|
* Compiler-warning and splint cleanup.Eric S. Raymond2006-11-101-3/+5
|
* Updated cgps with support for device dependent behaviour.Chris Kuethe2006-11-071-80/+283
| | | | >From Jeff Francis, plus a couple of cleanups from me.
* Client code cleanup and simplification.Eric S. Raymond2006-10-301-17/+5
| | | | | The new sprintf(3)-like behavior of gps_query() makes some things easier. Turn off smoothing in the xgps client by default.
* cgps.c no longer needs to declare UNUSED. it's in gpsd_config.h now.Eric S. Raymond2006-10-291-7/+0
|
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-1/+1
| | | | | | ...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
* Hush more compiler warningsChris Kuethe2006-10-261-3/+4
|
* Don't print floating point values without checking them for NaNChris Kuethe2006-10-211-3/+3
|
* Clear displayed fields a little better on loss of fix. From Petr SlanskyChris Kuethe2006-09-231-2/+2
|
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-1/+1
| | | | First line where possible, second line for scripts called with #!
* The -o option was removed.Chris Kuethe2006-09-131-1/+0
|