Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle lack of TIOCEXCL and TIOCNXCL on cygwin | Matt | 2014-09-06 | 1 | -0/+4 |
| | | | | | The cygwin headers don't seem to define these. We can still attempt to work without them. | ||||
* | Now that the transition is done we can restore the gpsd_report name. | Eric S. Raymond | 2014-08-27 | 1 | -14/+14 |
| | | | | All regression tests pass. | ||||
* | The big leap. Most instances of gpsd_report are replaced... | Eric S. Raymond | 2014-08-27 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | ...with calls to gps_notify(), which indirects to its output method through a slot in an errout structure. Usually the errout structure lives inside the session context, but because struct errout_t is its own thing this does not have to be the case. One large clique of gpsd_notify() calls, in packet.c and isgps.c, looks at a struct errout_t copy in a lexer control block This change is not complete. Remnant gpsd_report calls need to be changed, and gpsmon needs to be tweaked so that the struct_error_t in its context is a non-defaukt hook updating the cuses display rather than simply dumping to stderr. Also the report label functionality needs to be added. All regression tests pass. | ||||
* | Introduce struct errout_t to encapsulate error-reporting hooks. | Eric S. Raymond | 2014-08-27 | 1 | -15/+15 |
| | | | | | | A major step towards eliminating reverse linkage. All regression tests pass. | ||||
* | Structure member name change: packet -> lexer. No logic changes. | Eric S. Raymond | 2014-08-27 | 1 | -4/+4 |
| | | | | All regression tests pass. | ||||
* | Move and improve a comment. | Eric S. Raymond | 2013-11-27 | 1 | -1/+4 |
| | |||||
* | Fix a minor layerring violation. All regression tests pass. | Eric S. Raymond | 2013-10-30 | 1 | -7/+0 |
| | |||||
* | Make all hex-dumping truly thread-safe. | Eric S. Raymond | 2013-10-13 | 1 | -2/+5 |
| | |||||
* | splint cleanup. | Eric S. Raymond | 2013-10-09 | 1 | -4/+4 |
| | |||||
* | Give drivers a way to query the currewntly set stopbits and parity. | Eric S. Raymond | 2013-10-08 | 1 | -0/+20 |
| | |||||
* | We can now monitor low-level string sends through gpsmon. | Eric S. Raymond | 2013-10-04 | 1 | -1/+2 |
| | | | | Now we'll know exactly what's being sent on a UBX mode change. | ||||
* | Change gpsd_report to no longer use a global. All regression tests pass. | Eric S. Raymond | 2013-09-29 | 1 | -15/+24 |
| | | | | | | | | 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. | ||||
* | cppcheck ckeanup. All regression tests pass. | Eric S. Raymond | 2013-09-17 | 1 | -1/+1 |
| | |||||
* | Some GPSes use the USB ACM driver (/dev/ttyACM*, major number 166) on Linux. | Michael Tatarinov | 2013-09-04 | 1 | -3/+3 |
| | | | | | This patch makes them classify as USB source and fixes typos for bluetooth device. | ||||
* | Move an assignment to pacify splint. | Eric S. Raymond | 2013-05-01 | 1 | -1/+1 |
| | |||||
* | Clean up more static-analysis warnings. | Eric S. Raymond | 2013-04-30 | 1 | -6/+4 |
| | |||||
* | Don't check exclusion for bluetooth devices. | Michael Tatarinov | 2012-10-10 | 1 | -1/+3 |
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Lose the assumption that socket_t is an integer. | Eric S. Raymond | 2012-09-22 | 1 | -1/+1 |
| | |||||
* | gpsd_get_speed_old usage was lost on exit | Jon Schlueter | 2012-09-09 | 1 | -1/+1 |
| | | | | | | | in the gpsd_get_speed conversion where we lost resetting the speed to the old speed on exit in serial.c Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Nuke trailing whitespace in C source. | Eric S. Raymond | 2012-09-07 | 1 | -9/+9 |
| | |||||
* | Change the API so the yermios strucytture is not publicly exposed. | Eric S. Raymond | 2012-09-07 | 1 | -3/+13 |
| | | | | | | | | Becauser this changed the libgpsd API but not the libgps one, libgpsd now has its own version number. (Doing otherwise would have inflicted a gratuitous binary-compatibility break on application developers). All regression tests pass. Audit check runs clean. | ||||
* | Minor cleanup for bluez code suggested by ukyg9e5r6k7gubiekd6, | Eric S. Raymond | 2012-09-07 | 1 | -2/+2 |
| | |||||
* | Clean up initial rate-setting when port speeits are fixed. | Eric S. Raymond | 2012-09-05 | 1 | -2/+14 |
| | |||||
* | Accept Freescale UARTS as RS232 devices. | Stephen Cavilia | 2012-06-22 | 1 | -1/+2 |
| | | | | | | | The on-chip UARTs on Freescale i.MX processors use device names /dev/ttymxc[012] and major number 207 on linux. These will get classified as an unknown source type by gpsd. Attached patch makes them classify as standard RS232 devices. | ||||
* | Make sure an invariant is preserved. | Eric S. Raymond | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | Split gpsd_hexdump() so AIS dumping will be invertible. | Eric S. Raymond | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | splint gets confused by declarations after statements. | Eric S. Raymond | 2012-06-19 | 1 | -1/+3 |
| | |||||
* | More cppcheck warning fixups. All regression tests pass. | Eric S. Raymond | 2012-05-18 | 1 | -0/+1 |
| | |||||
* | Typo fix. | Eric S. Raymond | 2012-05-07 | 1 | -1/+1 |
| | |||||
* | Attempt to fix the Bluetooth socket leak reported by Eckhart Woerner. | Eric S. Raymond | 2012-02-26 | 1 | -0/+1 |
| | |||||
* | Added B230400 as a baud rate. | Eric S. Raymond | 2012-02-17 | 1 | -5/+9 |
| | | | | I didn't know the termios.h standard set went that high! | ||||
* | serial: use cfgetispeed helpers | Manuel Lauss | 2012-01-13 | 1 | -8/+1 |
| | | | | | | | | | | Rather than poking c_ispeed directly, use the cfgetispeed helper. This is part of POSIX, and we already use cfsetispeed, so there shouldn't be any portability issues here. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Try to forestall buggy kernels from holding an exclusion lock... | Eric S. Raymond | 2012-01-10 | 1 | -0/+1 |
| | | | | ...after device close. | ||||
* | c_ispeed is missing in the termios struct on some architectures. | Bernd Zeimetz | 2011-11-14 | 1 | -0/+7 |
| | | | | So set the serial parameters always in case we can't read c_ispeed. | ||||
* | Verified fix for Savannah bug #34562: error in json encoded device list. | Eric S. Raymond | 2011-10-24 | 1 | -0/+5 |
| | |||||
* | Attempted fix for Savannah bug #34562: error in json encoded device list. | Eric S. Raymond | 2011-10-23 | 1 | -1/+9 |
| | |||||
* | Don't try to revert serial parameters on exit if we didn't have to change them. | Eric S. Raymond | 2011-10-12 | 1 | -8/+16 |
| | |||||
* | Fix up fusercount() to work correctly. | Eric S. Raymond | 2011-08-23 | 1 | -6/+4 |
| | |||||
* | Now that fusecount() is working, it turns out to be dangerous. Disable it... | Eric S. Raymond | 2011-08-23 | 1 | -5/+5 |
| | | | | ...until we figure out what's going on. All regression tests pass. | ||||
* | Fix some coding errors in fusercount(). | Eric S. Raymond | 2011-08-23 | 1 | -2/+3 |
| | |||||
* | Add fixed_stop_bits option. | Eric S. Raymond | 2011-06-22 | 1 | -1/+10 |
| | |||||
* | Improve the code for making sensor data and command strings visible... | Eric S. Raymond | 2011-06-17 | 1 | -2/+2 |
| | | | | | ...and remove some const declarations that could have spelled trouble in the future. | ||||
* | Remove gpsd_hexdump_wrapper() from everything outside the packet sniffer. | Eric S. Raymond | 2011-06-17 | 1 | -3/+4 |
| | |||||
* | Code slimming. | Eric S. Raymond | 2011-06-11 | 1 | -4/+1 |
| | |||||
* | Fix the minimal build. | Eric S. Raymond | 2011-03-29 | 1 | -1/+1 |
| | |||||
* | Squeeze out some more code in the fixed-port-speed case. | Eric S. Raymond | 2011-03-29 | 1 | -0/+10 |
| | |||||
* | Documentation update. All regression tests pass. | Eric S. Raymond | 2011-03-24 | 1 | -1/+1 |
| | |||||
* | Try to move NTP link activation and deactivation up to the disparcher layer. | Eric S. Raymond | 2011-03-24 | 1 | -16/+0 |
| | |||||
* | Give timestamps their own typedef. No logic changes. | Eric S. Raymond | 2011-03-10 | 1 | -1/+1 |
| | | | | All regression tests pass, splint and cppcheck pass. | ||||
* | Remove pass_rtcm(), | Eric S. Raymond | 2011-02-27 | 1 | -1/+1 |
| | | | | | Replace it wuth what it calls, gpsd_write(). Requiresd only a prototype tweak and some casts, no logic changes. All regression tests pass. |