Commit graph

1352 commits

Author SHA1 Message Date
vshcherb
c4931e52f6 Merge pull request #3645 from strump/patch-1
Added explicit encoding for Java source code
2017-04-11 23:47:24 +02:00
Victor Shcherb
13bd228feb Fix #3357 2017-04-11 23:41:52 +02:00
Victor Shcherb
1d2357261b Fix test 2017-04-11 21:30:30 +02:00
Victor Shcherb
ad196afd4d Fix test 2017-04-11 20:57:34 +02:00
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