summaryrefslogtreecommitdiff
path: root/libgpsmm.h
Commit message (Collapse)AuthorAgeFilesLines
* libgpsmm: add is_open methodSimon Dawson2014-01-031-0/+1
| | | | | | | | | | | | | The gpsmm constructor effectively hides the useful status flag returned by the underlying gps_open call. It is extremely useful for client code to be able to check that the gpsmm constructor was successful. To this end, add a gpsmm::is_open method which simply checks that the gpsmm::to_user member is non-NULL. A NULL gpsmm::to_user member can only mean that the constructor was not successful. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-1/+1
|
* Silence another cppcheck warning.ukyg9e5r6k7gubiekd62012-09-071-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* More cppcheck warning fixups. All regression tests pass.Eric S. Raymond2012-05-181-0/+2
|
* Integrate libQgpsmm_global.h into libgpsmm.h.Bernd Zeimetz2011-11-051-1/+9
| | | | | it should be save to do so and saves us from shipping and installing libQgpsmm_global.h.
* Remove unused prototype.Eric S. Raymond2011-05-261-1/+0
|
* Sync the Python and C++ bindings to the C one. Document it properly.Eric S. Raymond2011-03-181-3/+4
|
* Give gps_waiting() a timeout argument. Use it systematically in test clients.Eric S. Raymond2011-03-091-1/+1
| | | | cgps and gpxlogger are live-tested and work. All regression tests pass.
* Rebuild the C++ interface to use RAII.Eric S. Raymond2011-02-021-3/+11
| | | | Simplifies the code and invalidates Berlios ug #17778: crash in libgpsmm.
* Simplify the C++ lib, noo point in supporting the old API now.Eric S. Raymond2011-02-021-7/+2
|
* Ported libgpsmm to major-version 5.David Favro2010-11-091-2/+8
| | | | | | | | | | | | | | It had been completely non-functional since change in parameters to gps_open(). libgpsmm: bug-fix of the port to libgps major-version 5. * Previously, if a gpsmm were constructed, not successfully opened, then destroyed, gps_close() would have still been called. * The new version of libgpsmm may now be backwardsly compatible with libgps major-version<5, although it's not clear why anyone would do that. Signed-off-by: Jon Schlueter <jon.schlueter@gmail.com>
* Carry through and document the poll() -> read() change.Eric S. Raymond2010-07-141-1/+1
|
* Remove a fossil.Eric S. Raymond2010-04-091-1/+0
|
* Internals of Qt support.Chris Browet2010-03-311-0/+5
| | | | | | | | | | | | | | | | | 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>
* A close() method for the C++ binding.Eric S. Raymond2010-03-171-1/+2
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-1/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-1/+1
|
* Add non-blocking check for data waiting from the daemon to the C and C++ APIs.Eric S. Raymond2009-12-051-0/+1
|
* Thread-hook support and documentation removed.Eric S. Raymond2009-11-291-2/+0
|
* Client library debugging can now nbe enabled at runtime.Eric S. Raymond2009-11-201-1/+1
| | | | | That is, if the CLIENTDEBUG_ENABLE feature switch is on. All regression tests pass.
* Introduce gps_send() to the C API.Eric S. Raymond2009-09-231-1/+1
|
* Disentangle the packet raw hook used on the client side...Eric S. Raymond2009-09-171-1/+1
| | | | | | ...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.
* Added stream() entry point to C++ client library.Eric S. Raymond2009-08-311-0/+1
|
* Move implementation of constructor to .cpp file, initialize gps.Bernd Zeimetz2009-05-241-1/+1
| | | | Patch by ewoerner.
* Unify the header protection macro style a bit. Chris Kuethe2008-08-031-4/+4
| | | | | | | Headers likely to be private to gpsd are prefixed with _GPSD_, reusable ones like crc24q.h don't get the _GPSD_ prefix. Protection macro goes right up near the top of the file, right after the SVN id, and it's closure is the last line of the file.
* Don't require the config file for the C++ binding header. Eric S. Raymond2007-12-051-1/+0
| | | | | This means it has to be compiled with g++ rather than gcc, according to bzed.
* 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
* License change.Chris Kuethe2006-09-211-12/+2
| | | | | | | Alfredo Pironti has granted us permission to distribute this software under the same BSD license as the rest of the tree. Thanks Alfredo! http://lists.berlios.de/pipermail/gpsd-dev/2006-September/004376.html
* 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 #!
* Clean up after the raw_hook architecture change.Eric S. Raymond2005-06-121-1/+1
|
* Change API so raw_hook takes a length argument; supports dumping binary packets.Eric S. Raymond2005-05-261-1/+1
|
* Support R=2.Eric S. Raymond2005-05-241-1/+1
|
* Somehow this didn't get checked in before.Eric S. Raymond2005-05-201-0/+42