summaryrefslogtreecommitdiff
path: root/gpsclient.c
Commit message (Collapse)AuthorAgeFilesLines
* LICENSE: Update licenses for consistency. No functional changes.Gary E. Miller2018-11-191-2/+3
|
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* Well, duh, You can't change a constant!Gary E. Miller2016-08-161-2/+2
| | | | | Funny, only OS X seemed to obey the 'const' qualifier. A long standing bug just got smoked out.
* OS X incorrectly complains about an uninitializzed variable.Gary E. Miller2016-08-161-2/+2
| | | | So just placate it with an initializer.
* Fixes Python C extensions for Python 3 compatibility.Fred Wright2016-04-091-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | These are necessary, but not sufficient, changes to make the C extensions work "polyglot". These are believed to be complete as far as the C code is concerned, and don't break Python 2 compatibility. This puts all the stuff that needs to differ between Python 2 and Python 3 into conditionally-defined macros in a new header file python_compatibility.h. The definitions assume Python 2.6 or later. In addition to the things requiring conditionals, the Lexer object was using the deprecated tp_getattr entry, with a function based on Py_FindMethod, which is gone in Python 3. However, the newer tp_getattro entry can be pointed directly to PyObject_GenericGetAttr, which works in Python 2 and 3. Packet data returned by the Lexer is now 'bytes' in Python 3, which is appropriate given that it may contain binary data. However, it means that packet data can't be passed directly to anything expecting a 'str'. In Python 2, the data is just a 'str' as usual. TESTED: Ran "scons build-all check" and xgps (using Python 2.7). Also ran the daemon and maidenhead-locator tests with Python 2.6.
* A gaggle of whitespace gaffs.Gary E. Miller2015-04-301-1/+1
|
* gps.h gets installed in /usr/include and must not use other GPSD-specific files!Eric S. Raymond2015-02-261-0/+1
| | | | | | | It's bad that this get past me. Anybody who tries writing a C client with 3.12 is going to lose. Requires a release to fix. All regression tests pass.
* Code is fully cppcheck, splint, and Coverity clean.Eric S. Raymond2013-11-061-0/+1
| | | | All regression tests pass. PPS is live.
* Comment and typo fixes.Eric S. Raymond2011-04-171-0/+1
|
* Banish some pointless compiler warnings.Eric S. Raymond2011-04-171-4/+6
|
* Make the Maidenhead convrter available in Python.Eric S. Raymond2011-03-291-0/+14
|
* Fix error introduced by changing the name of clienthelpers.Eric S. Raymond2010-04-171-2/+2
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+1
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* Rename gpsclient extension module so it initializes properly.Eric S. Raymond2009-12-161-0/+82