| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
This fixes the issue #1179. Tested with testcases and working until Y2K38 by when we would need long values to be used.
|
|
|
| |
Use attr_none as we are handling an attribute type and not an item type.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Add:ci:Update F-Droid CI to Debian bullseye
|
|/
|
|
| |
Signed-off-by: mvglasow <michael -at- vonglasow.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Co-authored-by: mvglasow <michael -at- vonglasow.com>
|
|
|
|
|
|
| |
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 some of the many compiler warning
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the warning:
proxy.c:35:52: warning: unused variable ‘img’ [-Wunused-variable]
35 | struct graphics_image *img;
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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;
| ^~~~~~
|
| |
| |
| |
| |
| |
| |
| |
| | |
this fixes the warnings:
backend.cpp:176:25: warning: unused variable ‘nav’ [-Wunused-variable]
176 | struct navigation * nav = NULL;
| ^~~
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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";
| ^~~~~~~~~~~~~~
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the warning:
QNavitQuick.cpp:170:15: warning: unused variable ‘painter’ [-Wunused-variable]
170 | QPainter* painter = NULL;
| ^~~~~~~
|
| |
| |
| |
| |
| |
| |
| | |
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))) {
| ^~~~~
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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;
| ^
|
| |
| |
| |
| |
| |
| |
| | |
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;
|
|/
|
|
|
|
|
|
| |
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))) {
|
|
|
|
| |
Deny <tag k=... v=..> processing before first <node> element is read.
Let maptool silently skip <boundary> and <changeset> elements
|
| |
|
|
|
|
|
| |
* Random values for height, speed, num_sats_used and no signal when AF_UNDERGROUND is true
* astyle changes
* unused variables removed
|
|
|
| |
Remove Coverage and Translation Update from linux build as 1) it fails 2) should have its own Build-Step/Action
|
|
|
|
| |
Cleans up place to area processing
|
|
|
|
|
|
|
|
|
|
| |
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: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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
issue as m2r
|
|
|
|
|
| |
issue as m2r
https://github.com/CrossNox/m2r2/issues/40
|
| |
|