summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* splint indicated yet another followup to the waterlevel signedness fix in AIS.Eric S. Raymond2012-07-021-1/+1
|
* Rebuild some binary-driver tests. Explain why this is needed.Eric S. Raymond2012-07-0212-622/+632
|
* Documentation cleanup for release.Eric S. Raymond2012-07-022-7/+8
|
* Add #ifdef line which was deleted accidentally.Bernd Zeimetz2012-07-011-0/+1
|
* Include unistd.h as workaround for timepps.h missing it.Bernd Zeimetz2012-07-012-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 Tatarinov2012-07-011-2/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Fix the leap seconds notify.Michael Tatarinov2012-06-263-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. Raymond2012-06-242-86/+86
| | | | All regression tests pass.
* Sigh. Repair regressipon tests after signedness change. All tests pass.Eric S. Raymond2012-06-242-2/+2
|
* Partial structure for AIS Weather observation report from ship.Eric S. Raymond2012-06-241-0/+87
|
* Minor fixes to AIVDM.txt.Eric S. Raymond2012-06-231-3/+3
|
* Whitespace fixups.Eric S. Raymond2012-06-231-9/+9
|
* Remove some obsolete caveats.Eric S. Raymond2012-06-222-3/+1
|
* Better behavior in the presence of a sysroot.Eric S. Raymond2012-06-221-1/+4
|
* Yet more signedness correction.Eric S. Raymond2012-06-221-1/+1
|
* Another correction of waterlevel signedness. All regression tests pass.Eric S. Raymond2012-06-222-4/+4
|
* Accept Freescale UARTS as RS232 devices.Stephen Cavilia2012-06-221-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. Raymond2012-06-222-3/+6
|
* Always wemit ISO8601 timestamps with the same length.Eric S. Raymond2012-06-213-5/+5
| | | | Someday, this will prevent a nasty surprise for a client programmer.
* [AIS] Fix previous AIS mergeChristian Gagneraud2012-06-206-12/+11
| | | | | Some modifications were lost during last merge, fix that. Regression pass except for ait250.
* Merging Christian Gagneraud's AIS fixups.Eric S. Raymond2012-06-2013-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 Gagneraud2012-06-2012-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 testsChristian Gagneraud2012-06-203-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 harmonizationChristian Gagneraud2012-06-201-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 modeChristian Gagneraud2012-06-201-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 Tatarinov2012-06-201-3/+17
| | | | | | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* | Make sure an invariant is preserved.Eric S. Raymond2012-06-201-1/+1
| |
* | Split gpsd_hexdump() so AIS dumping will be invertible.Eric S. Raymond2012-06-205-28/+34
|/
* json parser: fix empty array bugChristian Gagneraud2012-06-202-0/+16
|
* Add script to test for JSON validityChristian Gagneraud2012-06-201-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 Gagneraud2012-06-202-0/+20
| | | | check and packet-regress passed
* json.h: Change JSON_VAL_MAX from 120 to 512Christian Gagneraud2012-06-201-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 flagChristian Gagneraud2012-06-202-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 messageChristian Gagneraud2012-06-201-1/+1
|
* [AIS] ais.py: fix optional name extension in type 21Christian Gagneraud2012-06-201-1/+1
|
* splint gets confused by declarations after statements.Eric S. Raymond2012-06-191-1/+3
|
* Correct a documentation glitch noted by Bas van Duijnhoven.Eric S. Raymond2012-06-191-8/+0
|
* I'm told OpenCPN now gets data from gpsd.Eric S. Raymond2012-06-171-1/+2
|
* Argument name must have got stepped on by search-and-replace. Fix it.Eric S. Raymond2012-06-141-11/+11
|
* Add removed include again.Reinhard Arlt2012-06-071-1/+1
|
* Move nmea2000_open out of libgpsd_core.c .Reinhard Arlt2012-06-073-56/+85
|
* [AIS] Do scaling/offset operations only in json dumpChristian Gagneraud2012-06-058-118/+125
| | | | splint and check pass.
* [AIS] Met/Hydro: fixes and improvementsChristian Gagneraud2012-06-0510-109/+200
|
* [AIS] AtoN: formatting fixesChristian Gagneraud2012-06-051-10/+4
|
* Cosmetic fix.Eric S. Raymond2012-06-031-7/+6
|
* Use C99 VLAs to eliminate some magic numbers.Eric S. Raymond2012-06-021-4/+4
|
* More unit-testing of the bits macros.Eric S. Raymond2012-06-021-40/+44
|
* Suppress a useless cppcheck warning.Eric S. Raymond2012-06-021-0/+1
|
* Refacter the bits.c stuff to eliminate ugly globals...Eric S. Raymond2012-06-028-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. Raymond2012-06-021-2/+2
|