summaryrefslogtreecommitdiff
path: root/libgps_core.c
Commit message (Collapse)AuthorAgeFilesLines
* More name changes related to GST.Eric S. Raymond2011-02-011-1/+1
| | | | All regression tests pass.
* Change Noise sentence to use ISO8601 timestamp.Eric S. Raymond2011-02-011-2/+2
|
* Cleanup after the NOISE change. All regression tests pass.Eric S. Raymond2011-02-011-2/+3
|
* Process GPGST into noise statistics. All regression tests pass.Thomas Sprinkmeier2011-02-011-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Reorganize stream argument flags, and create one for timing data.Eric S. Raymond2011-01-261-0/+4
|
* Fix typos pointed out in Berlios tracker bug #17858.Eric S. Raymond2011-01-251-1/+1
| | | | All regression tests pass.
* The raw_hook mwember and set_raw_hook are gone; client API cleanup is done.Eric S. Raymond2011-01-251-22/+2
|
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Remove subframesflag so they're omitted uncinditionally.Eric S. Raymond2011-01-101-5/+1
|
* WATCH_SUBFRAMES should not imply WATCH_JSON.Eric S. Raymond2011-01-041-1/+1
|
* Enable gpspipe to start subframe reporting.Eric S. Raymond2011-01-041-0/+4
|
* Quite down the JSON parser a bit.Eric S. Raymond2011-01-011-11/+13
|
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-0/+5
|
* Correct a previous commit changing <time.h> to <sys/time.h> eceywhere.Eric S. Raymond2010-12-211-1/+1
| | | | <sys/time.h> is needed for select(2).
* Use <time.h> a la SuS, rather than <sys/time.h>, for select(2) etc.Eric S. Raymond2010-12-211-1/+1
|
* Abolish gpsd_report.c. No more hardwired logging from the client libraries.Eric S. Raymond2010-12-161-3/+3
| | | | Only the daemon now uses this function.
* Refactor to turf all uses of gpsd_report() out of netlib.cEric S. Raymond2010-12-161-0/+4
| | | | | | A recent bug report makes it clear that all such uses have to be removed from the client libraries. Otherwise a GUI client might dummp log messages uselessly in the X session error log. This is a start.
* Taking SuS seriously some more.Eric S. Raymond2010-12-141-8/+4
|
* More header simplification. All regression tests pass.Eric S. Raymond2010-12-141-3/+3
|
* For simplification on SuS assumptions.Eric S. Raymond2010-12-131-3/+1
|
* More partial splint cleanup.Eric S. Raymond2010-12-081-1/+1
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-3/+0
|
* Bring gps_read()'s return-code in sync with its manual entry.David Favro2010-11-091-2/+5
| | | | | | | | Documented API calls for a return-value of 0 if gps_stream() were called with POLL_NONBLOCK and no data is available, and a byte-count on success. Previously it returned 0 on success; it now returns the byte-count. Signed-off-by: Jon Schlueter <jon.schlueter@gmail.com>
* Enable much stricter compilation warningsEric S. Raymond2010-09-161-6/+6
| | | | | | | | We now compile with -Wextra on and only the warning on missing fields in initializers turned off (because of the way some of thee JSON code is generated). Cleanups necessary to eliminate all warnings have been done. All regression tests pass.
* Initialize gpsdata->raw_hook to avoid use-before-initalized.Greg Troxel2010-08-201-0/+1
| | | | >From Diego Berge on gpsd-dev.
* splint cleanup.Eric S. Raymond2010-07-141-1/+1
|
* Move the buffer and waiting members from privdata to gpsdata, sinceEric S. Raymond2010-07-141-23/+20
| | | | they always have to be there when a device is active anyway.
* First round of changes for API major version 5:Eric S. Raymond2010-07-131-40/+16
| | | | | * gps_open() becomes reentrant, what gps_open_r() used to be. * gps_poll() is removed in favor of gps_read().
* Introduce the gps_read() entry point and use it internally.Eric S. Raymond2010-06-081-8/+19
| | | | | | This is as per the roadmap. Clients can still use gps_poll(). All regression tests pass. Clients run correectly live.
* Splint cleanup. All regression tests pass.Eric S. Raymond2010-06-081-2/+4
|
* Prevent a warning when compiling with --disable-oldstyleBeat Bolli2010-04-301-2/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Remove obsolete FIX-ME.Eric S. Raymond2010-04-271-1/+1
|
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-1/+1
|
* Remove obsolete FIXME.Eric S. Raymond2010-04-261-1/+0
|
* Fix a call to the wrong mask dumper.Eric S. Raymond2010-04-181-1/+1
|
* Remove unused library support for old-protocol responses other than FIOXY.Eric S. Raymond2010-04-151-158/+0
| | | | | | | | | | | | | The non-deprecated library entry points can only send 'W' and 'R", so library users can only see the responses that can occur in a 'W' stream (FIOXY). Thus, the code for the old single-shot responses (ABCDEKMNPQSTUV) is dead and can be removed. This change allows us to reclaim a client-side mask bit previously used by the 'E' command. Users were first warned against relying on these responses in 2005. Anybody who had been using them since since was asking for trouble.
* Try placing some indent pragmas at a different spot.Eric S. Raymond2010-04-141-2/+2
| | | | GNU indent was moving an entire line of code in a way it shouldn't.
* More GNU indent pragmas.Eric S. Raymond2010-04-141-4/+4
|
* Client library core reindented. cgps passes live test.Eric S. Raymond2010-04-141-178/+220
|
* Fix the broken handling of our two compass device types in the NMEA driver.Eric S. Raymond2010-04-101-1/+1
| | | | | | | | | | | | It could never have worked right because there was no mask flag to tell a caller that the compass data was valid. TNT has been broken for years; why we never got any complaints about the Oceanserver is more of a mystery. Since it was all broken anyway I renamed and cleaned up that substructure in the union. Nothing fills in the "yaw" slots yet with anything but NaN, but it's got pitch and roll, so... All regression tests pass.
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-1/+1
| | | | | | | | | | | | | | | | | Large patch, no actual executable code changes except in three debug dumpers. Breaks up the *_SET status macros so the client side continues to use them, but the daemon uses a similarly-named set with an _IS suffix. This frees up two mask bits in both sets - the client side no longer needs to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs to have VERSION_SET and POLICY_SET. The only actual code change is that the maskdump.c module, generated by maskaudit.py, splits in half - one child now dumps client-side flags, the other daemon-side flags. One other function call in a debug dumper in libgps_core.c changes. All regression tests pass.
* I tripped over a git-ism. This change should have been in my last commit.Eric S. Raymond2010-04-081-1/+1
|
* Pacify splint.Eric S. Raymond2010-04-041-1/+1
|
* Actually close the daemon socket in a library close()Eric S. Raymond2010-04-011-2/+3
|
* Internals of Qt support.Chris Browet2010-03-311-0/+55
| | | | | | | | | | | | | | | | | All regression tests pass. Note from esr: this feature cannot be announced yert, as it requires documentation in the INSTALL file. 1. What the target environments are (Linux? Windows? Both) 2. All build prerequisites (C++ compiler? Qt library? Other libraries?) 3. What the new files libQgpsmm_global.h and libQgpsmm.pro are for, and how the are used. We also need to know how to regression-test this code under Linux so we can verify that it's not broken as the client library evolves. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Address Berlios bug #17034: BUFSIZ too small with some compilerEric S. Raymond2010-03-311-1/+1
|
* Cope gracefully with failed read of JSON object. Suggested by Don Weeks.Eric S. Raymond2010-03-271-1/+2
|
* gps_poll() now indicates when the daemon socket closes from the other side.Eric S. Raymond2010-03-271-4/+17
| | | | | You get back -1 with errno not set; cgps.c now illustrates how to use this in a polling loop. Documentation has been updated.
* Make the library default to new protocol rather than old.Eric S. Raymond2010-03-141-4/+2
| | | | Old-protocol support is still present.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+0
|