summaryrefslogtreecommitdiff
path: root/gegps
Commit message (Collapse)AuthorAgeFilesLines
* Makes "future imports" and Python version comments consistent.Fred Wright2016-04-101-2/+3
| | | | | | | | | | | | | | | | | | | | This makes the "future import" statements consistently specify absolute_import, print_function, and division, for maximum consistency between Python 2 and Python 3. Although absolute_import is probably a don't care for top-level programs, if unit tests were ever implemented for the programs they would be imported as modules, making the module import behavior relevant. Note that previous Python 3 fixes are a prerequisite for this change. Also makes the "polyglot comment" consistent across sources. TESTED: Using a version of SConstruct patched to use the target Python for build helpers, ran "scons build-all check valgrind-audit www/hardware.html" with all six supported Python versions. Also ran gegps, gpscat, gpsprof, xgps, and xgpsspeed with both Python 2 and Python 3.
* Restore language about 2.6 portability, clean up Python imports.Eric S. Raymond2016-03-271-1/+1
|
* gegps now runs polyglot under Python 2 and 3.Eric S. Raymond2016-03-221-2/+3
|
* Forward-port Python utilities to run polyglot under either Python 2 or 3.Eric S. Raymond2016-03-221-2/+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-1/+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.
* Add gegps to the pychecker set, and clean up one glitch pychecker revealed.Eric S. Raymond2011-08-261-2/+2
|
* make gegps executableMiroslav Lichvar2011-08-081-0/+0
|
* Bring Python's stream method up to date so it matches the C one.Eric S. Raymond2011-06-241-3/+1
| | | | This means WATCH_NEWSTYLE is defaulted to properly. All regression tests pass.
* Live-feed support for Google Earth.Eric S. Raymond2011-06-241-0/+101