Commit graph

1448 commits

Author SHA1 Message Date
strump
4deaabdce4 Added default encoding for Java source code
On Windows 10 x64 Russian with Java 8.0.1210.13 compiler uses cyrillic encoding "cp1251" by default. That's why gradle fails with error
```
Validating translations
Incremental java compilation is an incubating feature.
:OsmAnd-java:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\data\MapObject.java:26: error: unmappable character for encoding Cp1251
	 * Looks like: {ru=Москва, dz=�ོསི་ཀོ...} and does not contain values of OSM tags "name" and "name:en",
	                                      ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:98: error: unmappable character for encoding Cp1251
		String s = "Ú¯Ú† Ù¾Ú? نمکی باللغة العربي";
		                    ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:101: error: unmappable character for encoding Cp1251
		if (!reshape.equals("ﻲﺑﺮﻌﻟﺍ ﺔﻐﻠﻟﺎﺑ ﯽﮑﻤﻧ ﮋ� ﭻﮔ")) {
		                                                                             ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                       ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: ';' expected
		char[] c = new char[] {'א', 'ד','ם'} ;
		                         ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                          ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                             ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: illegal character: '\u201c'
		char[] c = new char[] {'א', 'ד','ם'} ;
		                               ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: ';' expected
		char[] c = new char[] {'א', 'ד','ם'} ;
		                                ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: unclosed character literal
		char[] c = new char[] {'א', 'ד','ם'} ;
		                                     ^
E:\projects\Android\osmand_project\osmandapp\android\OsmAnd-java\src\net\osmand\Reshaper.java:89: error: not a statement
		char[] c = new char[] {'א', 'ד','ם'} ;
		                                   ^
8 errors
1 warning
 FAILED

FAILURE: Build failed with an exception.
```

