Commit graph

2062 commits

Author SHA1 Message Date
Victor Shcherb
1555684fda Fix script 2013-08-07 22:26:53 +02:00
Victor Shcherb
d7906a6410 Fix script 2013-08-07 22:19:18 +02:00
Victor Shcherb
24fb8a11cf Add jni to OsmAnd-java 2013-08-07 21:34:30 +02:00
Victor Shcherb
1439a4406c Delete old impl 2013-08-07 21:25:15 +02:00
vshcherb
b0fd78c4b3 Merge pull request #519 from ypid/fix-OpeningHoursParser
Cleanup opening hours parser.
2013-08-07 10:28:26 -07:00
Victor Shcherb
a5744df1d6 Support for 1.1.4 lib 2013-08-07 19:12:16 +02:00
Robin Schneider
250d26749f Improved readability with printf. 2013-08-07 18:55:56 +02:00
Robin Schneider
ff42370ec7 Merge branch 'master' into fix-OpeningHoursParser 2013-08-07 18:46:29 +02:00
Victor Shcherb
9812332322 Add name rendering 2013-08-05 20:43:22 +02:00
vshcherb
568ebb9c63 Merge pull request #492 from naoliv/pull18
Remove unnecessary boxing/unboxing
2013-08-05 10:48:58 -07:00
vshcherb
56508980ec Merge pull request #495 from naoliv/pull21
Make some fields static
2013-08-05 10:42:52 -07:00
vshcherb
da648f9545 Merge pull request #496 from naoliv/pull20
Fix long literals ending with l
2013-08-05 10:39:15 -07:00
vshcherb
624f9a099f Merge pull request #506 from naoliv/pull4
Fix single character string argument
2013-08-05 10:14:47 -07:00
Victor Shcherb
f89cd246f0 Fix exceptions 2013-08-04 13:51:14 +02:00
Nelson A. de Oliveira
c9dd6c0697 Make some fields static
A field may be static if it is declared final, and is initialized with a
constant
2013-08-03 10:48:18 -03:00
Nelson A. de Oliveira
8d3c8b6e9e Fix long literals ending with l
These literals may be confusing, as lowercase 'l' looks very similar to
'1'
2013-08-03 10:48:11 -03:00
Nelson A. de Oliveira
dad7d53f43 Remove unnecessary boxing/unboxing 2013-08-03 10:47:53 -03:00
Nelson A. de Oliveira
20f18fd5a6 Fix single character string argument
These String literals may be replaced by equivalent character literals,
gaining some performance enhancement.
2013-08-03 10:42:15 -03:00
Nelson A. de Oliveira
a525df7694 Fix unnecessary bitwise operations 2013-07-31 15:39:50 -03:00
Nelson A. de Oliveira
ffaaef6610 Remove unecessary semicolon 2013-07-31 15:24:57 -03:00
Nelson A. de Oliveira
50207ec316 Remove continue and return 2013-07-31 15:24:15 -03:00
Nelson A. de Oliveira
bf05917be5 Remove redundant local variables 2013-07-31 15:22:39 -03:00
Nelson A. de Oliveira
1eea84da0b Fix unnecessary boxing/unboxing 2013-07-31 15:15:26 -03:00
Nelson A. de Oliveira
1bdb389eae Fix pointless aithmetic expressions 2013-07-31 15:14:11 -03:00
Nelson A. de Oliveira
61699455e5 Replace StringBuffer with String
These may be replaced with java.lang.String expressions which results in
simpler and possibly more efficient code
2013-07-31 15:09:37 -03:00
Nelson A. de Oliveira
a0de8b31b3 Fix string concatenation in StringBuffer.append()
Such calls may profitably be turned into chained append calls on the
existing StringBuffer/Builder/Appendable, saving the cost of an extra
StringBuffer/Builder allocation.
2013-07-31 15:08:29 -03:00
Nelson A. de Oliveira
6a3f36761c Fix redundant String constructor call 2013-07-31 15:07:07 -03:00
Nelson A. de Oliveira
6fc309af19 Fix manual array to collection copy 2013-07-31 15:06:31 -03:00
Nelson A. de Oliveira
ffc006bab6 Fix boxing of already boxed values
This is a useless operation since any boxed value will first be
auto-unboxed before boxing the value again. If done inside an inner loop
such code may cause performance problems.
2013-07-31 15:05:59 -03:00
Robin Schneider
ec5d0287bf OpeningHoursParser cleanup. 2013-07-30 21:28:19 +02:00
Victor Shcherb
b0cf3f2f5a Fix issue with distance 2013-07-30 18:14:50 +02:00
vshcherb
9a2e1fb3ba Update Location.java 2013-07-30 11:08:15 +02:00
vshcherb
bdfcbc634c Update Location.java 2013-07-30 11:06:34 +02:00
vshcherb
13d4492534 Update Location.java
Test hotfix
2013-07-30 11:05:13 +02:00
Robin Schneider
989dd8bc09 Added length test to avoid exception.
java.lang.StringIndexOutOfBoundsException: String index out of range
2013-07-25 22:16:45 +02:00
Robin Schneider
3f963b511f Fixed problem with OpeningHoursParser.
The parser did not distinguish between "off" (valid in opening_hours)
and "of".
2013-07-23 22:48:30 +02:00
Michael Peter Christen
9d967a96ae prevent double-lookup of a propertyName from router: this reduces the
number of lookups for attributes by 50%
2013-07-23 11:05:24 +02:00
sonora
53d49e1eac put Emergency first 2013-07-22 14:52:24 +02:00
sonora
73c6f97224 sort AmenityType.java in consistent way 2013-07-22 14:46:18 +02:00
Victor Shcherb
5702c9c364 Fix Yandex traffic 2013-07-22 02:19:31 +02:00
Victor Shcherb
5aeac12128 Fix bugs 2013-07-22 02:04:16 +02:00
Victor Shcherb
583fa22205 Introduce icon order in rendering style 2013-07-19 00:24:16 +02:00
Victor Shcherb
e52112636e Introduce tag=disable for rendering style, so we can disable features by specifying disable=true 2013-07-18 23:56:50 +02:00
Victor Shcherb
d99c5a9dca Update rendering types 2013-07-15 00:21:48 +02:00
fp
20db3ea1b3 Expand OpeningHours with Month
Now the OpeningHoursParser can handle Strings like:
Mar-Sep:08:00-20:00;Oct-Feb:09:00-16:00
2013-06-25 12:11:58 +02:00
Victor Shcherb
6ffdb2e1d3 Add quick action : add to favorites 2013-06-24 01:56:23 +02:00
Victor Shcherb
7087b718a5 Move rendering_types.xml to resources 2013-06-23 02:00:55 +02:00
sonora
addc32965a simplify haversine formula 2013-06-18 11:00:26 +02:00
Victor Shcherb
96f93f9154 Move all resources to special project (Osmand-resources) 2013-06-17 01:35:09 +02:00
sonora
a7541f65f4 fix render style also in Touring view 2013-06-16 23:36:04 +02:00
Victor Shcherb
7405a2dba1 Fix rendering style 2013-06-16 23:02:11 +02:00
Victor Shcherb
35adfd8e2b Update south africa 2013-06-16 22:54:33 +02:00
sonora
b62ba6596a update renderer comment blocks 2013-06-16 11:41:29 +02:00
Robin Schneider
ff44f7db19 Fixed problem with https in tags.
If for example the website tag starts with https:// then it appeared in
OsmAnd as http://https://

