Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gpsd-report() -> gpsd_log() | Eric S. Raymond | 2015-03-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | This change is done so we can add a "log" hook to the pps_thread_t structure (this is not done yet) and harmonize with the name of the outer logging function. If that name had been left as gpsd_report() there would have been scope for bad confusion with the report_hook member. Also, remove two stray duplicative printf calls from the NMEA2000 driver (drivers shouldn't have printfs!) and fix one typo. This is a step towards factoring out ntplib. For that to happen, the PPS thread code needs to be decoupled from the core session structure. No logic changes. Object compatibility preserved. All regression tests pass. | ||||
* | Now that the transition is done we can restore the gpsd_report name. | Eric S. Raymond | 2014-08-27 | 1 | -1/+1 |
| | | | | All regression tests pass. | ||||
* | The big leap. Most instances of gpsd_report are replaced... | Eric S. Raymond | 2014-08-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | ...with calls to gps_notify(), which indirects to its output method through a slot in an errout structure. Usually the errout structure lives inside the session context, but because struct errout_t is its own thing this does not have to be the case. One large clique of gpsd_notify() calls, in packet.c and isgps.c, looks at a struct errout_t copy in a lexer control block This change is not complete. Remnant gpsd_report calls need to be changed, and gpsmon needs to be tweaked so that the struct_error_t in its context is a non-defaukt hook updating the cuses display rather than simply dumping to stderr. Also the report label functionality needs to be added. All regression tests pass. | ||||
* | Introduce struct errout_t to encapsulate error-reporting hooks. | Eric S. Raymond | 2014-08-27 | 1 | -1/+1 |
| | | | | | | A major step towards eliminating reverse linkage. All regression tests pass. | ||||
* | A steo topwrds eliminating the reverse linkage of gpd_report(). | Eric S. Raymond | 2014-08-27 | 1 | -2/+2 |
| | | | | All regression tests pass. | ||||
* | Change gpsd_report to no longer use a global. All regression tests pass. | Eric S. Raymond | 2013-09-29 | 1 | -2/+3 |
| | | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working. | ||||
* | The signed/unsigned char fix. | Michael Tatarinov | 2013-02-18 | 1 | -2/+2 |
| | | | | | | All regression tests pass on Raspbian “wheezy”. Signed-off-by: Eric S. Raymond <esr@thyrsus.com> | ||||
* | Nuke trailing whitespace in C source. | Eric S. Raymond | 2012-09-07 | 1 | -4/+4 |
| | |||||
* | Replace 'ushort' with 'unsigned short'. | Eric S. Raymond | 2012-09-07 | 1 | -24/+24 |
| | |||||
* | Comment out a dead increment found by scan-build. | Eric S. Raymond | 2012-05-16 | 1 | -2/+2 |
| | |||||
* | More steps towards little-endiuan extraction. | Eric S. Raymond | 2012-04-19 | 1 | -2/+2 |
| | | | | All normal regressions tests and the test_bits unit test pass. | ||||
* | Rename some bit extractors. | Eric S. Raymond | 2012-04-19 | 1 | -2/+2 |
| | |||||
* | Cut down on gpsd_hexdump_wrapper() calls. | Eric S. Raymond | 2011-06-17 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | This awkward construct seems to have triggered some sort of toolchain bug. The symptom is that gpsd_hexdump_level has different values depending on whether we test it inside or outside of hex.c. As a first step towards eliminating this global, we throw out a bunch of hex logging that is duplicative or not really needed for production drivers. Experimental drivers can call the hex dumper unconditionally. The goal is to reduce the number of uses of this variable to eliminate it withoud doing violence to the internal APIs. This is a first step. All regression tests pass. | ||||
* | Don't punt on RTCM3 messages we can't yet decode. | Eric S. Raymond | 2011-04-13 | 1 | -18/+0 |
| | |||||
* | Interpret GLONASS channel numbers in RTCM3 correctly. | Eric S. Raymond | 2011-04-12 | 1 | -5/+6 |
| | |||||
* | Conjectural decode of RTCM3 message 1033. | Eric S. Raymond | 2011-04-12 | 1 | -3/+13 |
| | |||||
* | Partial decode of RTCM3 1033. | Eric S. Raymond | 2011-04-12 | 1 | -2/+21 |
| | |||||
* | Note that we got RTCM3 1006 along with 1005. | Eric S. Raymond | 2011-04-12 | 1 | -9/+2 |
| | |||||
* | RTCM3 1008 decodes correctly. | Eric S. Raymond | 2011-04-12 | 1 | -3/+4 |
| | |||||
* | Eliminate a splint waring and possible overflow. | Eric S. Raymond | 2011-04-12 | 1 | -1/+1 |
| | |||||
* | RTCM3 message analysis for 1012 and 1013 is correct. | Eric S. Raymond | 2011-04-12 | 1 | -1/+1 |
| | |||||
* | RTCM3 1004 analysis is working. | Eric S. Raymond | 2011-04-12 | 1 | -3/+2 |
| | |||||
* | Fix up an RTCM3 field width. | Eric S. Raymond | 2011-04-12 | 1 | -2/+2 |
| | |||||
* | Decode of RTCM3 type 1005 is working. | Eric S. Raymond | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | RTCM3 decoding, more progress. | Eric S. Raymond | 2011-04-10 | 1 | -3/+4 |
| | |||||
* | More small steps towards working RTCM3 decoding. | Eric S. Raymond | 2011-04-10 | 1 | -8/+2 |
| | |||||
* | Steps towards analyzing RTCM3 correctly. | Eric S. Raymond | 2011-04-10 | 1 | -34/+17 |
| | |||||
* | Scan-build and splint cleanup. All regression tests pass. | Eric S. Raymond | 2011-03-28 | 1 | -1/+1 |
| | |||||
* | Don't crap out on garbage data. | Eric S. Raymond | 2011-03-02 | 1 | -2/+3 |
| | |||||
* | Code simplification. All regression tests pass. | Eric S. Raymond | 2011-03-02 | 1 | -6/+5 |
| | |||||
* | Bug fixes for RTCM3 decoding. All regression tests pass. | Eric S. Raymond | 2011-03-02 | 1 | -9/+7 |
| | | | | | And the first actually successful decode of a known-good RTCM3 packet, a type 1029. | ||||
* | A step towards decoding RTCM3. | Eric S. Raymond | 2011-03-01 | 1 | -2/+8 |
| | |||||
* | More creative macro abuse. | Eric S. Raymond | 2011-03-01 | 1 | -92/+53 |
| | |||||
* | Preprocessor abuse for a better world. Or simpler code, anyway. | Eric S. Raymond | 2011-03-01 | 1 | -75/+35 |
| | |||||
* | Simplify the RTCM3 analyzer. All regression tests pass. | Eric S. Raymond | 2011-03-01 | 1 | -214/+168 |
| | |||||
* | Replace the crappy old RTCM3 dumper with one that emits JSON. | Eric S. Raymond | 2011-03-01 | 1 | -363/+6 |
| | |||||
* | deheader cleanup. | Eric S. Raymond | 2011-01-12 | 1 | -1/+1 |
| | |||||
* | allow this to compile with pcc | Chris Kuethe | 2011-01-08 | 1 | -6/+6 |
| | |||||
* | netinet/in.h goes before arpa/inet.h | Chris Kuethe | 2010-12-24 | 1 | -1/+1 |
| | | | | | | | In file included from driver_rtcm3.c:36: /usr//include/arpa/inet.h:74: warning: 'struct in_addr' declared inside parameter list /usr//include/arpa/inet.h:74: warning: its scope is only this definition or declaration, which is probably not what you want /usr//include/arpa/inet.h:75: warning: 'struct in_addr' declared inside parameter list | ||||
* | Partial splint cleanup. | Eric S. Raymond | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | deheader broke the build again | Chris Kuethe | 2010-12-22 | 1 | -0/+2 |
| | |||||
* | More header portability auditing by deheader. | Eric S. Raymond | 2010-12-22 | 1 | -5/+1 |
| | |||||
* | Unused-header removals by deheader. All regression tests pass. | Eric S. Raymond | 2010-12-01 | 1 | -4/+0 |
| | |||||
* | Scatter GNU indent pragmas to tell it not to do stupid things. | Eric S. Raymond | 2010-04-14 | 1 | -1/+4 |
| | | | | All regression tests pass. | ||||
* | Reindent some things again, needed due to new controls. | Eric S. Raymond | 2010-04-14 | 1 | -97/+97 |
| | | | | All regression tests pass. | ||||
* | Reindent the RTCM drivers. All regression tesrs pass. | Eric S. Raymond | 2010-04-14 | 1 | -497/+635 |
| | |||||
* | Vanish away Id and Rev $ keywords, git won't expand them to anything useful. | Eric S. Raymond | 2010-03-13 | 1 | -4/+3 |
| | |||||
* | Copyright stamps everywhere. No code changes. | Eric S. Raymond | 2010-03-11 | 1 | -0/+3 |
| | |||||
* | David Ludlow's housekeeping and type-cleanup patch. | Eric S. Raymond | 2010-01-02 | 1 | -1/+4 |
| | | | | All regression tests pass, | ||||
* | Include the whole config file in gpsd.h. | Eric S. Raymond | 2009-11-20 | 1 | -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. |