summaryrefslogtreecommitdiff
path: root/libgps_json.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Splint Cleanup Meets Billy The Kid. All regression tests pass.Eric S. Raymond2009-09-101-5/+16
|
* Bride of the Splint Cleanup. All regression tests pass.Eric S. Raymond2009-09-101-5/+5
|
* Yet more splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-5/+10
|
* More splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-0/+10
|
* Split eph into epx and epy internally... Eric S. Raymond2009-09-031-2/+4
| | | | | | ...but still report eph by re-mixing them in the JSON dumper. This was worth doing because all regression tests still pass, showing that visible behavior for old-protocol users gas not changed.
* Link RTCM2 and AIVDM client-library support only when those are configured in.Eric S. Raymond2009-09-011-1/+4
|
* AIS dumper's signature has changed. Integrate AIS parsing on the library side.Eric S. Raymond2009-08-291-1/+1
|
* Start on client-side parsing of AIS JSON. All regression tests pass.Eric S. Raymond2009-08-281-0/+7
|
* Use STRUCTARRAY everywhere it's apprpriate. JSON regression tests pass.Eric S. Raymond2009-08-271-18/+15
|
* Integrate RTCM2 JSON parsing into the build.Eric S. Raymond2009-08-271-0/+7
|
* Unify CONFIGDEV and DEVICE responses.Eric S. Raymond2009-08-251-44/+1
|
* Add character type to JSON parser.Eric S. Raymond2009-08-251-0/+25
| | | | | Make gpsctl work with new protocol (only the device ID function is tested at this point).
* Follow through on previous change in the client code.Eric S. Raymond2009-08-251-23/+26
|
* Fix up parsing of ?DEVICES response.Eric S. Raymond2009-08-241-5/+4
|
* xgps works with new protocol.Eric S. Raymond2009-08-241-2/+3
|
* Correctly read JSON ERROR responses in the client library.Eric S. Raymond2009-08-231-1/+22
|
* Parse WATCH responses in the client library. All regression tests pass.Eric S. Raymond2009-08-231-1/+6
|
* Parse CONFIGDEV responses.Eric S. Raymond2009-08-231-1/+8
|
* Merge two structures that didn't need to exist separately. Eric S. Raymond2009-08-231-7/+7
| | | | All regression tests pass.
* Major rearrangement of device members in struct gpsdata_t... Eric S. Raymond2009-08-231-4/+5
| | | | | ...documented in the protocol-transition white paper. All regression tests pass.
* Parsing of JSON VERSION response, with unit test.Eric S. Raymond2009-08-191-1/+26
|
* Typo fix and removal of dead structure.Eric S. Raymond2009-08-191-7/+0
|
* Ship device flags as integer rather than string list.Eric S. Raymond2009-08-191-8/+3
|
* Change some flag names.Eric S. Raymond2009-08-191-4/+4
|
* Checkpoint before simplifying JSON parser.Eric S. Raymond2009-08-191-16/+29
|
* JSON parser can now unpack JSON lists into structure arrays.Eric S. Raymond2009-08-191-2/+2
|
* Hide an argument that doesn't need to be exposed.Eric S. Raymond2009-08-191-4/+4
|
* Change enumerated array JSON type to yield a bitmask rather than an array.Eric S. Raymond2009-08-191-5/+3
|