Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix erroneous comment. | Eric S. Raymond | 2015-03-09 | 1 | -1/+1 |
| | |||||
* | OS X needs a lot of time.h | Gary E. Miller | 2015-03-08 | 1 | -0/+1 |
| | | | | | | gpsd_config.h needs time_t which is in time.h OS X builds now. Untested. | ||||
* | Add str_{,v}appendf, use it everywhere. | Zbigniew Chyla | 2015-01-21 | 1 | -2/+2 |
| | | | | This change doesn't affect generated binary code. | ||||
* | Add str_starts_with macro, use it instead of strncmp. | Zbigniew Chyla | 2015-01-21 | 1 | -2/+2 |
| | | | | This change doesn't affect generated binary code. | ||||
* | Always use sizeof to get array size | Zbigniew Chyla | 2015-01-13 | 1 | -1/+1 |
| | | | | | | Don't use constant/expression from an array's definition when referring to its size. Eliminates redundancy and avoids problems when array size changes. The change doesn't affect generated code. | ||||
* | Note for anyone wo might want to re-use this. | Eric S. Raymond | 2014-09-28 | 1 | -1/+5 |
| | |||||
* | More microjson resync. All regression tests pass. | Eric S. Raymond | 2014-09-28 | 1 | -64/+14 |
| | |||||
* | Resynchronize with microjson. | Eric S. Raymond | 2014-09-28 | 1 | -4/+21 |
| | |||||
* | Cosmetic cleanup. All regression tests pass. | Eric S. Raymond | 2014-09-27 | 1 | -22/+24 |
| | |||||
* | Remove some unnecessary copies, All regression tests pass. | Eric S. Raymond | 2014-09-27 | 1 | -23/+19 |
| | |||||
* | Appease splint. All regression tests pass. | Eric S. Raymond | 2014-09-27 | 1 | -22/+22 |
| | |||||
* | Reconcile json.c with microjson's copy. All regression tests pass. | Eric S. Raymond | 2014-09-27 | 1 | -8/+102 |
| | |||||
* | Condition out extended JSON features. | Eric S. Raymond | 2014-09-22 | 1 | -0/+2 |
| | | | | All regression tests pass. | ||||
* | Implement and test extended JSON array parsing. | Eric S. Raymond | 2014-09-22 | 1 | -6/+44 |
| | | | | | | Now supported: JSON arrays with int, unit, bool, and real elements. All regressiion tests pass. | ||||
* | Typo fixes. All regression tests pass. | Eric S. Raymond | 2014-09-17 | 1 | -4/+4 |
| | |||||
* | Typo fixes. | Eric S. Raymond | 2014-09-17 | 1 | -2/+2 |
| | |||||
* | Silence compiler warnings about array subscripts of type 'char' | Matt | 2014-09-10 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | Cygwin GCC complains about code like isprint(c), where c is of type char. The isX() and toX() functions/macros (ISO C allows either) all accept an int, whose value should be either that of an unsigned char, or the special value EOF (== -1). So cast to unsigned char each argument to isprint, tolower, etc. Silences several warnings of the form: gpsutils.c: In function 'safe_atof': gpsutils.c:90:5: warning: array subscript has type 'char' [-Wchar-subscripts] while (isspace(*p)) { ^ gpsutils.c:188:2: warning: array subscript has type 'char' [-Wchar-subscripts] while (isdigit(*p)) { ^ | ||||
* | splint cleanup. | Eric S. Raymond | 2013-10-01 | 1 | -0/+1 |
| | |||||
* | The JSON parser now has an "ignore" type... | Eric S. Raymond | 2013-10-01 | 1 | -2/+7 |
| | | | | ...and it's used for the new dependent _text attributes. | ||||
* | Nuke trailing whitespace in C source. | Eric S. Raymond | 2012-09-07 | 1 | -3/+3 |
| | |||||
* | Comply strictly with strict-aliasing rules by using memcpy... | ukyg9e5r6k7gubiekd6 | 2012-09-07 | 1 | -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 bug | Christian Gagneraud | 2012-06-20 | 1 | -0/+7 |
| | |||||
* | Get rid of nullbool default - not used, and it causes a bad smell to Coverity. | Eric S. Raymond | 2012-05-11 | 1 | -5/+1 |
| | |||||
* | Armor the JSON code against zeroed value or attribute pointers. | Eric S. Raymond | 2012-05-10 | 1 | -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. Raymond | 2011-08-27 | 1 | -208/+2 |
| | |||||
* | Optimize a bit. All regression tests pass. | Eric S. Raymond | 2011-08-27 | 1 | -39/+30 |
| | |||||
* | Avoid locale problems by inlining an old BSD version of strtod(). | Eric S. Raymond | 2011-08-27 | 1 | -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. Raymond | 2011-08-10 | 1 | -0/+1 |
| | |||||
* | Use t_time consistently for timestamps. | Eric S. Raymond | 2011-04-16 | 1 | -0/+2 |
| | | | | All regression tests pass. Livetesting with cgps looks good. | ||||
* | Cosmetic tweak: t_timestamp -> t_time. | Eric S. Raymond | 2011-04-16 | 1 | -7/+7 |
| | |||||
* | Add a 'timestamp' type to the JSON parser to solve a compatibility problem. | Eric S. Raymond | 2011-04-15 | 1 | -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. Raymond | 2011-03-29 | 1 | -6/+6 |
| | |||||
* | Magic-number and strncpy elimination. All regression tests pass | Eric S. Raymond | 2011-03-29 | 1 | -1/+1 |
| | |||||
* | More conditioning out of code for minimal build. | Eric S. Raymond | 2011-03-29 | 1 | -0/+6 |
| | |||||
* | Library time parsing is now backward-compatible with 2.95. | Eric S. Raymond | 2011-03-10 | 1 | -0/+34 |
| | |||||
* | More deheader testing. | Eric S. Raymond | 2011-01-12 | 1 | -0/+1 |
| | |||||
* | Comment typo fixes. | Eric S. Raymond | 2011-01-12 | 1 | -2/+2 |
| | |||||
* | Insert SuS headers required for portablity, as revealed by deheader. | Eric S. Raymond | 2010-12-22 | 1 | -2/+3 |
| | |||||
* | Clients are no longer required to define a gpsd_report() hook. | Eric S. Raymond | 2010-12-19 | 1 | -2/+2 |
| | |||||
* | Prevent JSON parsing from becoming confused by client locales other than C. | Eric S. Raymond | 2010-12-17 | 1 | -1/+8 |
| | | | | Fixes Berlios tracker bug #17379: problem with different locale. | ||||
* | Reindent. All regression tests pass. | Eric S. Raymond | 2010-04-26 | 1 | -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. Raymond | 2010-04-26 | 1 | -1/+4 |
| | | | | ...and in doing so, fix a bug in AIS parsing. | ||||
* | Re-indent JSON support. All regression tests pass. | Eric S. Raymond | 2010-04-14 | 1 | -2/+1 |
| | |||||
* | Reindent the JSON stuff. All regression tests pass. | Eric S. Raymond | 2010-04-14 | 1 | -94/+123 |
| | |||||
* | Vanish away Id and Rev $ keywords, git won't expand them to anything useful. | Eric S. Raymond | 2010-03-13 | 1 | -5/+4 |
| | |||||
* | Copyright stamps everywhere. No code changes. | Eric S. Raymond | 2010-03-11 | 1 | -1/+5 |
| | |||||
* | Avoid a collision with typedef boolean. | Eric S. Raymond | 2010-01-04 | 1 | -45/+45 |
| | | | | All regression tests pass. | ||||
* | Add and document some client-side instrumentation. | Eric S. Raymond | 2009-11-24 | 1 | -0/+2 |
| | |||||
* | Client library debugging can now nbe enabled at runtime. | Eric S. Raymond | 2009-11-20 | 1 | -36/+63 |
| | | | | | That is, if the CLIENTDEBUG_ENABLE feature switch is on. All regression tests pass. | ||||
* | splint cleanup. | Eric S. Raymond | 2009-11-19 | 1 | -1/+0 |
| |