summaryrefslogtreecommitdiff
path: root/navit/vehicle/gpsd/vehicle_gpsd.c
Commit message (Collapse)AuthorAgeFilesLines
* patch:vehicle:gpsd allow navit to use gpsd API version 7 and higher, which ↵Charles Curley2019-02-191-0/+4
| | | | | have an API change. (#749) modified: navit/vehicle/gpsd/vehicle_gpsd.c
* Cleanup:global:force the re-attach the return type to the function ↵Joseph Herlant2018-05-301-19/+11
| | | | | | | | declaration (#605) * Cleanup:global:force the re-attach the return type to the function declaration * cleanup:global:some loose ends
* cleanup:global:Use astyle to reformat everythingJoseph Herlant2018-05-251-335/+327
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-261-19/+19
| | | | | | | | * Fix:debug:Change line separators for dbg to work also on win* platform * Fix:debug:Break multiline dbg statements to use the new model * Fix:debug:Move the EOL into debug_vprintf
* Add some Documentation to Plugins (#375)jkoan2017-11-261-1/+9
|
* fix:gtk:Fix imperial factors (#367)Charles Curley2017-11-111-1/+3
| | | | | | | | | | | | | * Use correct conversion factors for a more accurate display. Also, introduced some new conversion factors in navigation.h. modified: navit/gui/gtk/gui_gtk_statusbar.c modified: navit/navigation.h modified: navit/navit.c * Use the conversion factor #define instead of a hard coded value. modified: navit/vehicle/gpsd/vehicle_gpsd.c
* Refactor:core:For plugins, use term 'category' instead of 'type'.Sebastian Leske2016-10-311-1/+1
| | | | | | | Use the term 'category' for all plugins with the same API (GUI plugins, map plugins etc.). This used to be called 'type', which was confusing, because in the XML config, 'type' refers to what is called 'name' in the code.
* vehicle_gpsd:Read all pending data on every poll.R6323Sebastian Leske2015-10-271-1/+5
| | | | | | | | When the system is overloaded, we may lag behind reading the reports streamed by gpsd. To mitigate this, read all pending reports during every poll, and only process the latest report. There is no point in processing a GPS report if a later report is already waiting on the socket. Fixes trac #1332.
* Update:Vehicle:handle gpsd >= 3.11, thanks greg42 for the patchkazer_2015-07-161-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6128 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Fix warning.sleske2015-01-311-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6011 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it ↵sleske2014-11-221-13/+13
| | | | | | looks like an error message.|#1269, part 5 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5967 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Introduce enum for debug levels, and use it everywhere.|First ↵sleske2014-11-221-22/+22
| | | | | | part of #1269. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Correct signature of event_add_watch: file descriptors are int's.sleske2014-08-311-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5881 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Mostly revert rev.5642 to allow N810 to use old libgps. ↵sleske2013-11-251-0/+56
| | | | | | Warn in CMake build.|Fixes #1179. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5719 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Require libgps V3.1+, drop compatibility #ifdefs and ↵sleske2013-09-151-54/+0
| | | | | | warning about LC_ALL.|Fixes #850. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5642 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Fix compiler warnings.sleske2013-09-151-4/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5641 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Remove dependency on glib event loopmartin-s2011-09-151-14/+19
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4782 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Enable gpsd_query for libgps16martin-s2011-07-011-10/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4569 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Don't set nmea watch when not neededmartin-s2011-07-011-1/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4568 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle/gpsd: Fix compilation for gpsd 2.96, patch provided by dandor, ↵woglinde2011-05-151-1/+3
| | | | | | logging will not work git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4494 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:build/cmake:Added building of garmin plugin and some fixes to use same ↵rikky2011-05-021-1/+1
| | | | | | install path as autotools build. thanks pini git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4465 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle/gpsd: followed further api changes in developement version of ↵tegzed2011-03-011-1/+11
| | | | | | gpsd (removal of gps_set_raw_hook() function ) git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4272 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle/gpsd:Fixed nmea logging for gpsd vehicletegzed2011-01-181-1/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3940 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle/gpsd:Followed changes in gps_read() return value, in gpsd_api>=5 ↵tegzed2010-11-161-2/+2
| | | | | | case return value will be ignored git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3684 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle/gpsd: fix handling of gps_open for gpsd_api < 5woglinde2010-09-231-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3582 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Patch:vehicle/gpsd: latest gpsd api support from ticket #628, comment ↵woglinde2010-09-201-3/+22
| | | | | | modified to match the layout, thanks to dandor git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3580 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Additional flag to make work with new gpsdmartin-s2010-03-141-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3010 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Commited pini's patch http://trac.navit-project.org/ticket/518 that solve ↵worldcitizen2010-01-251-0/+41
| | | | | | the gpsd 2.8 >= issue git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2923 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Better diagnostics in case of problems with gpsdmartin-s2009-09-271-3/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2612 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Made vehicle callback more specificmartin-s2009-09-071-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2561 ffa7fe5e-494d-0410-b361-a75ebd5db220
* add:core:GPX logs now include the current profile name of the logging vehiclebustersnyvel2009-07-261-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2405 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Cleanup, Give out message if something is obviously wrongmartin-s2009-04-021-6/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2181 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Converted to event systemmartin-s2009-03-231-30/+24
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2165 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Correctly handle attributemartin-s2009-03-171-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2136 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Vehicle:GPSD:Fixed possible access to a non allocated variable|Thanks ↵kazer_2009-02-111-1/+1
| | | | | | BikeAtor for the patch git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2039 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Reduce debug levelmartin-s2008-12-191-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1843 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Forgotten elementmartin-s2008-12-191-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1840 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Auto-Start gpsd on maemomartin-s2008-12-191-0/+27
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1839 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Patch:Various:Added openmoko patches from carcinomamartin-s2008-12-161-8/+26
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1816 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core: Add iso fix time, hdop and fix type to gpsdzaxl2008-11-091-2/+34
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1714 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core: Fix for vehicles not routing until position is set with the GUI. | steven_s2008-11-011-4/+8
| | | | | | | | | | | | | If navit was started before the gps daemon was running vehicle_gpsd would report the vehicle as active=0 so navit->vehcile would be null. We now report the active status based on the attribute value not the current status of the gps link. Same applies to vehicle_file and vehicle_gypsy git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1626 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Return true when vehicle_gpsd is active to allow the map to follow ↵steven_s2008-10-281-0/+6
| | | | | | the vehicle. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1584 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Made less verbosemartin-s2008-10-261-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1563 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Patch:vehicle_gypsy:Added patch from RedDogmartin-s2008-07-091-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1205 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add license files and headershorwitz2008-06-051-0/+19
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1100 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Renamed src to navit for cleanup of includesmartin-s2008-05-181-0/+285
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1059 ffa7fe5e-494d-0410-b361-a75ebd5db220