summaryrefslogtreecommitdiff
path: root/navit/navit.h
Commit message (Collapse)AuthorAgeFilesLines
* keep active vehicle profile when deactivating vehicle (#217)R7393mcapdeville2017-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | When deactivating vehicle, profile is choosen from "car" vehicle_profile or by default the first vehicle_profile in list. So, by example, car_avoid_tolls never work when manually selecting current position (and deactivate vehicle). Now, if there is a selected vehicle profile, we keep it as vehicle_profile (not changing it). Aditionnaly, in internal gui, selecting a vehicle profile when wehicle is deactivated, in gui_internal_cmd_set_active_profile(), call navit_set_vehicleprofile_name() with new vehicle_profile (by name) before setting vehicle_attr to NULL (like in gui_internal_cmd_set_position()). Now, we can switch profile when vehicle is deactivatied and route is update correctly. TO DO : Same in other gui TO TEST : with more than one vehicle enable
* Fix:core:Fix const warnings.|Part of #1154.sleske2013-08-111-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5573 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Reverted part of r5347 because function is needed for custom modulesmartin-s2013-01-211-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5349 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Refactoring|Rename, unused variables removed, static added.sleske2013-01-201-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5347 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Don't display osd buttons on src attribute change while in internal ↵mdankov2012-12-041-0/+1
| | | | | | gui. See #1057. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5283 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Better waypoints handling, see #1040 |Based on ideas & patches from ↵mdankov2012-11-091-0/+1
| | | | | | pini and antiram git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5264 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Allow having several waypoints. Fixes #46.|Thanks heiko ↵mdankov2012-04-011-0/+7
| | | | | | wegeler. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5004 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix::Core:Adds in undeclared prototypes for navit_ref and navit_unrefgeoghegan2012-02-211-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4943 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Do not allow duplicate entries in the list of former ↵mdankov2011-11-231-1/+1
| | | | | | destinations. Fixes #955. Thank you sleske. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4847 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui/internal:Insert new "Former destinations" menu entry in "Actions". ↵korrosa2011-09-291-0/+1
| | | | | | Closes #943|Great work sleske! git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4801 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Possibility to log at defined positionmartin-s2011-01-261-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4048 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:added helper function to enable installation of command table from ↵tegzed2010-12-031-0/+2
| | | | | | external modules git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3751 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Exported set_timeout functionmartin-s2010-11-111-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3675 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Exported zoom in/out around cursor functionsmartin-s2010-11-111-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3674 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Exported navit_draw_asyncmartin-s2010-11-091-2/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3670 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:United *get_user_data_directory() functions with same body in navit.ctegzed2010-11-071-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3655 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Exported navit_set_center_cursor functionmartin-s2010-10-301-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3633 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:API for zooming to rectanglemartin-s2010-10-141-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3607 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Prototypesmartin-s2010-09-031-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3553 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fixed declaration for navit_disable_suspendakashihi2010-06-041-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3338 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Added framework for reacting to disable suspend eventsakashihi2010-06-031-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3337 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Added navit_set_vehicle_by_name halper functionakashihi2010-03-161-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3022 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Guarded navit_set_layout_by_name from modifying layout nameakashihi2010-03-161-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3021 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Replaced navit_get_bookmarks() with bookmarks attributeakashihi2010-03-041-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2978 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Added basement for bookmarks manager. Most of the bookmarking akashihi2010-03-031-1/+2
| | | | | | | related code moved from navit.c to bookmarks.c git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2977 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Support for automatic day night switching|Thanks chollyamartin-s2009-11-121-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2746 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:Call gui_internal_setup_gc early enoughmartin-s2009-10-241-11/+7
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2686 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Add option to set timeout with new map centermartin-s2009-07-291-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2424 ffa7fe5e-494d-0410-b361-a75ebd5db220
* add:core:Selecting the vehicle profile now works, but setting it on the ↵bustersnyvel2009-07-261-0/+11
| | | | | | vehicle doesn't, ticket #396 git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2406 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:gui_internal:Added possibility to log a message to the debug logmartin-s2009-06-251-20/+8
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2374 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Made routing optionally asynchronousmartin-s2009-05-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2254 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Some cleanups|Thanks dd_2nd for the patchhorwitz2009-04-151-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2213 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Eliminate warningtinloaf2009-03-211-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2155 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Cleaned up a bitmartin-s2009-03-061-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2082 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Various improvementsmartin-s2009-02-061-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2018 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core: Function to toggle the navigation announcersingesang2009-01-211-0/+1
| | | | | | Add:OSD: Element to toggle navigation announcer git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Added possibility to call commands with argumentsmartin-s2009-01-121-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1927 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Adding estimate of duration of speechtinloaf2009-01-051-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1898 ffa7fe5e-494d-0410-b361-a75ebd5db220
* core:fix:fix some warningshorwitz2008-12-291-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1872 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:More navigation fixesmartin-s2008-12-171-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1821 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Fix some compile warningsmartin-s2008-11-061-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1663 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Don't handle graphics events from gui_internal and navit twicemartin-s2008-11-061-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1660 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Various:Fixed some warningsmartin-s2008-11-041-1/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1642 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Cleanup of vehicle handlingmartin-s2008-10-251-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1559 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core/gui-internal:Hide "stop navigation" if there is no path calculatedtinloaf2008-10-221-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1532 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Make it possible to add more commands to osd buttonsmartin-s2008-08-221-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1306 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:osd_core:Fixed buttons with negative coordinatesmartin-s2008-08-221-4/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1305 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:gui_internal:More functionality for gui_internalmartin-s2008-06-161-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1125 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/+80
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1059 ffa7fe5e-494d-0410-b361-a75ebd5db220