Commit graph

29622 commits

Author SHA1 Message Date
xmd5a
e027289d28 Update strings 2016-04-01 17:22:29 +03:00
sonora
e020df1bde small fix 2016-04-01 16:06:19 +02:00
sonora
82545c0fda see if notification takes line breaks 2016-04-01 15:59:29 +02:00
sonora
8aaaab9bad try improve weird notification behavior, particularly for GPX recording 2016-04-01 15:49:10 +02:00
GaidamakUA
5bde48b2e6 Fixed menu for configure screen. 2016-04-01 15:56:11 +03:00
Alexey Kulish
2c74e887a1 Fix https://github.com/osmandapp/Osmand/issues/2389 2016-04-01 13:04:09 +03:00
Alexey Kulish
bf1dac5b06 Fix https://github.com/osmandapp/Osmand/issues/2393 2016-04-01 12:40:37 +03:00
GaidamakUA
332167378c Partially fixed layout for configure map. 2016-04-01 12:08:20 +03:00
GaidamakUA
47cbc0771e Fixes #2387. All GPX tracks no longer selected by default. 2016-04-01 11:31:07 +03:00
Weblate
7e3e8293d2 Merge remote-tracking branch 'origin/master' 2016-04-01 10:05:23 +02:00
Hinagiku Zeppeki
f67893cf78 Translated using Weblate (Japanese)
Currently translated at 99.9% (1952 of 1953 strings)
2016-04-01 10:05:13 +02:00
Xosé Calvo
e7e4f642d8 Translated using Weblate (Galician)
Currently translated at 95.5% (1866 of 1953 strings)
2016-04-01 10:05:12 +02:00
GaidamakUA
3da81e2a48 Fixes #2390. And some cleanup. 2016-04-01 11:04:21 +03:00
Andrew Davie
778a243cdf Bugfix: Current Track disappeared when starting point wandered offscreen
The 'bounds' that I had implemeted earlier described the minimal rectangle inside which a whole track was contained. This
bounding rectangle was used to quickly cull all track types at draw-time. And it worked well... too well!  The current track
is continually adding points to itself, so its bounds need to be recalculated regularly, not just at startup like other
track types.

So, I've implemented a new Renderable, 'CurrentTrack' which does the special handling for that type of track. It is
smart in that it only recalculates/updates bounding rectangle on the newly added points, so it's very quick. I tested
it on my phone and it appears to be working OK.

Other minor adjustments here and there as I tweak things.
2016-04-01 17:00:02 +11:00
Andrew Davie
3fc4702c9e Epsilon for line simplification was using incorrect value - now much nicer
Fixed a bug related to the distance used for line reduction. The previous value of zoom was being used, instead
of the new value. This kind of explains why I could see line reduction changes more than I though I should have
been able to. Now it's looking very nice. I don't think there will be many more changes. If any.
2016-04-01 04:22:31 +11:00
Andrew Davie
160f280ee1 minor fixup - make sure Conveyor Render checks the track limits early-on 2016-04-01 04:09:36 +11:00
Andrew Davie
71e84acc9f Final pass clean-up on code. It's done.
I've been through and cleaned up the code - minor improvements and cleanups. I'm happy with it and will I stop making
changes and wait for review. I also now understand how git branches work :) so I will work on my own branch.
I hope that this addition makes it into OsmAnd; I'm confident that it is robust and well written.
There will probably be a bug or two, but relatively minor I am sure.
2016-04-01 03:29:05 +11:00
Andrew Davie
112ffdd69a Final pass clean-up on code. It's done.
I've been through and cleaned up the code - minor improvements and cleanups.
It's done. Now that I'm happy with it I propose to stop making changes and wait for review.
I also now understand how git branches work, so I will work on my own branch.
I hope that this addition makes it into OsmAnd; I'm confident that it is robust and well written.
2016-04-01 02:48:03 +11:00
GaidamakUA
15ee1beed9 Made description clickable. 2016-03-31 18:47:08 +03:00
GaidamakUA
a3ca01255d Description initialization. 2016-03-31 17:50:12 +03:00
GaidamakUA
d9f7ac5a50 New icons for widgets. 2016-03-31 17:41:09 +03:00
GaidamakUA
88cffc0740 Added description as indication that view is collapsed. 2016-03-31 17:33:46 +03:00
Andrew Davie
7ee1cae93c Prevented current track from participating in line reduction
The current track is constantly changing. It is not suitable for the line culling stuff, so that track is detected
and special-cased.
2016-04-01 01:18:20 +11:00
Dmitriy Prodchenko
2600377b9a New icons for Configure Screen. 2016-03-31 16:46:55 +03:00
GaidamakUA
fe2f690aba Fixes #2394. Problem with 2.3 compatibility. 2016-03-31 16:09:25 +03:00
GaidamakUA
6dbf547579 Small changes. 2016-03-31 16:09:25 +03:00
GaidamakUA
413aad56a9 Fixed bug with changing all instances of drawable. 2016-03-31 16:09:25 +03:00
GaidamakUA
a0f78e64a8 Deprecation of IconsCacheMethods. 2016-03-31 16:09:25 +03:00
Weblate
47b71145da Merge remote-tracking branch 'origin/master' 2016-03-31 14:49:04 +02:00
Ajeje Brazorf
b81ecbc5c3 Translated using Weblate (Sardinian)
Currently translated at 70.2% (1734 of 2469 strings)
2016-03-31 14:49:03 +02:00
CJTmmr
18a84398e5 Translated using Weblate (Dutch)
Currently translated at 100.0% (1953 of 1953 strings)
2016-03-31 14:48:52 +02:00
Dmitriy Prodchenko
d259c3b0da Fix arrow height for lanes widget. 2016-03-31 15:48:33 +03:00
Andrew Davie
7e9afc68d6 Arrows renderer now working reasonably well.
I put a bit of effort into "pretty". Also, arrows are not displayed until a particular zoom level.
Sample video of this version with the following renderers active: rainbow altitude band, original track, distance
markers and arrows. See video at https://youtu.be/FNui0zxJGJI

