summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'trunk' into traffictrafficmvglasow2019-08-202-25/+36
|\
| * Fix: Fix pkgconfig detection, and multiple subsequent build for Android (#833)lains2019-08-202-25/+36
| | | | | | | | | | | | | | | | * Fixing lib detection based on build host for Android builds * Fixing workaround according to jandegr's proposal * Fixing subsequent Android builds (where rename fails because of pre-existing renamed files)
* | Merge branch 'trunk' into trafficmvglasow2019-08-1919-158/+442
|\ \ | |/
| * Android build fix and update (#827)jandegr2019-08-167-20/+31
| |
| * fix:core: Correct default layout handling. (#816)Stefan Wildemann2019-08-074-7/+21
| | | | | | | | | | 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.
| * add:graphics:dpi scaling support (#813)Stefan Wildemann2019-07-288-131/+390
| | | | | | | | | | This commit adds calculating a scaling factor out of the virtual_dpi assumed when the layout was created, and the real_dpi value of the hardware. It is activated if "virtual_dpi" tag is set into the "graphics" tag on navit.xml. Currently only qt5 graphics implment returning the hardware dpi. But this can be simulated and overwritten by setting "real_dpi" tag to "graphics" tag on navit.xm on all available graphics.l
* | Refactor:traffic:Make sanity check happymvglasow2019-08-161-9/+9
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:When restoring items, iterate over mapset only oncemvglasow2019-08-161-137/+184
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Make Android build happymvglasow2019-08-121-6/+3
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:traffic:Preserve cached items even if they were not restoredmvglasow2019-08-121-2/+4
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Make sanity check happymvglasow2019-08-121-3/+3
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Add forgotten linemvglasow2019-08-121-1/+0
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Always free up priv->txt_data in location destructormvglasow2019-08-121-0/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:traffic:Lazy restore for cached itemsmvglasow2019-08-121-31/+53
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Write cached flags so they will parse without warningsmvglasow2019-08-111-4/+9
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:traffic:Debug output about segmented itemsmvglasow2019-08-111-0/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:traffic:Match restored items to map data, discard if no matchmvglasow2019-08-101-3/+138
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:move default item flags to global variablemvglasow2019-08-101-4/+4
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Skip trailing empty line when restoring cached itemsmvglasow2019-08-101-0/+6
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Parse hexadecimal IDs in cached item datamvglasow2019-08-101-1/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Skip empty lines at start of cached item datamvglasow2019-08-101-1/+11
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:core:Improve documentationmvglasow2019-08-101-0/+8
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:core:Improve documentationmvglasow2019-08-101-3/+11
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:traffic:More debug outputmvglasow2019-08-081-1/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:traffic:Warning (not error) if flags have trailing textmvglasow2019-08-081-2/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Use correct line terminatormvglasow2019-08-081-1/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Keep a copy of the string until we are done with itmvglasow2019-08-081-1/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Use correct loop terminatorsmvglasow2019-08-081-1/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Do not reset ccnt when we still need itmvglasow2019-08-081-1/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Recognize tag stack as valid if it contains navit_itemsmvglasow2019-08-081-1/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Update commentmvglasow2019-08-081-0/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Make sanity check happymvglasow2019-08-071-4/+7
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | WIP:Add:traffic:Restore cached traffic distortion itemsmvglasow2019-08-071-2/+201
| | | | | | | | | | | | Still untested and no checks against current map Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Attrs passed to tm_item_add_message_data() can be NULLmvglasow2019-08-041-1/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Move traffic_get_item_delay() into separate functionmvglasow2019-08-041-4/+15
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Document traffic_get_item_speed()mvglasow2019-08-041-0/+7
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Make sanity check happymvglasow2019-08-041-1/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Move traffic_get_item_speed() into separate functionmvglasow2019-08-041-73/+82
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:core:Document attr_from_line()mvglasow2019-08-041-0/+23
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Do not export segment data as CDATAmvglasow2019-08-011-2/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Parse XML elements even if they have unknown childrenmvglasow2019-08-011-0/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | WIP:Add:traffic:Write segment data to traffic.xmlmvglasow2019-07-311-17/+55
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Fix write past bounds of fixed-size arraymvglasow2019-07-311-1/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Add:traffic:Move on to next message after expanding a locationmvglasow2019-07-301-0/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Expand locations in all selected rectanglesmvglasow2019-07-291-11/+11
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Fix:traffic:Fix conditions for immediate message location expansionmvglasow2019-07-291-1/+2
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Refactor:traffic:Fix stylemvglasow2019-07-281-1/+1
| | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
* | Merge branch 'master' into trafficmvglasow2019-07-28104-1669/+3696
|\ \
| * | Add:traffic:Defer resolving of locations until they are actually neededmvglasow2019-07-281-2/+44
| | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>
| * | Fix:traffic:Return the correct value for tm_get_attr()mvglasow2019-07-281-2/+1
| | | | | | | | | | | | Signed-off-by: mvglasow <michael -at- vonglasow.com>