summaryrefslogtreecommitdiff
path: root/xgps
Commit message (Collapse)AuthorAgeFilesLines
* Don't let NoiseView widget be confused by Python 3 float division.Eric S. Raymond2016-03-291-1/+1
|
* xgps/xgpsspeed port cleanup: deal with Python 3 division semantics.Eric S. Raymond2016-03-251-3/+4
|
* xgps and xgpsspeed are fully polyglot...Eric S. Raymond2016-03-251-1/+1
| | | | ...change their shebang lines to plain Python.
* Remove unneeded code.Eric S. Raymond2016-03-241-4/+2
|
* Port xgps to GTK 3.0 using gi bindings.Eric S. Raymond2016-03-241-62/+63
| | | | | | | Removes a dependency on the deprecated gobject/pygtk bindings. Note: this leaves build.txt out of date. To be fixed when we deal with xgpsspeed.
* Clear out a remnant of the old pre-JSON protocol in the Python code.Eric S. Raymond2016-03-221-1/+1
| | | | Also, set xgps back to requiring python2 because of the gobject problem.
* pylint cleanup.Eric S. Raymond2016-03-221-1/+1
|
* Forward-port Python utilities to run polyglot under either Python 2 or 3.Eric S. Raymond2016-03-221-3/+4
| | | | | | For the moment most shebang lines still say 'python2' rather than just 'python'. This is because the client code in gps/ hasn't been touched yet; the internal imports break under Python 3 and that needs to be fixed.
* [pep8] autopep8 whitespace cleanupJon Schlueter2016-02-091-0/+2
| | | | | large scale autopep8 cleanup of several pep8 whitespace warnings
* Change Python hashbang lines to invoke 'python2'Eric S. Raymond2015-07-191-1/+1
| | | | | | We've learned that Ubuntu 15.10 will have python3 as default. The ugly transition gas befun; our only recourse is to hape that all our deployment targets have 'pyton2' do the right thing. Works on 14.10.
* Correct buggy detection of SBAS satellites in the Python client code.Eric S. Raymond2015-04-071-2/+1
| | | | | Before this fix, satellites from the Beidou or QZNSS wuld have been incirrectly displayed with the SBAS shape.
* Update PRNMAX to include GLONASS in xgps et alSanjeev Gupta2015-04-071-1/+1
|
* Update PRNMAX to includeSanjeev Gupta2015-04-071-1/+1
|
* pep8 cleanup of whitespace in xgpsJon Schlueter2015-03-021-2/+0
|
* pep8 whitespace cleanup in xgpsJon Schlueter2015-02-131-61/+76
| | | | | | | | | | | spaces around operators no extra spaces around parameter binding assignments spaces around = for assignment normalized whitespace between functions and classes indentation normalization two spaces before a comment # and one space after it Should be no actual code changes just stylistic cleanup for readablity
* Add missing import getopt package for xgpsJon Schlueter2015-02-131-0/+1
|
* split out and sort imports in xgps for pep8 cleanupJon Schlueter2015-02-131-3/+8
|
* pylint validation pass. All regresio tests pass, xgps runs live.Eric S. Raymond2014-08-231-12/+13
|
* Partial pylint cleanup. All regression tests pass, xgps works.Eric S. Raymond2013-11-151-9/+9
|
* Fix up xgps to use _text names.Eric S. Raymond2013-10-011-3/+3
|
* Savannah bug #36691: xgps shows wrong units for eps, epc, epd.Michael Tatarinov2012-06-201-3/+17
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* More Python sanity checking.Eric S. Raymond2011-10-281-12/+13
|
* Added selection step of grid in xgps.Michael Tatarinov2011-10-031-8/+28
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Partial pychecker cleanup.Eric S. Raymond2011-08-261-7/+7
|
* pychecker cleanup.Eric S. Raymond2011-08-261-2/+2
|
* Display GST noise statistics in xgps if they are available.Eric S. Raymond2011-03-301-18/+65
|
* Teach xgps to display the Maidehead grid locator.Eric S. Raymond2011-03-291-3/+28
|
* Exit without trailing debris on Ctl-C.Eric S. Raymond2011-02-241-48/+52
|
* Make xgps indifferent to whether it gets float or string time.Eric S. Raymond2011-02-241-1/+2
|
* xgps/xgpsspeed: Check for a usable display before writing to it.Bernd Zeimetz2011-02-191-0/+2
| | | | | This avoids coredumps in case DISPLAY is not usable. See http://bugs.debian.org/602925 for details.
* Prevent xgps from fooing up on JSON with no device label.Eric S. Raymond2011-02-111-1/+1
|
* Tweak a field size.Eric S. Raymond2011-02-021-0/+2
|
* Remove a dependency on the number of rows.Eric S. Raymond2011-02-021-5/+1
|
* Exile noise statistics from main display of xgps.Eric S. Raymond2011-02-021-10/+14
| | | | | Only one device is known to generate them, and they clutter the display badly for the others.
* Fix a screen-layout multiplier.Eric S. Raymond2011-02-021-1/+1
|
* Be clearer about which quantities are not available.Eric S. Raymond2011-02-021-0/+1
|
* Magic-number elimination.Eric S. Raymond2011-02-021-3/+7
|
* Process GPGST into noise statistics. All regression tests pass.Thomas Sprinkmeier2011-02-011-5/+20
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Timestamps in TPV and SKY go from float seconds since Unix epoch to ISO8601.Eric S. Raymond2011-01-291-1/+1
| | | | | | | | 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).
* Sort the sat list in xgps, Thanks to Thomas SprinkmeierGary E. Miller2011-01-191-0/+12
|
* Try to bulletproof xgps against missing satellite data.Eric S. Raymond2010-12-161-14/+15
|
* Something's still wonky in the Geostar driver. Bulletproof xgps against this.Eric S. Raymond2010-12-161-3/+3
|
* xgps: Typos and comments.M Joonas Pihlaja2010-08-311-9/+10
|
* xgps: Make sure everything in SkyView agrees on the grid fit horizon circle.M Joonas Pihlaja2010-08-311-6/+18
| | | | | | Factor out a procedure to fit a circle to the grid and make sure the horizon circle's parameters self.centre_x/y and self.radius are fit to the grid.
* xgps: Unclutter horizon circle computations.M Joonas Pihlaja2010-08-311-10/+11
| | | | | | | The construct int(self.width / 2), int(self.height / 2) is repeated in the code to get the center of the horizon circle Replace all those with self.center_x/y and purge self.width and self.height from the SkyView class.
* xgps: Grid fit coordinates to sharpen up lines.M Joonas Pihlaja2010-08-311-4/+31
| | | | | | | | Apply the grid fitting method from http://cairographics.org/FAQ/#sharp_lines to ensure lines and circles are nice and sharp.
* xgps: Remove gratuitous saves and restores of cairo context.M Joonas Pihlaja2010-08-311-16/+0
| | | | | | The save()/restore() pairs do nothing for the code, since there's no state modification between the pairs that actually gets saved by CairoContext.save().
* xgps: Use colour components in [0,1] rather than [0,255].M Joonas Pihlaja2010-08-311-2/+2
| | | | | Cairo will clamp values > 1.0 to 1.0 so no harm done, but it's misleading to use set_source_rgb(255,255,255).
* xgps: Fix setting colours by name.M Joonas Pihlaja2010-08-311-1/+5
| | | | | | PyCairo doesn't have a CairoContext.set_source_color(GdkColor) method, so we need to extract the r,g,b components manually and use set_source_rgb() instead.
* Draw the sky view using Cairo instead of GDKBernd Zeimetz2010-08-311-55/+88
| | | | (This reverts my commit of Tue 06 Jul 2010 10:11:54 +0200).