Alexander Shalamov
f2d9d92d26
[core] Change toLowerHex to produce lower hex sequences
2018-11-07 11:29:40 +02:00
Konstantin Käfer
c87c25cc84
[core] don't use <sstream> and <iomanip> for string construction
2018-10-23 12:23:40 +02:00
John Firebaugh
a84ac4c8d7
[core] Align URL token replacement behavior with GL JS
...
I.e. preserve unknown tokens in URLs rather than replacing them with an empty string.
2018-05-18 17:19:45 -07:00
Konstantin Käfer
68e032e505
[core] Remove private header includes from CLI utilities
2017-03-28 13:53:19 +02:00
Konstantin Käfer
f97e36acc8
[core] add tests for user/password, port, trailing dot, and IPv4/IPv6 address parsing
2017-02-13 17:23:20 +01:00
Konstantin Käfer
4b0cb858ba
[core] include leading slash in URL.path
2017-01-17 17:38:57 +01:00
Konstantin Käfer
77db372123
[core] refactor URL parsing
2016-12-21 13:00:32 +01:00
Konstantin Käfer
dc1bda435f
[core] add util::isURL() for checking whether a string starts with a URL scheme
2016-12-07 10:46:43 +01:00
John Firebaugh
b41a73e1c1
[core] Rationalize Resource initialization
2016-01-29 14:50:15 -08:00
John Firebaugh
86c8446d3a
[core] Simplify asset:// implementation
...
* Move asset:// URL handling to DefaultFileSource.
* AssetFileSource implements FileSource interface and follows familiar implementation patterns.
* Move default implementation to platform/default, zip implementation to platform/android.
* Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter.
* Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit.
2016-01-13 13:40:31 -08:00
Konstantin Käfer
1ff317c1cd
[core] remove SourceInfo dependency from *TileData
2016-01-13 13:04:59 -08:00
Konstantin Käfer
bc309d84d7
[core] unify URL prefix detection (asset:// and mapbox://)
2016-01-08 12:14:39 +01:00
Konstantin Käfer
d5fb535058
[core] add namespace comment to closing brace
2015-12-03 15:38:36 +01:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00