Justin R. Miller
df0fca3642
bump podspec for 0.5.4
2015-07-30 09:48:51 -07:00
Brad Leege
9b95b2ef9d
#1965 - Updating dependency versions
2015-07-29 14:10:20 -07:00
Bruno de Oliveira Abinader
58b93553c1
Replace size() with empty() whenever possible
...
Before C++11, std::list's implementation of size was O(n). It should be
all O(1) now, but it is probably still a good idea to use empty() to
emphasize the intend.
2015-07-29 11:03:47 +03:00
Minh Nguyễn
807d87f0f5
Ignore redundant initial reachability notification on iOS 9
...
Fixes #1911 .
2015-07-28 21:21:31 -07:00
Leith Bade
d57a02f3a9
First pass at updating JNI bindings
...
Hook up collisionDebug, isFullyLoaded, onLowMemory in Android
Rename class to styleClass in Java to match iOS
Fixed some formatting
Fixes #1905
Fixes #1946
Fixes #1263
2015-07-29 12:17:42 +10:00
Justin R. Miller
3f2f9d26c8
Merge pull request #1926 from trappsnl/master
...
fix latLngForPixel on Android
2015-07-28 17:55:05 -07:00
Bruno de Oliveira Abinader
3c43171bc0
s/AssetContext/AssetContextBase/
2015-07-28 19:27:13 +03:00
Bruno de Oliveira Abinader
0cc69b368d
s/HTTPContext/HTTPContextBase/
2015-07-28 19:27:13 +03:00
Bruno de Oliveira Abinader
e42a903bba
Replaced 'override' with 'final' for non-public interfaces
2015-07-28 19:27:13 +03:00
Bruno de Oliveira Abinader
590d9ab95c
Created HTTPRequestBase as base for HTTP requests
...
- Added HTTPRequestBase (inherits from RequestBase)
- retry() is now a pure virtual in HTTPRequestBase
- Moved cancelled bool to HTTPRequestBase
- HTTPContext now handles only HTTPRequestBase*
- Renamed HTTPNSURLRequest, HTTPCURLRequest
2015-07-28 19:27:13 +03:00
Bruno de Oliveira Abinader
785b34df2e
Moved ResponseStatus to its own header
2015-07-28 19:27:13 +03:00
Jason Wray
c1cd961093
Include app-info.plist in demo app project
...
[skip ci]
2015-07-28 10:18:30 -04:00
Leith Bade
60a21de907
Update to Android support lib 22.2.1.
...
Remove duplicate multitouch classes.
2015-07-28 12:18:53 +10:00
Minh Nguyễn
0178c94f6d
Exempt Metrics staging server from PFS requirement
...
This server should not used in actual production code anyways.
Fixes #1937 .
2015-07-27 15:52:17 -07:00
Minh Nguyễn
3a310c916b
Update the user dot when the user moves
...
Rolled back part of ed04e6d9f7 for #1852 .
Fixes #1933 .
2015-07-27 14:23:59 -07:00
Bruno de Oliveira Abinader
5e2f3b1323
Avoid nudging transitions if a gesture is in progress #2
...
Following the same steps from #1548 and #1912 for GLFW and iOS ports.
Also removed a redundant check if transform state is changing since
we're already dealing with that.
2015-07-27 21:57:51 +03:00
jakepruitt
44182a30cf
Add curly-braces to if-statements
2015-07-27 10:16:14 -04:00
jakepruitt
14ba3cfd6a
Adding special case for non-fontstack "glyph" resource URLs
...
- does not prepend /v4/ to api endpoints like /fonts/v1/
- only prepends it to things starting with /fontstack
- solves the problem in #1918
- refs mapbox/mapbox-gl-style-spec#309
2015-07-27 10:16:14 -04:00
Minh Nguyễn
32c7805740
Ignore invalid location updates
...
Avoid passing invalid locations along to the map view delegate or user location annotation.
Also, If the user wants to visit the Prime Meridian or Equator, that’s their prerogative. Mapbox GL should show them where they’re at. Null Island is a different story.
Fixes #1912 .
2015-07-24 15:53:10 -07:00
Brad Leege
c16b0bfb34
#1929 - Adding token.txt reading for programmatic setting of access token in activity
2015-07-24 17:27:47 -05:00
Brad Leege
955b610fc8
#1929 - Wiring up MapView to Activity's lifecycle methods
2015-07-24 16:37:29 -05:00
Brad Leege
53c3b0b81a
#1929 - Converted to use Activity instead of Fragment
2015-07-24 15:53:29 -05:00
Brad Leege
6974200867
#1929 - Added validateAccessToken to MapView.onStart()
2015-07-24 14:45:48 -05:00
Brad Leege
d975d94de2
#1929 - accessToken added as XML attribute option. Removed call to raw.txt for access token from MapFragment to test.
2015-07-24 14:36:57 -05:00
Brad Leege
2fd7a24576
#1929 - Removed validateAccessToken() call from MapView.onCreate()
2015-07-24 14:06:38 -05:00
Brad Leege
791c59d899
#1915 - Adding NonNull annotations to accessToken for development warnings and isEmpty() checks for more accurate runtime errors
2015-07-24 13:40:41 -05:00
Koen Schmeets
50c0684de0
Merge branch 'master' of https://github.com/mapbox/mapbox-gl-native
2015-07-24 02:56:47 +02:00
Koen Schmeets
6d3cad7757
Fix latLngForPixel bindings for Android
2015-07-24 02:54:55 +02:00
Bruno de Oliveira Abinader
3512da9609
Avoid nudging transitions if a gesture is in progress
...
We're now using nudgeTransitions() to tell the Map view that we want to
update it. However, if we're on a gesture movement, the update() call
can get called too fast and causing general slowdown. This check ensures
we only call for nudgeTransitions() after all gesture events are
finished. Fixes the issue pointed out by #1548 on Android.
2015-07-23 17:43:05 +03:00
Justin R. Miller
7b47fa8dab
[publish ios-v0.5.3]
2015-07-22 18:03:30 -07:00
Justin R. Miller
f79a35a5ef
bump podspec to 0.5.3
2015-07-22 18:03:05 -07:00
Justin R. Miller
45180599a2
Merge pull request #1910 from mapbox/1ec5-styles-mb-pages
...
Move mapbox/mapbox-gl-styles to mb-pages branch
2015-07-22 18:02:09 -07:00
Brad Leege
73d6c62f60
Merge branch 'android-annotations' of git://github.com/TrueFlow/mapbox-gl-native into TrueFlow-android-annotations
2015-07-22 13:41:17 -05:00
Brad Leege
0e2168734f
#1668 - Adding fabric.properties to .gitignore
2015-07-22 13:19:06 -05:00
Brad Leege
0955fb6c5b
#1668 - Integrating Crashlytics / Fabric into project
2015-07-22 10:56:08 -05:00
Brad Leege
93e1ced3bb
Merge branch 'android-annotations' of git://github.com/hallahan/mapbox-gl-native into hallahan-android-annotations
2015-07-22 10:15:34 -05:00
Minh Nguyễn
368369ba60
Moved mapbox/mapbox-gl-styles to mb-pages branch
...
When packaging, filter to just the desired styles.
2015-07-21 16:36:03 -07:00
Bruno de Oliveira Abinader
38f3bed63e
Export default transition delay in Map public API
...
Added a setter/getter for default transition delay, in the same fashion
as the default transition duration.
Spin-off from #1888 . Fixes #302 .
2015-07-21 18:02:09 +03:00
Niklas Ulvinge
d7d816cb67
SetSprite now works
2015-07-20 23:15:53 +02:00
Bruno de Oliveira Abinader
0b8cd02c19
GLFW port now uses nudgeTransitions()
2015-07-20 21:59:13 +03:00
Bruno de Oliveira Abinader
784eb35512
Revert "Revert "split renderSync and transition nudging to allow client view syncing""
...
This reverts commit 263f9fad30 .
2015-07-20 21:59:13 +03:00
Niklas Ulvinge
42cd266aa6
Correction colors transformation
2015-07-20 20:34:42 +02:00
Justin R. Miller
fad241f8cf
Merge pull request #1831 from mapbox/set-collision-debug-too
...
Set collision debug with -[MGLMapView setDebugActive:], too
2015-07-20 11:21:17 -07:00
Bruno de Oliveira Abinader
f034a028be
s/AppliedClassProperties/AppliedClassPropertyValues/
...
This class stores a list of property values which belongs to the same
property.
2015-07-20 18:14:24 +03:00
Bruno de Oliveira Abinader
51403b3c8b
Cleaned up FrameHistory
2015-07-20 18:14:24 +03:00
Bruno de Oliveira Abinader
263f9fad30
Revert "split renderSync and transition nudging to allow client view syncing"
...
This reverts commit b8388168dd .
It seems 'nudgeTransitions()' is no longer necessary as #1548 has fixed the update issues.
2015-07-20 17:07:55 +03:00
Bruno de Oliveira Abinader
0753aad57b
Check for pending animations or transitions when scheduling another render pass
...
In continuous mode, we need to check if there are any pending animations or
transitions so we can properly tell the client application that another render
pass is required.
2015-07-20 14:38:19 +03:00
Niklas Ulvinge
ab82bdd438
Optimized RemoveAnnotations to a single call
2015-07-19 19:59:46 +02:00
Niklas Ulvinge
13d86d4cbc
Some memory management
2015-07-19 01:10:34 +02:00
Niklas Ulvinge
45311e98de
Add multiple polygons at once to increase performance
2015-07-19 00:27:45 +02:00