summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a minimum packet length to every driver.Eric S. Raymond2015-01-2915-0/+36
| | | | Length 0 means the minimum is unknown and the driver should use character I/O.
* Remove the failed adaptive-delay experiment.Eric S. Raymond2015-01-293-97/+0
| | | | | | | | Instead, we're going to try telling the tty layer to deliver input in chunks larger than chracters, with a timeout. That way the select call in the main loop will return data ready less often. All regression tests pass.
* Document that -m ignores comment packets.Eric S. Raymond2015-01-291-2/+2
|
* Add gpsdecode -m option for dumping minimum packet lengths.Eric S. Raymond2015-01-293-1/+37
|
* Add more help to test_nmea2000.Reinhard Arlt2015-01-291-6/+34
|
* Improve test_nmea2000.Reinhard Arlt2015-01-291-6/+27
|
* First version of test_nmea2000 testscript.Reinhard Arlt2015-01-291-0/+53
|
* Using SIOCOUTQ to flush output on client socket close caused a hard hang.Eric S. Raymond2015-01-281-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To replicate the problem: (1) Check out the parent of this revision. (2) Run "gpsd -n -N -D 3 /dev/ttyUSB0" substituting the device as needed. (3) Run the following script in another window: while true do date ./gpspipe -n 3 -R -o /dev/null # hang if gpsd is sick ./gpspipe -d -R -o /dev/null sleep 2 DELAY=$RANDOM # 0-32K #usleep ${DELAY}00 # 0-3 seconds sleep `echo "scale=6; $DELAY / 1000000" | bc` killall gpspipe #ps ax | grep gpspipe done (4) Run gpsmon in a third window. gpsd will hang in 3-5 minutes, requiring kill -9, in the kernal hrtime function.
* Add netbsd5-specific gpsfake timing and comments.Greg Troxel2015-01-281-0/+14
| | | | | It seems NetBSD-5 has different behavior than 6. Add a new if branch for 5 with longer delays.
* Shorten OS X delays.Greg Troxel2015-01-281-3/+7
|
* Remove a guard that is duplicated in the called function.Eric S. Raymond2015-01-281-11/+9
| | | | All regression tests pass.
* Merge branch 'master' of git://git.sv.gnu.org/gpsdReinhard Arlt2015-01-281-1/+2
|\
| * Reduce OSX delay slightly, and add datapoint.Greg Troxel2015-01-281-1/+2
| |
* | Add logfile and checkfile for nmea2000.Reinhard Arlt2015-01-282-0/+25242
|/
* Reduce log verbosity.Eric S. Raymond2015-01-271-2/+2
|
* Try a simpler adaptive-delay formula that produces shorter delays.Eric S. Raymond2015-01-272-8/+15
| | | | All regression tests pass.
* Use %.3f for WRITE_PAD, because 0.004 is a typical value.Greg Troxel2015-01-271-1/+1
|
* Fix an erroneous format literal.Eric S. Raymond2015-01-271-1/+1
|
* Make PPS delivery troubleshooting a bit easier. All regression tests pass.Eric S. Raymond2015-01-272-10/+24
|
* gps/fake.py: Add more OSX test failure datapoints.Greg Troxel2015-01-271-1/+3
|
* Minor date tweaks to Time Service HOWTO.Eric S. Raymond2015-01-271-6/+9
|
* Clean up a silly clang warning. All tests continue to pass with a clang build.Eric S. Raymond2015-01-271-1/+2
|
* Fix clang's only warning in non-test code, about a cast in the shmexport code.Eric S. Raymond2015-01-272-3/+3
| | | | | | | All regression tests pass with both gcc- and clang-built binaries. One clang warning remains in the JSON test code.
* Make delays super high on darwin.Greg Troxel2015-01-271-2/+2
|
* Instrument PPS ioctl()s so we know for sure what device they're being fired at.Eric S. Raymond2015-01-271-5/+6
| | | | All regression tests pass.
* Documentation improvements.Eric S. Raymond2015-01-272-30/+11
|
* Apply de Morgan's law properly.Eric S. Raymond2015-01-271-1/+1
| | | | All regression tests pass.
* Improved adaptive-delay logic. Don't insert them if CAN devices are in play.Eric S. Raymond2015-01-272-18/+18
| | | | All regression tests pass.
* Fix typo in howto. As reported by Mike Stewart.Gary E. Miller2015-01-261-1/+1
|
* Implement and document the buzzkill option.Eric S. Raymond2015-01-263-5/+48
| | | | All regression tests pass.
* build system cleanup of duplicate CFLAGS entriesJon Schlueter2015-01-261-2/+4
| | | | | | | | | | | Add guards when adding in warnings to check for so that we don't add duplicate entries to CFLAGS This also deals with the warning generated with scons qt=on about -Wmissing-prototypes not a valid C++ option The error is that qt_env is stripping one copy of -Wmissing-prototype and -Wstrict-prototyes from CFLAGS so that it can compile with CXX
* Tighter guard on buf variable in gpsmon.c to match usageJon Schlueter2015-01-261-0/+2
| | | | -Wunused-variable warning hunting cleanup
* Pretend CAN devices are pseudo-ttys to disable adaptive delays.Eric S. Raymond2015-01-261-0/+7
| | | | All regression tests pass.
* Prevent TIOCMIWAIT from beinf sent to non-serial devices.Eric S. Raymond2015-01-261-9/+11
| | | | All regression tests pass.
* Regularize comments and add OS X case.Greg Troxel2015-01-251-4/+6
| | | | | This is a comment-only change. It notes that OS X regression tests fail, even with long times.
* Add delays for DarwinGreg Troxel2015-01-251-0/+9
|
* Print sys.platform and platform.platform().Greg Troxel2015-01-251-1/+1
| | | | | They are different! This code printed one, and the if statement in gps/fake.py used the other.
* Use full path to gpsfake, avoiding installed versions.Greg Troxel2015-01-251-1/+1
|
* Default qt build on again, since we've merged a header guard patch.Eric S. Raymond2015-01-252-5/+4
|
* Skip writespace *before* looking for word length.Eric S. Raymond2015-01-251-2/+2
| | | | All regression tests pass.
* pylint cleanup. All regression tests pass.Eric S. Raymond2015-01-252-4/+4
|
* API major version bump.Eric S. Raymond2015-01-251-3/+4
|
* Document recent changes.Eric S. Raymond2015-01-251-2/+4
|
* Quieter bits testing.Eric S. Raymond2015-01-251-2/+3
|
* Dump platform ID and delay parameters before doing test runs.Eric S. Raymond2015-01-252-3/+6
|
* SIOCOUTQ build fix required for older Ubuntu versions.Eric S. Raymond2015-01-251-1/+2
|
* Ubuntu 11.0 is no longer 'recent'.Eric S. Raymond2015-01-241-1/+1
|
* Under Linux, delay client socket close until pending data has shipped.Eric S. Raymond2015-01-241-0/+16
| | | | | | This is not, alas, sufficient to allow us to zero out CLOSE_DELAY; I tried. But it can't hurt, and might help in combination wuth some black magic we have yet to discover.
* Give full path to fake.py.Greg Troxel2015-01-241-1/+1
|
* In client library, "dip" member was missing from ATT parsing.Eric S. Raymond2015-01-241-0/+2
| | | | | | Should fix Savannah bug #43789: Dip and mag_x are not available in gps_data_t All regression test pass.