I've added expllicit encoding setting for Java compiler.
2017-04-11 18:44:03 +03:00
Alexey Kulish
3af3721b81 Fix #3164 2017-04-11 18:28:58 +03:00
Alexey Kulish
687bf7a873 Draw selected object polygon 2017-04-07 17:05:54 +03:00
vshcherb
6079fbfd1e Update MapTileDownloader.java
Increase exception coverage.
2017-04-06 15:26:09 +02:00
xmd5a
39f0b4b92c Fix turn lanes test 2017-04-06 13:07:34 +03:00
xmd5a
17a18753a5 Update turn_lanes_test 2017-04-06 12:22:58 +03:00
Victor Shcherb
2a2315acce Disable short way test 2017-04-05 11:53:42 +02:00
Victor Shcherb
bc51881b40 Fix test 2017-04-05 11:10:09 +02:00
Victor Shcherb
c2530eb81a Fix #3378 2017-04-04 00:12:37 +02:00
Victor Shcherb
1f0ebaf7b1 Fix #3602 2017-04-03 22:31:44 +02:00
Victor Shcherb
6b21f53a06 Fix #3602 2017-04-03 22:28:52 +02:00
Victor Shcherb
9a07c19a7f Fix turn lanes 2017-04-03 17:36:36 +02:00
Alexey Kulish
6d03f15d8b Added search of fav groups 2017-04-02 18:50:57 +03:00
Alexey Kulish
3b1bd05478 Fixed fav category search 2017-04-02 14:40:56 +03:00
Alexey Kulish
904f70c6f2 Fix creator 2017-03-29 11:48:46 +03:00
Alexey Kulish
085c7f77a8 Remove ghost line 2017-03-28 22:21:51 +03:00
Alexey Kulish
7ee55b0ee3 Fix #3595 2017-03-28 22:14:48 +03:00
Alexey Kulish
8cf12c2c18 Added log to quick search 2017-03-27 19:31:47 +03:00
Victor Shcherb
5000eedcfd Add conjunctions 2017-03-26 14:40:25 +02:00
Alexey Kulish
08fa42d78b Merge branch 'master' of https://github.com/osmandapp/Osmand 2017-03-26 10:21:47 +03:00
Alexey Kulish
58dc5f01bd [Search] Fix delay between chars 2017-03-26 10:21:40 +03:00
Victor Shcherb
84c33798ea Fix tests 2017-03-25 21:02:36 +01:00
Alexey Kulish
17f4fd4108 Reduce search timeout 2017-03-25 22:16:28 +03:00
Victor Shcherb
aba26aaa17 Add alternate name 2017-03-25 19:12:59 +01:00
Victor Shcherb
3703fa9b2c Revert "Display alternative names for streets"
This reverts commit 51d9605cde.
2017-03-25 19:12:59 +01:00
Alexey Kulish
51d9605cde Display alternative names for streets 2017-03-25 20:13:44 +03:00
Alexey Kulish
4052864e13 Disable POI at address search 2017-03-25 11:39:34 +03:00
Victor Shcherb
115efbe113 Fix #3481 2017-03-25 00:22:48 +01:00
Alexey Kulish
e11e87384c Fixed search keyboard and sort cities 2017-03-24 23:01:46 +03:00
Alexey Kulish
012e22d332 Fix search address 2017-03-24 20:13:07 +03:00
Alexey Kulish
aa35c8366a Fix postcode search 2017-03-24 10:13:37 +03:00
Alexey Kulish
a491e854ae New address search in progress 2017-03-23 22:23:40 +03:00
Victor Shcherb
7633e272d3 Reshape 2017-03-23 13:19:13 +01:00
Victor Shcherb
69dd86def9 Support otf fonts 2017-03-20 13:43:00 +01:00
Victor Shcherb
dc7c246ca7 Support otf fonts 2017-03-19 15:05:43 +01:00
Alexey Kulish
f648fc7f77 Added fonts download 2017-03-17 22:04:38 +03:00
Alexey Kulish
61b47f538c Added automatic detection of driving region 2017-03-15 17:04:39 +03:00
Alexey Kulish
c81adf7dec Added UI settings for Driving style, Road smoothness 2017-03-12 18:35:43 +03:00
Alexey Kulish
094d4ebf2a Added interpolation of Y value when two charts visible 2017-03-09 11:24:51 +03:00
Victor Shcherb
e1eec2cc10 Fix adding not specified height 2017-03-08 21:23:21 +01:00
Victor Shcherb
151a790f7d Fix #3533 Add street intersections to the end of the list 2017-03-08 15:34:26 +01:00
Victor Shcherb
7a16833ebe Remove import 2017-03-06 10:08:31 +01:00
xmd5a
07055d6faa Add slope to route.gpx 2017-02-26 18:53:12 +03:00
Victor Shcherb
7af533ab58 Add % to gpx to test 2017-02-23 21:48:56 +01:00
Victor Shcherb
6bf8d1b987 Add % to gpx to test 2017-02-23 21:47:38 +01:00
Victor Shcherb
0e26d41fc1 Add % to gpx to test 2017-02-23 21:45:34 +01:00
Victor Shcherb
304a4c251c Add % to gpx to test 2017-02-23 21:43:40 +01:00
Victor Shcherb
bd267db14d Add decline support 2017-02-22 20:31:38 +01:00
Victor Shcherb
ad90370fec Add decline support 2017-02-22 20:04:57 +01:00
Victor Shcherb
47b4d762a7 Add decline support 2017-02-22 18:32:16 +01:00
Victor Shcherb
df708c4a00 Fix map utils distance 2017-02-22 15:37:27 +01:00
Alexey Kulish
cfac2387d0 Added possibility to move gpx files between folders. Added gpx info database. 2017-02-18 21:39:04 +03:00
Victor Shcherb
d32d3a4f9b Fix rounding error when summing integers 2017-02-13 19:13:51 +01:00
Victor Shcherb
2048b14bd1 Fix rounding error when summing integers 2017-02-13 00:52:27 +01:00
Victor Shcherb
d608ec1776 Improve evaluation speed 2017-02-11 11:44:44 +01:00
Victor Shcherb
b0e2a6e957 Remove unused parameter 2017-02-10 19:29:57 +01:00
Victor Shcherb
25a1e03d7d Remove unused parameter 2017-02-10 18:44:20 +01:00
Victor Shcherb
f73e8c23b9 Add xml serializer method 2017-02-10 18:17:30 +01:00
Victor Shcherb
92584191d4 Add xml serializer method 2017-02-10 17:30:31 +01:00
Victor Shcherb
8604db700b Add xml serializer method 2017-02-10 16:56:09 +01:00
Victor Shcherb
d60b22de0c Fix exception 2017-02-08 22:06:49 +01:00
Victor Shcherb
dd48bdb3ca Initial srtm routing 2017-02-08 21:51:17 +01:00
Victor Shcherb
aaf049f381 Initial srtm routing 2017-02-08 09:55:05 +01:00
Alexey Kulish
1f038fceb9 Fix poi additional search 2017-01-25 10:54:28 +03:00
xmd5a
59c9af5470 Add turn lanes test 2017-01-24 15:13:21 +03:00
xmd5a
bff5894fab Fix 2017-01-13 17:01:24 +03:00
xmd5a
13c83a5698 Add turn lanes test 2017-01-13 16:50:00 +03:00
xmd5a
a84dc3762a Add routing test 2017-01-13 15:33:44 +03:00
theirix
30999d2351 Support OLC in SearchCore 2017-01-08 17:33:47 +03:00
theirix
6a730e7cf1 Added OLC converters to LocationConvert 2017-01-08 17:32:27 +03:00
theirix
fec3f27f90 Added google OpenLocationCode implementation 2017-01-08 17:08:28 +03:00
Victor Shcherb
9c025e2913 Update srtm data 2016-12-22 01:34:33 +01:00
Victor Shcherb
977aa6b26a Add ignore polygon as point area 2016-12-07 22:17:46 +01:00
Victor Shcherb
c37ec8ae0e Add ignore polygon as point area 2016-12-07 02:14:11 +01:00
Victor Shcherb
07abea2b26 Add ignore polygon as point area 2016-12-06 16:21:18 +02:00
sonora
19d00486d9 small correction 2016-12-04 11:47:20 +01:00
sonora
ba04890f44 Introduce (ref:XX) language and transliteration support for getRef 2016-12-04 11:42:33 +01:00
Hardy
39e301f884 Simplify code 2016-12-03 08:57:12 +01:00
sonora
9df1a58118 fix () 2016-12-02 20:10:30 +01:00
sonora
a12dd24cf8 avoid repeating the same ref 2016-12-02 19:42:17 +01:00
sonora
65c12b7a02 fix comma display 2016-12-02 15:06:39 +01:00
sonora
242fd1ffa8 fix comment 2016-12-02 14:54:11 +01:00
sonora
4c1e7586a1 Move destination:ref from our Ref to our Destination field (testing needed) 2016-12-02 14:51:33 +01:00
vshcherb
57c9965917 Update RouteDataObject.java 2016-12-02 14:22:46 +02:00
sonora
a2899b5950 separate getRef and getDestimationRef (to investigate #3289 ), no functional change 2016-12-02 12:59:17 +01:00
Victor Shcherb
b0f87db897 Add more methods to debug 2016-11-28 09:07:20 +01:00
sonora
5eaea4046c fix method names 2016-11-20 14:14:06 +01:00
sonora
dae40d8354 fix bug in amenity.java 2016-11-20 14:01:10 +01:00
Alexey Kulish
93101c5573 Changed init of MapPoiTypes 2016-11-12 17:51:47 +03:00
Alexey Kulish
2cfdbf9a9b Fix search priorities 2016-11-12 17:17:39 +03:00
Alexey Kulish
8e32731ce7 Fix #3256 2016-11-11 15:56:58 +03:00
Victor Shcherb
6124fcd942 Add eq expression 2016-11-10 17:41:15 +01:00
Victor Shcherb
32f0b0b298 Add google play servie support for free osmand and only for published on google play version 2016-11-10 15:35:02 +01:00
Alexey Kulish
8152234607 Fix sorting of categories 2016-11-10 11:17:22 +03:00
Alexey Kulish
c5edcae206 Added search of poi additionals 2016-11-09 21:29:41 +03:00
Victor Shcherb
ec3903fc62 Fix #3020 2016-11-07 01:16:27 +01:00
Victor Shcherb
30786794b5 Fix #3052 2016-11-07 01:00:12 +01:00
Alexey Kulish
ef401e41f3 Fix #3156 2016-11-06 17:34:59 +03:00
Alexey Kulish
ed1a8104b7 Fix #3186 2016-11-04 21:44:49 +03:00
Victor Shcherb
07bb65eaec Fix default zoom for map inspector 2016-11-04 13:19:34 +02:00
Victor Shcherb
267eba7619 Fix #3062 QuickSearch: Also prioritize villages and hamlets 2016-11-04 12:49:33 +02:00
Alexey Kulish
93ee78f05a Fix search crash 2016-11-04 12:03:55 +03:00
Victor Shcherb
488ae194ac Fix #3196 2016-11-04 01:13:40 +02:00
sonora
e28ce72673 fix ref in comment 2016-10-31 09:12:56 +01:00
Victor Shcherb
76dc3b798a Fix array length problem 2016-10-30 17:28:02 +02:00
Alexey Kulish
b4981d2f9a Improved GPX selection dialog 2016-10-29 22:09:05 +03:00
Alexey Kulish
5f0eaeea99 Fix #3166 2016-10-26 22:52:44 +03:00
sonora
ab95d0d059 fix comment 2016-10-26 21:09:26 +02:00
sonora
a610e23988 try supporting destination:lang: in BinaryMaRouteReader 2016-10-26 20:56:22 +02:00
sonora
958ea41446 Support combinations of destination forwad/backward and lang keys 2016-10-26 20:44:40 +02:00
sonora
cb9a65b6c4 fix build 2016-10-26 10:33:14 +02:00
sonora
641901e289 fix destination:forward/backward taking precedence over destination:lang (proposed) 2016-10-26 10:23:37 +02:00
sonora
9cc5b53a89 fix missing transliterate 2016-10-26 09:57:04 +02:00
sonora
b7252dead7 maxspeed:forward issue 2016-10-25 12:55:21 +02:00
Alexey Kulish
1ed699e469 Fix - some poi additionals were skipped while creating the map 2016-10-24 20:02:48 +03:00
Victor Shcherb
74cb45c505 fix bug with wiki search but keep alt_name old_name searchable 2016-10-20 22:25:41 +02:00
Alexey Kulish
a5566a6477 Merge branch 'master' of https://github.com/osmandapp/Osmand 2016-10-20 13:05:21 +03:00
Alexey Kulish
bb8ac00ca8 Added Christmas dialog 2016-10-20 13:05:13 +03:00
Victor Shcherb
bd53399f53 Add settings for #3158 2016-10-19 23:28:19 +02:00
Alexey Kulish
bee67b7054 Added search for categories. Fixed search duplicates 2016-10-19 22:13:24 +03:00
Victor Shcherb
f4927f44e1 Fix #3115 2016-10-19 19:15:02 +02:00
Victor Shcherb
ce15272916 Fix search core 2016-10-19 11:32:32 +02:00
Victor Shcherb
78ae35aba1 Fix test precision 2016-10-18 21:58:31 +02:00
Victor Shcherb
b22fa016e6 Fix route preparation for highway split 2016-10-18 21:53:27 +02:00
Alexey Kulish
f911f9f9f5 Fix poi additional categories 2016-10-18 19:11:26 +03:00
Alexey Kulish
f1ec77cb72 Fix #3151 2016-10-18 15:19:26 +03:00
xmd5a
08afb970aa Update turn lanes test, phrases 2016-10-18 14:45:45 +03:00
Alexey Kulish
eabd00680b Added poi additional filter (cuisine) 2016-10-17 16:12:35 +03:00
Alexey Kulish
f8eb5fc07e Added cuisine translation to context menu 2016-10-16 15:15:38 +03:00
Alexey Kulish
b95c8e4382 Added filter_only tag processing 2016-10-16 10:08:52 +03:00
Alexey Kulish
5c3f322ed3 Fixed excluded categories and icons 2016-10-14 22:11:26 +03:00
Alexey Kulish
cfbd2fc54c Fixes 2016-10-14 09:59:56 +03:00
xmd5a
98bdff7202 Update SearchUICore.java 2016-10-13 21:09:30 +04:00
Victor Shcherb
0b8ab49aa8 Add transliterate 2016-10-11 16:42:05 +03:00
Victor Shcherb
b2f158c97d Add transliterate option to all methods 2016-10-11 16:39:56 +03:00
Alexey Kulish
c1f65df424 Fixed nudism in cafe 2016-10-05 16:28:41 +03:00
Alexey Kulish
610245dc18 Fixed poi_additional_category 2016-10-05 15:52:47 +03:00
Alexey Kulish
f7f5bfda50 Turn off poi_additional_categories for a while 2016-10-05 15:05:58 +03:00
Alexey Kulish
ce0fd4d49c Fixes 2016-10-04 21:39:50 +03:00
Alexey Kulish
a3b167c6bf [Quick search] added icon for filter categories 2016-09-30 11:08:14 +03:00
Alexey Kulish
971c2966ac [Quick search] Custom filters fix 2016-09-28 22:31:15 +03:00
Alexey Kulish
a2cab336c4 [Quick search] Custom filters in progress 2016-09-28 21:11:57 +03:00
Zahnstocher
4c9a2920a1 OSRM now has precision 5, Fix #3055
https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md
2016-09-21 13:27:56 +02:00
sonora
5ada1245b4 fix comments in URL parser 2016-09-20 10:08:37 +02:00
sonora
0137bf5ec0 Fix #3094 2016-09-19 21:57:42 +02:00
Victor Shcherb
38dc87c95a Fix coordinates 2016-09-19 10:11:16 +02:00
Alexey Kulish
acd020db50 Fix #2889 2016-09-18 16:48:22 +03:00
xmd5a
70e1effdfd Add turn lanes test 2016-09-16 20:59:33 +03:00
Victor Shcherb
3bc4414a85 Fix bug with relations 2016-09-16 10:35:45 +02:00
Victor Shcherb
119a7796ee Preparation for touch icons 2016-09-15 10:54:07 +02:00