summaryrefslogtreecommitdiff
path: root/navit/main.c
Commit message (Collapse)AuthorAgeFilesLines
* fix:sailfish:enable sandboxing for sailfish OS. (#1182)Stefan Wildemann2022-05-231-1/+1
| | | | | | | | | | | | | | | * FIX:graphics:qt5 switch path of navit qml to org.navitproject Android uses org/navitproject/navit so do we on qt5 now * FEATURE:core: allow to configure linux home config dir * FIX:sailfish: configure to enable sailjail * CI: remove docker install step from sailfish * SAILFISH: bump release version to .2 * fix:sailfish: add Audio perrmission for espeak
* Fix run when in build dir (#957)jkoan2020-01-181-1/+2
| | | | | * add:build:core:Add file which is only visible to devs to detect when navit is running in build dir
* fix:all:fix compiler warnings (#935)Stefan Wildemann2019-10-291-1/+6
| | | * fix:core:remove many compiler warnings from core
* Feature:Support USERPROFILE folder for Windows target (#758)OLFDB2019-09-251-16/+39
| | | | | * Rework:USERPROFILE for Windows Use extended environment_vars array for Windows. Use ~ to provide homedir for Windows using USERPROFILE.
* fix:core: Correct default layout handling. (#816)Stefan Wildemann2019-08-071-4/+0
| | | | | This commit corrects the default layout handling broken when splitting the layouts to own files. It restores the layout saving of the internal gui. So now it starts again with the last selected layout.
* Refactoring:Xmlconfig:Moving layout definition in their own .xml file (makes ↵lains2018-11-181-4/+17
| | | | | | | | | | main navit.xml file lighter) (#559) Layouts contain quite heavy xml code, and there are many layouts available for navit. They are all inserted inside the main navit.xml, which makes it hard to edit because of its size, even if changes or customizations by users are very rarely on the layout code. I have thus moved the layout code away from navit.xml, each layout having its own xml definition file, called navit_layout_*.xml These files are inserted inside the main navit.xml file by using the already existing xi:include mechanism, this also allow for backwards compatibility (old monolithic navit.xml files are still valid and can be used). The other advantage for this is that f the user wants to have his/her own customized navit.xml, he/she can still include the shipped layout files, making their xml lighter. This also allow to enable/disable specific layouts easily by including or not each layout file. It is also easier to perform side-by-side comparison between two layout files.
* Cleanup:global:force the re-attach the return type to the function ↵Joseph Herlant2018-05-301-8/+4
| | | | | | | | 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-300/+293
|
* Fix:debug:Change line separators for dbg to work also on win* platform (#546)Joseph Herlant2018-04-261-2/+2
| | | | | | | | * 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
* Fix: Allow unusual building (#215)R7404Stefan Wildemann2017-04-241-3/+3
| | | | | | | | | | | | | | | | | | | * Support unusual building This patch updates navits cmake system to allow more unusual build and install path configurations as well as renaming the navit binary. This sis required for restricted environments like Sailfish OS harbour that do not follow usual path conventions. You can now: redefine the binary name (NAVIT_BINARY) control the translation file names (PACKAGE) select the library directory (LIB_DIR) select the share directory (SHARE_DIR) select the locales directory (LOCALE_DIR) select the images directory (IMAGE_DIR) select the man directory (MAN_DIR) the .desktop file is updated and the man file is renamed according to this and the install prefix is still honoured.
* Fix navigation messages translations in Android LollipopR6372Michael Dankov2015-11-151-0/+2
| | | | | | | | Do not set locale to "C" for LC_NUMERIC, and do not call setlocale at all on Android, because: - Since Lollipop, Android attempts to do something in setlocale, but its implementation is far from complete and makes no sense for us at this point. - Older Android versions used to completely ignore setlocale() calls.
* Fix:port/win32:Tune debug output levelmdankov2014-11-251-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5972 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Introduce enum for debug levels, and use it everywhere.|First ↵sleske2014-11-221-2/+2
| | | | | | part of #1269. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5960 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Enable -Wundef, fix warnings by replacing #if -> #ifdef.sleske2014-02-271-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5749 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:vehicle_gpsd:Require libgps V3.1+, drop compatibility #ifdefs and ↵sleske2013-09-151-2/+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:core:Fix warning for undeclared use of textdomain.sleske2013-08-191-13/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5580 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Refactor:core:Rename switch ENABLE_NLS to USE_NATIVE_LANGUAGE_SUPPORT for ↵sleske2013-06-141-1/+1
| | | | | | consistency. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5537 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Format stringmartin-s2013-05-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5500 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Allow multiple text domains for navit translationsmartin-s2013-04-281-2/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5458 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Remove pointless '#if 1'sleske2012-06-181-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5151 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Strip /bin from win32 module namemartin-s2011-06-281-0/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4546 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:MSVC fixesmartin-s2011-05-091-0/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4480 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core:Added command function for spawn systemprocesses and string ↵woglinde2011-05-011-12/+3
| | | | | | catenation, patch provided by tryagain git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4458 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fixed some warningsrikky2011-03-191-5/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4369 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Portabilitymartin-s2011-02-181-1/+3
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4200 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fixed warnings about unused variablesrikky2011-02-141-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4158 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:MSVC fixes|Thanks chollyamartin-s2011-01-251-3/+6
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4017 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Correct NLS detection on win32martin-s2010-11-081-0/+8
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3659 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core: Adds virtually all languages to the NLS Lookup table for WinCE / ↵geoghegan2010-10-261-41/+170
| | | | | | Win32 Locale settings git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3624 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:core: I'm being diplomatic. This patch adds all the Swiss languages to ↵geoghegan2010-10-251-0/+4
| | | | | | the NLS lookup table for WinCE / Win32! git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3623 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core/cmake:Enable runnig from source direcoryrikky2010-10-031-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3596 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Adds more new languages to the NLS lookup table for WinCE / Win32 ↵geoghegan2010-09-301-8/+31
| | | | | | and adds documentation git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3587 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Adds a lot of new languages to the NLS lookup table for WinCE / ↵geoghegan2010-09-291-10/+15
| | | | | | Win32 and adds documentation git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3586 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Adds Poland to the win32/wince nls translation table| Thanks Domiss!geoghegan2010-09-291-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3585 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix for rev 3534. Use correct language for ireland as per ticket #640geoghegan2010-08-241-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3540 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix for rev 3533. Use correct language for ireland| Thanks Number6rikky2010-08-181-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3534 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Added Ireland to the win32/wince nls translation tablerikky2010-08-181-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3533 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Some const problemsmartin-s2010-07-151-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3498 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Support for FRA FRA NLS Settingmartin-s2010-01-091-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2899 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Danish NLS setup for wincemartin-s2009-12-051-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2845 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Split out main_ functions from main.c, updated dtdmartin-s2009-11-021-80/+0
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2715 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Add:Core:Language definition for wincemartin-s2009-10-291-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2703 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Add russian definition for wincemartin-s2009-10-281-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2697 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Correct parameters for setenvmartin-s2009-09-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2600 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Removed annoying messagemartin-s2009-09-231-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2598 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:core:Fix build for non WIN32 systems.horwitz2009-09-221-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2597 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Enable NLS for windowsmartin-s2009-09-221-0/+33
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2592 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Re-Enabled log file for windowsmartin-s2009-09-031-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2556 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:graphics_win32:Correct handling of disabled overlays, give back size of ↵martin-s2009-09-021-0/+2
| | | | | | images git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2546 ffa7fe5e-494d-0410-b361-a75ebd5db220
* Fix:Core:Some cleanups in environment setupmartin-s2009-08-201-20/+5
| | | | git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2498 ffa7fe5e-494d-0410-b361-a75ebd5db220