summaryrefslogtreecommitdiff
path: root/gps
Commit message (Collapse)AuthorAgeFilesLines
* Back off the last change to gps.fake.py to make regressions pass again.Eric S. Raymond2010-04-221-6/+29
| | | | | Matters were confused by some build-system breakage, but putting the end-of-line padding back in seems to fix things.
* Return the length of the data in read().Bernd Zeimetz2010-04-221-1/+1
| | | | | The legth of the remaining data might be 0 if the data in the buffer ends with \n.
* gps.py: Make next() work at all.Bernd Zeimetz2010-04-221-24/+4
| | | | | | The next function contained a code copy from __json_unpack, was buggy in general and did not support oldstyle connections. The current implementation should have the same function for newstyle connections.
* There are utf8 chars in the file, so let Python handle them.Bernd Zeimetz2010-04-221-0/+1
|
* Make verbose mode of gps.py actually work.Bernd Zeimetz2010-04-221-2/+8
|
* __set_device__ is define in next(), not in the class.Bernd Zeimetz2010-04-221-1/+1
|
* gps.py takes -v as option, not -w.Bernd Zeimetz2010-04-221-1/+1
|
* No more write padding in gpsfake. either.Eric S. Raymond2010-04-201-10/+0
| | | | All regression tests pass.
* gpsfake no longer relies on timeouts. All regression tests pass.Eric S. Raymond2010-04-201-19/+6
|
* Give gpsfake a way to prepare gpsd for graceful shutdown.Eric S. Raymond2010-04-201-2/+12
|
* Separate out common code a little better.Eric S. Raymond2010-04-181-20/+25
|
* Refactor gps client class.Eric S. Raymond2010-04-181-96/+109
| | | | | | | | Part of it is now split into a parent gpscommon that just handles the socket-handling and line-buffering aspects. This will allow it to be reused for a better interface class. All regression tests pass.
* Split gps.py apart to isolate historical cruft.Eric S. Raymond2010-04-163-96/+111
| | | | No logic changes. All regression tests pass.
* Better version of Jiri Techet's Python fixes; handles DEVICES response.Eric S. Raymond2010-04-161-9/+14
| | | | All regression tests pass.
* Change the value of the (never shipped) ATTITUDE_SET flag.Eric S. Raymond2010-04-161-2/+1
| | | | | | | Strictly cosmetic, but I wouldn't have gotten to do it after 2.93 without breaking binary compatibility. All regression tests pass.
* Minimal bug fixes to the Python interface by JirĂ­ Techet.Eric S. Raymond2010-04-161-2/+4
| | | | | | | The whole interface needs a rethink, as he correctly points out. All regression tests pass. Especially significant, as the test framework uses this module heavily.
* Remove unused library support for old-protocol responses other than FIOXY.Eric S. Raymond2010-04-151-68/+20
| | | | | | | | | | | | | The non-deprecated library entry points can only send 'W' and 'R", so library users can only see the responses that can occur in a 'W' stream (FIOXY). Thus, the code for the old single-shot responses (ABCDEKMNPQSTUV) is dead and can be removed. This change allows us to reclaim a client-side mask bit previously used by the 'E' command. Users were first warned against relying on these responses in 2005. Anybody who had been using them since since was asking for trouble.
* Fixed channel-overflow bug in xgps.Eric S. Raymond2010-04-101-1/+1
|
* Match C library, not that anybody is checking for this yet.Eric S. Raymond2010-04-051-1/+1
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-132-6/+2
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-113-0/+10
|
* Non-streaming operation of the Python exerciser doesn't make sense any more... Eric S. Raymond2010-03-101-22/+8
| | | | ...and the query() entry point is gone. Fixes Debian bug #569703.
* Fix a packaging error in 2.91, and make the json module import more robust.release-2.92Eric S. Raymond2010-03-031-2/+2
|
* Fix some Python import problems.Eric S. Raymond2009-12-171-5/+6
|
* Move the framework for faking a GPS so it's a submodule of the gps package.Eric S. Raymond2009-12-171-0/+530
|
* Put Python extension modules under "gps.".Eric S. Raymond2009-12-152-0/+697
The two Python extension modules used for our distribution test clients, gpslib and gpspacket, are now parts of an importable gps package. This change is needed so xgps2 (which is about to replace xgps) can depend only on being able to do "import gps". All regression tests pass.