summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* review fixes.cliff_spike_graphicStefan Wildemann2021-12-242-7/+11
| | | | | Add changes requested by review, plus add paranoia check on xml parameter.
* feature: graphics: allow spiked lines for cliff and embarkmentsStefan Wildemann2021-12-2310-4/+128
| | | | | | | 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.
* 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
|
* rework:graphics:win32:Rework win32 drawing to remove the old Unicode, (#1140)jkoan2021-08-314-712/+22
| | | Inc. Sourcecode
* fix:core:Fix #1135 (#1136)OLFDB2021-08-311-0/+22
| | | | | | | | | | | * Fix #1135 * Revert "Fix #1135" This reverts commit 585ab7bbe2020b574e35ce08153ff2991131b3f3. * Revert "Revert "Fix #1135"" This reverts commit 97ff13fa761a884019e341dd77e62a2735b52213.
* fix:core:use default icons as fallback (#1121)OLFDB2021-08-281-2/+5
|
* fix:vehicle:gpsd: Fix#1130 (#1137)OLFDB2021-08-281-0/+4
| | | | | | | | | * Fix #1135 * Fix #1130 * Revert "Fix #1135" This reverts commit 585ab7bbe2020b574e35ce08153ff2991131b3f3.
* fix:build: Deactivate Download Portal for wince until we fixed the ssl issuejkoan2021-07-151-4/+4
|
* fix:maptool: filter out unknown multipolygons before processingStefan Wildemann2021-07-151-0/+11
| | | | | | This commit causes maptool to filter out multipolygon relations whose tags result in unknown binfile type if -n is given on command line. May save a lot of processing time.
* Fix:port/android:Correct path to Android APK in build scriptmvglasow2021-06-201-1/+1
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:port/android:Make file picker compatible with Android 11mvglasow2021-06-201-2/+3
| | | | | | | Default to private external storage dir /navit is not appended to paths which contain the package ID Signed-off-by: mvglasow <michael -at- vonglasow.com>
* fix:build:cmake:fix in-tree cmake build circular dependency warnings (#1122)David Heidelberg2021-05-232-0/+4
| | | | | | | | | | | | Only copy files when SOURCE and DESTINATION directory differs. No need to copy files into themselves when doing in-tree build. Removes annoying warning. ``` make[2]: Circular navit/textures/diagonal-stripes.svg <- navit/textures/diagonal-stripes.svg dependency dropped. ``` Signed-off-by: David Heidelberg <david@ixit.cz>
* Fix:core:Do not recalculate length when restoring traffic distortion items ↵mvglasow2021-04-271-11/+5
| | | | | | | (#1116) Signed-off-by: mvglasow <michael -at- vonglasow.com> Co-authored-by: mvglasow <michael -at- vonglasow.com>
* Merge pull request #1115 from navit-gps/issue-1113mvglasow2021-04-263-9/+35
|\ | | | | Fix issues resulting in ignored traffic messages
| * Merge branch 'trunk' into issue-1113issue-1113mvglasow2021-04-261-0/+9
| |\ | |/ |/|
* | add:doc:Added minimum dependencies for Raspberry Pi OS (#1111)OLFDB2021-04-261-0/+9
| | | | | | | | | | | | | | * Added minimum dependencies for Raspberry Pi OS * astyle * astyle
| * Fix:core:Rewind before retrieving attributes (route.c/traffic.c)mvglasow2021-04-262-0/+19
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Refactor:core:Fix docs for route_graph_add_segment()mvglasow2021-04-261-5/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Refactor:core:Document the need to rewind before retrieving attributesmvglasow2021-04-261-0/+7
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Fix:core:Rewind attributes before retrieving themmvglasow2021-04-261-0/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * Fix:core:Prevent passing stale data in traffic map rectmvglasow2021-04-261-4/+6
|/ | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:core:Fix read after free in traffic_message_restore_segments (#1114)mvglasow2021-04-241-1/+1
| | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com> Co-authored-by: mvglasow <michael -at- vonglasow.com>
* Fix:vehicle:geoclue Fix cmake usage (#1109)Stefan Wildemann2021-04-111-1/+2
|
* Fix:ci:Fix fdroidserver download path (#1107)mvglasow2021-04-031-1/+1
| | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com> Co-authored-by: mvglasow <michael -at- vonglasow.com>
* added:core:make it switch to nightlayout when we are in a tunnel (#1089)OLFDB2021-04-036-7/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Address ToDo : make it switch to nightlayout when we are in a tunne Nightlayout is enabled when available and streetflags & AF_UNDERGROUND is true * Addresses ToDo: make it switch to nightlayout when we are in a tunnel * Delete navit.c * Applied suggested changes from review * Applied changes from review * Fix: Fix formatting of file to pass sanity check * Using tracking->tunnel * Update update_download_center.sh * Update config.yml * attributes tunnel_nightlayout, nightlayout_auto, sunrise_degrees added * Use tracking_get_current_tunnel to access tracking object * Revert "Update update_download_center.sh" This reverts commit 0df8099a4533553f837a6f679899cc1a3aefc057. * Revert "Update config.yml" This reverts commit c1cae2e5f3f7f0fe48af0ddf1414ac6e86f36bba. * removed todo for nightlayout in tunnel * removed debug output * Update navit.c Do not return if there is a day layout Co-authored-by: Stefan Wildemann <stefan.wildemann@corpuls.com> Co-authored-by: Stefan Wildemann <metalstrolch@users.noreply.github.com>
* changed:fastlane:Renamed locales. Fiexes #1101jkoan2021-03-1833-0/+0
|
* fix:vehicle:gpsd:Retry connect after 10 seconds not performed (#1099)OLFDB2021-03-101-4/+6
| | | | | | | | | * FIX: Retry connect after 10 seconds not performed Set priv->cbt before starting the timer. * Set priv->cbt in vehicle_gpsd_try_open to be able to reconnect any time not just at startup * Don't release the gps object
* update:Bump version to 0.5.6v0.5.6jkoan2021-03-062-2/+2
|
* update:release:Update Changelog for release of 0.5.6jkoan2021-03-061-25/+94
|
* update:Update AUTHORS, thanks to eveyone involvedjkoan2021-03-061-2/+5
|
* fix:release:Fix Markdown template for type-Sectionsjkoan2021-03-061-1/+1
|
* Refactor:fdroid:Remove build.xml generationmvglasow2021-03-061-1/+0
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Add:CI:Add job for F-Droid buildmvglasow2021-03-012-0/+91
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:CI:use Android image for sanity_checkmvglasow2021-02-281-1/+1
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Fix:build:Use NDK libraries when building for Androidmvglasow2021-02-282-1/+7
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* Refactor:core:Documentation update (#1095)mvglasow2021-02-289-55/+109
|
* Fix:build:Keep generated Android resource files in build dirmvglasow2021-02-212-13/+11
| | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>