Commit graph

17604 commits

Author SHA1 Message Date
vshcherb
48704b78f2 Merge pull request #1062 from Bars107/master
Fixes and updates to styles.
2015-02-03 17:58:09 +01:00
Bars107
689ad25b56 Merge 2015-02-03 18:58:04 +02:00
Nicolas Palix
4d5d57d0e3 Translated using Weblate (French)
Currently translated at 100.0% (1619 of 1619 strings)
2015-02-03 17:54:29 +01:00
stephan 75
72c99852e3 Translated using Weblate (German)
Currently translated at 100.0% (1619 of 1619 strings)
2015-02-03 17:44:03 +01:00
Bars107
eceefa580c Fixed styles 2015-02-03 18:15:23 +02:00
jan madsen
025a044fc4 Translated using Weblate (Danish)
Currently translated at 100.0% (1619 of 1619 strings)
2015-02-03 17:13:46 +01:00
Bars107
f17bcd9458 Fixed HelpActivity icons for light theme 2015-02-03 18:12:01 +02:00
josep constanti
c88f861c30 Translated using Weblate (Catalan)
Currently translated at 100.0% (1619 of 1619 strings)
2015-02-03 16:41:36 +01:00
Alexey Pelykh
0147b98929 Plugin details 2015-02-03 17:31:40 +02:00
Bars107
ec7255fbe5 refactored styles 2015-02-03 17:02:45 +02:00
Bars107
732281578e Updated layout for Search Activity - Origin for Address and Favorites 2015-02-03 16:31:50 +02:00
Alexey Pelykh
b32bed6fae Plugin details stub 2015-02-03 16:03:29 +02:00
Bars107
ed4da2f033 Removed tabs adapter 2015-02-03 15:43:43 +02:00
Bars107
99ed976d19 Added cancel button to POI filter selection. 2015-02-03 15:04:07 +02:00
Bars107
c3b5658888 Fixed layout for local indexes 2015-02-03 14:54:45 +02:00
Alexey Pelykh
d3fef615cf Plugins gradle 2015-02-03 13:58:26 +02:00
Bars107
7d15231862 Fixed issue with action bar overlay 2015-02-03 12:41:13 +02:00
Bars107
0a88fec005 Merge branch 'master' of https://github.com/osmandapp/Osmand 2015-02-03 11:17:08 +02:00
Bars107
d409cfb09a Merge branch 'master' of github.com:Bars107/Osmand 2015-02-03 11:14:57 +02:00
Alexey Pelykh
91ae154dd8 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2015-02-03 11:13:19 +02:00
Alexey Pelykh
3ec9d6dbd2 Proper gradle 2015-02-03 11:13:11 +02:00
Weblate
64e6b99c5a Merge remote-tracking branch 'origin/master' 2015-02-03 00:40:24 +01:00
Nathan Follens
89496c3a0f Translated using Weblate (Dutch)
Currently translated at 100.0% (1617 of 1617 strings)
2015-02-03 00:40:20 +01:00
vshcherb
f692df8253 Merge pull request #1060 from eighthave/more-url-parsing-updates
More url parsing updates
2015-02-03 00:40:18 +01:00
Hans-Christoph Steiner
859595267e add more kinds of Google URLs for testing
This includes some valid Google Maps links that cause problems with the new
`parseGoogleMapsPath()` method.
2015-02-03 00:29:43 +01:00
Hans-Christoph Steiner
34ecdafc5d GeoParsedPoint normalize query string format as plain, not URL-encoded
There were parts of this code that were sticking in a URL-encoded query
string into GeoParsedPoint, and other parts that were putting in a regular
non-URL-encoded String.  This meant that URLs with an & in the query string
encoded as %26 were not being properly parsed, since & is used to split up
the query string.  That also makes it impossible to output a properly
encoded URI from getGeoUriString().
2015-02-03 00:28:45 +01:00
Hans-Christoph Steiner
124d48cd6e add various unparsable short links as tests 2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
7cb58ec540 also parse maps.apple.com links, the query string includes lat/long/zoom/etc
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html
2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
1c4ad908da handle all Google country-specific domains, i.e. google.at, google.ru, etc.
https://en.wikipedia.org/wiki/List_of_Google_domains
2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
59c34b350a improve Yandex link parsing
* also handle maps.yandex.com URLs
* properly handle unparsable short links (i.e. don't crash or return results)
* include text= as Label
2015-02-02 22:53:05 +01:00
Hans-Christoph Steiner
897d6ba387 only output coords from Yandex URL if the full ll= string matches
This just makes sure that there is a full lat/lon match before outputing.
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
90c1b8a8e0 only parse query string if it is used
Not all location URLs have useful information in the query string, so only
parse it if it is used in the section for a given hostname.

Also, rename queryMap to params for consistency.
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
4e5fa43f98 claim location URLs from QQ Map by Tencent
closes https://dev.guardianproject.info/issues/4394
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
9b77f6fa90 claim location URLs from Nokia HERE
closes https://dev.guardianproject.info/issues/4399
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
d34d341d65 keep Uri "path" intact during parsing for consistant regexes
By not modifying "path" from what Uri.getPath() returns, it keeps the
pattern matching consistent since the contents of "path" will always be the
same as Uri.getPath(), and what is visible in the URI itself.
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
2771da35de GeoPointParserUtil.getQueryParameters() to return Map of all parameters
This parses out all of the parameters in the query string for both http:
and geo: URIs.  This will only work on URIs with valid syntax, so it will
not work on URIs that do odd things like have a query string in the
fragment, like this one:

http://www.amap.com/#!poi!!q=38.174596,114.995033|2|%E5%AE%BE%E9%A6%86&radius=1000
2015-02-02 22:53:04 +01:00
Hans-Christoph Steiner
3d106d00b7 support parsing amap.com URLs
amap.com aka autonavi is a popular mapping service in China.
2015-02-02 22:53:04 +01:00
Nathan Follens
1788b525d4 Translated using Weblate (Dutch)
Currently translated at 100.0% (1617 of 1617 strings)
2015-02-02 22:17:26 +01:00
Denis
21e4e96b82 Styled lists in search and downloads 2015-02-02 19:01:14 +02:00
Denis
61338cc439 Styled background color for search activity 2015-02-02 18:40:09 +02:00
Denis
29b47e12af Merge branch 'master' of https://github.com/osmandapp/Osmand 2015-02-02 18:16:29 +02:00
Alexey Pelykh
75a0c03e40 Fix build 2015-02-02 18:15:28 +02:00
Denis
411844510d Merge branch 'master' of https://github.com/osmandapp/Osmand 2015-02-02 18:02:30 +02:00
Denis
f8b205b957 Updates style for searchactivity 2015-02-02 18:02:21 +02:00
Alexey Pelykh
ac344f8e20 Merge branch 'master' of ssh://github.com/osmandapp/Osmand 2015-02-02 17:56:08 +02:00
Alexey Pelykh
6d6d3631f3 Fix 2015-02-02 17:54:43 +02:00
vshcherb
2ae8dd5cca Merge pull request #1059 from eighthave/GeoParsedPoint.toString
GeoParsedPoint.getGeoUriString()
2015-02-02 16:26:33 +01:00
Hans-Christoph Steiner
8155e749bb use Locale.ENGLISH to format numbers for geo: links
Some locales do not use 0-9 as the digits, such as Arabic and sometimes
Chinese.  Using those numerals in a geo: URI probably would not work.
2015-02-02 16:08:30 +01:00
Hans-Christoph Steiner
3db16680b4 GeoParsedPoint.getGeoUriString() to output the data as a geo: URI
Output the data in the GeoParsedPoint as a geo: URI (http://geouri.org)
2015-02-02 16:08:30 +01:00
Hans-Christoph Steiner
58485d8ba9 rename GeoParsedPoint's named point var to "Label" after Google standard
This outlines the named point format of a geo: URI:
https://developer.android.com/guide/components/intents-common.html#Maps
2015-02-02 16:08:30 +01:00