Seems to be pretty solid for all renderers. Speed is good. This is close to a "final" version.
2016-03-31 22:57:04 +11:00
Andrew Davie
e8e6ca2854 Found/fixed crash bug in Altitude renderer
Out of memory bug happened occasionally - now fixed by writing to original canvas instead of creating its own
bitmap buffer. It's going to be a lot quicker, too. Since the altitude band is now solid, though, it should be
in the renderer list before the standard track segment.

I have also done some work on the distance/marker renderer, and that is enabled in this update. It draws the
distance (km) as a marker and number over the top of each track.

I went for a ride on my motorbike today to check out how some of the changes work. The "current track" stuff
is hopeless, so that needs to be fixed. Basically I was trying to NOT resample the current track, as it
causes all sorts of speed issues when points are continually added and resamples are continually fired. But
my change clearly didn't work properly so I will revisit that shortly.

I do urge anyone testing to try with a GPX track which has elevation data - the rainbow track backing is
quite nice I think... I hope others like it.

As a side note; I found out how to get the exception log - I have to setup an email account on my emulator
to get it to work.
2016-03-31 20:04:00 +11:00
Ajeje Brazorf
f1c6ca9698 Translated using Weblate (Sardinian)
Currently translated at 100.0% (1953 of 1953 strings)
2016-03-31 04:14:42 +02:00
Victor Shcherb
fcd598d134 Fix #2388 2016-03-30 20:44:30 +02:00
Andrew Davie
d99692e429 Rewrote the standard GPX track draw/clipping
It's a lot simpler - and a lot faster, I'm sure.  Basically it didn't need to be as complex as it was, and mostly
the 'hard stuff' it was solving is actually fairly easily handled by the draw. So. Seems to be working fine.
There are other little tweaks here and there as I test out the system.
The renderers need to behave under density and zoom changes; so that would be the widths of things should scale
properly, and the look of some of them leave a bit to be desired. However, it's the system that is now fully
functional, and work on the renderers can come later.  The main track draw seems pretty solid.
2016-03-31 03:16:59 +11:00
GaidamakUA
ebe9acfbbe Tiny refactoring. 2016-03-30 19:01:22 +03:00
GaidamakUA
a7a0db4fcd Fixes #2366. Now expanded state of favourite groups is preserved. 2016-03-30 18:32:37 +03:00
Alexey Kulish
eb6e9efa4b Remove thread, add sync 2016-03-30 18:04:03 +03:00
Alexey Kulish
1452f77488 Clean code 2016-03-30 17:41:08 +03:00
Alexey Kulish
942baec9f6 Fix lock ui and crash while calc route 2016-03-30 17:25:30 +03:00
Victor Shcherb
170ce67fcd Update test 2016-03-30 16:03:06 +02:00
Victor Shcherb
6a9b0cef37 Update test results 2016-03-30 15:42:20 +02:00
Victor Shcherb
18141d065e Ignore failure 2016-03-30 15:29:56 +02:00
Victor Shcherb
b075716096 Update tests 2016-03-30 15:08:50 +02:00
Victor Shcherb
46a8ce682e Update tests 2016-03-30 15:08:32 +02:00
Victor Shcherb
2941e14932 Update junit tests 2016-03-30 14:57:27 +02:00
Victor Shcherb
0dc76234f2 Add 3rd turn 2016-03-30 14:45:35 +02:00
GaidamakUA
aec531c381 Fixed resources in dark theme. 2016-03-30 15:17:34 +03:00