summaryrefslogtreecommitdiff
path: root/jsongen.py
Commit message (Collapse)AuthorAgeFilesLines
* Address Savannah bug #44951: Missing sequence ID fields in AIS Type 7 and 13...Eric S. Raymond2018-12-261-0/+4
| | | | ...messages - AIVDM.txt
* Remove some remnant splint annotations.Eric S. Raymond2018-08-081-3/+0
|
* jsongen.py: pep8 cleanup.Gary E. Miller2018-07-261-0/+1
| | | | Note the program pep8 is now called pycodestyle
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* jsongen.py: pep8 fixesGary E. Miller2017-07-011-41/+54
|
* 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.
* De-templatize three files that didn't need it.Eric S. Raymond2016-03-261-0/+1047
|
* I missed the fact that jsongen.py is now generated from jsongen.py.in...Eric S. Raymond2009-11-261-492/+0
| | | | ...it was someine else's commit. Delete it, undoing a previous commit.
* This generator file should have been in the repo long since.Eric S. Raymond2009-11-261-0/+492
|
* Generate jsongen.py and maskaudit.py from templates... Greg Troxel2009-11-211-492/+0
| | | | | | | | | | | ...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.
* Typo fix.Eric S. Raymond2009-09-231-1/+1
|
* Fully support AIS type 22 and 23 messages. All regression tests pass.Eric S. Raymond2009-09-221-2/+18
| | | | Codebase splints clean.
* More splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-1/+8
|
* Use CYCLE_END condition for the 2-part mal-design of AIS message 24 properly.Eric S. Raymond2009-09-031-10/+9
|
* Comment fixes.Eric S. Raymond2009-09-011-1/+1
|
* Generated AIS parser code compiles. All tests pass.Eric S. Raymond2009-09-011-158/+46
| | | | String field postprocessing and unit tests are next.
* More fixes for dumping of AIS message 19.Eric S. Raymond2009-09-011-16/+38
| | | | | Checkpoint before integrating generated parser code. All regression tests pass.
* Fix dumping of AIS message 20. Eric S. Raymond2009-09-011-8/+191
| | | | | All regression tests pass. Checkpoint before attempting to generate code for the rather nasty two-part message 24.
* Fix dumping of AIS message 19 (dte was missing). Eric S. Raymond2009-09-011-2/+115
| | | | | Code generation for AIS messages up to 19. Rebuild two affected regression tests (all tests pass).
* More code generation - up to AIS message 13 now.Eric S. Raymond2009-09-011-14/+97
| | | | All regression tests pass.
* Field type data for AIS message 5.Eric S. Raymond2009-09-011-25/+51
|
* More code-generation machinery.Eric S. Raymond2009-09-011-22/+20
|
* Generator now works for messages 1, 2. 3, and 4.Eric S. Raymond2009-09-011-14/+49
|
* Split into spec translation and generation.Eric S. Raymond2009-09-011-49/+82
|
* Proof of concept for JSON parder generation.Eric S. Raymond2009-09-011-0/+89