summaryrefslogtreecommitdiff
path: root/gpsctl.c
Commit message (Collapse)AuthorAgeFilesLines
...
* splint and cppcheck cleanup. All regression tests pass.Eric S. Raymond2013-09-291-1/+0
|
* Properly label debug reports from different programs.Eric S. Raymond2013-09-291-0/+11
| | | | All regression tests pass.
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-70/+109
| | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
* Move gpsd_report from gpsctl.c into libgpsd_core.c.Bernd Zeimetz2013-08-311-46/+0
| | | | | Making ldd happy by fixing undefined symbol: gpsd_report (./libgpsd.so.21.0.0)
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-1/+1
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-30/+30
|
* Remove unnecessary includes of termios.h .ukyg9e5r6k7gubiekd62012-09-071-1/+0
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Replace exit(2) with exit(EXIT_FAILURE). None of these were documented.Eric S. Raymond2012-09-071-4/+4
| | | | | | | | This is a separate commit so we can revert it someday if making the distinction again comes to seem more important than struct mingw portability. All regression tests pass.
* Replace exit({0,1}) with exit(EXIT_{SUCCESS,FAILURE})Eric S. Raymond2012-09-071-18/+18
| | | | Note there are some exit(2) instances we bneed to decide what to do with.
* More cppcheck warning fixups. All regression tests pass.Eric S. Raymond2012-05-181-1/+0
|
* Clean up from cppcheck warnings. All regression tests pass.Eric S. Raymond2012-05-171-3/+4
|
* Address Savannah bug bug #35765: gpsctl should use pselect() where available.Eric S. Raymond2012-04-051-7/+40
|
* Slim down gpsd a bit by moving a function only gpsctl.c now uses.Eric S. Raymond2011-06-271-0/+15
|
* Elimination of gpsd_hexdump_level.Eric S. Raymond2011-06-171-1/+0
| | | | The few gpsd_hexdump() calls left have explicit guards.
* Move debuglevel into the context in gpsctl and gpsmon, too.Eric S. Raymond2011-06-171-0/+4
|
* Regularize some names.Eric S. Raymond2011-04-011-24/+24
|
* gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...Eric S. Raymond2011-03-311-0/+7
| | | | | ...and guard them with debug level so they won't be done when the output would never be shipped anywhere.
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-2/+2
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Binary and NMEA-mode switching work again.Eric S. Raymond2011-02-221-48/+19
|
* Fix some timeout, and explain why they're needed.Eric S. Raymond2011-02-221-2/+7
|
* Make gpsmon aware of the SHOUT log level.Eric S. Raymond2011-02-221-0/+3
|
* More deheader testing. All regressions pass, codebase splints clean.Eric S. Raymond2011-01-131-0/+2
|
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2011-01-061-2/+4
|
* Merge branch 'master' of ssh://git.berlios.de/gitroot/gpsdChris Kuethe2011-01-041-38/+102
|\
| * Magic number elimination. All regression tests pass.Eric S. Raymond2011-01-031-8/+8
| |
| * Make gpsctl debug output look like gpsd debug output.Gary E. Miller2011-01-021-1/+32
| |
| * Trivial fix for a segfault problem.Eric S. Raymond2011-01-021-3/+3
| |
| * Fix the start-of-session race condition.Eric S. Raymond2011-01-021-10/+4
| |
| * Try to make gpsctl -s work again.Eric S. Raymond2011-01-021-7/+10
| |
| * Attack Gary Miller's mysterious hang.Eric S. Raymond2011-01-021-4/+5
| |
| * Another whack at making gpsctl work reliably.Eric S. Raymond2011-01-021-18/+49
| |
| * Partial splint cleanup.Eric S. Raymond2011-01-011-9/+13
| |
| * Fix a bug that caused gpsctl reporting on the wrong device.Eric S. Raymond2010-12-311-1/+1
| |
* | extraneous apostropheChris Kuethe2011-01-041-1/+1
|/
* Message cleanup following gem's notification-level change.Eric S. Raymond2010-12-301-1/+1
|
* gpsctl device interpretation is working.Eric S. Raymond2010-12-291-9/+16
|
* Turn gps_query in gpsctl into a send/expect engine.Eric S. Raymond2010-12-291-21/+58
| | | | Needed to get device recognition to work properly.
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-1/+3
|
* Replace a FIONREAD call with select(2).Eric S. Raymond2010-12-141-9/+17
|
* More header cleanup.Eric S. Raymond2010-12-131-7/+7
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-4/+0
|
* Carry through and document the poll() -> read() change.Eric S. Raymond2010-07-141-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().
* Introduce the gps_read() entry point and use it internally.Eric S. Raymond2010-06-081-2/+2
| | | | | | This is as per the roadmap. Clients can still use gps_poll(). All regression tests pass. Clients run correectly live.
* Splint cleanup. All regression tests pass.Eric S. Raymond2010-06-081-2/+0
|
* Use gps_open_r() in gpsctl.Eric S. Raymond2010-06-071-36/+39
|
* Stop trying to special-case terminating whitespace in gpsd_report().Eric S. Raymond2010-05-051-1/+1
|
* Comment improvements.Eric S. Raymond2010-04-131-1/+1
|
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-2/+2
| | | | | | | | | | | | | | | | | Large patch, no actual executable code changes except in three debug dumpers. Breaks up the *_SET status macros so the client side continues to use them, but the daemon uses a similarly-named set with an _IS suffix. This frees up two mask bits in both sets - the client side no longer needs to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs to have VERSION_SET and POLICY_SET. The only actual code change is that the maskdump.c module, generated by maskaudit.py, splits in half - one child now dumps client-side flags, the other daemon-side flags. One other function call in a debug dumper in libgps_core.c changes. All regression tests pass.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+1
|