summaryrefslogtreecommitdiff
path: root/gps
Commit message (Collapse)AuthorAgeFilesLines
* Remove a fossil from the Python binding.Eric S. Raymond2011-03-241-1/+0
|
* Document the unpack() method in C and Python APIs.Eric S. Raymond2011-03-242-2/+2
| | | | | | | | We're not bumping the minor API number because the C library has had this all along. Alas, it can't be made to fit the RAII model of the C++ binding. All regression tests pass.
* Emit "mode" before its dependent attributes in TPV, and timestamps with .3f.Eric S. Raymond2011-03-221-1/+1
| | | | Required a regression-test rebuild.
* Sync the Python and C++ bindings to the C one. Document it properly.Eric S. Raymond2011-03-181-0/+4
|
* Library time parsing is now backward-compatible with 2.95.Eric S. Raymond2011-03-101-1/+5
|
* waiting method in the Python binding gets a timeout argument.Eric S. Raymond2011-03-091-2/+2
|
* Have the Python packet-module interface export the character counter.Eric S. Raymond2011-03-011-1/+1
|
* Abandon the attempt to de-Unicodify JSON as it comes in.Eric S. Raymond2011-02-282-19/+4
| | | | | | | | | | This turned out to cause mike_t's bug with doubling of backslashes - praobably doue to a subtle bug in the Python encode feature. And it seems not to be necessary, as Python doesn't notice the difference between plain and Unicode strings unless they contain Unicode. Has the nice effect of simplifying the Python client code. The only place decoding to ASCII is now done is where a C extension needs it.
* Somewhat more effective asciifying in the Python client.Eric S. Raymond2011-02-221-14/+14
|
* Assume any 'satellites' attribute in JSON is a JSON array.Eric S. Raymond2011-02-221-1/+2
|
* Typo fixes.Eric S. Raymond2011-02-211-1/+1
|
* Greg Troxel says CLOSE_DELAY needed to go to 0.2 on his sytem to avoid trouble.Eric S. Raymond2011-02-181-2/+3
|
* Garbage-collect the client-side *SET flags.Eric S. Raymond2011-02-031-33/+30
|
* Cosmetic fix.Eric S. Raymond2011-02-021-21/+22
|
* Timestamps in TPV and SKY go from float seconds since Unix epoch to ISO8601.Eric S. Raymond2011-01-291-3/+3
| | | | | | | | Protocol version number is bumped. Python and C test clients are known to work; interfaces of the C and Python client bindings are unchanged. Third-party client-side bindings which rely on naively copying JSON members will break (implementers have been repeatedly warned not to do this).
* Catch and display regression errors from malformed JSON.Eric S. Raymond2011-01-291-1/+9
|
* Reorganize stream argument flags, and create one for timing data.Eric S. Raymond2011-01-262-10/+16
|
* The raw_hook mwember and set_raw_hook are gone; client API cleanup is done.Eric S. Raymond2011-01-251-8/+1
|
* Reduce the amount of padding time in the regression tests.Eric S. Raymond2011-01-231-2/+2
| | | | | | | | There may have been a real (minor) problem that needed to be solved this way at one time, but it was masking a major subtle bug in gpsd's packet handling that we have since fixed. We could probably set both pads to 0 on Linux but because I remember a trouble report from NetBSD I'm being a bit conservative.
* Various small fixes to Python client mode.Beat Bolli2011-01-051-3/+5
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Address Berlios tracker bug #17485: problem with isotime in gps.py.Eric S. Raymond2010-12-021-0/+1
|
* Fixing several Python identation errors.Bernd Zeimetz2010-08-291-2/+2
|
* Carry through and document the poll() -> read() change.Eric S. Raymond2010-07-143-4/+4
|
* Comment fix.Eric S. Raymond2010-06-101-1/+1
|
* Incorporate the tesults of a test by Greg Troxel (comment fix only).Eric S. Raymond2010-06-091-4/+3
|
* Comment fixes and clarifications.Eric S. Raymond2010-06-091-8/+11
|
* Fix wordo from previous edit.Greg Troxel2010-06-091-3/+3
| | | | (Comment change only.)
* Set CLOSE_DELAY to 1 second.Greg Troxel2010-06-091-2/+4
| | | | | 0.05s is not sufficient on NetBSD. (I believe 0.05s ends up being rounded to 0 when used with integer seconds.)
* Reintroduce write padding in hopes of making the test suite work under NetBSD.Eric S. Raymond2010-06-071-5/+21
|
* regress-driver fixesBeat Bolli2010-06-061-1/+1
| | | | | | | | | These changes are necessary on my 32-bit Linux to make the tests work again after the GPSD_HOME addition. The fake.py changes is needed in case GPSD_HOME is not set at all (my initial problem); the 2nd hunk exports GPSD_HOME for subprocesses of regress-driver and uses it internally.
* add GPSD_HOME environment variable support to gpsfakeJon Schlueter2010-06-051-8/+19
| | | | | | | | check the environment variable GPSD_HOME to find gpsd on path specified if not there check normal PATH env variable for gpsd added note about GPSD_HOME in gpsfake.xml but might not be in correct location changed regress-driver to use GPSD_HOME instead of adding current directory to the PATH
* Use 127.0.0.1 for loopback tests.Greg Troxel2010-06-041-1/+1
| | | | | | | | | Previously, the tests use 127.0.1.255. While it isn't clear if standards require communications to this address to work, historical behavior on BSD dating back to 4.4BSD is that 127.0.0.1 is the sole valid loopback address and the rest of 127/8 is unreachable due to a blackhole route. Therefore, avoid addresses other than 127.0.0.1 in 127/8. Causes et-332 test to pass on NetBSD.
* Speed up the test suite by killing the daemon faster.M Joonas Pihlaja2010-06-041-2/+5
| | | | | | | | The daemon is rather quick to die on command, so it's enough to keep on killing it until it's gone, rather than sending a signal to it once and then gratuitiously sleeping for a second. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Rip out grubby code from a previous attempt to fix the multipacket problem.Eric S. Raymond2010-06-041-11/+1
| | | | All regression tests pass.
* Following the multipacket fix, all tests now pass without write padding.Eric S. Raymond2010-06-041-10/+0
|
* Make packet sniffer pass packets with bad checksums with type BAD_PACKET.Eric S. Raymond2010-05-081-2/+0
| | | | | | | | Such packets used to be truncated to zero length with the packet type matched before the checksum was bad. This caused confusion at various points in the code that were checking for zero-length packets. All regression tests pass, both in pty and UDP modes.
* Make gpsfake detect when it pulls a 0-length packet from a logfile.Eric S. Raymond2010-05-071-0/+3
| | | | | When this happens, it indicates a bug in the packet getter. It should never do that.
* Sanity-check things that look like responses better.Eric S. Raymond2010-05-061-3/+4
|
* NUL-terminate write to control socket to avoid junk in log messages.Eric S. Raymond2010-05-051-3/+3
|
* Implement a -u switch to force the test framework to use UDP, not ptys.Eric S. Raymond2010-05-041-2/+3
| | | | | | The good news is that rgression tests all pass with this case and -u off. The bad news is that they fail with -u on. It looks like the switch forces some other bug, previously masked, into the open.
* Shutdown fails on a UDP socket.Eric S. Raymond2010-04-291-1/+1
|
* Remove obsolete FIXME.Eric S. Raymond2010-04-261-1/+0
|
* Restore interpretation of Serial: headers inb test loads.Eric S. Raymond2010-04-261-3/+3
| | | | And allow an explicit speed argument to override them.
* Add a sanity check.Eric S. Raymond2010-04-261-1/+1
|
* Hide the wire protocol a bit more effectively.Eric S. Raymond2010-04-261-0/+3
|
* Fix minor bug introduced by recent refactoring.Eric S. Raymond2010-04-261-0/+2
|
* Fix a delegation error.Eric S. Raymond2010-04-251-1/+1
|
* The gpsfake.py module can broadcacst on UDP rather than using a pty.Eric S. Raymond2010-04-251-37/+74
| | | | This is a step towards making UDP data sources work.
* Yet more Python-client refactoring. All regression tests pass.Eric S. Raymond2010-04-232-10/+9
|
* More Python client partitioning. All regression tests pass.Eric S. Raymond2010-04-222-188/+206
|