summaryrefslogtreecommitdiff
path: root/json.c
Commit message (Collapse)AuthorAgeFilesLines
* splint cleanup.Eric S. Raymond2013-10-011-0/+1
|
* The JSON parser now has an "ignore" type...Eric S. Raymond2013-10-011-2/+7
| | | | ...and it's used for the new dependent _text attributes.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-3/+3
|
* Comply strictly with strict-aliasing rules by using memcpy...ukyg9e5r6k7gubiekd62012-09-071-9/+24
| | | | | | | | ...rather than using type-punning pointer casts. With optimization this will generate similarly-performing or even identical code on most architectures/compilers. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* json parser: fix empty array bugChristian Gagneraud2012-06-201-0/+7
|
* Get rid of nullbool default - not used, and it causes a bad smell to Coverity.Eric S. Raymond2012-05-111-5/+1
|
* Armor the JSON code against zeroed value or attribute pointers.Eric S. Raymond2012-05-101-0/+9
| | | | | Should never happen, but having the bailout logic in plavce creates static invariants that should banish a bunch of Coverity warnings.
* Avoid locale problems in the NMEA driver, too.Eric S. Raymond2011-08-271-208/+2
|
* Optimize a bit. All regression tests pass.Eric S. Raymond2011-08-271-39/+30
|
* Avoid locale problems by inlining an old BSD version of strtod().Eric S. Raymond2011-08-271-6/+216
| | | | | This solves Berlios tracker bug #18328: Wrong/bad locale handling in json_read_object. All regression tests (including the JSON unit test) pass.
* Add an explanatory note.Eric S. Raymond2011-08-101-0/+1
|
* Use t_time consistently for timestamps.Eric S. Raymond2011-04-161-0/+2
| | | | All regression tests pass. Livetesting with cgps looks good.
* Cosmetic tweak: t_timestamp -> t_time.Eric S. Raymond2011-04-161-7/+7
|
* Add a 'timestamp' type to the JSON parser to solve a compatibility problem.Eric S. Raymond2011-04-151-3/+12
| | | | | | | Sigh, no other way to get DEVICELIST to recignize both new and old timestamps. All regression tests pass.
* scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-291-6/+6
|
* Magic-number and strncpy elimination. All regression tests passEric S. Raymond2011-03-291-1/+1
|
* More conditioning out of code for minimal build.Eric S. Raymond2011-03-291-0/+6
|
* Library time parsing is now backward-compatible with 2.95.Eric S. Raymond2011-03-101-0/+34
|
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Comment typo fixes.Eric S. Raymond2011-01-121-2/+2
|
* Insert SuS headers required for portablity, as revealed by deheader.Eric S. Raymond2010-12-221-2/+3
|
* Clients are no longer required to define a gpsd_report() hook.Eric S. Raymond2010-12-191-2/+2
|
* Prevent JSON parsing from becoming confused by client locales other than C.Eric S. Raymond2010-12-171-1/+8
| | | | Fixes Berlios tracker bug #17379: problem with different locale.
* Reindent. All regression tests pass.Eric S. Raymond2010-04-261-2/+2
| | | | | Most of the bulk of this one is the xgpsspeed code, which was not formerly incldecd in reindenting.
* Extended AIS idempotency test coverage to messages 22, 23, 24.Eric S. Raymond2010-04-261-1/+4
| | | | ...and in doing so, fix a bug in AIS parsing.
* Re-indent JSON support. All regression tests pass.Eric S. Raymond2010-04-141-2/+1
|
* Reindent the JSON stuff. All regression tests pass.Eric S. Raymond2010-04-141-94/+123
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-5/+4
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+5
|
* Avoid a collision with typedef boolean.Eric S. Raymond2010-01-041-45/+45
| | | | All regression tests pass.
* Add and document some client-side instrumentation.Eric S. Raymond2009-11-241-0/+2
|
* Client library debugging can now nbe enabled at runtime.Eric S. Raymond2009-11-201-36/+63
| | | | | That is, if the CLIENTDEBUG_ENABLE feature switch is on. All regression tests pass.
* splint cleanup.Eric S. Raymond2009-11-191-1/+0
|
* splint cleanup.Eric S. Raymond2009-11-191-1/+1
|
* Consume whitespace following a JSON parse.Eric S. Raymond2009-11-191-0/+3
|
* More instrumentation for the JSON parseer.Eric S. Raymond2009-11-171-5/+7
|
* Add some instrimentation with which to detect JSON parser problems.Eric S. Raymond2009-11-161-8/+19
|
* Avoid null-pointer issues.Eric S. Raymond2009-11-161-80/+82
|
* Comment fixes. All regression tests pass.Eric S. Raymond2009-11-161-3/+3
|
* Splint cleanup. All regression tests pass.Eric S. Raymond2009-11-111-1/+1
|
* Add post_array state to the JSON parser, fixes an error in device-list parsing.Eric S. Raymond2009-11-111-5/+7
|
* Allow quoted strings to pass the type check for character values... Eric S. Raymond2009-11-111-1/+1
| | | | | ...in the JSON parser; later, strings with length 1 will be interpreted correctly and strings with length > 1 will raise an error.
* Silence some compiler warnings. All regression tests pass.Eric S. Raymond2009-10-261-2/+2
|
* Return of Splint Cleanup.Eric S. Raymond2009-09-101-7/+13
| | | | | Finishes off cleanup of the dispatcher latyer; remaining cruft is in drivers and net_remotegpsd.c, a known trouble spot.
* Splint Cleanup Meets Billy The Kid. All regression tests pass.Eric S. Raymond2009-09-101-7/+16
|
* Son of the Splint Cleanup.Eric S. Raymond2009-09-101-2/+2
| | | | | Major change in this set is enforcong consistency about the data type of serial parity information.
* Bride of the Splint Cleanup. All regression tests pass.Eric S. Raymond2009-09-101-2/+5
|
* Continuing the splint cleanup.Eric S. Raymond2009-09-101-1/+1
|
* Yet more splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-3/+9
|
* More splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-1/+1
|