summaryrefslogtreecommitdiff
path: root/maskaudit.py.in
Commit message (Collapse)AuthorAgeFilesLines
* Forward-port Python utilities to run polyglot under either Python 2 or 3.Eric S. Raymond2016-03-221-11/+16
| | | | | | 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 maskaudit.py.in whitespace cleanupJon Schlueter2015-02-131-10/+17
|
* pep8 cleanup to split out imports in maskaudit.py.in to individual linesJon Schlueter2015-02-131-1/+5
|
* pylint validation pass. All regresio tests pass, xgps runs live.Eric S. Raymond2014-08-231-7/+7
|
* Add some generation warnings.Eric S. Raymond2013-11-241-0/+2
|
* Partial pylint cleanup. All regression tests pass, xgps works.Eric S. Raymond2013-11-151-2/+2
|
* Add a warning about gps_maskdump() being a security hog.Eric S. Raymond2011-03-311-0/+6
|
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-18/+19
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Use truly 64-bit constants for the 64-bit gps_mask_t flags.Eric S. Raymond2011-03-231-1/+1
| | | | All regression tests pass. Code splints clean.
* Minor fixes to mask auditing code.Eric S. Raymond2011-03-231-3/+3
|
* Attempt to ensure that mask constant expressions won't sign-extend.Eric S. Raymond2011-02-031-1/+1
| | | | All regression tests pass.
* Fix a code-generation issue.Eric S. Raymond2011-02-031-2/+4
|
* Most of the way to out-of-directory builds.Eric S. Raymond2011-01-281-2/+7
|
* Detect and scavenge unused daemon-side status-mask bit.Eric S. Raymond2010-04-101-9/+13
|
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-29/+39
| | | | | | | | | | | | | | | | | Large patch, no actual executable code changes except in three debug dumpers. Breaks up the *_SET status macros so the client side continues to use them, but the daemon uses a similarly-named set with an _IS suffix. This frees up two mask bits in both sets - the client side no longer needs to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs to have VERSION_SET and POLICY_SET. The only actual code change is that the maskdump.c module, generated by maskaudit.py, splits in half - one child now dumps client-side flags, the other daemon-side flags. One other function call in a debug dumper in libgps_core.c changes. All regression tests pass.
* Force Python Emacs mode in places where appropriate.Eric S. Raymond2010-04-021-1/+4
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+3
|
* Explicitly open gps.h in @srcdir@ instead of $CWD.Greg Troxel2009-12-021-1/+1
| | | | Passes 'make check' and improves 'make distcheck'.
* These should not be marked executable, because they aren't actually executable. Greg Troxel2009-12-021-0/+0
| | | | | Autoconf has been told to chmod +x the .py versions (and they are invoked with $(PYTHON) instead of being executed in case that fails).
* Generate jsongen.py and maskaudit.py from templates... Greg Troxel2009-11-211-0/+104
...so that @PYTHON@ can be substituted with the discovered path to python. Avoids the nonportable assumption that "/usr/bin/env python" will find python, because on pkgsrc systems python2.5 etc. are installed with no bare python to avoid programs binding to a version (and hence compiled extensions) that might change. This should cause no functional change on systems with 'python', and fix the build on pkgsrc-using systems.