Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | splint indicated yet another followup to the waterlevel signedness fix in AIS. | Eric S. Raymond | 2012-07-02 | 1 | -1/+1 |
| | |||||
* | Rebuild some binary-driver tests. Explain why this is needed. | Eric S. Raymond | 2012-07-02 | 12 | -622/+632 |
| | |||||
* | Documentation cleanup for release. | Eric S. Raymond | 2012-07-02 | 2 | -7/+8 |
| | |||||
* | Add #ifdef line which was deleted accidentally. | Bernd Zeimetz | 2012-07-01 | 1 | -0/+1 |
| | |||||
* | Include unistd.h as workaround for timepps.h missing it. | Bernd Zeimetz | 2012-07-01 | 2 | -12/+9 |
| | | | | | Also remove a duplicate include of timepps.h from ntpshm.h, moving the comment to gpsd.h-tail | ||||
* | Another fix the leap seconds notify. | Michael Tatarinov | 2012-07-01 | 1 | -2/+1 |
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Fix the leap seconds notify. | Michael Tatarinov | 2012-06-26 | 3 | -4/+10 |
| | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Ratuiinalize names of AIS scaling factors; all divisors now end with DIV. | Eric S. Raymond | 2012-06-24 | 2 | -86/+86 |
| | | | | All regression tests pass. | ||||
* | Sigh. Repair regressipon tests after signedness change. All tests pass. | Eric S. Raymond | 2012-06-24 | 2 | -2/+2 |
| | |||||
* | Partial structure for AIS Weather observation report from ship. | Eric S. Raymond | 2012-06-24 | 1 | -0/+87 |
| | |||||
* | Minor fixes to AIVDM.txt. | Eric S. Raymond | 2012-06-23 | 1 | -3/+3 |
| | |||||
* | Whitespace fixups. | Eric S. Raymond | 2012-06-23 | 1 | -9/+9 |
| | |||||
* | Remove some obsolete caveats. | Eric S. Raymond | 2012-06-22 | 2 | -3/+1 |
| | |||||
* | Better behavior in the presence of a sysroot. | Eric S. Raymond | 2012-06-22 | 1 | -1/+4 |
| | |||||
* | Yet more signedness correction. | Eric S. Raymond | 2012-06-22 | 1 | -1/+1 |
| | |||||
* | Another correction of waterlevel signedness. All regression tests pass. | Eric S. Raymond | 2012-06-22 | 2 | -4/+4 |
| | |||||
* | Accept Freescale UARTS as RS232 devices. | Stephen Cavilia | 2012-06-22 | 1 | -1/+2 |
| | | | | | | | The on-chip UARTs on Freescale i.MX processors use device names /dev/ttymxc[012] and major number 207 on linux. These will get classified as an unknown source type by gpsd. Attached patch makes them classify as standard RS232 devices. | ||||
* | Correct a field signedness error in the IMO236 Met/Hydro message. | Eric S. Raymond | 2012-06-22 | 2 | -3/+6 |
| | |||||
* | Always wemit ISO8601 timestamps with the same length. | Eric S. Raymond | 2012-06-21 | 3 | -5/+5 |
| | | | | Someday, this will prevent a nasty surprise for a client programmer. | ||||
* | [AIS] Fix previous AIS merge | Christian Gagneraud | 2012-06-20 | 6 | -12/+11 |
| | | | | | Some modifications were lost during last merge, fix that. Regression pass except for ait250. | ||||
* | Merging Christian Gagneraud's AIS fixups. | Eric S. Raymond | 2012-06-20 | 13 | -74/+451 |
|\ | | | | | | | | | This required a merge resolution in hex.c. One regressin test, ait250, is failing and needs to be fixed. | ||||
| * | [AIS] Fix plenty of small bugs unveiled by aishub test campaign. | Christian Gagneraud | 2012-06-20 | 12 | -65/+319 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A test campaign was run with live data from aishub.net (ca. 25 millions sentence, 1.2 GB of logs), the goal was to check the decoding and the JSON parsing and dumping code. On all the AIS data, the following tests were done: - AIVDM decoding - JSON scaled dump - JSON validity check on scaled dump. - JSON unscaled dump - JSON validity check on unscaled dump - JSON unscaled idempotency check - JSON unscaled/scaled idempotency check The last check consisted of: - parsing the unscaled dump - dumping it back in scaled mode - compare it with the original scaled dump. This test campaign has unveiled plenty of small bugs all around the AIS code. This patch fixes all of them and adds new sentences in the regression tests. | ||||
| * | [AIS] Add scaled and unscaled JSON dump to regression tests | Christian Gagneraud | 2012-06-20 | 3 | -5/+127 |
| | | | | | | | | | | | | | | The unscaled and scaled JSON dump code was not exerted with sample.aivdm, only the CSV code was. Fix that. PS: The idempotency test only validates parsing/dumping, and only in unscaled mode. | ||||
| * | [AIS] ais.py: Error messages format harmonization | Christian Gagneraud | 2012-06-20 | 1 | -5/+6 |
| | | | | | | | | | | This allows automation of error message processing (statistics, ...). Error messages now only one line even if input was fragmented. | ||||
| * | gpsd_hexdump: Always dump in hex mode | Christian Gagneraud | 2012-06-20 | 1 | -31/+20 |
| | | | | | | | | | | | | | | | | | | | | | | This function doesn't always dump the data in hex form. The problem is that some users on it to always do hex dumps. For example, the AIS json code use it to dump undecoded data. Depending on the data it will have either text dump or hex dump, which breaks the json idempotency. * This patch doesn't bring any regression. * scons check and splint passed | ||||
* | | Savannah bug #36691: xgps shows wrong units for eps, epc, epd. | Michael Tatarinov | 2012-06-20 | 1 | -3/+17 |
| | | | | | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | | Make sure an invariant is preserved. | Eric S. Raymond | 2012-06-20 | 1 | -1/+1 |
| | | |||||
* | | Split gpsd_hexdump() so AIS dumping will be invertible. | Eric S. Raymond | 2012-06-20 | 5 | -28/+34 |
|/ | |||||
* | json parser: fix empty array bug | Christian Gagneraud | 2012-06-20 | 2 | -0/+16 |
| | |||||
* | Add script to test for JSON validity | Christian Gagneraud | 2012-06-20 | 1 | -0/+23 |
| | | | | | | This simple script can be used to check if the JSON cade presented on its standard input is valid JSON. It has already been very useful to chase up typos in gpsd_json.c | ||||
* | Add BS talker ID (used by AIS base stations) | Christian Gagneraud | 2012-06-20 | 2 | -0/+20 |
| | | | | check and packet-regress passed | ||||
* | json.h: Change JSON_VAL_MAX from 120 to 512 | Christian Gagneraud | 2012-06-20 | 1 | -1/+1 |
| | | | | | | | This will allow the parsing long hexdump (data fields) in the AIS code. The longest JSON string I saw so far was 389 characters long. scons check passed. | ||||
* | gpsdecode: honor scale flag | Christian Gagneraud | 2012-06-20 | 2 | -3/+7 |
| | | | | | | | Currently gpsdecode doesn't care about the -u (unscaled) flag. Fix that. This patch will allow aivdm-regress to run tests in scaled mode. scons check passed. | ||||
* | [AIS] ais.py: fix bad checksum error message | Christian Gagneraud | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | [AIS] ais.py: fix optional name extension in type 21 | Christian Gagneraud | 2012-06-20 | 1 | -1/+1 |
| | |||||
* | splint gets confused by declarations after statements. | Eric S. Raymond | 2012-06-19 | 1 | -1/+3 |
| | |||||
* | Correct a documentation glitch noted by Bas van Duijnhoven. | Eric S. Raymond | 2012-06-19 | 1 | -8/+0 |
| | |||||
* | I'm told OpenCPN now gets data from gpsd. | Eric S. Raymond | 2012-06-17 | 1 | -1/+2 |
| | |||||
* | Argument name must have got stepped on by search-and-replace. Fix it. | Eric S. Raymond | 2012-06-14 | 1 | -11/+11 |
| | |||||
* | Add removed include again. | Reinhard Arlt | 2012-06-07 | 1 | -1/+1 |
| | |||||
* | Move nmea2000_open out of libgpsd_core.c . | Reinhard Arlt | 2012-06-07 | 3 | -56/+85 |
| | |||||
* | [AIS] Do scaling/offset operations only in json dump | Christian Gagneraud | 2012-06-05 | 8 | -118/+125 |
| | | | | splint and check pass. | ||||
* | [AIS] Met/Hydro: fixes and improvements | Christian Gagneraud | 2012-06-05 | 10 | -109/+200 |
| | |||||
* | [AIS] AtoN: formatting fixes | Christian Gagneraud | 2012-06-05 | 1 | -10/+4 |
| | |||||
* | Cosmetic fix. | Eric S. Raymond | 2012-06-03 | 1 | -7/+6 |
| | |||||
* | Use C99 VLAs to eliminate some magic numbers. | Eric S. Raymond | 2012-06-02 | 1 | -4/+4 |
| | |||||
* | More unit-testing of the bits macros. | Eric S. Raymond | 2012-06-02 | 1 | -40/+44 |
| | |||||
* | Suppress a useless cppcheck warning. | Eric S. Raymond | 2012-06-02 | 1 | -0/+1 |
| | |||||
* | Refacter the bits.c stuff to eliminate ugly globals... | Eric S. Raymond | 2012-06-02 | 8 | -146/+172 |
| | | | | | | ...and be more explicit about operand sizes. All regressuion tests [ass, code splints clean. | ||||
* | Clean up a couple of string-format errors. All regression tests pass. | Eric S. Raymond | 2012-06-02 | 1 | -2/+2 |
| |