summaryrefslogtreecommitdiff
path: root/test_json.c
Commit message (Collapse)AuthorAgeFilesLines
* Timestamps in TPV and SKY go from float seconds since Unix epoch to ISO8601.Eric S. Raymond2011-01-291-3/+3
| | | | | | | | 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 header portability auditing by deheader.Eric S. Raymond2010-12-221-0/+1
|
* More deheaderizing. All regression tests pass.Eric S. Raymond2010-12-011-3/+1
|
* Reindent the test programs. All regression tests pass.Eric S. Raymond2010-04-141-20/+27
|
* Duh, it's embarrassing when the bug is in your unit test...Eric S. Raymond2010-03-271-2/+2
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+7
|
* Avoid a collision with typedef boolean.Eric S. Raymond2010-01-041-19/+19
| | | | All regression tests pass.
* Fix a test that was broken by the last fix to the json client-side stuff.Eric S. Raymond2009-11-261-3/+3
| | | | All regression tests pass.
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+1
| | | | | | | 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.
* Fix up some regression tests to track a recent API change.Eric S. Raymond2009-11-191-4/+4
|
* Have a single point of truth in the JSON skyview reports...Eric S. Raymond2009-10-011-2/+1
| | | | | | ...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.
* GPSD-NG code is no longer experimental.Eric S. Raymond2009-09-271-6/+0
|
* Daemon now has its own version symbols for the wire protocol...Eric S. Raymond2009-09-181-3/+3
| | | | ...and will announce them in the banner.
* Add and annotate more stuff to be splint-audited.Eric S. Raymond2009-09-111-3/+21
| | | | | All regression tests pass. Everything splints clean.
* Split eph into epx and epy internally... Eric S. Raymond2009-09-031-1/+1
| | | | | | ...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.
* Allow mapping of strings to enumerated values in JSON.Eric S. Raymond2009-08-281-1/+23
|
* Add an unsigned integer field type to the JSON parser (needed for RTCM2).Eric S. Raymond2009-08-271-5/+8
| | | | Also add a unit test for this.
* Change the way JSON parse templates are declared... Eric S. Raymond2009-08-251-1/+1
| | | | so that string lengths won't step on offsets.
* Fix up JSON unit test.Eric S. Raymond2009-08-241-1/+2
|
* Things that aren't macros should not be named like macros.Eric S. Raymond2009-08-201-65/+70
|
* Parsing of JSON VERSION response, with unit test.Eric S. Raymond2009-08-191-2/+15
|
* Change some flag names.Eric S. Raymond2009-08-191-1/+1
|
* Checkpoint before simplifying JSON parser.Eric S. Raymond2009-08-191-1/+1
|
* JSON parser can now unpack JSON lists into structure arrays.Eric S. Raymond2009-08-191-0/+50
|
* Hide an argument that doesn't need to be exposed.Eric S. Raymond2009-08-191-1/+1
|
* Change enumerated array JSON type to yield a bitmask rather than an array.Eric S. Raymond2009-08-191-29/+4
|
* Library parse code, and unit test, for DEVICE responses.Eric S. Raymond2009-08-191-4/+20
|
* Give the JSON parser the ability to map strings to enumerated types.Eric S. Raymond2009-08-191-0/+24
|
* Add check-string attributes to JSON parser.Eric S. Raymond2009-08-181-13/+14
| | | | Add JSON unit test to default test sequence.
* Beef up the unit test slightly.Eric S. Raymond2009-07-211-1/+1
|
* Code for reading JSON TPVs is now complete and unit-tested.Eric S. Raymond2009-07-211-28/+31
|
* Refactor JSON handling so more code can be shared by client and daemon.Eric S. Raymond2009-07-211-28/+4
|
* SVN Id tagsChris Kuethe2009-07-161-0/+1
|
* JSON parser can now handle arrays of strings.Eric S. Raymond2009-07-141-1/+24
|
* Tighten up the JSON-parsing unit test.Eric S. Raymond2009-07-131-13/+13
|
* Fix booleans potion of JSON unit test.Eric S. Raymond2009-07-131-2/+6
|
* Subarray parsing in JSON is working, now to tighten up the validity checks.Eric S. Raymond2009-07-131-13/+21
|
* Set up initializers for JSON satellite data parsing.Eric S. Raymond2009-07-131-4/+11
|
* Much simpler code for filling sub-objects.Eric S. Raymond2009-07-131-2/+2
|
* Use properly bounded copies for JSON string fields.Eric S. Raymond2009-07-121-4/+8
|
* Encapsulate type information about JSON arrays.Eric S. Raymond2009-07-121-2/+2
|
* Fix a compiler warning and change a prototype... Eric S. Raymond2009-07-121-2/+2
| | | | | ...so a caller of the object parse can contibue processing the input string after it returns. Unit test passes.
* Fall back to working version of JSON regression test.Eric S. Raymond2009-07-121-40/+58
|
* avoid compiler warning about unused argsChris Kuethe2009-07-121-1/+1
|
* avoid use of unbounded strcpyChris Kuethe2009-07-121-0/+3
|
* First steps towards parsing JSON arrays.Eric S. Raymond2009-07-111-1/+19
|
* Verify integer and real defaulting in JSON.Eric S. Raymond2009-07-111-1/+7
|
* JSON parser now verified to handle booleans.Eric S. Raymond2009-07-111-13/+26
|
* JSON parse unit test verifies correct function for string, integer, and real.Eric S. Raymond2009-07-111-22/+40
|