| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* A small correction for the sample C code in libgps.xml.
* Lots of web page ToC menu fixups: duplicates removed, missing entries
added, spelling fixed, etc. Also, all the entries are in the same
order, so they don't "jump around" when you move from one page to
another.
* To move things closer to [X]HTML standards compliance, I added an
alt="" to many of the small gpsd logos at the top of the menu.
* The ohloh.net stuff at the top of the page is now four table data
entries in one row of a table. It extends off to the right on many
displays, which is ugly. If you expand your browser to see all of it,
you end up with long lines of text, which are hard to read. I broke
the table into two rows of two table data entries each.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
* gps_open() becomes reentrant, what gps_open_r() used to be.
* gps_poll() is removed in favor of gps_read().
|
| |
|
|
|
|
|
|
| |
This is so client apps don't have to carrry around libusb and all the
driver-level stuff. I finally caught on to one of the implications of
shared libraries that had somewhow escaped me before.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
You get back -1 with errno not set; cgps.c now illustrates how to use this
in a polling loop. Documentation has been updated.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch original is at:
https://lists.berlios.de/pipermail/gpsd-dev/attachments/20100111/85ad4e15/attachment.bin
This revision changes netlib_connectsock() to take a first argument that is
an address family and can specify IPv4, IPv6, or either. It also changes
gpsd.c to open two client sockets, one IPv4 and one IPv6, and listen
on both.
As a required cleanup, a number of defaults to "127.0.0.1" become
defaults to "localhost" so we're not hardwiring in IPv4 assumptions
anymore.
I've omitted a significant portion of the Mehani patch that changed the
interface of the client library in an incompatible way. Currently there is
no way to make gpsd listen to IPv4 or IPv6 only, and no way to make a
client query over IPV4 or IPv6 only. Also, we'd really like to be able to
condition out IPv6 or (someday) IPv4 support for a leaner runtime, and
there's no way to do that yet, either.
Under IPv4, regression tests pass; live operation with a GPS mouse and
the aishub feed both work. However, the resulting code does not splint
clean; this will need to be fixed, and that's going to be tricky due
to the new sockaddr_t struct.
|
|
|
|
| |
All regression tests pass,
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix it by adding a json switch separate from watch enable. This
involved moving where fake NMEA is generated to a different place,
treating it as just another form of report generation rather than a
side effect of receiving a sentence. Also, some client-side code had
to be changed to use the json flag.
A side effect is that some binary-protocol devicers generate fake $GPGSA
sentences somewhat more often than they used to, and this meant rebuilding
four more regression tests.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We shouldn't try to explain the transition schedule in two different
places.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The immediate use for this will be to simplify the code of gpsmon. All
regression tests pass and xgps runs sanely. Codebase splints clean.
|
|
|
|
|
|
| |
...from the internals of gpsd. Besides being better factoring, this
will give us better control of the daemon's report-generation policy
in the future. All regression tests pass. Codebase splints clean.
|
|
|
|
| |
reinvent it all the time. Use it in gpsmon.
|
|
|
|
| |
Document how to translate old-protocol commands to new ones.
|
|
|
|
|
| |
...and start on a document explaining how to do the protocol
transition in client-side code.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We may need to revisit this if 'n' when we get around to supporting
ipv6.
|
|
|
|
|
|
|
|
|
| |
The TestSession class now schedules events itself. As a bonus, the new
code is simpler and doesn't require system-dependent primitives that
have to be implemented with /proc or fuser.
There actually still is a threaded mode, untested, for use with
valgrind-audit. But gpsfake doesn't need it.
|
|
|
|
| |
of control commands. Also, it now tacks on a '\n' if the user didn't
|
|
|
|
| |
This will replace garminctl, sirfctl, and itraxctl.
|
| |
|
| |
|