summaryrefslogtreecommitdiff
path: root/shmexport.c
Commit message (Collapse)AuthorAgeFilesLines
* Repair the logic for setting a non-default SHM export segment.Eric S. Raymond2015-02-161-3/+3
| | | | | | Also, ensure this always happens within the regression-test driver. All regression tests pass.
* Tweak instrumentation to find out why alternate export segment isn't being set.Eric S. Raymond2015-02-161-4/+9
| | | | All regression tests pass. No logic changes.
* Instrument shm segment creation a bit better.Eric S. Raymond2015-02-111-3/+3
| | | | All regression tests pass.
* BSD compiler waening and splint cleanup.Eric S. Raymond2015-02-111-0/+2
|
* Implement and document GPSD_SHM_KEY environment variable.Eric S. Raymond2015-02-091-3/+4
|
* Fix clang's only warning in non-test code, about a cast in the shmexport code.Eric S. Raymond2015-01-271-2/+2
| | | | | | | All regression tests pass with both gcc- and clang-built binaries. One clang warning remains in the JSON test code.
* Now that the transition is done we can restore the gpsd_report name.Eric S. Raymond2014-08-271-3/+3
| | | | All regression tests pass.
* The big leap. Most instances of gpsd_report are replaced...Eric S. Raymond2014-08-271-3/+3
| | | | | | | | | | | | | | | | ...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. Raymond2014-08-271-3/+3
| | | | | | A major step towards eliminating reverse linkage. All regression tests pass.
* First part of Android port patches: deal with in_port_t. SUN_LEN, and getsid().Eric S. Raymond2014-08-181-2/+4
| | | | | | | | | Also, fix how configuratuin in libgps_shm.c and smexport.h is handled. Based on a patch by Samuel Cuella <samuel.cuella@supinfo.com>, but cleaned up some to obey local conventions better. All regression tests pass.
* Clarifying name change. All regression test pass. PPS is live.Eric S. Raymond2013-11-061-3/+3
|
* Repair outdated comment.Eric S. Raymond2013-11-011-2/+1
|
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-3/+5
| | | | | | | | 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.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-5/+5
|
* First cut at implementing waiting test for shm export.Eric S. Raymond2011-10-031-2/+3
| | | | Timeout argument is presently ignored.
* Be extra careful about a USE_QT case.Eric S. Raymond2011-03-281-0/+4
|
* Improve the barrier code and beat GCC harder about not reordering operations.Eric S. Raymond2011-03-281-1/+1
|
* The shm transport finallly works through gps_open().Eric S. Raymond2011-03-281-0/+1
|
* Change return values in the shm interface to be more like socket export.Eric S. Raymond2011-03-271-2/+4
| | | | All regression tests pass. Code splints clean. shm live-testing works.
* Move the memory barrier instructions into the header fileBeat Bolli2011-03-271-6/+2
| | | | | | This allows adding other compilers and/or architectures later as needed. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-1/+1
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Startlingly, memcpy() is *less* of a problem for the seqlock than I thought.Eric S. Raymond2011-03-261-1/+1
|
* Casts can easily screw you up.Eric S. Raymond2011-03-251-5/+23
| | | | All regression tests pass, *with* shm export configured on.
* First cut at shared-memory export. Daemon-side only.Eric S. Raymond2011-03-251-0/+79
Not configured in by default yet because it produces a strange regression failure.