summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Warnings during build (#1225)HEADtrunkOLFDB2023-03-079-237/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit * Fix:#1185 * Fix:#1185 * Update after further tests * Update navit.c Missing opening bracket. * Update navit.c Needs AND not OR when combining if clauses. * Revert "Fix:#1185" This reverts commit fd91e400dfc5bfa83ee4565c2ab9e222188eee77. * Revert "Fix:#1185" This reverts commit be87cd30a0b153158bc68b3eb83601aadeda322c. * Fix: Warning during build * WINCE compiler needs pragma to be outside of a function
* Fixed old wiki link (#1229)Jeremiah Lowe2023-03-071-1/+1
| | | Replaced old wiki link with https://navit.readthedocs.io/en/v0.5.6/
* Fix: Warning during build (#1224)OLFDB2023-02-053-2/+3
| | | | | | | | | | | | | * Fix: Warning during build Added "Language: zh_TW\n" to fix warning. * Fix: Warning during build Added "sr" in "Language: sr\n" to address warning during build * Fix: Warning during build Remove "\r" from "Kaarten gorter dan 3,8GB zijn momenteel niet ondersteund op Android.\r\n" to address warning during build
* Fix: #1179OLFDB2023-02-041-1/+1
| | | This fixes the issue #1179. Tested with testcases and working until Y2K38 by when we would need long values to be used.
* Fix: Warning during build (#1223)OLFDB2023-02-041-1/+1
| | | Use attr_none as we are handling an attribute type and not an item type.
* fix:core:Fix sunrise/sunset layout switchOLFDB2023-01-111-12/+35
| | | | | | | | | | | Fix #1185 2 (#1216) * Initial commit * Fix:1185 Verified against https://api.sunrise-sunset.org for any integer coordinate -180 -90, -179,-90 ... 179 90, 180 90. * Changed loglevel
* Fix #1181masterOLFDB2023-01-021-1/+6
|
* Allowing comma-separated geo coordinateslains2022-12-223-9/+38
|
* README reworked and weblate added (#1209)Allan Nordhøy2022-11-011-73/+37
|
* removed:graphics:Remove feature to read image from zip (See #1194)jkoan2022-10-243-69/+20
|
* Merge pull request #1206 from navit-gps/ci-fdroid-bullseyemvglasow2022-10-222-19/+38
|\ | | | | Add:ci:Update F-Droid CI to Debian bullseye
| * Add:ci:Update F-Droid CI to Debian bullseyemvglasow2022-10-222-19/+38
|/ | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:ci:Use fdroidserver:buildserver image for build_fdroid (#1205)mvglasow2022-10-171-19/+26
| | | | | | | | | | | | * Add:ci:Run F-Droid build on fdroidserver image Signed-off-by: mvglasow <michael -at- vonglasow.com> * Add:ci:Fix some environment variables for F-Droid build Signed-off-by: mvglasow <michael -at- vonglasow.com> Signed-off-by: mvglasow <michael -at- vonglasow.com> Co-authored-by: mvglasow <michael -at- vonglasow.com>
* Fix:vehicle/android:Never use fused provider for precise location (#1202)mvglasow2022-10-151-2/+71
| | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com> Signed-off-by: mvglasow <michael -at- vonglasow.com> Co-authored-by: mvglasow <michael -at- vonglasow.com>
* Fix:ci:use F-Droid server version compatible with OS image (#1204)mvglasow2022-10-151-1/+1
| | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com> Signed-off-by: mvglasow <michael -at- vonglasow.com> Co-authored-by: mvglasow <michael -at- vonglasow.com>
* Fix:doc:build:linux:Added missing dependency libspeechd-dev for Raspberry Pi OS.OLFDB2022-10-141-1/+1
|
* Merge pull request #1198 from bkoppelmann/warningsStefan Wildemann2022-09-2110-21/+16
|\ | | | | Fix some of the many compiler warning
| * fix:core:Forcefully terminate string read with fgetsStefan Wildemann2022-09-211-0/+2
| |
| * Fix:gui:qt5_qml: Fix -Wunused-variable for proxy.cBastian Koppelmann2022-08-301-1/+0
| | | | | | | | | | | | | | | | This fixes the warning: proxy.c:35:52: warning: unused variable ‘img’ [-Wunused-variable] 35 | struct graphics_image *img; |
| * Fix:gui/qt5_qml: Fix -WreorderBastian Koppelmann2022-08-302-2/+2
| | | | | | | | | | | | | | | | | | member variables ought to be initialized in the same order as they are declared. This fixes the warning: qml_poi.h:47:13: warning: ‘PoiObject::m_icon’ will be initialized after [-Wreorder] 47 | QString m_icon; | ^~~~~~
| * Fix:gui:qt5_qml: Fix -Wunused-variableBastian Koppelmann2022-08-301-6/+1
| | | | | | | | | | | | | | | | this fixes the warnings: backend.cpp:176:25: warning: unused variable ‘nav’ [-Wunused-variable] 176 | struct navigation * nav = NULL; | ^~~
| * Fix:gui:qt5_qml: Fix -Wwrite-strings warningBastian Koppelmann2022-08-302-7/+7
| | | | | | | | | | | | | | | | | | | | | | We assign string constants to a char* which will lead to an error if anyone tries to write that pointer, as constant data is mapped read-only. This patch makes these const char* pointers. Fixes the warning: backend.cpp:588:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 588 | _current_street = "Enter Street"; | ^~~~~~~~~~~~~~
| * Fix:graphics:qt5: Fix -Wunused-variable for QPainterBastian Koppelmann2022-08-302-2/+0
| | | | | | | | | | | | | | | | This fixes the warning: QNavitQuick.cpp:170:15: warning: unused variable ‘painter’ [-Wunused-variable] 170 | QPainter* painter = NULL; | ^~~~~~~
| * Fix:vehicle_demo: Fix -Wparentheses warningBastian Koppelmann2022-08-301-1/+1
| | | | | | | | | | | | | | This fixes the following warning: vehicle_demo.c:105:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 105 | if(flags = tracking_get_current_flags(navit_get_tracking(priv->navit))) { | ^~~~~
| * Fix:graphics:svg_debug: Fix -Wincompatible-pointer-typesBastian Koppelmann2022-08-301-1/+1
| | | | | | | | | | | | | | | | | | we are assigning a char* to int*. So lets explicitly cast it to int*. This fixes: graphics_svg_debug.c:173:16: warning: assignment to ‘unsigned int *’ from incompatible pointer type ‘unsigned char *’ [-Wincompatible-pointer-types] 173 | gc->dashed = dash_list; | ^
| * fix:gui:qt5_qml: Fix -Wmissing-prototype warningBastian Koppelmann2022-08-301-0/+1
| | | | | | | | | | | | | | get_icon() was declared in proxy.h, which we never included. This fixes: proxy.c:34:52: warning: unused variable ‘img’ [-Wunused-variable] 34 | struct graphics_image *img;
| * fix:navit: Fix -Waddress warningBastian Koppelmann2022-08-301-1/+1
|/ | | | | | | | since 'lastline[]' is stack-allocated it can never be NULL, thus we don't need to check for that. This fixes the following compiler warning: warning: the comparison will always evaluate as ‘true’ for the address of ‘lastline’ will never be NULL [-Waddress] 1809 | if ((lastline != NULL) && (strcmp(lastline, TEXTFILE_COMMENT_NAVI_STOPPED))) {
* fix:maptool:skip changeset elements and their tags in the osm xml file. (#1193)mdankov2022-07-251-0/+7
| | | | Deny <tag k=... v=..> processing before first <node> element is read. Let maptool silently skip <boundary> and <changeset> elements
* fix:build:android:Add temporary Workaround to not fail the buildjkoan2022-06-151-0/+1
|
* fixed:vehicle:demo:Improvements for vehicle_demo (#1188)OLFDB2022-06-131-3/+18
| | | | | * Random values for height, speed, num_sats_used and no signal when AF_UNDERGROUND is true * astyle changes * unused variables removed
* change:build:linux:Remove additional steps jkoan2022-06-071-34/+0
| | | Remove Coverage and Translation Update from linux build as 1) it fails 2) should have its own Build-Step/Action
* fix:maptool: Don't drop unrecognized relations to borders temp filemetalstrolch2022-05-241-1/+1
| | | | Cleans up place to area processing
* fix:ci: update sailfish os SDK version to 3.4.0.24metalstrolch2022-05-242-2/+5
| | | | | | | | | | Sailfish SDK 3.4.0.24 is the newest version known to run on Jolla1 devices therefore this version is choosen. As it allows to build aarch64 binaries as well building those is enabled on ci. SDK images are fetched from coderus, thanks for providing. Images are known to be good on Jolla1(3.4.0.24) and Xperia XA2 (4.4.0.64, latest as of writing). Aarch64 rpm is completely untested.
* fix:sailfish:enable sandboxing for sailfish OS. (#1182)Stefan Wildemann2022-05-2313-14/+26
| | | | | | | | | | | | | | | * 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:speech/speech_dispacher:use spd_say instead of spd_sayf (#1176)trldp2022-01-121-1/+1
|
* feature: graphics: allow spiked lines for cliff and embarkments (#1174)Stefan Wildemann2022-01-0110-4/+132
| | | | | | | | | | | | | * feature: graphics: allow spiked lines for cliff and embarkments This adds another drwing element to graphics system. It can produce lines with spikes as used for cliffs on maps. Additionally this adds embarlment support for map. * review fixes. Add changes requested by review, plus add paranoia check on xml parameter.
* fix:core:Fix buffer overflow for ticket #1167 (#1170)Bastian Koppelmann2021-12-235-21/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor:Transform: Create transform func for a single point we have a common pattern where we call transform() for a single point. We have to specify the last 4 parameters as constants in a function with too many parameters. So refactor this function to a simpler signature. While at this, we also rename the function for easy distinction. * Fix:Transform: Fix buffer overflow in transform_point_buf in ticket #1167 When displayitem_transform_holes() is called, we allocate a struct point buffer of size count. Then we call transform_point_buf() to fill that buffer called result. In this function we fill the buffer in a for loop that runs count times. The buffer is indexed using result_idx which is incremented every loop iteration. However, if we are in 3d mode (indicated by t->ddd), we call transform_z_clip_if_necessary(). This can lead to the repetition of the current loop iteration by decreasing the loop variable i by 1. Even though we decreased i we still increment result_idx by 1. So from the point of view of result_idx we are running the loop count+1 times. Thus, we write one element past the allocated buffer. To fix this we give the size of the allocated buffer to transform_point_buf(). Then we check in the loop if the repetition of this loop iteration would fit into the buffer. If not, we double the size of the buffer and try again until we succeed. Co-authored-by: Stefan Wildemann <metalstrolch@users.noreply.github.com>
* fix:build:Update to m2r2 as its up to date and does not has the mistune ↵jkoan2021-12-171-1/+1
| | | | issue as m2r
* fix:build:Update to m2r2 as its up to date and does not has the mistune ↵jkoan2021-12-171-1/+1
| | | | | issue as m2r https://github.com/CrossNox/m2r2/issues/40
* Fix:graphics_qt5: allow building without qml againmetalstrolch2021-12-172-2/+6
|
* Added:doc:Add Privacy policy for Google playjkoan2021-10-262-0/+14
|
* delete:build:Delete old tooling from android (now fastlane is used) (#1161)jkoan2021-10-043-130/+0
|
* remove:ports:removed files from unsupported ports, i.e. Maemo and WebOS (#1145)jkoan/issue763jkoan/issue725Patrick Höhn2021-09-2614-2349/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * removed files from unsupported ports, i.e. Maemo and WebOS borttagen: maemo/CMakeLists.txt borttagen: maemo/vehicle_maemo.c borttagen: webos/CMakeLists.txt borttagen: webos/bluetooth.c borttagen: webos/bluetooth.h borttagen: webos/cJSON.c borttagen: webos/cJSON.h borttagen: webos/vehicle_webos.c borttagen: webos/vehicle_webos.h * removed webos and maemo from other files * changed according to comments from @jkoan ändrad: CMakeLists.txt * removed autoload and osso ändrad: CMakeLists.txt borttagen: navit/autoload/osso/CMakeLists.txt borttagen: navit/autoload/osso/osso.c ändrad: navit/navit_shipped.xml Co-authored-by: jkoan <jkoan@users.noreply.github.com>
* Add:gui/internal: New attribute for gui tag town_use_postal (#1156)OLFDB2021-09-204-2/+17
| | | | | If set to 0 navit will use the old town search method which will speed up the search on low performance hardware. Available only with gui_internal. <gui type="internal" enabled="yes" town_use_postal="0">
* Fix:gui/gtk:Enable housenumbers in destination dialog (#1155)OLFDB2021-09-201-1/+10
|
* patch:gui/gtk:Unique icon for POI dialog (#1154)OLFDB2021-09-201-2/+1
|
* Fix:core: cancel drawing on resize request (#1142)Stefan Wildemann2021-09-133-13/+7
| | | | | | | | | | | | | * Fix:core: cancel drawing on resize request This commit causes navit to cancel async drawing in case of resize request. Drawing is started again after that. this should effectively cause a redraw on subsequent calls to resize. Some graphics like qt5 call resize for both dimension changes if the wigdet get's resized. * Fix:graphics:qt5 Clear pixmap on resize To remove ugly artefacts after resizing the widget until navit completes to redraw the screen the widgets pixmap is cleared.
* FIX:maptool: remove assertion from item_bin_copy_attr (#1149)Stefan Wildemann2021-09-081-3/+0
| | | | | | | | The removed assertion disallowed the use of item_bin_copy_attr for anything else than attr_osm_wayid when debug build was enabled. This used to work prior the introduction of multipolygon support. There item_bin_copy_attr is used to copy al kind of attrs not knowing about the assert. So remove the assert as it seems to have been never correct.
* Fix:maptool:osm fix multipolygon filter. (#1143)Stefan Wildemann2021-09-061-1/+1
| | | | | Change done at #1129 causes maptool to filter out all multipolygons if -n is given due to not correctly initializing item_bin buffer prior check. Sorry my fault.
* fix:core:Update README.md (#1144)Poussinou2021-09-051-5/+6
|