summaryrefslogtreecommitdiff
path: root/libgps_json.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-8/+0
| | | | | | | Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
* Fix up the pps=no build. All regression tests pass.Eric S. Raymond2013-11-171-1/+3
|
* In libgps, incorrect defaults resulted in garbage values for empty fields.Eric S. Raymond2013-11-131-5/+5
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-1/+1
|
* Partial splint cleanup. All regression tests pass. PPS is live.Eric S. Raymond2013-11-051-0/+4
|
* Support reading PPS messages in libgps.Eric S. Raymond2013-11-031-0/+45
| | | | | | Finally defines a message validity nask that won't fit in 32 bits, alas. Defines a timedrift structure that we will use internally as well.
* Start on support for unpacking RTCM3 JSON.Eric S. Raymond2013-05-011-0/+11
| | | | | Only the 1001 sentence so far, with two fields missing. Not usable for production yet, but gets infrastructure in place.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-1/+1
|
* Mark VERSION and WATCH with a remote attribute when passed from slaves.Eric S. Raymond2011-06-221-0/+2
|
* splint cleanup.Eric S. Raymond2011-04-161-2/+2
|
* Use t_time consistently for timestamps.Eric S. Raymond2011-04-161-48/+8
| | | | All regression tests pass. Livetesting with cgps looks good.
* Cosmetic tweak: t_timestamp -> t_time.Eric S. Raymond2011-04-161-1/+1
|
* Add a 'timestamp' type to the JSON parser to solve a compatibility problem.Eric S. Raymond2011-04-151-1/+2
| | | | | | | Sigh, no other way to get DEVICELIST to recignize both new and old timestamps. All regression tests pass.
* Centralize the C client library's flag setting.Eric S. Raymond2011-04-151-56/+72
| | | | This squeezes out a couple of minor errors due to unset flag fields.
* Force some flag clears to ensure the library-side set member is correct.Eric S. Raymond2011-04-151-0/+4
|
* Add a switch to configure out control-socket switch.Eric S. Raymond2011-03-281-0/+3
|
* Fix scan-build glitches. All regression tests pass.Eric S. Raymond2011-03-281-0/+3
|
* Fix bonehead error in the code for backward compatibility with Unix timestamps.Eric S. Raymond2011-03-231-1/+1
|
* Library time parsing is now backward-compatible with 2.95.Eric S. Raymond2011-03-101-10/+22
|
* Fix a problem noted by Charles Curley.Eric S. Raymond2011-02-251-0/+1
| | | | His second library glitch. An array was not getting properly zeroed.
* Fix a bug in computation of satellites_visible.Eric S. Raymond2011-02-251-1/+3
| | | | | Charles Curley pointed this one out on Mon Feb 7 00:40:04 CET 2011 and enclosed a patch. All regression tests pass.
* Compute satellites_visible in the client-side JSON parser.Eric S. Raymond2011-02-031-0/+3
|
* More name changes related to GST.Eric S. Raymond2011-02-011-11/+11
| | | | All regression tests pass.
* Change Noise sentence to use ISO8601 timestamp.Eric S. Raymond2011-02-011-5/+13
|
* Process GPGST into noise statistics. All regression tests pass.Thomas Sprinkmeier2011-02-011-0/+43
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Timestamps in TPV and SKY go from float seconds since Unix epoch to ISO8601.Eric S. Raymond2011-01-291-4/+18
| | | | | | | | Protocol version number is bumped. Python and C test clients are known to work; interfaces of the C and Python client bindings are unchanged. Third-party client-side bindings which rely on naively copying JSON members will break (implementers have been repeatedly warned not to do this).
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-2/+0
|
* Reindent the JSON stuff. All regression tests pass.Eric S. Raymond2010-04-141-44/+38
|
* Guard some displayed structures from reindenting.Eric S. Raymond2010-04-131-0/+14
|
* Shorten some names for concision, and make C names match JSON names.Eric S. Raymond2010-04-111-9/+9
| | | | All regression tests pass.
* Cluent-side support for reading ATT responses.Eric S. Raymond2010-04-111-0/+58
|
* Patch to fix flickering time in cpgs.root (none)2010-04-081-1/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+5
|
* Avoid a collision with typedef boolean.Eric S. Raymond2010-01-041-97/+97
| | | | All regression tests pass.
* Arrgh. I confused ERR_SET with ERROR_SET in a couple of places.Eric S. Raymond2009-12-181-1/+1
| | | | | | | | | ERR_SET is now gone entirely, so in the extremely unlikely even that an app developer got caught by this (could never happen unless they shipped a bad command via the deprecated gps_send() entry point) the code will break noisily. All regression tests pass.
* Enable handling of multiple JSON objectts per line, and add a test for it.Eric S. Raymond2009-11-291-9/+15
|
* Send components of a DEVICE response to the dev member...Eric S. Raymond2009-11-251-1/+1
| | | | ...not the first member of devicelist. This should fix a pesky bug in cgps.
* 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.
* Work around, and document, a subtle limitation of libgps.Eric S. Raymond2009-11-191-3/+1
|
* Fix an incorrect attempt to clear union state flags.Eric S. Raymond2009-11-191-6/+6
|
* End pointer returned by the JSON parser needs to be passed back up...Eric S. Raymond2009-11-181-10/+12
| | | | ...so we can handle multiple responses per write.
* Keep validity flags for the client-side union in a valid state.Eric S. Raymond2009-11-181-3/+12
| | | | | Ensure that when libgps updates any member of the union, the validity flags for others are cleared.
* Avoid doing some invalid buffer copies that can cause really obscure errors.Eric S. Raymond2009-11-171-2/+2
|
* Whoops, parity needs to default to 'N', ...Gary E. Miller2009-11-111-1/+1
| | | | | | | ...but string types can not have a json default. So revert last change and set parity sending type from string to character. gpsctl still fails to start, but fails later now.
* Make class Devices parity type match what is really sent.Gary E. Miller2009-11-111-2/+3
|
* Have a single point of truth in the JSON skyview reports...Eric S. Raymond2009-10-011-1/+2
| | | | | | ...about the number of visible satellites. (Yes, there was an actual bug there.) Required removing a field from the JSON dumps on the regression tests.
* In the gpsdata structure, satellites -> satellites_visibleEric S. Raymond2009-10-011-1/+1
| | | | All regression tests pass, code splints clean.
* Daemon now has its own version symbols for the wire protocol...Eric S. Raymond2009-09-181-2/+2
| | | | ...and will announce them in the banner.
* SKY response now includes DOP reports.Eric S. Raymond2009-09-151-0/+14
| | | | Most regression tests needed to be rebuilt.