Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More header portability auditing by deheader. | Eric S. Raymond | 2010-12-22 | 1 | -7/+0 |
| | |||||
* | Duplicate-inclusion and portability cleanup. All regression tests pass. | Eric S. Raymond | 2010-12-11 | 1 | -1/+0 |
| | |||||
* | Minor code cleanup, banishing warnings. | Eric S. Raymond | 2010-12-01 | 1 | -4/+3 |
| | |||||
* | Document a minor problem with AIVDO sentences and rebuild its regression test. | Eric S. Raymond | 2010-12-01 | 1 | -0/+10 |
| | |||||
* | Fixes SEGV on reception of short aivdm type 26 message | Nirgal Vourgère | 2010-11-14 | 1 | -0/+4 |
| | | | | | | | | | gpsd is crashing when receiving some messages such as !AIVDM,1,1,,A,J=IJuwOmoTt,2*3F because unsigned value ais->type26.bitcount is sometimes assigned a negative value. Signed-off-by: Bernd Zeimetz <bernd@bzed.de> | ||||
* | trailing whitespace removal in driver_aivdm | Jon Schlueter | 2010-11-06 | 1 | -7/+7 |
| | |||||
* | Rework diagnostic in driver_aivdm to print usable info | Jon Schlueter | 2010-11-06 | 1 | -3/+3 |
| | |||||
* | Enable much stricter compilation warnings | Eric S. Raymond | 2010-09-16 | 1 | -6/+6 |
| | | | | | | | | We now compile with -Wextra on and only the warning on missing fields in initializers turned off (because of the way some of thee JSON code is generated). Cleanups necessary to eliminate all warnings have been done. All regression tests pass. | ||||
* | Splint cleanup. | Eric S. Raymond | 2010-05-25 | 1 | -2/+2 |
| | |||||
* | Make sure 24A and 24B aivdm sentences are correctly aggregated. | Nirgal | 2010-05-22 | 1 | -6/+43 |
| | | | | | | | | Patch adds unit tests for all the collision cases. All regression tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Nirgal's AIVDM fix patch from the dev list, 2010-05-18. | Nirgal | 2010-05-21 | 1 | -36/+51 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always clean the resulting ais buffer, so that no garbage is left. Removed CLEAR macro. * Always returns false when decoding is incomplete, including for unsupported message types. * Warn about unknown messages of type 24C and 24D, return false. * Added support for AIS channels 1, 2 and empty. Maps respectively to 'A', 'B', 'A' and generate an error message. Added FIXME in code. * fragmented message fix. Ok that one is not minimal. It's only reader-sanity minimal ;) - Renamed context var "await" to "decoded_frags", because of its initial value of 0. It now contains the number of successfully decoded fragments in the complete sentence. - Added local var "nfrag" for expected fragment count. It used to be store in context directly, under name "await". Contexts are for keeping data across several calls! Things stored there unconditionally at the beginning of processing shouldn't be there, they should be on stack as temporary values. - Renamed local var "part" as "ifrag", it still contains the fragment id amongst nfrags fragments. All regression tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Minor bug in AIS sixbit decoding pointed out by Nirgal: 39 -> "'", not "`". | Eric S. Raymond | 2010-05-18 | 1 | -1/+1 |
| | |||||
* | Comment fix. | Eric S. Raymond | 2010-05-12 | 1 | -1/+1 |
| | |||||
* | Harden AIS driver against malformed or overlong messages. | Eric S. Raymond | 2010-05-12 | 1 | -4/+16 |
| | | | | All regression tests pass. | ||||
* | Fix AIS type 15 decoding and add a new test from Kurt Schwehr. | Eric S. Raymond | 2010-05-12 | 1 | -3/+4 |
| | |||||
* | In AIS message types 6 and 8, split app_id into DAC and FID per ITU-1371. | Eric S. Raymond | 2010-05-10 | 1 | -10/+14 |
| | | | | | | | | | | | | 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. | ||||
* | Fix AIVDM channel error message. | Beat Bolli | 2010-05-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Make AIVDM driver returnb false on truncated sentences. | Eric S. Raymond | 2010-05-09 | 1 | -24/+24 |
| | | | | After a suggestion by Nirgal. All regression test pass, code splint clean. | ||||
* | C AIS decoder now has separate contexts for A and B channels. | Eric S. Raymond | 2010-05-09 | 1 | -1/+12 |
| | | | | AIS regression test passes. | ||||
* | Visibility scope reduction for some AIS context. | Eric S. Raymond | 2010-05-09 | 1 | -10/+12 |
| | | | | All regression tests pass. | ||||
* | Stop trying to special-case terminating whitespace in gpsd_report(). | Eric S. Raymond | 2010-05-05 | 1 | -1/+1 |
| | |||||
* | Prevent gpsdecode from emitting messages with garbage data when length is wrong. | Nirgal | 2010-04-26 | 1 | -0/+18 |
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | AIVDM driver reindented. AIVDM regression tests pass. | Eric S. Raymond | 2010-04-14 | 1 | -25/+23 |
| | |||||
* | Remove useless pragmas, GNU indent is easily confusd. | Eric S. Raymond | 2010-04-14 | 1 | -30/+7 |
| | | | | All regression tests pass. | ||||
* | It seems GNU indent can be fatally confused by its own pragmas... | Eric S. Raymond | 2010-04-13 | 1 | -8/+0 |
| | |||||
* | Pound indent into less intrusive behavior on this file. | Eric S. Raymond | 2010-04-13 | 1 | -1/+39 |
| | |||||
* | Fix embarrassing error in AIS Type 17 interpretation. | Eric S. Raymond | 2010-03-29 | 1 | -5/+8 |
| | |||||
* | Vanish away Id and Rev $ keywords, git won't expand them to anything useful. | Eric S. Raymond | 2010-03-13 | 1 | -4/+3 |
| | |||||
* | Copyright stamps everywhere. No code changes. | Eric S. Raymond | 2010-03-11 | 1 | -0/+3 |
| | |||||
* | Add packet length checks to the C decoder | Eric S. Raymond | 2010-02-01 | 1 | -4/+112 |
| | | | | And the -m option to the Python decoder. | ||||
* | Make the decoders use the pad fields as seems to be intended. | Eric S. Raymond | 2010-02-01 | 1 | -1/+1 |
| | |||||
* | Correct handling of pad field. | Eric S. Raymond | 2010-01-31 | 1 | -1/+4 |
| | |||||
* | Regression test and proper field conditionalization for AIS Type 16 | Eric S. Raymond | 2010-01-30 | 1 | -2/+2 |
| | |||||
* | Improved handling and documentation of AIS type 22 messages. | Eric S. Raymond | 2010-01-30 | 1 | -4/+9 |
| | |||||
* | We now have a test for AIS Type 13 decoding based on live and verified data | Eric S. Raymond | 2010-01-28 | 1 | -2/+2 |
| | |||||
* | AIS message length checks throw out valid data... | Eric S. Raymond | 2010-01-28 | 1 | -6/+0 |
| | | | | because trailing garbage isn't uncommon. Stupid fscking vendors... | ||||
* | More message-length chexks for AIS. | Eric S. Raymond | 2010-01-28 | 1 | -0/+11 |
| | |||||
* | Typo fix. | Eric S. Raymond | 2010-01-28 | 1 | -1/+1 |
| | |||||
* | Detect corrupted AIS messages of type 25. All regression tests pass. | Eric S. Raymond | 2010-01-28 | 1 | -0/+10 |
| | |||||
* | Support for AIS type 25 and 26 messages. | Eric S. Raymond | 2009-12-19 | 1 | -2/+48 |
| | |||||
* | Added regression-test loads for AIS message types 12-14. | Eric S. Raymond | 2009-11-30 | 1 | -2/+2 |
| | |||||
* | Document that a trailing @ should terminate a packed-six-bit AIS string. | Eric S. Raymond | 2009-11-30 | 1 | -3/+9 |
| | | | | Ensure that both decoders do this. | ||||
* | Corrections to the AIS specification, and one fieldname. | Eric S. Raymond | 2009-11-26 | 1 | -1/+1 |
| | |||||
* | Include the whole config file in gpsd.h. | Eric S. Raymond | 2009-11-20 | 1 | -2/+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. | ||||
* | Condition out some debugging stuff no longer used. | Eric S. Raymond | 2009-10-09 | 1 | -0/+4 |
| | |||||
* | We now have regression tests for AIS Type 15 and 20 messages. | Eric S. Raymond | 2009-09-24 | 1 | -3/+3 |
| | |||||
* | AIS message type 21 now has a regression test. | Eric S. Raymond | 2009-09-23 | 1 | -15/+14 |
| | |||||
* | Update lists of known-good AIS decodings. | Eric S. Raymond | 2009-09-23 | 1 | -2/+2 |
| | |||||
* | Handle AIS Type 21 Name Extension field. | Eric S. Raymond | 2009-09-23 | 1 | -3/+6 |
| | |||||
* | Fully support AIS type 22 and 23 messages. All regression tests pass. | Eric S. Raymond | 2009-09-22 | 1 | -1/+26 |
| | | | | Codebase splints clean. |