summaryrefslogtreecommitdiff
path: root/cgps.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactoring and splint cleanup.Eric S. Raymond2011-09-291-73/+7
|
* splint cleanup.Eric S. Raymond2011-09-291-1/+1
|
* splint cleanup.Eric S. Raymond2011-09-281-3/+5
|
* Defensive programming.Eric S. Raymond2011-09-171-3/+3
|
* Add a sanoty check.Eric S. Raymond2011-09-161-6/+8
|
* Make the Maidenhead convrter available in Python.Eric S. Raymond2011-03-291-1/+1
|
* Add Maidehead grid square to cgps optional fields.Eric S. Raymond2011-03-291-5/+15
|
* In the client API, take the data buffer out of the gpsdata_t structure.Eric S. Raymond2011-03-181-1/+1
| | | | | | | | | | | | | | | | | | tz has shown me that we had a point of brittleness where the size of the client's data buffer was exposed in gps_data_t. Solution: move it (and the data-waiting count) to the client's private-data member. Requires a new but trivial client-library entry point to get the buffer pointer when a client needs it. Had to be done before API Version 5 froze, or we'd have been stuck breaking a shipped API again. No implications for the daemon or other tools, as this buffer is never used there. (Except it gets rid of several K of never-used static buffer space in the daemon, which is a good thing.) All regression tests pass. Code splints clean. cgps (the only place the API fix matters in our code) live-tests correctly.
* Don't let cgps leave the terminal in a bad state on timeout.Beat Bolli2011-03-121-2/+5
| | | | | | | Exit()ing on timeout leaves the terminal in noecho state, so we have to undo the curses initialization on timeout. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Give gps_waiting() a timeout argument. Use it systematically in test clients.Eric S. Raymond2011-03-091-26/+3
| | | | cgps and gpxlogger are live-tested and work. All regression tests pass.
* Fix an explanatory comment.Eric S. Raymond2011-02-251-3/+4
|
* Vertical window size computation had to be redone to fix a display bug.Eric S. Raymond2011-02-231-16/+15
| | | | | The root cause was MAXCHANNELS getting bumped to 72. The old window size computation relied on it being small.
* Splint cleanup. All regression tests pass.Eric S. Raymond2011-02-161-1/+1
|
* In gpxlogger, filter for device on the server rather than client side,Michael Tatarinov2011-02-141-22/+9
| | | | 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-15/+11
|
* More deheader testing. All regression tests pass.Eric S. Raymond2011-01-131-0/+1
|
* Insert SuS headers required for portablity, as revealed by deheader.Eric S. Raymond2010-12-221-0/+3
|
* Correct a previous commit changing <time.h> to <sys/time.h> eceywhere.Eric S. Raymond2010-12-211-1/+1
| | | | <sys/time.h> is needed for select(2).
* cgps now handles resize signals.Eric S. Raymond2010-12-161-16/+28
|
* The difference between curses.h and ncurses shouldn't matter to gpsd.Eric S. Raymond2010-12-141-6/+1
|
* Another pass at removing unneeded headers.Eric S. Raymond2010-12-141-2/+0
|
* More header cleanup.Eric S. Raymond2010-12-141-1/+1
|
* Taking SuS seriously some more.Eric S. Raymond2010-12-141-3/+3
|
* More header simplification. All regression tests pass.Eric S. Raymond2010-12-141-1/+0
|
* Simplification through taking SuS seriously.Eric S. Raymond2010-12-131-3/+0
|
* SuS conformance.Eric S. Raymond2010-12-131-0/+1
|
* Duplicate-inclusion and portability cleanup. All regression tests pass.Eric S. Raymond2010-12-111-0/+1
|
* sys/types.h doesn't belong here...Chris Kuethe2010-12-081-1/+1
| | | | | ... in a test for SYS_SELECT_H. And sys/types.h probably exists and is needed everywhere. Fixes compile on openbsd.
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2010-12-081-1/+3
|
* Clean up the code base and add switches so deheader runs clean.Eric S. Raymond2010-12-031-0/+2
|
* 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-7/+0
|
* Bug gpsd:17494 fix: cgps don't exit if interruptedTimo Juhani Lindfors2010-11-061-0/+3
| | | | Do not exit if select is interrupted by a signal. Since we have signal handlers for INT and HUP they still work but WINCH does not. Closes gpsd:17494.
* Fixing a segfault in cgps.Bernd Zeimetz2010-10-041-1/+1
| | | | | | As reported in <alpine.LNX.2.01.1010041235310.18045@catbert.rellim.com> cgps segfaults when used with -u m as options. getopt did not expect that -u takes additional options.
* 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-10/+9
| | | | | | In the next mahor API change the non-re-rentrant call will go away. All regression tests passm, code splints clean.
* Reindent. All regression tests pass.Eric S. Raymond2010-04-261-4/+2
| | | | | Most of the bulk of this one is the xgpsspeed code, which was not formerly incldecd in reindenting.
* Display expx and epy rather than eph.Eric S. Raymond2010-04-251-18/+22
|
* Reindent some things again, needed due to new controls. Eric S. Raymond2010-04-141-36/+35
| | | | All regression tests pass.
* cgps.c reindented. Live and gpsfake tests both pass.Eric S. Raymond2010-04-141-144/+192
|
* Typo fix.Eric S. Raymond2010-04-131-1/+1
|
* 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/+4
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Give case a break. All regression tests pass; code solints and cppchecks clean.Eric S. Raymond2010-03-271-0/+1
|
* gps_poll() now indicates when the daemon socket closes from the other side.Eric S. Raymond2010-03-271-4/+21
| | | | | You get back -1 with errno not set; cgps.c now illustrates how to use this in a polling loop. Documentation has been updated.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-1/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-12/+1
|
* splint cleanup. It caught a bug this time.Eric S. Raymond2009-12-181-0/+4
|
* Uniform handling of unit-system defaults and -u in xgps, cgps, and lcdgps.Eric S. Raymond2009-12-151-28/+51
|