https is not that unusual:
http://taginfo.openstreetmap.org/keys/website#values
http://taginfo.openstreetmap.org/keys/contact:website#values
2013-06-14 20:25:57 +02:00
Victor Shcherb
67b4b6baf1 Fix crashes 2013-06-09 13:04:06 +02:00
Victor Shcherb
59fa38dc36 Update rendering types 2013-06-05 00:27:04 +02:00
Victor Shcherb
628a819afd Fix bugs 2013-06-05 00:11:33 +02:00
Victor Shcherb
7de85b7cf6 Implement sorting door-to-door algorithm 2013-06-04 00:01:28 +02:00
Victor Shcherb
aecc4705e5 Add old address plugin to source code 2013-05-31 18:48:01 +02:00
Victor Shcherb
72210ccddc Update structure 2013-05-29 17:56:35 +02:00
Victor Shcherb
26d1cb3b2c Update countries reginfo 2013-05-29 17:56:35 +02:00
sonora
88d5bb6f42 Cycle routes from zoom 12 in Touring view (Zahnstocher) 2013-05-28 09:09:21 +02:00
sonora
f121fd33d1 optimize name display for National forests and Wilderness areas 2013-05-27 11:52:10 +02:00
Victor Shcherb
472efba592 Update strict mode 2013-05-27 10:07:31 +02:00
sonora
395f1ef385 fix typo 2013-05-27 09:09:16 +02:00
sonora
8812587830 darken nat park font a little 2013-05-26 23:38:07 +02:00
sonora
04148e8dcc fix build 2013-05-26 21:22:35 +02:00
sonora
50635897de increase visibility of national park name 2013-05-26 19:41:44 +02:00
Victor Shcherb
0ae7340cb1 Update download 2013-05-26 15:43:00 +02:00
Victor Shcherb
85008c9c88 Working version 2013-05-26 15:43:00 +02:00
sonora
f0c26ac20f add comments for Wilderness Areas and Nat Forests 2013-05-26 10:40:28 +02:00
sonora
78082e6088 Prepare for some testing with tag protected_area 2013-05-26 10:21:04 +02:00
Victor Shcherb
04baf7f15d Disable strict mode 2013-05-23 20:08:20 +02:00
Victor Shcherb
7bd0697b09 Enable strict mode in OsmAnd~ version 2013-05-23 20:08:19 +02:00
Victor Shcherb
fd904b9c99 Fix most critical bugs 2013-05-23 20:08:19 +02:00
Victor Shcherb
28f3b74069 Move classes back to main repository 2013-05-19 23:32:11 +02:00
sonora
2ec8464004 Touring view night route: go back to blue because of motorways 2013-05-18 22:18:17 +02:00
sonora
8f0e90b3b5 fix typo 2013-05-18 21:20:14 +02:00
sonora
f47cbed7e7 try default route color also in Touring view night mode, old blue very invisible in some brighter environmets 2013-05-18 20:36:30 +02:00
Victor Shcherb
bbfc82ba1e Update rendering style 2013-05-18 18:21:14 +02:00
Victor Shcherb
774c8d2452 Update rendering style 2013-05-18 18:10:53 +02:00
Victor Shcherb
7ee4b39163 Add top rendering style to product and disable compass usage in navigation (doesn't work nice yet) 2013-05-18 17:50:10 +02:00
Victor Shcherb
a47d81ada7 Update buttons, add streets to info about route, update layout 2013-05-18 02:11:27 +02:00
sonora
e1296650ee fix night cemeteries 2013-05-17 11:51:05 +02:00
Victor Shcherb
6eb37c4fc5 Try to fix romanian locale 2013-05-17 02:05:10 +02:00
Victor Shcherb
52f7df8677 Fix icons, fix options menu on different devices, update imports 2013-05-17 01:43:18 +02:00
vshcherb
e69311c459 Merge pull request #440 from BathoryPeter/patch-2
narrow_gauge and halt from z13
2013-05-13 16:25:01 -07:00
Báthory Péter
64f86c8a1f narrow_gauge from z13 2013-05-14 01:56:04 +03:00
Báthory Péter
a862baf257 narrow_gauge and halt from z13 2013-05-14 01:54:54 +03:00
Victor Shcherb
be36c30d2e Support 2 core separately 2013-05-10 00:38:35 +02:00
vshcherb
0942da2a3c Merge pull request #435 from a-xin/master
Improved handling of day wrap in opening_hours
2013-05-09 14:54:56 -07:00
axin
7d9ee09e3c added test cases for day wrap in opening hours 2013-05-09 23:47:39 +02:00
Victor Shcherb
e188f9859c Update application style 2013-05-09 19:24:30 +02:00
axin
96dc5f5291 corrected handling of day wrap in opening_hours 2013-05-09 14:59:53 +02:00
vouillon
52ec07e538 Routing for bicycles on one way roads
With a tag cycleway=opposite*, bicycles can go both ways.
A tag oneway:bicycle=* will take precedence over a tag oneway=*.
2013-05-07 20:44:24 +03:00
vshcherb
b4a41cc35f Update IndexItemCategory.java 2013-04-28 13:29:10 +03:00
vshcherb
13f025ba39 Update default.render.xml 2013-04-28 13:14:24 +03:00
Victor Shcherb
b1873dde42 Fix NPE 2013-04-27 17:31:13 +02:00
Victor Shcherb
388dfcc65d Remove cloudmade 2013-04-27 14:32:10 +02:00
Ruzena Zibritova
bbb97f8ba9 fix project settings 2013-04-22 22:01:43 -04:00
yvecai
dc00740578 winter: turn grassland to snow 2013-04-21 21:58:30 +03:00
Victor Shcherb
e9eee09a40 Fix slight turns on motorway 2013-04-21 13:08:37 +02:00
vshcherb
6803a1bf0f Update routing.xml
Fixed avoid unpaved (to avoid completely)
2013-04-21 13:55:04 +03:00
vshcherb
c0fd2238f3 Update RouteProvider.java
Fix average bicycle speed
2013-04-21 13:51:06 +03:00
Victor Shcherb
9e1fb46a28 Enable pedestrian GPX 2013-04-18 23:50:52 +02:00
Victor Shcherb
828c9930d4 Update public transport icon 2013-04-18 23:49:14 +02:00
Victor Shcherb
35e2c4b20f Move OsmAnd java core project back to android repository for maintainance reasons 2013-04-18 23:43:41 +02:00
Victor Shcherb
f788e8eb47 Move OsmAnd java core project back to android repository for maintainance reasons 2013-04-18 23:42:07 +02:00
Victor Shcherb
7bc162a878 Move OsmAnd java core project back to android repository for maintainance reasons 2013-04-18 23:35:20 +02:00
Victor Shcherb
3db27de275 Restructure repository 2012-12-12 02:10:55 +01:00
Victor Shcherb
9a01ae51cd Fix build scripts 2012-12-12 00:05:33 +01:00
Victor Shcherb
e59b53da68 Refactor project structure 2012-12-12 00:05:32 +01:00