summaryrefslogtreecommitdiff
path: root/gpsutils.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert some log levels I missed first time around.Eric S. Raymond2006-11-021-1/+1
|
* Define uniform log level macros.Eric S. Raymond2006-11-021-9/+9
| | | | | | | | | | | | | | | | | | | | | | This patch defines a uniform set of log levels and changes all gpsd_report() instances to use them. In most cases (I'd say about 80%) this will make no observable difference, as the numeric log levels the code was using were not too badly inconsistent anyway. The new log level macros are defined and described in gpsd.h. The main thing I wanted was to be able to consistently force dumping of all I/O to devices and clients with -D 4. Some drivers didn't honor this. One or two still may not through lack of an internal write() wrapper that does logging; there will need to be some followup changes. Level 0 messages are always displayed, but to make the semantics clearer there are two defines LOG_ERR and LOG_SHOUT. Level 5 is still super-raw I/O reporting. Level 6 and 7 messages are tagged RAW_LOG+1 and RAW_LOG+2; I was particularly careful about these because we have one report of a user who is getting good results from Garmin serial only at -D 7 or up, and perish forbid I should interfere with that bug being found.
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-0/+2
| | | | | | ...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-0/+1
| | | | First line where possible, second line for scripts called with #!
* Design decision: Trie North data gets mapped into existing fields (track, etc)Eric S. Raymond2006-08-311-6/+0
| | | | | | | | ...rather than new ones like heading. This gets rid of the HEADING_FIX code contributed but not compiled in by default. Also, fix a place in the zodiac driver that sets a fix rather than newdata member.
* Properly clear out latitude and longitude.Eric S. Raymond2006-08-211-0/+1
|
* Fixed reversed sense on some tests (only used for debugging).Eric S. Raymond2006-08-201-14/+14
|
* splint cleanup after CK's strcat()/strlcopy() cleanup.Eric S. Raymond2006-08-201-16/+18
|
* Support code for querying validity of fix fields.Eric S. Raymond2006-08-201-0/+66
|
* String safety, courtesy of snprintf, strlcat and strlcpy.Chris Kuethe2006-08-191-1/+1
| | | | | | | GPSD is now free from the often-misused strcat, strcpy and sprintf. Future code should not use unbounded string functions. Glibc users, please verify that the integrated strlcat and strlcpy are correctly linked in.
* Enable 'j' command in cgps.Eric S. Raymond2006-08-181-0/+6
|
* Fixes by Mick Durkin...Eric S. Raymond2006-07-211-4/+8
| | | | ...including one that has been hosing DOP computatation from SiRF reports.
* splint and error-message cleanup.Eric S. Raymond2005-08-031-1/+1
|
* True North support integrated.Eric S. Raymond2005-08-011-1/+1
| | | | | | It's not compiled in by default, but it does require one architecture change -- device channels is now a driver- specific capability, since the Thales GPS our TrueNorth user is working with has 14 channels.
* Petr Slanky's latest Evermore patch and some splint cleanups.Eric S. Raymond2005-07-251-1/+1
|
* Add unix_to_gpstime.Eric S. Raymond2005-07-131-0/+7
|
* Correct tdop computation.Eric S. Raymond2005-07-131-6/+6
|
* Experimental code to hunt for a DGPSIP server.Eric S. Raymond2005-06-291-3/+1
|
* Prep work for 16-channel receivers; silence a warning about PPS initialization.Eric S. Raymond2005-06-221-3/+5
|
* This version passes the regression test.Eric S. Raymond2005-06-201-2/+2
|
* Back out a change that (harmlessly) broke the regression test...Eric S. Raymond2005-06-201-1/+1
| | | | ...until we grok why it did.
* First steps towards solving Rob Janssen's DOP problem.Eric S. Raymond2005-06-201-1/+1
|
* Let's confuse Andreas less.Eric S. Raymond2005-06-191-1/+1
|
* New data-lifetime code looks like it might be ready for prime time.Eric S. Raymond2005-06-171-7/+9
|
* New packet-return API using newdata and explicit merging.Eric S. Raymond2005-06-151-0/+50
|
* Various small cleanups.Eric S. Raymond2005-06-151-1/+0
| | | | | Fix a return type. Note start-of-cycle in some test loads. Consolidate -DGNU_SOURCE loads.
* 75 splint warnings with all -unrecog directives removed.Eric S. Raymond2005-06-071-9/+5
|
* 78 splint warnings.Eric S. Raymond2005-06-071-2/+0
|
* 104 split errors. Some iffy changes to the TSIP driver.Eric S. Raymond2005-06-021-1/+3
|
* 560 splint errors.Eric S. Raymond2005-05-291-8/+20
|
* Get rid of more sprintfs.Eric S. Raymond2005-05-271-2/+2
|
* 1485 splint warnings.Eric S. Raymond2005-05-261-7/+7
|
* More splint cleanup. Down to 1689 warnings.Eric S. Raymond2005-05-261-0/+2
|
* Preparation for the TSIP driver.Eric S. Raymond2005-05-241-5/+4
|
* Pass along, or compute, TDOP and GDOP.Eric S. Raymond2005-05-221-0/+2
|
* More about deweighting.Eric S. Raymond2005-04-291-0/+17
|
* DOP computation for SiRF binary is now available.Eric S. Raymond2005-04-291-5/+29
| | | | Thus we can give all components of a 3D error estimate.
* Matrix multiplication fixes from Jonathan Brandmeyer.Eric S. Raymond2005-04-281-8/+10
|
* Slimmed-down version of inversion code.Eric S. Raymond2005-04-211-48/+53
|
* DOP computation still doesn't match reported values...Eric S. Raymond2005-04-201-0/+203
| | | | ...but at least it's not falsely reporting zero determinants now.
* Make the code for converting GMT dates independent of Unix time-zone weirdness.Eric S. Raymond2005-03-281-20/+21
|
* Gary Miller's simplification.Eric S. Raymond2005-03-281-2/+2
|
* Oops...that ampersand is needed! Fixes a Mac OS X compilation bug.Eric S. Raymond2005-03-281-1/+1
|
* Rob Janssen's patches for timezone issues.Eric S. Raymond2005-03-281-5/+5
|
* unix_to_iso8601() should not do timezone correction. That's the driver's job.Eric S. Raymond2005-03-271-1/+1
|
* unix_to_iso8601() was returning localtime, not zulu time.Gary E. Miller2005-03-271-1/+1
|
* Make offset an argument of the GPS time converter.Eric S. Raymond2005-03-261-2/+5
|
* Correct 8661 to 8601.Eric S. Raymond2005-03-251-4/+4
|
* gpsutils.c needed its own header.Eric S. Raymond2005-03-241-0/+7
|
* Set timezone correctly.Eric S. Raymond2005-03-241-16/+25
|