summaryrefslogtreecommitdiff
path: root/navit/vehicle.c
Commit message (Collapse)AuthorAgeFilesLines
* change:core:Remove unused argument from attr_searchjkoan2020-08-081-3/+3
|
* fix:various:fix compiler warnings (#940)Stefan Wildemann2019-11-051-1/+1
| | | | | | | | | | | | | | | | * fix:core:build without warnings on my setup navit_core build without non avoidable warnings. * fix:dbus:fix compiler warnings * fix:gui/internal: remov compiler warnings * fix:various:remove compiler warnings * fix:various remove compiler warnings. * fix:various: fix android compiler warnings
* Fix some typos.fix_cursor_layer_sizemetalstrolch2019-08-181-2/+2
|
* fix: vehicle: Increase layer for cursor for rotationWildemann Stefan2019-07-231-22/+51
| | | | | | | | This commit increases the layer used for drawing the cursor that the cursor fits on it regardless its rotation. This is required as some graphics (e.g. qt5) clip drawings leaving the overlay size. This cripples the cursor if the layout creter did not mind this. This patch adds extra space to compensate.
* Cleanup:global:force the re-attach the return type to the function ↵Joseph Herlant2018-05-301-32/+16
| | | | | | | | 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-512/+503
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-261-12/+12
| | | | | | | | * 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-0/+3
|
* 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.
* Refactor:remove param 'alpha' from graphics_overlay_new/resizeSebastian Leske2015-09-061-2/+2
|
* Fix:core:Do not crash when attempting to set log_gpx_desc, also enable ↵mdankov2015-06-281-9/+8
| | | | | | position marking with any vehicle. Fixes http://forum.navit-project.org/viewtopic.php?f=12&t=567, related to #542. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6123 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Remove draw_mode_end_lazy. Only used by QPainter and OpenGL ↵sleske2015-01-251-7/+6
| | | | | | graphics, where it does not appear to do anything useful. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6010 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Change all logging at lvl_error/warning to lvl_debug, unless it ↵sleske2014-11-221-8/+8
| | | | | | 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-12/+12
| | | | | | part of #1269. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactoring:core:documentation updatemvglasow2014-11-161-1/+1
| | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com> git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5950 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactoring:core:Add some more documentationmvglasow2014-11-151-23/+53
| | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com> git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5948 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix last const warnings by casting. Ugly, but the best solution ↵sleske2013-08-111-1/+2
| | | | | | right now.|Concludes #1154. Now we build without warnings under -Wall, yeah! git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5574 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Integrate transform_setup into transform_new. Avoids two-step ↵sleske2013-07-131-2/+1
| | | | | | initialization and access to undefined variables in struct transform.|Part of fix for #1145. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5544 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Converted log object to new schememartin-s2013-05-241-11/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5506 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:i18n:Translate default name for vehicle.sleske2013-05-011-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5467 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Set default name for vehicle if no name is specified in navit.xml.sleske2013-05-011-0/+13
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5466 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Make images in cursors work againmartin-s2013-01-211-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5351 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Allow layer tag to reference layers within navit context, object ↵martin-s2013-01-191-26/+5
| | | | | | handling cleanup git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5340 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Allow all kinds of vehicles to have profilename attribute. That's ↵mdankov2012-08-221-0/+4
| | | | | | needed to control routing engine. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5215 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Better error/debug messages.sleske2012-08-151-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5203 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix the code breaking n800 build in vehicle.c (which were stolen ↵mdankov2012-05-281-4/+5
| | | | | | from graphics.c before I fixed it :-) git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5116 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Flush loggers on exit to avoid loss of not yet written log datategzed2012-05-251-0/+8
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5114 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix navit crashing when nonexistant vehicle type is specified in ↵mdankov2012-02-111-0/+2
| | | | | | navit.xml. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4933 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Moved object functions of vehicle to vehicle.c, added reference ↵martin-s2012-02-011-0/+39
| | | | | | counting git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4922 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Fix memleaks and guard the structs, because they aren't initalized ↵woglinde2011-04-161-1/+4
| | | | | | in vehicle_new git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4436 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Destroy the graphic context for the background in vehicle_destroy, ↵woglinde2011-04-161-0/+1
| | | | | | memleak found by valgrind git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4433 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Make optionally display a label at cursormartin-s2011-03-171-2/+8
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4357 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Make vehicle cursor have priority over layout cursormartin-s2011-03-101-2/+6
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4323 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle/webos:Add support for WebOS 2.xnorad2011-03-021-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4282 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:MSVC fixes|Thanks chollyamartin-s2011-01-241-7/+9
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3984 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Avoid crash when switching layouts, fixes #685martin-s2010-10-301-2/+7
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3631 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core: Adds more logging parameters as per #611 | Thanks mvglasowgeoghegan2010-10-241-5/+51
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3614 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Support for removing maps and vehicle logs dynamicallymartin-s2010-09-021-0/+11
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3548 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Support for invisible cursorsmartin-s2010-08-161-11/+18
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3528 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Restored ability to write gpx/txt/nmea tracks. Ticket #610akashihi2010-07-091-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3489 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:check that we have a fix before logging it. This closes ticket akashihi2010-06-231-3/+15
| | | | | | | #201 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3381 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Use m/s unit for speed in GPX log, ticket #592kazer_2010-06-221-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3371 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Put the g_free's on the right placeswoglinde2010-03-181-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3037 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Fixed memleak identyfied by valgrindwoglinde2010-03-181-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3035 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Various minor fixes and improvementsmartin-s2010-02-221-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2957 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Logging:Added a 'Mark' button for use whith gpx loggin, ticket #542kazer_2010-02-041-0/+14
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2945 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Avoid drawing cursor with no shapemartin-s2009-11-211-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2779 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Cleaned up useless vehicle parametermartin-s2009-11-121-3/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2745 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Support for custom tags for gpx logmartin-s2009-11-121-0/+33
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2741 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Add the possibility to define cursors in layoutseralph2009-10-141-126/+339
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2667 ffa7fe5e-494d-0410-b361-a75ebd5db220