John Firebaugh
cef5c331fe
[core] Merge rfc1123, iso8601, and parse_date into chrono.hpp and fix their API
2016-01-22 18:41:54 -08:00
Minh Nguyễn
f9360c3f4f
[ios] Strip Simulator content when archiving
...
Copied strip-frameworks.sh from realm/realm-cocoa@7cc31db631 for realm/realm-cocoa#2759 . This script, which is embedded in the dynamic framework, strips out content for invalid architectures from any embedded framework and specifically strips out Simulator content when archiving to work around an App Store bug.
Rewrote the iOS setup documentation. In particular, the MAPBOX_ACCESS_TOKEN environment variable is only for use with the iosapp demo application and doesn’t work in third-party applications.
2016-01-22 14:45:57 -08:00
Konstantin Käfer
9cfe64a122
[build] replace jpeg library with libjpeg-turbo
2016-01-22 16:00:51 +01:00
Tobrun
6b633d5ff3
[android] #3664 - reverse direction fix + formatting commit
2016-01-22 11:52:17 +01:00
Tobrun
488fa3a4c5
[android] #3661 - GPS heading with extra rotation fix
2016-01-22 08:57:33 +01:00
John Firebaugh
fd847bca9e
[android] Fix semantics in absence of response headers
...
Absence of response headers should result in null etag/modified/expires optionals, not present-but-0-or-"" optionals.
2016-01-21 11:22:11 -08:00
John Firebaugh
1c21d0fd4c
[core] Use better types for modified / expires / etag
2016-01-21 11:22:11 -08:00
John Firebaugh
1766d7dcbf
[core] Eliminate RequestBase
...
HTTPRequestBase can now itself be the base class.
2016-01-21 11:22:11 -08:00
Brad Leege
59f70811a9
[android] #3537 - Setting to 4.0.0-SNAPSHOT
2016-01-20 16:55:40 -05:00
Brad Leege
baae67cafd
Merge pull request #3639 from mapbox/release-android-v3.1.0
...
Android 3.1.0 --> master
2016-01-20 16:53:58 -05:00
Brad Leege
3797bbf75c
[android] #3537 - Updating version to 3.1.0 for release and fabric
2016-01-20 11:26:34 -05:00
Ansis Brammanis
d34f8eb674
[core][ios][osx][android] make SpriteImage accept PremultipliedImage
...
the SpriteImage constructor signature changes from
SpriteImage(
uint16_t width, uint16_t height, float pixelRatio,
std::string&& data, bool sdf = false);
to
SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false)
2016-01-19 18:23:21 -08:00
Ansis Brammanis
26faa6a5ad
[core][ios][osx][android] fix icons with non-integer width/height
...
ref #3031
ref #2198
For example, an icon that has:
- a pixel width of 10
- a pixel ratio of 3
- a scaled with of 3.333
is now supported.
2016-01-19 18:20:54 -08:00
John Firebaugh
9b62661b07
[core] Use experimental optional instead of mapbox::util::optional
2016-01-19 17:56:48 -08:00
Antonio Zugaldia
9672f2ba50
sample geocoder activity
2016-01-19 13:53:55 -05:00
Tobrun
fa84283a9d
[android] #3608 - upgrade okhttp3 to version 2
2016-01-19 15:26:04 +01:00
Tobrun
8ffe776141
[android] #3503 - remove serialisable interface from classes in geometry package, implemented parcable on CoordinateBounds, CoordinateRegion and CoordinateSpan. Enforced Android code conventions on those classes.
2016-01-19 14:59:36 +01:00
Tobrun
06e420939f
[android] #3604 - polyline activity memory leak fix
2016-01-19 13:27:08 +01:00
Tobrun
6b3745c68d
[android] #3156 - improving marker selection touch handling
2016-01-19 12:59:57 +01:00
Tobrun
5ff95d4524
[android] #3525 - fix ConnectivityManager context leak
2016-01-19 12:03:52 +01:00
Tobrun
fabc457adf
[android] #3338 - add javadoc annotations package
2016-01-19 11:07:53 +01:00
Minh Nguyễn
47b69100f9
[core, ios, osx, android, glfw] Flipped origin of Map::latLngForPixel(), Map::pixelForLatLng()
...
Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState.
Fixes #3574 .
2016-01-18 16:54:58 -08:00
Tobrun
78bedff8f9
[android] #3556 - Added test to trigger NaN value on same point, updated LatLng model to handle calls for distance calls of same point
2016-01-18 13:31:37 +01:00
Tobrun
0ebf5fcaae
[android] #3507 - fix location listener leak in UserLocationView
2016-01-18 12:17:59 +01:00
Tobrun
89b051f386
[android] #3593 - added double map view example
2016-01-18 10:58:37 +01:00
Tobrun
74a9c505f9
[android] #3573 - Marker clicks stop working after orientation change
2016-01-18 09:10:17 +01:00
Brad Leege
2dae355cbd
[android] #3052 - Generating actual SHA for 2.10 zip file
2016-01-15 12:46:16 -06:00
Brad Leege
300d908bfc
[android] #3052 Adding distributionSha256Sum
2016-01-15 12:23:09 -06:00
Tobrun
a79ef8bcc3
[android] #3052 - upgrade gradle to 2.10
2016-01-15 17:35:44 +01:00
Tobrun
2631f5bf93
[android] #3517 - recreating InfoWindow with correct MapView instance
2016-01-15 13:14:13 +01:00
Tobrun
e22b0270f4
[android] #3559 - don't show InfoWindow when marker is invalid
2016-01-15 11:19:47 +01:00
Tobrun
3fa63fa5e8
[android] #3052 - update gradle to 2.10
2016-01-15 11:15:11 +01:00
John Firebaugh
f62d41ae05
[core] Restore existing response body
...
Until #2721 lands we still need this.
2016-01-14 18:38:56 -08:00
John Firebaugh
2aafdbc1b8
[core] Add an explicit "not modified" indicator to Response
2016-01-14 13:46:03 -08:00
Tobrun
d764e9829e
[android] #3450 - fix rotation when enabling user location
2016-01-14 16:27:29 +01:00
Tobrun
35855889df
[android] #3461 - upgrade to okhttp3 for faster tile loading! 🚀
2016-01-14 14:21:46 +01:00
Tobrun
1f31de288f
[android] #3535 - improve disabling tracking modes
2016-01-14 13:25:58 +01:00
Tobrun
5d9485e02e
[android] #3539 - silence warning about unused param message that was breaking our build on CI
2016-01-14 11:10:45 +01:00
Minh Nguyễn
ac4b1b7479
[core] Standardize transform origin
...
All Transform methods that take a PrecisionPoint now assume a “flipped” origin at the upper-left corner of the view. Previously, some methods assumed an origin at the lower-left corner.
2016-01-14 00:39:56 -08:00
Minh Nguyễn
d26b956a48
[core] Cleaned up Transform
...
Eliminated many redundant methods on Transform. Minimized usage of TransformState::x and TransformState::y. Added convenient constructors for AnimationOptions. When scaling, passing in view’s origin as the anchor no longer anchors the scaling operation at the view’s center. To specify no anchor, use NaN.
Increased precision of worldSize(), now that it’s used much more heavily in transform methods.
2016-01-14 00:39:18 -08:00
Minh Nguyễn
27b308a234
[core] Separated AnimationOptions from CameraOptions
2016-01-14 00:39:12 -08:00
John Firebaugh
5a7d2fd60e
[core] Eliminate platform::assetRoot()
...
I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
2016-01-13 13:40:31 -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
Tobrun
9df48d4e2c
[android] #3514 - update pro guard config
2016-01-13 13:03:28 +01:00
Tobrun
61ea751503
[android] #3514 - disable proguard in test app
2016-01-13 09:10:47 +01:00
Brad Leege
11062a01b4
[android] #3484 - Switching to Directions 1.0.0 release. Removing mavenCentral() as it's a subset of jcenter().
2016-01-12 11:21:51 -06:00
Antonio Zugaldia
9c43343187
directions activity sample
2016-01-12 11:21:50 -06:00
Tobrun
9379aeac1c
[android] #3518 - fix context leak InfoWIndow by using a WeakReference
2016-01-12 15:56:42 +01:00
Tobrun
703ccbd727
[android] #3309 - replace coordinate naming with LatLng
2016-01-12 14:08:24 +01:00
Tobrun
3e4c1bd534
[android] #3447 - initial commit to verify current progress
2016-01-12 12:40:58 +01:00