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
Hans-Christoph Steiner
6f2e0029a5
remove debug message from GeoPointParserUtil.areCloseEnough()
2015-02-02 16:08:30 +01:00
Alexey Pelykh
30398fad48
Fix color
2015-02-02 16:50:56 +02:00
Alexey Pelykh
855607fd28
Fix
2015-02-02 16:48:01 +02:00
Mirco Zorzo
37bdf6802b
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1617 of 1617 strings)
2015-02-02 15:30:47 +01:00
Alexey Pelykh
fb4af24335
Merge branch 'master' of ssh://github.com/osmandapp/Osmand
2015-02-02 15:06:40 +02:00
Alexey Pelykh
bc1d10053e
Fix color
2015-02-02 15:06:28 +02:00
Denis
0f9b22b88a
Merge pull request #1056 from Bars107/master
...
Updates for settings styles and dashboard.
2015-02-02 14:44:09 +02:00
Denis
8214f35e04
Merge
2015-02-02 14:43:47 +02:00
Alexey Pelykh
c40d408597
A/V notes dark
2015-02-02 14:17:46 +02:00
Alexey Pelykh
abadd7c34a
New icons for search card in dashboard
2015-02-02 13:14:11 +02:00
Alexey Pelykh
2a01dce403
Final dashboard plugin item
2015-02-02 12:45:31 +02:00
Alexey Pelykh
f1d26557b8
Fix dark dashboard (partial)
2015-02-02 11:54:36 +02:00
Victor Shcherb
567de5806a
Update geo parse utility
2015-02-02 09:25:15 +01:00
Evgenii Martynenko
4af9bef26c
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1617 of 1617 strings)
2015-02-02 06:55:49 +01:00
vshcherb
643a945bfa
Update DashErrorFragment.java
2015-02-02 01:32:27 +01:00
Weblate
c30e19d035
Merge remote-tracking branch 'origin/master'
2015-02-01 22:41:49 +01:00
Krystian Biesaga
976624f311
Translated using Weblate (Polish)
...
Currently translated at 99.0% (1602 of 1617 strings)
2015-02-01 22:41:45 +01:00
vshcherb
c1802cf052
Merge pull request #1058 from jmakovicka/keystore-password
...
PWD is reserved for shell present working directory
2015-02-01 22:41:41 +01:00
Lu Ca
9cec78b7f6
Translated using Weblate (Sardinian)
...
Currently translated at 100.0% (1617 of 1617 strings)
2015-02-01 20:03:14 +01:00
sonora
2952459644
add missing NOT
2015-02-01 18:06:26 +01:00
sonora
9627824c79
fix typo
2015-02-01 17:53:23 +01:00
sonora
44069ab9d9
transparent shadow for non-transparent day skin, like we had it
2015-02-01 17:48:13 +01:00
sonora
5282d1bf67
fix color logic
2015-02-01 17:25:30 +01:00