summaryrefslogtreecommitdiff
path: root/gpsdecode.c
Commit message (Collapse)AuthorAgeFilesLines
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-3/+4
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-5/+0
|
* Correct some erroneous IS8061 formating.Eric S. Raymond2010-06-131-1/+1
|
* The last change in gpsdecode was not entirely correct. Fixes from Nirgal.Eric S. Raymond2010-05-201-9/+9
|
* Switch the CSV format emitted by gpsdecode(1) to DSV using |.Eric S. Raymond2010-05-191-23/+23
| | | | | | | | | | The problem with CSV is that string fields (such as ship name in type 5) can contain commas. I could have backslash-escaped them, but I think it's better to make old scripts fail in a way that's likely to be noticed than perpetuate a situation in which unescaped commas could cause output to be unpacked wrongly. I changed the Python decoder as well. Required rebuilding one regression test. All regression tests pass.
* In AIS message types 6 and 8, split app_id into DAC and FID per ITU-1371.Eric S. Raymond2010-05-101-4/+6
| | | | | | | | | | | | Wire protocol and API minor versions get bumped. All changes are as documented in AIVDM.txt, which now describes known message 6 and 8 subtypes. Involved rebuilding a couple of AIS regression tests. All regression tests pass. Also includes various typo fixes for AIVDM.txt discovered by Baylink while we were reviewing these changes.
* Complete privious change. Required rebuilding of three regressin tests.Eric S. Raymond2010-05-091-1/+1
|
* C AIS decoder now has separate contexts for A and B channels.Eric S. Raymond2010-05-091-1/+1
| | | | AIS regression test passes.
* Prevent gpsdecode from seeinmg uniinitialized stack garbage.Eric S. Raymond2010-05-091-0/+1
| | | | | Change suggested by Nirgal <contact_gpsd@nirgal.com>. All regression tests pass.
* Extend AIS idempotency test coverage.Eric S. Raymond2010-04-261-0/+3
|
* Give up on RTCM2 repack support. It's broken, and unlikely ever to be needed.Eric S. Raymond2010-04-251-20/+6
|
* Reindent two more programs. That's everything except xgpsspeed/Tachometer.c.Eric S. Raymond2010-04-141-138/+129
| | | | All regression tests pass.
* Fix gpsdecode compilation when one of the rtcm104 versions is disabled.Eric S. Raymond2010-03-271-0/+4
| | | | Signed-off-by: esr@thyrsus.com
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-3/+2
|
* Eliminate more Subversion tracks...Eric S. Raymond2010-03-131-1/+1
| | | | ...converting where appropriate to git references.
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+5
|
* Support for JSON dumping and parsing of AIS message types 25 and 26.Eric S. Raymond2010-03-051-0/+23
| | | | These are not yet observed in the wild on AISHub.
* Improved handling and documentation of AIS type 22 messages.Eric S. Raymond2010-01-301-14/+28
|
* Document that a trailing @ should terminate a packed-six-bit AIS string.Eric S. Raymond2009-11-301-0/+2
| | | | Ensure that both decoders do this.
* Corrections to the AIS specification, and one fieldname.Eric S. Raymond2009-11-261-1/+1
|
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+0
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* End pointer returned by the JSON parser needs to be passed back up...Eric S. Raymond2009-11-181-1/+1
| | | | ...so we can handle multiple responses per write.
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-1/+1
| | | | All regression tests pass.
* Fully support AIS type 22 and 23 messages. All regression tests pass.Eric S. Raymond2009-09-221-1/+14
| | | | Codebase splints clean.
* More splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-25/+27
|
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-4/+4
|
* Uniform treatment of line terminations.Eric S. Raymond2009-09-071-1/+1
|
* Remove a duplicative storage declaration.Eric S. Raymond2009-09-061-3/+8
|
* Use CYCLE_END condition for the 2-part mal-design of AIS message 24 properly.Eric S. Raymond2009-09-031-26/+19
|
* Generated AIS parser code compiles. All tests pass.Eric S. Raymond2009-09-011-12/+5
| | | | String field postprocessing and unit tests are next.
* Fix dumping of AIS message 19 (dte was missing). Eric S. Raymond2009-09-011-6/+7
| | | | | 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/+14
| | | | All regression tests pass.
* Back out a change that broke regression tests. All tests pass.Eric S. Raymond2009-08-301-1/+1
|
* AIS dumper's signature has changed. Integrate AIS parsing on the library side.Eric S. Raymond2009-08-291-20/+12
|
* New CSV AIS dump code is verified correct.Eric S. Raymond2009-08-281-2/+5
| | | | All regression tests pass.
* Change the check file in the AIVDM regression test to use unscaled CSV.Eric S. Raymond2009-08-281-1/+307
| | | | | Extract the code for dumping unscaled CSV out of the driver into gpsdecode.c. (This is preparation for drastically simplifying the main AIS dump function.)
* JSON decoding for RTCM2 types 3, 7, and 16 is verified.Eric S. Raymond2009-08-281-3/+3
|
* Passthrough check of RTCM2 JSON decoding works for message types 1 and 9.Eric S. Raymond2009-08-281-33/+27
|
* Remove parser for Sager dump format.Eric S. Raymond2009-08-271-61/+8
| | | | | | | | | | | | While testing prototype code for RTCM2 JSON parsing, I discovered that the code for undumping RTCM2 from Sager textual format stopped working years ago, in a subtle way that passed its regression tests. Nobody noticed, probably because nobody has ever used it. This was probably the dustiest corner in the entire gpsd codebase. I'm simply dropping the entire mess out. We'll get back an equivalent capability for free when I finish writing the code for filling struct rtcm2 from JSON.
* Allow RTCM2 encoder to ignore comments.Eric S. Raymond2009-08-271-2/+6
|
* Give gpsdecode the capability to encode from RTCM2 JSON. Not yet tested.Eric S. Raymond2009-08-271-4/+11
|
* Support JSON dumping for RTCM2 messages.Eric S. Raymond2009-08-121-2/+5
|
* Handle some line-termination issues more cleanly.Eric S. Raymond2009-07-291-0/+1
|
* A step twards reporting AIS data in gpsd. All regression tests pass.Eric S. Raymond2009-07-241-2/+5
|
* First cut at JSON dumping of AIVDM. Eric S. Raymond2009-06-051-5/+5
| | | | Will need some cleanup, but the basic logic is in place.
* Clean up splint and compilation warnings, fix minor gpsdecode option bugs.Eric S. Raymond2009-05-281-5/+1
|
* Significant simplification of the packet-getter interface. Eric S. Raymond2009-03-271-4/+2
| | | | | | | | packet_get() now always returns nonzero when it could either read fresh data or assemble a packet from data already read and buffered -- no more returning 0 when it has assembled a packet from buffered data but can't read any new data. I suspect this may have been causing subtle bugs.
* splint cleanup.Eric S. Raymond2009-03-181-0/+2
|
* More refactoring of the AIVDM code.Eric S. Raymond2009-03-151-315/+7
|
* Back down to where all regression tests, including RTCM, still pass.Eric S. Raymond2009-03-151-25/+9
| | | | Previous approach was not working.