Commit graph

28 commits

Author SHA1 Message Date
Victor Shcherb
ce2c219352 Fix bearing 2019-04-26 13:20:33 +03:00
crimean
45d8204121 Mute atilika.kuromoji 2019-02-21 14:16:25 +03:00
madwasp79
4bdbc170c9 pR cleanup 2019-02-20 10:25:50 +02:00
madwasp79
c60b1e3f2c Remove kuromoji *.lib and added maven dependency 2019-02-18 18:15:34 +02:00
madwasp79
adc2ae1158 merge with master 2019-02-18 18:03:51 +02:00
madwasp79
56f97aafd8 work in progress 2019-02-14 17:04:44 +02:00
crimean
113c5fd8e9 Added search tests 2018-12-03 00:01:34 +03:00
skozyr
83bf10d600
Added explicit Java source encoding
At my PC javac use codepage CP1251 by default and fails to compile file OsmAnd-java/src/main/java/net/osmand/data/MapObject.java because in line 26 there are some unicode symbols.
To fix compilation errors I've added UTF8 encoding configuration to Osmand-java/build.gradle file
2018-08-10 16:22:13 -04:00
Victor Shcherb
885eda538f Clean up route result preparation 2018-06-15 17:45:36 +02:00
Victor Shcherb
2cd30c5d51 Fix compilation 2018-06-15 17:38:32 +02:00
Victor Shcherb
41300c96d9 Refactor packages 2018-06-15 17:27:49 +02:00
Victor Shcherb
bd6ccd5510 Clean libs 2018-06-15 17:27:49 +02:00
Victor Shcherb
e912612f77 Update tests 2018-06-15 17:27:48 +02:00
Victor Shcherb
77d08b1a35 Rename packages 2018-06-15 15:24:05 +02:00
Victor Shcherb
db3b280a26 Rename packages 2018-06-15 15:24:05 +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
Victor Shcherb
da6121e8d4 Speed search (check for duplicates) 2016-06-29 20:23:33 +02:00
GaidamakUA
38adf0b04a Fixes #2255 2016-03-10 19:31:12 +02:00
GaidamakUA
134c6de70b Fixed formatting for file. 2016-02-12 17:51:40 +02:00
GaidamakUA
f5127caf51 New test for instagramm geo intent. And made it work. 2016-01-16 11:32:40 +02:00
GaidamakUA
072e23cd2d Deletion of time spans is working 2015-12-29 17:11:55 +02:00
GaidamakUA
77a4a57627 New support library returned 2015-11-26 12:27:16 +02:00
Victor Shcherb
2c8383fa0a Revert "Support library updated. App now in multi Dex mode."
This reverts commit 641f150d98.
2015-11-18 10:21:00 +01:00
GaidamakUA
641f150d98 Support library updated. App now in multi Dex mode. 2015-11-17 18:53:58 +02:00
GaidamakUA
81228dba45 Fixing issue #1486. Incorrect parsing of double parentheses. Now double parentheses are simply removed. 2015-07-27 23:20:30 +03:00
Alexey Pelykh
3ec9d6dbd2 Proper gradle 2015-02-03 11:13:11 +02:00
Alexey Pelykh
6d6d3631f3 Fix 2015-02-02 17:54:43 +02:00
Alexey Pelykh
b7beca8a9b Initial gradle support 2014-12-16 13:24:33 +02:00